Parameter configuration method and apparatus, and computer device

WO2026174714A1PCT designated stage Publication Date: 2026-08-27ZHEJIANG LAB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/108024
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-02-19
Filing Date
2025-07-11
Publication Date
2026-08-27

Smart Images

  • Figure CN2025108024_27082026_PF_FP_ABST
    Figure CN2025108024_27082026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the field of network communications. Disclosed are a parameter configuration method and apparatus, and a computer device. The method comprises: displaying constraint file model content corresponding to a target network device, the constraint file model content comprising a first configuration parameter corresponding to the current operating state of the target network device; in response to a configuration parameter modification operation, modifying the first configuration parameter to a second configuration parameter, wherein, during the process of modifying the first configuration parameter to the second configuration parameter, the target network device continues to maintain the current operating state on the basis of the first configuration parameter; and sending the second configuration parameter to the target network device, such that after receiving the second configuration parameter, the target network device still maintains the current operating state on the basis of the first configuration parameter and, upon the next startup, can be started on the basis of the second configuration parameter, so as to enter an operating state corresponding to the second configuration parameter. Thus, a real-time configuration method capable of flexibly adjusting network device parameters without interrupting services is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Parameter configuration method and device and computer device TECHNICAL FIELD

[0001] The present application relates to the technical field of network communication, and in particular to a parameter configuration method, device and computer device. BACKGROUND

[0002] With the large-scale development of cluster networks and the vertical application of various big data industries, higher requirements are put forward for the real-time performance, compatibility and stability and reliability of network data transmission. However, there are still limitations in the reliability, real-time performance and stability of data transmission in the related art, and therefore, a new parameter configuration method needs to be proposed for cluster networks. SUMMARY

[0003] The present application aims to at least partly solve one of the technical problems in the related art. To this end, the present application proposes a parameter configuration method, device and computer device. The main technical solution adopted by the present application comprises:

[0004] In a first aspect, the present application provides a parameter configuration method applied to a configuration server, the configuration server being communicatively connected to a target network device; the method comprising: displaying constraint file model content corresponding to the target network device; wherein the constraint file model content comprises a first configuration parameter corresponding to a current running state of the target network device; in response to a configuration parameter modification operation, modifying the first configuration parameter to a second configuration parameter suitable for the target network device; wherein in the process of modifying the first configuration parameter to the second configuration parameter, the target network device continues to maintain the current running state with the first configuration parameter; sending the second configuration parameter in the constraint file model format to the target network device, so that after receiving the second configuration parameter, the target network device still maintains the current running state with the first configuration parameter, and in the next start, the target network device starts according to the second configuration parameter to enter a running state corresponding to the second configuration parameter.

[0005] Optionally, the configuration server is communicatively connected to a plurality of network devices; before displaying the constraint file model content corresponding to the target network device, the method further comprises: in response to a network device selection operation, determining the target network device in which the configuration parameter needs to be modified from the plurality of network devices; establishing a network management protocol session between the configuration server and the target network device.

[0006] Optionally, the first configuration parameter exists in a configuration information library of the target network device in the constraint file model format; before displaying the constraint file model content corresponding to the target network device, the method further comprises: sending a parameter locking instruction to the target network device; wherein the parameter locking instruction is used to instruct the target network device to lock the configuration information library and continue to maintain the current running state with the first configuration parameter.

[0007] Optionally, the configuration information library comprises a master configuration database, a backup configuration database and a startup configuration database; the parameter locking instruction is used to instruct the target network device to lock the master configuration database or to lock the master configuration database, the backup configuration database and the startup configuration database simultaneously; the master configuration database is used to save configuration parameters corresponding to a current running state of the target network device; the backup configuration database is used to save backup data of the configuration parameters corresponding to the current running state of the target network device; and the startup configuration database is used to save recovery configuration parameters used by the target network device after a restart.

[0008] Optionally, the sending of the second configuration parameter in the constraint file model format to the target network device comprises: sending the second configuration parameter in the constraint file model format to the target network device, so that the target network device modifies the first configuration parameter to the second configuration parameter; and sending a parameter unlocking instruction to the target network device, wherein the parameter unlocking instruction is used to release the locking state of the configuration information library.

[0009] Optionally, after the sending of the second configuration parameter in the constraint file model format to the target network device, the method further comprises: if the second configuration parameter in the constraint file model format passes the compliance check of the target network device, receiving an acknowledgement response sent by the target network device.

[0010] Optionally, the first configuration parameter exists in the master configuration database of the target network device in the constraint file model format; and after the receiving of the acknowledgement response, the method further comprises: sending a parameter modification instruction to the target network device, so that the target network device modifies the first configuration parameter in the master configuration database to the second configuration parameter; and in the process of the modification of the first configuration parameter by the target network device, the target network device still maintains the current running state by using the first configuration parameter.

[0011] Optionally, the first configuration parameter is at least one of a QoS configuration parameter, a port list configuration parameter and a traffic management configuration parameter; and the traffic management configuration parameter comprises at least one of traffic speed limiting, bandwidth allocation and bandwidth priority policy.

[0012] In a second aspect, an embodiment of the present application provides a parameter configuration device, applied to a configuration server, the configuration server being communicatively connected with a target network device; the device comprises: a configuration parameter display module, configured to display constraint file model content corresponding to the target network device; wherein the constraint file model content comprises a first configuration parameter corresponding to a current running state of the target network device; a configuration parameter modification module, configured to modify the first configuration parameter into a second configuration parameter suitable for the target network device in response to a configuration parameter modification operation; wherein in the process of modifying the first configuration parameter into the second configuration parameter, the target network device continues to maintain the current running state with the first configuration parameter; and a configuration parameter running module, configured to send the second configuration parameter in the constraint file model format to the target network device, so that the target network device still maintains the current running state with the first configuration parameter after receiving the second configuration parameter, and the target network device starts according to the second configuration parameter to enter a running state corresponding to the second configuration parameter in the next start.

[0013] In a third aspect, the present application further provides a computer device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the steps of the method of any one of the above aspects when executing the computer program.

[0014] In a fourth aspect, the present application further provides a computer readable storage medium, storing a computer program, and the processor implementing the steps of the method of any one of the above aspects when executing the computer program.

[0015] In a fifth aspect, the present application provides a computer program product, comprising a computer program, and the processor implementing the steps of the method of any one of the above aspects when executing the computer program.

[0016] In the above embodiment, since the constraint file model content corresponding to the target network device is displayed, the user can dynamically adjust the configuration parameter according to the actual running state and demand of the network device, thereby providing high flexibility for the user to adapt to different network environments and business demands. Meanwhile, in the process of modifying the first configuration parameter into the second configuration parameter, the target network device can continue to maintain the current running state with the first configuration parameter, so that the network device does not need to interrupt the service in the configuration update process, thereby ensuring the continuity and real-time performance of the network. Thus, the real-time configuration method for dynamically adjusting the network device parameter according to the demand without interrupting the service is realized. BRIEF DESCRIPTION OF DRAWINGS

[0017] In order to make the technical solutions in the specific embodiments or prior art of the present application clearer, the following will briefly introduce the drawings needed to be used in the specific embodiments or prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and those skilled in the art can also obtain other drawings according to these drawings without creative labor.

[0018] FIG. 1a is a flow chart of a parameter configuration method according to an embodiment of the present application;

[0019] FIG. 1b is a schematic diagram of a cluster network device networking according to an embodiment of the present application;

[0020] FIG. 2 is a flow chart of a method for determining a target network device according to another embodiment of the present application;

[0021] FIG. 3 is a structural block diagram of a parameter configuration apparatus according to another embodiment of the present application;

[0022] FIG. 4 is an internal structure diagram of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to make the technical solutions in the specific embodiments or prior art of the present application clearer, the following will briefly introduce the drawings needed to be used in the specific embodiments or prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and those skilled in the art can also obtain other drawings according to these drawings without creative labor.

[0024] With the development of new generation information network technology and the massive data fusion generated by the Internet of Everything, the management and planning of data are becoming more and more reasonable, which can meet the data transmission needs of different application scenarios. Distributed parallel computing is a key means to realize AI large model training, which usually includes multiple parallel computing modes such as data parallelism, pipeline parallelism and tensor parallelism. All parallel modes need multiple collection communication operations between multiple computing devices. In order to meet the needs of future intelligent computing center scale construction, AI large model development and deployment, a new intelligent computing center network with no blocking, high bandwidth and ultra-low latency is built, which can effectively help the rapid development of high-performance businesses such as AIGC (AI Generated Content, i.e. artificial intelligence generated content).

[0025] However, the data center in the related art adopts a solidified network architecture, and has disadvantages in reliability, real-time performance and stability of data transmission. The configuration mode of CLI (Command-Line Interface) adopted by the switching and routing devices of the data center has the problem of incompatible configuration commands, and requires high professional knowledge of engineers, has high manual maintenance cost, and is prone to high error rate in the configuration process, and cannot effectively adapt to the development trend of contemporary network technology.

[0026] Specifically, the session protocol adopted in the related art defines the structure of the message in the protocol, and reads and parses the architecture according to the byte stream. In order to better express more rich message structure in the byte stream, TLV (Type-Length-Value) and other methods are used to define objects. However, the expansibility of this method is limited, for example, if the object is expanded or modified, the code needs to be changed. Moreover, the session protocol based on byte stream used in the related art can be regarded as a program with a clear execution flow, and the data model can be compared to the programming language for writing programs. If a large amount of private data is added to a protocol, the compatibility of the protocol is a big problem, and the code of the protocol stack is almost completely rewritten, which is time-consuming and laborious.

[0027] Therefore, according to the embodiments of the present application, a parameter configuration method embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0028] In this embodiment, a parameter configuration method is provided, which is applied to a configuration server, and the configuration server is communicatively connected with a target network device. FIG. 1a is a flowchart of the parameter configuration method according to an embodiment of the present application, as shown in FIG. 1a, the flow includes the following steps:

[0029] S110, display the content of the constraint file model corresponding to the target network device.

[0030] In some cases, in view of the limitations of the parameter configuration method in the related art, in order to improve the flexibility, intelligence and efficiency of the network, a self-defined parameter configuration method can be used to separate the data management plane and the data service plane in the cluster network.

[0031] Specifically, the cluster network can include a configuration server and target network devices (clients). Among them, the configuration server can be an entity device of the management plane, which can be connected to the target network device enabled with network management protocol through the CLI interface, and obtain and operate the configuration data of the device. The target network device can refer to any client device in the cluster network, such as switches, routers and storage devices. For example, FIG. 1b is a schematic diagram of the network of the cluster network device. Referring to FIG. 1b, the target network device (client) can be any one of the Spine device, Leaf device and GPU (Graphics Processing Unit) server device supporting Openflow, Netconf (Network Configuration Protocol), SNMP (Simple Network Management Protocol), RESTCONF, gNMI, BGP-LS, XMPP and other network management protocols, which can support mandatory SSH and TLS as the transmission protocol.

[0032] Further, the application APPs shown in FIG. 1b can be network control and management applications (Apps) developed for business needs. The northbound interface can refer to the interface connected to the core device in the cluster network. Specifically, through the northbound abstraction, the application APPs can obtain the global network view, and realize the development of simplified management, control and configuration services. Among them, the global network view can provide relevant network topology information for the application program, including hosts, switch forwarding devices and network-related state indicators. The application program is an intelligent management tool that can be programmed based on the global network view through the API interface (Application Programming Interface). The southbound interface can refer to the interface connected to the client device (such as a personal computer, a server, etc.) in the cluster network. Through the southbound interface, the core of the configuration server can be isolated from the details of different devices (clients) and protocols.

[0033] Exemplarily, as shown in FIG. 1b, the southbound interface allows the system to utilize various network components, such as Spine devices, Leaf devices, GPU servers, etc., to create a unified network management view. And through the southbound abstraction, the configuration server can unify the various network elements in the cluster network into standardized objects. It can be understood that through this method, the distributed core system of the configuration server can maintain the state of the network elements without knowing the details of each network element represented by the underlying driver to achieve communication connection and configuration. Further, the configuration server and its southbound abstraction can also allow various southbound protocols and client devices to use plug-ins. Among them, the plug-in can map and convert the general network element description and operation on the client device into a language that the client device can understand, so that the configuration server can also control or manage various different client devices when the client device uses different protocols (such as OpenFlow protocol, etc.).

[0034] It can be understood that the northbound interface and the southbound interface of the configuration server provide an initial basis for the isolation of the application program, the core layer and the adapter, that is, the management plane of the data and the service plane of the data are separated. Through this separated modular design, the configuration server can be used as a software system, so that the developers and service providers can more conveniently develop it later according to the needs. And the system stability can be maintained and upgraded through continuous parameter debugging. At the same time, since the configuration server is constructed as a system composed of multiple independent components, and the direct dependency relationship between the modules is realized through the north-south interface module, each module in it also maintains a relatively small dependency. The dependency relationship between them can form an acyclic graph, thereby avoiding complex dependency chains, making the system structure more clear and facilitating future expansion and upgrading.

[0035] Based on this, the parameter configuration method applied to the configuration server and having the target network device in communication connection is implemented, which can first display the constraint file model content corresponding to the target network device. The constraint file can be a standardized document defining the structure, syntax and semantics of the data model, as well as the hierarchical organization and constraints of the data. It can be understood as a standard-based, extensible hierarchical data modeling language used for modeling configuration and state data used for network management protocol operations, remote procedure calls (RPC) and server event notifications. Exemplarily, the constraint file can be regarded as a template for parameter configuration, which not only clearly defines the syntax structure of the data, but also describes the semantic meaning of the data in detail. And through the constraint file model content, the association between the data and the constraints can be explicitly defined, so that the user can quickly and directly create configuration data that meets the constraint requirements and is grammatically correct in a self-defined manner.

[0036] Further, the constraint file can not only exist as a complete independent unit, but also can introduce the definition of other modules and sub-modules, which can allow the existing data model to be expanded by adding additional nodes. Specifically, although the device configuration data is stored in the form of an XML (eXtensible Markup Language) document, the specific nodes in the document and the allowed values can be flexibly defined, and the conversion to YIN format using XML-based syntax is supported. For example, the IETF (Internet Engineering Task Force) can be used, in which many models allowing flexible definition of nodes are directly created to further support the standardization and unification of network management protocol interfaces of common network devices. That is, the system of a standard computer can be described in the network interface configuration defined in the IETF-system model (RFC7317) or the IETF-interfaces model (RFC7223), and for each system, some specific parameters are required in the network to ensure that the network protocol works normally. These parameters need to be configured according to the specific network protocol requirements to ensure that the network can operate efficiently and stably to meet the data transmission requirements under large-scale networking.

[0037] It needs to be understood that since the cluster network architecture adopts northbound and southbound interfaces, in cooperation with the constraint file, that is, through the standardized interfaces (northbound and southbound interfaces) and data models (constraint file), the interaction between the client and the configuration server becomes more standardized, so that the management plane of data and the business plane of data can be separated. Therefore, the configuration data in the constraint file no longer needs to strictly focus on the parameters of the network itself, that is, in addition to the RPC defined by the network management protocol, it can also be characterized, for example, the version information of the protocol session, the identifier information of the device, the timestamp, the transmission protocol or security configuration, whether to support SSH or TLS security encryption, etc.

[0038] Specifically, the constraint file model content includes a first configuration parameter corresponding to a current running state of a target network device.

[0039] The first configuration parameter can refer to a configuration parameter in the current running state of the target network device. Specifically, the first configuration parameter can define the running behavior of the device, such as QoS setting, port configuration, traffic management, etc., and also can reflect the configuration settings currently used by the device.

[0040] It needs to be understood that the model data of the cluster network can include both state data and configuration data. Among them, the state data refers to inherent attribute data of the client and dynamic information data of the current running, and the like, and such data is only for calling query. The configuration data refers to static information data defining the behavior and running mode of the network device. Since the configuration data can allow users to customize the configuration according to the needs, it itself has different representations. Exemplarily, the configuration data can include the effective configuration data corresponding to the current state data after the client application, can include the pre-effective configuration data modified by the network administrator or the user but not yet applied to the client, and can include the start-time configuration data applied by the client itself when starting in the initial configuration state.

[0041] Therefore, based on this, after the network control management application on the configuration server side responds to the request of the network administrator or the user, the constraint file model content corresponding to the target network device is correspondingly displayed. The constraint file model content includes the first configuration parameter of the target network device, and the first configuration parameter can be the configuration parameter in the current running state of the target network device, that is, the effective configuration data currently used by the device.

[0042] S120, in response to the configuration parameter modification operation, modifying the first configuration parameter to a second configuration parameter suitable for the target network device.

[0043] Among them, the second configuration parameter can refer to a new configuration parameter obtained by modifying the first configuration parameter according to new business requirements or network changes by the network administrator or the user, that is, obtaining the second configuration parameter. Exemplarily, the second configuration parameter can also include backup QoS configuration, port list configuration, and traffic management configuration (traffic speed limit, bandwidth allocation, and bandwidth priority policy) to adjust the optimization of device performance, new security policy, and traffic management rule. Specifically, the network administrator or the user can modify and adjust the configuration parameter of the target network device on the network control management application on the configuration server side according to the network performance monitoring result or the business requirement change, and modify the first configuration parameter to the second configuration parameter suitable for the target network device.

[0044] It needs to be understood that in the process of modifying the first configuration parameter to the second configuration parameter, since the management plane of the data and the service plane of the data are separated by adopting the northbound and southbound interfaces, the target network device continues to maintain the normal running in the current running state with the first configuration parameter while the network administrator or the user customizes the modification of the first configuration parameter according to the new business requirement or the network change.

[0045] S130, sending the second configuration parameter in the constraint file model format to the target network device, so that the target network device still maintains the current running state according to the first configuration parameter after receiving the second configuration parameter, and starts according to the second configuration parameter to enter the running state corresponding to the second configuration parameter at the next start.

[0046] It can be understood that since the second configuration parameter is generated by customizing and modifying the first configuration parameter, when the configuration server issues the modified second configuration parameter to the corresponding target network device, the constraint file model format is also used. That is, the second configuration parameter is also encapsulated in the constraint file model and stored in the form of an XML document.

[0047] Further, since the data management plane and the data service plane are operationally separated, the target network device still maintains the current running state according to the first configuration parameter after receiving the second configuration parameter. Until the next start, the first configuration parameter is overwritten by the second configuration parameter, and the network device starts according to the second configuration parameter to enter the running state corresponding to the second configuration parameter, that is, the network device is allowed to smoothly transition to a new configuration state without interrupting service.

[0048] In the above embodiment, since the content of the constraint file model corresponding to the target network device is displayed, the user can dynamically adjust the configuration parameter according to the actual running state and needs of the network device, thereby providing high flexibility for the user to adapt to different network environments and business needs. At the same time, in the process of modifying the first configuration parameter to the second configuration parameter, the target network device can continue to maintain the current running state according to the first configuration parameter, so that the network device does not need to interrupt service during configuration update, thereby ensuring the continuity and real-time of the network. Thus, a real-time configuration method for dynamically adjusting network device parameters according to needs without interrupting service is realized.

[0049] In some embodiments, the configuration server is communicatively connected with a plurality of network devices; before displaying the content of the constraint file model corresponding to the target network device, please refer to FIG. 2, the method further comprises:

[0050] S210, in response to the network device selection operation, determining the target network device that needs to modify the configuration parameter in the plurality of network devices.

[0051] The network device selection operation can refer to a process in which a network administrator or user selects one or more specific devices for configuration management among multiple network devices. The target network device can refer to a network device that can accept new configuration parameters after the network device selection operation. Specifically, the network administrator or user can input the IP address of the target network device on the network control management application on the configuration server side to determine the target network device that needs to modify the configuration parameters.

[0052] S220, establishing a network management protocol session between the configuration server and the target network device.

[0053] It can be understood that the network management protocol session can refer to a communication connection established between the configuration server and the target network device for transmitting configuration data and management commands.

[0054] Exemplarily, such a session follows a specific network management protocol, such as SNMP (Simple Network Management Protocol), NETCONF, or RESTCONF, etc., to ensure accurate data transmission and correct management of the device. Specifically, appropriate network management protocols can be selected according to the network environment and device support, and necessary communication parameters can be set. Exemplarily, it can include the IP address of the target device, port number, community string (for SNMP), or username and password (for NETCONF or RESTCONF), etc.

[0055] Further, the configuration server sends an initialization request to the target network device to establish the session, thereby verifying the identity and communication parameters of both parties. Once the identity verification is successful, the target network device will confirm the establishment of the session and can be ready to receive management commands.

[0056] When the configuration server and the target network device establish a link through the network management protocol session, the target network device can reply to the configuration server with a message containing the characteristics and capabilities supported by the network device itself, mainly including version information of the protocol session, device identifier information, timestamp, transmission protocol or security configuration, whether supporting SSH or TLS security encryption, etc.

[0057] It can be understood that since the target network device (client) can be a network device that supports mandatory SSH, TLS as a transmission protocol, i.e., the network management protocol session can include protocols using SSH (Secure Shell) and TLS (Transport Layer Security) as a secure transmission layer, the client can use any of the two transmission protocols to establish a network management protocol session link in the case of successful connection, and send a network management protocol RPC (Remote Procedure Call) command to the configuration server, so that the configuration server provides accurate responses according to the command.

[0058] Optionally, the client can also implement most of the key functions in the RFC 6241 standard, including verifying the new configuration before applying it to ensure the security and compatibility of the new configuration. Or when the application of the new configuration fails, it can return to the previous configuration to ensure the stability of the network. At the same time, access control is also supported, that is, each user has a specified available part of the configuration for reading and writing, and cannot access any other configuration, ensuring that each user can only access and modify the configuration part they are authorized to, thereby enhancing the security and controllability of network management.

[0059] In the above embodiment, the network administrator or user can accurately select a specific network device for configuration management, and conveniently call and display the content of the constraint file model corresponding to the target network device through the network control management application on the configuration server side. This process not only simplifies configuration management, but also ensures the accuracy and real-time of the configuration.

[0060] In some embodiments, the first configuration parameter is in a constraint file model format in a configuration information base of the target network device. The method further includes sending a parameter locking instruction to the target network device.

[0061] The parameter locking instruction is used to instruct the target network device to lock the configuration information base and continue to maintain the current running state with the first configuration parameter.

[0062] It can be understood that the configuration information base (CIB) is a key component in a network management system, used to store various configuration data and state information of network devices.

[0063] Specifically, after selecting the target network device that needs to modify the configuration parameter and establishing a network management protocol session link between the configuration server and the target network device, in order to ensure that the first configuration parameter currently running on the target network device is not affected by the operation of other users or administrators during the configuration modification process, the configuration server can send a parameter locking instruction to the target network device to instruct the target network device to lock its configuration information base to prevent other operations from changing the configuration.

[0064] In the above embodiment, after establishing a network management protocol session between the configuration server and the target network device, by implementing the parameter locking instruction, it is ensured that the device will continue to run with the first configuration parameter during the configuration modification, while preventing the intervention of other users or administrators, avoiding potential configuration conflicts and errors, thereby ensuring the accuracy and reliability of the configuration process,

[0065] In some embodiments, the configuration information library includes a main configuration database, a backup configuration database, and a startup configuration database.

[0066] The parameter locking instruction is used to instruct the target network device to lock the main configuration database or to lock the main configuration database, the backup configuration database, and the startup configuration database at the same time.

[0067] Specifically, in the network management process, the configuration server communicates with the target network device through a network management protocol session, sends a parameter locking instruction to lock the main configuration database or to lock the main configuration database, the backup configuration database, and the startup configuration database at the same time, so as to prevent other operations from changing the configuration when a configuration change is made, and to ensure the accuracy of the configuration process.

[0068] The main configuration database can be used to save configuration parameters corresponding to the current running state of the target network device, that is, to save the effective configuration data corresponding to the current state data after the client application. The backup configuration database can be used to save backup data of the configuration parameters, that is, to save the pre-effective configuration data after the network administrator or user modification but before the application to the client, which is waiting for submission. It should be understood that the configuration parameters stored in the backup configuration database and the main configuration database are consistent, that is, the main configuration database and the backup configuration database can be redundant configurations. The startup configuration database can be used to save the recovery configuration parameters used after the target network device is restarted. The recovery configuration parameters refer to the data that can ensure the normal operation of the client device when the device is initialized and started.

[0069] Specifically, when a user wants to modify the configuration parameters of the target network device, the first configuration parameters of the target network device currently running stored in the main configuration database of the client can be called on the network control management application of the configuration server side, and the first configuration parameters are modified. In this process, the first configuration parameters are also backed up in the backup configuration database in real time. If the main configuration database fails at this time and cannot be used, the data stored in the backup configuration database in real time can be used to continue running. Further, if the backup configuration database also fails at this time and cannot be used, the recovery configuration parameters of the initial state can be called from the startup configuration database to ensure that the target network device will not be unable to run due to damage of the main configuration database and the backup configuration database.

[0070] Exemplarily, taking the port configuration parameter as an example, when a network device is initialized and started, port 1 is used, and therefore the port configuration parameter stored in the master configuration database, the backup configuration database and the start configuration database of the network device is port 1. Further, the user changes port 1 to port 2, and therefore the port configuration parameter stored in the master configuration database and the backup configuration database is port 2, and the port configuration parameter stored in the start configuration database is still port 1. If the master configuration database of the network device cannot be opened suddenly, the configuration parameter with the port configuration parameter port 2 can be obtained from the backup configuration database to continue running. If the master configuration database and the backup configuration database of the network device are damaged and cannot be opened at the next moment, the configuration parameter with the port configuration parameter port 1 can be obtained from the start configuration database to run, and the configuration parameter is modified again, and port 1 is changed to port 2 again to meet the new demand.

[0071] In the above embodiment, by the locking mechanism, when the configuration is changed, other operations or users are prevented from changing the configuration, so that the stable operation of the network device is maintained when the configuration parameter is modified. Meanwhile, by designing three databases, the old configuration parameter before modification and the new configuration parameter after modification are both backed up, and further, if the new configuration parameter has a problem, the old configuration parameter can be quickly rolled back, so as to guarantee the stability and reliability of the network.

[0072] In some embodiments, after the target network device modifies the first configuration parameter to the second configuration parameter, the method further comprises: sending a parameter unlocking instruction to the target network device.

[0073] The parameter unlocking instruction is used to release the locking state of the configuration information library.

[0074] Specifically, after the target network device successfully modifies the first configuration parameter to the second configuration parameter, the configuration server sends a parameter unlocking instruction to the target device. The function of the parameter unlocking instruction is to inform the target network device that the configuration modification process has been completed, and the locking state of the master configuration database, the backup configuration database and the start configuration database can be released.

[0075] Further, after receiving the parameter unlocking instruction, the target network device releases the locking state of the configuration information library correspondingly, restores it to the normal state, and allows other users or administrators to perform data business operations or subsequent configuration changes again.

[0076] In the above embodiments, the sending of the unlock instruction marks the successful completion of the configuration modification process, thereby allowing the network device to release the locked state of the configuration information library, resume normal operation, and provide the possibility for subsequent configuration changes. By sending the parameter unlock instruction after the target network device successfully modifies the first configuration parameter to the second configuration parameter, not only the integrity of the configuration change and the stability of the network are ensured, but also the flexibility and security of network configuration management are improved.

[0077] In some embodiments, the method further comprises: if the second configuration parameter in the constraint file model format passes the compliance check of the target network device, receiving an acknowledgement response sent by the target network device.

[0078] It can be understood that after the configuration parameter is modified, the modified configuration parameter may not be correctly applied to the target network device. For example, still taking the port configuration parameter as an example, when a network device is initialized and started, port 1 is used. When modified, port 1 is changed to port 10, but the network device may not have port 10, so the modification at this time is illegal and cannot be correctly applied to the target network device.

[0079] Therefore, after the first configuration parameter is modified to the second configuration parameter, the configuration server issues a compliance check command to the target network device, so that the target network device performs compliance check on the modified second configuration parameter.

[0080] The compliance check can refer to a series of legality checks on the new configuration parameters before they are applied, to verify whether they meet the hardware and software requirements of the network device, network policies, security standards, and any related service level agreement (SLA) operation process. Specifically, the compliance check can include basic syntax verification, structure and rule checking, entity and character reference verification, element data type and range constraint checking, etc.

[0081] Specifically, when modifying, the configuration server sends the second configuration parameter in the constraint file model format to the target network device. After receiving the second configuration parameter, the target network device can parse the parameters through its verification module and perform compliance check on the new configuration parameters according to the predefined rules and standards, to ensure the legality, compatibility and reliability of the configuration parameters. If the second configuration parameter passes all the compliance checks, the target network device will send an acknowledgement response to the configuration server, indicating that the new configuration parameter has been accepted and is ready to be applied. However, if the second configuration parameter fails to pass the compliance check of the target network device, the target network device will not send an ACK response frame, indicating that the second configuration parameter modification is illegal and invalid.

[0082] In the above embodiments, by implementing the compliance verification, the legality, compatibility and reliability of the network device configuration parameters are also ensured. Meanwhile, it is ensured that only the configuration parameters that meet the requirements of the network device hardware and software, network policy, security standards and service level agreement can be applied, thereby significantly improving the security and effectiveness of network management.

[0083] In some embodiments, the first configuration parameter is in a constraint file model format in the main configuration database of the target network device. After receiving the confirmation response, the method further includes sending a parameter modification instruction to the target network device to modify the first configuration parameter in the main configuration database to the second configuration parameter. During the process of modifying the first configuration parameter by the target network device, the target network device still maintains the current running state with the first configuration parameter.

[0084] Specifically, after receiving the confirmation response from the target network device based on the compliance verification, the configuration server sends a parameter modification instruction to the target network device to instruct the device to start modifying the current configuration parameter (the first configuration parameter) in the main configuration database to a new configuration parameter (the second configuration parameter). After receiving the parameter modification instruction, the target network device starts the updating process in the main configuration database, thereby replacing the first configuration parameter with the second configuration parameter. Exemplarily, the second configuration parameter can directly overwrite the second configuration parameter, which is also stored in the main configuration database in a constraint file model format and is synchronized to the backup configuration database.

[0085] Optionally, since the main configuration database and the backup configuration database are redundant configurations, the backup configuration database can also allow the repeated operation process of the custom parameter configuration. After confirming that the modified second configuration parameter passes the compliance verification, the parameter configuration of the backup database can also overwrite the main configuration database to realize data backup.

[0086] It should be noted that, in this process, since the data management plane and the data service plane are operationally separated, the running state of the target network device will not be disturbed in the process of modifying the first configuration parameter in the master configuration database to the second configuration parameter, and it can still maintain the current running state according to the first configuration parameter. Exemplarily, after the target network device modifies the first configuration parameter in the master configuration database to the second configuration parameter, the data update request can be displayed on the front end of the target network device. If the user agrees to update, the target network device is restarted and runs with the modified second configuration parameter as the configuration parameter in response to the agreement request. If the user does not agree to update, the second configuration parameter can be temporarily stored in the configuration database, and the current running process will not be forcibly interrupted for configuration parameter update. Instead, the target network device is directly started and run according to the modified second configuration parameter as the configuration parameter at the next start.

[0087] In the above embodiments, after confirming that the second configuration parameter passes the compliance check and receiving the confirmation response, the configuration server instructs the target network device to update the parameters in the master configuration database to the new configuration, while ensuring that the device continues to run with the first configuration parameter to ensure uninterrupted service. Until the user confirms the update, the device is restarted and the new configuration parameter is applied, thereby ensuring the stability of the network device and the flexibility of the parameter update.

[0088] In some embodiments, the first configuration parameter is at least one of a QoS configuration parameter, a port list configuration parameter, and a traffic management configuration parameter.

[0089] The QoS configuration parameter (Quality of Service Configuration Parameters) can refer to a configuration parameter that defines the quality of service of data transmission in the network, which is used to ensure that the key applications of the target network device can obtain the necessary bandwidth and low delay to ensure their application performance. Specifically, the QoS configuration parameter can include packet classification, priority allocation, queue management, etc., to realize differentiated processing of network traffic.

[0090] The port list configuration parameter (Port List Configuration Parameters) can be a configuration parameter related to the configuration of each port on the network device, including the configuration of enabling, disabling, rate limiting, etc. of the port, which is used to allow the network administrator to define which ports can be used for data transmission and how these ports transmit the transmission characteristics of the transmission.

[0091] Traffic Management Configuration Parameters can refer to configuration parameters used to control and optimize network traffic, which can include monitoring, analyzing and regulating network traffic to prevent network congestion and ensure the satisfaction of service level agreements (SLAs), thereby achieving efficient utilization of network resources and maximizing network performance.

[0092] Further, the Traffic Management Configuration Parameters include at least one of traffic shaping, bandwidth allocation and bandwidth priority policy.

[0093] Traffic Shaping can refer to a traffic management technique used to control the transmission rate of network traffic to prevent certain traffic from occupying too much bandwidth and affecting other traffic. Bandwidth Allocation can refer to a traffic management technique that allocates the total bandwidth of a network to different users, applications or service traffic. Bandwidth Priority Policy can be a traffic management technique that defines the priority of different types of traffic, which can set their priority according to the type, source or destination of the traffic, so as to ensure that critical business traffic can be given priority in the network.

[0094] In the above embodiments, by comprehensively using QoS configuration parameters, port list configuration parameters and traffic management configuration parameters, users can customize configuration parameters according to business needs and transmission needs, achieving fine management and optimized allocation of network resources, and also ensuring the performance of critical applications, thereby improving the overall service quality of the network. At the same time, since these parameters can be modified in real time without interrupting the business of the target network device, the utilization of network resources is maximized, and the stability and reliability of the network are significantly improved, providing a high-efficiency, stable and responsive operating environment for the target network device.

[0095] The embodiments of the present specification also provide a parameter configuration method applied to a configuration server, the configuration server being communicatively connected with a plurality of network devices. The first configuration parameter exists in a configuration information library of the target network device in a constraint file model format. The first configuration parameter is at least one of QoS configuration parameters, port list configuration parameters and traffic management configuration parameters. The traffic management configuration parameters include at least one of traffic shaping, bandwidth allocation and bandwidth priority policy. The configuration information library includes a main configuration database, a backup configuration database and a startup configuration database. The method includes the following steps:

[0096] S302, in response to the network device selection operation, determining a target network device in the plurality of network devices that needs to modify the configuration parameter.

[0097] S304, establishing a network management protocol session between the configuration server and the target network device.

[0098] S306, sending a parameter locking instruction to the target network device.

[0099] The parameter locking instruction is used to instruct the target network device to lock the main configuration database or simultaneously lock the main configuration database, the backup configuration database and the startup configuration database, and continue to maintain the current running state with the first configuration parameter. The main configuration database is used to save the configuration parameter corresponding to the current running state of the target network device; the backup configuration database is used to save the backup data of the configuration parameter corresponding to the current running state of the target network device; and the startup configuration database is used to save the recovery configuration parameter used after the target network device is restarted.

[0100] S308, displaying the constraint file model content corresponding to the target network device.

[0101] The constraint file model content includes the first configuration parameter corresponding to the current running state of the target network device.

[0102] S310, modifying the first configuration parameter to a second configuration parameter suitable for the target network device in response to a configuration parameter modification operation.

[0103] In the process of modifying the first configuration parameter to the second configuration parameter, the target network device continues to maintain the current running state with the first configuration parameter.

[0104] S312, sending the second configuration parameter in the constraint file model format to the target network device to make the target network device perform compliance verification thereon.

[0105] S314, if the second configuration parameter in the constraint file model format passes the compliance verification of the target network device, receiving an acknowledgement response sent by the target network device.

[0106] S316, after receiving the acknowledgement response, sending a parameter modification instruction to the target network device to modify the first configuration parameter in the main configuration database to the second configuration parameter, and in the process of modifying the first configuration parameter, the target network device still maintains the current running state with the first configuration parameter.

[0107] S318, after the target network device modifies the first configuration parameter to the second configuration parameter, sending a parameter unlocking instruction to the target network device.

[0108] The parameter unlocking instruction is used to release the locking state of the configuration information library.

[0109] S320, after modifying the first configuration parameter into the second configuration parameter, the target network device still maintains the current running state by using the first configuration parameter, and next time when starting, the target network device starts according to the second configuration parameter to enter the running state corresponding to the second configuration parameter.

[0110] It should be understood that, although each step in the above flowchart is shown in sequence according to the arrow direction, these steps are not necessarily executed in sequence according to the arrow direction. Unless explicitly stated herein, the execution of these steps has no strict sequence limitation, and these steps can be executed in other sequences. Moreover, at least part of the steps of the above flowchart can include multiple steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or steps or stages in other steps.

[0111] The embodiments of the present specification further provide a parameter configuration device 300 applied to a configuration server, and the configuration server is in communication connection with a target network device. As shown in FIG. 3, it comprises a configuration parameter display module 310, a configuration parameter modification module 320 and a configuration parameter running module 330, wherein:

[0112] The configuration parameter display module 310 is configured to display the constraint file model content corresponding to the target network device; wherein the constraint file model content comprises the first configuration parameter corresponding to the current running state of the target network device.

[0113] The configuration parameter modification module 320 is configured to modify the first configuration parameter into the second configuration parameter suitable for the target network device in response to the configuration parameter modification operation; wherein in the process of modifying the first configuration parameter into the second configuration parameter, the target network device continues to maintain the current running state by using the first configuration parameter.

[0114] The configuration parameter running module 330 is configured to send the second configuration parameter in the constraint file model format to the target network device, so that after receiving the second configuration parameter, the target network device still maintains the current running state by using the first configuration parameter, and next time when starting, the target network device starts according to the second configuration parameter to enter the running state corresponding to the second configuration parameter.

[0115] In some embodiments, the configuration server is communicatively connected with a plurality of network devices; before displaying the content of the constraint file model corresponding to the target network device, the parameter configuration apparatus 300 further comprises a network management protocol session establishment module configured to determine, in response to a network device selection operation, a target network device in the plurality of network devices that needs to modify the configuration parameter; and establish a network management protocol session between the configuration server and the target network device.

[0116] In some embodiments, the first configuration parameter is in a constraint file model format in a configuration information base of the target network device. The parameter configuration apparatus 300 further comprises a parameter locking module configured to send a parameter locking instruction to the target network device; wherein the parameter locking instruction is configured to instruct the target network device to lock the configuration information base and continue to maintain the current running state with the first configuration parameter.

[0117] In some embodiments, the parameter configuration apparatus 300 further comprises a configuration information base module configured to include a main configuration database, a backup configuration database, and a startup configuration database; the parameter locking instruction is configured to instruct the target network device to lock the main configuration database or simultaneously lock the main configuration database, the backup configuration database, and the startup configuration database; the main configuration database is configured to save the configuration parameter corresponding to the current running state of the target network device; the backup configuration database is configured to save backup data of the configuration parameter corresponding to the current running state of the target network device; and the startup configuration database is configured to save the recovery configuration parameter used by the target network device after a restart.

[0118] In some embodiments, after the target network device modifies the first configuration parameter to the second configuration parameter, the parameter locking module is further configured to send a parameter unlocking instruction to the target network device; wherein the parameter unlocking instruction is configured to release the locked state of the configuration information base.

[0119] In some embodiments, the parameter configuration apparatus 300 further comprises a response confirmation module configured to receive a confirmation response sent by the target network device if the second configuration parameter in the constraint file model format passes the compliance check of the target network device.

[0120] In some embodiments, the first configuration parameter is in a constraint file model format in a main configuration database of the target network device; after receiving the confirmation response, the configuration parameter running module 330 is further configured to send a parameter modification instruction to the target network device to modify the first configuration parameter in the main configuration database to the second configuration parameter; and in the process of modifying the first configuration parameter by the target network device, the target network device still maintains the current running state with the first configuration parameter.

[0121] In some embodiments, the configuration parameter modification module 320 is further configured to determine that the first configuration parameter is at least one of a QoS configuration parameter, a port list configuration parameter, and a traffic management configuration parameter, wherein the traffic management configuration parameter comprises at least one of a traffic limit, a bandwidth allocation, and a bandwidth priority policy.

[0122] The specific limitation of the parameter configuration apparatus can refer to the limitation of the parameter configuration method, which is not repeated here. Each module in the parameter configuration apparatus can be realized by software, hardware, and combinations thereof. Each module can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory in the computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0123] The parameter configuration apparatus in the embodiment is in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and a memory executing one or more software or fixed programs, and / or other devices that can provide the above functions.

[0124] The embodiment of the present application further provides a computer device, which can be a terminal, and the internal structure diagram of the computer device can be as shown in FIG. 4. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected through a system bus. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The communication interface of the computer device is configured to perform wired or wireless communication with an external terminal. The wireless communication can be achieved through WIFI, mobile cellular network, NFC (Near Field Communication), or other technologies. The computer program is executed by the processor to implement a parameter configuration method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or a key, trackball, or touchpad arranged on the shell of the computer device, or an external keyboard, touchpad, or mouse, etc.

[0125] Those skilled in the art can understand that the structure shown in FIG. 4 is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. A specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.

[0126] The embodiments of the present application further provide a computer readable storage medium, and the method according to the embodiments of the present application can be implemented in hardware, firmware, or recorded in a storage medium, or be implemented as computer code stored in a remote storage medium or a non-transitory machine readable storage medium and stored in a local storage medium through network downloading, so that the method described herein can be processed by such software on a storage medium using a general purpose computer, a special purpose processor, or programmable or special hardware. The storage medium can be a disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid state disk, etc. Further, the storage medium can also include a combination of the above-mentioned memories. It can be understood that the computer, the processor, the microprocessor controller, or the programmable hardware includes a storage component that can store or receive software or computer code, and when the software or computer code is accessed and executed by the computer, the processor, or the hardware, the method shown in the above embodiments is implemented.

[0127] The embodiments of the present application provide a computer program product, which includes computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the computer device to perform the method of any of the embodiments of the present application.

[0128] The parameter configuration method, apparatus and computer device described in the above embodiments can be implemented by a computer chip or entity, or by a product having certain functions. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0129] For the convenience of description, the above apparatus is described in various units by function. Of course, the functions of the units can be implemented in the same or multiple software and / or hardware when implementing the present application.

[0130] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.

[0131] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks.

[0132] These computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart block or blocks.

[0133] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks.

[0134] In the description of the specification, the description of the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the description of the specification, the illustrative description of the above terms does not necessarily mean the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0135] In addition, the terms "first", "second" are used only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the technical features indicated. Therefore, the features defined with "first", "second" can explicitly or implicitly include at least one of the features. In the description of the present application, the meaning of "a plurality of" is at least two, for example, two, three, etc., unless otherwise explicitly specified.

[0136] It should also be noted that the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises a" does not, without further constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.

[0137] Each of the embodiments in the present specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other. Each of the embodiments focuses on the difference from other embodiments. Since the description is relatively simple because of the substantial similarity to the method embodiments, the relevant parts can be referred to the description of the method embodiments.

[0138] The above only describes the embodiments of the present application and is not intended to limit the present application. The present application can have various modifications and changes for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the scope of claims of the present application.

[0139] Although the embodiments of the present application are described in conjunction with the drawings, various modifications and changes can be made by those skilled in the art without departing from the spirit and scope of the present application, and such modifications and changes shall fall within the scope defined by the appended claims.

[0140] It can be understood that, before using the technical solutions disclosed in the embodiments of the present disclosure, the type of personal information involved in the present disclosure, the use range, the use scenario, etc. should be informed to the user and the authorization of the user should be obtained through appropriate means according to relevant laws and regulations.

[0141] For example, in response to receiving the active request of the user, prompt information is sent to the user to explicitly prompt the user that the operation requested to be performed will need to obtain and use the personal information of the user. Thus, the user can voluntarily choose whether to provide the personal information to the software or hardware such as electronic device, application program, server or storage medium, etc. that performs the operation of the technical solutions of the present disclosure according to the prompt information.

[0142] As an optional but not limited implementation manner, in response to receiving the active request of the user, the manner of sending the prompt information to the user may, for example, be the manner of pop-up window, and the prompt information may, for example, be presented in the form of text in the pop-up window. In addition, the pop-up window may, for example, carry a selection control for the user to select "agree" or "disagree" to provide the personal information to the electronic device.

[0143] It can be understood that the above notification and user authorization obtaining process is only illustrative and does not limit the implementation of the present disclosure, and other methods meeting relevant laws and regulations can also be applied to the implementation of the present disclosure.

[0144] It can be understood that the data involved in the technical solution (including but not limited to the data itself, the acquisition or use of the data) should comply with the requirements of relevant laws and regulations and relevant provisions.

[0145] It can be understood that in the specific embodiments of the present application, data related to user information, location information, navigation data, etc. When the above embodiments are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data need to comply with relevant national and regional laws, regulations and standards.

Claims

1. A parameter configuration method, characterized in that, The method is applied to a configuration server, which is communicatively connected to a target network device; the method includes: Display the constraint file model content corresponding to the target network device; wherein, the constraint file model content includes the first configuration parameters corresponding to the current operating state of the target network device; In response to a configuration parameter modification operation, the first configuration parameter is modified to a second configuration parameter suitable for the target network device; wherein, during the process of modifying the first configuration parameter to the second configuration parameter, the target network device continues to maintain the current operating state with the first configuration parameter; Send a second configuration parameter in the constraint file model format to the target network device so that after receiving the second configuration parameter, the target network device will still maintain the current running state with the first configuration parameter, and upon the next startup, the target network device will start according to the second configuration parameter to enter the running state corresponding to the second configuration parameter.

2. The method according to claim 1, characterized in that, The configuration server is connected to multiple network devices; before displaying the constraint file model content corresponding to the target network device, the method further includes: In response to a network device selection operation, the target network device whose configuration parameters need to be modified is determined from the plurality of network devices; Establish a network management protocol session between the configuration server and the target network device.

3. The method according to claim 1, characterized in that, The first configuration parameter exists in the configuration information database of the target network device in the constraint file model format; Before displaying the constraint file model content corresponding to the target network device, the method further includes: Send a parameter lock command to the target network device; wherein the parameter lock command is used to instruct the target network device to lock the configuration information base and continue to maintain the current operating state with the first configuration parameters.

4. The method according to claim 3, characterized in that, The configuration information database includes a main configuration database, a backup configuration database, and a startup configuration database; the parameter locking instruction is used to instruct the target network device to lock the main configuration database or simultaneously lock the main configuration database, the backup configuration database, and the startup configuration database; The main configuration database is used to store the configuration parameters corresponding to the current operating status of the target network device; The backup configuration database is used to store backup data of the configuration parameters corresponding to the current operating status of the target network device; The startup configuration database is used to store the recovery configuration parameters used after the target network device restarts.

5. The method according to claim 3, characterized in that, Sending the second configuration parameters in the constraint file model format to the target network device specifically includes: Send a second configuration parameter in a constraint file model format to the target network device so that the target network device modifies the first configuration parameter to the second configuration parameter; Send a parameter unlock command to the target network device; wherein the parameter unlock command is used to release the locked state of the configuration information database.

6. The method according to claim 1, characterized in that, After sending the second configuration parameters in a constraint file model format to the target network device, the method further includes: If the second configuration parameters using the constraint file model format pass the compliance verification of the target network device, a confirmation response is received from the target network device.

7. The method according to claim 6, characterized in that, The first configuration parameter exists in the main configuration database of the target network device in the constraint file model format; after receiving the confirmation response, the method further includes: A parameter modification instruction is sent to the target network device so that the target network device modifies the first configuration parameter in the main configuration database to the second configuration parameter. During the process of the target network device modifying the first configuration parameter, the target network device still maintains the current operating state with the first configuration parameter.

8. The method according to any one of claims 1 to 7, characterized in that, The first configuration parameter is at least one of QoS configuration parameters, port list configuration parameters, and traffic management configuration parameters; The traffic management configuration parameters include at least one of traffic rate limiting, bandwidth allocation, and bandwidth priority policies.

9. A parameter configuration device, characterized in that, The device is applied to a configuration server, which is communicatively connected to a target network device; the device includes: The configuration parameter display module is used to display the constraint file model content corresponding to the target network device; wherein, the constraint file model content includes the first configuration parameters corresponding to the current operating state of the target network device; The configuration parameter modification module is used to modify the first configuration parameter to a second configuration parameter suitable for the target network device in response to the configuration parameter modification operation; wherein, during the process of modifying the first configuration parameter to the second configuration parameter, the target network device continues to maintain the current operating state with the first configuration parameter; The configuration parameter operation module is used to send a second configuration parameter in the constraint file model format to the target network device, so that after receiving the second configuration parameter, the target network device will still maintain the current operation state with the first configuration parameter, and upon the next startup, the target network device will start according to the second configuration parameter to enter the operation state corresponding to the second configuration parameter.

10. A computer device, characterized in that, include: A memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, the processor executing the computer instructions to perform the method of any one of claims 1 to 8.