A method for determining a configuration operable by a network device and a network device

By receiving configuration session lock modes and predefined parameters, combined with a retry mechanism, the problem of flexible configuration rollback when configurable electronic devices fail to achieve the expected results is solved, thereby improving the reliability of the system and the remote accessibility of the management interface.

CN116244115BActive Publication Date: 2026-11-24PISMO LABS TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310282997.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2017-09-07
Publication Date
2026-11-24
Estimated Expiration
2037-09-07

AI Technical Summary

Technical Problem

In the prior art, configurable electronic devices lack a flexible and effective mechanism to determine whether to perform a configuration rollback when the expected results are not achieved, especially when considering future states with environmental factors, which may result in the management interface being unable to remotely access the device or the retry operation being inappropriate.

Method used

By receiving the configuration session lock mode and predefined parameters, the configuration session state is determined, and the configuration is applied or rolled back when the predefined conditions are met or not. Combined with the retry mechanism, the configuration operation is dynamically adjusted.

Benefits of technology

It provides a flexible condition judgment mechanism to ensure that configuration operations remain valid when the expected results are met, avoid unnecessary rollbacks, and improve the reliability of the system and the remote accessibility of the management interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116244115B_ABST
    Figure CN116244115B_ABST
Patent Text Reader

Abstract

A method for determining a configuration operable by a configurable electronic device. The device receives a second configuration and predefined parameters. The device stores a first configuration in a non-transitory computer-readable storage medium. The device applies the second configuration and then determines whether the predefined parameters are satisfied. When the predefined parameters are satisfied, the device maintains the application of the second configuration. When the predefined parameters are not satisfied, the device retrieves the first configuration and applies it.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application with application number 201780086559.2 entitled "A method for determining a configuration operable by a network device and a network device". Technical Field

[0002] The present invention relates to configurable electronic devices, and more particularly, to an improved method and apparatus for configuration rollback within configurable electronic devices. Background Technology

[0003] The methods described in this section may be practiced, but are not necessarily methods that have been previously conceived or practiced. Therefore, unless otherwise stated herein, the methods described in this section are not prior art to the claims of this application and are not considered prior art by virtue of their inclusion in this section.

[0004] Many electronic devices referred to herein as "configurable electronic devices" are those that provide their users with mechanisms to create and / or modify their functionality to perform specific tasks. For example, a network router that provides its users with mechanisms to configure its IP address to communicate with one or more Layer 3 devices is a configurable electronic device. Another example is a television, which includes mechanisms programmed by its users to record video from a specific channel at specific times. Yet another example is a smart refrigerator, which can be configured to alert its users when certain food items fall below a predetermined amount stored in the refrigerator.

[0005] Configurable electronic devices can perform various tasks as illustrated in the examples above without requiring changes to the system design created by their manufacturer. Changing the system design of a configurable electronic device means altering its hardware, software, or firmware to enable it to perform one or more tasks that the manufacturer did not design for the device to perform, or to prevent it from performing one or more tasks that the manufacturer designed for the device to perform.

[0006] For example, multiple Ethernet interfaces of a configurable electronic device (such as a multi-port network router) can be configured to be bridged together so that these ports act as a single switch, if the router's system design supports this operation. However, these ports cannot be individually configured to achieve higher data throughput beyond their hardware limitations. For example, a Fast Ethernet port cannot be configured to achieve the throughput of a Gigabit Ethernet port without changing its system design.

[0007] For example, many network devices have manufacturer-defined limits on the maximum number of concurrent telnet or SSH sessions supported by the device. Without altering the system design, it's impossible to use more concurrent telnet or SSH sessions than the manufacturer sets.

[0008] Another example of configuring electronic devices according to their system design is a television, which provides a mechanism for storing channels in a user-defined order. When the user of the television stores the channels in the order he / she determines, he / she configures the television according to its system design. However, a television manufactured solely for receiving analog signals cannot receive digital signals without altering its system design.

[0009] Configurable electronic devices include: general-purpose computer systems, such as desktop computers, laptops, server computers, tablets, smartphones, and personal digital assistants (PDAs); or dedicated computer systems, such as network devices like routers, managed switches, and wireless access points (WAPs), or network security devices like firewalls, intrusion prevention systems (IPS), and intrusion detection systems (IDS). Configurable electronic devices may further include electromechanical devices used in, but not limited to, industrial engineering or healthcare systems. Any configurable electrical appliance, such as a television, smart refrigerator, smart TV, smart car, or medical device, especially in an Internet of Things (IoT) environment, is also a configurable electronic device. Any configurable electronic system or subsystem, such as a controller unit used in a microwave-based device (e.g., a satellite or radar), or a controller unit used in a navigation device such as a Global Positioning System (GPS) or sonar, is also a configurable electronic device.

[0010] Compared to configurable electronic devices, non-configurable electronic devices do not include the mechanism by which their users can create and / or modify their functionality to perform specific tasks without altering their system design. Examples of non-configurable electronic devices include electronic doorbells that only produce preset sounds, uninterruptible power supplies (UPS), voltage regulators, non-programmable calculators and calculators without information storage capabilities, remote control units for televisions, air conditioners, etc., network hubs, unmanaged network switches, computer keyboards and mice, etc.

[0011] Most conventional configurable electronic devices include a mechanism for receiving instructions, which are treated as commands or instructions from their users, upon which one or more tasks are performed. There are generally two types of commands issued to configurable electronic devices. One type, referred to herein as a "configuration instruction," instructs the configurable electronic device to change its configuration. The other type of command does not instruct the configurable electronic device to change its configuration. This second type of command is typically used to view the configuration or status of various system parameters.

[0012] Many conventional configurable electronic devices include a mechanism, referred to herein as a “management interface,” for receiving instructions locally or remotely. A management interface typically includes input mechanisms for receiving instructions from its user and output mechanisms for providing information to its user. Various clients or users, such as human users and automated scripts, can perform configuration tasks by interacting with the management interface. Management interfaces typically comprise a command-line interface (CLI), a graphical user interface (GUI), or a touchscreen. A management interface may also include mechanisms for interactively receiving configuration instructions from other interactive communication protocols, such as, but not limited to, USSD, MMI, or SMS.

[0013] Configuration commands can also be received or retrieved by configurable electronic devices without the need for a management interface. When receiving configuration commands without a management interface, they can be received without restriction from local or remote databases or retrieval systems, SMS, email, individually or as a group from the client, in the form of text strings, scripts, or device executable files. There are no restrictions on the source or format of the commands, as long as they can be interpreted and processed by the device.

[0014] The configuration in which a configurable electronic device functions during its operation is called its operating configuration. Depending on the system design of the device, the operating configuration may be modifiable or non-modifiable. In typical prior art configurable electronic devices, the operating configuration is stored in the main memory of the configurable electronic device and can be directly modified through the management interface of the configurable electronic device. In some prior art devices, the operating configuration is also called the runtime configuration.

[0015] In many traditional configurable electronic devices, the archived configuration is the configuration stored in a data retrieval system. The data retrieval system includes non-transitory or non-volatile storage media, which may be included in the configurable electronic device itself or in a remote computing device such as an FTP / TFTP server or storage device. The term "non-transitory or non-volatile storage media" includes, but is not limited to, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), random access memory (RAM), magnetic RAM, core memory, floppy disk, floppy disk drive, hard disk, magnetic tape, CD-ROM, flash memory devices, memory cards, subscriber identity module (SIM) cards, and / or other machine-readable media for storing information. The term "machine-readable media" includes, but is not limited to, portable or fixed storage devices, optical storage media, magnetic media, memory chips or cassette disks, wireless channels, and various other media capable of storing, containing, or carrying instructions and / or data. Machine-readable media can be implemented through virtualization and may be virtual machine-readable media, including virtual machine-readable media in cloud-based instances.

[0016] Many conventional configurable electronic devices include a mechanism that archives its configuration (typically an operational configuration) and uses that configuration as the default configuration when the configurable electronic device is next started. This configuration is called the startup configuration. In some prior art devices, the startup configuration is also called the start-up configuration.

[0017] In many conventional configurable electronic devices, configuration rollback is a mechanism for retrieving an archived configuration and using it as its operational configuration. Configuration rollback is typically used when it is expected to return to a specific previous operating state without requiring manual reconfiguration of the configurable electronic device. Configuration rollback is also used in some prior art network devices when undesirable consequences occur. One such undesirable consequence is the inability to access the management interface from a remote node. When a device performs a configuration rollback, the selected archived configuration is loaded from the device's secondary storage into the device's main memory.

[0018] According to some existing technical mechanisms, when a configuration rollback is performed, the existing operational configuration is completely replaced by the archived configuration.

[0019] According to some existing technical mechanisms, when performing a configuration rollback, a configurable electronic device can compare the two configurations and apply only the differences. For example, if in the archived configuration the network router's hostname is "Router1" and no IP address is configured on the first network interface, and in the operational configuration the network router's hostname is "Router2" and the IP address configured on the first network interface is 1.1.1.1, then during the rollback, the hostname will be changed to "Router1," while the IP address of the first network interface will remain 1.1.1.1. One way to compare the two configurations is by generating a text-based script from the configuration and performing a data comparison operation using a program such as "diff."

[0020] The operations of receiving, retrieving, applying, archiving, or rolling back configurations or configuration instructions are generally referred to as configuration operations in the prior art.

[0021] In many traditional configurable electronic devices, login sessions are used to specifically identify the time period between a user's or administrator's login to and from the system. Logout can be done manually by the user or administrator, or the system can forcibly log the user out after a predefined time period or for any other predefined reason (such as password expiration policies or unauthorized personnel activity). Scripts may also be used to perform login and logout operations on behalf of humans.

[0022] When a configurable electronic device is configured to perform one or more specific tasks, those tasks that the configurable electronic device successfully completes are referred to herein as the “expected outcome.” For example, if an administrator applies one or more instructions to configure the IP address of a router’s network interface to communicate with a specific Layer 3 device, the expected outcome in this case is that the router is able to communicate with the specific Layer 3 device after its operating configuration is updated according to those instructions. As another example, if a smart TV is configured to record a video stream from a specific channel that starts and ends at a specific time, the expected outcome is that the TV is able to perform the task.

[0023] Typically, when the expected result is not achieved due to misconfiguration, the administrator reconfigures the configurable electronic device until the expected result is achieved. If the expected result is not achieved due to a device system problem, system troubleshooting is performed before retrying the configuration. When the expected result is not achieved due to external factors (such as, but not limited to, unavailable network links or network resources), these factors need to be troubleshooted before reconfiguring to achieve the expected result.

[0024] In some cases where misconfiguration prevents the desired outcome, the configurable electronic device may become inoperable or its management interface may become inaccessible to local or remote administrators. If, as a result of this unexpected outcome, the management interface becomes inaccessible locally, the administrator can perform local troubleshooting to resolve the issue. However, if, as a result of this unexpected outcome, the management interface becomes inaccessible remotely, the administrator may sometimes be unable to undo the last changes made and make the configurable electronic device accessible remotely again.

[0025] Some existing configurable network devices provide one or more mechanisms to partially address this issue by offering administrators the option to temporarily apply a new configuration. If the administrator fails to acknowledge the new configuration within a predetermined time period, either intentionally or because the new configuration prevents the administrator from remotely accessing the management interface, the router performs a rollback operation to restore the configurable device to its previous state before making changes. In some existing devices, this acknowledgment period is not used; instead, a special configuration mode is employed. Any configuration changes made in this special mode are not saved unless acknowledged by the administrator. Therefore, if the administrator fails to acknowledge the new configuration, either intentionally or because the new configuration prevents the administrator from remotely accessing the management interface, the router performs a rollback operation to restore its operational state before making changes. After restoring the previous configuration state, the administrator returns to the management interface.

[0026] From these existing rollback methods, it can be inferred that maintaining remote access to the management interface is considered a mandatory expected outcome. However, there may be situations where the expected outcome is that the management interface is inaccessible remotely, or this is an acceptable consequence of the expected outcome. For example, it is possible that an administrator might intentionally assign the IP address of the network interface of the configurable electronic device to which he / she is connected to an IP address that is unreachable from the IP address of the network node from which he / she is connected. As another example, an administrator might create one or more Access Control List (ACL) rules in the configurable electronic device that deny any IP packets arriving at or originating from the administrator's connection from a specific IP address or from the entire IP subnet to which the administrator's IP belongs. After applying any of these configurations, disconnection from the configurable electronic device is an expected and acceptable result. There is a need in the art to provide a method for instructing a configurable electronic device not to perform a rollback in these situations. This new method should be available as an additional feature of the configurable electronic device and should not prevent the configurable electronic device from utilizing the rollback methods available in existing devices.

[0027] When a configurable electronic device is configured to perform one or more specific tasks, the expected results may not be achieved due to one or more reasons. These reasons include, but are not limited to, misconfiguration or one or more environmental factors. The term "environmental factor" as used herein includes hardware, software, or firmware-related problems of the configurable electronic device or similar problems of locally attached or remote systems. Environmental factors may also include physical or quality of service (QoS) related problems of the means or links through which the configurable electronic device communicates with remote systems. There are no restrictions on what environmental factors can be, as long as they affect the expected results of the configurable electronic device corresponding to a particular configuration.

[0028] For the network-related examples in the preceding paragraphs, environmental factors may include, but are not limited to, the absence or poor QoS of the network link between the router and the Layer 3 device, or hardware problems with the corresponding network interface of the router, which prevent the device from communicating even if configured correctly. Another example of an environmental factor that may lead to unintended results is duplicate hostnames or IP addresses on the same local area network (LAN). For the television-related examples in the preceding paragraphs, environmental factors may include, but are not limited to, the absence of video signals from a specific channel or insufficient storage space to store the recorded video.

[0029] In the context of the Internet of Things (IoT), where multiple devices can communicate with each other to exchange information, a possible environmental factor for a particular configurable electronic device can be, but is not limited to, information received from other configurable electronic devices. For example, a smart refrigerator in a home can determine whether a particular food item needs to be replenished by further determining whether it is in stock in other smart refrigerators within the home. In this case, if the particular smart refrigerator is configured to send an SMS to the owner when the quantity of the particular food item falls below a predetermined level, then if the particular smart refrigerator is unable to communicate with other smart refrigerators in the home due to network issues, it may be unable to perform this operation.

[0030] Some traditional existing technology devices, especially network routers, include configuration rollback mechanisms when the expected results are not achieved. However, existing configurable electronic devices lack mechanisms to provide administrators with options to effectively and broadly define whether to perform a rollback by taking into account the state of relevant environmental factors.

[0031] For example, if a router is unable to establish a VPN connection with a server due to the server going offline after applying the correct site-to-site VPN configuration, the router determines that the expected result has not been achieved. In this situation, many existing routers offer administrators the option to perform a rollback. However, if the server is likely to become available again in a few hours, there is a lack of information in the art that allows administrators to apply a configuration with rollback conditions by taking this information into account.

[0032] For example, if a smart TV is configured to record video streams from a specific TV channel when the video signal from that channel is unavailable, using existing mechanisms, the smart TV can determine that the expected result has not been achieved. In this case, the smart TV can perform a configuration rollback if it is configured to do so. However, if a specific channel is likely to become available after a certain period of time, there is a lack of technology that allows administrators to apply configurations with rollback conditions by taking that information into account.

[0033] When a configuration operation is completed in real time, the administrator can determine whether to perform a rollback operation by considering the current state of the relevant environmental factors. However, if the configuration is planned to be applied later, the administrator may not be able to predict the future state of the relevant environmental factors, and therefore he / she cannot effectively determine whether to perform a rollback operation in this case.

[0034] From the above examples, it can be inferred that when it is necessary to decide whether to perform a configuration rollback based on the future state of relevant environmental factors, existing technology devices lack an effective and broadly defined mechanism for defining the conditions under which configurable electronic devices can make such a decision.

[0035] In configurable electronic devices, it is possible to resolve problems with environmental factors, such as hardware or software components or any combination thereof, after a period of time. For example, an operating system that is unable to perform a specific task may become able to perform that task after updating one or more of its software components. As another example, a PC that is unable to store data due to insufficient disk space may become able to store data after increasing its storage space by deleting unnecessary files. Problems with environmental factors that can be resolved after a period of time are also typical in computer networks. These problems include, but are not limited to, unavailability of network resources, network congestion, high latency, or connection failures. When the expected result is not achieved, some existing technology systems include mechanisms that wait for an appropriate amount of time and automatically retry the operation. This retry operation is typically performed for a predetermined period of time, a predetermined maximum number of times, or until the expected result is achieved. This process is referred to herein as a "retry attempt".

[0036] There is a need in the art to utilize this retry mechanism in a flexible and convenient manner on any configurable electronic device suitable for its system design. Using the aforementioned example of a smart TV, if the expected result is not achieved from the configuration due to insufficient storage space for storing video, this technology should provide the administrator with a mechanism to instruct the configurable electronic device to continue retrying at appropriate intervals to determine if sufficient storage space is available. The smart TV will not roll back to the previous configuration until the maximum retry limit is reached. This mechanism is particularly useful when the administrator knows that the storage space problem may be resolved in the future.

[0037] Considering all the above issues, the existing technology lacks a mechanism that enables administrators of configurable electronic devices to define whether to perform a configuration rollback with sufficient flexibility and efficiency. Summary of the Invention

[0038] This invention relates to a method for determining a configuration operable by a configurable electronic device. The device receives a configuration session initiation request from a management interface for initiating a configuration session. The device then determines whether a configuration session lock is locked. When the configuration session lock is locked, the device rejects the configuration session initiation request. When the configuration session lock is not locked, the device accepts the configuration session initiation request and generates a new configuration session identifier to identify the configuration session. The device receives a configuration session lock mode from the management interface and then sets the configuration session lock mode. The device then sets the configuration session to a first state. The device receives a second configuration and predefined parameters. The device archives the first configuration in a non-transitory computer-readable storage medium. The device applies the second configuration and then determines whether the predefined parameters are satisfied. When the predefined parameters are satisfied, the device maintains the application of the second configuration. When the predefined parameters are not satisfied, the device retrieves the first configuration and applies it. The device sets the configuration session to a second state.

[0039] The first state of the device is an active state. The active state indicates that the configuration session is running. The second state of the device is an inactive state. The inactive state indicates that the configuration session is not running.

[0040] The new configuration session identifier is unique and is a process identifier. The configuration session lock mode includes a first mode and a second mode. The first mode allows the configurable electronic device to reject any new configuration session initiation request when it has not received an instruction from the management interface, and the second mode allows the configurable electronic device to reject any new configuration session initiation request after receiving an instruction from the management interface.

[0041] The management interface is a local or remote retrieval system. The predefined parameters are essentially based on the expected results of the second configuration. One of the expected results is the reachability of the destination. Attached Figure Description

[0042] Figure 1 The flowchart illustrates an example operation of a configurable electronic device performing a configuration rollback operation according to an embodiment of the present invention.

[0043] Figure 2 The flowchart illustrates an example operation of a configurable electronic device performing a configuration rollback operation according to an embodiment of the present invention.

[0044] Figure 3 The flowchart illustrates an example operation of a configurable electronic device performing a configuration rollback operation according to an embodiment of the present invention.

[0045] Figure 4 The flowchart illustrates an example operation of a configurable electronic device performing a configuration rollback operation according to an embodiment of the present invention.

[0046] Figure 5 The flowchart illustrates an example operation of a configurable electronic device performing a configuration rollback operation according to an embodiment of the present invention.

[0047] Figure 6 The flowchart illustrates an example operation of a configurable electronic device performing a configuration rollback operation according to an embodiment of the present invention.

[0048] Figure 7 The flowchart illustrates an example operation of a configurable electronic device performing a configuration rollback operation according to an embodiment of the present invention.

[0049] Figure 8 The flowchart illustrates an example operation of a configurable electronic device performing a configuration rollback operation according to an embodiment of the present invention.

[0050] Figure 9 The flowchart illustrates an example operation of a configurable electronic device performing a configuration rollback operation according to an embodiment of the present invention.

[0051] Figure 10 This is a block diagram of a configurable electronic device according to the principles of the present invention.

[0052] Figure 11 A network diagram is shown illustrating a configurable electronic device according to an embodiment of the present invention in which a configuration rollback operation can be performed. Detailed Implementation

[0053] The following description provides only preferred exemplary embodiments and is not intended to limit the scope, applicability, or configuration of the invention. In fact, the subsequent description of preferred exemplary embodiments will provide those skilled in the art with an advantageous description of how to implement these preferred exemplary embodiments. It should be understood that various changes can be made to the function and arrangement of the elements without departing from the spirit and scope of the invention as set forth in the appended claims.

[0054] Specific details are set forth in the following description to provide a thorough understanding of the embodiments. However, those skilled in the art will understand that the embodiments can be practiced without these specific details. For example, circuits may be shown as block diagrams to avoid obscuring the embodiments with unnecessary detail. In other instances, well-known circuits, processes, algorithms, structures, and techniques may be shown without unnecessary detail to avoid obscuring the embodiments.

[0055] Additionally, it should be noted that embodiments can be described as processes shown in flowcharts, flow diagrams, data flow diagrams, structure diagrams, or block diagrams. Although flowcharts can describe operations as sequential processes, many operations can be performed in parallel or simultaneously. Furthermore, the order of operations can be rearranged. A process terminates when its operations are completed, but may have additional steps not included in the diagram. A process can correspond to a method, function, program, subroutine, subroutine, etc. When a process corresponds to a function, the termination of the process corresponds to the function returning to the calling function or the main function.

[0056] Although methods and apparatus have been described with reference to the illustrated embodiments, those skilled in the art will readily recognize that variations may be made without departing from the scope of the embodiments. Therefore, all that is contained in the above description and shown in the accompanying drawings is intended to be illustrative rather than restrictive.

[0057] Embodiments or portions thereof may be implemented by program instructions operable on a processing unit to perform the functions and operations described herein. The program instructions constituting the various embodiments may be stored in a non-transitory storage medium. Furthermore, as disclosed herein, the term "non-transitory storage medium" can refer to one or more means for storing data, including read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), random access memory (RAM), magnetic RAM, magnetic core memory, floppy disk, floppy disk drive, hard disk, magnetic tape, CD-ROM, flash memory device, memory card, and / or other machine-readable media for storing information. The term "machine-readable medium" includes, but is not limited to, portable or fixed storage devices, optical storage media, magnetic media, memory chips or cassette disks, wireless channels, and various other media capable of storing, containing, or carrying instructions and / or data. Machine-readable media can be implemented through virtualization and may be virtual machine-readable media, including virtual machine-readable media in cloud-based instances.

[0058] As used herein, the terms “non-transitory computer-readable medium,” “main memory,” or “auxiliary storage device” refer to any medium that participates in providing instructions to a processing unit for execution. A computer-readable medium is merely one example of a machine-readable medium that can carry instructions for implementing any of the methods and / or techniques described herein. Such media can take many forms, including, but not limited to, non-volatile media, volatile media, and transmission media. Non-volatile media include, for example, optical discs or magnetic disks. Volatile media include dynamic memory. Transmission media include coaxial cables, copper wires, and optical fibers. Transmission media can also take the form of sound waves or light waves, such as those generated during radio wave and infrared data communication.

[0059] Volatile memory devices can be used to store temporary variables or other intermediate information during instruction execution by the processor / processing unit. Non-volatile memory devices or static memory devices can be used to store static information and instructions for the processor, as well as various system configuration parameters.

[0060] The storage medium may contain multiple software modules, which may be implemented as software code that can be executed by a processing unit using any suitable type of computer instruction. The software code may be stored in the storage medium as a series of instructions or commands, or as a program.

[0061] Various forms of computer-readable media can involve loading one or more sequences of one or more instructions onto a processor for execution. For example, the instructions may initially be carried on a disk of a remote computer. Alternatively, the remote computer may load the instructions into its dynamic memory and send the instructions to a system that executes one or more sequences of one or more instructions.

[0062] The processing unit can be a microprocessor, a microcontroller, a digital signal processor (DSP), any combination of those devices, or any other circuitry configured to process information.

[0063] The processing unit executes program instructions or code segments to implement embodiments of the invention. Furthermore, embodiments can be implemented using hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented using software, firmware, middleware, or microcode, program instructions for performing the necessary tasks can be stored in a non-transitory computer-readable storage medium. The processing unit can be implemented via virtualization and can be a virtual processing unit, including virtual processing units within cloud-based instances.

[0064] Embodiments of the present invention relate to implementing the techniques described herein using a computer system. In embodiments, the processing unit of the present invention may reside on a machine such as a computer platform. According to one embodiment of the present invention, the techniques described herein are performed by a computer system in response to the processing unit executing one or more sequences of one or more instructions contained in volatile memory. Such instructions may be read into the volatile memory from another computer-readable medium. Execution of the sequence of instructions contained in the volatile memory causes the processing unit to perform the process steps described herein. In alternative embodiments, the present invention may be implemented using hardwired circuitry instead of software instructions or in combination with software instructions. Therefore, embodiments of the present invention are not limited to any specific combination of hardware circuitry and software.

[0065] For example, a code segment of program instructions can represent a procedure, function, subroutine, program, routine, subroutine, module, software package, class, or any combination of instructions, data structures, or program statements. A code segment can be coupled to another code segment or hardware circuit by passing and / or receiving information, data, arguments, parameters, or memory contents. Information, arguments, parameters, data, etc., can be passed, forwarded, or transmitted via any suitable means, including memory sharing, message passing, token passing, network transmission, etc.

[0066] Alternatively, hard-wired circuitry can be used to replace or combine with software instructions to implement processes consistent with the principles of this invention. Therefore, embodiments consistent with the principles of this invention are not limited to any particular combination of hardware circuitry and software.

[0067] Network interfaces can be implemented through independent electronic components or integrated with other electronic components. Depending on the configuration, a network interface may have no network connectivity or at least one network connectivity. Network interfaces can be Ethernet interfaces, wireless communication interfaces, Frame Relay interfaces, fiber optic interfaces, cable interfaces, Digital Subscriber Line (DSL) interfaces, Token Ring interfaces, serial bus interfaces, Universal Serial Bus (USB) interfaces, FireWire interfaces, Peripheral Component Interconnect (PCI) interfaces, etc.

[0068] The network interface can connect to a wired or wireless access network. The access network can carry one or more network protocol data. Wired access networks can be implemented using Ethernet, fiber optic cable, cable, DSL, Frame Relay, Token Ring, serial bus, USB, FireWire, PCI, or any material capable of transmitting information. Wireless access networks can be implemented using infrared, High-Speed ​​Packet Access (HSPA), HSPA+, LTE, WiMAX, GPRS, EDGE, GSM, CDMA, Wi-Fi, CDMA2000, WCDMA, TD-SCDMA, Bluetooth, WiBRO, Evolved Data Optimized (EV-DO); Digital Enhanced Cordless Communication (DECT); Digital AMPS (IS-136 / TDMA); Integrated Digital Enhanced (iDEN); or any other wireless technology.

[0069] The embodiments or portions thereof may be implemented in computer data signals, which may be in any suitable form for communication via a transmission medium, such that they are readable for execution by a functional device (e.g., a processing unit) to perform the operations described herein. The computer data signals may comprise any binary digital electronic signals capable of propagation via a transmission medium, such as an electronic network channel, optical fiber, air, electromagnetic medium, radio frequency (RF) link, etc., and therefore the data signals may take the form of electrical signals, optical signals, radio frequency or other wireless communication signals, etc. In some embodiments, code segments may be downloaded via a computer network, such as the Internet, intranet, LAN, MAN, WAN, PSTN, satellite communication system, cable transmission system, etc.

[0070] A packet is a Protocol Data Unit (PDU) that contains control information, such as address information, and user data. A packet can be a network layer PDU such as Internet Protocol (IPv4 or IPv6), a transport layer PDU such as Transmission Control Protocol (TCP) or User Datagram Protocol (UDP), or a PDU of any other protocol capable of carrying information over a communication link.

[0071] It should be understood that the detailed descriptions and specific examples indicating exemplary embodiments are given for illustrative purposes only and are not intended to be limiting. Many changes and modifications may be made without departing from the spirit of the invention, and the principles of this disclosure encompass all such modifications. The corresponding structures, materials, actions, and equivalents of all elements are intended to include any structure, material, or action used to perform functions in conjunction with other elements. Unless explicitly stated otherwise, references to singular elements are not intended to mean "one and only one," but rather "one or more." Furthermore, when phrases such as "at least one of A, B, or C" or "at least one of A, B, and C" are used in the claims or description, such phrases are intended to mean any of the following: (1) at least one of A; (2) at least one of B; (3) at least one of C; (4) at least one of A and at least one of B; (5) at least one of B and at least one of C; (6) at least one of A and at least one of C; or (7) at least one of A, at least one of B, and at least one of C.

[0072] This invention relates to a system and method that enables a configurable electronic device to determine whether to roll back an operational configuration to an archived configuration based on the failure to meet one or more predefined conditions. These predefined conditions are referred to herein as "success parameters." More specifically, the invention provides various methods for creating success parameters, detailing the creation of success parameters by considering the state of various environmental factors. Furthermore, according to the invention, several processes are provided, detailing methods for improving the accuracy of determining whether to perform a rollback operation by testing whether the configuration meets the success parameters using retry attempts when necessary. Various methods are provided to implement these techniques in single-user and multi-user environments. Determining whether to perform a rollback operation based on the above techniques alleviates the previously described prior art problems or challenges.

[0073] According to one embodiment, the configurable electronic device determines whether to roll back to an archived configuration by further determining whether the operating configuration does not meet an individual success parameter. Whether the operating configuration meets an individual success parameter is referred to herein as the "state" of the specific success parameter. The state of the individual success parameter determined by the configurable electronic device is "satisfied" or "not satisfied," which can be represented as Boolean data, namely "true" or "false."

[0074] According to one embodiment, a configurable electronic device determines whether to roll back to an archived configuration by further determining whether an operational configuration does not meet a specific set of success parameters. This set of success parameters, referred to herein as a “success-parameter-group,” includes at least one success parameter. For readability, the acronym “SPG” is used herein to denote the phrase “success-parameter-group.” Whether the operational configuration meets an SPG is referred to herein as the “state” of that specific SPG.

[0075] According to the present invention, the state of an individual success parameter or the state of an SPG, determined by a configurable electronic device, is "satisfied" or "not satisfied," which can be represented as Boolean data, "true" or "false," respectively. When an SPG includes more than one success parameter, the state of the SPG is determined by performing a logical operation on the state of each success parameter in the group. The logical operations performed on the state of an individual success parameter can be performed in any number or combination as defined by the system administrator or the manufacturer.

[0076] Since both the state of SPG and the state of the individual success parameters are Boolean data, either of them can be used similarly in the embodiments. Therefore, unless specifically stated herein, it should be assumed that reference to SPG in the embodiments describes a similar embodiment using the individual success parameters instead of SPG.

[0077] According to one embodiment, before further determining whether the new configuration meets the SPG, the status of only individual environmental factors is determined by the configurable electronics. The status of the individual environmental factors determined by the configurable electronics is "compliant" or "non-compliant," which can be represented as Boolean data, namely "true" or "false."

[0078] According to one embodiment, before further determining whether a new configuration meets the SPG, a configurable electronic device determines the state of a specific set of environmental factors. A set of environmental factors, referred to herein as an "environmental factor group," includes at least one environmental factor. For readability, the acronym "EFG" is used herein to denote the phrase "environmental-factor-group." Whether an EFG meets the requirements is referred to herein as the "state" of the specific EFG. If the state of an EFG determined by the configurable electronic device is "compliant" or "non-compliant," it can be represented as Boolean data, "true" or "false," respectively. When an EFG includes more than one environmental factor, the state of the EFG is determined by performing a logical operation on the state of each environmental factor in the group. The logical operations performed on the state of individual environmental factors can be performed in any number or combination defined by the system administrator or manufacturer.

[0079] Since the states of EFG and individual environmental factors are both Boolean data, either of them can be used similarly in the embodiments. Therefore, unless specifically stated herein, it should be assumed that references to EFG in the embodiments describe similar embodiments using individual success parameters instead of EFG.

[0080] In one embodiment, the configurable electronic device receives the SPG before application configuration and determines the state of the SPG after application configuration.

[0081] In one embodiment, the configurable electronics receive the SPG and also determine the state of the SPG before applying the configuration. This particular embodiment applies only to determining the state of the SPG and does not require the configurable electronics to enable the new configuration.

[0082] According to the present invention, there are no restrictions on which conditions an administrator can use to define success parameters, as long as the conditions can be determined by a configurable electronic device. In practice, it is more efficient to create success parameters using conditions that are more relevant to the expected results. This depends on the administrator's skill in creating success parameters that are more relevant to the expected results of the new configuration.

[0083] According to the present invention, new configurations, SPGs, and EFGs can be received from an administrator individually, together, or in any combination by a configurable electronic device.

[0084] In one embodiment, an EFG is created by the configurable electronics based on environmental factors related to the SPG determined by the configurable electronics.

[0085] In one embodiment, the status of EFG or environmental factors, or both, can be received from a remote computer or data retrieval system.

[0086] According to the technology of the present invention, if the reachability to a particular network server is the expected result of the configuration, receiving a ping reply from a specific machine hosting the network server can be defined as a first success parameter. Furthermore, if the possibility that ICMP packets used during the ping process will be dropped due to firewall rules of any one or two communication devices can be anticipated, second and third success parameters can be defined to determine whether the network server can be accessed at the application layer via HTTP or HTTPS protocols, respectively. Moreover, if the possibility that the network server is currently offline but will become available after a period of time can be anticipated, a fourth success parameter can be created to retry the first, second, and third success parameters after a specific time interval and perform this retry attempt a specific number of times.

[0087] In the above scenario, the administrator can create an SPG that includes the four success parameters mentioned above, and enable the configurable electronic device to determine the state of the SPG by performing logical separation (“OR”) on the state of all four success parameters.

[0088] In another example, an administrator creates a specific configuration for a configurable electronic device to perform a specific operation that generates data of at least a specific size (e.g., in megabytes) that needs to be stored in a pre-allocated permanent storage device. This operation can be performed immediately after the configuration is applied, or at a later time determined by the administrator. In this case, the administrator can create a success parameter that will be satisfied if the entire data is successfully stored in the pre-allocated storage device. Additionally, in this example, it is possible that the required storage space may not be available in the pre-allocated storage device when the operation is performed. Since existing data from the pre-allocated storage device is moved to another storage device via a script, it is also possible that the required storage space will become available in the pre-allocated storage device in the future. This data movement operation is performed at a time interval unknown to the administrator. For this scenario, the administrator can create an environmental factor that will be satisfied when the required storage space in at least the pre-allocated storage device becomes available. Combining techniques for determining the state of this environmental factor with techniques for retrying to determine the state of this environmental factor, the number of times the administrator predetermines, and the intervals provides the administrator with a more efficient technique for determining the state of the success parameter.

[0089] According to one embodiment, there are no limitations on the methods used to define the conditions for SPG and EFG. According to this particular embodiment, manufacturers of configurable electronic devices may use any known or later-developed programming language, scripting language, commands, etc., individually or in combination for this purpose.

[0090] Figure 10 This is a schematic block diagram of a configurable electronic device 1000 that can be used to implement the embodiments described herein. In one embodiment, the configurable electronic device 1000 is a programmable machine that can be implemented in hardware, software, or any combination thereof. The configurable electronic device 1000 includes one or more processing units 1001, main memory 1002, system bus 1003, auxiliary storage device 1004, input / output (I / O) devices 1006, and one or more environmental factor status detection modules 1005. The processing unit 1001 and the main memory 1002 are directly connected to each other. The processing unit 1001 is connected to the I / O devices 1006, the auxiliary storage device 1004, and the environmental factor status detection modules 1005 via the system bus 1003. The system bus 1003 can be any of several types of bus architectures, including memory buses, peripheral buses, and local buses using any of various bus architectures. The auxiliary storage device 1004 stores program instructions or configurations for execution by the processing unit 1001. I / O device 1006 typically includes, but is not limited to, computer keyboard, computer mouse, computer monitor, or other human-computer interface (HID) devices.

[0091] The environmental-factors state-detection module 1005 is any suitable combination of hardware, software, algorithms, processors, devices, modules, components, elements, or subsystems operable to facilitate the collection of information or to sense or detect the state of one or more environmental factors. For readability, the acronym "EFSD" is used herein to represent "environmental-factors state-detection". Since the network interface used for connecting to a network or remote device also serves as a component for determining the connection state, the EFSD module 1005 may also include a network interface. For example, the EFSD module 1005 may be, but is not limited to, a network interface such as an Ethernet interface, a 3G network interface, a 4G network interface, a WiMAX network interface, a serial interface, a virtual network interface for a virtual machine (VM), or any other network interface. These network interfaces use one or more communication links, wherein the communication links take the form of fiber optic, Ethernet, ATM, Frame Relay, T1 / E1, IPv4, IPv6, wireless technologies, Wi-Fi, WiMAX, High-Speed ​​Packet Access, 3GPP Long Term Evolution (LTE), etc. The EFSD module 1005 may also include a network interface controller for any communication link, including those mentioned above.

[0092] The EFSD module 1005 may also be an individual or combination of electronic, mechanical, chemical, or biochemical sensors, probes, detectors, scanners, or transducers, such as, but not limited to, temperature sensors, photoelectric sensors, photodetectors, biosensors, gas sensors, smoke detectors, ammeters, voltmeters, microphones, cameras, speedometers, accelerometers, proximity sensors, impact sensors, gyroscopes, magnetometers, metal detectors, water meters, altimeters, barometers, compasses, global positioning systems (GPS), infrared sensors, metal detectors, barcode readers, fingerprint scanners, and facial recognition systems, for sensing, detecting, calculating, or measuring the state of environmental factors. In one embodiment, the EFSD module itself may include or include a mechanism connected to a programmable logic device (PLC) to receive information. In one embodiment, the EFSD module itself may include general purpose input / output (GPIO) pins for sending or receiving signals or information.

[0093] In one embodiment, the configurable electronic device 1000 is also a network management system (NMS) capable of receiving SNMP data via the EFSD module 1005. Also in this embodiment, the configurable electronic device 1000 can use the received SNMP data to determine whether to perform certain applicable operations.

[0094] Typically, the EFSD module will include mechanisms for receiving analog and digital inputs as needed. Digital inputs may include, but are not limited to, Protocol Data Units (PDUs), such as Ethernet frames, IP packets, SMS, or bit streams. Analog data may include, but is not limited to, audio signals, voltage levels, light, etc., which can be further converted into digital data by an analog-to-digital converter (ADC) for processing by the processing unit 1001.

[0095] In one embodiment, the configurable electronic device 1000 includes a mechanism that optionally uses a network security system, such as a network firewall, intrusion detection system, or intrusion prevention system, to define and / or determine success parameters. The security system may or may not be integrated with the EFSD module to determine the outcome of predefined conditions.

[0096] It should be understood that Figure 10 The configurable electronic device 1000 shown above is merely an example, and the methods described herein can be implemented using different configurations of the configurable electronic device 1000.

[0097] In one embodiment, a locking mechanism referred to herein as an "operational-configuration lock" is used to prevent any changes to the operation configuration. When the configurable electronic device 1000 needs to archive the operation configuration, it sets this lock to ON, forcibly preventing any changes to the configuration. After the archiving operation is completed, this lock is either deleted or set to OFF. It is assumed that the operation of setting and deleting this lock is included in all embodiments of the invention, even if not mentioned in the corresponding description or shown in the corresponding drawings. For ease of reading, the abbreviation "OCL" is used herein to denote "operational-configuration lock".

[0098] In one embodiment of the invention, a specific session in which a configurable electronic device 1000 performs a particular set of related configuration operations is referred to herein as a "configuration session". Configuration operations contained within such a set can be associated, but are not limited to, specific "events" or specific administrators. Examples of events may include, but are not limited to, receiving configuration from individual commands, configuration scripts, SMS, or email. Another example of an event is executing one or more configuration operations as a single set of operations by stopping other concurrent configuration operations when necessary. Each set of related configuration operations may be executed by different administrators, or they may be executed by different configuration sessions of the same administrator.

[0099] According to the present invention, a configuration session can be in an "ACTIVE" state or an "INACTIVE" state. When used herein for the purpose of configuring a session, the term ACTIVE refers to the state of a specific configuration session that is operational. When used herein for the purpose of configuring a session, the term INACTIVE refers to the state of a specific configuration session that is not operational.

[0100] According to an embodiment of the invention using configuration sessions, a configuration session initiation request must be issued by an entity intending to perform configuration operations on a configurable electronic device. The entity may be an administrator or a process within the configurable electronic device. For readability, the acronym "CSIR" is used herein to denote "configuration-session-initiation request." When a CSIR is issued, the configurable electronic device may allow or disallow a specific entity to perform configuration operations based on the state of the configuration session lock. The configuration session lock is described in more detail below. According to an embodiment using configuration sessions, the configurable electronic device 1000 individually assigns and identifies each stateful configuration session by a unique identifier. For readability, this identifier is referred to herein as "CSID". In one embodiment, the CSID is a process ID (PID) used by most operating systems.

[0101] According to the present invention, configuration operations are not limited to being performed within a configuration session. In one embodiment, configuration operations are performed without using a configuration session. This helps reduce the demand on system resources such as memory and processor usage. This feature makes it more suitable for implementing devices with lower manufacturing costs. However, since this particular embodiment does not include a mechanism for using a configuration session, it cannot perform operations that require a configuration session. Such operations include, but are not limited to, session management operations, which are necessary for the effective management of configuration operations, especially in a multi-user environment. According to the present invention, one example of a session management operation is accepting or rejecting a new CSIR based on a predetermined policy. Another such operation that requires a configuration session is archiving or rolling back to a configuration corresponding to a specific configuration session. According to the present invention, embodiments of the configurable electronic device 1000 that do not include a mechanism for performing configuration operations using a configuration session are not suitable for multi-user environments.

[0102] According to an embodiment using a configuration session, when a particular configuration session is set to ACTIVE, and before any changes are made to it, the operational configuration of the configurable electronic device 1000 according to its operation is referred to herein as the "original configuration" of the particular configuration session. Therefore, the original configuration is a special type of operational configuration. According to an embodiment not using a configuration session, the original configuration is a startup configuration.

[0103] According to an embodiment using configuration sessions, when a configuration session is set to ACTIVE, an OCL is immediately set on the corresponding original configuration, the original configuration is archived, and then the OCL is deleted from the original configuration. This prevents the original configuration from being modified by the corresponding configuration session or any other configuration session and ensures that the original configuration is archived in an unmodified state. According to this embodiment, each configuration session has its own version of the original configuration.

[0104] According to one or more embodiments, the configurable electronic device 1000 uses a specific configuration rollback mechanism (referred to herein as "original configuration rollback") to roll back to the original configuration. For ease of reading, the acronym "OCR" is used herein to refer to "original configuration rollback". According to one embodiment using configuration sessions, all archiving operations on the original configuration archive the original configuration in the same memory location. Therefore, in this embodiment, when OCR is performed, the previously archived original configuration is replaced by the most recently archived original configuration, and only the most recently archived original configuration is available for retrieval. While this embodiment saves auxiliary storage, replacing the original configuration archived by one configuration session with the original configuration archived by another configuration session can cause confusion among administrators, lead to an unstable state of the configurable electronic device 1000, or even render the configurable electronic device 1000 inoperable.

[0105] In one embodiment using a configuration session, all archiving operations on the original configuration archive the original configuration in different memory locations. Therefore, in this embodiment, each original configuration is archived separately when OCR is performed, and when a rollback operation is performed, the administrator is given the option to select the specific archived original configuration to retrieve. Although this embodiment increases the use of secondary storage, it provides a more efficient and user-friendly method for performing OCR.

[0106] Furthermore, when an administrator performs a long, step-by-step configuration, rolling back the original configuration is cumbersome because it restores the configuration to its initial state.

[0107] Figure 1The flowchart illustrates the steps performed by a configurable electronic device 1000 according to an embodiment of the present invention. In this embodiment, the configurable electronic device 1000 performs a configuration operation without using a configuration session. In step 101, the configurable electronic device 1000 receives a new configuration and an SPG. In step 102, the configurable electronic device 1000 archives its original configuration in an auxiliary storage device 1004. In step 103, the configurable electronic device 1000 applies the new configuration, which then becomes the operating configuration. In step 104, after the operating configuration has been changed according to the new configuration, the configurable electronic device 1000 determines whether the operating configuration satisfies the SPG. If the SPG is satisfied, then in step 105, the configurable electronic device 1000 continues to use the operating configuration. If the SPG is not satisfied, the configurable electronic device 1000 rejects the new operating configuration, and in step 106, retrieves the archived configuration. Then, in step 107, the configurable electronic device 1000 applies the archived configuration as the operating configuration.

[0108] According to the present invention, the use of the TCP / IP protocol to establish a login session is not limited. Any other protocol or method can be used to establish a login session, including but not limited to SMS, Bluetooth, barcodes, or biometric technologies such as fingerprint scanning, retinal scanning, facial recognition, or combinations of multiple protocols or methods, as long as they provide appropriate mechanisms for logging into and out of the system. The use of a login session to configure the configurable electronic device 1000 is also not limited. For example, when configuring the configurable electronic device 1000 without real-time interaction from an administrator, login and logout operations are not used. In such configuration operations, the method for sending configuration instructions to the configurable electronic device 1000 can be, but is not limited to, SMS. For example, in the case of SMS, a string of characters in the message can be used to identify and / or authenticate the administrator. Furthermore, any other identifiable parameters, such as the administrator's phone number or source IP address, can also be used for this purpose.

[0109] According to one embodiment of the present invention, an individual configuration command is a configuration command that instructs a configurable electronic device 1000 to perform a specific task. Additionally, in this particular embodiment, a set of configuration commands is a group of individual configuration commands grouped together. Within a set of configuration commands, each subsequent individual configuration command is separated from its preceding individual configuration command by a delimiter known to the configurable electronic device 1000. This delimiter may be predetermined by the manufacturer or administrator of the configurable electronic device 1000. Using this known delimiter allows the configurable electronic device 1000 to individually identify each individual configuration command. Furthermore, an individual configuration command or a set of configuration commands may contain precise start and end markers that respectively mark the beginning and end of the individual configuration command or the set of configuration commands. These start and end markers are also known to the configurable electronic device 1000. Examples of start and end markers may be, but are not limited to, alphanumeric characters or strings predetermined by the manufacturer or administrator of the configurable electronic device 1000. Using these markers enables the configurable electronic device 1000 to fully receive individual configuration commands or a set of configuration commands that may be segmented during transmission due to the protocol used. For example, when using SMS as the method for sending configuration commands, if the command is longer than 160 characters (i.e., the maximum length of an SMS PDU when using the GSM 03.38 standard), the command may be segmented. According to the present invention, receiving or retrieving an individual or a group of configuration commands is considered a single event by the configurable electronic device 1000, referred to herein as a "configuration event". Unless specifically mentioned, the term "configuration command" is assumed to refer to an individual configuration command or a group of individual configuration commands.

[0110] In one embodiment, the configurable electronic device 1000 uses a stateless configuration session. A stateless configuration session is based on a single configuration event. According to embodiments of the invention using stateless configuration sessions, the configurable electronic device 1000 processes configuration events independently of each other without creating any relationships between them. One consequence of this is that the administrator of the configurable electronic device 1000 cannot perform configuration operations interactively in real time. Therefore, all necessary instructions are received with the CSIR from the outset. The stateless configuration session may or may not require authentication, which is predetermined by the administrator or manufacturer. The stateless configuration session is also not part of the login session. Embodiments using stateless configuration sessions are suitable for implementation in configurable electronic devices where resource-intensive operations need to be avoided while ensuring separation of configuration sessions.

[0111] According to one embodiment, a specific time period is used to determine whether a specific login session has expired. If the configurable electronic device 1000 does not detect any activity from the administrator within this time period, the configurable electronic device 1000 determines that the specific login session has expired. This time period is referred to herein as the "Login-session Expiration Time". For ease of reading, the acronym "LSET" is used herein to refer to "Login-session Expiration Time". LSET is measured in seconds. In one embodiment, the administrator can freely choose the value of LSET before applying configuration. If the administrator does not set a value for LSET, the configurable electronic device 1000 will use a default value. This default value is set by the manufacturer of the configurable electronic device 1000 or calculated by the configurable electronic device 1000 based on one or more relevant parameters. Relevant parameters may include, but are not limited to, the protocol / method used for the login session, the QoS of the connection used for the login session, or a metric. In one embodiment, the administrator is not given the option to set the value of LSET.

[0112] In one embodiment, the configurable electronic device 1000 uses a stateful configuration session. A stateful configuration session is a specific type of configuration session in which all configuration events are related to each other. All configuration events within a stateful configuration session are related to each other because they all correspond to the same CSID. In this embodiment, the configurable electronic device 1000 includes a mechanism to perform configuration operations using real-time interaction with an administrator. Therefore, the configurable electronic device 1000 can receive instructions from the administrator during a stateful configuration session. Stateful configuration sessions can only be created within a login session. Furthermore, if a stateful configuration session's corresponding login session has expired or been manually terminated, the stateful configuration session is terminated.

[0113] According to one specific embodiment of the present invention, embodiments that perform configuration operations without using a configuration session also include a mechanism for performing configuration operations using a configuration session. Unless otherwise specifically mentioned, embodiments that perform configuration operations without using a configuration session do not include a mechanism for performing configuration operations using a configuration session.

[0114] According to one specific embodiment of the present invention, embodiments including mechanisms for performing configuration operations using stateful configuration sessions also include mechanisms for performing configuration operations using stateless configuration sessions. Unless specifically mentioned herein, embodiments including mechanisms for performing configuration operations using stateful configuration sessions do not include mechanisms for performing configuration operations using stateless configuration sessions. Unless specifically mentioned herein, embodiments including mechanisms for performing configuration operations using stateless configuration sessions do not include mechanisms for performing configuration operations using stateful configuration sessions.

[0115] In one embodiment, the configurable electronic device 1000 may not simultaneously allow more than one configuration session, regardless of whether they belong to the same or different login sessions.

[0116] In one embodiment, the configurable electronic device 1000 allows more than one configuration session at the same time only if more than one configuration session belongs to different login sessions.

[0117] In one embodiment, the configurable electronic device 1000 allows more than one configuration session at the same time, regardless of whether they belong to the same or different login sessions.

[0118] According to the present invention, if a login session corresponding to a specific configuration session ends, the configuration session can be terminated manually by an administrator or by a configurable electronic device 1000. The configuration session can also be terminated for one or more other predefined reasons; for example, according to one embodiment of the present invention, an administrator can forcibly terminate the configuration session of another administrator.

[0119] In one embodiment, the configurable electronic device 1000 includes an optional locking mechanism that rejects the CSIR when the configuration session is active. This mechanism is referred to herein as a “configuration-session-lock”. For readability, the acronym “CSL” is used herein to refer to “configuration-session-lock”. Within the operational configuration of the configurable electronic device 1000, the CSL serves as a specific flag bit that can be “ON” or “OFF”. When the CSL is ON, it is linked to a specific configuration session for which it is set ON. The CSL flag is set to OFF by default and is not set ON unless an instruction is given to the configurable electronic device 1000. In embodiments using the CSL, the mode of the CSL used with a new configuration session is referred to herein as a “CSL mode”. For readability, the acronym “CSLM” is used herein to refer to “CSL mode”. The CSLM is an instruction that can be “ON” or “OFF”. The CSLM of the configuration session is determined by the owner of the specific configuration session. According to embodiments using stateless configuration sessions, the CSLM is issued along with the CSIR. According to an embodiment using stateful configuration sessions, the CSLM is received interactively from the administrator immediately before using the stateful configuration session.

[0120] In one embodiment, if CSL is set to ON, the configurable electronic device 1000 rejects any new CSIRs, and no other concurrent configuration sessions are possible. Similarly, in this embodiment, if CSL is set to OFF, other concurrent configuration sessions are possible. In embodiments using stateless configuration sessions and not stateful configuration sessions, the CSIR provides instructions on how to set the CSL flag. In embodiments using stateful configuration sessions and not stateless configuration sessions, instructions on how to set the CSL flag are received interactively from the administrator after accepting a CSIR.

[0121] In one embodiment, after the configurable electronic device 1000 accepts a CSIR, it creates a configuration session corresponding to the request and a CSID for that specific configuration session. The configurable electronic device 1000 then performs one or more operations suitable for a corresponding embodiment of the invention. One example of such operation is receiving a new CSL mode from an administrator of the newly created configuration session. The configurable electronic device 1000 then sets the configuration session to "ACTIVE". When used herein for the purpose of configuration sessions, the term ACTIVE refers to the state of a particular, operable configuration session. In an active configuration session, the administrator can perform configuration operations as well as other operations not directly related to the configuration device. These other operations include, but are not limited to, viewing configuration or system status.

[0122] According to an embodiment using stateless configuration sessions, the desired CSL mode for a specific configuration session is received along with the CSIR. According to an embodiment using stateful configuration sessions, the operations of receiving the required CSL mode for the specific configuration session from the administrator and setting the received CSL mode are performed immediately before the specific configuration session is set to ACTIVE.

[0123] In one embodiment of the invention, when an administrator issues a new CSIR to the configurable electronic device 1000 if a pre-existing CSL exists, the new CSIR is rejected. However, when no pre-existing CSL exists, the new CSIR is accepted. In this particular embodiment, the administrator is provided with the option to lock the configuration session, so that another administrator cannot overwrite the configuration session.

[0124] According to one embodiment, if multiple configuration sessions exist with CSL set to OFF, those sessions can operate simultaneously. Therefore, multiple administrators can make changes to the operational configuration at the same time. This provides the advantage of multiple administrators simultaneously operating on the configurable electronic device 1000, which is particularly useful when teamwork is required. However, a disadvantage is that inconsistent configuration changes from multiple administrators can cause system instability.

[0125] Figure 2The flowchart shows Figure 1 A variation of the illustrated embodiment. In this particular variation, the configurable electronic device 1000 includes a mechanism for performing configuration operations using a stateful configuration session. Furthermore, in this particular variation, the CSL flag is used to determine whether a new CSIR is rejected. If the new CSIR is accepted, the administrator is provided with the option to set the CSL to ON. This should be combined with... Figure 1 Let's take a look Figure 2 To better understand the variant, in step 201, the configurable electronic device 1000 receives a CSIR from the administrator. When a new CSIR is issued to the configurable electronic device 1000, it can be in one of three states: (a) no configuration session exists prior to the configurable electronic device 1000, (b) one or more configuration sessions with CSL set to OFF exist prior to the configurable electronic device 1000, or (c) only one configuration session with CSL set to ON exists prior to the configurable electronic device 1000. In step 202, the configurable electronic device 1000 determines whether CSL has already been set to ON. If CSL is ON, in step 203, the configurable electronic device 1000 rejects the CSIR without providing the administrator with the option to override it. If CSL is OFF, in step 204, the configurable electronic device 1000 accepts the CSIR. In step 205, the configurable electronic device 1000 generates a CSID for the received CSIR. In step 206, the configurable electronic device 1000 receives a CSLM to be used with the newly created configuration session. In step 207, the configurable electronic device 1000 sets the CSL according to the CSLM received from the administrator in step 206. If the administrator has already selected CSLM as ON, in this specific step, the system forcibly terminates all other pre-existing configuration sessions. If the administrator has already selected CSLM as OFF, other pre-existing configuration sessions will continue to run. In step 208, the configurable electronic device 1000 starts the session by setting the newly created configuration session to “ACTIVE”. In step 209, the configurable electronic device 1000 receives the new configuration and SPG from the administrator. In step 210, the configurable electronic device 1000 executes “Process A”. Process A includes… Figure 1 Steps 102 to 107. In step 211, the configurable electronic device 1000 terminates the configuration session by setting the configuration session to “INACTIVE”. In this particular variant, step 211 is a follow-up step to both steps 105 and 107.

[0126] In one embodiment, if a CSIR is issued to configurable electronic device 1000 while the CSL is already set to ON, configurable electronic device 1000 includes an optional mechanism to override the existing CSL and accept the CSIR. This option is particularly useful for administrators who want to configure the device but cannot do so because a pre-existing CSL is set to ON. Also in this embodiment, if the CSL is set to OFF, there may be other concurrent configuration sessions without needing to override the CSL. The instruction to override a pre-existing CSL is referred to herein as a "CSLO". In one embodiment, if the CSLO is set to ON, the pre-existing configuration session is terminated and a rollback is performed to restore the state of the operational configuration before any changes are made to the terminated configuration session. In another embodiment, if the CSLO is set to ON, the pre-existing configuration session is terminated, and changes to the operational configuration made by the terminated configuration session are preserved. In an embodiment using stateful configuration sessions, if the CSLO is set to ON, the owner of the pre-existing configuration session is notified of the override operation and given the option to continue the configuration session while the CSL is set to OFF. In one embodiment, the decision regarding how to set the CSLO is determined by the administrator who issued the CSIR. According to the embodiment using a stateless configuration session, instructions on how to configure CSLO are issued together with the CSIR. According to the embodiment using a stateful configuration session, instructions on how to configure CSLO are received interactively from the administrator immediately before determining whether CSLO is set to ON.

[0127] Figure 3 Show Figure 1 Another variation of the illustrated embodiment. In this particular variation, the configurable electronic device 1000 includes a mechanism for performing configuration operations using a stateful configuration session. Additionally, in this particular variation, the configurable electronic device 1000 includes a mechanism using CSLO. This should be considered in conjunction with... Figure 1 Let's take a look Figure 3To better understand the variant: In step 301, the configurable electronic device 1000 receives a CSIR from the administrator. In step 302, the configurable electronic device 1000 determines whether the CSL has been set to ON. If the CSL has been set to ON, then in step 303, the configurable electronic device 1000 receives a CSLO instruction from the administrator. If in step 302 the configurable electronic device 1000 determines that the CSL has not been set to ON, then it proceeds to step 307 to accept the CSIR. In step 304, the configurable electronic device 1000 determines whether the administrator has set the CSLO to ON. If the administrator has not yet set the CSLO to ON, then in step 305, the configurable electronic device 1000 discards the CSIR. If in step 304 the administrator has set the CSLO to ON, then in step 306, the configurable electronic device 1000 overwrites the pre-existing CSL. Then, the configurable electronic device 1000 proceeds to step 307 and accepts the CSIR. In step 308, the configurable electronic device 1000 generates a CSID corresponding to the received CSIR. In step 309, the configurable electronic device 1000 receives the CSLM for this specific configuration session from the administrator. In step 310, the configurable electronic device 1000 sets the CSL according to the CSLM received from the administrator in step 309. In step 311, the configurable electronic device 1000 sets the newly generated configuration session to ACTIVE. In step 312, the configurable electronic device 1000 receives the new configuration and SPG from the administrator. In step 313, the configurable electronic device 1000 executes process A. Then, in step 314, the configurable electronic device 1000 sets the configuration session to INACTIVE. In this particular variant, step 314 is a follow-up step to both steps 105 and 107.

[0128] According to one or more embodiments of the present invention, a configurable electronic device 1000 includes a mechanism to continue using a new configuration even if the SPG is not met. This mechanism is referred to herein as "forceful-override". For readability, the acronym "FO" is used herein to represent "forceful-override". The FO mechanism enables an administrator to continue using a new configuration even when the SPG is not met. This awareness can aid in decision-making for future configuration or troubleshooting operations. FO serves as a flag bit that can be in an "ON" or "OFF" mode. When FO is enabled or set to ON mode, it indicates that the configurable electronic device 1000 should use the new configuration even if the SPG is not met. When FO is not enabled or set to OFF mode, it indicates that the configurable electronic device 1000 should not continue using the new configuration. In embodiments using a stateless configuration session, instructions related to FO are received together with the CSIR. In embodiments using a stateful configuration session, instructions related to FO and the new configuration are received from the administrator. This is because applying the new configuration may prevent the administrator from accessing the management interface, and in this case, the configurable electronic device 1000 cannot receive FO commands from the administrator interactively.

[0129] Figure 4 The flowchart illustrates steps performed by a configurable electronic device 1000 according to an embodiment of the present invention. In this embodiment, the configurable electronic device 1000 performs configuration operations without using a configuration session. Figure 1 The illustrated embodiments differ; in this particular embodiment, the administrator is provided with the option to use FO. In step 401, the configurable electronic device 1000 receives a new configuration and SPG. In step 402, the configurable electronic device 1000 archives its original configuration in auxiliary storage device 1004. In step 403, the configurable electronic device 1000 applies the new configuration as its operating configuration. In step 404, the configurable electronic device 1000 determines whether the new configuration satisfies the SPG. If the SPG is satisfied, then in step 405, the configurable electronic device 1000 continues to use the operating configuration created based on the new configuration. If the SPG is not satisfied, then in step 406, the configurable electronic device 1000 further determines whether to enable FO. If FO is enabled, then the operating configuration created based on the new configuration continues to be used. If FO is not enabled, then in step 407, the configurable electronic device 1000 retrieves the archived original configuration from auxiliary storage device 1004. Then, in step 408, the configurable electronic device 1000 applies the retrieved configuration.

[0130] Figure 5 The flowchart shows Figure 4Variations of the illustrated embodiment. In this particular variation, the configurable electronic device 1000 includes a mechanism for performing configuration operations using a stateful configuration session. In this particular variation, the administrator can optionally use FO. Furthermore, in this particular variation, to interact with... Figure 2 The similar method shown uses CSL and CSLM. In this variant, the electronic device 1000 can be configured to receive SPG and FO, as well as new configurations. This should be combined with... Figure 2 and Figure 4 Let's take a look Figure 5 To better understand the aforementioned variation. For illustrative purposes, in step 501, the configurable electronic device 1000 executes process T1, which includes... Figure 2 Steps 201 to 208. Then, in step 502, the configurable electronic device 1000 receives the new configuration, SPG, and FO from the administrator. In step 503, the configurable electronic device 1000 executes process B, which includes... Figure 4 Steps 402 to 408. Then, in step 504, the configurable electronic device 1000 sets the configuration session to INACTIVE. Step 504 is a follow-up step to either step 405 or 408.

[0131] Figure 6 The flowchart shows Figure 4 A variation of the illustrated embodiment. In this particular variation, the configurable electronic device 1000 includes a mechanism for performing configuration operations using a stateful configuration session. Similar to... Figure 4 The illustrated embodiment further includes a mechanism using FO. Furthermore, in this particular variant, to... Figure 3 The similar method shown uses CSL, CSLM, and CSLO. In this variant, the electronic device 1000 can be configured to receive SPG and FO, as well as new configurations. This should be combined with... Figure 3 and Figure 4 Let's take a look Figure 6 To better understand the variant. In step 601, the electronic device 1000 can be configured to execute process U1, which includes Figure 3 Steps 301 to 311. Then, in step 602, the configurable electronic device 1000 receives the new configuration, SPG, and FO from the administrator. In step 603, the configurable electronic device 1000 executes process B. Then, in step 604, the configurable electronic device 1000 sets the configuration session to INACTIVE. Step 604 is a follow-up step to either step 405 or 408.

[0132] According to one embodiment of retry attempts, the configurable electronics makes a maximum number of retry attempts before determining that the SPG is not satisfied. This number is referred to herein as the “maximum-retry-attempt”. For readability, the acronym “MRA” is used herein to denote “maximum-retry-attempt”. The value of MRA can be “0” or greater. The value of MRA can be determined by the manufacturer, administrator, or calculated by the configurable electronics 1000. If the value of MRA is not determined by the manufacturer or administrator, or is not calculated by the configurable electronics 1000, then 0 is used as the default value. A value of 0 for MRA means that no retries are performed. Additionally, in embodiments using MRA, the configurable electronics includes a mechanism to determine the number of retry attempts that have been performed. This number is referred to herein as the “current-retry-attempt”. For readability, the acronym “CRA” is used herein to denote “current-retry-attempt”. The value of CRA starts from -1 and increments by 1 after each operation that determines the state of the environmental factors. If the configurable electronic device 1000 determines that the value of CRA is not equal to the value of MRA, the configurable electronic device waits for an appropriate amount of time before retrying. This period of time is referred to herein as the “retry interval”. For ease of reading, the acronym “RI” is used herein to represent “retry interval”. The configurable electronic device uses RI to wait for an appropriate amount of time to address environmental factors. The duration of RI can be determined by the manufacturer or administrator of the configurable electronic device, or calculated by the configurable electronic device itself based on the corresponding SPG or EFG. Where RI is determined by more than one entity, the value of RI determined by the entity with the highest priority is used, where this priority is predetermined by the manufacturer of the configurable electronic device. The value of RI is measured in seconds. In one embodiment, the administrator is provided with the option to set the value of 'RI' before applying the configuration. If the administrator does not set the value of 'RI', the configurable electronic device will use a default value. This default value is set by the manufacturer of the configurable electronic device, or calculated by the configurable electronic device based on one or more parameters related to environmental factors. In one embodiment, the administrator is not given the option to set the value of 'RI'. If the configurable electronic device determines that CRA equals MRA, it terminates the process.

[0133] Figure 7The flowchart illustrates steps performed by a configurable electronic device 1000 according to an embodiment of the present invention. In this embodiment, the configurable electronic device 1000 performs configuration operations without using a configuration session. Additionally, in this particular embodiment, if the new configuration does not satisfy the SPG, the configurable electronic device 1000 includes a mechanism to further determine whether the EFG meets the requirements. Furthermore, in this particular embodiment, the configurable electronic device 1000 includes a mechanism to use the RI to retry and determine whether the new configuration satisfies the SPG. For each retry and finding that the SPG is not satisfied, the configurable electronic device 1000 further determines whether the EFG meets the requirements. For illustrative purposes, in step 701, the configurable electronic device 1000 receives the new configuration along with the SPG, EFG, RI, and MRA. In step 702, the configurable electronic device 1000 archives the original configuration in an auxiliary storage device 1004. In step 703, the configurable electronic device applies the new configuration. In step 704, the configurable electronic device 1000 determines whether the new configuration satisfies the SPG. If the SPG is met, then in step 705, the configurable electronic device 1000 continues to use the new configuration. If the SPG is not met, then in step 706, the configurable electronic device 1000 further determines whether the EFG meets the requirements. According to this embodiment, if the SPG is not met but the EFG meets the requirements, the configurable electronic device 1000 determines that the reason for not meeting the SPG is an incorrect configuration, and therefore the configurable electronic device 1000 performs a configuration rollback. If the EFG meets the requirements, then in step 710, the configurable electronic device 1000 retrieves the archived original configuration. In step 711, the configurable electronic device 1000 applies the retrieved original configuration. If the EFG does not meet the requirements, then in step 708, the configurable electronic device 1000 increments the value of CRA by "-1". Then in step 709, the configurable electronic device 1000 determines whether the value of CRA is equal to the value of MRA. If the values ​​are not the same, then in step 709, the configurable electronic device 1000 waits for RI. The configurable electronic device 1000 proceeds to step 704 to determine again whether the SPG is met. This process continues unless EFG is found to meet the requirements in step 706, or until the value of CRA becomes equal to the value of MRA in step 708. If the value of CRA equals the value of MRA in step 708, the configurable electronic device 1000 proceeds to step 705.

[0134] Figure 8 The flowchart shows Figure 7 Variations of the illustrated embodiment. In this particular variation, the configurable electronic device 1000 includes a mechanism for performing configuration operations using a stateful configuration session. This should be considered in conjunction with... Figure 2 and Figure 7 Let's take a look Figure 8 To better understand the aforementioned variant. This particular variant also includes... Figure 7 The method shown uses mechanisms such as new configuration, SPG, EFG, RI, and MRA. Furthermore, in this particular variant, with... Figure 2 A similar method is shown, using CSL and CSLM. For illustrative purposes, in step 801, the configurable electronic device 1000 executes process T1. Then, in step 802, the configurable electronic device 1000 receives new configurations, SPG, EFG, RI, and MRA from the administrator. In step 803, the configurable electronic device 1000 executes process C, which includes... Figure 7 Steps 702 to 711. Then, in step 804, the configurable electronic device 1000 sets the configuration session to INACTIVE. Step 804 is a follow-up step to either step 705 or 711.

[0135] Figure 9 The flowchart shows Figure 7 Variations of the illustrated embodiment. In this particular variation, the configurable electronic device 1000 includes a mechanism for performing configuration operations using a stateful configuration session. This should be considered in conjunction with... Figure 3 and Figure 7 Let's take a look Figure 9 To better understand the aforementioned variant. This particular variant also includes... Figure 7 The method shown uses mechanisms such as new configuration, SPG, EFG, RI, and MRA. Furthermore, in this particular variant, with... Figure 3 The method shown uses CSL, CSLM, and CSLO. For illustrative purposes, in step 901, the configurable electronic device 1000 executes process U1. Then, in step 902, the configurable electronic device 1000 receives new configurations, SPG, EFG, RI, and MRA from the administrator. In step 903, the configurable electronic device 1000 executes process C. Then, in step 904, the configurable electronic device 1000 sets the configuration session to INACTIVE. Step 904 is a follow-up step to either step 705 or 711.

[0136] Figure 11A network topology 1100 according to an embodiment of the present invention is shown. In this particular embodiment, the configurable electronic device 1000 is a network device such as a network router. Management node B 1103 is directly connected to device 1000 via a point-to-point Ethernet connection 1105. Management node A 1104 is connected to device 1000 via an interconnection network 1101, such as the Internet, using link 1107. Remote server 1102 is also connected to device 1000 via interconnection network 1101 using link 1106. Configurable electronic device 1000 is connected to interconnection network 1101 using link 1108. There are no restrictions on the connection type or topology of device 1000 used to connect to management node A 1104, management node B 1103, or remote server 1102, as long as they enable access to the device at the Internet layer where the TCP / IP protocol applies.

[0137] The features and technical advantages of the invention have been outlined quite extensively above to facilitate a better understanding of the detailed description of the invention below. Additional features and advantages of the invention, which form the subject matter of the claims, will be described below. Those skilled in the art will understand that the disclosed concepts and specific embodiments can be readily used as the basis for modifications or the design of other structures for achieving the same objectives of the invention. Those skilled in the art will also recognize that such equivalent constructions do not depart from the spirit and scope of the invention as set forth in the appended claims. When considered in conjunction with the accompanying drawings, the novel features of the invention, considered characteristic of its construction and operation, along with other objectives and advantages, will be better understood from the following description. However, it should be clearly understood that each of the drawings is provided for illustrative and descriptive purposes and is not intended as a definition of limitation of the invention.

Claims

1. A method for configuring rollback in an electronic device, comprising: When the first condition is met: a. Accept the configuration session request; b. Based on the configuration session, initiate a request to generate a configuration session identifier to identify the first configuration session; c. Receive the configuration session lock mode and set the configuration session lock based on the configuration session lock mode; d. Set the first configuration session to an active state; e. Receive new configuration; f. Archive the original configuration; g. Apply the new configuration; as well as h. When the successful parameter group does not meet the new configuration and the forced override mode is not enabled, retrieve and apply the original configuration; The first condition is satisfied when one of the following is met: (A) The configured session lock is not locked; (B) The configuration session lock is locked and it is determined that the configuration session lock is overridden; The configuration session lock setting can be used to lock the first configuration session or at least one second configuration session; The at least one second configuration session exists within the electronic device prior to the execution of step (c); When the configuration session lock mode is enabled and at least one second configuration session exists, the at least one second configuration session is terminated when step (c) is executed. After performing step (d), an operation configuration lock is set on the original configuration to prevent modification of the original configuration through the first configuration session or the at least one second configuration session; and After performing step (f), the operation configuration lock is removed from the original configuration.

2. The method according to claim 1, further comprising: When the configuration session lock is locked, determine whether to overwrite the configuration session lock; as well as When the configuration session lock is locked and it is determined that the configuration session lock will not be overridden, the request to initiate the configuration session is rejected.

3. The method according to claim 1, further comprising: After applying the new configuration, when the success parameter group does not meet the new configuration and the forced override mode is enabled: i. Maintain the application of the new configuration; as well as ii. Set the first configuration session to an inactive state.

4. The method of claim 1, further comprising: After applying the original configuration, the first configuration session is set to an inactive state.

5. The method according to claim 1, further comprising: Before performing step (h): Perform a first series of retry attempts to determine if the successful parameter set satisfies the new configuration; Wait for an appropriate amount of time; as well as Perform a second and multiple retries until the successful parameter set satisfies the new configuration.

6. The method of claim 1, wherein when the configuration session lock mode is disabled, the at least one second configuration session continues to run.

7. The method of claim 1, wherein the success parameter set is based on the expected result after applying the new configuration; wherein the expected result is determined by the electronic device.

8. The method of claim 1, wherein the configuration session initiation request, the configuration session lock mode, the new configuration, the success parameter group, and the forced overwrite mode are received from the management interface of the electronic device.

9. The method of claim 1, wherein the original configuration is archived and retrieved in at least one non-transitory computer-readable medium.

10. The method of claim 1, wherein each of the new configuration and the original configuration is applied to the electronic device as an operating configuration of the electronic device.

11. An electronic device comprising: At least one network interface; At least one main memory; At least one processing unit; At least one non-transitory computer-readable medium storing program instructions executable by the at least one processing unit to: When the first condition is met: a. Accept the configuration session request; b. Based on the configuration session, initiate a request to generate a configuration session identifier to identify the first configuration session; c. Receive the configuration session lock mode and set the configuration session lock based on the configuration session lock mode; d. Set the first configuration session to an active state; e. Receive new configuration; f. Archive the original configuration; g. Apply the new configuration; as well as h. When the successful parameter group does not meet the new configuration and the forced override mode is not enabled, retrieve and apply the original configuration; The first condition is satisfied when one of the following is met: (A) The configured session lock is not locked; (B) The configuration session lock is locked and it is determined that the configuration session lock is overridden; The configuration session lock setting can be used to lock the first configuration session or at least one second configuration session; The at least one second configuration session exists within the electronic device prior to the execution of step (c); When the configuration session lock mode is enabled and at least one second configuration session exists, the at least one second configuration session is terminated when step (c) is executed. After performing step (d), an operation configuration lock is set on the original configuration to prevent modification of the original configuration through the first configuration session or the at least one second configuration session; and After performing step (f), the operation configuration lock is removed from the original configuration.

12. The electronic device of claim 11, wherein the at least one non-transitory computer-readable medium stores program instructions that can be executed by the at least one processing unit of the following steps: When the configuration session lock is locked, determine whether to overwrite the configuration session lock; and When the configuration session lock is locked and it is determined that the configuration session lock will not be overridden, the configuration session initiation request is rejected.

13. The electronic device of claim 11, wherein the at least one non-transitory computer-readable medium stores program instructions that can be executed by the at least one processing unit of the following steps: After applying the new configuration, when the success parameter group does not meet the new configuration and the forced override mode is enabled: Keep the new configuration applied; and Set the first configuration session to an inactive state.

14. The electronic device of claim 11, wherein the at least one non-transitory computer-readable medium stores program instructions that can be executed by the at least one processing unit of the following steps: After applying the original configuration, the first configuration session is set to an inactive state.

15. The electronic device of claim 11, wherein the at least one non-transitory computer-readable medium stores program instructions that can be executed by the at least one processing unit of the following steps: Before performing step (h): Perform a first series of retry attempts to determine if the successful parameter set satisfies the new configuration; Waiting for an appropriate amount of time; and Perform a second and multiple retries until the successful parameter set satisfies the new configuration.

16. The electronic device of claim 11, wherein when the configuration session lock mode is disabled, the at least one second configuration session continues to run.

17. The electronic device of claim 11, wherein the success parameter set is based on the expected result after applying the new configuration; wherein the expected result is determined by the electronic device.

18. The electronic device of claim 11, wherein the configuration session initiation request, the configuration session lock mode, the new configuration, the success parameter group, and the forced overwrite mode are received from the management interface of the electronic device.

19. The electronic device of claim 11, wherein the original configuration is archived and retrieved in the at least one non-transitory computer-readable medium.

20. The electronic device of claim 11, wherein each of the new configuration and the original configuration is applied to the electronic device as an operating configuration of the electronic device.

Citation Information

Patent Citations

  • System and method for efficiently managing network changes

    US20140280833A1

  • Secure storage devices, with physical input device, for secure configuration in a configuration-ready mode

    US9720700B1