An ONU automatic registration system based on OpenACS+Selenium
The automatic registration function of ONU is realized through the OpenACS+Selenium system, which solves the problem of registration function verification in ONU R&D and commissioning, provides automated testing methods, and improves verification efficiency and accuracy.
Patent Information
- Application Number
- CN202111446434.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-11-30
AI Technical Summary
During the ONU R&D and commissioning process, it is difficult to fully verify the service registration function, and the existing technology lacks automated testing methods, resulting in low verification efficiency.
Adopt an ONU automatic registration system based on OpenACS+Selenium, simulate user operations through the OpenACS open source framework and Selenium automation module, and realize the ONU automatic registration process, including deploying the OpenACS server module, configuring the work order script and service address, starting the Selenium module, and obtaining the device Identification number, and configure and register it on the ONU's WEB management page to realize the interaction between ONU and OpenACS.
It realizes automated testing of the ONU registration function, supports manual-free operation and cyclic operation, improves the verification efficiency in the R&D and commissioning phase, and ensures full verification of the registration function.
Smart Images

Figure CN114185779B
Abstract
Description
Technical Field
[0001] The invention relates to the field of automated testing, in particular to an OpenACS+Selenium-based ONU automatic registration system. Background Art
[0002] With the rapid development of the three-network convergence service, PON technology has become a hot topic of common concern for broadband operators and the main technology for implementing FTTB / FTTH. Among them, ONU, as the user service bearing terminal in the PON system, must first undergo service registration when actually applied on the user side. The upper-layer management platform remotely sends the service configuration to the local area to realize the user-side service activation, so service registration is a very important function of ONU. However, the service registration scenario involves the operator's upper-layer management platform and work order system, which are usually only fully qualified when the ONU is actually installed in the home. It is difficult to fully verify it during the ONU R&D and commissioning process. Considering that the local operation of ONU registration is implemented through the WEB, the WEB automation tool can be used to replace the manual operation, and the open source framework OpenACS can simulate the work order script, so as to realize the automated test scenario of ONU service registration and ensure the full verification of the registration function. Summary of the invention
[0003] The purpose of the present invention is to overcome the deficiencies of the prior art and provide an ONU automatic registration system based on OpenACS+Selenium, comprising a server module of the OpenACS open source framework, a Selenium automation module, and a web management module;
[0004] Deploy the server module of the OpenACS open source framework, and configure the work order script, service address and authentication user password for the server module of the OpenACS open source framework;
[0005] Start the Selenium automation module and log in to the ONU's WEB management module to obtain the device identification number;
[0006] Log in to the OpenACS WEB management page of the server module of the OpenACS open source framework, and write the obtained device identification number into the work order script of the server module of the OpenACS open source framework;
[0007] Log in to the ONU's WEB management page and configure the ONU's management WAN, service address, and authentication user password;
[0008] Log in to the ONU's WEB registration page and configure the logical ID to register. During the registration process, the ONU interacts with the server module of the OpenACS open source framework, and OpenACS sends service parameters to the ONU, and the registration is completed.
[0009] Preferably, the Selenium automation module includes an information collection module, an ACS configuration module, an ONU configuration module, and a LOID registration module, and the information collection module, ACS configuration module, ONU configuration module, and LOID registration module are connected in sequence.
[0010] Preferably, the Selenium automation module is used to simulate a user operating a browser.
[0011] An automatic registration method of an ONU automatic registration system based on OpenACS+Selenium comprises the following steps:
[0012] Step 1: Deploy the open ACS server and obtain the corresponding ACS service information;
[0013] Step 2, using the Selenium automation module to simulate the user's operation on the browser, including logging in to the ONU's WEB management module to obtain the device identification number; logging in to the OpenACS WEB management page of the server module of the OpenACS open source framework, and writing the obtained device identification number into the work order script of the server module of the OpenACS open source framework; logging in to the ONU's WEB management page, configuring the ONU's management WAN, service address, and authentication user password; logging in to the ONU's WEB registration page, and configuring the logical ID for registration;
[0014] Step 3: During the registration process, the ONU interacts with the server module of the OpenACS open source framework, and OpenACS sends service parameters to the ONU, and the registration is completed.
[0015] The beneficial effects of the present invention are: providing an automated ONU registration system, which does not require manual operation during operation, supports automatic cyclic operation, is not limited to the actual application scenarios of operators, and can be deployed in an ONU R&D test environment, so that the ONU registration function can complete a large number of sufficient verifications in the R&D and commissioning stage. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is an ONU automatic registration system based on OpenACS+Selenium;
[0017] Figure 2 This is a schematic diagram of the principle of the Selenium automation module. DETAILED DESCRIPTION
[0018] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings, but the protection scope of the present invention is not limited to the following.
[0019] like Figure 1 As shown, an ONU automatic registration system based on OpenACS+Selenium includes a server module of the OpenACS open source framework, a Selenium automation module, and a web management module;
[0020] Deploy the server module of the OpenACS open source framework, and configure the work order script, service address and authentication user password for the server module of the OpenACS open source framework;
[0021] Start the Selenium automation module and log in to the ONU's WEB management module to obtain the device identification number;
[0022] Log in to the OpenACS WEB management page of the server module of the OpenACS open source framework, and write the obtained device identification number into the work order script of the server module of the OpenACS open source framework;
[0023] Log in to the ONU's WEB management page and configure the ONU's management WAN, service address, and authentication user password;
[0024] Log in to the ONU's WEB registration page and configure the logical ID to register. During the registration process, the ONU interacts with the server module of the OpenACS open source framework, and OpenACS sends service parameters to the ONU, and the registration is completed.
[0025] The Selenium automation module comprises an information collection module, an ACS configuration module, an ONU configuration module and a LOID registration module, and the information collection module, the ACS configuration module, the ONU configuration module and the LOID registration module are connected in sequence.
[0026] The Selenium automation module is used to simulate a user operating a browser.
[0027] An automatic registration method of an ONU automatic registration system based on OpenACS+Selenium comprises the following steps:
[0028] Step 1: Deploy the open ACS server and obtain the corresponding ACS service information;
[0029] Step 2, using the Selenium automation module to simulate the user's operation on the browser, including logging in to the ONU's WEB management module to obtain the device identification number; logging in to the OpenACS WEB management page of the server module of the OpenACS open source framework, and writing the obtained device identification number into the work order script of the server module of the OpenACS open source framework; logging in to the ONU's WEB management page, configuring the ONU's management WAN, service address, and authentication user password; logging in to the ONU's WEB registration page, and configuring the logical ID for registration;
[0030] Step 3: During the registration process, the ONU interacts with the server module of the OpenACS open source framework, and OpenACS sends service parameters to the ONU, and the registration is completed.
[0031] Specifically, the WEB automation tool Selenium can simulate the user's operation on the browser. The open source framework OpenACS supports the full set of RPC methods required for the ONU registration function, and both OpenACS and ONU support WEB-based management. Based on the above characteristics, Selenium is used to automatically configure the Web interface of OpenACS and ONU, thereby realizing the automatic registration function of ONU. The specific operation process is as follows:
[0032] (1) Deploy the server of the OpenACS open source framework, configure the work order script, service address and authentication user password
[0033] (2) Start the Selenium automation program, log in to the ONU WEB management page, and obtain the device identification number
[0034] (3) The Selenium program automatically runs, logs in to the OpenACS WEB management page, and writes the device identification number obtained in step 2 into the work order script
[0035] (4) The Selenium program automatically runs, logs in to the ONU's WEB management page, configures the ONU's management WAN, and configures the service address and authentication user password in step 1
[0036] (5) The Selenium program runs automatically, logs in to the ONU WEB registration page, and configures the logical ID for registration.
[0037] (6) During the registration process, the ONU interacts with the OpenACS server, and OpenACS sends service parameters to the ONU.
[0038] The web automation tool used in this solution is Selenium, which can also be replaced by other similar tools such as QTP.
[0039] The above is only a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art shall not deviate from the spirit and scope of the present invention, and shall be within the scope of protection of the claims attached to the present invention.
Claims
1. An ONU automatic registration system based on OpenACS+Selenium, It is characterized in that Includes the server module, Selenium automation module, and web management module of the OpenACS open source framework; Deploy the server module of the OpenACS open source framework, and configure the work order script, service address and authentication user password for the server module of the OpenACS open source framework; Start the Selenium automation module and log in to the ONU's WEB management module to obtain the device identification number; Log in to the OpenACS WEB management page of the server module of the OpenACS open source framework, and write the obtained device identification number into the work order script of the server module of the OpenACS open source framework; Log in to the ONU's WEB management page and configure the ONU's management WAN, service address, and authentication user password; Log in to the ONU's WEB registration page and configure the logical ID to register. During the registration process, the ONU interacts with the server module of the OpenACS open source framework, and OpenACS sends service parameters to the ONU, and the registration is completed. The Selenium automation module comprises an information collection module, an ACS configuration module, an ONU configuration module and a LOID registration module, which are connected in sequence; the Selenium automation module is used to simulate a user operating a browser.
2. An automatic registration method for the ONU automatic registration system based on OpenACS+Selenium according to claim 1, It is characterized in that The steps include: Step 1: Deploy the open ACS server and obtain the corresponding ACS service information; Step 2: Use the Selenium automation module to simulate the user's operation on the browser, including logging in to the ONU's WEB management module to obtain the device identification number; logging in to the OpenACS WEB management page of the server module of the OpenACS open source framework, and writing the obtained device identification number into the work order script of the server module of the OpenACS open source framework; Log in to the ONU's WEB management page, configure the ONU's management WAN, service address, and authentication user password; log in to the ONU's WEB registration page, configure the logical ID for registration; Step 3: During the registration process, the ONU interacts with the server module of the OpenACS open source framework, and OpenACS sends service parameters to the ONU, and the registration is completed.
Citation Information
Patent Citations
Registration certification method and device and network system
CN107508707A
ONU (optical network unit) one-stop traffic testing system and method
CN107835110A
Method and system for logging in tax system at cloud, and data interface
CN110493219A
ONU automatic registration method and device
CN111328055A
Method for realizing automatic service opening through EPON ONU fiber insertion
CN112260852A
