PON board energy-saving power-off automatic configuration method and system
Through automated configuration methods and systems, automatic batch analysis and power-down operation of the PON board is solved, and the problem of manual analysis in the prior art is difficult to save energy in energy, and efficient equipment energy-saving management and resource utilization are achieved.
Patent Information
- Application Number
- CN202411781708.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-05
- Publication Date
- 2025-03-18
AI Technical Summary
The existing technology lacks an automated PON board energy-saving configuration method, which makes manual analysis time-consuming and labor-intensive, and it is difficult to accurately analyze the energy-saving situation of inefficient equipment, resulting in idle port distribution and idle ports, resulting in wasteful use of dynamic ring resources.
It provides an automated configuration method and system for energy-saving power-down of PON boards. By manually selecting energy-saving equipment, verifying and analyzing energy-saving boards, generating a list of energy-saving boards and performing energy-saving operations, it realizes automatic batch analysis and automatic power-down operation of PON boards.
It realizes automatic energy-saving management of PON boards, avoids the risk of manual misoperation, shortens the energy-saving time of power down, improves the energy-saving efficiency of equipment, and reduces labor costs.
Smart Images

Figure CN119653268A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wired access communication, and in particular to a method and system for automatically configuring power-off of a PON board for energy saving. Background Art
[0002] At present, up to 41% of the world's carbon emissions come from power-related industries, and my country's carbon emissions from power-related industries are as high as 48%. Therefore, the key goal of achieving zero carbonization and carbon neutrality is to decarbonize electricity and reduce excessive consumption of electricity. As the leader in the communications industry, telecom operators have a large number of redundant gigabit ports in the existing network equipment in Fujian Province with the rapid development of gigabit services. There is a lack of automatic energy-saving configuration methods and devices for PON boards. It is time-consuming and labor-intensive to analyze the energy-saving needs of inefficient equipment through human analysis, and it is difficult to accurately analyze the energy-saving needs of inefficient equipment, resulting in the existing network. There are contradictions such as scattered idle ports and idling of inefficient business boards, resulting in the waste of dynamic ring resources. Therefore, it is urgent to solve the problem of difficult and high cost of electricity use for enterprises through automated and intelligent analysis of possible energy-saving equipment and energy-saving operations, and to efficiently promote the development of gigabit services while reducing carbon emissions. Summary of the invention
[0003] In view of this, the purpose of the present invention is to provide a PON board energy-saving power-off automatic configuration method and system, to achieve automatic batch analysis and automatic power-off operation of PON boards, to avoid the risk of manual misoperation, and to improve the energy-saving efficiency of boards.
[0004] To achieve the above object, the present invention adopts the following technical solution: a PON board energy-saving power-off automatic configuration method, comprising the following steps: Step S1: Manually select energy-saving devices: select the device information of the inefficient service board to be saved from the resource list, including the device IP, device IP, device manufacturer, and device model; Step S2: Energy-saving board verification analysis: obtain the status information of the board ports of the device through script calls, further analyze the batch data, and conclude that if there are users on the ports, the board power-off energy saving is not supported; if there are no online users on all the ports in use, the energy-saving board information is obtained; Step S3: Generate energy-saving board list: Generate energy-saving board list according to equipment, model, and energy-saving board number in different cities; Step S4: Execute energy-saving operation: perform board energy-saving operation on the energy-saving board list data.
[0005] The present invention also provides a PON board energy-saving power-off automatic configuration device, which runs the PON board energy-saving power-off automatic configuration method, including an energy-saving device resource selection module, an energy-saving board card verification and analysis module, an energy-saving board card list generation module, and a power-off operation execution module; The energy-saving device resource selection module is used to select the device that needs energy saving and the board information; The energy-saving board verification and analysis module is used to log in to the device to collect board information status, board port information status, whether there is a user on the port in use, and analyze whether there is an online user on the board port. If the board port is idle, the board is powered off to save energy; The energy-saving board list generation module is used to generate energy-saving board information; The power-off operation execution module automatically performs construction operations on the energy-saving board list data; if there are users in use, the power-off energy-saving operation is not performed; if there are no users in use, the board power-off energy-saving operation is performed.
[0006] The present invention also provides a program deployment method with high efficiency, which runs the above-mentioned PON board energy-saving power-off automation configuration method, and deploys collection servers and WEB servers in cities; the collection server is used to collect device information and configure and send it; the WEB server is connected to the collection server for visual presentation.
[0007] Compared with the prior art, the present invention has the following beneficial effects: the present invention uses the OLT equipment information on the network management side as the basic data, selects the energy-saving information to perform batch automatic energy-saving analysis on the equipment, replaces the manual analysis of single-unit instruction viewing by manually logging into the equipment, and reduces labor costs. It realizes the automatic management of power-off energy saving of the PON board of the OLT equipment, avoids the risk of manual misoperation, shortens the power-off energy saving time, and improves the energy-saving efficiency of the equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 An exemplary diagram of a device according to a preferred embodiment of the present invention; Figure 2 This is a diagram showing an example of deployment of a preferred embodiment of the present invention; Figure 3 This is a flow chart of a method for automatically configuring a PON board for energy saving and power-off according to a preferred embodiment of the present invention; Figure 4 This is a screenshot of the HW5680 model OID node execution instruction in the preferred embodiment of the present invention; Figure 5 This is a schematic diagram of the display mac-address board 0 / 1 parsing result of a preferred embodiment of the present invention. DETAILED DESCRIPTION
[0009] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0010] It should be noted that the following detailed descriptions are illustrative and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.
[0011] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application; as used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, they indicate the presence of features, steps, operations, devices, components and / or their combinations.
[0012] refer to Figure 1-5 , a PON board energy-saving power-off automatic configuration method, comprising the following steps: Step S1: Manually select energy-saving devices: Select the device information of the inefficient business board to be saved from the resource list, including device IP, device IP, device manufacturer, device model, etc.
[0013] Step S2: Energy-saving board verification analysis: Get the status of the board's ports and other information through script calls, and further analyze the batch data to find that if there are users on the ports, the board does not support power-off energy saving. If there are no users on the network for all the ports in use, the energy-saving board information is obtained.
[0014] Step S3: Generate energy-saving board list: Generate energy-saving board list according to equipment, model, and energy-saving board number in different cities.
[0015] Step S4: Execute energy-saving operation: perform board energy-saving operation on the energy-saving board list data.
[0016] A PON board energy-saving power-off automatic configuration device, comprising the following modules: 1. Energy-saving equipment resource selection module: used to select the equipment that needs energy saving, as well as information such as boards and other situations.
[0017] Select information: city, device IP, device manufacturer, device model, device board number, and device board type.
[0018] 2. Energy-saving board verification and analysis module: Log in to the device to collect board information status, board port information status, whether there are users on the ports in use, etc., analyze whether there are online users on the ports attached to the board. If they are idle, the board can be powered off to save power.
[0019] 1) According to the selected device information, it is used to collect the status of the ports connected to the board.
[0020] 2) Collect the number of users in use on the ports connected to the board.
[0021] 3) Further process and save the above data.
[0022] 3. Energy-saving board list generation module: used to associate the selected energy-saving data with the detailed information in step S2 to generate an energy-saving board list.
[0023] 1) There are no ports in use on the board.
[0024] 2) The board is connected to a used port and there is no user.
[0025] 4. Execute power-off operation module: automatically perform construction operations on the list of energy-saving boards. If there are users who do not perform power-off energy-saving operations, otherwise, the board power-off energy-saving operations will be performed.
[0026] Specifically, the energy-saving function objects include: automatic analysis and processing of energy-saving boards of equipment, including equipment information collection, energy-saving board analysis, configuration distribution and other operations. Support major mainstream equipment manufacturers on the market, such as ZTE and Huawei. Support energy saving of Gigabit PON boards and 10 Gigabit PON boards in idle state of OLT equipment. The energy-saving scope includes support for major models of mainstream equipment manufacturers such as Huawei and ZTE, including C300, C600, HW5800, HW5680, etc.
[0027] Specific reference Figure 3 , the following is the energy-saving configuration operation process: 1. Equipment energy-saving information selection: Select the equipment information that needs energy saving. Specific information includes: city, equipment IP, equipment model, equipment manufacturer, equipment name, etc.
[0028] Specifically, the collected information is queried and output through the WEB page, including: city, device IP, device manufacturer, device model, PON board number, and board type.
[0029] City: Drop-down box, required option.
[0030] Equipment manufacturer: Drop-down box, required option.
[0031] Device model: drop-down box, required option.
[0032] IP address: text input box, optional, supports fuzzy query matching.
[0033] Equipment manufacturer and model Output list information: city, device IP, device manufacturer and model, device board number, board type, and operation.
[0034] 2. Energy-saving board verification and analysis: Service PON port verification: CLI command to obtain the status (UP, DOWN) and other information of the port connected to the device board.
[0035] PON port user verification: If there is a PON port in use, further determine whether there is a user. If the user does not exist, the port user status data is generated and the port user status list is saved; if the user exists, the user status list is not saved.
[0036] Specifically: (1) By calling the script getOltCartportL1, the current port status of the board is obtained, and a temporary batch number for the current operation is generated: Order_num, in the format of YYYYMMDDMMSS+1, which becomes effective after being stored in the warehouse.
[0037] (2) Deploy a data collection server, and collect the board and port information of each device by matching the device manufacturer and model, verify whether the PON port is in use, and the number of users connected to the port in use.
[0038] (3) Verify the port status of the port connected to the energy-saving board and store the port status in (fsti_resource_card_port).
[0039] Get the port status through the CLI command. Taking Huawei devices as an example, the specific implementation is as follows: HW5680 model OID node: 1.3.6.1.4.1.2011.6.145.1.1.1.52.1.1, specific execution instructions: snmpwork -v 2c -c 'A_private1'172.27.108.2 1.3.6.1.4.1.2011.6.145.1.1.1.52.1.1 to get the screenshot, such as Figure 4 As shown; Parse the port sequence information and corresponding INTERGER type status information after SNMPv2-SMI::enterprises.2011.6.128.1.1.2.31.1.5. The following is an example of a port parsing situation: Parsing port result: 0 / 8 / 1 Status: 1 = up 2 = down Type: EPON (126): 1111110, 7 bits The frame number is 0: 000000, 6 bits Slot number is 8: 001000, 6 bits The slot number is 1:00010, 5 bits Reserved bit: 00000000, 8 bits The final ifIndex binary code is: 111111000000000100000100000000000 The corresponding decimal value is: 4227924224 By obtaining the port number as 0 / 8 / 1, the board number as 8, and the port status as in use, match the input board to confirm the corresponding board port and save the corresponding field information of fsti_resource_card_port.
[0040] (4) Query the number of users connected to the port by batch number, and store the number of users connected to the port in (fsti_port_user).
[0041] Use the CLI command to verify the user status of the port in UP state. Taking Huawei devices as an example, the specific implementation is as follows: Script to obtain the number of users under the port: getOltCartportUse1. Query the board port status table (fsti_resource_card_port) according to the batch number. Log in to the device if the Portstatus field is up, and collect the information about the users of the ports under the board.
[0042] Input parameter: order_num is the batch number Output parameter: result is the result, success or failure Execute the command: display mac-address board 0 / 1. The parsing result is as follows: Figure 5 As shown: Parsing rules: Parse the MAC column and F / S / P column, parse through regular expressions, and match whether the port has a MAC. If a MAC exists, it means that a user is using it and it is stored in the port user list table (fsti_port_user).
[0043] (5) Function point table structure description: Card port status table (fsti_resource_card_port): Port user list table (fsti_port_user): Field Name coding type Is it a unique value? illustrate Creation time Create_date date yes Current time batch Order_num varchar yes fsti_resource_card_port.Order_num Device IP Olt_ip varchar no fsti_resource_card_port.ip City areacode varchar no fsti_resource_card_port.areacode Board number S_Card_no varchar no fsti_resource_card_port.Card_no Port Number S_Port_no varchar no fsti_resource_card_port.Port_no 3. Generate energy-saving lists: Analyze and compare data information to obtain energy-saving boards and cards, generate energy-saving lists for boards and cards by city, and generate port closure lists based on idle ports on equipment boards and cards.
[0044] a. Generate the energy-saving board list and call the stored procedure script getjienengorder. The input parameters include: Batch number: Order_num The call will return success or failure; if it returns success, the save operation will be performed (saving the card table fsti_card_jieneng_order).
[0045] b. Further screening of boards, screening of boards with all ports under energy-saving boards in DOWN state, and saving of energy-saving board table (fsti_card_jieneng_order); c. Correlate and analyze the board port status table (fsti_resource_card_port) and the port user list table fsti_port_user, define all the ports without users as idle boards, save the energy-saving board table (fsti_card_jieneng_order), and the status mark Jienengtype=1; if there are users on the downstream ports, the boards are defined as not idle, and the status mark Jienengtype=2.
[0046] d. Function point table structure description: Energy-saving board table (fsti_card_jieneng_order) 4. Board power-off operation: Perform construction operations on the list of energy-saving boards. If there are users in use who do not perform power-off energy-saving operations, otherwise perform board power-off energy-saving operations.
[0047] Through the board energy-saving list fsti_card_jieneng_order, batch energy-saving power-off operations are performed according to the board data of Jienengtype=1.
[0048] Taking the ZTE-C600 device model as an example, the operation is as follows: a). Power off the board: query the device with Jienengtype=1 in the fsti_card_jieneng_order table to obtain the device IP, board number, model and other information. Log in to the device through the SSH protocol, output the CLI command, and execute the command power 1 3 off force. The result after entering the command is as follows: ND-DQ-WHC-OLT-1.MAN.C600#power 1 3 off force The card(s) will be powered down immediately, proceed with poweringoff? [yes / no]:y ..%Info 40420: Power on or off successfully. b). Card status verification: execute the command show card to query the card status and match the Status according to the corresponding slot. Check whether the column status is POWERSAVE. If it is POWERSAVE, energy saving is successful, otherwise it is energy saving failure. At the same time, modify the Order_status field, such as slot 3 Status=POWERSAVE, set fsti_card_jieneng_order.Order_status=1, and log the issued instructions and results into the database.
Claims
1. A method for automatically configuring a PON board to save power, characterized in that: The following steps are involved: Step S1: Manually select energy-saving devices: select the device information of the inefficient service board to be saved from the resource list, including the device IP, device IP, device manufacturer, and device model; Step S2: energy-saving board verification analysis: obtain the status information of the board ports of the device through script calls, further analyze the batch data, and conclude that if the board ports exist, the user does not support power-off of the board for energy saving; If there are no online users on all the ports in use, the information of energy-saving boards can be obtained; Step S3: Generate energy-saving board list: Generate energy-saving board list according to equipment, model, and energy-saving board number in different cities; Step S4: Execute energy-saving operation: perform board energy-saving operation on the energy-saving board list data.
2. A PON board energy-saving power-off automatic configuration device, characterized in that: Running the PON board energy-saving power-off automatic configuration method described in claim 1 above, comprising an energy-saving device resource selection module, an energy-saving board verification and analysis module, an energy-saving board list generation module, and a power-off operation execution module; The energy-saving device resource selection module is used to select the device that needs energy saving and the board information; The energy-saving board verification and analysis module is used to log in to the device to collect board information status, board port information status, whether there is a user on the port in use, and analyze whether there is an online user on the board port. If the board port is idle, the board is powered off to save energy; The energy-saving board list generation module is used to generate energy-saving board information; The power-off operation execution module automatically performs construction operations on the energy-saving board list data; if there is a user in use, no power-off energy-saving operation is performed; If there is no active user, the board will be powered off to save energy.
3. A more efficient program deployment method, characterized in that: In running the PON board energy-saving power-off automation configuration method described in claim 1 above, cities and prefectures deploy collection servers and WEB servers; the collection server is used to collect device information and configure and send it; the WEB server is connected to the collection server for visual presentation.