CN103916494B - The processing method and equipment of numbering - Google Patents

The processing method and equipment of numbering Download PDF

Info

Publication number
CN103916494B
CN103916494B CN201410158259.9A CN201410158259A CN103916494B CN 103916494 B CN103916494 B CN 103916494B CN 201410158259 A CN201410158259 A CN 201410158259A CN 103916494 B CN103916494 B CN 103916494B
Authority
CN
China
Prior art keywords
field number
record
default
distribution information
domain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410158259.9A
Other languages
Chinese (zh)
Other versions
CN103916494A (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.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN201410158259.9A priority Critical patent/CN103916494B/en
Publication of CN103916494A publication Critical patent/CN103916494A/en
Application granted granted Critical
Publication of CN103916494B publication Critical patent/CN103916494B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of processing method and equipment of numbering, and this method includes:Main domain receives the request message to be added sent from domain, and request message includes:Default Field Number and the first identification information to be added from domain to be added from domain;According to default Field Number, or default Field Number and the first identification information, the distribution information of the Field Number of record is inquired about, judges default Field Number and the Field Number in the distribution information of the Field Number of record with the presence or absence of conflict;If judging there is conflict in the Field Number in the distribution information of the Field Number of default Field Number and record, then according to the distribution information of the first identification information and the Field Number of record, or the distribution information of the Field Number of first identification information, default Field Number and record, it is to be added to distribute corresponding Field Number to be added from domain;Field Number to be added is sent to it is to be added from domain, for it is to be added from domain in default Field Number and unequal Field Number to be added, preserved Field Number to be added as default Field Number.

Description

The processing method and equipment of numbering
Technical field
The present invention relates to the processing method and equipment of the communication technology, more particularly to a kind of numbering.
Background technology
Multiple devices are linked together by stacking opening, the technology for forming a virtual unit is referred to as Stack Technology, Virtual switch unit (Virtual Switch Unit can also be referred to as;Referred to as:VSU) technology.Fig. 1 is VSU in the prior art Schematic diagram, as shown in figure 1, VSU, which stacks all single devices in topology, is referred to as member device, member device according to function not Together, two kinds of roles can be divided into:Main equipment and slave unit;Wherein, main equipment is responsible for whole VSU stackings.Slave unit is subordinate to In main equipment, corresponding business is run according to the instruction of main equipment.One VSU can only have a member device can be into stacking For main equipment, but there can be many slave units.
Fig. 2 is a schematic diagram of VXU in the prior art, and external connection stacking opening is passed through as shown in Fig. 2 multiple VSU are stacked Link together, the technology for forming a bigger virtual unit is referred to as virtual extended unit (Virtual eXtend Unit;Referred to as:VXU) technology.Fig. 3 is another schematic diagram of VXU in the prior art, as shown in figure 3, VXU stacks institute in topology Some VSU, which are stacked, is referred to as domain, and domain is different according to function, is divided into two kinds of roles:Main domain and from domain.Wherein, main domain is responsible for whole Individual VXU is stacked, and the main domain equipment is generally made up of the stronger equipment of hardware capability (such as nucleus equipment).It is under the jurisdiction of master from domain Domain, runs corresponding business, and should be typically (for example to be connect by the weaker equipment of hardware capabilities from domain equipment according to the instruction in main domain Enter equipment) composition.One VXU can only have a main domain in stacking, but can have multiple from domain.
In addition, VXU identifies equipment and configuration equipment using Field Number in stacking, as shown in figure 3, main domain is marked using 1 Know in (i.e. main domain -1), be respectively used to identify from domain -2, from domain -3 from domain.Accordingly, VXU stacks the facility information externally shown In, equipment 1/1, equipment 1/2 represents nucleus equipment 1 and nucleus equipment 2 in main domain -1 respectively;Equipment 2/1, equipment 2/2 is distinguished Represent from the access device 1 and access device 2 in domain -2;Equipment 3/1, equipment 3/2 is represented from the access device 3 in domain -3 respectively With access device 4.
At present, device numbering is mainly realized using user's manual configuration or number algorithm and automatically configured, still, for For the manual configuration of family, when there is numbering conflict due to needing the corresponding configuration of user's manual modification, therefore, for VXU pairs In end as the access device quantity used from domain it is very many when, it is necessary to expend huge workload.
The content of the invention
The present invention provides a kind of processing method and equipment of numbering, is made for solving user's manual configuration in the prior art Into workload it is huge the problem of.
The first aspect of the invention is to provide a kind of processing method of numbering, including:
Main domain receives the request message to be added sent from domain, and the request message includes:It is described to be added from the pre- of domain If Field Number and first identification information to be added from domain;
The main domain is according to the default Field Number, or the default Field Number and first identification information, inquiry The distribution information of the Field Number of record, judge the default Field Number and the record Field Number distribution information in domain compile Number with the presence or absence of conflict;
If the Field Number in the distribution information of the Field Number of the default Field Number and the record is judged in the main domain In the presence of conflict, then according to the distribution information of first identification information and the Field Number of the record, or first mark The distribution information of the Field Number of information, the default Field Number and the record, is that the distribution to be added from domain corresponding is treated Add Field Number;
The main domain Field Number to be added is sent to it is described to be added from domain, for it is described it is to be added from domain in institute When stating default Field Number and the unequal Field Number to be added, the Field Number to be added is protected as default Field Number Deposit.
Another aspect of the present invention is to provide a kind of processing unit of numbering, including:
Transceiver module, for receiving the request message to be added sent from domain, the request message includes:It is described to be added Default Field Number and first identification information to be added from domain from domain;
Judge module, for according to the default Field Number, or the default Field Number and first identification information, Inquire about in the distribution information of the Field Number of record, the distribution information of Field Number for judging the default Field Number and the record Field Number is with the presence or absence of conflict;
Processing module, if judging point of the Field Number of the default Field Number and the record for the judge module There is conflict with the Field Number in information, then according to the distribution information of first identification information and the Field Number of the record, Or the distribution information of the Field Number of first identification information, the default Field Number and the record, it is described to be added Corresponding Field Number to be added is distributed from domain;
The transceiver module be additionally operable to the Field Number to be added being sent to it is described to be added from domain, for described to be added Enter from domain in the default Field Number and the unequal Field Number to be added, regard the Field Number to be added as default domain Numbering is preserved.
The solution have the advantages that:The request message to be added sent from domain, the request message bag are received by main domain The default Field Number to be added from domain and first identification information to be added from domain are included, according to the default Field Number, or should Default Field Number and the first identification information, inquire about the distribution information of the Field Number of record, if judging default Field Number and record Field Number distribution information in Field Number exist conflict, then according to the first identification information and record Field Number distribution believe Breath, or the Field Number of the first identification information, default Field Number and record distribution information, be to be added to distribute corresponding from domain Field Number to be added, and the Field Number to be added is sent to this is to be added from domain, for this it is to be added from domain in the default domain When numbering and the unequal Field Number to be added, the Field Number to be added is preserved as default Field Number, so as to realize Field Number is automatically configured, the workload for solving user's manual configuration in the prior art and causing is huge asks Topic.
Brief description of the drawings
Fig. 1 is the schematic diagram of VSU in the prior art;
Fig. 2 is a schematic diagram of VXU in the prior art;
Fig. 3 is another schematic diagram of VXU in the prior art;
The flow chart of the one embodiment for the processing method that Fig. 4 numbers for the present invention;
The flow chart of another embodiment of the processing method that Fig. 5 numbers for the present invention;
The flow chart of another embodiment of the processing method that Fig. 6 numbers for the present invention;
The structural representation of the one embodiment for the processing unit that Fig. 7 numbers for the present invention;
The structural representation of another embodiment of the processing unit that Fig. 8 numbers for the present invention.
Embodiment
The flow chart of the one embodiment for the processing method that Fig. 4 numbers for the present invention, as shown in figure 4, the side of the present embodiment Method includes:
Step 101, main domain receive the request message to be added sent from domain, and the request message includes:This is to be added from domain Default Field Number and first identification information to be added from domain.
In the present embodiment,, should if reading effective Field Number from the main equipment in domain after the startup to be added from domain Effective Field Number is used as the default Field Number to be added from domain;If not reading effective Field Number from the main equipment in domain, An invalid Field Number is then used as the default Field Number to be added from domain.Wherein, effective Field Number belongs to active domain volume Number set;Invalid Field Number belongs to invalid Field Number set.In addition, first identification information includes:Medium access control (Media Access Control;Referred to as:MAC).In addition, it is to be added from the default of domain to carry this from the main equipment in domain During the request message of Field Number and first identification information to be added from domain is sent to main domain.If the slave unit in main domain is received To the request message, then the request message is transmitted to the main equipment in main domain.
It should be noted that effectively Field Number set can be pre-configured with, such as:Can be defined as natural number set [M, N], wherein, N is more than M.In addition, not belonging to invalid Field Number set in the natural number set [M, N].
Step 102, main domain are according to the default Field Number, or the default Field Number and first identification information, inquiry note The distribution information of the Field Number of record, judge the default Field Number and the record Field Number distribution information in Field Number whether In the presence of conflict.
In the present embodiment, the distribution information of the Field Number of record is recorded by main domain, the distribution letter of the Field Number of the record Breath includes following one or several kinds of combinations:Field Number, domain MAC, domain state and timestamp.Wherein, the corresponding domain shape of Field Number State represents whether the Field Number is corresponding online from domain, for example, can represent online with mark " 1 ", be represented with mark " 0 " It is not online.The corresponding domain MAC table of Field Number shows the corresponding MAC from domain of the Field Number.The corresponding timestamp of Field Number represents this System time when Field Number is allocated.
Further optionally, the distribution information of the Field Number of the record can have following three kinds of situations to represent:
Situation A, Field Number are distributed to from domain and corresponding online from domain;
Situation B, Field Number are distributed to from domain and corresponding not online from domain;
Situation C, Field Number are not yet assigned to from domain.
For example, table one is the distribution information of the Field Number recorded.As shown in Table 1:
Table one
It should be noted that main domain is in initialization, situation is belonged on the Field Number distribution information from domain on main domain C。
In addition, in the present embodiment, for example, in the distribution information of the Field Number of the default Field Number and the record The possibility situation that Field Number has conflict has following several:
1st, preset Field Number to be not present in the distribution information of the Field Number of the record, that is, illustrate not supporting this to preset in main domain Field Number, for example:The default Field Number is 7, but the Field Number in main domain in the distribution information of the Field Number of the record is only propped up 1 to 6 is held, then illustrates that the Field Number in the distribution information of the default Field Number and the Field Number of the record has conflict.
2nd, preset Field Number applied from domain in addition to this is to be added from domain, then illustrate the default Field Number There is conflict with the Field Number in the distribution information of the Field Number of the record.
It should also be noted that, being merely illustrative of in the present embodiment, and not only state several be limited above.
If step 103, main domain judge the Field Number in the distribution information of the default Field Number and the Field Number of the record In the presence of conflict, then according to the distribution information of first identification information He the Field Number of the record, or first identification information, should The distribution information of the Field Number of default Field Number and the record, it is to be added from the corresponding Field Number to be added of domain distribution for this.
The Field Number to be added is sent to that this is to be added from domain by step 104, main domain, so that this is to be added pre- at this from domain If when Field Number and the unequal Field Number to be added, the Field Number to be added is preserved as default Field Number.
In the present embodiment, due to main domain Field Number to be added is sent to it is to be added from domain, so that this is to be added from domain In the default Field Number and the unequal Field Number to be added, the Field Number to be added is protected as default Field Number Deposit, therefore changed from the MAC in domain, such as when equipment replaces (will be replaced with from domain 1 from domain 2), side manually can be passed through Formula will be configured to default Field Number from domain 2 from the corresponding default Field Number in domain 1, hide sample when should leave main domain from domain 1 and from domain 2 When adding main domain, Field Number can be inherited smoothly.
In the present embodiment, the request message to be added sent from domain is received by main domain, the request message includes to be added Enter the default Field Number and first identification information to be added from domain from domain, according to the default Field Number, or the default domain Numbering and the first identification information, inquire about the distribution information of the Field Number of record, if judging, the domain of default Field Number and record is compiled Number distribution information in Field Number exist conflict, then according to the first identification information and record Field Number distribution information, or The distribution information of the Field Number of the identification information of person first, default Field Number and record, is to be added corresponding to be added from domain distribution Enter Field Number, and the Field Number to be added be sent to this is to be added from domain, for this it is to be added from domain in the default Field Number With the Field Number to be added it is unequal when, the Field Number to be added is preserved as default Field Number, it is achieved thereby that from Dynamic configuration Field Number, the problem of workload for solving user's manual configuration in the prior art and causing is huge.
The flow chart of another embodiment of the processing method that Fig. 5 numbers for the present invention, in above-mentioned embodiment illustrated in fig. 4 On the basis of, as shown in figure 5, a kind of specific implementation of step 102 is:
Step 201, main domain inquire about the distribution information of the Field Number of the record, judge that this is preset according to the default Field Number Field Number is with the presence or absence of in the distribution information of the Field Number of the record;If in the presence of execution step 202;If being not present, perform Step 205.
In the present embodiment, preset Field Number to be not present in the distribution information of the Field Number of the record, that is, illustrate in main domain The default Field Number is not supported, for example:The default Field Number is 7, but in main domain in the distribution information of the Field Number of the record Field Number only support 1 to 6, then illustrate the default Field Number and the record Field Number distribution information in Field Number presence Conflict.
Step 202, main domain judge the default Field Number in the distribution information of the Field Number of the record with the presence or absence of correspondence Identification information;If in the presence of execution step 203;If being not present, step 206 is performed.
In the present embodiment, main domain judges that the default Field Number is not present pair in the distribution information of the Field Number of the record The identification information answered, that is, illustrate the default Field Number not by from shared by domain, then main domain is sentenced in addition to this is to be added from domain Conflict is not present in Field Number in the distribution information for the Field Number for the default Field Number and the record of breaking.
Step 203, main domain obtain the default Field Number corresponding second mark in the distribution information of the Field Number of the record Know information.
Step 204, main domain judge whether first identification information is equal with the second identification information;If unequal, perform Step 205;If equal, step 206 is performed.
In the present embodiment, main domain judges that the default Field Number has correspondence in the distribution information of the Field Number of the record Identification information, that is, illustrate the default Field Number by from shared by domain, still, what the default Field Number took is to be added from domain From domain (i.e. the first identification information is equal with the second identification information) when, illustrate point of the Field Number of the default Field Number and the record Conflict is not present with the Field Number in information.In addition, when default Field Number occupancy from domain in addition to this is to be added from domain From the Field Number for when domain (i.e. the first identification information and the second identification information are unequal), illustrating the default Field Number and the record Distribution information in Field Number exist conflict.
Step 205, main domain judge that the Field Number in the distribution information of the default Field Number and the Field Number of the record is deposited In conflict.Terminate.
Step 206, main domain judge Field Number in the distribution information of the Field Number of the default Field Number and the record not In the presence of conflict.
The flow chart of another embodiment of the processing method that Fig. 6 numbers for the present invention, in above-mentioned embodiment illustrated in fig. 5 On the basis of, as shown in fig. 6, a kind of specific implementation of step 103 is:
If step 301, main domain judge the Field Number in the distribution information of the default Field Number and the Field Number of the record In the presence of conflict, then judge that first identification information is compiled in the distribution information of the Field Number of the record with the presence or absence of corresponding domain Number;If being not present, step 302 is performed;If in the presence of execution step 305.
Step 302, main domain judge to preset Field Number with the presence or absence of this in the distribution information of the Field Number of the record;If depositing Then performing step 303;If being not present, step 306 is performed.
Step 303, main domain judge that default Field Number corresponding state in the distribution information of the Field Number of the record is Presence still not presence;If presence, then do not perform step 304;If presence, then step is performed 307。
Step 304, main domain regard the default Field Number as the Field Number to be added.Terminate.
Step 305, main domain obtain first identification information corresponding first in the distribution information of the Field Number of the record Field Number, and it regard first Field Number as the Field Number to be added.Terminate.
Step 306, main domain select one in unappropriated Field Number from the distribution information of the Field Number of the record and not divided The Field Number matched somebody with somebody, and it regard the unappropriated Field Number as the Field Number to be added.Terminate.
Selection one is to be selected in allocated Field Number from the distribution information of the Field Number of the record for step 307, main domain Field Number simultaneously regard the Field Number to be selected as the Field Number to be added;Wherein, the corresponding state of the Field Number to be selected is not online State, and the corresponding timestamp of the Field Number to be selected is earlier than other allocated Field Numbers pair in addition to the Field Number to be selected The timestamp answered.
In this embodiment, it is preferred that, another implementation of step 307 is:Main domain is from the Field Number of the record Distribute and select a unappropriated Field Number in information in unappropriated Field Number, and the unappropriated Field Number is treated as this Add Field Number.
In addition, in the present embodiment, in addition it is also necessary to explanation, if the default Field Number and the domain of the record are judged in main domain Conflict is not present in Field Number in the distribution information of numbering, then uses the default Field Number as Field Number to be added.
In the present embodiment, optionally, main domain is to reach the standard grade after the completion Field Number distribution (i.e. to be added from domain) of domain, Need to record the corresponding distribution information of the Field Number to be added, the information will at least include following content:Field Number, domain MAC, domain State (being designated 1) and timestamp.In addition, when this is offline from domain, main domain can update domain state in corresponding record by marking Know to be converted to for 1 and be designated 0.
Further, in another embodiment of the present invention, on the basis of any illustrated embodiments of above-mentioned Fig. 1 to Fig. 3 On, this method can also include:
The Field Number to be added is sent to this is to be added from domain, for this it is to be added from domain in the default Field Number and should When Field Number to be added is unequal, the Field Number to be added is preserved as default Field Number.
In the present embodiment, it is that the domain to be added is compiled from the default Field Number in domain when this rejoins main domain from domain Number, so as to efficiently avoid the problem of Field Number conflicts.
Further optionally, for many member devices from domain, Field Number to be added can be synchronized to from the main equipment in domain All member devices, so that when being resetted from domain complete machine, whichever member device turns into the main equipment from domain, also no matter from domain MAC whether change, be all consistent from the default Field Number in domain with the Field Number to be added that it is distributed to before main domain, And then ensure that when rejoining main domain from domain, Field Number or original.
Alternatively, equipment can also preserve the corresponding relation of the identification information and Field Number from domain in main domain, to increase Supported from the availability of configuration of territory loss situation.
The structural representation of the one embodiment for the processing unit that Fig. 7 numbers for the present invention, as shown in fig. 7, the present embodiment Device include:Transceiver module 11, judge module 12 and processing module 13;Wherein, transceiver module 11 be used for receive it is to be added from The request message that domain is sent, the request message includes:The default Field Number to be added from domain is to be added from the first of domain with this Identification information;Judge module 12 is used for according to the default Field Number, or the default Field Number and first identification information, inquiry The distribution information of the Field Number of record, judges that the Field Number in the distribution information of the default Field Number and the Field Number of the record is It is no to there is conflict;If processing module 13 is used for point that the judge module 12 judges the default Field Number and the Field Number of the record There is conflict with the Field Number in information, then according to the distribution information of first identification information He the Field Number of the record, or The distribution information of the Field Number of first identification information, the default Field Number and the record, it is to be added from domain distribution correspondence for this Field Number to be added;The transceiver module 11 is additionally operable to the Field Number to be added being sent to that this is to be added from domain, so that this is treated Add from domain in the default Field Number and the unequal Field Number to be added, regard the Field Number to be added as default Field Number Preserved.
The device of the present embodiment can perform the technical scheme of embodiment of the method shown in Fig. 4, and its realization principle is similar, this Place is repeated no more.
In the present embodiment, the request message to be added sent from domain is received by main domain, the request message includes to be added Enter the default Field Number and first identification information to be added from domain from domain, according to the default Field Number, or the default domain Numbering and the first identification information, inquire about the distribution information of the Field Number of record, if judging, the domain of default Field Number and record is compiled Number distribution information in Field Number exist conflict, then according to the first identification information and record Field Number distribution information, or The distribution information of the Field Number of the identification information of person first, default Field Number and record, is to be added corresponding to be added from domain distribution Enter Field Number, and the Field Number to be added be sent to this is to be added from domain, for this it is to be added from domain in the default Field Number With the Field Number to be added it is unequal when, the Field Number to be added is preserved as default Field Number, it is achieved thereby that from Dynamic configuration Field Number, the problem of workload for solving user's manual configuration in the prior art and causing is huge.
The structural representation of another embodiment of the processing unit that Fig. 8 numbers for the present invention, is implementing shown in above-mentioned Fig. 7 On the basis of example, as shown in figure 8, judge module 12 is specifically for according to the default Field Number, inquiring about the Field Number of the record Information is distributed, judges the default Field Number with the presence or absence of in the distribution information of the Field Number of the record;If judging the record The default Field Number is not present in the distribution information of Field Number, then judges point of the default Field Number and the Field Number of the record There is conflict with the Field Number in information.
Alternatively, if the judge module 12 has this also particularly useful in the distribution information for the Field Number for judging the record Default Field Number, then judge the default Field Number in the distribution information of the Field Number of the record with the presence or absence of corresponding mark letter Breath;If judging there is corresponding identification information in the default Field Number in the distribution information of the Field Number of the record, obtain Default Field Number corresponding second identification information in the distribution information of the Field Number of the record, and judge the first mark letter Whether breath is equal with the second identification information;If judging, first identification information and the second identification information are unequal, judge There is conflict in the Field Number in the distribution information of the Field Number of the default Field Number and the record.
Alternatively, if the judge module 12 is also particularly useful for judging first identification information and the second identification information phase Deng, then judge the default Field Number and the record Field Number distribution information in Field Number be not present and conflict.Or, should If judge module 12 is also particularly useful for judging that the default Field Number is not present pair in the distribution information of the Field Number of the record The identification information answered, then judge that punching is not present in the Field Number in the distribution information of the default Field Number and the Field Number of the record It is prominent.
If in addition, the processing module 13, which is additionally operable to the judge module 12, judges that the domain of the default Field Number and the record is compiled Number distribution information in Field Number conflict is not present, then regard the default Field Number as the Field Number to be added.
Alternatively, processing module 13 includes:Judging unit 131, acquiring unit 132 and Field Number allocation unit 133;Judge Unit 131 is used to judge that first identification information is compiled in the distribution information of the Field Number of the record with the presence or absence of corresponding domain Number;If acquiring unit 132, which is used for the judging unit 131, judges that first identification information is believed in the distribution of the Field Number of the record There is corresponding Field Number in breath, then obtain first identification information corresponding in the distribution information of the Field Number of the record One Field Number;Field Number allocation unit 132 is used to regard first Field Number as the Field Number to be added.
Alternatively, if the judging unit 131 is additionally operable to judge point of first identification information in the Field Number of the record With corresponding Field Number is not present in information, then judge the record Field Number distribution information in compiled with the presence or absence of the default domain Number;If judging there is the default Field Number in the distribution information of the Field Number of the record, judge the default Field Number at this Corresponding state is presence or not presence in the distribution information of the Field Number of record;The Field Number allocation unit If 133, which are additionally operable to the judging unit 131, judges that the default Field Number is corresponding in the distribution information of the Field Number of the record State is not presence, then regard the default Field Number as the Field Number to be added.
Alternatively, if the Field Number allocation unit 133 is additionally operable to the Field Number that the judging unit 131 judges the record Distribute in information and the default Field Number is not present, then selected from the distribution information of the Field Number of the record in unappropriated Field Number A unappropriated Field Number is selected, and regard the unappropriated Field Number as the Field Number to be added.
Alternatively, if the Field Number allocation unit 133 is additionally operable to the judging unit 131 and judges the default Field Number at this Corresponding state is presence in the distribution information of the Field Number of record, then from the distribution information of the Field Number of the record A Field Number to be selected is selected in the Field Number of distribution and the Field Number to be selected is regard as the Field Number to be added;Wherein, this is treated It is not presence, and the corresponding timestamp of the Field Number to be selected is earlier than except the Field Number to be selected to select the corresponding state of Field Number Outside the corresponding timestamp of other allocated Field Numbers;Or,
Judge the default Field Number in the record if the Field Number allocation unit 133 is additionally operable to the judging unit 131 Corresponding state is presence in the distribution information of Field Number, then unappropriated from the distribution information of the Field Number of the record A unappropriated Field Number is selected in Field Number, and regard the unappropriated Field Number as the Field Number to be added.
The device of the present embodiment can perform the technical scheme of embodiment of the method shown in Fig. 5 or Fig. 6, and its realization principle is similar Seemingly, here is omitted.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey Sequence upon execution, performs the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology The scope of scheme.

Claims (8)

1. a kind of processing method of numbering, it is characterised in that including:
Main domain receives the request message to be added sent from domain, and the request message includes:The default domain to be added from domain Numbering and first identification information to be added from domain;
The main domain is according to the default Field Number, or the default Field Number and first identification information, inquiry record Field Number distribution information, judge the default Field Number and the record Field Number distribution information in Field Number be It is no to there is conflict;
If the main domain judges that the Field Number in the distribution information of the Field Number of the default Field Number and the record is present Conflict, then according to the distribution information of first identification information and the Field Number of the record, or first identification information, The distribution information of the Field Number of the default Field Number and the record, is described to be added from the corresponding domain to be added of domain distribution Numbering;
The main domain Field Number to be added is sent to it is described to be added from domain, for it is described it is to be added from domain described pre- If when Field Number and the unequal Field Number to be added, the Field Number to be added is preserved as default Field Number;
Wherein, the main domain is according to the default Field Number, or the default Field Number and first identification information, inquiry The distribution information of the Field Number of record, judge the default Field Number and the record Field Number distribution information in domain compile Number with the presence or absence of conflict, specifically include:
The main domain inquires about the distribution information of the Field Number of the record, judges the default domain according to the default Field Number Numbering is with the presence or absence of in the distribution information of the Field Number of the record;
If then the main domain judges that the Field Number in the distribution information of the Field Number of the default Field Number and the record is deposited In conflict, specifically include:
If the main domain is judged the default Field Number is not present in the distribution information of the Field Number of the record, judge There is conflict in the Field Number in the distribution information of the Field Number of the default Field Number and the record;
If the main domain judges there is the default Field Number in the distribution information of the Field Number of the record, judge described Default Field Number whether there is corresponding identification information in the distribution information of the Field Number of the record;
If the main domain judges there is corresponding mark in the distribution information of Field Number of the default Field Number in the record Know information, then obtain corresponding second identification information in the distribution information of Field Number of the default Field Number in the record, And judge whether first identification information is equal with the second identification information;
If the main domain judges that first identification information and the second identification information are unequal, judge that the default domain is compiled Number and the record Field Number distribution information in Field Number exist conflict;
If the main domain judges that first identification information and the second identification information are equal, the default Field Number is judged Conflict is not present with the Field Number in the distribution information of the Field Number of the record;
If the main domain is judged to be not present in the distribution information of Field Number of the default Field Number in the record corresponding Identification information, then judge the default Field Number and the record Field Number distribution information in Field Number be not present punching It is prominent.
2. according to the method described in claim 1, it is characterised in that also include:
If the main domain judges that the Field Number in the distribution information of the Field Number of the default Field Number and the record is not deposited In conflict, then the default Field Number is regard as the Field Number to be added.
3. according to any described method of claim 1 to 2, it is characterised in that described according to first identification information and institute The distribution information of the Field Number of record is stated, or the domain of first identification information, the default Field Number and the record is compiled Number distribution information, be it is described it is to be added distribute corresponding Field Number to be added from domain, specifically include:
Judge to whether there is corresponding Field Number in the distribution information of Field Number of first identification information in the record;
If there is corresponding Field Number in the distribution information for judging Field Number of first identification information in the record, Obtain corresponding first Field Number in the distribution information of Field Number of first identification information in the record, and by described One Field Number is used as the Field Number to be added.
4. method according to claim 3, it is characterised in that also include:
If judging corresponding Field Number is not present in the distribution information of Field Number of first identification information in the record, Then judge the record Field Number distribution information in whether there is the default Field Number;
If there is the default Field Number in the distribution information for judging the Field Number of the record, judge that the default domain is compiled Corresponding state is presence or not presence number in the distribution information of the Field Number of the record;
If judging, corresponding state is not in wire in the distribution information of Field Number of the default Field Number in the record State, then regard the default Field Number as the Field Number to be added;
If judging the default Field Number is not present in the distribution information of the Field Number of the record, from the domain of the record A unappropriated Field Number is selected in the distribution information of numbering in unappropriated Field Number, and by the unappropriated Field Number It is used as the Field Number to be added;
If judging, corresponding state is presence in the distribution information of Field Number of the default Field Number in the record, A Field Number to be selected is then selected in allocated Field Number from the distribution information of the Field Number of the record and is treated described Field Number is selected as the Field Number to be added;Wherein, the corresponding state of the Field Number to be selected is not presence, and described The corresponding timestamp of Field Number to be selected is earlier than other allocated Field Numbers corresponding time in addition to the Field Number to be selected Stamp;Or,
If judging, corresponding state is presence in the distribution information of Field Number of the default Field Number in the record, A unappropriated Field Number is then selected in unappropriated Field Number from the distribution information of the Field Number of the record, and by institute Unappropriated Field Number is stated as the Field Number to be added.
5. a kind of processing unit of numbering, it is characterised in that including:
Transceiver module, for receiving the request message to be added sent from domain, the request message includes:It is described to be added from domain Default Field Number and first identification information to be added from domain;
Judge module, for according to the default Field Number, or the default Field Number and first identification information, inquiry The distribution information of the Field Number of record, judge the default Field Number and the record Field Number distribution information in domain compile Number with the presence or absence of conflict;
Processing module, if judging the distribution letter of the Field Number of the default Field Number and the record for the judge module There is conflict in the Field Number in breath, then according to the distribution information of first identification information and the Field Number of the record, or The distribution information of the Field Number of first identification information, the default Field Number and the record, is described to be added from domain Distribute corresponding Field Number to be added;
The transceiver module be additionally operable to the Field Number to be added being sent to it is described to be added from domain, for it is described it is to be added from Domain regard the Field Number to be added as default Field Number in the default Field Number and the unequal Field Number to be added Preserved;
Wherein, the judge module is specifically for according to the default Field Number, inquiring about the distribution letter of the Field Number of the record Breath, judges the default Field Number with the presence or absence of in the distribution information of the Field Number of the record;If judging the record The default Field Number is not present in the distribution information of Field Number, then judges that the domain of the default Field Number and the record is compiled Number distribution information in Field Number exist conflict;
If also particularly useful for there is the default domain in the distribution information for the Field Number for judging the record in the judge module Numbering, then judge in the distribution information of Field Number of the default Field Number in the record with the presence or absence of corresponding mark letter Breath;If there is corresponding identification information in the distribution information for judging Field Number of the default Field Number in the record, Corresponding second identification information in the distribution information of Field Number of the default Field Number in the record is obtained, and judges described Whether the first identification information is equal with the second identification information;If judging first identification information and the second identification information not phase Deng, then judge the default Field Number and the record Field Number distribution information in Field Number exist conflict;
If the judge module is judged also particularly useful for judging that first identification information and the second identification information are equal Conflict is not present in Field Number in the distribution information of the Field Number of the default Field Number and the record;
If the judge module is also particularly useful for the distribution information for judging Field Number of the default Field Number in the record In corresponding identification information is not present, then in the distribution information of Field Number for judging the default Field Number and the record Conflict is not present in Field Number.
6. device according to claim 5, it is characterised in that if the processing module is additionally operable to the judge module and judged Conflict is not present in Field Number in the distribution information for the Field Number for going out the default Field Number and the record, then will be described default Field Number is used as the Field Number to be added.
7. according to any described device of claim 5 to 6, it is characterised in that the processing module includes:
In judging unit, the distribution information for judging Field Number of first identification information in the record with the presence or absence of pair The Field Number answered;
Acquiring unit, if judging the distribution of Field Number of first identification information in the record for the judging unit There is corresponding Field Number in information, then obtain right in the distribution information of Field Number of first identification information in the record The first Field Number answered;
Field Number allocation unit, for regarding first Field Number as the Field Number to be added.
8. device according to claim 7, it is characterised in that if the judging unit is additionally operable to judge first mark Know information and corresponding Field Number is not present in the distribution information of the Field Number of the record, then judge the Field Number of the record Distribution information in whether there is the default Field Number;If there is institute in the distribution information for judging the Field Number of the record State default Field Number, then judge in the distribution information of Field Number of the default Field Number in the record corresponding state be Wire state still not presence;
Judge the default Field Number in the domain of the record if the Field Number allocation unit is additionally operable to the judging unit Corresponding state is not presence in the distribution information of numbering, then is used as the domain to be added to compile the default Field Number Number;
If the Field Number allocation unit is additionally operable in the distribution information of Field Number that the judging unit judges the record In the absence of the default Field Number, then one is selected in unappropriated Field Number from the distribution information of the Field Number of the record Unappropriated Field Number, and it regard the unappropriated Field Number as the Field Number to be added;
Judge the default Field Number in the domain of the record if the Field Number allocation unit is additionally operable to the judging unit Corresponding state is presence in the distribution information of numbering, then allocated from the distribution information of the Field Number of the record A Field Number to be selected is selected in Field Number and the Field Number to be selected is regard as the Field Number to be added;Wherein, it is described to treat It is not presence to select the corresponding state of Field Number, and the corresponding timestamp of the Field Number to be selected is earlier than except the domain volume to be selected The corresponding timestamp of other allocated Field Numbers outside number;Or,
Judge the default Field Number in the domain of the record if the Field Number allocation unit is additionally operable to the judging unit Corresponding state is presence in the distribution information of numbering, then unappropriated from the distribution information of the Field Number of the record A unappropriated Field Number is selected in Field Number, and regard the unappropriated Field Number as the Field Number to be added.
CN201410158259.9A 2014-04-18 2014-04-18 The processing method and equipment of numbering Active CN103916494B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410158259.9A CN103916494B (en) 2014-04-18 2014-04-18 The processing method and equipment of numbering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410158259.9A CN103916494B (en) 2014-04-18 2014-04-18 The processing method and equipment of numbering

Publications (2)

Publication Number Publication Date
CN103916494A CN103916494A (en) 2014-07-09
CN103916494B true CN103916494B (en) 2017-08-25

Family

ID=51041890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410158259.9A Active CN103916494B (en) 2014-04-18 2014-04-18 The processing method and equipment of numbering

Country Status (1)

Country Link
CN (1) CN103916494B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822693A (en) * 2020-12-31 2021-05-18 陕西天基通信科技有限责任公司 Method for realizing self-adaptive numbering of micro indoor distribution system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794663A (en) * 2005-12-31 2006-06-28 杭州华为三康技术有限公司 Access method of document in pile system
CN101068250A (en) * 2007-06-08 2007-11-07 杭州华三通信技术有限公司 Network equipment ID distributing method and device
CN101159672A (en) * 2007-11-09 2008-04-09 中兴通讯股份有限公司 Method of distributing device number of stacked system
CN102655462A (en) * 2012-04-09 2012-09-05 深圳市佳信捷电子有限公司 Method and device for batched upgrading of embedded network equipment
CN103701631A (en) * 2013-12-05 2014-04-02 杭州华三通信技术有限公司 Automatic stack configuration deploy method and equipment used in stack system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794663A (en) * 2005-12-31 2006-06-28 杭州华为三康技术有限公司 Access method of document in pile system
CN101068250A (en) * 2007-06-08 2007-11-07 杭州华三通信技术有限公司 Network equipment ID distributing method and device
CN101159672A (en) * 2007-11-09 2008-04-09 中兴通讯股份有限公司 Method of distributing device number of stacked system
CN102655462A (en) * 2012-04-09 2012-09-05 深圳市佳信捷电子有限公司 Method and device for batched upgrading of embedded network equipment
CN103701631A (en) * 2013-12-05 2014-04-02 杭州华三通信技术有限公司 Automatic stack configuration deploy method and equipment used in stack system

Also Published As

Publication number Publication date
CN103916494A (en) 2014-07-09

Similar Documents

Publication Publication Date Title
CN104639363B (en) For managing the management servomechanism and its management method of high in the clouds device in virtual region network
CN104572243B (en) Method and system for sharing Java Virtual Machine
CN103997441B (en) Data sharing method, device and system and home equipment
CN105191232A (en) Network element with distributed flow tables
CN103095546A (en) Method, device and data center network for processing messages
CN102377817A (en) Connection management system, and a method for linking connection management server in thin client system
CN106557366B (en) Task distribution method, device and system
CN103947157B (en) M2m communication device and method
CN104615684B (en) A kind of mass data communication concurrent processing method and system
CN103200281A (en) Method, device and system for accessing intranet server
CN108592311B (en) Air conditioner equipment pairing method and device
CN102891768A (en) Method and network element for network management
CN109510865A (en) Relay and system
CN104182295B (en) A kind of data back up method and device
CN109582458A (en) Resource information loading method, device, storage medium and processor
RU2018138001A (en) VISUALIZATION SYSTEM AND COMMUNICATION PLATFORM FOR COMMUNICATION BETWEEN NUMBER OF NODES OF THE VISUALIZATION SYSTEM
CN103916494B (en) The processing method and equipment of numbering
CN108418752B (en) A kind of creation method and device of aggregation group
CN105991439B (en) Manage the method and device of data center server
CN108153494A (en) A kind of I/O request processing method and processing device
CN106469091B (en) For distributing the method and apparatus of available area
CN105191419B (en) It enables the device to find to service via network controller or group owner
JP2011221934A (en) Register configurator and register configuration method
CN105917703A (en) Advertising storage capabilities accessible via a wireless local area network
CN104951550B (en) Date storage method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee after: RUIJIE NETWORKS CO., LTD.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee before: Fujian Xingwangruijie Network Co., Ltd.