CN-121985243-A - Method, device, equipment and medium for verifying equipment parameters of FTTR equipment
Abstract
The embodiment of the application provides a method, a device, equipment and a medium for verifying equipment parameters of FTTR equipment. According to the application, the parameter tree containing the parameter designated characteristics is constructed for FTTR equipment, and batch parameter positioning and verification driven by a verification path is realized by combining an intelligent node search engine, so that batch automatic multi-dimensional verification of a plurality of parameters can be realized at one time.
Inventors
- LIN YUKAI
- XU YA
- WANG YONGBIN
Assignees
- 新华三信息技术有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260130
Claims (10)
- 1. A device parameter verification method for FTTR devices, the method comprising: Generating a corresponding parameter tree for FTTR equipment, wherein each node in the parameter tree represents a parameter under a corresponding TR-069 protocol configured by the FTTR equipment, the parameters represented by different nodes are different, and any node is associated with a designated characteristic of the parameter corresponding to the node, wherein the designated characteristic at least comprises a time stamp of the last updated parameter and a writeable permission, and the designated characteristic at least comprises a time stamp which indicates whether the parameter can be remotely written and modified through the TR-069 protocol; When the parameter verification requirement exists, an intelligent node search engine is called to search each parameter to be verified in batches from the parameter tree based on a verification path, each parameter is verified based on the appointed characteristic associated with each parameter, and the verification path comprises paths formed by the parameters meeting the parameter verification requirement.
- 2. The method of claim 1, wherein the designated characteristics associated with any node further comprise a path from a root node to the node, the root node corresponding to the FTTR devices, the path being configured to generate an alarm log entry for a parameter corresponding to the node based on the path when an abnormality occurs in verification of the parameter.
- 3. The method of claim 1, wherein the specified characteristics associated with any node further comprise a parameter name, a parameter type, and a parameter value data type; the parameter type is used for indicating whether the parameter has a corresponding parameter value or not, if the parameter type of any parameter is a first type, the parameter has a corresponding parameter value, and if the parameter type of any parameter is a second type, the parameter does not have a corresponding parameter value; the parameter value data type comprises at least one of a character string data type, a numerical value data type and a Boolean value data type.
- 4. The method of claim 1, wherein the invoking the intelligent node lookup engine to batch find parameters to be verified from the parameter tree based on a verification path comprises: and calling an intelligent node searching engine to find a target path template matched with the parameter verification requirement from the pre-existing path templates, wherein the target path template comprises the verification path.
- 5. The method of claim 1, wherein verifying each parameter based on the specified characteristic associated with each parameter comprises: verifying whether the parameter value data type in the appointed characteristic associated with each parameter is matched with the expected parameter value data type of the parameter in the parameter verification requirement or not according to each parameter, and if not, outputting an abnormal alarm indicating that the parameter value data type is not matched; And/or the number of the groups of groups, Verifying whether the writeable authority in the appointed characteristic associated with the parameter is matched with the expected writeable authority of the parameter in the parameter verification requirement, if not, outputting an abnormal alarm indicating that the writeable authority is not matched; And/or the number of the groups of groups, Verifying whether the parameter value in the appointed characteristic associated with the parameter is matched with the expected parameter value of the parameter in the parameter verification requirement, if not, outputting an abnormal alarm indicating that the parameter value is not matched.
- 6. A method according to any one of claims 1 to 5, characterized in that the method comprises: If the node corresponding to the parameter to be verified in the verification path is not found in the parameter tree, an abnormal alarm indicating that the parameter does not exist is output outwards.
- 7. A device parameter verification apparatus for FTTR devices, the apparatus comprising: The system comprises a construction module, a parameter tree generation module and a parameter modification module, wherein the construction module is used for generating a corresponding parameter tree for FTTR equipment, each node in the parameter tree represents parameters under a corresponding TR-069 protocol configured by FTTR equipment, the parameters represented by different nodes are different, and any node is associated with designated characteristics of the parameters corresponding to the node, wherein the designated characteristics at least comprise a time stamp of the last updated parameter and writeability authority, and the designated characteristics comprise a function of indicating whether the parameter can be remotely written and modified through the TR-069 protocol; The verification module is used for calling the intelligent node search engine to search each parameter to be verified in batches from the parameter tree based on a verification path when the parameter verification requirement exists, verifying each parameter based on the appointed characteristic associated with each parameter, wherein the verification path comprises paths formed by parameters meeting the parameter verification requirement.
- 8. The apparatus of claim 7, wherein the device comprises a plurality of sensors, The appointed characteristic associated with any node further comprises a path from a root node to the node, wherein the root node corresponds to FTTR equipment, and the path is used for generating an alarm log entry of a parameter corresponding to the node based on the path when the verification of the parameter is abnormal; And/or the number of the groups of groups, The appointed characteristic of any node association also comprises a parameter name, a parameter type and a parameter value data type; the parameter type is used for indicating whether the parameter has a corresponding parameter value or not, if the parameter type of any parameter is a first type, the parameter has a corresponding parameter value, and if the parameter type of any parameter is a second type, the parameter does not have a corresponding parameter value; the parameter value data type comprises at least one of a character string data type, a numerical value data type and a Boolean value data type; And/or the number of the groups of groups, The step of calling the intelligent node search engine to search each parameter to be verified in batches from the parameter tree based on the verification path comprises the following steps: Calling an intelligent node searching engine to find a target path template matched with the parameter verification requirement from a pre-existing path template, wherein the target path template comprises the verification path; And/or the number of the groups of groups, Verifying each parameter based on the specified characteristic associated with the parameter comprises: verifying whether the parameter value data type in the appointed characteristic associated with each parameter is matched with the expected parameter value data type of the parameter in the parameter verification requirement or not according to each parameter, and if not, outputting an abnormal alarm indicating that the parameter value data type is not matched; And/or the number of the groups of groups, Verifying whether the writeable authority in the appointed characteristic associated with the parameter is matched with the expected writeable authority of the parameter in the parameter verification requirement, if not, outputting an abnormal alarm indicating that the writeable authority is not matched; And/or the number of the groups of groups, Verifying whether the parameter value in the appointed characteristic associated with the parameter is matched with the expected parameter value of the parameter in the parameter verification requirement, if not, outputting an abnormal alarm indicating that the parameter value is not matched; And/or the number of the groups of groups, The verification module is further configured to: If the node corresponding to the parameter to be verified in the verification path is not found in the parameter tree, an abnormal alarm indicating that the parameter does not exist is output outwards.
- 9. An electronic device, characterized in that, the electronic device includes: processor, and A computer readable storage medium having stored therein computer program instructions which, when executed by the processor, cause the processor to perform the steps of the method according to any of claims 1 to 6.
- 10. A computer readable storage medium, characterized in that it has stored thereon computer program instructions which, when executed by a processor, cause the processor to perform the steps of the method according to any of claims 1 to 6.
Description
Method, device, equipment and medium for verifying equipment parameters of FTTR equipment Technical Field The present application relates to the field of communications networks, and in particular, to a method, an apparatus, a device, and a medium for verifying device parameters of FTTR devices. Background In recent years, fiber-to-room (Fiber To The Room, FTTR) networking has been deployed on a large scale, and efficient verification of mass device parameters of FTTR devices (e.g., a master gateway device and a slave gateway device in FTTR networking) has become a key to guaranteeing networking service quality. At present, verification of equipment parameters of FTTR equipment mainly depends on a manual mode (for example, operation and maintenance personnel verify parameter values and expected reference values of each equipment parameter one by one), and the manual verification mode is low in efficiency, is extremely prone to error and cannot meet operation and maintenance requirements of large-scale networking. Disclosure of Invention In view of this, the embodiments of the present application provide a method, apparatus, device and medium for verifying parameters of FTTR devices, so as to achieve accurate and efficient verification of parameters of FTTR devices. The embodiment of the application provides a device parameter verification method of FTTR devices, which comprises the following steps: Generating a corresponding parameter tree for FTTR equipment, wherein each node in the parameter tree represents a parameter under a corresponding TR-069 protocol configured by the FTTR equipment, the parameters represented by different nodes are different, and any node is associated with a designated characteristic of the parameter corresponding to the node, wherein the designated characteristic at least comprises a time stamp of the last updated parameter and a writeable permission, and the designated characteristic at least comprises a time stamp which indicates whether the parameter can be remotely written and modified through the TR-069 protocol; When the parameter verification requirement exists, an intelligent node search engine is called to search each parameter to be verified in batches from the parameter tree based on a verification path, each parameter is verified based on the appointed characteristic associated with each parameter, and the verification path comprises paths formed by the parameters meeting the parameter verification requirement. As one embodiment, the assigned characteristics associated with any node further comprise a path from a root node to the node, wherein the root node corresponds to FTTR equipment, and the path is used for generating an alarm log entry of a parameter corresponding to the node based on the path when verification of the parameter is abnormal. As one embodiment, the specified characteristics associated with any node further include a parameter name, a parameter type, and a parameter value data type; the parameter type is used for indicating whether the parameter has a corresponding parameter value or not, if the parameter type of any parameter is a first type, the parameter has a corresponding parameter value, and if the parameter type of any parameter is a second type, the parameter does not have a corresponding parameter value; the parameter value data type comprises at least one of a character string data type, a numerical value data type and a Boolean value data type. As one embodiment, the calling the intelligent node search engine to search the parameters to be verified in batches from the parameter tree based on the verification path includes: and calling an intelligent node searching engine to find a target path template matched with the parameter verification requirement from the pre-existing path templates, wherein the target path template comprises the verification path. As one embodiment, the verifying each parameter based on the specified characteristic associated with each parameter includes: verifying whether the parameter value data type in the appointed characteristic associated with each parameter is matched with the expected parameter value data type of the parameter in the parameter verification requirement or not according to each parameter, and if not, outputting an abnormal alarm indicating that the parameter value data type is not matched; And/or the number of the groups of groups, Verifying whether the writeable authority in the appointed characteristic associated with the parameter is matched with the expected writeable authority of the parameter in the parameter verification requirement, if not, outputting an abnormal alarm indicating that the writeable authority is not matched; And/or the number of the groups of groups, Verifying whether the parameter value in the appointed characteristic associated with the parameter is matched with the expected parameter value of the parameter in the parameter verification requirement, if not, outputti