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
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请实施例提供了一种互通测试的方法和设备,用于降低互通测试的难度和测试成本。本申请实施例方法包括:第一OLT利用OLT的ONT虚拟化技术,在第一OLT中模拟第一ONT设置第一ONT的虚拟ONT,并在第一OLT完成第二配置文件的配置后,向第一ONT的虚拟ONT发布第一业务信息,收集到第一ONT的虚拟ONT生成的第二业务信息,并通过对第一业务信息和第二业务信息的对比获知第二配置文件与第一OLT是否适配,其中,第一业务信息为第一ONT上运行第一业务时生成的业务信息。无需模拟实际的组网进行架设,也无需测试人员进行结果的判断,大幅降低了互通测试的难度和测试成本。
The embodiments of the present application provide an interoperability testing method and equipment to reduce the difficulty and testing cost of interoperability testing. The method of the embodiment of the present application includes: the first OLT uses the ONT virtualization technology of the OLT to simulate the first ONT in the first OLT and sets the virtual ONT of the first ONT, and after the first OLT completes the configuration of the second configuration file, The virtual ONT of the first ONT publishes the first service information, collects the second service information generated by the virtual ONT of the first ONT, and learns the second configuration file and the first OLT by comparing the first service information and the second service information. Whether it is adapted, wherein the first service information is the service information generated when the first service is run on the first ONT. There is no need to simulate the actual network to set up, and there is no need for testers to judge the results, which greatly reduces the difficulty and cost of interoperability testing.
Description
技术领域Technical field
本申请实施例涉及光通信领域,尤其涉及一种互通测试的方法和设备。Embodiments of the present application relate to the field of optical communications, and in particular, to a method and device for interoperability testing.
背景技术Background technique
随着宽带走进千家万户,为了保证运营商在维护升级光线路终端(optical lineterminal,OLT)时,不影响与之相连的光网络终端(optical network terminal,ONT)的工作,每次运营商在对OLT进行软件或硬件的升级前,都要投入大量的时间和人力去进行OLT与ONT之间的互通测试,以确保OLT的升级不会造成与ONT的兼容问题,保证当前ONT与OLT之间的业务能够正常运行。As broadband enters thousands of households, in order to ensure that operators do not affect the work of the optical network terminal (ONT) connected to it when maintaining and upgrading the optical line terminal (OLT), every time the operator Before upgrading OLT software or hardware, a lot of time and manpower must be invested in interoperability testing between OLT and ONT to ensure that the OLT upgrade will not cause compatibility issues with ONT and ensure that the current ONT and OLT business can run normally.
在OLT与ONT之间的互通测试中,运营商需要模拟实际场景下的OLT与ONT的组网,在实验室中进行测试场景的搭建并且挂接相应的测试设备,在测试场景搭建完成后,OLT向ONT发送ONT中的业务配置,并利用测试设备来确认ONT中的业务配置是否能够正常运行,例如,语音通话测试,个人电脑(personal computer,PC)上网测试等。In the interoperability test between OLT and ONT, the operator needs to simulate the networking of OLT and ONT in actual scenarios, set up the test scenario in the laboratory and connect the corresponding test equipment. After the test scenario is completed, The OLT sends the service configuration in the ONT to the ONT, and uses test equipment to confirm whether the service configuration in the ONT can operate normally, for example, voice call test, personal computer (PC) Internet access test, etc.
在模拟场景下的OLT与ONT之间的互通测试,为了保障互通测试的准确性,需要在实验室完整组网,并逐一进行测试,实现难度较高,并且互通测试的成本较高,如何降低互通测试的测试难度并降低互通测试的测试成本就成了技术人员需要解决的首要难题。In order to ensure the accuracy of the interoperability test between OLT and ONT in the simulation scenario, it is necessary to fully network in the laboratory and test them one by one. This is difficult to implement and the cost of interoperability testing is high. How to reduce the difficulty and cost of interoperability testing has become the primary problem that technicians need to solve.
发明内容Summary of the invention
本申请实施例提供了一种互通测试的方法和设备,用于降低互通测试的难度和测试成本。Embodiments of the present application provide an interoperability testing method and equipment to reduce the difficulty and testing cost of interoperability testing.
本申请第一方面提供了一种互通测试的方法,包括:获取第一业务信息,所述第一业务信息为第一业务在第一光网络终端ONT上运行时生成的业务信息,所述第一业务在所述第一ONT上运行时,所述第一光线路终端OLT的配置文件为第一配置文件,所述第一OLT管理所述第一ONT;获取第二配置文件,所述第二配置文件为所述第一OLT的配置文件;根据所述第二配置文件和所述第一业务信息生成第二业务信息,所述第二业务信息为所述第一业务在所述第一ONT的虚拟ONT上运行时生成的业务信息,所述第一业务在所述第一ONT的虚拟ONT上运行时,所述第一OLT的配置文件为所述第二配置文件;根据所述第一业务信息和所述第二业务信息判断所述第二配置文件与所述第一OLT是否适配。A first aspect of the present application provides a method for interoperability testing, including: obtaining first service information, the first service information being service information generated when a first service is running on a first optical network terminal ONT, when the first service is running on the first ONT, a configuration file of the first optical line terminal OLT is a first configuration file, and the first OLT manages the first ONT; obtaining a second configuration file, the second configuration file being a configuration file of the first OLT; generating second service information according to the second configuration file and the first service information, the second service information being service information generated when the first service is running on a virtual ONT of the first ONT, when the first service is running on the virtual ONT of the first ONT, the configuration file of the first OLT is the second configuration file; and judging whether the second configuration file is adapted to the first OLT according to the first service information and the second service information.
本申请实施例中,第一OLT获取当第一OLT的配置文件为第一配置文件时,第一ONT上运行第一业务时生成的第一业务信息,并且获取第二配置文件,根据第二配置文件和第一业务信息生成第二业务信息,并根据第一业务信息和第二业务信息判断第二配置文件与第一OLT是否适配,其中,第二配置文件为第一OLT的配置文件。第一OLT利用OLT的ONT虚拟化技术,在第一OLT中模拟第一ONT设置第一ONT的虚拟ONT,并在第一OLT完成第二配置文件的配置后,向第一ONT的虚拟ONT发布第一业务信息,收集到第一ONT的虚拟ONT生成的第二业务信息,并通过对第一业务信息和第二业务信息的对比获知第二配置文件与第一OLT是否适配,无需模拟实际的组网进行架设,也无需测试人员进行结果的判断,大幅降低了互通测试的难度和测试成本。In the embodiment of the present application, the first OLT obtains the first service information generated when the first service is run on the first ONT when the configuration file of the first OLT is the first configuration file, and obtains the second configuration file. According to the second The configuration file and the first service information generate second service information, and determine whether the second configuration file is adapted to the first OLT based on 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 uses the ONT virtualization technology of the OLT to simulate the first ONT in the first OLT to set up the virtual ONT of the first ONT, and after the first OLT completes the configuration of the second configuration file, publishes it to the virtual ONT of the first ONT. The first service information collects the second service information generated by the virtual ONT of the first ONT, and learns whether the second configuration file is compatible with the first OLT by comparing the first service information and the second service information, without simulating the actual situation. The network is set up and testers are not required to judge the results, which greatly reduces the difficulty and cost of interoperability testing.
在第一方面可能的实施方式中,所述根据所述第一业务信息和所述第二业务信息判断所述第二配置文件与所述第一OLT是否适配,包括:判断所述第一业务信息与所述第二业务信息是否相同;若所述第一业务信息与所述第二业务信息相同,所述第二配置文件与所述第一OLT适配;若所述第一业务信息与所述第二业务信息不同,所述第二配置文件与所述第一OLT不适配。In a possible implementation manner of the first aspect, determining whether the second configuration file is adapted to the first OLT based on the first service information and the second service information includes: determining whether the first OLT Whether the 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; if the first service information Different from the second service information, the second configuration file is not suitable for the first OLT.
本申请实施例中,第一OLT通过判断第一业务信息与第二业务信息是否相同判断第二配置文件与第一OLT是否适配,若第一业务信息与第二业务信息相同,则认为第二配置文件与第一OLT适配;若第一业务信息与第二业务信息不同,则认为第二配置文件与第一OLT不适配。通过判断第一业务信息与第二业务信息是否相同来判断第二配置文件与第一OLT是否适配的方法,无需测试人员进行操作,进而降低了互通测试的时间和人力成本。In the embodiment of this application, the first OLT determines whether the second configuration file is adapted to the first OLT by determining whether the first service information and the second service information are the same. If the first service information and the second service information are the same, it is considered that the second configuration file is the same. The second configuration file is adapted to the first OLT; if the first service information and the second service information are different, the second configuration file is deemed not to be suitable for the first OLT. The method of determining whether the second configuration file is compatible with the first OLT by determining whether the first business information and the second business information are the same does not require testers to perform operations, thus reducing the time and labor costs of interoperability testing.
在第一方面可能的实施方式中,所述方法还包括:所述第一业务信息与所述第二业务信息不同,生成第一警示信息,第一警示信息指示所述第一业务信息与所述第二业务信息不同。本申请实施例中,当第一业务信息与第二业务信息不同时,生成第一警示信息,第一警示信息指示第一业务信息与第二业务信息不同,生成指示第一业务信息与第二业务信息不同的第一警示信息,使得测试人员能够及时获知测试情况,及时对出现问题的第一ONT和第二配置文件进行核查,提升了互通测试的效率。In a possible implementation manner of the first aspect, the method further includes: the first service information is different from the second service information, and generating first warning information, where the first warning information indicates that the first service information is different from the second service information. The second business information is different. In the embodiment of the present 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 is generated indicating that the first service information is different from the second service information. The first warning information with different business information enables testers to know the test situation in time and promptly check the first ONT and second configuration file where the problem occurs, which improves the efficiency of interoperability testing.
在第一方面可能的实施方式中,该方法还包括:所述第一业务信息与所述第二业务信息相同,保存所述第一业务信息和所述第二业务信息。本申请实施例中,第一业务信息和第二业务信息相同时,第一OLT还可以保存第一业务信息和第二业务信息,便于测试人员在完成互通测试后的查验,提升了后续操作的效率。In a possible implementation of the first aspect, the method further includes: the first service information and the second service information are the same, and storing the first service information and the second service information. In the embodiment of this application, when the first service information and the second service information are the same, the first OLT can also save the first service information and the second service information, which facilitates the tester's inspection after completing the interoperability test and improves the efficiency of subsequent operations. efficiency.
在第一方面可能的实施方式中,所述第一ONT包括至少两个ONT。本申请实施例中,第一ONT包含至少两个ONT,第一OLT对其管理的至少两个ONT进行模拟和互通测试,并且可以对其管理的至少两个ONT进行全量模拟和互通测试,精准的模拟了实际网络中可能出现的情况,提升了互通测试的精准性。In a possible implementation of the first aspect, the first ONT includes at least two ONTs. In the embodiment of this application, the first ONT includes at least two ONTs. The first OLT performs simulation and interoperability testing on at least two ONTs it manages, and can perform full simulation and interoperability testing on at least two ONTs it manages, accurately. It simulates situations that may occur in actual networks and improves the accuracy of interoperability testing.
在第一方面可能的实施方式中,至少两个ONT中任两个ONT的第一业务不相同,避免了业务相同的ONT被重复选取为具有典型特征的ONT,进而减少了第一OLT的计算量,提升了互通测试的测试效率,降低了互通测试的测试时间。In a possible implementation of the first aspect, the first services of any two ONTs of at least two ONTs are different, thereby preventing ONTs with the same service from being repeatedly selected as ONTs with typical characteristics, thereby reducing the amount of calculation of the first OLT, improving the test efficiency of the interoperability test, and reducing the test time of the interoperability test.
在第一方面可能的实施方式中,至少两个ONT中任两个ONT的第一信息不相同,第一信息指示至少两个ONT的厂商。本申请实施例中,至少两个ONT中任两个ONT的第一信息不同,也就是至少两个ONT中,任两个ONT的厂商不同。避免了相同厂商的多个ONT被重复选取为具有典型特征的ONT,进而减少了第一OLT的计算量,提升了互通测试的测试效率,降低了互通测试的测试时间。In a possible implementation of the first aspect, the first information of any two of the at least two ONTs is different, and the first information indicates the manufacturers of the at least two ONTs. In the embodiment of the present application, the first information of any two ONTs among at least two ONTs is different, that is, the manufacturers of any two ONTs among at least two ONTs are different. This prevents multiple ONTs from the same manufacturer from being repeatedly selected as ONTs with typical characteristics, thereby reducing the calculation amount of the first OLT, improving the test efficiency of the interoperability test, and reducing the test time of the interoperability test.
本申请第二方面提供了一种第一光线路终端OLT,包括:The second aspect of this application provides a first optical line terminal OLT, including:
获取单元,用于获取第一业务信息,所述第一业务信息为第一业务在第一光网络终端ONT上运行时生成的业务信息,所述第一业务在所述第一ONT上运行时,所述第一光线路终端OLT的配置文件为第一配置文件,所述第一OLT管理所述第一ONT;An acquisition unit, configured to acquire first service information. The first service information is service information generated when the first service is run on the first optical network terminal ONT. The first service is generated when the first service is run on the first ONT. , the configuration file of the first optical line terminal OLT is a first configuration file, and the first OLT manages the first ONT;
所述获取单元,还用于获取第二配置文件,所述第二配置文件为所述第一OLT的配置文件;The obtaining unit is also used to obtain a second configuration file, where the second configuration file is the configuration file of the first OLT;
生成单元,用于根据所述第二配置文件和所述第一业务信息生成第二业务信息,所述第二业务信息为所述第一业务在所述第一ONT的虚拟ONT上运行时生成的业务信息,所述第一业务在所述第一ONT的虚拟ONT上运行时,所述第一OLT的配置文件为所述第二配置文件;A generating unit configured to generate second service information according to the second configuration file and the first service information. The second service information is generated when the first service is run on the virtual ONT of the first ONT. Service information, when the first service is run on the virtual ONT of the first ONT, the configuration file of the first OLT is the second configuration file;
判断单元,用于根据所述第一业务信息和所述第二业务信息判断所述第二配置文件与所述第一OLT是否适配。A judging unit 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.
在第二方面可能的实施方式中,所述判断单元,具体用于:In a possible implementation manner of the second aspect, the judging unit is specifically configured to:
判断所述第一业务信息与所述第二业务信息是否相同;Determine whether the first service information and the second service information are the same;
若所述第一业务信息与所述第二业务信息相同,所述第二配置文件与所述第一OLT适配;If the first service information is the same as the second service information, the second configuration file is adapted to the first OLT;
若所述第一业务信息与所述第二业务信息不同,所述第二配置文件与所述第一OLT不适配。If the first service information is different from the second service information, the second configuration file is not suitable for the first OLT.
在第二方面可能的实施方式中,所述生成单元,还用于在所述第一业务信息与所述第二业务信息不同时,生成第一警示信息,第一警示信息指示所述第一业务信息与所述第二业务信息不同。In a possible implementation manner of the second aspect, the generating unit is further configured to generate first warning information when the first business information is different from the second business information, wherein the first warning information indicates that the first business information is different from the second business information.
在第二方面可能的实施方式中,所述第一OLT,还包括保存单元;In a possible implementation of the second aspect, the first OLT further includes a storage unit;
所述保存单元,用于在所述第一业务信息与所述第二业务信息相同时,保存所述第一业务信息和所述第二业务信息。The saving unit is configured to save the first service information and the second service information when the first service information and the second service information are the same.
在第二方面可能的实施方式中,所述第一ONT包括至少两个ONT。In a possible implementation of the second aspect, the first ONT includes at least two ONTs.
在第二方面可能的实施方式中,所述至少两个ONT中任两个ONT的第一业务不同。In a possible implementation of the second aspect, the first services of any two of the at least two ONTs are different.
在第二方面可能的实施方式中,所述至少两个ONT中任两个ONT的第一信息不同,所述第一信息指示ONT的厂商。In a possible implementation manner of the second aspect, the first information of any two of the at least two ONTs is different, and the first information indicates the manufacturer of the ONT.
本申请第三方面提供了一种第一OLT,包括:处理器和存储器,所述存储器用于存储指令,所述处理器用于执行所述指令,当所述处理器执行所述指令时,执行如前述第一方面或第一方面任一种可能的实施方式所述的方法。A third aspect of the present application provides a first OLT, including: a processor and a memory, the memory is used to store instructions, the processor is used to execute the instructions, and when the processor executes the instructions, execute The method as described in the aforementioned first aspect or any possible implementation manner of the first aspect.
本申请第四方面提供了一种计算机可读存储介质,其特征在于,包括指令,当其在计算机上运行时,使计算机执行前述第一方面或第一方面任一种可能的实施方式所述的方法。The fourth aspect of the present application provides a computer-readable storage medium, which is characterized by including instructions that, when run on a computer, cause the computer to execute the foregoing first aspect or any possible implementation manner of the first aspect. Methods.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请实施例提供的互通测试组网的一种示意图;Figure 1 is a schematic diagram of an interoperability test network provided by an embodiment of the present application;
图2为本申请实施例提供的互通测试的一种流程示意图;Figure 2 is a schematic flow chart of the interoperability test provided by the embodiment of the present application;
图3为本申请实施例提供的第一ONT与第一业务的对应关系的一种示意图;Figure 3 is a schematic diagram of the corresponding relationship between the first ONT and the first service provided by the embodiment of the present application;
图4为本申请实施例提供的第一业务信息的一种示意图;Figure 4 is a schematic diagram of the first service information provided by the embodiment of the present application;
图5a为本申请实施例提供的第一警示信息的一种示意图;Figure 5a is a schematic diagram of the first warning information provided by the embodiment of the present application;
图5b为本申请实施例提供的第一警示信息的另一种示意图;Figure 5b is another schematic diagram of the first warning information provided by the embodiment of the present application;
图6a为本申请实施例提供的第一警示信息的另一种示意图;Figure 6a is another schematic diagram of the first warning information provided by the embodiment of the present application;
图6b为本申请实施例提供的第一警示信息的另一种示意图;Figure 6b is another schematic diagram of the first warning information provided by the embodiment of the present application;
图7为本申请实施例提供的互通测试的另一种流程示意图;Figure 7 is another schematic flow chart of the interoperability test provided by the embodiment of the present application;
图8为本申请实施例提供的第一OLT的一种结构示意图;Figure 8 is a schematic structural diagram of the first OLT provided by the embodiment of the present application;
图9为本申请实施例提供的第一OLT的另一种结构示意图。Figure 9 is another schematic structural diagram of the first OLT provided by the embodiment of the present application.
具体实施方式Detailed ways
下面结合附图,对本申请的实施例进行描述。本领域普通技术人员可知,随着技术的发展和新场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The embodiments of the present application are described below with reference to the accompanying drawings. Persons of ordinary skill in the art know that with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,这仅仅是描述本申请的实施例中对相同属性的对象在描述时所采用的区分方式。此外,术语“包括”和“具有”以及他们的任何变形,其目的在于覆盖不排他的包含,以便包含一系列单元的过程、方法、系统、产品或设备不必限于那些单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它单元。The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
OLT作为当前重要的宽带接入设备,承担了连接和管理千家万户的ONT的工作。为保障运营商在对OLT进行维护升级时,不影响与之相连的ONT的工作,每次运营商在对OLT进行软件或硬件的升级前,都要投入大量的时间和人力去进行OLT与ONT之间的互通测试,以确保OLT的升级不会造成与ONT的兼容问题,保证当前ONT与OLT之间的业务能够正常运行。As an important current broadband access device, OLT is responsible for connecting and managing ONTs in thousands of households. In order to ensure that operators do not affect the work of the ONTs connected to the OLT when they perform maintenance and upgrades on the OLT, every time the operator upgrades the software or hardware of the OLT, it must invest a lot of time and manpower in the OLT and ONT. Interoperability testing between ONTs to ensure that OLT upgrades will not cause compatibility issues with ONTs and ensure that the current business between ONTs and OLTs can operate normally.
在OLT与ONT的互通测试中,运营商需要模拟实际场景下的OLT与ONT的组网,在实验室中进行测试场景的搭建并且挂接相应的测试设备,在测试场景搭建完成后,OLT向ONT发送ONT中的业务配置,并利用测试设备来确认ONT中的业务配置是否能够正常运行,例如,语音通话测试,PC上网测试等。In the interoperability test between OLT and ONT, the operator needs to simulate the networking of OLT and ONT in actual scenarios, set up the test scenario in the laboratory and connect the corresponding test equipment. After the test scenario is completed, the OLT The ONT sends the service configuration in the ONT, and uses test equipment to confirm whether the service configuration in the ONT can operate normally, for example, voice call test, PC Internet access test, etc.
在模拟场景下的OLT与ONT之间的互通测试,为了保障互通测试的准确性,需要在实验室完整组网,以图1为例,图1为本申请实施例提供的互通测试组网的一种示意图。In order to ensure the accuracy of the intercommunication test between OLT and ONT in the simulation scenario, a complete network needs to be built in the laboratory. Taking Figure 1 as an example, Figure 1 is a schematic diagram of the intercommunication test network provided in the embodiment of the present application.
该互通测试组网中包括OLT和ONT1、ONT2、ONT3和测试设备,其中,OLT分别与ONT1、ONT2和ONT3以可通信方式连接,测试设备分别与ONT1、ONT2和ONT3以可通信方式连接,测试设备还与OLT以可通信方式连接。The interoperability test network includes OLT and ONT1, ONT2, ONT3 and test equipment. Among them, the OLT is communicably connected to ONT1, ONT2 and ONT3 respectively, and the test equipment is communicably connected to ONT1, ONT2 and ONT3 respectively. The test The device is also communicably connected to the OLT.
以图1中所示的组网方式为例,在互通测试中,运营商需要收集实际网络场景中,ONT1、ONT2和ONT3的业务配置,通过OLT分别向ONT1、ONT2和ONT3下发与之对应的业务配置,并通过测试设备分别连接ONT1、ONT2和ONT3来确认ONT1、ONT2和ONT3上实际承载的业务与OLT下发的业务配置中的业务是否一致,以确认待测软件或硬件与OLT是否适配。Taking the networking method shown in Figure 1 as an example, during the interoperability test, the operator needs to collect the service configurations of ONT1, ONT2, and ONT3 in the actual network scenario, and deliver the corresponding configurations to ONT1, ONT2, and ONT3 respectively through the OLT. service configuration, and connect ONT1, ONT2 and ONT3 through test equipment respectively to confirm whether the actual services carried on ONT1, ONT2 and ONT3 are consistent with the services in the service configuration issued by the OLT, to confirm whether the software or hardware to be tested is consistent with the OLT. adaptation.
在这样的互通测试方法中,对测试人员的要求较高,需要测试人员熟悉各类业务的同时,能够准确判断不同异常对应的业务配置问题。In such an interoperability testing method, the requirements for testers are relatively high. Testers need to be familiar with various businesses and be able to accurately determine the business configuration issues corresponding to different exceptions.
除此以外,这样的互通测试方法还需要收集完整的实际网络场景,并在实验室中进行模拟组网,需要耗费大量的人力物力。In addition, such interoperability testing method also requires collecting complete actual network scenarios and simulating networking in the laboratory, which requires a lot of manpower and material resources.
如何降低互通测试的测试难度并降低互通测试的测试成本就成了技术人员需要解决的首要难题。How to reduce the test difficulty and cost of interoperability testing has become the primary problem that technicians need to solve.
本申请提出,基于OLT的ONT虚拟化技术,在OLT中模拟OLT管理的ONT,并在OLT升级软件后,向模拟OLT管理的ONT发送该ONT实际运行时生成的采集到的第一业务信息,比对该ONT运行业务信息后生成的第二业务信息和第一业务信息之间的差异,来判断OLT升级的软件是否与该OLT适配,减少了人力成本和搭设组网的成本,降低了互通测试的测试难度和测试成本。This application proposes that the ONT virtualization technology based on OLT simulates the ONT managed by the OLT in the OLT, and after the OLT upgrades the software, sends the first collected business information generated when the ONT is actually running to the ONT managed by the simulated OLT. Compare the difference between the second service information and the first service information generated after the ONT runs the service information to determine whether the OLT upgraded software is adapted to the OLT, which reduces labor costs and network construction costs, and reduces The test difficulty and test cost of interoperability testing.
基于以上的问题和本申请提出的方案,下面结合附图对本申请提出的方案进行介绍。Based on the above problems and the solution proposed by this application, the solution proposed by this application will be introduced below with reference to the accompanying drawings.
本申请提出的方案中,可以对OLT管理的ONT进行全量模拟,也可以根据OLT管理的ONT进行特征提取,根据OLT管理的ONT的特征进行采样模拟,下面结合附图分别进行说明。In the solution proposed by this application, the ONTs managed by the OLT can be simulated in full, or features can be extracted based on the ONTs managed by the OLT, and sampling simulation can be performed based on the characteristics of the ONTs managed by the OLT. Each is explained below with reference to the accompanying drawings.
一、根据OLT管理的ONT全量进行模拟。1. Perform simulation based on all ONTs managed by the OLT.
请参阅图2,图2为本申请实施例提供的互通测试的一种流程示意图。Please refer to Figure 2. Figure 2 is a schematic flow chart of interoperability testing provided by an embodiment of the present application.
201、第一OLT获取第一业务信息;201. The first OLT obtains the first business information;
第一OLT从第一ONT获取第一业务信息,其中,第一业务信息为第一业务在第一ONT上运行时生成的业务信息,当第一ONT生成第一业务信息时,第一OLT的配置文件为第一配置文件,第一OLT管理第一ONT。The first OLT obtains the first service information from the first ONT, where the first service information is the service information generated when the first service is run on the first ONT. When the first ONT generates the first service information, the first OLT The configuration file is the first configuration file, and the first OLT manages the first ONT.
可选的,第一ONT包括第一OLT管理的所有ONT设备。Optionally, the first ONT includes all ONT devices managed by the first OLT.
可选的,第一业务包括因特网(Internet)业务,语音(VOIP)业务,PC上网业务和交互式网络电视(IPTV)业务中的至少一种。Optionally, the first service includes at least one of an Internet service, a voice (VOIP) service, a PC Internet access service and an interactive network television (IPTV) service.
示例性的,第一ONT包括ONT1、ONT2、ONT3和ONT4,第一ONT与第一业务的对应关系请参阅图3,图3为本申请实施例提供的第一ONT与第一业务的对应关系的一种示意图。Exemplarily, the first ONT includes ONT1, ONT2, ONT3 and ONT4. For the corresponding relationship between the first ONT and the first service, please refer to Figure 3. Figure 3 shows the corresponding relationship between the first ONT and the first service provided by the embodiment of the present application. A schematic diagram.
由图3中可以看出,ONT1为厂商A生产的ONT,对应的第一业务为Internet业务;As can be seen from Figure 3, ONT1 is an ONT produced by manufacturer A, and the corresponding first service is the Internet service;
ONT2厂商A生产的ONT,对应的第一业务为Internet业务和语音业务;ONT2 ONT produced by manufacturer A, the corresponding first services are Internet services and voice services;
ONT3厂商B生产的ONT,对应的第一业务为Internet和IPTV业务;The first services corresponding to the ONT produced by ONT3 manufacturer B are Internet and IPTV services;
ONT4厂商C生产的ONT对应的第一业务为Internet和语音业务。ONT4 The first services corresponding to the ONT produced by manufacturer C are Internet and voice services.
结合图3中,第一ONT与第一业务的对应关系,图4为第一业务信息的内容。图4为本申请实施例提供的第一业务信息的一种示意图。In conjunction with the corresponding relationship between the first ONT and the first service in Figure 3, Figure 4 shows the content of the first service information. Figure 4 is a schematic diagram of the first service information provided by an embodiment of the present application.
ONT1对应的第一业务信息为ONT-MAC1-OMCI-1Internet;ONT2对应的第一业务信息为ONT-MAC2-OMCI-1Internet-2VOIP;ONT3对应的第一业务信息为ONT-MAC3-OMCI-1Internet-2IPTV;ONT4对应的第一业务信息为ONT-MAC4-OMCI-1Internet-2VOIP。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 ONT3 is ONT-MAC3-OMCI-1Internet- 2IPTV; the first service information corresponding to ONT4 is ONT-MAC4-OMCI-1Internet-2VOIP.
可以理解的是,此处对第一ONT的数量和第一业务的类型的描述仅为示例,在实际应用中,应结合具体应用场景进行选择,此处不做限制。It is understandable that the description of the number of first ONTs and the type of first services here is only an example. In actual applications, they should be selected in combination with specific application scenarios and are not limited here.
202、第一OLT获取第二配置文件;202. The first OLT obtains the second configuration file;
第一OLT在获取到第一业务信息后,获取第二配置文件,第二配置文件为第一OLT的配置文件,可以理解的是,第二配置文件即为第一OLT更新软件使用的配置文件。After obtaining the first business information, the first OLT obtains the second configuration file. The second configuration file is the configuration file of the first OLT. It can be understood that the second configuration file is the configuration file used by the first OLT update software. .
203、第一OLT根据第二配置文件和第一业务信息生成第二业务信息;203. The first OLT generates the second service information according to the second configuration file and the first service information;
第一OLT在完成第二配置文件的配置后,根据第一业务信息确定第一ONT和第一业务之间的对应关系,向第一ONT的虚拟ONT发放第一业务信息,第一ONT的虚拟ONT根据第一业务信息生成第二业务信息。其中,第一ONT的虚拟ONT设置于第一OLT,第一ONT的虚拟ONT配置有第一ONT的运行场景。After completing the configuration of the second configuration file, the first OLT determines the corresponding relationship between the first ONT and the first service based on the first service information, and issues the first service information to the virtual ONT of the first ONT. The ONT generates second service information based on the first service information. Wherein, the virtual ONT of the first ONT is set in the first OLT, and the virtual ONT of the first ONT is configured with the operating scenario of the first ONT.
204、第一OLT判断第二配置文件与第一OLT是否适配;204. The first OLT determines whether the second configuration file is compatible with the first OLT;
第一OLT在生成第二业务信息后,通过判断第一业务信息与第二业务信息是否相同来判断第二配置文件与第一OLT是否适配。After generating the second service information, the first OLT determines whether the second configuration file is adapted to the first OLT by determining whether the first service information and the second service information are the same.
若第一业务信息与第二业务信息不相同,第二配置文件与第一OLT不适配,执行步骤205。If the first service information and the second service information are different and the second configuration file is not suitable for the first OLT, step 205 is executed.
若第一业务信息与第二业务信息相同,第二配置文件与第一OLT适配,执行步骤206。If the first service information and the second service information are the same, the second configuration file is adapted to the first OLT, and step 206 is executed.
205、第一OLT生成第一警示信息;205. The first OLT generates first warning information;
若第二配置文件与第一OLT不适配,第一OLT生成第一警示信息,第一警示信息中携带第一OLT与配置文件不兼容信息,或,携带第一业务信息与第二业务信息不相同的部分。If the second configuration file is not compatible with the first OLT, the first OLT generates a first warning message, which carries information that the first OLT is incompatible with the configuration file, or carries a part that is different between the first service information and the second service information.
示例性的,基于第一业务信息的内容如图4所示时,请参阅图5a和图5b,图5a为本申请实施例提供的第一警示信息的一种示意图,图5b为本申请实施例提供的第一警示信息的另一种示意图。Exemplarily, based on the content of the first business information as shown in Figure 4, please refer to Figure 5a and Figure 5b. Figure 5a is a schematic diagram of the first warning information provided by the embodiment of the present application, and Figure 5b is a schematic diagram of the implementation of the present application. Another schematic diagram of the first warning message provided by the example.
当第一业务信息为ONT-MAC2-OMCI-1Internet-2VOIP,第二业务信息为ONT-MAC2-OMCI-1Internet-3VOIP时,第一警示信息可以为指示第一OLT与配置文件不兼容的信息,例如,在第一警示信息中,将对应第一OLT与配置文件是否兼容位置置位为1,如图5a所示,或,第一警示信息中携带ONT2的第一业务信息和第二业务信息,如图5b所示。When the first service information is ONT-MAC2-OMCI-1Internet-2VOIP and the second service information is ONT-MAC2-OMCI-1Internet-3VOIP, the first warning information may be information indicating that the first OLT is incompatible with the configuration file, For example, in the first warning information, the position corresponding to whether the first OLT and the configuration file are compatible is set to 1, as shown in Figure 5a, or the first warning information carries the first service information and the second service information of ONT2 , as shown in Figure 5b.
可选的,当第一业务信息与第二业务信息不相同时,结合具体的情况,第一警示信息还可以指示第一OLT在运行第二配置文件时下发了冗余OMCI协议,示例性的,在第一警示信息中,将对应第一OLT与配置文件是否兼容的位置置位为0,如图5b所示。Optionally, when the first service information and the second service information are different, depending on the specific situation, the first warning information may also indicate that the first OLT issued a redundant OMCI protocol when running the second configuration file. For example, , in the first warning information, set the position corresponding to whether the first OLT is compatible with the configuration file to 0, as shown in Figure 5b.
在另一种可能的情况中,基于第一业务信息的内容如图4所示时,请参阅图6a和图6b,图6a为本申请实施例提供的第一警示信息的一种示意图,图6b为本申请实施例提供的第一警示信息的另一种示意图。In another possible situation, based on the content of the first service information as shown in Figure 4, please refer to Figure 6a and Figure 6b. Figure 6a is a schematic diagram of the first warning information provided by the embodiment of the present application. Figure 6b is another schematic diagram of the first warning information provided by the embodiment of the present application.
当第一业务信息为ONT-MAC2-OMCI-1Internet-2VOIP,第二业务信息为ONT-MAC2-OMCI-1Internet-2VOIP-3XX时,第一警示信息可以为指示第一OLT与配置文件不兼容的信息,例如,在第一警示信息中,将对应第一OLT与配置文件是否兼容位置置位为1,或,第一警示信息中携带ONT2的第一业务信息和第二业务信息,或,第一警示信息指示第一OLT下发了冗余的OMCI协议,第一OLT与第二配置文件存在兼容性隐性风险。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 indicate that the first OLT is incompatible with the configuration file. Information, for example, in the first warning information, the position corresponding to whether the first OLT and the configuration file are compatible is set to 1, or the first warning information carries the first service information and the second service information of ONT2, or the first A warning message indicates that the first OLT has issued a redundant OMCI protocol, and there is a hidden risk of compatibility between the first OLT and the second configuration file.
可以理解的是,此处对第一警示信息中包括的内容的说明仅为示例,在实际应用中,应结合具体的情况进行设置,此处不做限制。It can be understood that the description of the content included in the first warning information here is only an example, and in actual applications, it should be set according to the specific situation, and is not limited here.
示例性的,第一警示信息可以基于命令行、简单网络管理协议(simple networkmanagement protocol,SNMP)、网络配置协议(network configuration protocol,NETCONF)、用户数据报协议(user datagram protocol,UDP)、远程过程调用系统(remoteprocedure calls,RPC)等呈现,此处不做限制。For example, the first warning information may be based on command line, simple network management protocol (SNMP), network configuration protocol (NETCONF), user datagram protocol (UDP), remote process Calling the system (remote procedure calls, RPC), etc. is not limited here.
本申请实施例中,通过生成第一警示信息,展示或记录第一OLT与第二配置文件的适配情况,以便于技术人员在互通测试结束后进行问题排查和第二配置文件的校正,提升了互通测试的效率。In the embodiment of this application, the first warning information is generated to display or record the adaptation status of the first OLT and the second configuration file, so that technicians can troubleshoot and correct the second configuration file after the interoperability test is completed, thereby improving Improve the efficiency of interoperability testing.
206、第一OLT保存第一业务信息和第二业务信息。206. The first OLT saves the first service information and the second service information.
若第二配置文件与第一OLT适配,第一OLT保存第一业务信息和第二业务信息以备查验。If the second configuration file is adapted to the first OLT, the first OLT saves the first service information and the second service information for verification.
本申请实施例中,第一OLT通过保存第一业务信息和第二业务信息以备第二配置文件上线后的查验,提升了互通测试的后,对第一OLT和第二配置文件的适配性验证的复核效率。In the embodiment of this application, the first OLT saves the first service information and the second service information for verification after the second configuration file goes online, which improves the adaptation of the first OLT and the second configuration file after the interoperability test. Review efficiency of sexual verification.
本申请实施例中,第一OLT获取当第一OLT的配置文件为第一配置文件时,第一ONT上运行第一业务时生成的第一业务信息,并且获取第二配置文件,根据第二配置文件和第一业务信息生成第二业务信息,并根据第一业务信息和第二业务信息判断第二配置文件与第一OLT是否适配,其中,第二配置文件为第一OLT的配置文件。第一OLT利用OLT的ONT虚拟化技术,在第一OLT中模拟第一ONT设置第一ONT的虚拟ONT,并在第一OLT完成第二配置文件的配置后,向第一ONT的虚拟ONT发布第一业务信息,收集到第一ONT的虚拟ONT生成的第二业务信息,并通过对第一业务信息和第二业务信息的对比获知第二配置文件与第一OLT是否适配,无需模拟实际的组网进行架设,也无需测试人员进行结果的判断,大幅降低了互通测试的难度和测试成本。In the embodiment of the present application, the first OLT obtains the first service information generated when the first service is run on the first ONT when the configuration file of the first OLT is the first configuration file, and obtains the second configuration file, generates the second service information according to the second configuration file and the first service information, and determines whether the second configuration file is compatible with the first OLT according to the first service information and the second service information, wherein the second configuration file is the configuration file of the first OLT. The first OLT uses the ONT virtualization technology of the OLT to simulate the first ONT in the first OLT 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 released 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 compatible with the first OLT is known by comparing the first service information and the second service information, without simulating the actual network for setting up, and without the need for testers to judge the results, which greatly reduces the difficulty and cost of interoperability testing.
二、根据OLT管理的ONT的特征进行采样模拟。2. Carry out sampling simulation based on the characteristics of ONT managed by OLT.
请参阅图7,图7为本申请实施例提供的互通测试的另一种流程示意图。Please refer to FIG. 7 , which is another schematic flow chart of interoperability testing provided by an embodiment of the present application.
701、第一OLT选取第一ONT;701. The first OLT selects the first ONT;
第一OLT获取第一OLT管理的ONT的第一信息和第一OLT管理的ONT的业务配置。其中,第一信息指示第一OLT管理的ONT的厂商信息。The first OLT obtains the first information of the ONT managed by the first OLT and the service configuration of the ONT managed by the first OLT. The first information indicates the manufacturer information of the ONT managed by the first OLT.
示例性的,第一OLT的配置文件为第一配置文件,第一OLT管理了1000各ONT,着1000个ONT属于A/B/C三家厂家。For example, the configuration file of the first OLT is the first configuration file. The first OLT manages 1000 ONTs, and the 1000 ONTs belong to three manufacturers A/B/C.
其中,A厂家的ONT有两种业务配置,分别为配置了Internet业务或Internet业务和语音业务;Among them, the ONT of manufacturer A has two service configurations, namely Internet service or Internet service and voice service;
B厂家的ONT配置了Internet业务和IPTV业务;Manufacturer B's ONT is configured with Internet services and IPTV services;
C厂家的ONT配置了Internet和语音业务。Manufacturer C's ONT is configured with Internet and voice services.
根据第一OLT管理的ONT的第一信息和第一OLT管理的ONT的业务配置选取第一ONT,第一ONT为第一OLT管理的ONT的代表性ONT。A first ONT is selected 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, where the first ONT is a representative ONT of the ONTs managed by the first OLT.
可选的,第一ONT中任两个ONT的业务配置不同。Optionally, the service configurations of any two ONTs in the first ONT are different.
可选的,第一ONT中人两个ONT属于不同的厂商。Optionally, two ONTs in the first ONT belong to different manufacturers.
示例性的,第一ONT中可以包括ONT1、ONT2、ONT3和ONT4。For example, the first ONT may include ONT1, ONT2, ONT3 and ONT4.
其中,ONT1对应的第一业务为Internet业务;Among them, the first service corresponding to ONT1 is the Internet service;
ONT2对应的第一业务为Internet业务和语音业务;The first services corresponding to ONT2 are Internet services and voice services;
ONT3对应的第一业务为Internet和IPTV业务;The first services corresponding to ONT3 are Internet and IPTV services;
ONT4对应的第一业务为Internet和语音业务。The first service corresponding to ONT4 is Internet and voice service.
可以理解的是,此处对第一ONT的选取方式仅为示例,意在说明,第一ONT为第一OLT在对第一OLT管理的ONT中进行数据提取,获得的具有代表性的ONT,在实际应用中,应结合具体情况进行选取,此处不做限制。It can be understood that the selection method of the first ONT here is only an example. It is intended to illustrate that the first ONT is a representative ONT obtained by the first OLT extracting data from the ONT managed by the first OLT. In practical applications, selection should be made based on specific conditions, and there are no restrictions here.
本申请实施例中,通过提取第一OLT管理的ONT的特征,选取第一OLT管理的ONT中具有代表性的ONT作为第一ONT,减少了模拟ONT的数量,提升了互通测试的效率。In the embodiment of this application, by extracting the characteristics of the ONTs managed by the first OLT and selecting a representative ONT among the ONTs managed by the first OLT as the first ONT, the number of simulated ONTs is reduced and the efficiency of interoperability testing is improved.
702、第一OLT获取第一业务信息;702. The first OLT obtains the first business information;
703、第一OLT获取第二配置文件;703. The first OLT obtains the second configuration file;
704、第一OLT生成根据第二配置文件和第一业务信息生成第二业务信息;704. The first OLT generates second service information based on the second configuration file and the first service information;
705、第一OLT判断第二配置文件与第一OLT是否适配;705. The first OLT determines whether the second configuration file is compatible with the first OLT;
706、第一OLT生成第一警示信息;706. The first OLT generates the first warning information;
707、第一OLT保存第一业务信息和第二业务信息。707. The first OLT saves the first service information and the second service information.
本申请实施例中,步骤702至707与前述图2中的步骤201至步骤206类似,此处不在赘述。In the embodiment of the present application, steps 702 to 707 are similar to the aforementioned steps 201 to 206 in Figure 2 and will not be described again here.
本申请实施例中,通过提取第一OLT管理的ONT的特征,从第一OLT管理的ONT中选取ONT作为第一ONT,根据第一OLT管理的ONT的特征进行采样模拟,减少了第一ONT的数量,提升了互通测试的测试效率。In the embodiment of the present application, by extracting the characteristics of the ONTs managed by the first OLT, an ONT is selected from the ONTs managed by the first OLT as the first ONT, and sampling simulation is performed according to the characteristics of the ONTs managed by the first OLT, thereby reducing the number of first ONTs and improving the test efficiency of the interoperability test.
以上对本申请实施例提供的互通测试的方法进行了介绍,下面结合附图对本申请实施例提供的第一OLT和计算机可读写存储介质进行介绍。The interoperability test method provided by the embodiment of the present application has been introduced above. The first OLT and the computer readable and writable storage medium provided by the embodiment of the present application will be introduced below with reference to the accompanying drawings.
请参阅图8,图8为本申请实施例提供的第一OLT的一种结构示意图。Please refer to FIG. 8 , which is a schematic structural diagram of the first OLT provided by an embodiment of the present application.
第一OLT包括:The first OLT includes:
获取单元801,用于获取第一业务信息,所述第一业务信息为第一业务在第一光网络终端ONT上运行时生成的业务信息,所述第一业务在所述第一ONT上运行时,所述第一光线路终端OLT的配置文件为第一配置文件,所述第一OLT管理所述第一ONT;An acquiring unit 801 is configured to acquire first service information, where the first service information is service information generated when a first service is running on a first optical network terminal ONT, when the first service is running on the first ONT, a configuration file of the first optical line terminal OLT is a first configuration file, and the first OLT manages the first ONT;
所述获取单元801,还用于获取第二配置文件,所述第二配置文件为所述第一OLT的配置文件;The obtaining unit 801 is also used to obtain a second configuration file, where the second configuration file is the configuration file of the first OLT;
生成单元802,用于根据所述第二配置文件和所述第一业务信息生成第二业务信息,所述第二业务信息为所述第一业务在所述第一ONT的虚拟ONT上运行时生成的业务信息,所述第一业务在所述第一ONT的虚拟ONT上运行时,所述第一OLT的配置文件为所述第二配置文件;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 when the first service is run on the virtual ONT of the first ONT. Generated service information, when the first service is run on the virtual ONT of the first ONT, the configuration file of the first OLT is the second configuration file;
判断单元803,用于根据所述第一业务信息和所述第二业务信息判断所述第二配置文件与所述第一OLT是否适配。The judging unit 803 is 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.
可选的,所述判断单元803,具体用于:Optionally, the judgment unit 803 is specifically used for:
判断所述第一业务信息与所述第二业务信息是否相同;Determine whether the first service information and the second service information are the same;
若所述第一业务信息与所述第二业务信息相同,所述第二配置文件与所述第一OLT适配;If the first service information is the same as the second service information, the second configuration file is adapted to the first OLT;
若所述第一业务信息与所述第二业务信息不同,所述第二配置文件与所述第一OLT不适配。If the first service information is different from the second service information, the second configuration file is not suitable for the first OLT.
可选的,所述生成单元802,还用于在所述第一业务信息与所述第二业务信息不同时,生成第一警示信息,第一警示信息指示所述第一业务信息与所述第二业务信息不同。Optionally, the generating unit 802 is further configured to generate first warning information when the first service information is different from the second service information, wherein the first warning information indicates that the first service information is different from the second service information.
可选的,所述第一OLT,还包括保存单元804;Optionally, the first OLT further includes a storage unit 804;
所述保存单元804,用于在所述第一业务信息与所述第二业务信息相同时,保存所述第一业务信息和所述第二业务信息。The saving unit 804 is configured to save the first service information and the second service information when the first service information and the second service information are the same.
可选的,所述第一ONT包括至少两个ONT。Optionally, the first ONT includes at least two ONTs.
可选的,所述至少两个ONT中任两个ONT的第一业务不同。Optionally, the first services of any two of the at least two ONTs are different.
可选的,所述至少两个ONT中任两个ONT的第一信息不同,所述第一信息指示ONT的厂商。Optionally, the first information of any two of the at least two ONTs is different, and the first information indicates the manufacturer of the ONT.
请参阅图9,图9为本申请实施例提供的第一OLT的另一种结构示意图。Please refer to FIG. 9 , which is another schematic structural diagram of the first OLT provided by an embodiment of the present application.
第一OLT900上可以为图2或图7中对应实施例中对应单元或模块,用于实现图8中各单元或模块的功能,具体的,第一OLT900由一个或多个服务器实现,第一OLT900可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(centralprocessing units,CPU)922(例如,一个或一个以上中央处理器)和存储器932,一个或一个以上的存储介质930(例如一个或一个以上存储设备)。其中,存储器932和存储介质930可以是短暂存储或持久存储。存储在存储介质930的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对第一OLT900中的一系列指令操作。更进一步地,中央处理器922可以设置为与存储介质930通信,在第一OLT900上执行存储介质930中的一系列指令操作。The first OLT 900 may be the corresponding unit or module in the corresponding embodiment in Figure 2 or Figure 7, used to implement the functions of each unit or module in Figure 8. Specifically, the first OLT 900 is implemented by one or more servers. The first The OLT 900 may vary greatly due to different configurations or performance, and may include one or more central processing units (CPU) 922 (for example, one or more central processors) and memory 932, one or more Storage medium 930 (eg, one or more storage devices). Among them, the memory 932 and the storage medium 930 may be short-term storage or persistent storage. The program stored in the storage medium 930 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the first OLT 900 . Furthermore, the central processor 922 may be configured to communicate with the storage medium 930 and execute a series of instruction operations in the storage medium 930 on the first OLT 900 .
第一OLT900还可以包括一个或一个以上电源926,一个或一个以上有线或无线网络接口950,和/或,一个或一个以上输入输出接口958。The first OLT 900 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 .
本申请实施例中,中央处理器922,用于执行图2或图7对应实施例中第一OLT执行的方法。In this embodiment of the present application, the central processor 922 is used to execute the method executed by the first OLT in the corresponding embodiment of FIG. 2 or FIG. 7 .
需要说明的是,中央处理器922还可以用于执行与本申请中图2或图7对应的方法实施例中第一OLT执行的任意一个步骤,具体内容可参见本申请前述所示的方法实施例中的叙述,此处不再赘述。It should be noted that the central processor 922 can also be used to execute any step performed by the first OLT in the method embodiment corresponding to Figure 2 or Figure 7 in this application. For specific content, please refer to the method implementation shown above in this application. The description in the example will not be repeated here.
本申请实施例还提供一种计算机可读存储介质,包括计算机可读指令,当计算机可读指令在计算机上运行时,使得计算机执行如前述方法实施例所示任一项实现方式。Embodiments of the present application also provide a computer-readable storage medium, which includes computer-readable instructions. When the computer-readable instructions are run on a computer, they cause the computer to execute any of the implementations shown in the foregoing method embodiments.
本申请实施例还提供的一种计算机程序产品,计算机程序产品包括计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行如前述方法实施例所示任一项实现方式。The present application also provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed on a computer, the computer executes any one of the implementation methods shown in the aforementioned method embodiments.
本申请还提供一种芯片或芯片系统,该芯片可包括处理器。该芯片还可包括存储器(或存储模块)和/或收发器(或通信模块),或者,该芯片与存储器(或存储模块)和/或收发器(或通信模块)耦合,其中,收发器(或通信模块)可用于支持该芯片进行有线和/或无线通信,存储器(或存储模块)可用于存储程序或一组指令,该处理器调用该程序或该组指令可用于实现上述方法实施例、方法实施例的任意一种可能的实现方式中由终端或者网络设备执行的操作。该芯片系统可包括以上芯片,也可以包含上述芯片和其他分立器件,如存储器(或存储模块)和/或收发器(或通信模块)。This application also provides a chip or chip system, and the chip may include a processor. The chip may also include a memory (or storage module) and/or a transceiver (or communication module), or the chip may be coupled with a memory (or storage module) and/or a transceiver (or communication module), where the transceiver ( or communication module) can be used to support the chip to perform wired and/or wireless communications. The memory (or storage module) can be used to store a program or a set of instructions. The processor can call the program or the set of instructions to implement the above method embodiments. Operations performed by the terminal or network device in any possible implementation of the method embodiment. The chip system may include the above chip, or may include the above chip and other discrete devices, such as a memory (or storage module) and/or a transceiver (or communication module).
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can 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 can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,read-onlymemory)、随机存取存储器(RAM,random access memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is 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 execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), magnetic disk or optical disk and other media that can store program code.
Claims (16)
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 |
---|---|---|
CN109361562B (en) | Automatic testing method based on associated network equipment access | |
CN108399114B (en) | System performance testing method and device and storage medium | |
EP3886367B1 (en) | Automating 5g slices using real-time analytics | |
US8737980B2 (en) | End to end application automatic testing | |
CN111782524B (en) | Application testing method and device, storage medium and electronic device | |
CN101150463B (en) | Testing method and system | |
US20140365196A1 (en) | Infrastructure Model Generation System And Method | |
CN109600280B (en) | Pressure testing system, method, device and computer readable storage medium | |
CN108111364B (en) | Service system testing method and device | |
CN112948195B (en) | Interface testing method, device, electronic equipment and storage medium | |
CN111211934B (en) | Cluster remote communication test method and system | |
CN106708748B (en) | Method and system for improving mounting performance of OpenStack block storage volume | |
CN106776346B (en) | Test method and device of CCMTS (China center testing System) equipment | |
CN115542875A (en) | A vehicle detection method and related equipment based on SOA service | |
CN113364820A (en) | Equipment control method and device of Internet of things service system | |
CN117792953A (en) | Intercommunication test method and equipment | |
CN108009086A (en) | System automation test method with function study is decomposed based on use-case | |
CN111221687B (en) | Cloud storage testing system and method | |
CN109286692A (en) | A kind of method of configuration server IPMI static ip address | |
CN115904388A (en) | Application program protocol analysis method, device, equipment and storage medium | |
CN115168203A (en) | Interface simulation method, device, system, computer equipment and storage medium | |
CN114816574A (en) | A method, system, device and storage medium for BMC adaptation to multi-configuration PCIE devices | |
CN115357493A (en) | Test method, test device, electronic equipment and storage medium | |
CN110609922B (en) | A comprehensive calibration method and system based on the Internet | |
CN112650815A (en) | Method and device for synchronizing environmental data, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication |