Search

CN-122027333-A - Automatic network access configuration method and system for digital communication equipment

CN122027333ACN 122027333 ACN122027333 ACN 122027333ACN-122027333-A

Abstract

The invention relates to the technical field of network equipment management and provides an automatic network access configuration method and system of a digital communication device, wherein the method comprises the steps of constructing a network access context object of the digital communication device to be configured, and generating an initial configuration file of the digital communication device to be configured; the method comprises the steps of collecting operation configuration of the to-be-configured digital equipment in a network access process, calculating structural difference coefficients of the operation configuration and a predefined target configuration to determine network access safety of the to-be-configured digital equipment, starting a multi-stage configuration rollback process and a configuration restoration process of the to-be-configured digital equipment to generate a target configuration file of the to-be-configured digital equipment when the network access safety does not meet a preset network access safety standard, and generating a configuration command of the to-be-configured digital equipment to execute the network access configuration of the to-be-configured digital equipment when the network access safety meets the preset network access safety standard. The invention can improve the configuration efficiency and the safety of the network access configuration.

Inventors

  • LU ZHIFENG
  • Mo Yongchi
  • ZENG WENBIN
  • DENG ZHIGUO
  • LIU YULIN
  • WANG XIAOFANG

Assignees

  • 广州犇一信息科技有限公司

Dates

Publication Date
20260512
Application Date
20260320

Claims (10)

  1. 1. An automatic network access configuration method for a digital communication device, which is characterized by comprising the following steps: discovering a to-be-configured data communication device from a network, constructing an access context object of the to-be-configured data communication device to determine a configuration parameter set of the to-be-configured data communication device, and generating an initial configuration file of the to-be-configured data communication device according to the configuration parameter set; the initial configuration file is issued to the to-be-configured digital communication equipment to acquire the operation configuration of the to-be-configured digital communication equipment in a network access process, and the structural difference coefficient of the operation configuration and the predefined target configuration is calculated to determine the network access security of the to-be-configured digital communication equipment; when the network access safety does not meet the preset network access safety standard, positioning an abnormal stage of the network access process, and starting a multi-stage configuration rollback process and a configuration repair process of the to-be-configured digital communication device based on the abnormal stage to generate a target configuration file of the to-be-configured digital communication device; And when the network access security meets a preset network access security standard, generating a configuration command of the to-be-configured digital communication equipment according to the target configuration file so as to execute network access configuration of the to-be-configured digital communication equipment.
  2. 2. The method for automatically configuring a data communication device according to claim 1, wherein the step of starting a multi-level configuration rollback procedure and a configuration repair procedure of the data communication device to be configured based on the abnormal phase comprises: Constructing a failure context object of the abnormal stage to determine an abnormal level of the to-be-configured digital communication device; according to the abnormal grade, defining a rollback triggering condition of the to-be-configured digital communication equipment to construct a multistage configuration rollback flow of the to-be-configured digital communication equipment; Determining configuration failure characteristics of the to-be-configured digital communication equipment based on the failure context object so as to generate a repair script of the to-be-configured digital communication equipment; and determining the configuration repair flow of the to-be-configured data communication equipment according to the repair script.
  3. 3. The method for automatically configuring access to a network for a data communication device according to claim 2, wherein said constructing a failed context object for said anomaly phase comprises: storing the current task state and original error information of the abnormal stage, and performing root cause speculation on the abnormal stage according to the original error information to obtain a failure type and a failure root cause; analyzing the failure influence of the abnormal stage according to the failure type and the failure root cause; According to the current task state, analyzing the consumed resources and the external system state of the abnormal stage, and extracting an intermediate product of the abnormal stage; And integrating the failure context object of the abnormal stage according to the failure influence, the consumed resources, the external system state and the intermediate product.
  4. 4. The method for automated network entry configuration of a data communication device according to claim 1, wherein said calculating a structured difference coefficient between said run configuration and a predefined target configuration comprises: analyzing the operation configuration and the target configuration analysis to obtain an operation configuration entity and a target configuration entity; Analyzing the operation configuration hierarchical relationship between the operation configuration entities and the target configuration hierarchical relationship between the target configuration entities to respectively construct an operation configuration data tree of the operation configuration and a target configuration data tree of the target configuration; And identifying the identical maximum subtree sequences in the operation configuration data tree and the target configuration data tree to analyze the structured difference coefficients of the operation configuration data tree and the target configuration data tree.
  5. 5. The automated network entry configuration method of claim 4, wherein identifying the exact same largest sub-tree sequence in the operational configuration data tree and the target configuration data tree comprises: Calculating node consistency coefficients of the operation configuration data tree and the target configuration data tree; And calculating the weight overlapping scores of the operation configuration data tree and the target configuration data tree according to the node consistency coefficient so as to determine the maximum subtrees which are identical in the operation configuration data tree and the target configuration data tree.
  6. 6. The method for automatically configuring a data communication device according to claim 1, wherein the discovering the data communication device to be configured from the network comprises: Defining a device discovery mode of the network to discover new digital communication devices in the network, and extracting device OUI and device system information of the new digital communication devices; and acquiring vendor OUI and SNMP deep fingerprints of a predefined specific vendor, performing cross-validation on the equipment OUI, the vendor OUI, the equipment system information and the SNMP deep fingerprints to obtain a validation result, and screening the to-be-configured digital equipment from the new digital equipment.
  7. 7. The method for automatically configuring access to a network of a data communication device according to claim 1, wherein the constructing the access context object of the data communication device to be configured comprises: extracting equipment information of the to-be-configured digital equipment to generate a unique context ID of the to-be-configured digital equipment; And determining a context architecture of the to-be-configured data communication equipment, collecting multi-dimensional data of the to-be-configured data communication equipment, and filling the multi-dimensional data into the context architecture to form an access context object of the to-be-configured data communication equipment.
  8. 8. The method for automatically configuring a network access of a digital device according to claim 1, wherein determining the configuration parameter set of the digital device to be configured comprises: acquiring a request return parameter set of the to-be-configured digital communication device, and identifying potential conflict points of the request return parameter set to define a priority rule of the request return parameter set; and carrying out parameter fusion on the request return parameter set according to the priority rule to obtain a configuration parameter set.
  9. 9. The method for automatically configuring access to a network of a digital device according to claim 1, wherein the determining access security of the digital device to be configured comprises: Verifying the network access connectivity of the to-be-configured digital communication equipment, and determining a safety threshold interval of the to-be-configured digital communication equipment; And determining the network access security of the to-be-configured digital communication equipment according to the structured difference coefficient of the to-be-configured digital communication equipment, the security threshold interval and the network access connectivity.
  10. 10. A system for automated network entry configuration of a digital communication device, the system comprising: the configuration file generation module is used for finding the to-be-configured digital communication equipment from the network, constructing an access context object of the to-be-configured digital communication equipment to determine a configuration parameter set of the to-be-configured digital communication equipment, and generating an initial configuration file of the to-be-configured digital communication equipment according to the configuration parameter set; The security verification module is used for issuing the initial configuration file to the to-be-configured digital communication equipment to acquire the operation configuration of the to-be-configured digital communication equipment in a network access process, and calculating the structural difference coefficient of the operation configuration and the predefined target configuration to determine the network access security of the to-be-configured digital communication equipment; The abnormal rollback repair module is used for positioning an abnormal stage of the network access process when the network access safety does not meet a preset network access safety standard, and starting a multistage configuration rollback process and a configuration repair process of the to-be-configured digital communication device based on the abnormal stage so as to generate a target configuration file of the to-be-configured digital communication device; And the network access configuration execution module is used for generating a configuration command of the to-be-configured digital communication equipment according to the target configuration file when the network access security meets the preset network access security standard so as to execute the network access configuration of the to-be-configured digital communication equipment.

Description

Automatic network access configuration method and system for digital communication equipment Technical Field The invention relates to an automatic network access configuration method and system for digital communication equipment, and belongs to the technical field of network equipment management. Background The automatic network access configuration of the data communication equipment is to automatically complete a complete initialization configuration flow required by the ready connection of the data communication equipment from the physical connection service through a software system, a script or a special tool, thereby realizing the standardization, the high efficiency and the zero error of network deployment. Conventional method for configuring access to network of a digital communication device generally relies on a dynamic host configuration protocol to implement configuration of access to network of the device, for example, when the device is started, an operating system of the device attempts to acquire an IP address from the network, and downloads a configuration file according to the direction of options of the dynamic host configuration protocol to complete configuration of access to network. The method is linear and unidirectional in configuration process, and cannot adjust the strategy according to the execution result, so that the network access configuration process is stiff, and complex network environments are difficult to deal with. Disclosure of Invention The invention provides an automatic network access configuration method and system for a digital communication device, which mainly aim to improve the configuration efficiency and the security of network access configuration. In order to achieve the above object, the present invention provides a method for automatically configuring access to a network for a data communication device, including: discovering a to-be-configured data communication device from a network, constructing an access context object of the to-be-configured data communication device to determine a configuration parameter set of the to-be-configured data communication device, and generating an initial configuration file of the to-be-configured data communication device according to the configuration parameter set; the initial configuration file is issued to the to-be-configured digital communication equipment to acquire the operation configuration of the to-be-configured digital communication equipment in a network access process, and the structural difference coefficient of the operation configuration and the predefined target configuration is calculated to determine the network access security of the to-be-configured digital communication equipment; when the network access safety does not meet the preset network access safety standard, positioning an abnormal stage of the network access process, and starting a multi-stage configuration rollback process and a configuration repair process of the to-be-configured digital communication device based on the abnormal stage to generate a target configuration file of the to-be-configured digital communication device; And when the network access security meets a preset network access security standard, generating a configuration command of the to-be-configured digital communication equipment according to the target configuration file so as to execute network access configuration of the to-be-configured digital communication equipment. Optionally, the starting the multi-stage configuration rollback process and the configuration repair process of the to-be-configured data communication device based on the abnormal stage includes: Constructing a failure context object of the abnormal stage to determine an abnormal level of the to-be-configured digital communication device; according to the abnormal grade, defining a rollback triggering condition of the to-be-configured digital communication equipment to construct a multistage configuration rollback flow of the to-be-configured digital communication equipment; Determining configuration failure characteristics of the to-be-configured digital communication equipment based on the failure context object so as to generate a repair script of the to-be-configured digital communication equipment; and determining the configuration repair flow of the to-be-configured data communication equipment according to the repair script. Optionally, the constructing the failed context object of the anomaly phase includes: storing the current task state and original error information of the abnormal stage, and performing root cause speculation on the abnormal stage according to the original error information to obtain a failure type and a failure root cause; analyzing the failure influence of the abnormal stage according to the failure type and the failure root cause; According to the current task state, analyzing the consumed resources and the external system state of the abnormal stage, and extract