SVLAN Allocation Method and Device, and Ethernet Service Establishment Method and System
20180302241 ยท 2018-10-18
Inventors
Cpc classification
H04L47/724
ELECTRICITY
H04L12/4679
ELECTRICITY
H04L12/4641
ELECTRICITY
International classification
Abstract
Disclosed are a method and apparatus for allocating SVLANs and a method and system for establishing an Ethernet service. The SVLANs allocation method of the present disclosure is applied for establishment of the Ethernet service and includes: pre-storing nodes in a transmission network bearing Ethernet service and SVLANs which have been used on the nodes; after receiving a SVLAN allocation request, automatically acquiring SVLANs which have been used on the nodes required for establishing the Ethernet service by the transmission network according to the stored nodes and SVLANs; and allocating a SVLAN which is not used by all of the nodes required for establishing the Ethernet service to the Ethernet service according to the acquisition result. The SVLANs allocation method of present disclosure can solve the problems of low efficiency of the current method for allocating the SVLANs manually and the requirement for automatic service establishment cannot be met
Claims
1. A method for allocating service virtual local area networks, SVLANs, applied in establishment of an Ethernet service, comprising: pre-storing nodes in a transmission network bearing the Ethernet service and SVLANs which have been used on the nodes; after receiving a SVLAN allocation request, automatically acquiring SVLANs which have been used on nodes required for establishing the Ethernet service by the transmission network according to the stored nodes and SVLANs; and allocating a SVLAN which is not used by all of the nodes required for establishing the Ethernet service, to the Ethernet service.
2. The method according to claim 1, wherein automatically acquiring SVLANs which have been used on the nodes required for establishing the Ethernet service by the transmission network according to the stored nodes and SVLANs, comprises: determining the nodes required for establishing the Ethernet service by the transmission network according to the SVLAN allocation request; and automatically acquiring, from the stored nodes and SVLANs, the SVLANs which have been used on the nodes required for establishing the Ethernet service by the transmission network.
3. The method according to claim 1, further comprising: when the Ethernet service is established or the Ethernet service is deleted, updating the SVLANs or a set of SVLANs which have been used on the corresponding nodes of the Ethernet service.
4. The method according to claim 1, wherein before the step of receiving the SVLAN allocation request, the method further comprises: a user selecting the nodes required for establishing the Ethernet service by the transmission network to generate the SVLAN allocation request according to the selected nodes; or the transmission network determining the nodes required for establishing the Ethernet service by the transmission network to generate the SVLAN allocation request according to the determined nodes.
5. A method for establishing an Ethernet service comprising: after a transmission network bearing the Ethernet service receives an Ethernet service request, the transmission network determining nodes required for establishing the Ethernet service by the transmission network; the transmission network sending a service virtual local area network, SVLAN, allocation request according to the determined nodes; allocating SVLANs to the Ethernet service using the SVLAN allocation method according to claim 1 and sending the allocated SVLANs to the transmission network; and the nodes determined by the transmission network establishing the Ethernet service and configuring the allocated SVLANs to a physical device bearing the Ethernet service.
6. An apparatus for allocating service virtual local area networks, SVLANs, applied in establishment of an Ethernet service comprising a storing module, an acquiring module and an allocating module, wherein the storing module is configured to pre-store nodes in a transmission network bearing the Ethernet service and SVLANs which have been used on the nodes; the acquiring module is configured to, after receiving a SVLAN allocation request, automatically acquire SVLANs which have been used on nodes required for establishing the Ethernet service by the transmission network according to the stored nodes and SVLANs; and the allocating module is configured to allocate a SVLAN which is not used by all of the nodes required for establishing the Ethernet service, to the Ethernet service.
7. The apparatus according to claim 6, wherein the acquiring module is configured to automatically acquire, SVLANs which have been used on the nodes required for establishing the Ethernet service by the transmission network according to the stored nodes and SVLANs in following way: determining the nodes required for establishing the Ethernet service by the transmission network according to the SVLAN allocation request; and automatically acquiring, from the stored nodes and SVLANs, the SVLANs which have been used on the nodes required for establishing the Ethernet service by the transmission network.
8. The apparatus according to claim 6, further comprising an updating module, wherein the updating module is configured to, when the Ethernet service is established or the Ethernet service is deleted, update the SVLANs or a set of SVLANs which have been used on the corresponding nodes of the Ethernet service.
9. The apparatus according to claim 6, further comprising a verifying module, wherein the verifying module is configured to verify the allocated SVLANs according to the nodes and SVLANs stored by the storing module.
10. A system for establishing an Ethernet service comprising a transmission network unit bearing the Ethernet service and the SVLAN allocation apparatus according to claim 6, wherein the transmission network unit comprises a plurality of nodes; the transmission network unit is configured to, after receiving an Ethernet service request, determine nodes required for establishing the Ethernet service by the transmission network, and send a SVLAN allocation request to the SVLAN allocation apparatus according to the determined node; the SVLAN allocation apparatus is configure to allocate SVLANs to the Ethernet service required to be established and send the allocated SVLANs to the transmission network unit; and the nodes determined by the transmission network unit are configured to establish the Ethernet service and configure the allocated SVLANs to a physical device bearing the Ethernet service.
11. A computer program comprising program instructions, which, when executed by a computer, cause the computer to perform the SVLAN allocation method according to claim 1.
12. A carrier loaded with the computer program according to claim 11.
13. A computer program comprising program instructions, which, when executed by a computer, cause the computer to perform the method for establishing an Ethernet service according to claim 5.
14. A carrier loaded with the computer program according to claim 13.
15. The method according to claim 2, further comprising: when the Ethernet service is established or the Ethernet service is deleted, updating the SVLANs or a set of SVLANs which have been used on the corresponding nodes of the Ethernet service.
16. The method according to claim 2, wherein before the step of receiving the SVLAN allocation request, the method further comprises: a user selecting the nodes required for establishing the Ethernet service by the transmission network to generate the SVLAN allocation request according to the selected nodes; or the transmission network determining the nodes required for establishing the Ethernet service by the transmission network to generate the SVLAN allocation request according to the determined nodes.
17. The apparatus according to claim 7, further comprising an updating module, wherein the updating module is configured to, when the Ethernet service is established or the Ethernet service is deleted, update the SVLANs or a set of SVLANs which have been used on the corresponding nodes of the Ethernet service.
18. The apparatus according to claim 7, further comprising a verifying module, wherein the verifying module is configured to verify the allocated SVLANs according to the nodes and SVLANs stored by the storing module.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
[0052]
[0053]
DETAILED DESCRIPTION
[0054] The present invention will be described in further detail below in conjunction with the specific embodiments.
Embodiment One
[0055] Considering the problems of low efficiency of the current method for allocating SVLANs manually and the requirement for automatic service establishment cannot be met, an embodiment provides a method for allocating SVLANs, applied in establishment of an Ethernet service includes the steps 101-103.
[0056] In step 101: nodes in a transmission network bearing the Ethernet service and SVLANs which have been used on the nodes are pre-stored.
[0057] The method in accordance with the embodiment may store the used SVLANs according to the nodes. Specifically, each of the nodes in the transmission network bearing the Ethernet service and the SVLANs which have been used on each of the nodes can be stored in advance. An executive entity of that step may be a SVLAN allocation device.
[0058] The nodes in the embodiment may be UNI-N nodes, nodes involved in the following are the same too and will be not be described repeatedly.
[0059] In step 102: after a SVLAN allocation request is received, according to the stored nodes and SVLANs, SVLANs which have been used on nodes required for establishing the Ethernet service by the transmission network is acquired automatically.
[0060] In the establishment of the Ethernet service, the Ethernet service is typically established by the transmission network bearing the Ethernet service, and specifically, by some nodes in the transmission network.
[0061] In an exemplary embodiment, the step may include following steps.
[0062] The nodes required for establishing the Ethernet service by the transmission network are determined according to the SVLAN allocation request.
[0063] The SVLANs which have been used on the nodes required for establishing the Ethernet service by the transmission network are automatically acquired from the stored nodes and SVLANs. All of the SVLANs are allocated in a unified way by a SVLAN allocation device/apparatus and then are sent to the nodes. After each allocation, the allocated SVLANs are all put into the corresponding nodes, thus, the SVLAN allocation apparatus knows SVLAN usage conditions of all the nodes.
[0064] That step can determine the nodes first, and then find the SVLANs, which have been used on the determined node, from the stored SVLANs. In the process of establishing the Ethernet service, the determined nodes are the nodes determined to be required for establishing the Ethernet service by the transmission network bearing the Ethernet service.
[0065] An executive entity of the step is the SVLAN allocation device, which is utilized to implement automatic acquisition.
[0066] In step 103: the SVLANs, which have been used on the nodes required for establishing the Ethernet service, is established according to the acquired transmission network, and a SVLAN, which is not used by all of the nodes required for establishing the Ethernet service, is allocated to the Ethernet service.
[0067] On the basis of acquiring the SVLANs which have been used on the required nodes, the method in accordance with the embodiment may take the union of sets of the SVLANs which have been used on each of the required nodes. The union is a set of SVLANs which are not useable for the current service. After the union is obtained, a SVLAN which is not in the union may be allocated based on the union.
[0068] An executive entity of step 103 may be the SVLAN allocation device or staff. In the case that the entity is the SVLAN allocation device, the method in accordance with the embodiment may implement automatic allocation of the SVLANs. And in the case that the entity is the staff, the method in accordance with the embodiment may implement semi-automatic allocation of the SVLANs.
[0069] The method in accordance with the embodiment can automatically acquire, from the pre-stored SVLANs, the SVLANs which have been used on the nodes required for establishing the Ethernet service by the transmission network, and can automatically allocate the SVLAN, which is not used by all of the nodes required for establishing the current Ethernet service, on the basis of the automatic acquisition. Compared with the existing technology, both automatic allocation and semi-automatic allocation can improve the efficiency of the allocation of the SVLANs and can be adapted to the current mechanism for establishing services automatically to meet the requirement for establishing the services automatically.
[0070] In order to improve the accuracy of allocating the SVLANs, it is necessary to update the stored data timely. Thus, the method in accordance with the embodiment further includes flowing steps.
[0071] When the Ethernet service is established or the Ethernet service is deleted, the SVLANs or a set of SVLANs which have been used on the corresponding nodes are updated.
[0072] For example, when the nodes in the transmission network bearing the service establish the Ethernet service, SVLANs used by the nodes in the transmission network bearing the service are added to the set of the SVLANs which have been used on the corresponding nodes. When the nodes delete the Ethernet service, the currently used SVLANs are removed from the set of the SVLANs which have been used on the nodes.
[0073] Using the method in accordance with the embodiment can ensure the stored and used SVLANs are up-to-date so as to improve the accuracy of the allocation of the SVLANs and ensure normal transmission of the established Ethernet service.
[0074] Based on the method described above, the received SVLAN allocation request in the method in accordance with the embodiment may be generated by one of two following manners.
[0075] The first manner is to generate the SVLAN allocation request according to the nodes required for establishing the Ethernet service by the transmission network, selected by a user. For example, the technical personnel select UNI-N nodes in the transmission network bearing the service and send the allocation request according to the selection.
[0076] The second manner is to generate the SVLAN allocation request according to the determined nodes required for establishing the Ethernet service by the transmission network.
[0077] For example, after the transmission network bearing the Ethernet service receives the service request, it is determined that the UNI-N nodes of the current Ethernet service are established in the transmission network, and the SVLAN allocation request is sent according to the determination result.
[0078] In the method in accordance with the embodiment, the SVLAN allocation request may carry identification information of the nodes required by the current Ethernet service. In addition, in order to improve the correctness of manual allocation of the SVLANs, the method in accordance with the embodiment may further include: verifying the SVLANs allocated by the staff according to the stored nodes and SVLANs.
[0079] For the manual allocation of the SVLANs, the method in accordance with the embodiment may allow the staff to verify the SVLANs which they analyze manually are correct, thereby avoiding a conflict between the SVLANs efficiently and improving the correctness of the manual allocation of the SVLANs.
Embodiment Two
[0080] Based on the allocation method presented in the embodiment, the present embodiment provides a method for establishing an Ethernet service, which, as shown in
[0081] In step 201: after a transmission network bearing the Ethernet service receives an Ethernet service request, the transmission network determines nodes required for establishing the Ethernet service by the transmission network.
[0082] In the step the nodes are determined by routing computation.
[0083] In step 202: the transmission network sends a SVLAN allocation request according to the determination result.
[0084] For example, a SVLAN allocation request carrying the identification information of the determined nodes is generated.
[0085] In step 203: a SVLAN is allocated to the Ethernet service required to be established using the SVLAN allocation method described in the embodiment one and is sent to the transmission network.
[0086] In step 204: the nodes determined by the transmission network establish the Ethernet service and configure the allocated SVLAN to a physical device bearing the Ethernet service.
[0087] The method for establishing the Ethernet service in accordance with the embodiment may include specifically: when the Ethernet service is established automatically, after receiving the Ethernet service request, the transmission network bearing the Ethernet service performs routing computation to determine UNI-N nodes establishing the Ethernet service in the transmission network, then sending the SVLAN allocation request to a SVLAN allocation apparatus, which allocates a SVLAN which is not used on all of the UNI-N nodes, and configures the SVLAN to a physical device when the Ethernet service is established on each of the UNI-N nodes.
[0088] It can be known from the above that the method for establishing the Ethernet service in accordance with the embodiment uses the allocation method described in the embodiment one to allocate the SVLANs, such that the efficiency of the establishment of the Ethernet service may be improved and the normal transmission of the service may be ensured, thereby improving automation level of the establishment of the Ethernet service.
Embodiment Three
[0089] As shown in
[0090] The storing module 301 is configured to pre-store nodes in a transmission network bearing the Ethernet service and SVLANs which have been used on the nodes.
[0091] The acquiring module 302 is configured to, after receiving a SVLAN allocation request, automatically acquire SVLANs which have been used on nodes required for establishing the Ethernet service by the transmission network according to the stored nodes and SVLANs,.
[0092] The allocating module 302 is configured to allocate, according to the acquired SVLANs which have been used on the nodes required for establishing the Ethernet service by the transmission network, a SVLAN which is not used by all of the nodes required for establishing the Ethernet service, to the Ethernet service.
[0093] The allocation apparatus in accordance with the embodiment may allocate the SVLANs automatically, thereby implementing automation of the allocation of the SVLANs and improving the efficiency of the allocation of the SVLANs. Additionally, using the allocation apparatus in accordance with the embodiment may also improve the efficiency of the establishment of the Ethernet service and ensure the normal transmission of the Ethernet service.
[0094] In an exemplary embodiment, the acquiring module 302 described in the embodiment is configured to:
[0095] determine the nodes required for establishing the Ethernet service by the transmission network according to the SVLAN allocation request; and
[0096] automatically acquire, from the stored nodes and SVLANs, the SVLANs which have been used on the nodes required for establishing the Ethernet service by the transmission network.
[0097] Specifically, the SVLAN allocation request described in the embodiment includes:
[0098] a SVLAN allocation request generated according to the nodes required for establishing the Ethernet service by the transmission network, selected by a user; and
[0099] a SVLAN allocation request generated according to the determined nodes required for establishing the Ethernet service by the transmission network.
[0100] In order to improve the accuracy of the allocation of the SVLANs, it is necessary to update the stored data timely. Thus, as shown in
[0101] The updating module 304 is configured to, when the Ethernet service is established or the Ethernet service is deleted, update the SVLANs or a set of SVLANs which have been used on the corresponding nodes of the Ethernet service.
[0102] As shown in
[0103] The verifying module 305 is configured to verify the SVLANs allocated by the staff according to the nodes and SVLANs stored by the storing module.
Embodiment Four
[0104] As shown in
[0105] The transmission network unit is configured to, after receiving an Ethernet service request, determine nodes required for establishing the Ethernet service by the transmission network, and send a SVLAN allocation request to the SVLAN allocation apparatus according to the determination result.
[0106] The transmission network unit is configured to, after receiving the Ethernet service request, determine the nodes required for it to establish the Ethernet service, and send a SVLAN allocation request to the SVLAN allocation apparatus according to the determination result.
[0107] The SVLAN allocation apparatus is configure to allocate a SVLAN to the Ethernet service required to be established and send the allocated SVLAN to the transmission network unit.
[0108] The nodes determined by the transmission network unit are configured to establish the Ethernet service and configure the allocated SVLAN to a physical device bearing the Ethernet service.
[0109] The system for establishing the Ethernet service provided by the embodiment may improve the efficiency of the establishment of the Ethernet service and ensure the normal transmission of the service, thereby improving automation level of the establishment of the Ethernet service.
Embodiment Five
[0110] An embodiment presents one type of the allocation apparatus described in the embodiment two. Specifically, the allocation apparatus is applied in a process of establishing an Ethernet service point-to-point EVC automatically, which, as shown in
[0111] In step 701: a source UNI-N node receives an RSVP signaling PATH message for requesting to establish an Ethernet service, performs routing computation, and requests a SVLAN from a SVLAN allocation apparatus after a sink UNI-N node is determined.
[0112] In step 702: the SVLAN allocation apparatus finds a SVLAN which is not used on both the source and sink UNI-N nodes according to the method described above and returns the SVLAN to the source UNI-N node.
[0113] In step 703: a service of a service layer of a network is established through the RSVP signaling from the source UNI-N node to the sink UNI-N node.
[0114] In step 704: after the service of the service layer is established, the source UNI-N node performs Ethernet cross setting, and configures the SVLAN to a physical device bearing the service. Since the step 704 takes place on the source UNI-N node, it is not easy to be marked in
[0115] In step 705: the source UNI-N node establishes the Ethernet service to the sink NUI-N node through the RSVP signaling, the allocated SVLAN may be carried to the sink UNI-N node through the signaling or may be query the SVLAN allocated to the service from the SVLAN allocation apparatus at the sink UNI-N node through an Ethernet service call identifier.
[0116] In step 706: the sink UNI-N node performs the Ethernet cross setting and configures the SVLAN to the physical device bearing the service.
[0117] In step 707: the sink UNI-N node establishes the Ethernet service to the sink NUI-C node through the RSVP signaling to complete the establishment of the whole Ethernet service.
[0118] An embodiment of the present invention further discloses a computer program including program instructions, which, when executed by a computer, cause the computer to perform the SVLAN allocation method described above.
[0119] An embodiment of the present invention further discloses a carrier loaded with the computer program described above.
[0120] An embodiment of the present invention further discloses a computer program includes program instructions, which, when executed by a computer, cause the computer to perform the method for establishing an Ethernet service described above.
[0121] An embodiment of the present invention further discloses a carrier loaded with the computer program described above.
[0122] The content described above is a description made in further detail to the present invention in conjunction with the specific embodiments, and it is should not be assumed that the specific embodiments of the present invention are limited thereto. Some simple inferences or substitutions, which may be made by those ordinarily skilled in the art, to which the present invention belongs, on the premise of without departing from the idea of the present invention, should be regarded as belonging to the protection scope of the present invention.
INDUSTRIAL APPLICABILITY
[0123] The method for allocating SVLANs in accordance with the present invention can solve the problems of low efficiency of the current method for allocating the SVLANs manually and the requirement for automatic service establishment cannot be met. Therefore, the present invention has very strong industrial applicability.