CN111082860A - Testing method, server, system and storage medium of optical distribution node - Google Patents
Testing method, server, system and storage medium of optical distribution node Download PDFInfo
- Publication number
- CN111082860A CN111082860A CN201811217136.2A CN201811217136A CN111082860A CN 111082860 A CN111082860 A CN 111082860A CN 201811217136 A CN201811217136 A CN 201811217136A CN 111082860 A CN111082860 A CN 111082860A
- Authority
- CN
- China
- Prior art keywords
- onu
- olt
- test
- request
- ems
- 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.)
- Withdrawn
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 344
- 230000003287 optical effect Effects 0.000 title claims abstract description 263
- 238000000034 method Methods 0.000 claims abstract description 70
- 238000010998 test method Methods 0.000 claims abstract description 8
- 238000012217 deletion Methods 0.000 claims description 13
- 230000037430 deletion Effects 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 12
- 238000012790 confirmation Methods 0.000 claims description 10
- 238000004891 communication Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000002159 abnormal effect Effects 0.000 description 5
- 238000001514 detection method Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 239000000835 fiber Substances 0.000 description 3
- 238000011144 upstream manufacturing Methods 0.000 description 3
- 239000000306 component Substances 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000004931 aggregating effect Effects 0.000 description 1
- 239000008358 core component Substances 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
- H04B10/075—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
- H04B10/079—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
- H04B10/0795—Performance monitoring; Measurement of transmission parameters
- H04B10/07955—Monitoring or measuring power
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
- H04B10/075—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
- H04B10/075—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
- H04B10/079—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/27—Arrangements for networking
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Optical Communication System (AREA)
- Small-Scale Networks (AREA)
Abstract
The embodiment of the invention discloses a test method, a server, a system and a storage medium of an optical distribution node, wherein the method comprises the following steps: when determining that an Optical Network Unit (ONU) completes registration at an Optical Line Terminal (OLT), sending an acquisition request to an Element Management System (EMS); receiving a target acquisition parameter obtained by the EMS based on the acquisition request, wherein the target acquisition parameter at least comprises an optical power value; and obtaining a test result according to the target acquisition parameters. By the scheme of the embodiment of the invention, the test efficiency of the optical distribution node can be effectively improved.
Description
Technical Field
The present invention relates to optical communication technologies, and in particular, to a method, a server, a system, and a storage medium for testing an optical distribution node.
Background
With The large-scale application of Fiber To The Home (FTTH), The Passive Optical Network (PON) is also becoming larger and larger, and therefore, operators need To deploy a large number of PON Optical Distribution Nodes (ODNs).
In order to ensure the service quality, operators usually require a strict test on the PON ODN, and the conventional test scheme is as follows: the test engineer carries the optical power meter to test the ODN to be tested, verifies whether the optical power of the optical power meter receiving the ODN is normal or not, and then records the test data and the test result in a paper table or an electronic table. Because the test engineer is required to manually record the test data, the workload of the test engineer is increased, and the test efficiency is further reduced.
Disclosure of Invention
In view of this, embodiments of the present invention are intended to provide a method, a server, a system, and a storage medium for testing an optical distribution node, which can effectively improve the testing efficiency of the optical distribution node.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for testing an optical distribution node, where the method includes:
when determining that the ONU completes registration at an Optical Line Terminal (OLT), sending an acquisition request to an Element Management System (EMS);
receiving a target acquisition parameter obtained by the EMS based on the acquisition request, wherein the target acquisition parameter at least comprises an optical power value;
and obtaining a test result according to the target acquisition parameters.
In the above-mentioned scheme, the first step of the method,
the target acquisition parameters further comprise distance information between the OLT and the ONU; the obtaining of the test result according to the target acquisition parameter includes:
generating a test result according to the optical power value and the distance information between the OLT and the ONU;
or, the target acquisition parameter further includes address information of the ONU; the obtaining of the test result according to the target acquisition parameter includes:
and generating a test result according to the optical power value and the address information of the ONU.
In the foregoing solution, before determining that the ONU completes registration at the OLT, the method further includes:
receiving a test request sent by a client, wherein the test request carries the serial number of the ONU;
when the ONU is determined not to be registered, acquiring the corresponding equipment information of the OLT based on the serial number;
sending a registration request to add the ONU to the EMS; the target receiving end of the registration request of the ONU is the OLT, and is used for indicating the OLT to configure registration parameters for the ONU;
and after receiving the confirmation information of the EMS responding to the registration request for adding the ONU, determining that the ONU is successfully registered.
In the above scheme, the test request further carries address information of the client; the obtaining of the test result according to the target acquisition parameter includes:
and generating a test result according to the optical power value and the address information of the client.
In the above scheme, the test request further carries a port number of an optical splitter, where the optical splitter is used to connect with the ONU; the obtaining of the test result according to the target acquisition parameter includes:
and generating a test result according to the optical power value and the port number of the optical splitter.
In the foregoing solution, after receiving the target acquisition parameter obtained by the EMS based on the acquisition request, the method further includes:
sending a delete instruction to the EMS; and the target receiving end of the deletion instruction is the OLT, and is used for indicating the OLT to delete the registration parameters.
In the foregoing solution, when it is determined that the ONU is not registered, acquiring, based on the serial number, device information of the corresponding OLT includes:
when the ONU is determined to be unregistered, searching a target serial number matched with the serial number in an unregistered list, wherein the unregistered list comprises the serial number of the unregistered ONU and the corresponding equipment information of the OLT;
and determining the equipment information of the OLT corresponding to the target serial number.
In the foregoing solution, before searching for a target serial number in an unregistered list, which is matched with the serial number, when determining that the ONU is unregistered, the method further includes:
receiving a target serial number sent by the EMS and corresponding equipment information of the OLT, wherein the target serial number is the serial number of the unregistered ONU;
and correspondingly forming an unregistered list by the target serial number and the equipment information of the OLT.
In a second aspect, an embodiment of the present invention further provides a server, where the server includes:
the sending module is used for sending an acquisition request to the EMS after the ONU is determined to finish the registration at the OLT;
a receiving module, configured to receive a target acquisition parameter obtained by the EMS based on the acquisition request, where the target acquisition parameter at least includes an optical power value;
and the acquisition module is used for acquiring a test result according to the target acquisition parameters.
In a third aspect, an embodiment of the present invention further provides a server, where the server includes: a processor and a memory for storing a computer program capable of running on the processor,
the processor is configured to implement the method for testing the optical distribution node when running the computer program.
In a fourth aspect, an embodiment of the present invention further provides a test system for an optical distribution node, including a test terminal, an OLT, an EMS, and the server according to any of the foregoing schemes; the test terminal comprises an ONU; wherein,
the test terminal is used for sending a test request to the server;
and the server is used for receiving the test request and judging whether the ONU completes registration at the OLT or not according to the test request before sending an acquisition request to the EMS after the ONU completes registration at the OLT.
In the above-mentioned scheme, the first step of the method,
the test terminal is further configured to send a registration request to the OLT before sending a test request to the server, where the registration request carries a serial number of the ONU;
the OLT is configured to send the ONU registration notification message to the EMS based on the registration request, a destination receiving end of the ONU registration notification message is the server, and the ONU registration notification message carries a serial number of the ONU and device information of the OLT.
In a fifth aspect, an embodiment of the present invention further provides a storage medium, which stores a computer program, and when the computer program is executed by a processor, the method for testing the optical distribution node is implemented.
According to the scheme provided by the embodiment of the invention, after the server determines that the ONU is registered in the OLT, the server sends the acquisition request to the EMS to receive the target acquisition parameters including the optical power value, which are acquired by the EMS based on the acquisition request, and obtains the test result according to the target acquisition parameters. Therefore, compared with the traditional test scheme, the problem that a test engineer manually records test data is avoided, so that the workload of the test engineer is reduced, and the test efficiency is improved.
Drawings
Fig. 1 is a schematic flowchart of a method for testing an optical distribution node according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of another server according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a test system of an optical distribution node according to an embodiment of the present invention;
fig. 5 is a timing diagram of a method for testing an optical distribution node according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
In a conventional test scheme, a test engineer needs to carry an optical power meter to test an ODN to be tested, verify whether the optical power of the optical power meter receiving the ODN is normal, and then record test data and results in a paper table or an electronic table. Because a test engineer is required to manually verify whether the optical power of the ODN is normal or not and manually record a corresponding test result, the workload of the test engineer is increased, and the test efficiency is reduced. In order to solve the problem of low efficiency in the conventional test scheme, an embodiment of the present invention provides a method for testing an optical distribution node, where as shown in fig. 1, the method may include the following steps:
step 101: and when determining that the ONU completes registration in the OLT, sending an acquisition request to the EMS.
Specifically, after determining that the ONU completes registration in the OLT, the server sends an acquisition request carrying a serial number of the ONU to the EMS to instruct the EMS to acquire target acquisition parameters such as an optical power value.
Here, the server may determine whether the ONU completes registration at the OLT according to whether the serial number of the ONU exists in its own registered list, and if the serial number of the ONU exists in the registered list, the server may determine that the ONU completes registration at the OLT. The server can also directly judge whether the ONU completes registration at the OLT according to whether a successful message of adding registration to the ONU by the OLT sent by the EMS is received, and if the server receives the successful message of adding registration to the ONU by the OLT sent by the EMS, the server can determine that the ONU completes registration at the OLT. The target receiving end of the acquisition request is the OLT, and therefore, after receiving the acquisition request, the EMS forwards the acquisition request to the target receiving end OLT, so that the OLT feeds back corresponding target acquisition parameters to the EMS after receiving the acquisition request. The acquisition request is used for acquiring a target acquisition parameter including an optical power value, wherein the optical power value includes a transceiving optical power value of the ONU. In practical applications, the optical power value may further include a transmitting/receiving optical power value of the OLT.
In an alternative embodiment, step 101: when it is determined that the ONU completes registration at the OLT and before sending the acquisition request to the EMS, the method may further include:
receiving a test request sent by a client, wherein the test request carries the serial number of the ONU;
when the ONU is determined not to be registered, acquiring the corresponding equipment information of the OLT based on the serial number;
sending a registration request to add the ONU to the EMS; the target receiving end of the registration request of the ONU is the OLT, and is used for indicating the OLT to configure registration parameters for the ONU;
and after receiving the confirmation information of the EMS responding to the registration request for adding the ONU, determining that the ONU is successfully registered.
Specifically, after the ONU is connected to the optical splitter interface and a tester correspondingly starts a client, the server receives a test request which is sent by the client and carries a serial number of the ONU, judges whether the ONU is registered according to the serial number in the test request, and acquires equipment information of the OLT corresponding to the serial number when the ONU is determined not to be registered; then, the server sends a registration request carrying the serial number of the ONU and adding the ONU to the EMS, so that the EMS receives the registration request adding the ONU and forwards the registration request to the OLT, so that the OLT adds the serial number of the ONU to the OLT and configures other related parameters, for example, configures related parameters such as a mapping relationship between the serial number of the ONU and an Internet Protocol (IP) address of the OLT, a chassis number, a slot number, and a PON port number; after adding the serial number of the ONU in the registration request, the OLT sends a piece of confirmation information responding to the registration request to the EMS; after receiving the confirmation information, the EMS forwards the confirmation information to the server, and after receiving the confirmation information, the server determines that the ONU is successfully registered in the OLT.
Here, the server may determine whether the ONU has not been registered in the OLT according to whether the serial number of the ONU exists in an unregistered list of the server, and if the serial number of the ONU exists in the unregistered list, the server may determine that the ONU has not been registered in the OLT.
Therefore, the server can quickly register the ONU which is not registered on the OLT and needs to be tested, so that the normal development of the test work is ensured, and the test efficiency is improved.
In an optional embodiment, the obtaining, based on the serial number, device information of the corresponding OLT when it is determined that the ONU is not registered includes:
and when the ONU is determined to be unregistered, the server searches a target serial number matched with the serial number in an unregistered list and determines the equipment information of the OLT corresponding to the target serial number.
Specifically, when the ONU is determined to be unregistered, the server searches whether a target serial number matching the serial number of the ONU exists in an unregistered list of the server, that is, searches whether the serial number of the ONU exists in the unregistered list, and extracts the device information of the OLT corresponding to the target serial number when the target serial number matching the serial number of the ONU exists in the unregistered list.
It should be noted that, the serial number is a serial number of an ONU carried by a test request sent by a client, and the found target serial number should be the same as the serial number. The unregistered list includes a serial number of the unregistered ONU and device information of the corresponding OLT, which are in one-to-one correspondence, and may be preset in the server and updated according to information received in a subsequent operation.
In an optional embodiment, before searching for a target sequence number in an unregistered list that matches the sequence number when the ONU is determined to be unregistered, the method may further include:
receiving a target serial number sent by the EMS and corresponding equipment information of the OLT, wherein the target serial number is the serial number of the unregistered ONU;
and correspondingly forming an unregistered list by the target serial number and the equipment information of the OLT.
In practical application, when a test engineer accesses an ONU required to be used for testing to an interface of an optical splitter, the ONU sends registration request information carrying a serial number of the ONU to an OLT; then, after receiving registration request information which is sent by an ONU and carries the serial number of the ONU, the OLT judges whether the serial number of the ONU carried in the registration request information is stored in a registered list or an authenticated list set by the OLT, if not, the OLT is determined to be an unregistered ONU, at the moment, the OLT sends information (trap) for indicating that the ONU is unregistered to the EMS, and the EMS forwards the ONU trap information to a server, wherein the ONU trap information carries the serial number of the ONU and the equipment information of the OLT; after receiving the ONU trap message, the server analyzes the ONU trap message to obtain the serial number of the ONU and the equipment information of the OLT, such as the IP address, the frame number, the machine frame number, the slot number, the PON port number and the like of the OLT; then, the server stores the obtained data information into a preset unregistered list, so that when a subsequent client reports the serial number of the ONU, the unregistered list is searched according to the serial number, and data such as an IP address, a chassis number, a slot number, a PON port number, and the like of the corresponding OLT can be obtained. Note that the PON port is a PON board hardware port on the OLT.
Step 102: receiving a target acquisition parameter obtained by the EMS based on the acquisition request, wherein the target acquisition parameter at least comprises an optical power value.
Specifically, after receiving the acquisition request sent by the server in step 101, the EMS sends the acquisition request to the OLT, and after receiving the acquisition request, the OLT obtains target acquisition parameters such as an optical power value based on the acquisition request and sends the obtained target acquisition parameters such as the optical power value to the EMS, and the EMS forwards the target acquisition parameters to the server, and the server obtains the target acquisition parameters including the optical power value.
In practical applications, the optical power value may include a transceiving optical power value of the OLT in addition to the transceiving optical power value of the ONU, and therefore, after receiving the acquisition request, the OLT obtains the optical power value based on the acquisition request, which includes the following two cases:
case 1: and acquiring the receiving and transmitting optical power value of the ONU according to the acquisition request.
The EMS forwards the acquisition request to the OLT, and after the OLT receives the acquisition request sent by the EMS, the optical power value is obtained based on the acquisition request. Since the ONU is registered on the OLT, in the process of optical communication with the OLT, after the OLT receives an acquisition request sent by the EMS, the OLT may obtain optical module Optical Layer Supervisory (OLS) data of the ONU and a corresponding PON port, and analyze the OLS data to obtain a transmitting/receiving optical power value of the ONU; or, the OLT may obtain the transmit-receive optical power value by analyzing data in the ONU transmit-receive data packet; or, the transmitting and receiving optical power value is judged according to the transmitting and receiving optical signal of the ONU. In addition to the above, the present invention may also be obtained by other methods, and the present embodiment is not particularly limited.
It should be noted that the OLS data includes: the ONU may transmit and receive optical power values and the OLT may transmit and receive optical power values, and the ONU and the OLT may have temperatures, bias currents, and bias voltages, that is, the target acquisition parameter may include the ONU may transmit and receive optical power values, the OLT may transmit and receive optical power values, and the ONU and the OLT may have temperatures, bias currents, and bias voltages.
Case 2: and acquiring the receiving and transmitting optical power value of the OLT according to the acquisition request.
The EMS forwards the acquisition request to the OLT, and after the OLT receives the acquisition request sent by the EMS, the optical power value is obtained based on the acquisition request. Since the ONU is registered on the OLT, in the process of performing Optical communication between the OLT and the ONU, when the OLT receives an acquisition request sent by the EMS, the first way is that the OLT may obtain Optical module Optical Layer Supervisory (OLS) data of the ONU and a corresponding PON port, and analyze the OLS data to obtain a transmitting/receiving Optical power value of the OLT; in the second method, the OLT may further analyze a packet sent from the ONU and detect an optical power value when the packet is sent to the ONU, thereby obtaining a transmission/reception optical power value of the ONU. For the two manners of acquiring the optical power, the first manner or the second manner may be selected according to an actual acquisition request, or both the first manner and the second manner may be included, and one of the manners may be selected by setting a priority, for example, the priority set by the first manner is higher than that of the second manner, or the priority set by the second manner is higher than that of the first manner.
The transmitting/receiving optical power value of the OLT is a power value at which the OLT performs optical communication with the ONU that is required to be used for the test by the test engineer.
Step 103: and obtaining a test result according to the target acquisition parameters.
The target acquisition parameters are parameters obtained by testing the optical distribution nodes and can be used for verifying whether the optical power of the optical distribution nodes is normal, so that the test result obtained according to the target acquisition parameters can be used for representing whether the optical power of the optical distribution nodes is normal. It should be noted that, after obtaining the test result according to the target acquisition parameter, the server may also send the test result to the client, so that the user can obtain the test result.
The method for testing an optical distribution node provided in the foregoing embodiment may be applied to a server, and after the server determines that the ONU completes registration in the OLT, the server sends an acquisition request to the EMS to receive target acquisition parameters including an optical power value, which are obtained by the EMS based on the acquisition request, and obtains a test result according to the target acquisition parameters. Therefore, compared with the traditional test scheme, the problem that a test engineer manually records test data is avoided, so that the workload of the test engineer is reduced, and the test efficiency is improved.
In an alternative embodiment, step 102: after receiving the target acquisition parameters obtained by the EMS based on the acquisition request, the method may further include: sending a delete instruction to the EMS; and the target receiving end of the deletion instruction is the OLT, and is used for indicating the OLT to delete the registration parameters.
Specifically, after target acquisition parameters including the optical power value are acquired, the server sends a deletion instruction to the EMS, the EMS sends the deletion instruction to a target receiving end, namely the OLT, and the OLT deletes the registration parameters of the ONU after receiving the deletion instruction, so that the performance overhead of the OLT is reduced.
In another optional embodiment, the target acquisition parameter further includes distance information between the OLT and the ONU; step 103: obtaining a test result according to the target acquisition parameters, comprising: and generating a test result according to the optical power value and the distance information between the OLT and the ONU. It should be noted that the distance information is acquired by the OLT, and the OLT sends the acquired distance information to the EMS, and then the EMS sends the acquired distance information to the server.
Here, the generating of the test result according to the optical power value and the distance information between the OLT and the ONU includes: judging whether the optical power value meets a set power threshold range or not, obtaining a judgment result, and generating a test result containing distance information between the OLT and the ONU according to the judgment result; or, judging whether the optical power value meets a set power threshold range, obtaining a judgment result, detecting whether distance information between the OLT and the ONU and distance information between the OLT and an optical splitter connected with the ONU meet a set condition, obtaining a detection result, and generating a test result according to the judgment result and the detection result. For example, when determining whether the optical power value satisfies the set power threshold range, generating a test result including the optical power value and the distance information between the OLT and the ONU, so as to ensure that the measured optical power value is an effective value, and it can be determined that the correspondingly obtained optical power value is a measured value rather than artificial fictional data through the distance information between the OLT and the ONU; or, when determining whether the optical power value satisfies a set power threshold range and the distance information between the OLT and the ONU and the distance information between the OLT and the optical splitter connected to the ONU satisfy a set condition, generating a test result including the optical power value, the distance information between the OLT and the ONU and the distance information between the OLT and the optical splitter connected to the ONU, so as to ensure that the measured optical power value is an effective value, and it is possible to determine, through the distance information between the OLT and the ONU and the distance information between the OLT and the optical splitter connected to the ONU, that the corresponding obtained optical power value is a measured value instead of artificially fictive data.
Here, the optical power value of the ONU is different from the power threshold range corresponding to the optical power value of the OLT, the transmission optical power value of the ONU is different from the power threshold range corresponding to the reception optical power value, and the transmission optical power value of the OLT is different from the power threshold range corresponding to the reception optical power value. For example, the power threshold range corresponding to the transmitting optical power of the ONU may be 4 decibels (db) to-1 db, and the power threshold range corresponding to the receiving optical power of the ONU may be-8 db to-24 db; the power threshold range corresponding to the transmitting optical power of the OLT can be 2db to 7db, the power threshold range corresponding to the receiving optical power of the OLT can be-6 db to-27 db, and accordingly, when the test data falls within the value range of the power threshold, the test data is shown to meet the communication requirement, otherwise, the test data is not met. It should be noted that, the value range of the power threshold is only an example, and includes but is not limited to the value range, and in the actual application process, the value range may be set according to the actual situation.
Since the optical power value may include a transmitting/receiving optical power value of the ONU and a transmitting/receiving optical power value of the OLT, the determining whether the optical power value satisfies the set power threshold range may be divided into the following two cases:
case a: and judging whether the transmitting and receiving optical power value of the ONU meets the set power threshold range.
Here, the ONU may transmit and receive optical power values including: therefore, the server judges whether the transmitting optical power value of the ONU and the receiving optical power value of the ONU meet the preset power threshold range or not. Here, it is not assumed that the transmitting optical power value of the ONU is 3db, the receiving optical power value is-10 db, and the corresponding transmitting and receiving optical power threshold ranges are respectively 4db to-1 db, -8db to-24 db, so it is obvious that both the transmitting and receiving optical power values of the ONU meet the requirement of the power threshold range, and the ODN at the point is determined to be normal, and a test result including the test data and determining that the ODN is normal is generated.
Here, it is no longer assumed that the sending optical power value of the ONU is-2 db, the receiving optical power value of the ONU is-30 db, and the corresponding sending and receiving optical power threshold ranges are respectively 4db to-1 db, -8db to-24 db, so it is obvious that the sending and receiving optical power values of the ONU do not meet the requirement of the power threshold range, and the ODN at that point is determined to be abnormal, and a test result including test data and determining that the ODN is abnormal is generated.
Therefore, according to the technical scheme of the embodiment of the invention, after the ONU is registered in the OLT, the server can acquire the optical power value, judge whether the optical power value meets the set power threshold range or not, and generate the test result according to the judgment result. Therefore, the server can realize the ODN test at the point according to the obtained optical power value, the problems that corresponding test data need to be recorded manually and whether the ODN fails or not is judged according to the test data in the traditional scheme are solved, and the test efficiency is improved.
Case b: and judging whether the transmitting and receiving optical power value of the OLT meets a set power threshold range.
Here, the OLT may include: therefore, the server determines whether the transmitting optical power value of the OLT and the receiving optical power value of the OLT satisfy a preset power threshold range. It is not assumed that the transmitting optical power value of the OLT is 3db, the receiving optical power value is-10 db, and the corresponding transmitting and receiving optical power threshold ranges are 2db to 7db, -6db to-27 db, respectively, so it is obvious that both the transmitting and receiving optical power values of the OLT meet the requirement of the power threshold range, the ODN at the point is determined to be normal, and a test result including test data and determining that the ODN is normal is generated.
Here, it is not assumed that the transmitting optical power value of the OLT is 0db, the receiving optical power value is-30 db, and the corresponding transmitting and receiving optical power threshold ranges are 2db to 7db, -6db to-27 db, so that it is obvious that the transmitting and receiving optical power values of the OLT do not meet the requirement of the power threshold range, and the ODN at the point is determined to be abnormal, and a test result including test data and determining the ODN abnormality is generated.
Here, the manner in which the OLT acquires the distance information is: 1) the OLT sends a request message to the ONU and records the time t 1; the ONU feeds back a piece of information to the OLT immediately after receiving the request information, the OLT records time t2 after receiving the information, and the distance s between the OLT and the ONU is c (t2-t1)/2, wherein c is the speed of light; or 2) the ONU transmits a piece of information to the OLT, the information is recorded at the transmission time t3, and the OLT receives the information and then records the reception time t4, so that the distance s between the OLT and the ONU is c (t4-t 3).
The distance information between the OLT and the optical splitter connected to the ONU is known, and the detection of whether the distance information between the OLT and the ONU and the distance information between the OLT and the optical splitter connected to the ONU satisfy the setting condition may be to compare the distance information between the OLT and the ONU with the known distance information between the OLT and the optical splitter connected to the ONU, and if the two distances are equal (or within a specified error range), the test data is real data, and if the two distances are not equal (or exceed the specified error range), the test data is dummy data, so that it is determined whether the test data is real test data.
Therefore, whether the distance information and the distance information between the OLT and the optical splitter connected with the ONU meet the set conditions or not is judged according to the distance information between the ONU and the OLT contained in the target acquisition parameters, and whether the test data obtained by a test engineer is real test data or not can be judged, so that the problem of fictional test data in the test process is avoided, and the accuracy of the test data is further improved.
In an optional embodiment, the target acquisition parameter further includes address information of the ONU; the obtaining of the test result according to the target acquisition parameter includes: and generating a test result according to the optical power value and the address information of the ONU.
Here, the generating of the test result according to the optical power value and the address information of the ONU includes: and judging whether the optical power value meets a set power threshold range or not, obtaining a judgment result, and generating a test result containing the address information of the ONU according to the judgment result.
In the practical application process, the ONU may obtain address information of the ONU through a built-in Positioning service such as a beidou navigation Satellite System (BDS) or a Global Positioning System (GPS), and send the address information to the server through the OLT and the EMS, and the server receives the address information of the ONU reported by the ONU. Therefore, when the test result carries the address information of the ONU, the actual collection place of the test data can be known according to the address information of the ONU, so that it can be determined whether the test engineer performs the field test.
Because the generated test result contains the address information of the ONU, whether the test data obtained by the test engineer is the test data of the target test point is judged through the address information of the ONU, thereby avoiding the problem of fictitious test data in the test process and further improving the accuracy of the test data.
In an optional embodiment, in order to avoid fictitious test data that may exist in a known manual acquisition scheme, the accuracy of the test data is improved, and the test request also carries address information of the client; the obtaining of the test result according to the target acquisition parameter includes: and generating a test result according to the optical power value and the address information of the client.
Here, the generating of the test result according to the optical power value and the address information of the client includes: judging whether the optical power value meets a set power threshold range or not, obtaining a judgment result, and generating a test result containing address information of the client according to the judgment result; or, judging whether the optical power value meets a set power threshold range, obtaining a judgment result, detecting whether the address information of the client is the same as the set expected address information of the client, obtaining a detection result, and generating a test result according to the judgment result and the detection result. Since the ONU connected to the client usually accesses the splitter, the set desired address information of the client can be set as the address information of the splitter. Since the OLT is usually located at a short distance from the client and both are considered to be located at the same position, the set desired address information of the client may be set as the address information of the OLT.
In an actual application process, the server may receive address information reported by the client, where the client obtains the address information by calling a Positioning service, such as a BeiDou Navigation Satellite System (BDS) or a Global Positioning System (GPS), and sends the address information to the server through the test request. And after judging whether the light power value meets the set power threshold range, the server adds the obtained address information of the client to the test result in the process of generating the test result. Because both the OLT and the optical splitter have address information, if the test result contains the address information of the client, the address information of the client in the test result is compared with the address information of the OLT or the optical splitter, whether the test engineer carries out field test or not is judged, and whether the test data is real test data or not is judged.
The generated test result contains the address information of the client, and whether the test data obtained by the test engineer is the test data of the target test point is judged through the address information of the client, so that the problem of fictitious test data in the test process is avoided, and the accuracy of the test data is further improved.
In an optional embodiment, in order to avoid that a test engineer records an optical splitter connected to an ONU with an error in a test process, which causes errors in test data and a test result, in order to solve the above problem, the test request further carries a port number of the optical splitter, and the optical splitter is used for being connected to the ONU; step 103: obtaining a test result according to the target acquisition parameters, comprising: and generating a test result according to the optical power value and the port number of the optical splitter.
Here, the generating of the test result according to the optical power value and the port number of the optical splitter includes: and judging whether the optical power value meets a set power threshold range or not, obtaining a judgment result, and generating a test result containing the port number of the optical splitter according to the judgment result. And after judging whether the light power value meets the set power threshold range or not, the server adds the port number of the optical splitter connected with the ONU into the test result in the process of generating the test result. For example, if the optical splitter includes a port a and a port B, the port a corresponds to an optical fiber link a, and the port B corresponds to an optical fiber link B, then if the connection port a is tested, the tested data is abnormal; when the port B is connected, the tested data is normal, if the port of the optical splitter is recorded incorrectly, for example, the port a with abnormal data is recorded as the port B with normal data, so that the test result is incorrect. The port number of the optical splitter connected with the ONU is added to the test result, so that the problem can be effectively avoided.
Because the generated test result contains the port number of the optical splitter connected with the ONU, the problem of error of the test result caused by error of manually recording the port number in the test process is avoided, and the accuracy of the test data and the test result is improved.
According to the optical distribution node testing method provided by the embodiment of the invention, when the server judges that the ONU is registered in the OLT, the server can automatically acquire target acquisition parameters such as an optical power value and the like, and a test result containing test data is generated. Therefore, compared with the traditional test scheme, the technical scheme of the embodiment of the invention avoids the problems of manually recording test data and manually analyzing the test result by a test engineer, thereby reducing the workload of the test engineer and improving the test efficiency; in addition, because a test engineer does not need to record test data manually, the problem of fictitious test data is avoided, and the accuracy of the test data is improved.
In order to implement the foregoing method, an embodiment of the present invention provides a server, as shown in fig. 2, where the server includes:
a sending module 201, configured to send an acquisition request to the EMS after determining that the ONU completes registration in the OLT;
a receiving module 202, configured to receive a target acquisition parameter obtained by the EMS based on the obtaining request, where the target acquisition parameter at least includes an optical power value;
and the obtaining module 203 is configured to obtain a test result according to the target acquisition parameter.
In the server provided in the foregoing embodiment, after the sending module 201 determines that the ONU completes the registration in the OLT, the receiving module 202 receives a target acquisition parameter including an optical power value, which is obtained by the EMS based on the acquisition request, by sending the acquisition request to the EMS, and the obtaining module 203 obtains a test result according to the target acquisition parameter. Therefore, compared with the traditional test scheme, the problem that a test engineer manually records test data is avoided, so that the workload of the test engineer is reduced, and the test efficiency is improved.
In an optional embodiment, the target acquisition parameter further includes distance information between the OLT and the ONU; the obtaining module 203 is specifically configured to: generating a test result according to the optical power value and the distance information between the OLT and the ONU;
or, the target acquisition parameter further includes address information of the ONU; the obtaining module 203 is specifically configured to: and generating a test result according to the optical power value and the address information of the ONU.
Therefore, whether the test data obtained by the test engineer is real test data can be judged according to the distance information between the ONU and the OLT or the address information of the ONU, which is contained in the target acquisition parameters, so that the problem of fictitious test data in the test process is avoided, and the accuracy of the test data is further improved.
In an optional embodiment, the server further comprises: a determination module 204; wherein,
the receiving module 202 is further configured to receive a test request sent by a client, where the test request carries a serial number of the ONU;
the obtaining module 203 is further configured to, when it is determined that the ONU is not registered, obtain, based on the serial number, device information of the corresponding OLT;
the sending module 201 is further configured to send a registration request for adding the ONU to the EMS; the target receiving end of the registration request of the ONU is the OLT, and is used for indicating the OLT to configure registration parameters for the ONU;
a determining module 204, configured to determine that the ONU registration is successful after receiving the acknowledgment message that the EMS responds to the registration request for adding the ONU.
Therefore, the server can quickly register the ONU which is not registered on the OLT and needs to be tested, so that the normal development of the test work is ensured, and the test efficiency is improved.
In an optional embodiment, the test request further carries address information of the client; the obtaining module 203 is specifically configured to: and generating a test result according to the optical power value and the address information of the client.
The generated test result contains the address information of the client, and whether the test data obtained by the test engineer is the test data of the target test point is judged through the address information of the client, so that the problem of fictitious test data in the test process is avoided, and the accuracy of the test data is further improved.
In an optional embodiment, the test request further carries a port number of an optical splitter, where the optical splitter is used to connect to the ONU; the obtaining module 203 is specifically configured to: and generating a test result according to the optical power value and the port number of the optical splitter.
Because the generated test result contains the port number of the optical splitter connected with the ONU, the problem of error of the test result caused by error of manually recording the port number in the test process is avoided, and the accuracy of the test data and the test result is improved.
In an optional embodiment, the sending module 201 is further configured to:
sending a delete instruction to the EMS; and the target receiving end of the deletion instruction is the OLT, and is used for indicating the OLT to delete the registration parameters.
Therefore, after the target acquisition parameters including the optical power value are acquired, the registration parameters of the OLT are deleted in time, and the performance overhead of the OLT can be reduced.
In an optional embodiment, the obtaining module 203 is specifically configured to:
when the ONU is determined to be unregistered, searching a target serial number matched with the serial number in an unregistered list, wherein the unregistered list comprises the unregistered ONU serial number and the corresponding equipment information of the OLT;
determining the equipment information of the OLT corresponding to the target serial number
In an optional embodiment, the server further comprises: forming a module 205; wherein,
the receiving module 202 is further configured to: receiving a target serial number sent by the EMS and corresponding equipment information of the OLT, wherein the target serial number is the unregistered ONU serial number;
a forming module 205, configured to form an unregistered list by associating the target serial number with the device information of the OLT.
Referring to fig. 3, an optional structural schematic diagram of a server according to an embodiment of the present invention is provided, where the structure may include: at least one processor 310, memory 320, and at least one network interface 330. The various components in server 300 are coupled together by a bus system 340. It will be appreciated that the bus system 340 is used to effect connections between these components-the communication bus system 340 includes a power bus, a control bus, and a status signal bus, in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 340 in fig. 3.
Where the memory 320 may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory, embodiments of the present invention describe memory 320 intended to include, without limitation, these and any other suitable types of memory.
The memory 320 in embodiments of the present invention is used to store various types of data to support the operation of the server. Examples of such data include: any computer program for operating on a server, such as an operating system 321 and application programs 322.
The operating system 321 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application program 322 may include various application programs, and a program for implementing the test method for the optical distribution node according to the embodiment of the present invention may be included in the application program 322 as a functional module, or may be provided as an application program specifically used for the test method for the optical distribution node.
The method for testing the optical distribution node provided by the embodiment of the present invention may be applied to the processor 310, or implemented by the processor 310, implemented in a pure hardware-based manner, or implemented in a manner of combining software and hardware.
For a purely hardware embodiment, the processor 310 may be an integrated circuit chip having signal processing capabilities. In an implementation process, each step of the test method for the optical distribution node provided in the embodiment of the present invention may be completed by an Integrated Logic Circuit of hardware in the processor 310, for example, in an exemplary embodiment, the server may be implemented by a hardware decoding processor built in the server, for implementing the test method for the optical distribution node provided in the embodiment of the present invention, for example, an Application Specific Integrated Circuit (ASIC), a Complex Programmable Logic Device (CPLD), a Field Programmable Gate Array (FPGA), and the like.
For the embodiment combining software and hardware, the processor 310 may be a general-purpose processor and a software module. The software module may be located in a storage medium located in the memory 320, where the storage medium stores a computer program capable of running on the processor 310, and the processor 310, when reading and running the computer program in the memory 320, performs the method for testing the optical distribution node according to the embodiment of the present invention.
Referring to fig. 4, a schematic structural diagram of a test system of an optical distribution node according to an embodiment of the present invention is shown, where the system may include: a server 401, a test terminal 402, an Optical splitter 403, an Optical Line Terminal (OLT) 404, and an Element Management System (EMS) 405; the test terminal 402 includes a mobile terminal 4020 and an Optical Network Unit (ONU) 4021. Wherein,
the server 401 establishes communication connection with the EMS405 and the test terminal 402 to implement the test of the ODN.
The mobile terminal 4020 is installed with an Application program (APP) for testing an ODN, which is used to implement the method for testing an optical distribution node according to the embodiment of the present invention, and the APP may also be referred to as a client. The mobile terminal 4020 may include a mobile phone terminal, a tablet computer, a notebook computer, and the like.
The ONU4021 includes an active ONU and a passive ONU, where the passive ONU, i.e. a passive ONU device, and the active ONU, i.e. an active ONU device, are all user side devices in the PON network. The ONU4021 may provide services such as data, Internet Protocol Television (IPTV), and voice to a user.
It should be noted that, in the embodiment of the present invention, the mobile terminal 4020 and the ONU4021 are used as tools for testing optical distribution nodes, and may also be two separate devices; the ONU4021 and the mobile terminal 4020 may be integrated devices, that is, the ONU4021 and the mobile terminal 4020 may be integrated into one test terminal 402, and the test terminal 402 may implement the functions of the ONU4021 and the mobile terminal 4020 at the same time.
The optical splitter 403, also called an optical splitter, is a passive component for constructing a PON network, and is used to connect the OLT404 and the ONU4021, and its function is to distribute downlink data and collect uplink data, where distributing downlink data refers to: receiving and separating data sent by the OLT404, and respectively sending the separated data to each ONU 4021; centralizing the uplink data means: and receiving and aggregating the data sent by the ONU4021, and sending the aggregated data to the OLT 404.
Here, the optical splitter 403 has an upstream optical interface and a plurality of downstream optical interfaces, and the optical signal flow direction realized by the optical splitter 403 is as follows: the optical signals from the upstream optical interfaces are distributed to all downstream optical interfaces for transmission, and the optical signals from the downstream optical interfaces are distributed to only one upstream optical interface for transmission.
The OLT404 is a core component of the optical access network, and is configured to provide a fiber interface of a passive fiber network facing a subscriber. The function and role of the OLT404 implemented in the network is similar to that of a switch or router in a conventional communication network, which processes electrical signals, but processes optical signals, but the type of signals processed is different.
The EMS405, which is a system for managing one or more telecommunication Network Elements (NEs) of a specific type, can provide a uniform operation and maintenance function, and can implement end-to-end management and maintenance of devices and networks. Wherein,
the test terminal 402 is configured to send a test request to the server 401; the test request carries a serial number of the ONU 1021;
the server 401 is configured to receive the test request, determine whether the ONU completes registration at the OLT404 according to the test request, and send an acquisition request to the EMS405 when it is determined that the ONU4021 completes registration at the OLT 404; and receiving a target acquisition parameter obtained by the EMS405 based on the acquisition request, the target acquisition parameter including at least an optical power value.
In the optical distribution node testing system provided in the embodiment of the present invention, after the server 401 determines that the ONU4021 completes registration in the OLT404, the server 401 can automatically acquire target acquisition parameters such as an optical power value through the EMS405, and acquire a test result according to the target acquisition parameters. Therefore, compared with the traditional test scheme, the technical scheme of the embodiment of the invention avoids the problem that a test engineer manually records test data, thereby reducing the workload of the test engineer and improving the test efficiency.
In an alternative embodiment of the method according to the invention,
the server 401 is further configured to determine whether the optical power value meets a set power threshold, generate a test result according to the determination result, and send the test result to the test terminal 402.
In this way, after acquiring the optical power value, the server 401 can determine whether the optical power value satisfies the set power threshold range, and generate a test result according to the determination result. Therefore, the server 401 can implement the test of the ODN at this point according to the obtained optical power value, thereby avoiding the problem that the conventional scheme needs to manually record corresponding test data and judge whether the ODN fails according to the test data, and improving the test efficiency.
In an alternative embodiment of the method according to the invention,
the test terminal 402 is further configured to send a registration request to the OLT404 before sending a test request to the server 401, where the registration request carries the serial number of the ONU 4021;
the OLT404 is configured to send the ONU4021 registration notification message to the EMS405 based on the registration request, where a destination receiving end of the ONU4021 registration notification message is the server 404, and the ONU4021 registration notification message carries the serial number of the ONU4021 and the device information of the OLT 404;
the server 401 is further configured to determine that the ONU4021 is unregistered based on the ONU4021 registration notification message.
Here, the ONU registration notification message may be unregistered ONU alert (trap) information.
In an alternative embodiment of the method according to the invention,
the server 401 is further configured to, when it is determined that the ONU4021 is unregistered in the OLT404, obtain, based on the serial number, device information of the corresponding OLT 404; and sending a registration request to add the ONU4021 to the EMS 405; the destination receiving end of the registration request for adding the ONU4021 is the OLT404, and is configured to instruct the OLT404 to configure registration parameters for the ONU 4021;
the EMS405 is further configured to receive the registration request for adding the ONU4021, and send the registration request for adding the ONU4021 to the OLT 404;
the OLT404 is further configured to configure registration parameters for the ONU4021 according to the registration request for adding the ONU4021, and send confirmation information of the registration request for adding the ONU4021 to the EMS 405;
the server 401 is further configured to determine that the ONU4021 is successfully registered after receiving the acknowledgment information of the registration request for adding the ONU4021, which is sent by the EMS 405.
In an optional embodiment, the server 401 is specifically configured to:
when the ONU4021 is determined to be unregistered, searching a target serial number matched with the serial number in an unregistered list, wherein the unregistered list comprises the serial number of the unregistered ONU4021 and corresponding equipment information of the OLT 404;
determining the device information of the OLT404 corresponding to the target serial number.
In an optional embodiment, the server 401 is further configured to receive a target serial number sent by the EMS405 and corresponding device information of the OLT404, where the target serial number is a serial number of an unregistered ONU 4021;
and forming an unregistered list by corresponding the target serial number and the equipment information of the OLT 404.
In an alternative embodiment of the method according to the invention,
the server 401 is further configured to send a delete instruction to the EMS 405; the destination receiving end of the deletion instruction is the OLT404, and is configured to instruct the OLT404 to delete the registration parameter;
the EMS405 is further configured to send the delete instruction to the OLT404 after receiving the delete instruction;
the OLT404 is further configured to delete the registration parameter configured for the ONU4021 after receiving the deletion instruction.
In an optional embodiment, the target acquisition parameters further include distance information between the OLT404 and the ONU 4021; the server 401 is specifically configured to: generating a test result according to the optical power value and the distance information between the OLT404 and the ONU 4021;
or, the target acquisition parameter further includes address information of the ONU 4021; the server 401 is specifically configured to: and generating a test result according to the optical power value and the address information of the ONU 4021.
As can be seen from the above, according to the distance information between the ONU4021 and the OLT404 or the address information of the ONU4021 included in the target acquisition parameters, it can be determined whether the test data obtained by the test engineer is real test data, so that the problem of fictitious test data in the test process is avoided, and the accuracy of the test data is further improved.
In an optional embodiment, the test request further carries address information of the test terminal; the server 401 is specifically configured to: and generating a test result according to the optical power value and the address information of the test terminal.
The generated test result contains the address information of the test terminal, and whether the test data obtained by the test engineer is the test data of the target test point is judged through the address information of the test terminal, so that the problem of fictitious test data in the test process is avoided, and the accuracy of the test data is further improved.
In an optional embodiment, the test request further carries a port number of an optical splitter 403, where the optical splitter 403 is configured to connect with the ONU 4021; the server 401 is specifically configured to: and generating a test result according to the optical power value and the port number of the optical splitter.
Because the generated test result contains the port number of the optical splitter connected with the ONU, the problem of error of the test result caused by error of manually recording the port number in the test process is avoided, and the accuracy of the test data and the test result is improved.
To better describe the implementation process of the test method for the optical distribution node provided in the embodiment of the present invention, please refer to fig. 5, which provides a timing chart of the method for implementing the test method for the optical distribution node by using a test system for the optical distribution node, where the test system includes a server, a client, an ONU, an optical splitter, an OLT, and an EMS, and the client and the ONU may form an integral portable device or two separate portable devices, which is convenient for a test engineer to carry. The method can comprise the following steps:
step 501: and the ONU is connected to a port of the optical splitter and is started up.
Here, the test engineer carries the ONU and the terminal device to the test site, connects the ONU to the port of the optical splitter, and turns on the power supply of the ONU. The terminal device may be a mobile phone terminal, a tablet computer, a notebook computer, or the like, and is equipped with a client for testing the ODN, which implements the method for testing the optical distribution node provided in the embodiment of the present invention.
Step 502: the ONU initiates a registration request to the OLT.
Step 503: OLT sends message of unregistered ONU trap to EMS; after receiving the registration request, the OLT finds that the ONU is an unauthenticated ONU, and sends an unregistered ONU trap message to the EMS.
Step 504: the EMS forwards the unregistered ONU trap message to the server.
Step 505: the server stores the unregistered ONU information; the server analyzes the ONU trap message to obtain the serial number of the ONU and the device information of the OLT corresponding to the ONU, such as the IP, the chassis number, the machine frame number, the slot number, and the PON port number of the OLT, and stores these data.
In addition, the ONU trap message may also carry address information of the ONU, and when the server parses the ONU trap message, the address information of the ONU may be obtained and stored in addition to the above information, so that when a test result is generated, the address information of the ONU is added to the test result.
Step 506: a test engineer starts a test; the test engineer initiates the test through the client.
Step 507: and the client reads the address information.
In addition, the client can prompt a test engineer to input information such as the ID, the port number, the name and the like of the optical splitter to be tested.
Step 508: the client starts a test; and after receiving a test starting instruction of the test engineering, the client sends a test request for starting the optical power to the server.
Here, the test request carries the following information: address information of the client, serial number of the ONU, and information such as ID, port number, and name of the splitter.
Step 509: and the server stores the serial number of the ONU, the address information of the client, the ID, the port number, the name and other information of the optical splitter to be tested.
Step 510: the server finds the ONU in the unregistered ONUs to obtain the information of the OLT and the PON ports; the server obtains the equipment information of the OLT corresponding to the target serial number, such as the IP, the frame number, the machine frame number, the slot number, the PON port number and the like of the OLT according to the serial number reported by the client and the target serial number of the ONU matched in the unregistered list.
Because the serial numbers of the ONUs stored in the unregistered list are many, the overhead of the server can be reduced by a serial number searching mode reported by the client. Therefore, in step 510, the target serial number matched in the unregistered list is obtained through the serial number reported by the client, and further the device information of the corresponding OLT is obtained, so as to complete the registration of the ONU.
Step 511: the method comprises the steps that a server sends a registration request for adding an ONU to an EMS; the ONU is the ONU corresponding to the target serial number searched in the unregistered list.
Step 512: the EMS sends a registration request to add the ONU to the OLT.
Step 513: OLT sends successful message of registration to EMS; after adding the ONU, the OLT sends a message of successful registration to the EMS.
Here, the OLT may also send a message that the registration is successful to the ONU, that is, after the OLT adds the ONU, the OLT sends a message that the registration is successful to the ONU.
Step 514: and the EMS returns confirmation information used for representing the successful addition of the ONU.
Step 515: the server delays and waits for the ONU to register successfully; and delaying a period of time after the server receives the confirmation message returned by the EMS to ensure that the ONU is successfully registered.
Step 516: the server sends an acquisition request to the EMS.
The acquisition request is mainly used for acquiring the optical power value, and in addition, the acquisition request can also be used for acquiring the temperature, the bias current, the bias voltage and the distance information of the ONU and the OLT. The data is used for testing the ODN, wherein the optical power value includes a transmitting/receiving optical power value of the ONU and a transmitting/receiving optical power value of the OLT. The distance information is used for representing the distance between the OLT and the ONU.
In an actual application process, the Optical power value, the temperature, the bias current, and the bias voltage include Optical Layer Supervisory (OLS) data of Optical modules at the ONU and the corresponding PON port, and thus, the data for the ODN test may be obtained by obtaining and analyzing the OLS data.
517: the EMS forwards the received fetch request to the OLT.
Step 518: the OLT transmits the OLS data and the distance information to the EMS.
The OLT reads the OLS data of the ONU and the optical module of the corresponding PON port and reads the distance information between the ONU and the OLT.
Step 519: the EMS transmits the OLS data and the distance information to the server.
Step 520: the server sends an instruction to the EMS to delete the ONU.
Step 521: EMS sends command of deleting ONU to OLT; the EMS sends the command of deleting the ONU to the OLT, and the OLT completes the deletion of the ONU.
Here, after the OLT completes the deletion of the ONU, a message indicating that the deletion is successful may be sent to the EMS.
Step 522: the EMS returns a result of successful deletion.
Step 523: the server analyzes the data to obtain and store a test result; and the server compares the transmitting and receiving optical power of the ONU with a set power threshold value to obtain a test result and stores the test result.
Wherein, the test result includes: and the conclusion whether the test is passed or not, PON port information, optical splitter information, address information, distance information between the ONU and the OLT, ONU received optical power and the like of the OLT.
Step 524: and the server sends the test result to the client.
An embodiment of the present invention further provides a storage medium, which stores a computer program, where the computer program is used, when executed by a processor, to implement a method for testing an optical distribution node according to any embodiment of the present invention, for example, a method for testing an optical distribution node according to the embodiment shown in fig. 1 and fig. 5; storage media includes volatile Random Access Memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), Digital Versatile Disks (DVD), or other media that can be accessed.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present invention are included in the protection scope of the present invention.
Claims (13)
1. A method for testing an optical distribution node, comprising:
when determining that the optical network unit ONU completes registration at an optical line terminal OLT, sending an acquisition request to an element management system EMS;
receiving a target acquisition parameter obtained by the EMS based on the acquisition request, wherein the target acquisition parameter at least comprises an optical power value;
and obtaining a test result according to the target acquisition parameters.
2. The method of claim 1,
the target acquisition parameters further comprise distance information between the OLT and the ONU; the obtaining of the test result according to the target acquisition parameter includes:
generating a test result according to the optical power value and the distance information between the OLT and the ONU;
or, the target acquisition parameter further includes address information of the ONU; the obtaining of the test result according to the target acquisition parameter includes:
and generating a test result according to the optical power value and the address information of the ONU.
3. The method of claim 1, wherein before determining that the ONU completes the registration at the OLT, the method further comprises:
receiving a test request sent by a client, wherein the test request carries a serial number of the ONU;
when the ONU is determined not to be registered, acquiring the corresponding equipment information of the OLT based on the serial number;
sending a registration request to add the ONU to the EMS; the target receiving end of the registration request of the ONU is the OLT, and is used for indicating the OLT to configure registration parameters for the ONU;
and after receiving the confirmation information of the EMS responding to the registration request for adding the ONU, determining that the ONU is successfully registered.
4. The method of claim 3, wherein the test request further carries address information of the client; the obtaining of the test result according to the target acquisition parameter includes:
and generating a test result according to the optical power value and the address information of the client.
5. The method according to claim 3, wherein the test request further carries a port number of an optical splitter, the optical splitter being configured to connect to the ONU; the obtaining of the test result according to the target acquisition parameter includes:
and generating a test result according to the optical power value and the port number of the optical splitter.
6. The method of claim 3, wherein after receiving the target acquisition parameters obtained by the EMS based on the acquisition request, further comprising:
sending a delete instruction to the EMS; and the target receiving end of the deletion instruction is the OLT, and is used for indicating the OLT to delete the registration parameters.
7. The method of claim 3, wherein when it is determined that the ONU is not registered, acquiring device information of the corresponding OLT based on the serial number comprises:
when the ONU is determined to be unregistered, searching a target serial number matched with the serial number in an unregistered list, wherein the unregistered list comprises the serial number of the unregistered ONU and the corresponding equipment information of the OLT;
and determining the equipment information of the OLT corresponding to the target serial number.
8. The method of claim 7, wherein before looking up a target sequence number in an unregistered list that matches the sequence number when the ONU is determined to be unregistered, the method further comprises:
receiving a target serial number sent by the EMS and corresponding equipment information of the OLT, wherein the target serial number is the serial number of the unregistered ONU;
and correspondingly forming an unregistered list by the target serial number and the equipment information of the OLT.
9. A server, comprising:
the sending module is used for sending an acquisition request to the EMS after the ONU is determined to finish the registration at the OLT;
a receiving module, configured to receive a target acquisition parameter obtained by the EMS based on the acquisition request, where the target acquisition parameter at least includes an optical power value;
and the acquisition module is used for acquiring a test result according to the target acquisition parameters.
10. A server, comprising: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to implement the method for testing the optical distribution node according to any one of claims 1 to 8 when running the computer program.
11. A test system of an optical distribution node, comprising a test terminal, an OLT, an EMS and a server according to claim 9 or 10; the test terminal comprises an ONU, wherein,
the test terminal is used for sending a test request to the server;
and the server is used for receiving the test request and judging whether the ONU completes registration at the OLT or not according to the test request before sending an acquisition request to the EMS after the ONU completes registration at the OLT.
12. The system of claim 11,
the test terminal is further configured to send a registration request to the OLT before sending a test request to the server, where the registration request carries a serial number of the ONU;
the OLT is configured to send the ONU registration notification message to the EMS based on the registration request, a destination receiving end of the ONU registration notification message is the server, and the ONU registration notification message carries a serial number of the ONU and device information of the OLT.
13. A storage medium storing a computer program which, when executed by a processor, implements a method of testing an optical distribution node according to any one of claims 1 to 8.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811217136.2A CN111082860A (en) | 2018-10-18 | 2018-10-18 | Testing method, server, system and storage medium of optical distribution node |
PCT/CN2019/111918 WO2020078458A1 (en) | 2018-10-18 | 2019-10-18 | Test method for optical distribution node, server, system, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811217136.2A CN111082860A (en) | 2018-10-18 | 2018-10-18 | Testing method, server, system and storage medium of optical distribution node |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111082860A true CN111082860A (en) | 2020-04-28 |
Family
ID=70283717
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811217136.2A Withdrawn CN111082860A (en) | 2018-10-18 | 2018-10-18 | Testing method, server, system and storage medium of optical distribution node |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111082860A (en) |
WO (1) | WO2020078458A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112291340A (en) * | 2020-10-28 | 2021-01-29 | 武汉绿色网络信息服务有限责任公司 | Service distribution method, controller and virtual network element |
CN113747272A (en) * | 2020-05-28 | 2021-12-03 | 华为技术有限公司 | Method and device for detecting faults of optical distribution network |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101023606A (en) * | 2004-06-30 | 2007-08-22 | 西门子公司 | Method and apparatus for obtaining an optical power level in a PON |
CN102386974A (en) * | 2011-12-13 | 2012-03-21 | 中国电信股份有限公司 | PON (passive optical network) network fault detection method and device |
CN104753586A (en) * | 2013-12-25 | 2015-07-01 | 中国电信股份有限公司 | Method and system for acquiring passive optical network (PON) element information |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201918994U (en) * | 2010-12-01 | 2011-08-03 | 苏州新海宜通信科技股份有限公司 | FTTH (Fiber To The Home) passive optical link monitoring system |
CN102739624B (en) * | 2011-04-15 | 2014-09-10 | 中兴通讯股份有限公司 | Method and system for automatically migrating business of passive optical network unit |
US9577748B2 (en) * | 2012-05-07 | 2017-02-21 | Telefonaktiebolaget L M Ericsson | Monitoring of a passive optical network (PON) |
-
2018
- 2018-10-18 CN CN201811217136.2A patent/CN111082860A/en not_active Withdrawn
-
2019
- 2019-10-18 WO PCT/CN2019/111918 patent/WO2020078458A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101023606A (en) * | 2004-06-30 | 2007-08-22 | 西门子公司 | Method and apparatus for obtaining an optical power level in a PON |
CN102386974A (en) * | 2011-12-13 | 2012-03-21 | 中国电信股份有限公司 | PON (passive optical network) network fault detection method and device |
CN104753586A (en) * | 2013-12-25 | 2015-07-01 | 中国电信股份有限公司 | Method and system for acquiring passive optical network (PON) element information |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113747272A (en) * | 2020-05-28 | 2021-12-03 | 华为技术有限公司 | Method and device for detecting faults of optical distribution network |
CN113747272B (en) * | 2020-05-28 | 2022-12-06 | 华为技术有限公司 | Method and device for detecting faults of optical distribution network |
CN112291340A (en) * | 2020-10-28 | 2021-01-29 | 武汉绿色网络信息服务有限责任公司 | Service distribution method, controller and virtual network element |
CN112291340B (en) * | 2020-10-28 | 2022-06-03 | 武汉绿色网络信息服务有限责任公司 | Service distribution method, controller and virtual network element |
Also Published As
Publication number | Publication date |
---|---|
WO2020078458A1 (en) | 2020-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210051210A1 (en) | Method and device for transmitting data traffic | |
US10103966B2 (en) | Analysis and diagnosis of connectivity in a multi-device network | |
CN105052076B (en) | Network element management system and network element management method based on cloud computing | |
US8976681B2 (en) | Network system, network management server, and OAM test method | |
CN109412951B (en) | Method and device for sending routing information | |
CN106656562A (en) | Method and device for detecting ONU configurations batch-issued by OLT | |
WO2020078458A1 (en) | Test method for optical distribution node, server, system, and storage medium | |
CN113296859B (en) | Page loading method and device, storage medium and electronic device | |
CN113038499A (en) | Terminal Wi-Fi compatibility testing method, device, system, equipment and medium | |
CN1937461B (en) | Terminal test device based on terminal management business | |
CN114050960B (en) | Distributed server cluster node management method and device | |
CN110784510A (en) | Method for accessing target service node to bus and information interaction method of service node | |
CN109428814B (en) | Multicast traffic transmission method, related equipment and computer readable storage medium | |
CN115314336A (en) | User online method of vBRAS and related equipment | |
CN109495178B (en) | Method and device for constructing FTTx network topology link | |
CN103178997A (en) | Same MAC (Media Access Control) address detection method and device based on LLDP (Link Layer Discovery Protocol) | |
CN114157721A (en) | Route distribution method, device, equipment and readable storage medium | |
EP2981024B1 (en) | Method and apparatus for home gateway port configuration | |
CN115150298B (en) | Virtual gateway testing method and device, storage medium and electronic equipment | |
CN102377661A (en) | Blade server and method for building shortest blade transmission path in blade server | |
CN102917065A (en) | Node searching method, cloud computing node and cloud computing management end | |
CN118175464B (en) | FTTR gateway upgrading method, gateway equipment, system and computer readable storage medium | |
CN113794639B (en) | Communication method and device | |
CN114024895B (en) | TR 069-based network route optimization method and system | |
CN114007152B (en) | Port convergence processing method and device for optical fiber switch |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20200428 |
|
WW01 | Invention patent application withdrawn after publication |