CN117792953A - Intercommunication test method and equipment - Google Patents
Intercommunication test method and equipment Download PDFInfo
- Publication number
- CN117792953A CN117792953A CN202211204597.2A CN202211204597A CN117792953A CN 117792953 A CN117792953 A CN 117792953A CN 202211204597 A CN202211204597 A CN 202211204597A CN 117792953 A CN117792953 A CN 117792953A
- Authority
- CN
- China
- Prior art keywords
- service information
- olt
- ont
- configuration file
- service
- 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.)
- Pending
Links
- 238000010998 test method Methods 0.000 title abstract description 5
- 238000012360 testing method Methods 0.000 claims abstract description 78
- 238000000034 method Methods 0.000 claims abstract description 40
- 230000003287 optical effect Effects 0.000 claims description 16
- 230000006855 networking Effects 0.000 abstract description 9
- 238000005516 engineering process Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 19
- 101150013771 olfml3 gene Proteins 0.000 description 12
- 238000004891 communication Methods 0.000 description 7
- 238000004088 simulation Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005070 sampling Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the application provides an intercommunication test method and equipment, which are used for reducing the difficulty and the test cost of the intercommunication test. The method comprises the following steps: the first OLT utilizes an ONT virtualization technology of the OLT, a virtual ONT of the first ONT is simulated in the first OLT, after the configuration of the second configuration file is completed by the first OLT, first service information is issued to the virtual ONT of the first ONT, second service information generated by the virtual ONT of the first ONT is collected, and whether the second configuration file is matched with the first OLT or not is obtained through comparison of the first service information and the second service information, wherein the first service information is service information generated when the first service is operated on the first ONT. The method does not need to simulate actual networking for erection, does not need to judge the result by a tester, and greatly reduces the difficulty and the test cost of intercommunication test.
Description
Technical Field
The embodiment of the application relates to the field of optical communication, in particular to a method and equipment for intercommunication test.
Background
With the broadband going into thousands of households, in order to ensure that an operator does not affect the work of an optical network terminal (optical network terminal, ONT) connected with the optical network terminal (optical line terminal, OLT) when maintaining and upgrading the OLT, a great amount of time and labor are required to be invested for the interworking test between the OLT and the ONT before the operator upgrades the OLT for software or hardware each time, so as to ensure that the OLT is upgraded without causing the compatibility problem with the ONT, and ensure that the service between the current ONT and the OLT can normally run.
In the interworking test between the OLT and the ONT, the operator needs to simulate the networking of the OLT and the ONT in the actual scenario, build the test scenario in the laboratory, and attach the corresponding test equipment, after the test scenario is built, the OLT sends the service configuration in the ONT to the ONT, and uses the test equipment to confirm whether the service configuration in the ONT can normally operate, for example, a voice call test, a personal computer (personal computer, PC) surfing test, and the like.
In order to guarantee the accuracy of the intercommunication test, the OLT and the ONT are required to be completely networked in a laboratory and tested one by one, the implementation difficulty is high, the cost of the intercommunication test is high, and the first difficult problem which needs to be solved by technicians is solved by reducing the test difficulty of the intercommunication test and the test cost of the intercommunication test.
Disclosure of Invention
The embodiment of the application provides an intercommunication test method and equipment, which are used for reducing the difficulty and the test cost of the intercommunication test.
The first aspect of the present application provides a method for interworking test, including: acquiring first service information, wherein the first service information is generated when a first service runs on a first Optical Network Terminal (ONT), and when the first service runs on the first ONT, a configuration file of a first Optical Line Terminal (OLT) is a first configuration file, and the first OLT manages the first ONT; acquiring a second configuration file, wherein the second configuration file is a configuration file of the first OLT; generating second service information according to the second configuration file and the first service information, wherein the second service information is generated when the first service runs on the virtual ONT of the first ONT, and the configuration file of the first OLT is the second configuration file when the first service runs on the virtual ONT of the first ONT; and judging whether the second configuration file is matched with the first OLT or not according to the first service information and the second service information.
In the embodiment of the present application, when the configuration file of the first OLT is the first configuration file, the first OLT obtains first service information generated when the first service is run on the first ONT, obtains a second configuration file, generates second service information according to the second configuration file and the first service information, and determines whether the second configuration file is adapted to the first OLT according to the first service information and the second service information, where the second configuration file is the configuration file of the first OLT. The first OLT utilizes the ONT virtualization technology of the OLT, the first OLT simulates the first ONT to set the virtual ONT of the first ONT, and after the first OLT completes the configuration of the second configuration file, the first service information is issued to the virtual ONT of the first ONT, the second service information generated by the virtual ONT of the first ONT is collected, and whether the second configuration file is matched with the first OLT or not is obtained through the comparison of the first service information and the second service information, so that the actual networking is not required to be simulated for erection, and the judgment of the result is not required by a tester, thereby greatly reducing the difficulty of the intercommunication test and the test cost.
In a possible implementation manner of the first aspect, the determining, according to the first service information and the second service information, whether the second configuration file is adapted to the first OLT includes: judging whether the first service information is the same as the second service information; if the first service information is the same as the second service information, the second configuration file is adapted to the first OLT; and if the first service information is different from the second service information, the second configuration file is not matched with the first OLT.
In the embodiment of the application, the first OLT determines whether the second configuration file is adapted to the first OLT by determining whether the first service information is the same as the second service information, and if the first service information is the same as the second service information, the second configuration file is considered to be adapted to the first OLT; and if the first service information is different from the second service information, the second configuration file is not matched with the first OLT. The method for judging whether the second configuration file is matched with the first OLT or not by judging whether the first service information is the same as the second service information or not does not need to be operated by a tester, so that the time and labor cost of intercommunication test are reduced.
In a possible implementation manner of the first aspect, the method further includes: the first service information is different from the second service information, first warning information is generated, and the first warning information indicates that the first service information is different from the second service information. In the embodiment of the application, when the first service information is different from the second service information, the first warning information is generated, the first warning information indicates that the first service information is different from the second service information, and the first warning information indicating that the first service information is different from the second service information is generated, so that a tester can know the test condition in time, and check the first ONT and the second configuration file with problems in time, thereby improving the efficiency of the intercommunication test.
In a possible implementation manner of the first aspect, the method further includes: the first service information is the same as the second service information, and the first service information and the second service information are stored. In the embodiment of the application, when the first service information and the second service information are the same, the first OLT can also store the first service information and the second service information, so that the test personnel can conveniently check after the completion of the intercommunication test, and the efficiency of the subsequent operation is improved.
In a possible implementation manner of the first aspect, the first ONT includes at least two ONTs. In this embodiment of the application, the first ONT includes at least two ONTs, and the first OLT simulates and interworks the at least two ONTs that it manages to can simulate and interworks the at least two ONTs that it manages in full quantity, the condition that probably appears in the actual network has been accurately simulated, has promoted the accuracy of interworks test.
In a possible implementation manner of the first aspect, the first service of any two ONTs of the at least two ONTs is different, so that the fact that the ONTs with the same service are repeatedly selected as the ONTs with typical characteristics is avoided, the calculation amount of the first OLT is reduced, the test efficiency of the intercommunication test is improved, and the test time of the intercommunication test is reduced.
In a possible implementation manner of the first aspect, the first information of any two ONTs of the at least two ONTs is different, the first information indicating a manufacturer of the at least two ONTs. In this embodiment of the present application, the first information of any two ONTs of the at least two ONTs is different, that is, the manufacturers of any two ONTs are different. The method and the device avoid that a plurality of ONTs of the same manufacturer are repeatedly selected as ONTs with typical characteristics, further reduce the calculated amount of the first OLT, improve the test efficiency of the intercommunication test and reduce the test time of the intercommunication test.
A second aspect of the present application provides a first optical line termination OLT, comprising:
the system comprises an acquisition unit, a first Optical Line Terminal (OLT) and a second OLT, wherein the acquisition unit is used for acquiring first service information, the first service information is generated when a first service runs on a first ONT, the configuration file of the first OLT is a first configuration file when the first service runs on the first ONT, and the first OLT manages the first ONT;
the acquiring unit is further configured to acquire a second configuration file, where the second configuration file is a configuration file of the first OLT;
the generating unit is configured to generate second service information according to the second configuration file and the first service information, where the second service information is service information generated when the first service runs on a virtual ONT of the first ONT, and the configuration file of the first OLT is the second configuration file when the first service runs on the virtual ONT of the first ONT;
and the judging unit is used for judging whether the second configuration file is matched with the first OLT according to the first service information and the second service information.
In a possible implementation manner of the second aspect, the determining unit is specifically configured to:
judging whether the first service information is the same as the second service information;
if the first service information is the same as the second service information, the second configuration file is adapted to the first OLT;
and if the first service information is different from the second service information, the second configuration file is not matched with the first OLT.
In a possible implementation manner of the second aspect, the generating unit is further configured to generate first alert information when the first service information is different from the second service information, where the first alert information indicates that the first service information is different from the second service information.
In a possible implementation manner of the second aspect, the first OLT further includes a saving unit;
the storage unit is configured to store the first service information and the second service information when the first service information is the same as the second service information.
In a possible implementation manner of the second aspect, the first ONT comprises at least two ONTs.
In a possible implementation manner of the second aspect, the first traffic of any two ONTs of the at least two ONTs is different.
In a possible implementation manner of the second aspect, the first information of any two ONTs of the at least two ONTs is different, the first information indicating a manufacturer of the ONT.
A third aspect of the present application provides a first OLT, comprising: a processor and a memory for storing instructions for execution by the processor, which when executed by the processor, perform the method as described in the foregoing first aspect or any of the possible implementation manners of the first aspect.
A fourth aspect of the present application provides a computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect or any one of the possible implementation manners of the first aspect.
Drawings
Fig. 1 is a schematic diagram of an interworking test network according to an embodiment of the present application;
fig. 2 is a schematic flow chart of an interworking test provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a correspondence relationship between a first ONT and a first service provided in an embodiment of the present application;
fig. 4 is a schematic diagram of first service information provided in an embodiment of the present application;
fig. 5a is a schematic diagram of first alert information provided in an embodiment of the present application;
fig. 5b is another schematic diagram of the first alert information provided in the embodiment of the present application;
fig. 6a is another schematic diagram of the first alert information provided in the embodiment of the present application;
fig. 6b is another schematic diagram of the first alert information provided in the embodiment of the present application;
FIG. 7 is a schematic diagram of another flow of the interworking test provided in the embodiments of the present application;
fig. 8 is a schematic structural diagram of a first OLT provided in an embodiment of the present application;
fig. 9 is another schematic structural diagram of the first OLT provided in the embodiment of the present application.
Detailed Description
Embodiments of the present application are described below with reference to the accompanying drawings. As one of ordinary skill in the art can appreciate, with the development of technology and the appearance of new scenes, the technical solutions provided in the embodiments of the present application are applicable to similar technical problems.
The terms first, second and the like in the description and in the claims of the present application and in the above-described figures, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances and are merely illustrative of the manner in which the embodiments of the application described herein have been described for objects of the same nature. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of elements is not necessarily limited to those elements, but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
OLT, as a currently important broadband access device, takes over the work of connecting and managing ONTs of thousands of households. In order to ensure that the operation of the ONT connected with the OLT is not affected when the OLT is maintained and upgraded, a great amount of time and labor are input to carry out the intercommunication test between the OLT and the ONT before the OLT is upgraded by each time, so that the problem of compatibility between the OLT and the ONT is avoided when the OLT is upgraded, and the normal operation of the service between the current ONT and the OLT is ensured.
In the interworking test of the OLT and the ONT, an operator needs to simulate networking of the OLT and the ONT in an actual scenario, build a test scenario in a laboratory, and attach a corresponding test device, after the test scenario is built, the OLT sends service configuration in the ONT to the ONT, and uses the test device to confirm whether the service configuration in the ONT can normally operate, for example, a voice call test, a PC internet test, and the like.
In order to guarantee the accuracy of the intercommunication test, the intercommunication test between the OLT and the ONT in the simulation scene needs to be completely networked in a laboratory, taking fig. 1 as an example, and fig. 1 is a schematic diagram of the intercommunication test networking provided in the embodiment of the present application.
The intercommunication test network comprises an OLT, an ONT1, an ONT2, an ONT3 and test equipment, wherein the OLT is respectively connected with the ONT1, the ONT2 and the ONT3 in a communicable manner, the test equipment is respectively connected with the ONT1, the ONT2 and the ONT3 in a communicable manner, and the test equipment is also connected with the OLT in a communicable manner.
Taking the networking mode shown in fig. 1 as an example, in the interworking test, an operator needs to collect service configurations of the ONT1, the ONT2 and the ONT3 in an actual network scene, send corresponding service configurations to the ONT1, the ONT2 and the ONT3 through the OLT respectively, and connect the ONT1, the ONT2 and the ONT3 through test equipment respectively to confirm whether the service actually carried on the ONT1, the ONT2 and the ONT3 is consistent with the service in the service configurations sent by the OLT, so as to confirm whether the software or hardware to be tested is adapted to the OLT.
In the intercommunication testing method, the requirements on testers are high, and the testers are required to be familiar with various services, and meanwhile, the service configuration problems corresponding to different anomalies can be accurately judged.
Besides, the interworking test method also needs to collect complete actual network scenes and perform analog networking in a laboratory, so that a great deal of manpower and material resources are required to be consumed.
How to reduce the test difficulty of the intercommunication test and the test cost of the intercommunication test becomes the primary problem to be solved by technicians.
According to the ONT virtualization technology based on the OLT, the ONT managed by the OLT is simulated in the OLT, after the OLT upgrades the software, the collected first service information generated when the ONT is actually operated is sent to the ONT managed by the simulated OLT, and the difference between the second service information and the first service information generated after the ONT operates the service information is compared to judge whether the software upgraded by the OLT is matched with the OLT or not, so that the labor cost and the networking setting up cost are reduced, and the testing difficulty and the testing cost of the intercommunication test are reduced.
Based on the above problems and the solutions presented in the present application, the solutions presented in the present application are described below with reference to the accompanying drawings.
In the scheme provided by the application, the ONT managed by the OLT can be subjected to full-scale simulation, the ONT managed by the OLT can also be subjected to feature extraction, and the ONT managed by the OLT can be subjected to sampling simulation according to the features of the ONT, and the description is respectively carried out with reference to the accompanying drawings.
1. The simulation is performed according to the total amount of ONTs managed by the OLT.
Referring to fig. 2, fig. 2 is a schematic flow chart of an interworking test according to an embodiment of the present application.
201. The first OLT acquires first service information;
the first OLT acquires first service information from the first ONT, wherein the first service information is generated when the first service runs on the first ONT, and when the first ONT generates the first service information, the configuration file of the first OLT is the first configuration file, and the first OLT manages the first ONT.
Optionally, the first ONT includes all ONT devices managed by the first OLT.
Optionally, the first service includes at least one of an Internet (Internet) service, a Voice Over Ip (VOIP) service, a PC Internet service, and an interactive Internet television (IPTV) service.
For example, the first ONT includes an ONT1, an ONT2, an ONT3, and an ONT4, and referring to fig. 3, fig. 3 is a schematic diagram of the correspondence between the first ONT and the first service provided in the embodiment of the present application.
As can be seen from fig. 3, the ONT1 is an ONT produced by a manufacturer a, and the corresponding first service is an Internet service;
the ONT produced by ONT2 manufacturer A, the corresponding first service is Internet service and voice service;
ONT produced by ONT3 manufacturer B, the corresponding first service is Internet and IPTV service;
the first services corresponding to the ONT produced by the ONT4 manufacturer C are Internet and voice services.
In connection with fig. 3, the correspondence between the first ONT and the first service is shown in fig. 4, which is the content of the first service information. Fig. 4 is a schematic diagram of first service information provided in an embodiment of the present application.
The first service information corresponding to ONT1 is ONT-MAC1-OMCI-1Internet; the first service information corresponding to ONT2 is ONT-MAC2-OMCI-1Internet-2VOIP; the first service information corresponding to the ONT3 is ONT-MAC3-OMCI-1Internet-2IPTV; the first service information corresponding to ONT4 is ONT-MAC4-OMCI-1Internet-2VOIP.
It will be appreciated that the description herein of the number of first ONTs and the type of the first service is merely an example, and in practical application, the selection should be made in connection with a specific application scenario, which is not limited herein.
202. The first OLT acquires a second configuration file;
after the first OLT obtains the first service information, the first OLT obtains a second configuration file, where the second configuration file is a configuration file of the first OLT, and it can be understood that the second configuration file is a configuration file used by the first OLT to update software.
203. The first OLT generates second service information according to the second configuration file and the first service information;
after the first OLT completes the configuration of the second configuration file, the corresponding relation between the first ONT and the first service is determined according to the first service information, the first service information is issued to the virtual ONT of the first ONT, and the virtual ONT of the first ONT generates the second service information according to the first service information. The virtual ONT of the first ONT is arranged in the first OLT, and the virtual ONT of the first ONT is configured with an operation scene of the first ONT.
204. The first OLT judges whether the second configuration file is matched with the first OLT or not;
after the first OLT generates the second service information, whether the second configuration file is matched with the first OLT is judged by judging whether the first service information is identical with the second service information.
If the first service information is different from the second service information, the second configuration file is not adapted to the first OLT, and step 205 is performed.
If the first service information is the same as the second service information, the second configuration file is adapted to the first OLT, and step 206 is performed.
205. The first OLT generates first warning information;
if the second configuration file is not matched with the first OLT, the first OLT generates first warning information, and the first warning information carries information which is incompatible with the first OLT and the configuration file or carries a part which is different from the second service information.
For example, when the content based on the first service information is shown in fig. 4, please refer to fig. 5a and fig. 5b, fig. 5a is a schematic diagram of the first alert information provided in the embodiment of the present application, and fig. 5b is another schematic diagram of the first alert information provided in the embodiment of the present application.
When the first service information is ONT-MAC2-OMCI-1Internet-2VOIP and the second service information is ONT-MAC2-OMCI-1Internet-3VOIP, the first alert information may be information indicating that the first OLT is not compatible with the configuration file, for example, in the first alert information, whether a compatible position corresponding to the first OLT and the configuration file is set to 1 is shown in fig. 5a, or the first alert information carries the first service information and the second service information of ONT2, as shown in fig. 5 b.
Optionally, when the first service information is different from the second service information, in combination with a specific case, the first alert information may further indicate that the first OLT issues a redundant OMCI protocol when running the second configuration file, and by way of example, in the first alert information, a position corresponding to whether the first OLT is compatible with the configuration file is set to 0, as shown in fig. 5 b.
In another possible case, when the content based on the first service information is shown in fig. 4, please refer to fig. 6a and fig. 6b, fig. 6a is a schematic diagram of the first alert information provided in the embodiment of the present application, and fig. 6b is another schematic diagram of the first alert information provided in the embodiment of the present application.
When the first service information is ONT-MAC2-OMCI-1Internet-2VOIP and the second service information is ONT-MAC2-OMCI-1Internet-2VOIP-3XX, the first warning information may be information indicating that the first OLT is not compatible with the configuration file, for example, in the first warning information, whether a position corresponding to the first OLT and the configuration file is set to 1, or the first warning information carries the first service information and the second service information of ONT2, or the first warning information indicates that the first OLT issues a redundant OMCI protocol, and there is a hidden risk of compatibility between the first OLT and the second configuration file.
It should be understood that the description of the content included in the first alert information is only an example, and in practical application, the description should be set in connection with a specific case, which is not limited herein.
Illustratively, the first alert information may be presented based on command lines, simple network management protocol (simple network management protocol, SNMP), network configuration protocol (network configuration protocol, netcon), user datagram protocol (user datagram protocol, UDP), remote procedure call system (remote procedure calls, RPC), etc., without limitation.
In the embodiment of the application, the first warning information is generated to display or record the adaptation condition of the first OLT and the second configuration file, so that a technician can conveniently conduct problem investigation and correction of the second configuration file after the intercommunication test is finished, and the efficiency of the intercommunication test is improved.
206. The first OLT stores first service information and second service information.
If the second configuration file is matched with the first OLT, the first OLT stores the first service information and the second service information for inspection.
In the embodiment of the application, the first OLT stores the first service information and the second service information for checking after the second configuration file is online, so that the verification efficiency of suitability verification of the first OLT and the second configuration file after the interworking test is improved.
In the embodiment of the present application, when the configuration file of the first OLT is the first configuration file, the first OLT obtains first service information generated when the first service is run on the first ONT, obtains a second configuration file, generates second service information according to the second configuration file and the first service information, and determines whether the second configuration file is adapted to the first OLT according to the first service information and the second service information, where the second configuration file is the configuration file of the first OLT. The first OLT utilizes the ONT virtualization technology of the OLT, the first OLT simulates the first ONT to set the virtual ONT of the first ONT, and after the first OLT completes the configuration of the second configuration file, the first service information is issued to the virtual ONT of the first ONT, the second service information generated by the virtual ONT of the first ONT is collected, and whether the second configuration file is matched with the first OLT or not is obtained through the comparison of the first service information and the second service information, so that the actual networking is not required to be simulated for erection, and the judgment of the result is not required by a tester, thereby greatly reducing the difficulty of the intercommunication test and the test cost.
2. Sampling simulation is carried out according to the characteristics of the ONTs managed by the OLT.
Referring to fig. 7, fig. 7 is a schematic flow chart of an interworking test according to an embodiment of the present application.
701. The first OLT selects a first ONT;
the first OLT acquires first information of an ONT managed by the first OLT and service configuration of the ONT managed by the first OLT. Wherein the first information indicates vendor information of the ONT managed by the first OLT.
For example, the configuration file of the first OLT is a first configuration file, the first OLT manages 1000 ONTs, and 1000 ONTs belong to three manufacturers a/B/C.
The ONT of the manufacturer A has two service configurations, namely Internet service or Internet service and voice service;
the ONT of the manufacturer B is configured with Internet service and IPTV service;
the ONT of manufacturer C configures Internet and voice services.
And selecting the first ONT according to the first information of the ONT managed by the first OLT and the service configuration of the ONT managed by the first OLT, wherein the first ONT is a representative ONT of the ONT managed by the first OLT.
Optionally, the service configurations of any two ONTs in the first ONT are different.
Alternatively, the two ONTs of the first ONT belong to different vendors.
Illustratively, the first ONT may include therein ONT1, ONT2, ONT3 and ONT4.
Wherein, the first service corresponding to ONT1 is Internet service;
the first service corresponding to ONT2 is Internet service and voice service;
the first service corresponding to ONT3 is Internet and IPTV service;
the first services corresponding to the ONT4 are Internet and voice services.
It can be understood that the selection manner of the first ONT is only an example, and it is intended to illustrate that the first ONT is a representative ONT obtained by extracting data from the ONTs managed by the first OLT, and should be selected in combination with specific situations in practical application, which is not limited herein.
In the embodiment of the application, the characteristic of the ONT managed by the first OLT is extracted, and the ONT with the representativeness in the ONT managed by the first OLT is selected as the first ONT, so that the number of the simulated ONTs is reduced, and the efficiency of the intercommunication test is improved.
702. The first OLT acquires first service information;
703. the first OLT acquires a second configuration file;
704. the first OLT generates second service information according to the second configuration file and the first service information;
705. the first OLT judges whether the second configuration file is matched with the first OLT or not;
706. the first OLT generates first warning information;
707. the first OLT stores first service information and second service information.
In this embodiment, steps 702 to 707 are similar to steps 201 to 206 in fig. 2, and are not repeated here.
In the embodiment of the application, the ONT is selected from the ONTs managed by the first OLT as the first ONT by extracting the characteristics of the ONTs managed by the first OLT, and the sampling simulation is performed according to the characteristics of the ONTs managed by the first OLT, so that the number of the first ONTs is reduced, and the test efficiency of the intercommunication test is improved.
The method for interworking test provided by the embodiment of the present application is described above, and the first OLT and the computer-readable and writable storage medium provided by the embodiment of the present application are described below with reference to the accompanying drawings.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a first OLT according to an embodiment of the present application.
The first OLT includes:
an obtaining unit 801, configured to obtain first service information, where the first service information is service information generated when a first service runs on a first optical network terminal ONT, and when the first service runs on the first ONT, a configuration file of a first optical line terminal OLT is a first configuration file, and the first OLT manages the first ONT;
the obtaining unit 801 is further configured to obtain a second configuration file, where the second configuration file is a configuration file of the first OLT;
a generating unit 802, configured to generate second service information according to the second configuration file and the first service information, where the second service information is service information generated when the first service runs on a virtual ONT of the first ONT, and the configuration file of the first OLT is the second configuration file when the first service runs on the virtual ONT of the first ONT;
and a judging unit 803, configured to judge whether the second configuration file is adapted to the first OLT according to the first service information and the second service information.
Optionally, the determining unit 803 is specifically configured to:
judging whether the first service information is the same as the second service information;
if the first service information is the same as the second service information, the second configuration file is adapted to the first OLT;
and if the first service information is different from the second service information, the second configuration file is not matched with the first OLT.
Optionally, the generating unit 802 is further configured to generate first alert information when the first service information is different from the second service information, where the first alert information indicates that the first service information is different from the second service information.
Optionally, the first OLT further includes a saving unit 804;
the saving unit 804 is configured to save the first service information and the second service information when the first service information is the same as the second service information.
Optionally, the first ONT includes at least two ONTs.
Optionally, the first traffic of any two ONTs of the at least two ONTs is different.
Optionally, the first information of any two ONTs of the at least two ONTs is different, the first information indicating a vendor of the ONT.
Referring to fig. 9, fig. 9 is another schematic structural diagram of the first OLT according to an embodiment of the present application.
The first OLT900 may be a corresponding unit or module in the corresponding embodiment in fig. 2 or fig. 7, and is configured to implement the functions of each unit or module in fig. 8, specifically, the first OLT900 is implemented by one or more servers, where the first OLT900 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (central processing units, CPU) 922 (e.g., one or more central processing units) and a memory 932, and one or more storage media 930 (e.g., one or more storage devices). Wherein the memory 932 and the storage medium 930 may be transitory or persistent. The program stored in the storage medium 930 may include one or more modules (not shown), each of which may include a series of instruction operations in the first OLT 900. Still further, the central processor 922 may be arranged to communicate with the storage medium 930, and execute a series of instruction operations in the storage medium 930 on the first OLT 900.
The first OLT900 may also include one or more power supplies 926, one or more wired or wireless network interfaces 950, and/or one or more input/output interfaces 958.
In this embodiment, the central processor 922 is configured to execute the method executed by the first OLT in the corresponding embodiment of fig. 2 or fig. 7.
It should be noted that, the cpu 922 may also be used to perform any step performed by the first OLT in the method embodiment corresponding to fig. 2 or fig. 7 in the present application, and the specific content may be referred to the description in the method embodiment shown in the foregoing description of the present application, which is not repeated herein.
Embodiments of the present application also provide a computer-readable storage medium comprising computer-readable instructions which, when run on a computer, cause the computer to perform any one of the implementations shown in the foregoing method embodiments.
The embodiments of the present application also provide a computer program product, which includes a computer program or instructions, which when run on a computer, cause the computer to perform any one of the implementations shown in the foregoing method embodiments.
The present application also provides a chip or chip system, which may include a processor. The chip may further comprise or be coupled to a memory (or storage module) and/or a transceiver (or communication module), wherein the transceiver (or communication module) may be used to support wired and/or wireless communication of the chip, the memory (or storage module) may be used to store a program or a set of instructions that the processor invokes to perform operations performed by a terminal or network device in any of the possible implementations of the method embodiments, method embodiments described above. The chip system may include the above chip, and may also include the above chip and other discrete devices, such as a memory (or memory module) and/or a transceiver (or communication module).
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM, random access memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Claims (16)
1. A method of interworking testing, comprising:
acquiring first service information, wherein the first service information is generated when a first service runs on a first Optical Network Terminal (ONT), and when the first service runs on the first ONT, a configuration file of a first Optical Line Terminal (OLT) is a first configuration file, and the first OLT manages the first ONT;
acquiring a second configuration file, wherein the second configuration file is a configuration file of the first OLT;
generating second service information according to the second configuration file and the first service information, wherein the second service information is generated when the first service runs on the virtual ONT of the first ONT, and the configuration file of the first OLT is the second configuration file when the first service runs on the virtual ONT of the first ONT;
and judging whether the second configuration file is matched with the first OLT or not according to the first service information and the second service information.
2. The method of claim 1, wherein the determining whether the second configuration file is adapted to the first OLT according to the first service information and the second service information comprises:
judging whether the first service information is the same as the second service information;
if the first service information is the same as the second service information, the second configuration file is adapted to the first OLT;
and if the first service information is different from the second service information, the second configuration file is not matched with the first OLT.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
the first service information is different from the second service information, first warning information is generated, and the first warning information indicates that the first service information is different from the second service information.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
the first service information is the same as the second service information, and the first service information and the second service information are stored.
5. The method according to any one of claims 1 to 4, wherein the first ONT comprises at least two ONTs.
6. The method of claim 5, wherein a first service of any two of the at least two ONTs is different.
7. The method according to claim 5 or 6, wherein the first information of any two of the at least two ONTs is different, the first information indicating the manufacturer of the ONT.
8. A first optical line termination OLT, comprising:
the system comprises an acquisition unit, a first Optical Line Terminal (OLT) and a second OLT, wherein the acquisition unit is used for acquiring first service information, the first service information is generated when a first service runs on a first ONT, the configuration file of the first OLT is a first configuration file when the first service runs on the first ONT, and the first OLT manages the first ONT;
the acquiring unit is further configured to acquire a second configuration file, where the second configuration file is a configuration file of the first OLT;
the generating unit is configured to generate second service information according to the second configuration file and the first service information, where the second service information is service information generated when the first service runs on a virtual ONT of the first ONT, and the configuration file of the first OLT is the second configuration file when the first service runs on the virtual ONT of the first ONT;
and the judging unit is used for judging whether the second configuration file is matched with the first OLT according to the first service information and the second service information.
9. The first OLT of claim 8, wherein the determining unit is specifically configured to:
judging whether the first service information is the same as the second service information;
if the first service information is the same as the second service information, the second configuration file is adapted to the first OLT;
and if the first service information is different from the second service information, the second configuration file is not matched with the first OLT.
10. The first OLT of claim 8 or 9, wherein the generating unit is further configured to generate first alert information when the first service information is different from the second service information, the first alert information indicating that the first service information is different from the second service information.
11. The first OLT of claim 8 or 9, further comprising a save unit;
the storage unit is configured to store the first service information and the second service information when the first service information is the same as the second service information.
12. The first OLT of any one of claims 8-11, wherein the first ONT comprises at least two ONTs.
13. The first OLT of claim 12, wherein the first traffic of any two of the at least two ONTs is different.
14. The first OLT of claim 12 or 13, wherein first information of any two of the at least two ONTs is different, the first information indicating a vendor of the ONT.
15. A first OLT, comprising: a processor and a memory for storing instructions for execution by the processor, which when executed by the processor, performs the method of any of claims 1 to 7.
16. A computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211204597.2A CN117792953A (en) | 2022-09-29 | 2022-09-29 | Intercommunication test method and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211204597.2A CN117792953A (en) | 2022-09-29 | 2022-09-29 | Intercommunication test method and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117792953A true CN117792953A (en) | 2024-03-29 |
Family
ID=90378548
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211204597.2A Pending CN117792953A (en) | 2022-09-29 | 2022-09-29 | Intercommunication test method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117792953A (en) |
-
2022
- 2022-09-29 CN CN202211204597.2A patent/CN117792953A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111459794B (en) | Communication network testing method, device, computer equipment and storage medium | |
CN109361562B (en) | Automatic testing method based on associated network equipment access | |
CN102880532B (en) | Cloud technology-based test system and method | |
CN109617759A (en) | Block catenary system stability test method, apparatus, equipment and storage medium | |
CN111782524B (en) | Application testing method and device, storage medium and electronic device | |
CN109600280B (en) | Pressure testing system, method, device and computer readable storage medium | |
CN112269697B (en) | Equipment storage performance testing method, system and related device | |
CN106776346B (en) | Test method and device of CCMTS (China center testing System) equipment | |
CN105787364A (en) | Automated testing method, device and system for task | |
EP3518441A1 (en) | Test troubleshooting system and method | |
US9699674B2 (en) | Technique for testing wireless network load produced by mobile app-carrying devices | |
CN113067738A (en) | Network topology visualization function equipment compatibility testing method and system | |
CN115061885A (en) | Complete machine aging automatic test method and device, electronic equipment and storage medium | |
CN112765035A (en) | Distributed pressure test system, method, device, electronic equipment and storage medium | |
CN111459795A (en) | Cluster pressure testing method and device, computer equipment and storage medium | |
CN110198222A (en) | A kind of distribution power automation terminal plug and play test method and test main website | |
CN104917633A (en) | Method and device simulating FOTA upgrade | |
CN117792953A (en) | Intercommunication test method and equipment | |
CN103428744A (en) | Server and device, system and method for testing wireless communication module | |
CN115904388A (en) | Application program protocol analysis method, device, equipment and storage medium | |
CN118055052A (en) | Dynamic host configuration protocol test method, electronic device and computer readable medium | |
CN107342904B (en) | Data simulation method and device for testing substation control layer equipment of transformer substation | |
CN113032255B (en) | Response noise identification method, model, electronic device and computer storage medium | |
CN112838938B (en) | Test system of Internet of things platform | |
CN111221687B (en) | Cloud storage testing system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication |