CN109787849B - O L T logic network testing method - Google Patents

O L T logic network testing method Download PDF

Info

Publication number
CN109787849B
CN109787849B CN201711104168.7A CN201711104168A CN109787849B CN 109787849 B CN109787849 B CN 109787849B CN 201711104168 A CN201711104168 A CN 201711104168A CN 109787849 B CN109787849 B CN 109787849B
Authority
CN
China
Prior art keywords
identifier
identification
network
service flow
network slice
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
CN201711104168.7A
Other languages
Chinese (zh)
Other versions
CN109787849A (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.)
State Grid Liaoning Electric Power Co Ltd
China Academy of Information and Communications Technology CAICT
Beijing Guodiantong Network Technology Co Ltd
Original Assignee
State Grid Liaoning Electric Power Co Ltd
China Academy of Information and Communications Technology CAICT
Beijing Guodiantong Network Technology 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 State Grid Liaoning Electric Power Co Ltd, China Academy of Information and Communications Technology CAICT, Beijing Guodiantong Network Technology Co Ltd filed Critical State Grid Liaoning Electric Power Co Ltd
Priority to CN201711104168.7A priority Critical patent/CN109787849B/en
Publication of CN109787849A publication Critical patent/CN109787849A/en
Application granted granted Critical
Publication of CN109787849B publication Critical patent/CN109787849B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application provides an O L T logic network testing method which comprises the steps that a first device sends a service flow to an ONU, when the O L T device receives the service flow sent by the ONU in any network slice, the service flow carries a first identification and a second identification, and the service flow is sent to a second device, wherein the first identification comprises an ONU identification, the second identification is a globally unique network slice user identification distributed for each network slice, when the second device receives the service flow sent by the O L T, the first identification and the second identification carried in the service flow are obtained, whether the first identification and the second identification correspond to each other is determined according to the corresponding relation of the first identification and the second identification, if yes, the network slice is determined to realize isolation, otherwise, the network slice is determined not to realize isolation.

Description

O L T logic network testing method
Technical Field
The invention relates to the technical field of communication, in particular to a method for testing an optical line terminal (O L T) logic network.
Background
With the scale construction of the optical fiber broadband access network, the broadband access network gradually evolves to a full-service access bearer network for bearing various service types such as home users, government and enterprise private lines, mobile base station backhaul and the like. The broadband access network supports differentiated services for different clients and different types of services during full-service operation, provides an independent and isolated service forwarding function and an equipment management function, and avoids resource competition and occupation caused by resource coupling in different service operations.
Therefore, from the perspective of better adapting to more complicated application scenarios in the future, the future network architecture must require the opening and standardization of a network capability interface, and the scheduling and customization of network resources and capabilities for service-oriented services are realized through a software defined network technology, and meanwhile, the network programming capability is provided for further accelerating the platform of the network capability, and the deep opening of the network service is really realized.
Referring to fig. 1, fig. 1 is a schematic diagram of a conventional network slice for implementing O L T, in fig. 1, a single physical O L T device can be logically divided into multiple network slices by using a network slice technology, and independent isolation and differentiated setting of service resources, service planning, service operation, service maintenance and slice management among the network slices are implemented, so that the use efficiency of the device is improved.
The network slice is implemented by a programmable technology, for example, an OpenFlow flow table is used to implement data flow forwarding between logical interfaces. Programmable technology improves the flexibility of the device, but this approach relies on manual configuration, which may cause confusion in the data flow of each network slice if the configuration is wrong or the chip fails. Therefore, it is important to verify the isolation between independent network slices, so as to ensure the security of different clients and different kinds of services.
In the existing implementation, a technical scheme capable of effectively verifying whether each network slice realizes isolation is not provided yet.
Disclosure of Invention
In view of this, the present application provides a method for testing an O L T logic network, which can effectively determine whether each network slice implements isolation.
In order to solve the technical problem, the technical scheme of the application is realized as follows:
a method for testing an O L T logic network, the method comprising:
the first equipment sends a service stream to the ONU;
when receiving a service flow sent by an ONU in any network slice, the O L T equipment carries a first identifier and a second identifier in the service flow and sends the service flow to second equipment, wherein the first identifier comprises the ONU identifier;
and when receiving the service flow sent by O L T, the second device obtains the first identifier and the second identifier carried in the service flow, and determines whether the obtained first identifier and the obtained second identifier correspond to each other according to the configured corresponding relationship between the first identifier and the second identifier, if so, the network slice is determined to realize isolation, otherwise, the network slice is determined not to realize isolation.
According to the technical scheme, the first service identification and the second service identification are marked on the O L T, whether the identification carried by the corresponding service flow received by the connection port of the O L T is matched with the corresponding relation between the configured first identification and the configured second identification is checked, and whether the isolation of each network slice is realized is determined.
Drawings
FIG. 1 is a schematic diagram of a network slice of a conventional implementation of O L T;
FIG. 2 is a system for testing an O L T logic network according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a test flow of an O L T logic network according to an embodiment of the present invention;
FIG. 4 is a diagram of the frame format of Option 82;
FIG. 5 is a schematic diagram of Sub-Option format in Option 82;
FIG. 6 is a schematic structural diagram of sub-option in the embodiment of the present application;
fig. 7 is a schematic diagram illustrating a testing process of an O L T logic network according to a second embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly apparent, the technical solutions of the present invention are described in detail below with reference to the accompanying drawings and examples.
The application provides a method for testing an O L T logic network, which is characterized in that a first service identifier and a second service identifier are marked on service flow information on O L T, whether the identifier carried by the corresponding service flow received by an upper port of O L T is matched with the corresponding relation between the configured first identifier and the configured second identifier is checked, and whether each network slice is isolated or not is determined.
Referring to fig. 2, a network system applied in the embodiment of the present application is shown in fig. 2, where fig. 2 is an O L T logic network test system in the embodiment of the present application, in fig. 2, a first device user sends data, and a second device is used to receive the data, and in a specific implementation, the first device and the second device may be a data network analyzer, or may be a device capable of receiving, sending, and analyzing the data, and the first device and the second device may be integrated into one device or may be implemented independently as two devices.
In fig. 2, three O L T devices are virtualized for O L T devices, and three Network slices are divided, where the division of Network slices can be implemented according to the existing implementation manner, such as logging in an EMS client, opening a Network slice management view on a Network slice management interface, creating a Network slice 1, a Network slice 2, and a Network slice 3, and adding Optical Network Units (ONUs) under the Network slices, respectively, where each Network slice includes one or more ONUs.
The O L T device configures a globally unique network slice identification for each network slice, with the scope shown as virtual domain 1, virtual domain 2, and virtual domain 3 in fig. 2 being one network slice.
And configuring the corresponding relation between the first identifier and the second identifier of each network slice on the second device, namely which first identifier corresponds to which second identifier.
In a specific implementation of the present application, the first identifier may only include an ONU identifier, or may also include an ONU identifier, an O L T device identifier, a slot number, a Passive Optical Network (PON) port number, and the like.
The O L T logic network test procedure in the embodiment of the present application is described in detail below with reference to the accompanying drawings.
Example one
Referring to fig. 3, fig. 3 is a schematic diagram of a testing process of an O L T logic network according to an embodiment of the present application, and the specific steps are as follows:
step 301, the first device sends a traffic stream to the ONU.
Step 302, when the O L T device receives a service flow sent by an ONU in any network slice, the service flow carries the first identifier and the second identifier, and sends the service flow to the second device.
When receiving a service stream sent by an ONU, the O L T device performs related processing according to the existing implementation, including carrying a first identifier, and what needs to be added in the application is to carry a second identifier while carrying the first identifier.
Wherein the second identifier is a globally unique network slice user identifier assigned to each network slice.
In a specific implementation of the present application, the second identifier is carried in a field of a user access line (port) identifier.
When the second identifier is carried in the field of the subscriber access line identifier, the second identifier may be carried in the field of option82, or may be carried in the field of PPPoE, which is not limited to this.
In the embodiment of the present application, the field in option82 is implemented as an example:
option82 of Dynamic Host Configuration Protocol (DHCP) is a field applied to a subscriber access line (port) identifier, which can be used to identify the physical location information of a subscriber accessing the internet. And the fault can be tracked and judged according to the user name, the IP address, the port number and the like carried by the Option 82. The frame format of Option82 is shown in fig. 4, and fig. 4 is a schematic diagram of the frame format of Option 82.
The frame format of Option82 conforms to the specification of RFC 3046. Wherein, the Code: the sequence number indicating the relay agent information option, rfc3046 is defined as 82.
L en is the number of bytes of the Agent Information Field (Agent Information Field), excluding the two bytes of the Code and L en fields.
The Option82 may be composed of a plurality of sub-options, and each Option82 has at least one sub-Option. Referring to FIG. 5, FIG. 5 is a schematic diagram of the Sub-Option format in Option 82.
In fig. 5, the content of Sub0pt indicates the Sub-option number.
The sub-option Value indicates the corresponding field identification.
The row standard YD/T2275 & lt & ltidentification of broadband user access line (port) required by access network technology & gt defines 5 sub-options aiming at the Option82 identification, and can realize identification of information such as O L T equipment identification, slot position number, PON port number, ONU identification and the like of each user.
During specific implementation of the embodiment of the application, the O L T DHCP relay agent Option82 function is activated, and two implementation modes are provided for the second identifier carried in Option 82:
one is to add a sub-option to the option82 of the DHCP protocol for carrying the second identifier.
For the implementation manner, a sub-option can be added in addition to the sub-option used by the protocol to carry the second identifier.
Referring to fig. 6, fig. 6 is a schematic structural diagram of sub-option increase in the embodiment of the present application. The content of Sub0pt in fig. 6 is denoted by i, and it is shown that a sequence number other than 1-5 specified by the protocol can be used.
One is to add a field to the existing sub-option in the option82 of the DHCP protocol for carrying the second identifier.
Step 303, when the second device receives the service flow sent by the O L T through the O L T uplink port, the first identifier and the second identifier carried in the service flow are obtained.
Step 304, the second device determines whether the obtained first identifier and the second identifier correspond to each other according to the configured corresponding relationship between the first identifier and the second identifier, and if so, executes step 305; otherwise, step 306 is performed.
Step 305, the second device determines that the network slice implements isolation.
In step 306, the second device determines that the network slice does not achieve isolation.
In the specific implementation of the present application, the service flow received and sent may be implemented using a DHCP session request.
Whether the network slice is isolated or not is automatically judged during specific implementation, and in specific application, whether the network slice is isolated or not can be artificially judged after the first identification and the second identification are obtained.
Example two
Referring to fig. 7, fig. 7 is a schematic diagram of a testing process of an O L T logic network according to the second embodiment of the present application, and the specific steps are as follows:
step 701, the second device determines to obtain the correspondence between the first identifier and the second identifier according to the configured correspondence between the first identifier and the second identifier, and accumulates the number of times of isolation.
The initial value of the isolation times is set to 0, and the integration of the isolation times can be realized by the way of accumulation, namely 1 is added each time.
Step 702, the second device determines whether the accumulated isolation times are greater than a preset threshold value, and if so, executes step 703; otherwise, step 704 is performed.
In step 703, the second device determines that the network slice implements isolation.
Step 704, the second device continues to wait for receiving the service flow until the accumulated isolation times is greater than a preset threshold value, and determines that the network slice realizes isolation; or determining that the first identifier and the second identifier do not correspond to each other according to the configured corresponding relationship between the first identifier and the second identifier, and further determining that the network slice does not realize isolation.
In this embodiment, a preset threshold is set, so that when the number of times that each network slice implements isolation reaches the preset threshold, it is determined that the network slice actually implements network isolation, so as to avoid accidental implementation.
The above test is performed for each network slice, and all network slices can be tested simultaneously, one by one, or several first tests are selected, so long as the test is performed for all network slices.
And when the second device determines that all the network slices corresponding to the O L T device are isolated, determining that the O L T device system is isolated.
In summary, the first service identifier and the second service identifier are marked on the O L T, and whether the identifier carried by the corresponding service flow received at the O L T is matched with the corresponding relationship between the configured first identifier and the configured second identifier is checked to determine whether each network slice is isolated.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (9)

1. An optical network terminal O L T logic network testing method is characterized in that the method comprises the following steps:
the first equipment sends a service stream to the ONU;
when receiving a service flow sent by an ONU in any network slice, the O L T equipment carries a first identifier and a second identifier in the service flow and sends the service flow to second equipment, wherein the first identifier comprises the ONU identifier;
when the second device receives a service flow sent by O L T, the first identifier and the second identifier carried in the service flow are obtained, whether the obtained first identifier and the obtained second identifier correspond to each other is determined according to the corresponding relation of the configured first identifier and the configured second identifier, if so, the network slice is determined to realize isolation, otherwise, the network slice is not realized isolation;
wherein the O L T device is logically divided into a plurality of network slices.
2. The method of claim 1, wherein the second identity is carried in a field of a subscriber access line identity.
3. The method of claim 2, wherein the second identifier is carried in a field of a subscriber access line identifier, comprising:
and adding a sub-option in the option82 of the dynamic host configuration protocol DHCP protocol for carrying a second identifier.
4. The method of claim 2, wherein the second identifier is carried in a field of a subscriber access line identifier, comprising:
a field is added in the existing sub-option in option82 of the DHCP protocol for carrying the second identifier.
5. The method of claim 1, wherein the first identifier further comprises an O L T device identifier, a slot number, and a Passive Optical Network (PON) port number.
6. The method of claim 1, further comprising:
according to the configured corresponding relation between the first identification and the second identification, accumulating the isolation times when the first identification and the second identification are obtained to correspond;
determining whether the accumulated isolation times are greater than a preset threshold value, and if so, determining that the network slice realizes isolation; otherwise, continuing to wait for receiving the service flow until the accumulated isolation times is greater than a preset threshold value, or determining that the obtained first identifier and the second identifier are not corresponding according to the configured corresponding relationship of the first identifier and the second identifier.
7. The method according to any one of claims 1-6, wherein the method further comprises:
and when the second device determines that all the network slices corresponding to the O L T device are isolated, determining that the O L T device system is isolated.
8. The method according to any one of claims 1 to 6,
the first device and the second device are one device, or two devices.
9. The method according to any of claims 1-6, wherein the traffic flow is a DHCP session request.
CN201711104168.7A 2017-11-10 2017-11-10 O L T logic network testing method Active CN109787849B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711104168.7A CN109787849B (en) 2017-11-10 2017-11-10 O L T logic network testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711104168.7A CN109787849B (en) 2017-11-10 2017-11-10 O L T logic network testing method

Publications (2)

Publication Number Publication Date
CN109787849A CN109787849A (en) 2019-05-21
CN109787849B true CN109787849B (en) 2020-08-07

Family

ID=66485612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711104168.7A Active CN109787849B (en) 2017-11-10 2017-11-10 O L T logic network testing method

Country Status (1)

Country Link
CN (1) CN109787849B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266594B (en) * 2019-06-28 2021-07-30 Ut斯达康通讯有限公司 Cross-network-slice segmented routing forwarding method and device
CN112770336B (en) * 2019-10-21 2023-04-25 中移(成都)信息通信科技有限公司 Equipment testing method and system
CN112770196A (en) * 2019-10-21 2021-05-07 中兴通讯股份有限公司 Virtualization method and device
CN110753277B (en) * 2019-10-24 2022-01-04 烽火通信科技股份有限公司 Method and system for configuration management in OLT network slice
CN112688801B (en) * 2020-12-14 2022-09-02 宁波华讯通信服务有限公司 Local area network construction method, device and system based on PON (Passive optical network)
CN113676940B (en) * 2021-08-05 2023-12-26 国网浙江省电力有限公司电力科学研究院 Isolation test method and isolation test system for 5G power grid slicing
CN113453099B (en) * 2021-09-01 2021-12-24 武汉长光科技有限公司 Multicast configuration method, system, device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043294A (en) * 2007-03-15 2007-09-26 华为技术有限公司 Slicing method for data frames and optical network unit
CN103428012A (en) * 2012-05-17 2013-12-04 中兴通讯股份有限公司 Configuration method and network element management system of passive optical network service
CN105898894A (en) * 2016-05-13 2016-08-24 华为技术有限公司 Method and device for controlling RRC state
WO2016188187A1 (en) * 2015-05-25 2016-12-01 中兴通讯股份有限公司 Testing method and device for passive optical network alarm
CN106550410A (en) * 2015-09-17 2017-03-29 华为技术有限公司 A kind of communication control method and controller, user equipment, function example
WO2017080518A1 (en) * 2015-11-13 2017-05-18 Huawei Technologies Co., Ltd. System and methods for network management and orchestration for network slicing
CN106972946A (en) * 2017-02-10 2017-07-21 广东东研网络科技股份有限公司 WiFi ONU automatic configuration WAN method and application

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043294A (en) * 2007-03-15 2007-09-26 华为技术有限公司 Slicing method for data frames and optical network unit
CN103428012A (en) * 2012-05-17 2013-12-04 中兴通讯股份有限公司 Configuration method and network element management system of passive optical network service
WO2016188187A1 (en) * 2015-05-25 2016-12-01 中兴通讯股份有限公司 Testing method and device for passive optical network alarm
CN106550410A (en) * 2015-09-17 2017-03-29 华为技术有限公司 A kind of communication control method and controller, user equipment, function example
WO2017080518A1 (en) * 2015-11-13 2017-05-18 Huawei Technologies Co., Ltd. System and methods for network management and orchestration for network slicing
CN105898894A (en) * 2016-05-13 2016-08-24 华为技术有限公司 Method and device for controlling RRC state
CN106972946A (en) * 2017-02-10 2017-07-21 广东东研网络科技股份有限公司 WiFi ONU automatic configuration WAN method and application

Also Published As

Publication number Publication date
CN109787849A (en) 2019-05-21

Similar Documents

Publication Publication Date Title
CN109787849B (en) O L T logic network testing method
EP3826359A1 (en) Radio access network information processing method and device, network element, and storage medium
CN112910677A (en) Management method, unit and system of network slice template
US11310318B2 (en) Method and apparatus for zero-touch bulk identity assignment, provisioning and network slice orchestration for massive IoT (MIoT) deployments
CN110326345B (en) Method, device and system for configuring network slice
CN114070723B (en) Virtual network configuration method and system of bare metal server and intelligent network card
US11057283B2 (en) Service creation within a telecommunications network in order to provide automated communication services to client devices being connected to the telecommunications network
US20180262463A1 (en) Method and systems for associating subscriber identification information with a subscriber-side network termination identifier
CN112135293B (en) Method for accessing mobile core network through fixed access equipment
CN107613471A (en) A kind of WIFI hot spot information-pushing method, method of reseptance and device
CN106161171B (en) Method and device for establishing network service instance
CN103138978A (en) Network management method and network management system
KR20160111668A (en) Method and apparatus for generating packet
US9900804B2 (en) Method and device for processing to share network resources, and method, device and system for sharing network resources
US8990941B2 (en) Apparatus for detecting and controlling infected mobile terminal
EP1906588A1 (en) A method system and apparatus for relating the information associated with user in nass
US20220183089A1 (en) Functional part selection in a disaggregated base station
CN109196895B (en) Message transmission method, device and system
CN109547287B (en) Bandwidth testing method and device and storage medium
US10694380B2 (en) Subscriber identity element for authenticating a communication device to a communication network
US8107943B2 (en) Method for providing device IDs in a mobile radio device which identify said mobile radio device in a mobile radio network
CN113098834B (en) Access control method, device, equipment and system
CN115086276B (en) Address management method, device, equipment and system
EP3633946B1 (en) Method and systems for associating subscriber identification information with a residential gateway identifier
US20210159981A1 (en) Assignment and/or installation of cable modem devices to be used with a hybrid fiber coaxial network part of a broadband access network

Legal Events

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