CN104754072A - Address allocation method and equipment - Google Patents

Address allocation method and equipment Download PDF

Info

Publication number
CN104754072A
CN104754072A CN201510096280.5A CN201510096280A CN104754072A CN 104754072 A CN104754072 A CN 104754072A CN 201510096280 A CN201510096280 A CN 201510096280A CN 104754072 A CN104754072 A CN 104754072A
Authority
CN
China
Prior art keywords
virtual domain
true territory
bras
territory
true
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
CN201510096280.5A
Other languages
Chinese (zh)
Other versions
CN104754072B (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201510096280.5A priority Critical patent/CN104754072B/en
Publication of CN104754072A publication Critical patent/CN104754072A/en
Application granted granted Critical
Publication of CN104754072B publication Critical patent/CN104754072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/287Remote access server, e.g. BRAS

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an address allocation method and equipment. The address allocation method includes that a BRAS records a virtual domain and the corresponding relationship between the virtual domain and one or more real domains; when the BRAS receives an address application message from terminal equipment, the BRAS confirms the virtual domain corresponding to the terminal equipment and selects one real domain from the real domains corresponding to the virtual domain; the BRAS confirms an IP address pool corresponding to the real domain, selects one unused IP address from the IP address pool and allocates the IP address to the terminal equipment. According to the embodiment, the number of IP addresses capable of being used can be extended without correcting any configuration on an AAA server and influencing the currently using users, and the phenomenon that the terminal equipment cannot obtain an IP address is avoided.

Description

A kind of method and apparatus of address assignment
Technical field
The present invention relates to communication technical field, especially relate to a kind of method and apparatus of address assignment.
Background technology
Along with the development of Internet, people extend to the business scope, broadband such as Internet access, video telephone, video request program at a high speed from Low-rate traffic such as traditional phone, fax, telegrams gradually to the demand of communication, and the demand of user to speed of surfing the Internet is more and more higher.Meanwhile, the user being linked into metropolitan area network gets more and more, and the business demand of user also expands day by day, and broadband metropolitan area network is faced with the development trend to multiple service supporting net direction.In this case, in order to carry out effective management to the business of access user and control, access user is prevented to be under no restraint and control to taking of Internet resources such as the network bandwidth, IP addresses, and enable that all kinds of business is meticulous runs, create BRAS (Broadband Remote AccessServer, Broadband Remote Access Server), BRAS has access authentication mode, effective address management function, powerful subscriber management function flexibly, and can provide abundant business and controlling functions flexibly.
As shown in Figure 1, for the networking schematic diagram of BRAS, during terminal equipment application IP address, BRAS receives the application IP addresses message from terminal equipment, application IP addresses message is sent to AAA (Authentication, Authorization, Accounting, certification, authorize, charging) server, aaa server utilizes the username and password determination terminal equipment carried in this application IP addresses message by after Certificate Authority, territory (domain) information (as territory A) corresponding for terminal equipment is informed to BRAS, BRAS searches the IP address pool under this domain information, and IP address is selected from this IP address pool, and by this IP address assignment to terminal equipment.
If the quantity of terminal equipment is a lot, and time a large amount of terminal equipments equal corresponding same domain information (as territory A), then BRAS needs to select IP address assignment to a large amount of terminal equipments from the IP address pool this domain information.Because the IP number of addresses in IP address pool is limited, thus can cause having terminal equipment cannot distribute IP address in this IP address pool, then cause these terminal equipments cannot be assigned to IP address.
Summary of the invention
The embodiment of the present invention provides a kind of method of address assignment, the method is applied in the network comprising Broadband Remote Access Server BRAS and terminal equipment, described BRAS have recorded virtual Domain, and the corresponding relation that have recorded between described virtual Domain and one or more true territory, said method comprising the steps of: described BRAS is when receiving the application IP addresses message from terminal equipment, determine the virtual Domain that described terminal equipment is corresponding, and select a true territory from true territory corresponding to described virtual Domain;
Described BRAS determines the IP address pool that the true territory of current selection is corresponding, and from described IP address pool, selects one not by the IP address used, and gives described terminal equipment by described IP address assignment.
Described network comprises authentication and authorization charging aaa server, described BRAS determines the virtual Domain that described terminal equipment is corresponding, specifically comprise: described application IP addresses message is sent to described aaa server by described BRAS, by described aaa server utilizing after the user profile of carrying in described application IP addresses message determines that described terminal equipment is by Certificate Authority, virtual Domain corresponding for described terminal equipment is informed to described BRAS; Wherein, described aaa server have recorded the corresponding relation between virtual Domain and terminal equipment; Described BRAS receives from virtual Domain corresponding to the described terminal equipment of described aaa server.
Attribute information corresponding to described true territory configures according to demand or inherits from the virtual Domain corresponding with described true territory, and attribute information corresponding to described true territory specifically comprises: IP address pool, precedence information and/or bandwidth information.
Described BRAS selects a true territory from true territory corresponding to described virtual Domain, specifically comprises:
When the attribute information that described true territory is corresponding comprises precedence information, described BRAS selects precedence information optimum true territory from true territory corresponding to described virtual Domain; Or,
When the attribute information that described true territory is corresponding comprises bandwidth information, when the terminal equipment quantity of current access is less than the first numerical value, described BRAS selects bandwidth information maximization true territory from true territory corresponding to described virtual Domain; Or, when the terminal equipment quantity of current access is greater than second value, the true territory that described BRAS selects bandwidth information minimum from true territory corresponding to described virtual Domain; Wherein, described second value is greater than described first numerical value.
Described BRAS selects the process in a true territory from true territory corresponding to described virtual Domain, specifically comprise: when there is no available IP address in the IP address pool that each true territory that described virtual Domain is corresponding is corresponding, described BRAS is that described virtual Domain configures new true territory, comprises not by the IP address pool used in described true territory newly; Described BRAS selects described true territory newly from true territory corresponding to described virtual Domain.
Described method comprises further: when in the IP address pool that the true territory that described virtual Domain is corresponding is corresponding also not by use IP address time, described BRAS deletes described true territory from described virtual Domain.
The embodiment of the present invention provides a kind of Broadband Remote Access Server BRAS, be applied in the network comprising described BRAS and terminal equipment, described BRAS have recorded virtual Domain, and have recorded the corresponding relation between described virtual Domain and one or more true territory, described BRAS specifically comprises:
Selecting module, for when receiving the application IP addresses message from terminal equipment, determining the virtual Domain that described terminal equipment is corresponding, and select a true territory from true territory corresponding to described virtual Domain;
Distribution module, for determining the IP address pool that the true territory of current selection is corresponding, and selects one not by the IP address used, and gives described terminal equipment by described IP address assignment from described IP address pool.
Described network comprises authentication and authorization charging aaa server, described selection module, specifically in the process determining the virtual Domain that described terminal equipment is corresponding, described application IP addresses message is sent to described aaa server, by described aaa server utilizing after the user profile of carrying in described application IP addresses message determines that described terminal equipment is by Certificate Authority, virtual Domain corresponding for described terminal equipment is informed to described BRAS; Receive from virtual Domain corresponding to the described terminal equipment of described aaa server;
Wherein, described aaa server have recorded the corresponding relation between virtual Domain and terminal equipment.
Attribute information corresponding to described true territory configures according to demand or inherits from the virtual Domain corresponding with described true territory, and attribute information corresponding to described true territory specifically comprises: IP address pool, precedence information and/or bandwidth information.
Described selection module, specifically for selecting in the process in a true territory in the true territory corresponding from described virtual Domain, when the attribute information that described true territory is corresponding comprises precedence information, from the true territory that described virtual Domain is corresponding, select precedence information optimum true territory; Or,
When the attribute information that described true territory is corresponding comprises bandwidth information, when the terminal equipment quantity of current access is less than the first numerical value, from the true territory that described virtual Domain is corresponding, select bandwidth information maximization true territory; Or, when the terminal equipment quantity of current access is greater than second value, the true territory selecting bandwidth information minimum from the true territory that described virtual Domain is corresponding; Wherein, described second value is greater than described first numerical value.
Described selection module, specifically for selecting in the process in a true territory in the true territory corresponding from described virtual Domain, when there is no available IP address in the IP address pool that each true territory that described virtual Domain is corresponding is corresponding, for described virtual Domain configures new true territory, comprise not by the IP address pool used in described true territory newly; Described true territory is newly selected from the true territory that described virtual Domain is corresponding.
Described selection module, also in IP address pool corresponding to the true territory corresponding when described virtual Domain also not by use IP address time, from described virtual Domain, delete described true territory.
Based on technique scheme, in the embodiment of the present invention, by safeguarding the corresponding relation between virtual Domain and one or more true territory on BRAS, thus the quantity of the IP address that can use can be expanded.If the quantity of terminal equipment is a lot, the equal corresponding same virtual Domain of a large amount of terminal equipments, and there is no available IP address in IP address pool corresponding to true territory corresponding to this virtual Domain, then can configure new true territory for this virtual Domain, thus can in any configuration do not revised on aaa server and under not affecting the current user's prerequisite used, IP address in the IP address pool that the true territory utilizing this new is corresponding is terminal equipment distributing IP address, avoids terminal equipment cannot be assigned to IP address.Under aforesaid way only needs the virtual Domain on BRAS, add the problem that true territory just can solve address dilatation, do not need to revise any configuration on aaa server, reduce in whole networking because of risk that configuration modification brings.
Accompanying drawing explanation
Fig. 1 is the networking schematic diagram of the BRAS proposed in prior art;
Fig. 2 is the method flow schematic diagram of a kind of address assignment that the embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of BRAS that the embodiment of the present invention provides.
Embodiment
For problems of the prior art, embodiments provide a kind of method of address assignment, take Fig. 1 as the application scenarios schematic diagram of the embodiment of the present invention, the method is applied in the network comprising BRAS, terminal equipment and aaa server.In the embodiment of the present invention, BRAS have recorded virtual Domain, and have recorded the corresponding relation between this virtual Domain and one or more true territory.Wherein, the territory of true territory and necessary being of the prior art, and BRAS external (as to aaa server) only can present virtual Domain, one or more true territory can be had under this virtual Domain, and each true territory under this virtual Domain is relatively independent.In the embodiment of the present invention, attribute information corresponding to true territory can configure or inherits from the virtual Domain corresponding with this true territory according to demand.Further, the attribute information that true territory is corresponding specifically includes but not limited to: IP address pool, precedence information and/or bandwidth information.
In the embodiment of the present invention, the attribute information in the multiple true territory that virtual Domain is corresponding can be identical or different.Concrete, the IP address pool in different true territory can be different, and such as, the IP address pool in the true territory 1 that virtual Domain is corresponding is IP address pool 1, and the IP address pool in the true territory 2 that virtual Domain is corresponding is IP address pool 2.The precedence information in different true territory can be identical, also can be different, and such as, the precedence information in the true territory 1 that virtual Domain is corresponding is priority 1, and the precedence information in the true territory 2 that virtual Domain is corresponding is priority 2, and priority 1 will be better than priority 2.The bandwidth information in different true territory can be identical, also can be different, and such as, the bandwidth information in the true territory 1 that virtual Domain is corresponding is 2M, and the bandwidth information in the true territory 2 that virtual Domain is corresponding is 1M.
In the embodiment of the present invention, to the operation in any one true territory corresponding to virtual Domain, all can not have influence on other true territory that this virtual Domain is corresponding.Such as, when revising the IP address pool in true territory 1 corresponding to virtual Domain or precedence information or bandwidth information, all can not have influence on the IP address pool in true territory 2 corresponding to virtual Domain or precedence information or bandwidth information.
In the embodiment of the present invention, the IP address pool in different true territory can be continuous print IP address pool, also can be discrete IP address pool.Such as, the IP address pool 1 in the true territory 1 that virtual Domain is corresponding can be continuous print IP address pool with the IP address pool 2 in true territory 2, also can be discrete IP address pool.
In the embodiment of the present invention, in virtual Domain, can attribute information be comprised, when the true territory that virtual Domain is corresponding does not configure this attribute information, the attribute information of virtual Domain can be inherited.Based on this, can the attribute information in multiple true territory under batch modification virtual Domain.Such as, in virtual Domain, can bandwidth information be comprised, when true territory 1 corresponding to virtual Domain and true territory 2 all do not have configured bandwidth information, then can inherit the bandwidth information of virtual Domain, thus make true territory 1 and true territory 2 inherit the bandwidth information of virtual Domain.
Based on above-mentioned application scenarios, as shown in Figure 2, the method for this address assignment comprises the following steps:
Step 201, BRAS, when receiving the application IP addresses message from terminal equipment, determines the virtual Domain that this terminal equipment is corresponding, and selects a true territory from true territory corresponding to this virtual Domain.
In the embodiment of the present invention, BRAS determines the process of the virtual Domain that terminal equipment is corresponding, specifically include but not limited to as under type: BRAS is when receiving the application IP addresses message from terminal equipment, this application IP addresses message is sent to aaa server, by aaa server utilize the user profile determination terminal equipment that carries in application IP addresses message by Certificate Authority after, virtual Domain corresponding for this terminal equipment is informed to BRAS; Wherein, aaa server have recorded the corresponding relation between virtual Domain and terminal equipment.Further, BRAS receives from virtual Domain corresponding to the terminal equipment of aaa server.
Wherein, terminal equipment is in the process of application IP address, application IP addresses message can be sent (as DHCP (Dynamic Host Configuration Protocol to BRAS, DHCP) request message), in this application IP addresses message, carry the user profile such as username and password corresponding to this terminal equipment.BRAS receives the application IP addresses message from terminal equipment, and this application IP addresses message is sent to aaa server.Aaa server utilizes the user profile such as the username and password carried in this application IP addresses message to judge whether terminal equipment passes through Certificate Authority; If not by Certificate Authority, then aaa server notice BRAS refuses terminal equipment access network, and this process does not repeat them here.
In the embodiment of the present invention, aaa server can record the corresponding relation between virtual Domain and terminal equipment, based on the corresponding relation between this virtual Domain and terminal equipment, when terminal equipment is by Certificate Authority, then aaa server can inquire about the corresponding relation between terminal equipment and virtual Domain that this aaa server records, thus obtain virtual Domain corresponding to this terminal equipment with, and virtual Domain corresponding for this terminal equipment is informed to BRAS, received from virtual Domain corresponding to the terminal equipment of aaa server by BRAS.
In above process, aaa server can record the information of terminal equipment and the corresponding relation of virtual Domain, for aaa server, only the information of storage terminal equipment and the corresponding relation of virtual Domain need be used, what do not need perception self to store is the information of terminal equipment and the corresponding relation of virtual Domain, or the information of terminal equipment and the corresponding relation in true territory, namely aaa server does not need the situation in perception virtual Domain and true territory, concerning aaa server, virtual Domain is consistent with the process in true territory.
In the embodiment of the present invention, BRAS selects the process in a true territory from true territory corresponding to virtual Domain, specifically include but not limited to as under type: when attribute information corresponding to real domain of taking seriously comprises precedence information, BRAS selects precedence information optimum true territory from true territory corresponding to virtual Domain; Or,
When attribute information corresponding to real domain of taking seriously comprises bandwidth information, when the terminal equipment quantity of current access is less than the first numerical value, then BRAS selects bandwidth information maximization true territory from true territory corresponding to virtual Domain; Or, when the terminal equipment quantity of current access is greater than second value, then a BRAS true territory selecting bandwidth information minimum from true territory corresponding to virtual Domain; Wherein, this second value is greater than this first numerical value.
Wherein, by configuring different precedence informations for different true territories, and select precedence information optimum true territory from true territory corresponding to virtual Domain, thus the IP address pool that the true territory that can ensure to be preferably terminal equipment configuration high priority message is corresponding.Such as, when the precedence information of real domain 1 of taking seriously is better than the precedence information in true territory 2, when then having available IP address in the IP address pool 1 in true territory 1, BRAS can select the true territory 1 of precedence information optimum from true territory corresponding to virtual Domain, until when there is no available IP address in the IP address pool 1 in true territory 1, BRAS just can select the true territory 2 of precedence information optimum (now from true territory corresponding to virtual Domain, IP address pool 1 due to true territory 1 has not had available IP address, therefore, BRAS can not select IP address in the IP address pool 1 from true territory 1, namely BRAS can not consider the precedence information in true territory 1, precedence information optimum be true territory 2), thus the IP address that guarantee is preferably in terminal equipment configuration IP address pool 1.
Wherein, according to the time order and function relation of terminal equipment access, BRAS can distribute different bandwidth information for different terminal equipments.Concrete, when the terminal equipment quantity of current access is less than the first numerical value, terminal equipment number ratio is less, and the bandwidth that each terminal equipment distributes can be relatively a little bigger, therefore, BRAS can select bandwidth information maximization true territory from true territory corresponding to virtual Domain.Due to the restriction of total bandwidth, along with the continuous increase of terminal equipment quantity, when the terminal equipment quantity of current access is greater than second value, terminal equipment number ratio is more, the bandwidth that each terminal equipment distributes can point relatively, therefore, a BRAS true territory can bandwidth information being selected minimum from true territory corresponding to virtual Domain.
In the embodiment of the present invention, BRAS selects the process in a true territory from true territory corresponding to virtual Domain, specifically include but not limited to as under type: when all there is no available IP address in the IP address pool that each true territory (i.e. all true territories) that virtual Domain is corresponding is corresponding, then BRAS is that virtual Domain configures new true territory, and comprises not by the IP address pool used in this new true territory.Further, BRAS selects new true territory from true territory corresponding to virtual Domain, namely selects the current true territory reconfigured.
In the embodiment of the present invention, if the negligible amounts of terminal equipment, when in the IP address pool that the true territory that virtual Domain is corresponding is corresponding also not by use IP address time, BRAS deletes this true territory from virtual Domain.
In sum, in the embodiment of the present invention, if the quantity of terminal equipment is more, when all there is no available IP address in the IP address pool that all true territories are corresponding, under virtual Domain, a new true territory can be added again.If the negligible amounts of terminal equipment, in the IP address pool having true territory corresponding also not by use IP address time, this true territory can be deleted under virtual Domain, not affect other the true territory under virtual Domain.
Step 202, BRAS determines the IP address pool that the true territory of current selection is corresponding, and from this IP address pool, selects one not by the IP address used, and by this IP address assignment to terminal equipment.
Such as, if the true territory of current selection is true territory 1, then BRAS determines that the IP address pool of true territory 1 correspondence of current selection is IP address pool 1, and from this IP address pool 1, selects one not by the IP address used, and by this IP address assignment to terminal equipment.Wherein, select one in BRAS secondary IP address pond 1 not by the process of IP address that uses, BRAS directly can utilize the IP address pool 1 of local configuration, selects one not by the IP address used in secondary IP address pond 1; Or, the application IP addresses message of terminal equipment is sent to Dynamic Host Configuration Protocol server by BRAS, the IP address pool 1 of local configuration is utilized by Dynamic Host Configuration Protocol server, one is selected not by the IP address used in secondary IP address pond 1, and this selection do not informed to BRAS by the IP address used, BRAS obtains not by the IP address used.
Based on technique scheme, in the embodiment of the present invention, by safeguarding the corresponding relation between virtual Domain and one or more true territory at BRAS, thus the quantity of the IP address that can use can be expanded.If the quantity of terminal equipment is a lot, the equal corresponding same virtual Domain of a large amount of terminal equipments, and there is no available IP address in IP address pool corresponding to true territory corresponding to this virtual Domain, then can configure new true territory for this virtual Domain, thus can in any configuration do not revised on aaa server and under not affecting the current user's prerequisite used, IP address in the IP address pool that the true territory utilizing this new is corresponding is terminal equipment distributing IP address, avoids terminal equipment cannot be assigned to IP address.Under aforesaid way only needs the virtual Domain on BRAS, add the problem that true territory just can solve address dilatation, do not need to revise any configuration on aaa server, reduce in whole networking because of risk that configuration modification brings.
Based on the inventive concept same with said method, a kind of BRAS is additionally provided in the embodiment of the present invention, be applied in the network comprising BRAS and terminal equipment, described BRAS have recorded virtual Domain, and the corresponding relation that have recorded between described virtual Domain and one or more true territory, as shown in Figure 3, described BRAS specifically comprises:
Selecting module 11, for when receiving the application IP addresses message from terminal equipment, determining the virtual Domain that described terminal equipment is corresponding, and select a true territory from true territory corresponding to described virtual Domain;
Distribution module 12, for determining the IP address pool that the true territory of current selection is corresponding, and selects one not by the IP address used, and gives described terminal equipment by described IP address assignment from described IP address pool.
Described network comprises authentication and authorization charging aaa server, described selection module 11, specifically in the process determining the virtual Domain that described terminal equipment is corresponding, described application IP addresses message is sent to described aaa server, by described aaa server utilizing after the user profile of carrying in described application IP addresses message determines that described terminal equipment is by Certificate Authority, virtual Domain corresponding for described terminal equipment is informed to described BRAS; Receive from virtual Domain corresponding to the described terminal equipment of described aaa server;
Wherein, described aaa server have recorded the corresponding relation between virtual Domain and terminal equipment.
In the embodiment of the present invention, attribute information corresponding to described true territory configures according to demand or inherits from the virtual Domain corresponding with described true territory, and attribute information corresponding to described true territory specifically comprises: IP address pool, precedence information and/or bandwidth information.
Described selection module 11, specifically for selecting in the process in a true territory in the true territory corresponding from described virtual Domain, when the attribute information that described true territory is corresponding comprises precedence information, from the true territory that described virtual Domain is corresponding, select precedence information optimum true territory; Or,
When the attribute information that described true territory is corresponding comprises bandwidth information, when the terminal equipment quantity of current access is less than the first numerical value, from the true territory that described virtual Domain is corresponding, select bandwidth information maximization true territory; Or, when the terminal equipment quantity of current access is greater than second value, the true territory selecting bandwidth information minimum from the true territory that described virtual Domain is corresponding; Wherein, described second value is greater than described first numerical value.
Described selection module 11, specifically for selecting in the process in a true territory in the true territory corresponding from described virtual Domain, when there is no available IP address in the IP address pool that each true territory that described virtual Domain is corresponding is corresponding, for described virtual Domain configures new true territory, comprise not by the IP address pool used in described true territory newly; Described true territory is newly selected from the true territory that described virtual Domain is corresponding.
Described selection module 11, also in IP address pool corresponding to the true territory corresponding when described virtual Domain also not by use IP address time, from described virtual Domain, delete described true territory.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can be separated deployment.Above-mentioned module can merge into a module, also can split into multiple submodule further.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required general hardware platform by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.It will be appreciated by those skilled in the art that the module in the device in embodiment can carry out being distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices being different from the present embodiment.The module of above-described embodiment can merge into a module, also can split into multiple submodule further.The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.Be only several specific embodiment of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (12)

1. the method for an address assignment, the method is applied in the network comprising Broadband Remote Access Server BRAS and terminal equipment, it is characterized in that, described BRAS have recorded virtual Domain, and the corresponding relation that have recorded between described virtual Domain and one or more true territory, said method comprising the steps of:
Described BRAS, when receiving the application IP addresses message from terminal equipment, determines the virtual Domain that described terminal equipment is corresponding, and selects a true territory from true territory corresponding to described virtual Domain;
Described BRAS determines the IP address pool that the true territory of current selection is corresponding, and from described IP address pool, selects one not by the IP address used, and gives described terminal equipment by described IP address assignment.
2. the method for claim 1, is characterized in that, described network comprises authentication and authorization charging aaa server, and described BRAS determines specifically to comprise the virtual Domain that described terminal equipment is corresponding:
Described application IP addresses message is sent to described aaa server by described BRAS, by described aaa server utilizing after the user profile of carrying in described application IP addresses message determines that described terminal equipment is by Certificate Authority, virtual Domain corresponding for described terminal equipment is informed to described BRAS; Wherein, described aaa server have recorded the corresponding relation between virtual Domain and terminal equipment;
Described BRAS receives from virtual Domain corresponding to the described terminal equipment of described aaa server.
3. method as claimed in claim 1 or 2, it is characterized in that, attribute information corresponding to described true territory configures according to demand or inherits from the virtual Domain corresponding with described true territory, and attribute information corresponding to described true territory specifically comprises: IP address pool, precedence information and/or bandwidth information.
4. method as claimed in claim 3, is characterized in that, described BRAS selects the process in a true territory from true territory corresponding to described virtual Domain, specifically comprises:
When the attribute information that described true territory is corresponding comprises precedence information, described BRAS selects precedence information optimum true territory from true territory corresponding to described virtual Domain; Or,
When the attribute information that described true territory is corresponding comprises bandwidth information, when the terminal equipment quantity of current access is less than the first numerical value, described BRAS selects bandwidth information maximization true territory from true territory corresponding to described virtual Domain; Or, when the terminal equipment quantity of current access is greater than second value, the true territory that described BRAS selects bandwidth information minimum from true territory corresponding to described virtual Domain; Wherein, described second value is greater than described first numerical value.
5. method as claimed in claim 3, is characterized in that, described BRAS selects the process in a true territory from true territory corresponding to described virtual Domain, specifically comprises:
When not having available IP address in the IP address pool that each true territory that described virtual Domain is corresponding is corresponding, described BRAS is that described virtual Domain configures new true territory, comprises not by the IP address pool used in described true territory newly; Described BRAS selects described true territory newly from true territory corresponding to described virtual Domain.
6. method as claimed in claim 3, it is characterized in that, described method comprises further:
When in the IP address pool that the true territory that described virtual Domain is corresponding is corresponding also not by use IP address time, described BRAS deletes described true territory from described virtual Domain.
7. a Broadband Remote Access Server BRAS, be applied in the network comprising described BRAS and terminal equipment, it is characterized in that, described BRAS have recorded virtual Domain, and the corresponding relation that have recorded between described virtual Domain and one or more true territory, described BRAS specifically comprises:
Selecting module, for when receiving the application IP addresses message from terminal equipment, determining the virtual Domain that described terminal equipment is corresponding, and select a true territory from true territory corresponding to described virtual Domain;
Distribution module, for determining the IP address pool that the true territory of current selection is corresponding, and selects one not by the IP address used, and gives described terminal equipment by described IP address assignment from described IP address pool.
8. BRAS as claimed in claim 7, is characterized in that,
Described network comprises authentication and authorization charging aaa server, described selection module, specifically in the process determining the virtual Domain that described terminal equipment is corresponding, described application IP addresses message is sent to described aaa server, by described aaa server utilizing after the user profile of carrying in described application IP addresses message determines that described terminal equipment is by Certificate Authority, virtual Domain corresponding for described terminal equipment is informed to described BRAS; Receive from virtual Domain corresponding to the described terminal equipment of described aaa server;
Wherein, described aaa server have recorded the corresponding relation between virtual Domain and terminal equipment.
9. BRAS as claimed in claim 7 or 8, it is characterized in that, attribute information corresponding to described true territory configures according to demand or inherits from the virtual Domain corresponding with described true territory, and attribute information corresponding to described true territory specifically comprises: IP address pool, precedence information and/or bandwidth information.
10. BRAS as claimed in claim 9, is characterized in that,
Described selection module, specifically for selecting in the process in a true territory in the true territory corresponding from described virtual Domain, when the attribute information that described true territory is corresponding comprises precedence information, from the true territory that described virtual Domain is corresponding, select precedence information optimum true territory; Or,
When the attribute information that described true territory is corresponding comprises bandwidth information, when the terminal equipment quantity of current access is less than the first numerical value, from the true territory that described virtual Domain is corresponding, select bandwidth information maximization true territory; Or, when the terminal equipment quantity of current access is greater than second value, the true territory selecting bandwidth information minimum from the true territory that described virtual Domain is corresponding; Wherein, described second value is greater than described first numerical value.
11. BRAS as claimed in claim 9, is characterized in that,
Described selection module, specifically for selecting in the process in a true territory in the true territory corresponding from described virtual Domain, when there is no available IP address in the IP address pool that each true territory that described virtual Domain is corresponding is corresponding, for described virtual Domain configures new true territory, comprise not by the IP address pool used in described true territory newly; Described true territory is newly selected from the true territory that described virtual Domain is corresponding.
12. BRAS as claimed in claim 9, is characterized in that,
Described selection module, also in IP address pool corresponding to the true territory corresponding when described virtual Domain also not by use IP address time, from described virtual Domain, delete described true territory.
CN201510096280.5A 2015-03-04 2015-03-04 A kind of method and apparatus of address distribution Active CN104754072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510096280.5A CN104754072B (en) 2015-03-04 2015-03-04 A kind of method and apparatus of address distribution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510096280.5A CN104754072B (en) 2015-03-04 2015-03-04 A kind of method and apparatus of address distribution

Publications (2)

Publication Number Publication Date
CN104754072A true CN104754072A (en) 2015-07-01
CN104754072B CN104754072B (en) 2018-07-24

Family

ID=53593158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510096280.5A Active CN104754072B (en) 2015-03-04 2015-03-04 A kind of method and apparatus of address distribution

Country Status (1)

Country Link
CN (1) CN104754072B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786680A (en) * 2016-08-31 2018-03-09 中国电信股份有限公司 Method and apparatus for being managed to IP address resources
CN109495593A (en) * 2017-09-11 2019-03-19 中兴通讯股份有限公司 Address distribution method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1410895A (en) * 2002-03-29 2003-04-16 华为技术有限公司 IP address allocating method of virtual local network switch on
CN1771713A (en) * 2003-04-09 2006-05-10 西门子公司 Method and arrangement for configuring a device in a data network
US20060112176A1 (en) * 2000-07-19 2006-05-25 Liu Zaide E Domain name resolution using a distributed DNS network
CN101141492A (en) * 2005-04-29 2008-03-12 华为技术有限公司 Method and system for implementing DHCP address safety allocation
CN103931140A (en) * 2011-11-02 2014-07-16 国际商业机器公司 Distributed address resolution service for virtualized networks
CN104219337A (en) * 2014-09-11 2014-12-17 杭州华三通信技术有限公司 IP address allocation method and device applied to SDN

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060112176A1 (en) * 2000-07-19 2006-05-25 Liu Zaide E Domain name resolution using a distributed DNS network
CN1410895A (en) * 2002-03-29 2003-04-16 华为技术有限公司 IP address allocating method of virtual local network switch on
CN1771713A (en) * 2003-04-09 2006-05-10 西门子公司 Method and arrangement for configuring a device in a data network
CN101141492A (en) * 2005-04-29 2008-03-12 华为技术有限公司 Method and system for implementing DHCP address safety allocation
CN103931140A (en) * 2011-11-02 2014-07-16 国际商业机器公司 Distributed address resolution service for virtualized networks
CN104219337A (en) * 2014-09-11 2014-12-17 杭州华三通信技术有限公司 IP address allocation method and device applied to SDN

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786680A (en) * 2016-08-31 2018-03-09 中国电信股份有限公司 Method and apparatus for being managed to IP address resources
CN107786680B (en) * 2016-08-31 2020-11-13 中国电信股份有限公司 Method and device for managing IP address resources
CN109495593A (en) * 2017-09-11 2019-03-19 中兴通讯股份有限公司 Address distribution method and system

Also Published As

Publication number Publication date
CN104754072B (en) 2018-07-24

Similar Documents

Publication Publication Date Title
US10194034B2 (en) Multi-modem communication using virtual identity modules
EP3327992B1 (en) Method of selecting network slice and system utilizing same
CN110896355B (en) Network slice selection method and device
US8787966B2 (en) Multi-modem communication using virtual identity modules
US9781743B2 (en) Telecommunications network and method for time-based network access
CN110519404B (en) SDN-based policy management method and device and electronic equipment
JP6448662B2 (en) Wireless local area network WLAN access method, terminal, and server
CN108370328B (en) Management method and device of NFV MANO policy descriptor
KR100766067B1 (en) Method and apparatus for supporting user mobility by allowing guest access and billing method based on the same in internet service network
CN106856511B (en) Method, gateway, PCRF network element and system for dynamically assigning IP address pool
CN111278016A (en) Network slice processing method, system and storage medium
CN105682069A (en) Method, device and system for configuring network resources
CN107005427A (en) A kind of method for managing resource and device
CN114257439B (en) Service scheduling method, AAA server and service supporting system
US9900804B2 (en) Method and device for processing to share network resources, and method, device and system for sharing network resources
US8429257B2 (en) Optimizing use of internet protocol addresses
JP6461344B2 (en) How to provide a nomadic service through a virtual residential gateway
CN113260067B (en) Service bearing method, system and equipment of service level agreement SLA based on SD-WAN
CN104754072A (en) Address allocation method and equipment
CN107911243B (en) Network optimization method, device and computer readable storage medium
CN100568836C (en) According to terminal type is the method and the server of terminal distribution local area network (LAN) resource
CN102137153A (en) Method, equipment and system of remote-control communication equipment
CN101345990A (en) Service quality QoS configuration file generation method, network element equipment and system
WO2021072594A1 (en) Tenant management
CN108306807B (en) Account opening management method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant after: Xinhua three Technology Co., Ltd.

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

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant