Optical module adjusting method, device, equipment and medium
By obtaining optical module information, determining the working status and automatically adjusting, abnormal problems in optical module operation and maintenance management are solved, and the effect of rapid response and cost reduction is achieved.
Patent Information
- Application Number
- CN202510147240.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-10
- Publication Date
- 2025-06-10
AI Technical Summary
The existing communication network has shortcomings in the operation and maintenance management of optical modules, resulting in long network interruption time, poor user experience, and high operation and maintenance costs when optical modules transmit and receive light abnormally.
By obtaining the module information of the optical module, determining its working status, and automatically controlling the optical module to solve abnormal situations according to the preset adjustment strategies and control strategies.
It realizes intelligent adjustment and control of optical modules, reduces manpower investment, quickly responds to optical module problems, reduces network interruption time and operation and maintenance costs, and improves user experience.
Smart Images

Figure CN120128261A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of optical module adjustment, and particularly to an optical module adjustment method, device, equipment and medium. Background Art
[0002] In the development process of today's communication networks, optical modules, as key components, their light receiving and emitting performance is crucial for the stable operation of the network. At present, although the adjustable function of the optical module's emission power has been achieved, there are still many problems to be solved in the actual operation and maintenance process.
[0003] On the one hand, for the operation of optical modules, it is still necessary for staff to be on-site. This method not only consumes a large amount of manpower but also has a slow response speed and cannot respond to emergencies in a timely manner. On the other hand, existing technical means are difficult to effectively avoid network obstacles caused by abnormal light receiving and emitting of optical modules.
[0004] Once an abnormal light receiving and emitting situation occurs in the optical module, the entire process from fault detection, location to final recovery is extremely time-consuming, which directly leads to a significant increase in the duration of network interruption. The long-term network interruption seriously affects the user experience and reduces the user's satisfaction with the network service. At the same time, to repair such faults, a large amount of human and material resources need to be invested, resulting in a substantial increase in operation and maintenance costs.
[0005] In summary, the existing communication networks have obvious deficiencies in the operation and maintenance management of optical modules, and there is an urgent need for a complete solution that can analyze and adjust the light receiving and emitting conditions of optical modules in a timely and intelligent manner to ensure network stability, improve user satisfaction, and reduce operation and maintenance costs. Summary of the Invention
[0006] In view of the above problems, embodiments of the present invention are proposed to provide an optical module adjustment method, device, equipment and medium that can overcome or at least partially solve the above problems.
[0007] To solve the above problems, embodiments of the present invention disclose an optical module adjustment method, the method comprising:
[0008] Obtaining module information of an optical module in a communication network; the module information includes performance data;
[0009] Determining the working state of the optical module according to the performance data and a preset optical module working state evaluation criterion;
[0010] Determining the adjustment strategy of the optical module according to the working state and a preset adjustment strategy formulation criterion;
[0011] Determining the control strategy of the optical module according to the adjustment strategy and a preset control strategy formulation criterion;
[0012] Control the optical module according to the control strategy.
[0013] Optionally, determining the working state of the optical module according to the performance data and the preset evaluation criteria for the working state of the optical module includes:
[0014] When the current performance data is greater than or equal to the preset first threshold and less than or equal to the preset second threshold, determine that the working state of the optical module is the normal state;
[0015] When the current performance data is less than the preset first threshold and greater than or equal to the preset third threshold, or
[0016] When the current performance data is greater than the preset second threshold and less than or equal to the preset fourth threshold, determine that the working state of the optical module is the abnormal state;
[0017] When the current performance data is greater than the preset fourth threshold or less than the preset third threshold, determine that the working state of the optical module is the state to be evaluated.
[0018] Optionally, the preset adjustment strategy formulation criteria include a preset adjustment strategy formulation function, and determining the adjustment strategy of the optical module according to the working state and the preset adjustment strategy formulation criteria includes:
[0019] When the working state of the optical module is the abnormal state, obtain the adjustment step size of the optical module parameters;
[0020] When the performance data is less than the preset first data, determine that the adjustment strategy of the optical module is to increase the performance value of the optical module according to the adjustment step size;
[0021] When the performance data is greater than the preset first data, determine that the adjustment strategy of the optical module is to decrease the performance value of the optical module according to the adjustment step size;
[0022] Optionally, determining the adjustment strategy of the optical module according to the working state and the preset adjustment strategy formulation criteria includes:
[0023] When the working state is the state to be evaluated, determine the work order to be evaluated according to the performance data;
[0024] Output the work order to be evaluated to the user so that the user can determine the adjustment strategy of the optical module according to the work order to be evaluated.
[0025] Optionally, the module information further includes the address information of the optical module, and determining the work order to be evaluated according to the performance data includes:
[0026] Determine the Internet Protocol (IP) address of the optical module, the port number of the device where the optical module is located, the location of the device, the IP address and port number of the upstream device of the device, and the IP address and port number of the downstream device of the device according to the address information;
[0027] Determine the current received optical power and transmitted optical power of the optical module according to the performance data;
[0028] Determine the IP address of the optical module, the port number of the device where the optical module is located, the location of the device, the IP address and port number of the upstream device of the device, the IP address and port number of the downstream device of the device, and the current received optical power and transmitted optical power of the optical module according to the address information, and determine the work order to be evaluated.
[0029] Optionally, the module information further includes the network environment data of the optical module. Determining the control strategy of the optical module according to the adjustment strategy and the preset control strategy formulation criteria includes:
[0030] Determine the network state of the communication network according to the network environment data;
[0031] Determine the control strategy of the optical module according to the network state, the adjustment strategy and the preset control strategy formulation criteria.
[0032] Optionally, the performance data includes the power of the optical module. Determining the working state of the optical module according to the performance data and the preset optical module working state evaluation criteria includes:
[0033] Obtain the processed power according to the power and the preset performance data sorting rules;
[0034] Determine the working state of the optical module according to the processed power and the preset optical module working state evaluation criteria.
[0035] On the other hand, an embodiment of the present invention also discloses an optical module adjustment device, and the device includes:
[0036] A module information acquisition module, configured to acquire the module information of the optical module in the communication network; the module information includes performance data;
[0037] A working state determination module, configured to determine the working state of the optical module according to the performance data and the preset optical module working state evaluation criteria;
[0038] An adjustment strategy determination module, configured to determine the adjustment strategy of the optical module according to the working state and the preset adjustment strategy formulation criteria;
[0039] A control strategy determination module, configured to determine the control strategy of the optical module according to the adjustment strategy and a preset control strategy formulation criterion;
[0040] An optical module control module, configured to control the optical module according to the control strategy.
[0041] Optionally, the operating state determination module includes:
[0042] A normal state determination sub-module, configured to determine that the operating state of the optical module is a normal state when the current performance data is greater than or equal to a preset first threshold and less than or equal to a preset second threshold;
[0043] An abnormal state determination sub-module, configured to determine that the operating state of the optical module is an abnormal state when the current performance data is less than the preset first threshold and greater than or equal to a preset third threshold, or
[0044] the current performance data is greater than the preset second threshold and less than or equal to a preset fourth threshold;
[0045] A to-be-evaluated state determination sub-module, configured to determine that the operating state of the optical module is a to-be-evaluated state when the current performance data is greater than the preset fourth threshold or less than the preset third threshold.
[0046] Optionally, the adjustment strategy determination module includes:
[0047] An adjustment step size acquisition sub-module, configured to acquire an optical module parameter adjustment step size when the operating state of the optical module is the abnormal state;
[0048] A first adjustment strategy formulation module, configured to determine that the adjustment strategy of the optical module is to increase the performance value of the optical module according to the adjustment step size when the performance data is less than a preset first data;
[0049] A second adjustment strategy formulation module, configured to determine that the adjustment strategy of the optical module is to decrease the performance value of the optical module according to the adjustment step size when the performance data is greater than the preset first data;
[0050] Optionally, the adjustment strategy determination module includes:
[0051] A work order creation sub-module, configured to determine a to-be-evaluated work order according to the performance data when the operating state is a to-be-evaluated operating state;
[0052] A third adjustment strategy formulation sub-module, configured to output the to-be-evaluated work order to a user so that the user can determine the adjustment strategy of the optical module according to the to-be-evaluated work order.
[0053] Optionally, the module information further includes the address information of the optical module. The work order creation sub-module includes:
[0054] A work order information acquisition unit, configured to determine the Internet protocol address of the optical module, the port number of the device where the optical module is located, the location of the device, the Internet protocol address and port number of the upstream device of the device, and the Internet protocol address and port number of the downstream device of the device according to the address information;
[0055] An optical module acquisition unit, configured to determine the current received optical power and transmitted optical power of the optical module according to the performance data;
[0056] A first work order creation unit, configured to determine the Internet protocol address of the optical module, the port number of the device where the optical module is located, the location of the device, the Internet protocol address and port number of the upstream device of the device, the Internet protocol address and port number of the downstream device of the device, and the current received optical power and transmitted optical power of the optical module according to the address information, and determine a work order to be evaluated.
[0057] Optionally, the module information further includes the network environment data of the optical module. The control strategy determination module includes:
[0058] A network status sub-module, configured to determine the network status of the communication network according to the network environment data;
[0059] A first control strategy determination sub-module, configured to determine the control strategy of the optical module according to the network status, adjustment strategy, and preset control strategy formulation criteria.
[0060] Optionally, the performance data includes the power of the optical module. The working state determination module includes:
[0061] A first power processing sub-module, configured to obtain the processed power according to the power and a preset performance data sorting rule;
[0062] A first working state determination sub-module, configured to determine the working state of the optical module according to the processed power and a preset optical module working state evaluation criterion.
[0063] Correspondingly, an embodiment of the present invention discloses an electronic device, including: a processor, a memory, and a computer program stored on the memory and capable of running on the processor. When the computer program is executed by the processor, each step of the above-mentioned embodiment of the optical module adjustment method is implemented.
[0064] Correspondingly, an embodiment of the present invention discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each step of the above embodiment of the optical module adjustment method is implemented.
[0065] The embodiments of the present invention have the following advantages: By obtaining the module information, determining the working state, adjustment strategy, and control strategy of the optical module, the control of the optical module is ultimately realized. This series of operations do not require staff to be on-site and are automatically completed using intelligent analysis and preset standards, greatly saving manpower and being able to quickly respond to possible problems of the optical module and timely handle emergencies. Determine the working state of the optical module according to performance data and preset evaluation criteria. Once an abnormality is found, formulate adjustment and control strategies according to the preset strategy, so as to be able to timely detect and handle the abnormal light emission and reception of the optical module, and effectively avoid network obstacles caused by abnormal light emission and reception of the optical module. Since the abnormal conditions of the optical module can be timely detected and processed, the long-term network interruption caused by abnormal light emission and reception of the optical module is avoided, the duration of network interruption is reduced, thereby improving the user experience and the user's satisfaction with network services.
[0066] The embodiments of the present invention do not require a large number of staff to operate on-site, reducing the labor input; at the same time, the problems of the optical module can be timely processed to avoid the expansion of faults, reducing the material resources required for long-term network interruption and fault repair, and greatly reducing the operation and maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 is a flowchart of the steps of an embodiment of the optical module adjustment method of the present invention;
[0068] Figure 2 is a schematic diagram of a work order to be evaluated in an embodiment of the optical module adjustment method of the present invention;
[0069] Figure 3 is a flowchart of an embodiment of the optical module adjustment method of the present invention;
[0070] Figure 4 is a schematic diagram of optical module communication in an embodiment of the optical module adjustment method of the present invention;
[0071] Figure 5 is a logical implementation diagram of an embodiment of an existing optical module adjustment method;
[0072] Figure 6 is a logical implementation diagram of an embodiment of the optical module adjustment method of the present invention;
[0073] Figure 7 is a structural block diagram of an embodiment of the optical module adjustment device of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0074] To make the above objects, features, and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0075] A communication network is a system for realizing information transmission and exchange. It connects multiple devices with different geographical locations, such as computers, mobile phones, servers, etc., through various communication links, enabling these devices to communicate with each other and share resources.
[0076] A communication network includes multiple components, such as transmission media responsible for physical transmission of information, like optical fibers, cables, radio waves, etc., network nodes for data forwarding, switching, and processing, such as routers, switches, etc., and corresponding various communication protocols.
[0077] The types of communication networks are rich and diverse. Common ones include local area networks, wide area networks, and metropolitan area networks, etc. Communication networks play an extremely important role in modern society and are widely used in various fields, such as Internet services, e-commerce, remote office, intelligent transportation, Internet of Things, etc.
[0078] An optical module is a device that realizes optical-electrical conversion functions in a communication network. It is mainly used to convert electrical signals into optical signals for transmission and convert optical signals back into electrical signals at the receiving end.
[0079] An optical module usually consists of an optical transmitting component, an optical receiving component, a control circuit, and an optical interface, etc. The optical transmitting component is responsible for converting the input electrical signal into an optical signal and sending it out through optical transmission media such as optical fibers; the optical receiving component is the opposite. It receives the optical signal transmitted from the optical fiber and converts it into an electrical signal; the control circuit is used to monitor and manage the working state of the optical module, such as monitoring parameters such as optical power, temperature, etc., and making corresponding adjustments according to these parameters to ensure the stable operation of the optical module; the optical interface provides a connection method with external optical transmission media such as optical fibers.
[0080] Optical modules play an indispensable role in communication networks, especially in high-speed and large-capacity optical fiber communication systems. With the continuous development of communication technologies, the requirements for data transmission speed and capacity are getting higher and higher. Due to their advantages such as high speed, large capacity, and low loss, optical modules are widely used in various scenarios such as data centers, communication base stations, and enterprise networks, and can meet the requirements for fast and stable data transmission in different scenarios.
[0081] One of the core concepts of the embodiments of the present invention is to construct multi-dimensional optical module evaluation control standards, collect optical module information in real time, and evaluate the performance of optical modules according to relevant standards, so as to intelligently complete the process of analyzing and adjusting optical modules without excessive manual intervention.
[0082] Reference Figure 1 , a step flowchart of an embodiment of an optical module adjustment method according to the present invention is shown, which may specifically include the following steps:
[0083] Step 101, obtain module information of the optical module in the communication network; the module information includes performance data;
[0084] In the process of completing the adjustment of the optical module, first, in the communication network, the relevant information contained in each optical module needs to be collected. Performance data is a series of key indicators reflecting the working conditions and capabilities of the optical module. These data are of great significance for understanding whether the optical module is working properly, its working efficiency, etc. Performance data can include data in multiple dimensions such as optical emission power, optical reception sensitivity, data transmission rate, and bit error rate.
[0085] By obtaining this module information containing performance data, it provides a rich and necessary data basis for a series of operations such as subsequent evaluation of the working state of the optical module, formulation of adjustment strategies, and determination of control strategies. Only by accurately and comprehensively mastering this information can intelligent analysis and effective adjustment of the optical transceiver situation of the optical module be achieved.
[0086] In one example, the collection method can be to read the optical module information from the communication network through a Python algorithm designed based on the SNMP (Simple Network Management Protocol) protocol.
[0087] SNMP, namely the Simple Network Management Protocol, is a standard protocol for managing and monitoring devices in an IP network. It aims to provide a simple and efficient way for network administrators to remotely monitor, configure, and manage various devices in the network to ensure the stable and efficient operation of the network.
[0088] SNMP adopts the manager-agent model. The manager is usually a server running network management software, responsible for initiating management operations and collecting information; the agent is a software module running on the managed device such as a router, switch, server, etc., responsible for responding to the requests of the manager and providing relevant information of the device or executing the operations issued by the manager. Communication between the manager and the agent is carried out through the User Datagram Protocol, using two ports, 161 and 162. Among them, port 161 is used for the agent to receive requests from the manager, and port 162 is used for the agent to send asynchronous notifications such as trap messages to the manager.
[0089] Step 102, determine the working state of the optical module according to the performance data and the preset optical module working state evaluation criteria;
[0090] Based on the collected performance data and combined with the preset evaluation criteria, the current working state of the optical module is judged. Based on the performance data of the optical module obtained in step 101 and combined with the preset evaluation criteria for the working state of the optical module, the current working state of the optical module is accurately determined, providing an important basis for formulating subsequent adjustment strategies and control strategies;
[0091] In one example, the working state of the optical module can be divided into a normal working state, an abnormal working state, and a to-be-evaluated working state according to the working state evaluation criteria; the normal working state means that the performance indicators of the optical module fluctuate within a reasonable range and can stably and reliably complete functions such as optoelectronic conversion and data transmission in the communication network; the abnormal working state means that the performance data exceeds the upper limit of the normal range but does not exceed an overly high boundary. For an optical module in this state, it may not cause serious communication failures, but there is also a high risk of failure and needs attention, while the to-be-evaluated working state means that the performance data of the optical module at this time has seriously deviated from the normal range and further evaluation and adjustment are required.
[0092] In one embodiment, step 102 includes the following sub-steps:
[0093] Sub-step S11, when the current performance data is greater than or equal to the preset first threshold and less than or equal to the preset second threshold, determine that the working state of the optical module is the normal state;
[0094] When evaluating the working state of the optical module, an interval range is set for the obtained performance data. The preset first threshold and the preset second threshold define this interval. When the current performance data of the optical module falls within this interval, that is, greater than or equal to the first threshold and less than or equal to the second threshold, it can be determined that the optical module is in the normal working state. According to the different types of performance data, the first threshold and the second threshold can represent different types of thresholds respectively;
[0095] In one example, the performance data can be the optical reception sensitivity, and the corresponding first threshold and second threshold can be the optical reception sensitivity thresholds, that is, the first threshold is the lowest threshold of the optical reception sensitivity within the normal range, and the second threshold is the highest threshold of the optical reception sensitivity within the corresponding normal range. When the optical reception sensitivity data is within the normal interval, it can be determined that the optical module is working normally. The types of the corresponding performance data and the first and second thresholds can also be bit error rate, data transmission rate, temperature, wavelength stability and other indicators.
[0096] Sub-step S12, when the current performance data is less than the preset first threshold and greater than or equal to the preset third threshold, or
[0097] When the current performance data is greater than the preset second threshold and less than or equal to the preset fourth threshold, determine that the working state of the optical module is an abnormal state;
[0098] Sub-step S12 defines the determination conditions for the abnormal working state. When the performance data meets one of two conditions, the optical module is determined to be in an abnormal working state. The first condition is that the performance data is less than the preset first threshold but greater than or equal to the preset third threshold. This indicates that the performance data is below the lower limit of the normal range but not extremely low. The second condition is that the performance data is greater than the preset second threshold but less than or equal to the preset fourth threshold, that is, the performance data exceeds the upper limit of the normal range but not by a large margin. Both of these conditions indicate that the performance indicators of the optical module deviate from the normal working range. Although it may not have caused a serious communication failure yet, it is already in an abnormal state and requires attention and possible corresponding adjustment measures.
[0099] In one example, if the performance data is the optical receiving sensitivity, when it is in the above abnormal range, it may cause problems such as a decrease in the quality of the received signal and bit errors in data transmission, affecting the stability of the communication network.
[0100] Sub-step S13, when the current performance data is greater than the preset fourth threshold or less than the preset third threshold, determine that the working state of the optical module is a state to be evaluated.
[0101] When the current performance data is greater than the preset fourth threshold or less than the preset third threshold, the working state of the optical module is determined to be a state to be evaluated. The preset fourth threshold and the preset third threshold define the extreme range of the performance data.
[0102] The performance data being greater than the preset fourth threshold means that this performance indicator far exceeds the upper limit of the normal working range, which may imply a relatively serious abnormality in the optical module. However, this situation is more complex and cannot be simply directly determined as an ordinary abnormal state. For example, too high optical emission power may be due to a failure in the internal power regulation circuit, but it may also be caused by temporary factors such as external interference.
[0103] And the performance data being less than the preset third threshold indicates that this performance indicator is far below the lower limit of the normal working range. There are also various possible reasons for this extreme situation. For example, extremely low optical receiving sensitivity may be due to a damaged optical detector, but it may also be affected by external environmental factors such as strong electromagnetic interference.
[0104] In these two extreme cases, due to the complexity and uncertainty of the problem, the working state of the optical module is set to the state to be evaluated. This indicates that the optical module needs further in-depth analysis and troubleshooting, and a simple determination of normal or abnormal cannot be made solely based on the currently obtained performance data. Subsequently, more operating parameters, historical data, and even additional detections and tests may be required to accurately judge the actual working condition of the optical module, so as to take appropriate measures for processing and ensure that the optical module can operate stably and reliably in the communication network.
[0105] In one embodiment, one form of manifestation of the evaluation criteria for the working state of the optical module can be:
[0106]
[0107] Where P min and P max correspond to the first threshold and the second threshold respectively, P warn_lower and P warn_upper correspond to the third threshold and the fourth threshold respectively, and P current represents the value of the performance data currently participating in the evaluation. The settings of the first threshold, the second threshold, the third threshold, and the fourth threshold can be set according to service requirements. Here, the first threshold is set to increase by 4 dBm from the reference minimum value of the optical module's performance, the second threshold is set to decrease by 4 dBm from the reference maximum value of the optical module's performance, the third threshold is 1 dBm lower than the first threshold, and the fourth threshold is 1 dBm higher than the second threshold.
[0108] The settings of the first, second, third, and fourth thresholds can also be dynamically set according to the actual situation of the optical module and service requirements.
[0109] In one embodiment, when evaluating the working state of the optical module, the performance data participating in the evaluation can be jointly evaluated from multiple dimensions such as power, bit error rate, sensitivity, and environmental factors of the environment where the optical module is located;
[0110] When evaluating the working state of the optical module, at least one of power, bit error rate, sensitivity, and environmental factors of the environment where the optical module is located is obtained, and corresponding weights are assigned to it according to service requirements. After calculation, comprehensive performance data is obtained, and then the working state is evaluated based on this comprehensive performance data and the preset working state evaluation criteria.
[0111] In one embodiment, step 102 includes the following sub-steps:
[0112] Sub-step S21, obtaining the processed power according to the power and the preset performance data sorting rule;
[0113] After obtaining the power information in the module information of the optical module, a data preprocessing process is still required. One processing method can be as follows:
[0114] Apply the moving average algorithm to remove noise. The formula is as follows:
[0115]
[0116] Among them, Moving Average represents the moving average value, N represents the number of data points participating in the average, P(i) represents the value of the i-th data point. The moving average algorithm smooths the data by calculating the average value of the data within a certain time window. This smoothing process helps to reduce the random fluctuations of the data, so as to better observe the long-term trend of the data.
[0117] After using the moving average algorithm, data standardization can be used to facilitate subsequent data comparison processing. One processing method can be the Z-score:
[0118]
[0119] Among them, z in the formula represents the standard score, which measures the relative position of a data point to the average value of the data set, in units of the standard deviation. P(t) represents the value of a certain data point at time t, which can be any value that needs to be standardized. μ represents the average value of the data set, which is the sum of all data points divided by the number of data points. σ represents the standard deviation of the data set, which measures the degree of dispersion of the data points relative to the average value.
[0120] By subtracting the average value μ from P(t) and dividing by the standard deviation σ, the data is standardized so that the value of each data point falls between 0 and 1. This standardization method eliminates the influence of the dimension of the data, enabling data with different dimensions to be compared and analyzed.
[0121] It should be noted that the methods for removing data noise and standardization can also be other methods. For example, the method for removing data noise can be algorithms such as interpolation method and clustering analysis, and the method for data standardization can be maximum-minimum standardization method, normalization method, logarithmic transformation, etc. The embodiments of the present invention do not limit this.
[0122] Sub-step S21, determine the working state of the optical module according to the processed power and the preset evaluation standard of the working state of the optical module.
[0123] Since the main function of an optical module is to perform optoelectronic signal conversion, power is a key parameter for achieving this function. The transmit power directly determines the transmission distance and intensity of the optical signal in the optical fiber, while the receive power reflects the ability of the optical module to receive weak signals. By monitoring the power, it is possible to directly and intuitively understand whether the optical module can normally complete the signal transmission and reception tasks, and thus judge whether its working performance is good.
[0124] Step 103: Determine the adjustment strategy of the optical module according to the working state and the preset adjustment strategy formulation criteria.
[0125] On the basis of having determined the working state of the optical module, combined with the preset adjustment strategy formulation criteria, to clarify what adjustment strategy should be adopted for this optical module. Convert the evaluation result of the optical module state into specific operation guidance to prepare for the subsequent actual adjustment of the optical module working state.
[0126] In one embodiment, step 103 includes the following sub-steps:
[0127] Sub-step S31: When the working state of the optical module is the abnormal state, obtain the adjustment step size of the optical module parameters.
[0128] When the working state of the optical module is determined to be the abnormal state, first obtain the adjustment step size of the optical module parameters. The adjustment step size is a key parameter for subsequent adjustment of the optical module performance value, which determines the magnitude of each adjustment. A suitable adjustment step size can not only ensure obvious adjustment effect, but also avoid excessive adjustment amplitude from damaging the optical module or causing network instability.
[0129] The definition and implementation method of the adjustment strategy can be dynamically set according to business needs;
[0130] In one example, the adjustment strategy can be divided into three types: positive adjustment, negative adjustment, and no adjustment;
[0131] Sub-step S32: When the performance data is less than the preset first data, determine the adjustment strategy of the optical module to increase the performance value of the optical module according to the adjustment step size.
[0132] One implementation case of positive adjustment can be: when the performance data is less than the preset first data, which indicates that the performance value of the optical module is low. At this time, the determined adjustment strategy is positive adjustment, and according to the previously obtained adjustment step size, increase the performance value of the optical module.
[0133] For example, if the performance data represents the transmit power and the transmit power is less than the preset first data, then gradually increase the transmit power according to the adjustment step size to bring the optical module performance back to a reasonable range.
[0134] Sub-step S33: When the performance data is greater than the preset first data, determine that the adjustment strategy for the optical module is to reduce the performance value of the optical module according to the adjustment step size.
[0135] One implementation case of forward adjustment can be: when the performance data is greater than the preset first data, which indicates that the performance value of the optical module is on the high side. At this time, the determined adjustment strategy is reverse adjustment, and according to the adjustment step size, the performance value of the optical module is reduced.
[0136] If the performance data is the same as the first data, then no processing is performed at this time, and the adjustment strategy is not to adjust.
[0137] Taking the transmit power as an example, if the transmit power is too high, the transmit power is reduced according to the adjustment step size to restore the normal performance of the optical module. The adjustment step size can be set according to business experience and is set to 0.5 dB here.
[0138] In one example, the preset adjustment strategy formulation standard can be:
[0139]
[0140] where P ideal is the first data, and StepSize is the adjustment step size.
[0141] In one embodiment, step 103 includes the following sub-steps:
[0142] Sub-step S41: When the working state is the to-be-evaluated working state, determine the to-be-evaluated work order according to the performance data;
[0143] When the working state of the optical module is the to-be-evaluated working state, since the situation is relatively complex, the adjustment strategy cannot be directly determined. At this time, the to-be-evaluated work order is determined according to the performance data. The to-be-evaluated work order will contain information related to the performance data of the optical module and prompts that may require further analysis and processing, providing a detailed basis for determining the adjustment strategy subsequently.
[0144] Sub-step S42: Output the to-be-evaluated work order to the user so that the user can determine the adjustment strategy for the optical module according to the to-be-evaluated work order.
[0145] The to-be-evaluated work order is output to the user. The user can, relying on their professional knowledge and experience, comprehensively consider various factors in combination with the information in the to-be-evaluated work order, and finally determine the adjustment strategy for the optical module. This method makes full use of the user's professional judgment to deal with complex situations where it is difficult to directly determine the adjustment strategy through preset rules.
[0146] In one embodiment, sub-step S31 includes the following sub-steps:
[0147] Sub-step S411: Determine the Internet Protocol (IP) address of the optical module, the port number of the device where the optical module is located, the location of the device, the IP address and port number of the upstream device of the device, and the IP address and port number of the downstream device of the device according to the address information.
[0148] According to the address information, specifically determine the IP address of the optical module, the port number of the device where the optical module is located, the location of the device, the IP address and port number of the upstream device of the device, and the IP address and port number of the downstream device of the device. These information are helpful for considering the mutual influence between the optical module and the surrounding devices when analyzing problems and formulating adjustment strategies in the subsequent steps.
[0149] Sub-step S412: Determine the current received optical power and transmitted optical power of the optical module according to the performance data.
[0150] Sub-step S413: Determine the IP address of the optical module, the port number of the device where the optical module is located, the location of the device, the IP address and port number of the upstream device of the device, the IP address and port number of the downstream device of the device, and the current received optical power and transmitted optical power of the optical module according to the address information, and determine the work order to be evaluated.
[0151] Reference Figure 2 , shows a schematic diagram of the work order to be evaluated in an embodiment of the optical module adjustment method of the present invention:
[0152] As shown in the figure, there are 6 optical modules respectively. Among them, three are located at the BBU position, and the IP address or port of the device to which they belong is 6.47.5.109. Taking the three optical modules located at the BBU as an example, the ports of the devices where they are located are 0:0:3:0, 0:0:3:2, and 0:0:3:4 respectively. Their upper-level devices are all Device A, the port position is 0:0:5:0, and the IP address is 6.47.5.1. Their lower-level connected devices are RRU, and the corresponding IP addresses are 0:60:0, 0:62:0, and 0:64:0.
[0153] Taking the second optical module with abnormal received optical power as an example, its current received optical power is -1476, the current transmitted optical power is -217, the upper limit of the corresponding received power of this optical module is 399, the lower limit is -1600, the upper limit of the transmitted power is 199, and the lower limit is -1000. Then the corresponding first threshold is -1200, the second threshold is -1, the third threshold is -1300, and the fourth threshold is 99. Since the current received optical power of -1476 is less than -1200 and less than -1300, it is determined that the working state is in a state to be evaluated at this time, so this work order is output.
[0154] Step 104: Determine the control strategy of the optical module according to the adjustment strategy and the preset control strategy formulation criteria.
[0155] Based on the adjustment strategy and the preset control strategy formulation criteria, determine the specific method for finally controlling the optical module.
[0156] Since the control of the optical module needs to match the operating conditions of the entire communication network. Therefore, the control strategy of the optical module not only needs to pay attention to the performance of the optical module, but also needs to take into account the network environment of the communication network, and select the corresponding control strategy according to different network environments to avoid further impact on the communication network.
[0157] In one embodiment, the module information further includes the network environment data of the optical module, and step 104 includes the following sub-steps:
[0158] Sub-step S51: Determine the network state of the communication network according to the network environment data;
[0159] The network environment data contains a lot of information related to the operation of the optical module in the communication network, such as network topology, network traffic distribution, the operating status of other devices, etc. By analyzing and processing these network environment data, the current operating conditions of the communication network, that is, the network state, can be inferred.
[0160] For example, if the network traffic data shows that the network traffic in a certain area is close to saturation, then it can be judged that the network state in this area is congested; if the network topology has changed, some devices have been newly connected or some links have failed, these information will also be reflected in the network state. Determining the network state is very important for formulating a reasonable control strategy for the optical module subsequently.
[0161] Sub-step S52: Determine the control strategy of the optical module according to the network state, adjustment strategy and preset control strategy formulation criteria.
[0162] After clarifying the network state and the formulated adjustment strategy, combine the preset control strategy formulation criteria to determine the final control strategy of the optical module. The preset control strategy formulation stipulates what control method should be adopted to operate the optical module in various situations.
[0163] In one example, if the network state shows that the network is relatively idle and the adjustment strategy is to increase the performance value of the optical module, according to the preset criteria, the determined control strategy can be to gradually increase the transmission power of the optical module and adopt a more aggressive adjustment method to reach the adjustment target as soon as possible; on the contrary, if the network state is busy and unstable, the control strategy may be more conservative to avoid further impact on the network due to large adjustments of the optical module.
[0164] In one example, the control strategy formulation criterion can be the PID (Proportional-Integral-Derivative) algorithm. The PID algorithm is a classical feedback control method widely used in automatic control systems. Its core consists of three parts: the proportional term (P), the integral term (I), and the derivative term (D), which respond to the current error of the system, the accumulation of past errors, and the rate of change of the error, respectively.
[0165]
[0166] Among them, K p e(t) indicates that the output of the controller is proportional to the current error e(t). Among them, K p is the proportional gain, which determines the sensitivity of the system to the error. When the error increases, the proportional term will immediately increase the output. indicates that the output of the controller is proportional to the cumulative value of the error. Among them, K i is the integral gain, which determines the strength of the integral action. indicates that the output of the controller is proportional to the rate of change of the error. Among them, K d is the derivative gain, which determines the strength of the derivative action.
[0167] Step 105, control the optical module according to the control strategy.
[0168] After determining the control strategy, the optical module can be controlled according to the control strategy, thereby completing the entire optical module adjustment method.
[0169] By obtaining the module information of the optical module, determining the working state, adjustment strategy, and control strategy, the control of the optical module is ultimately realized. This series of operations do not require the staff to be on-site and are automatically completed using intelligent analysis and preset criteria, greatly saving manpower and being able to quickly respond to problems that may occur in the optical module and promptly handle emergencies. Determine the working state of the optical module according to the performance data and preset evaluation criteria. Once an abnormality is found, formulate adjustment and control strategies based on the preset strategy, so as to be able to promptly detect and handle the abnormal light emission and reception of the optical module, effectively avoiding network obstacles caused by abnormal light emission and reception of the optical module. Since the abnormal situation of the optical module can be promptly detected and handled, the long-term network interruption caused by abnormal light emission and reception of the optical module is avoided, reducing the duration of network interruption, thereby improving the user experience and increasing the user's satisfaction with the network service.
[0170] The embodiments of the present invention do not require a large number of staff to operate on-site, reducing the labor input; at the same time, optical module problems can be processed in a timely manner to avoid the expansion of faults, reducing the material resources required for long-term network interruption and fault repair, and significantly reducing the operation and maintenance costs.
[0171] Referring to Figure 3 , a flowchart of an embodiment of an optical module adjustment method of the present invention is shown:
[0172] First, build a platform, determine the transmission ranges of the mobile network and the data network, select a new function for building the convergence platform, and ensure normal communication with the transmission network. Determine the ranges of optical modules to be collected, the data transmission network and the mobile network transmission network.
[0173] Then, carry out the optical module data collection work. By writing a set of collection algorithms, read the optical module information in the communication network in real time to provide a data basis for subsequent operations;
[0174] After completing the data collection, start the work status evaluation operation of the optical module. After completion of the evaluation, according to relevant standards, specify an adjustment strategy, and finally generate a control strategy according to the adjustment strategy to adjust the optical module and complete the adjustment of the optical module.
[0175] Referring to Figure 4 , an optical module communication schematic diagram of an embodiment of an optical module adjustment method of the present invention is shown:
[0176] Among them, the data storage module communicates with the policy specification module, the data analysis module, the data collection module, and the intelligent control module. The intelligent control module communicates with the policy formulation module, the data analysis module, and the data collection module. The optical module communicates with the data collection module and the intelligent control module.
[0177] After completing the platform construction, the data collection module will obtain the module information data of the optical module in the communication network through relevant communication protocols and store the relevant information in the data storage module. Then, the collected information is transmitted to the intelligent control module for subsequent processing by the intelligent control module; the data analysis module obtains the relevant data of the optical module from the data storage module in real time and performs data preprocessing and analysis steps, and then transmits the analysis result to the intelligent control module. After obtaining the data, the intelligent control module formulates a control strategy according to the preset strategy in the policy formulation module and issues an adjustment instruction to the optical module through the communication network to complete the control of the optical module.
[0178] Referring to Figure 5 and Figure 6 , a logic implementation diagram of an embodiment of an existing optical module adjustment method and a logic implementation diagram of an embodiment of an optical module adjustment method of the present invention are respectively shown. Combining the two:
[0179] First, the logical implementation of an existing embodiment of the optical module adjustment method is that when an obstacle is detected in the monitored optical module, the management staff will issue an obstacle work order to notify the corresponding maintenance staff. After receiving the order, the maintenance staff will rush to the scene for handling. After the handling, the maintenance staff will contact the back-end staff to confirm whether the performance of the optical module has been restored. If the obstacle is restored, the repair is completed and the work order is closed. If it has not been repaired yet, the maintenance staff will continue to repair.
[0180] The logical implementation of an embodiment of the optical module adjustment method of the present invention is as follows:
[0181] Collect the data of the optical module in real time, evaluate the working state of the optical module. If an abnormality is found, immediately formulate an adjustment strategy based on the collected data and execute it. Since the data collection is carried out in real time, if the optical module has not returned to normal, further adjustments will be made. If it returns to normal, the working state of the optical module will also be continuously monitored.
[0182] It can be found that the present invention realizes the control of the optical module by obtaining the module information of the optical module, determining the working state, adjustment strategy and control strategy. This series of operations do not require the staff to be on site, and are automatically completed by intelligent analysis and preset standards, greatly saving manpower, and being able to quickly respond to possible problems of the optical module and timely handle emergencies. Determine the working state of the optical module according to the performance data and preset evaluation criteria. Once an abnormality is found, formulate adjustment and control strategies according to the preset strategy, so as to be able to timely detect and handle the abnormal light emission and reception of the optical module, and effectively avoid network obstacles caused by abnormal light emission and reception of the optical module. Since the abnormal situation of the optical module can be timely detected and handled, the long-term network interruption caused by abnormal light emission and reception of the optical module is avoided, the duration of the network interruption is reduced, thereby improving the user experience and the user's satisfaction with the network service.
[0183] It should be noted that for the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that the embodiments of the present invention are not limited by the described action sequence, because according to the embodiments of the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.
[0184] Referring to Figure 7 , a structural block diagram of an embodiment of an optical module adjustment device of the present invention is shown, which may specifically include the following modules:
[0185] A module information acquisition module 201, configured to acquire the module information of the optical module in the communication network; the module information includes performance data;
[0186] The working state determination module 202 is configured to determine the working state of the optical module according to the performance data and a preset optical module working state evaluation criterion;
[0187] The adjustment strategy determination module 203 is configured to determine the adjustment strategy of the optical module according to the working state and a preset adjustment strategy formulation criterion;
[0188] The control strategy determination module 204 is configured to determine the control strategy of the optical module according to the adjustment strategy and a preset control strategy formulation criterion;
[0189] The optical module control module 205 is configured to control the optical module according to the control strategy.
[0190] In one embodiment, the working state determination module includes:
[0191] The normal state determination sub-module is configured to determine that the working state of the optical module is the normal state when the current performance data is greater than or equal to a preset first threshold and less than or equal to a preset second threshold;
[0192] The abnormal state determination sub-module is configured to determine that the working state of the optical module is the abnormal state when the current performance data is less than the preset first threshold and greater than or equal to a preset third threshold, or
[0193] the current performance data is greater than the preset second threshold and less than or equal to a preset fourth threshold;
[0194] The to-be-evaluated state determination sub-module is configured to determine that the working state of the optical module is the to-be-evaluated state when the current performance data is greater than the preset fourth threshold or less than the preset third threshold.
[0195] In one embodiment, the adjustment strategy determination module includes:
[0196] The adjustment step size acquisition sub-module is configured to acquire the optical module parameter adjustment step size when the working state of the optical module is the abnormal state;
[0197] The first adjustment strategy formulation module is configured to determine that the adjustment strategy of the optical module is to increase the performance value of the optical module according to the adjustment step size when the performance data is less than a preset first data;
[0198] The second adjustment strategy formulation module is configured to determine that the adjustment strategy of the optical module is to decrease the performance value of the optical module according to the adjustment step size when the performance data is greater than the preset first data;
[0199] In one embodiment, the adjustment strategy determination module includes:
[0200] A work order creation sub-module, configured to determine a work order to be evaluated according to the performance data when the working state is a to-be-evaluated working state.
[0201] A third adjustment strategy formulation sub-module, configured to output the work order to be evaluated to a user, so that the user can determine an adjustment strategy for the optical module according to the work order to be evaluated.
[0202] In one embodiment, the module information further includes address information of the optical module. The work order creation sub-module includes:
[0203] A work order information acquisition unit, configured to determine the Internet protocol address of the optical module, the port number of the device where the optical module is located, the location of the device, the Internet protocol address and port number of the upstream device of the device, and the Internet protocol address and port number of the downstream device of the device according to the address information.
[0204] An optical module acquisition unit, configured to determine the current received optical power and transmitted optical power of the optical module according to the performance data.
[0205] A first work order creation unit, configured to determine a work order to be evaluated according to the Internet protocol address of the optical module, the port number of the device where the optical module is located, the location of the device, the Internet protocol address and port number of the upstream device of the device, the Internet protocol address and port number of the downstream device of the device, and the current received optical power and transmitted optical power of the optical module according to the address information.
[0206] In one embodiment, the module information further includes network environment data of the optical module. The control strategy determination module includes:
[0207] A network status sub-module, configured to determine the network status of the communication network according to the network environment data.
[0208] A first control strategy determination sub-module, configured to determine a control strategy for the optical module according to the network status, the adjustment strategy, and a preset control strategy formulation standard.
[0209] In one embodiment, the performance data includes the power of the optical module. The working state determination module includes:
[0210] A first power processing sub-module, configured to obtain processed power according to the power and a preset performance data sorting rule.
[0211] A first working state determination sub-module, configured to determine the working state of the optical module according to the processed power and a preset optical module working state evaluation standard.
[0212] By obtaining the module information of the optical module, determining the working status, adjustment strategies, and control strategies, the control of the optical module is ultimately achieved. This series of operations do not require staff to be on-site and are automatically completed using intelligent analysis and preset standards, greatly saving manpower and being able to quickly respond to possible problems with the optical module and handle emergencies in a timely manner. Determine the working status of the optical module based on performance data and preset evaluation criteria. Once an abnormality is detected, formulate adjustment and control strategies according to the preset strategies, so as to be able to detect and handle the abnormal light emission and reception of the optical module in a timely manner, and effectively avoid network obstacles caused by abnormal light emission and reception of the optical module. Since the abnormal conditions of the optical module can be detected and handled in a timely manner, the long-term network interruption caused by abnormal light emission and reception of the optical module is avoided, the duration of network interruption is reduced, thereby improving the user experience and the user's satisfaction with the network service.
[0213] The embodiments of the present invention do not require a large number of staff to operate on-site, reducing the labor input; at the same time, the problems of the optical module can be processed in a timely manner to avoid the expansion of faults, reducing the material resources required for long-term network interruption and fault repair, and greatly reducing the operation and maintenance costs.
[0214] For the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple. For the relevant parts, refer to the partial description of the method embodiments.
[0215] The embodiments of the present invention also provide an electronic device, including: a processor, a memory, and a computer program stored on the memory and capable of running on the processor. When the computer program is executed by the processor, it realizes each process of the above-mentioned optical module adjustment method embodiment and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0216] The embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by the processor, it realizes each process of the above-mentioned optical module adjustment method embodiment and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0217] Each embodiment in this specification is described in a progressive manner. The key point of each embodiment is to illustrate the differences from other embodiments. For the same or similar parts between the embodiments, reference can be made to each other.
[0218] Those skilled in the art should understand that the embodiments of the present invention can be provided as methods, apparatuses, or computer program products. Therefore, the embodiments of the present invention can take the form of all-hardware embodiments, all-software embodiments, or embodiments combining software and hardware aspects. Moreover, the embodiments of the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program code.
[0219] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing terminal devices to generate a machine, so that the instructions executed by the processors of the computer or other programmable data processing terminal devices generate a device for implementing the functions specified in one Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0220] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the functions specified in one Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0221] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device, so that a series of operation steps are executed on the computer or other programmable terminal device to generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable terminal device provide steps for implementing the functions specified in one Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0222] Although the preferred embodiments of the embodiments of the present invention have been described, those skilled in the art can make additional changes and modifications once they know the basic creative concepts. Therefore, the appended claims are intended to be construed as including the preferred embodiments and all changes and modifications falling within the scope of the embodiments of the present invention.
[0223] Finally, it should also be noted that in this text, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or terminal device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or terminal device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or terminal device comprising said element.
[0224] The above has introduced in detail a method, apparatus, device and medium for adjusting an optical module provided by the present invention. Specific examples are used in this text to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present invention.
Claims
1. A method for adjusting an optical module, characterized in that: The method comprises: Acquire module information of an optical module in a communication network; the module information includes performance data; Determine the working state of the optical module according to the performance data and the preset optical module working state evaluation standard; Determining an adjustment strategy for the optical module according to the working state and a preset adjustment strategy formulation standard; Determine the control strategy of the optical module according to the adjustment strategy and the preset control strategy formulation standard; According to the control strategy, the optical module is controlled.
2. The optical module adjustment method according to claim 1, characterized in that: Determining the working state of the optical module according to the performance data and the preset optical module working state evaluation standard includes: When the current performance data is greater than or equal to a preset first threshold and less than or equal to a preset second threshold, determining that the working state of the optical module is a normal state; When the current performance data is less than the first preset threshold and greater than or equal to the third preset threshold, or When the current performance data is greater than the preset second threshold and less than or equal to the preset fourth threshold, determining that the working state of the optical module is an abnormal state; When the current performance data is greater than the preset fourth threshold or less than the preset third threshold, it is determined that the working state of the optical module is a state to be evaluated.
3. The optical module adjustment method according to claim 2, characterized in that: The step of formulating a standard according to the working state and a preset adjustment strategy to determine the adjustment strategy of the optical module includes: When the working state of the optical module is the abnormal state, obtaining an adjustment step of an optical module parameter; When the performance data is less than the preset first data, determining that the adjustment strategy of the optical module is to increase the performance value of the optical module according to the adjustment step; When the performance data is greater than the preset first data, determining the adjustment strategy of the optical module is to reduce the performance value of the optical module according to the adjustment step.
4. The optical module adjustment method according to claim 3, characterized in that: The step of formulating a standard according to the working state and a preset adjustment strategy to determine the adjustment strategy of the optical module includes: When the working state is a working state to be evaluated, determining a work order to be evaluated according to the performance data; The work order to be evaluated is output to a user, so that the user determines an adjustment strategy for the optical module according to the work order to be evaluated.
5. The optical module adjustment method according to claim 4, characterized in that: The module information also includes address information of the optical module. According to the performance data, determining the work order to be evaluated includes: Determine, according to the address information, the Internet Protocol address of the optical module, the port number of the device where the optical module is located, the location of the device, the Internet Protocol address and port number of the upstream device of the device, and the Internet Protocol address and port number of the downstream device of the device; Determine the current received light power and emitted light power of the optical module according to the performance data; Based on the address information, determine the Internet Protocol address of the optical module, the port number of the device where the optical module is located, the location of the device, the Internet Protocol address and port number of the upstream device of the device, the Internet Protocol address and port number of the downstream device of the device, and the current received light power and luminous power of the optical module, and determine the work order to be evaluated.
6. The optical module adjustment method according to claim 1, characterized in that: The module information also includes network environment data of the optical module. The standard is formulated according to the adjustment strategy and the preset control strategy to determine the control strategy of the optical module, including: determining a network status of the communication network according to the network environment data; The control strategy of the optical module is determined according to the network status, the adjustment strategy and the preset control strategy formulation standard.
7. The optical module adjustment method according to claim 6, characterized in that: The performance data includes the power of the optical module, and determining the working state of the optical module according to the performance data and a preset optical module working state evaluation standard includes: Obtaining processed power according to the power and preset performance data sorting rules; The working state of the optical module is determined according to the processed power and a preset optical module working state evaluation standard.
8. An optical module adjustment device, characterized in that: The device comprises: A module information acquisition module, used to acquire module information of an optical module in a communication network; the module information includes performance data; A working state determination module, used to determine the working state of the optical module according to the performance data and a preset optical module working state evaluation standard; An adjustment strategy determination module, used to determine the adjustment strategy of the optical module according to the working state and a preset adjustment strategy formulation standard; A control strategy determination module, used to determine the control strategy of the optical module according to the adjustment strategy and the preset control strategy formulation standard; The optical module control module is used to control the optical module according to the control strategy.
9. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of an optical module adjustment method as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the optical module adjustment method according to any one of claims 1 to 7 are implemented.