Uninterruptible power supply communication
By introducing configuration settings and switch mechanisms into the UPS, distinguishing and processing commands, and combining with attack detection algorithms, the problem of command identification and security in the UPS system is solved, preventing malicious instructions and executing authorized commands, and enhancing system security. functionality and user control.
Patent Information
- Application Number
- CN202111106178.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2017-06-14
- Filing Date
- 2018-06-12
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2038-06-12
AI Technical Summary
It is difficult for the existing uninterruptible power supply (UPS) system to effectively distinguish and process unrestricted commands and restricted commands when receiving commands. There is a risk of malicious instructions being executed through the safety switch, and in the Internet of Things environment, the end user's control of the device Control is limited.
By introducing configuration settings and switch mechanisms into the UPS, it distinguishes between unrestricted commands and restricted commands, and ignores or discards unallowed commands when receiving them. It combines attack detection algorithms to identify potentially malicious commands and ensure that only authorized commands are used. Execution while providing local configuration settings to restrict remote access.
It effectively prevents the execution of malicious instructions, improves the security and stability of the UPS system, ensures that only authorized commands are executed, and enhances the end user's ability to control the device.
Smart Images

Figure CN113821099B_ABST
Abstract
Description
[0001] This application is a divisional application of an application filed on June 12, 2018, with application number 201810598907.0 and invention name “Uninterruptible Power Supply Communication”.
[0002] CROSS-REFERENCE TO RELATED APPLICATIONS
[0003] This application is a continuation-in-part of U.S. patent application No. 14 / 758,406, filed on June 29, 2015, entitled “UNINTERRUPTIBLE POWERSUPPLY COMMUNICATION,” which is a national phase of international application No. PCT / US2013 / 077468, filed on December 31, 2012, entitled “UNINTERRUPTIBLE POWERSUPPLY COMMUNICATION,” both of which are hereby incorporated by reference in their entirety for all purposes. Field of the Invention
[0004] The present invention generally relates to uninterruptible power supplies. background
[0005] It is well known to use power equipment (such as, uninterruptible power supply (UPS)) to provide regulated, uninterrupted power for sensitive loads and / or critical loads (such as, computer systems and other data processing systems). Many different UPS products are available, including those UPS identified by the trade name SMART-UPS provided by American Power Conversion Company under Schneider Electric in West Kingston, Rhode Island. In a typical UPS, batteries are used to provide backup power for critical loads during power outages or voltage reduction (browout). Users of a typical UPS can configure and control the UPS by a computer coupled to the UPS or by a user interface of the UPS itself. There are many different types of communication protocols between a computer system and an uninterruptible power supply (UPS) coupled to a communication network. For example, such a network may be a point-to-point network, a shared network such as a bus, or any other medium or network configuration type. Communication with a UPS on a network can include providing commands to the UPS and receiving data from the UPS, for example, monitoring UPS activities.
[0006] Overview
[0007] Some commands received by an uninterruptible power supply (UPS) may be valid commands, for example, commands sent by an authorized user through a computer. Some commands may be malicious instructions, for example, instructions sent by a virus or a malicious user. In some embodiments, the UPS is configured to not allow or filter commands according to the configuration of the UPS. For example, the UPS may be provided with a safety switch. In some embodiments, when the safety switch is turned on, the UPS is configured to not allow some or all of the remote commands. In other embodiments, the safety switch is capable of command filtering, for example, only allowing specific remote commands. In various embodiments, the UPS filters commands to allow remote commands that are appropriately encrypted or verified.
[0008] According to some embodiments, an uninterruptible power supply (UPS) includes an input terminal configured to receive input power; a backup power supply configured to provide backup power; an output terminal configured to provide output power from at least one of the input power and the backup power; and a controller coupled to the input terminal, the backup power supply, and the output terminal. The controller is configured to receive commands from an external entity; detect configuration settings; based at least in part on the configuration settings, identify that a first subset of commands are unrestricted commands and a second subset of commands are restricted commands; and, in response to identifying the unrestricted commands, execute the unrestricted commands.
[0009] In some embodiments, the UPS further includes a hardware switch coupled to the controller, and the configuration setting corresponds to a position of the hardware switch.
[0010] In some embodiments, the UPS further includes a local user interface coupled to the controller, and the configuration settings correspond to selections on the local user interface.
[0011] In some embodiments, the first subset of commands includes all commands.
[0012] In some embodiments, the second subset of commands includes authenticated commands.
[0013] In some embodiments, the controller is further configured to discard a second subset of the commands without executing them.
[0014] In some embodiments, the second subset of commands includes all commands.
[0015] In some embodiments, the second subset of commands includes a shutdown command.
[0016] In some embodiments, the second subset of commands includes commands to change the output power of the UPS.
[0017] In some embodiments, the second subset of commands includes commands to change one or more configuration settings of the UPS.
[0018] In some embodiments, the second subset of commands includes commands to transmit information from the UPS.
[0019] In some embodiments, the controller is further configured to store a second subset of commands and analyze the stored commands to identify an attack on the UPS.
[0020] In some embodiments, analyzing the stored commands includes at least one of detecting a pattern of stored commands and receiving at least a threshold number of unauthorized commands.
[0021] According to some embodiments, a method for controlling an uninterruptible power supply (UPS) includes: receiving commands from an external entity at the UPS; detecting configuration settings; identifying a first subset of commands and a second subset of commands based at least in part on the configuration settings, wherein the commands in the first subset are unrestricted commands and the commands in the second subset are restricted commands; and in response to identifying the unrestricted commands, executing the unrestricted commands.
[0022] According to some embodiments, a computer-readable medium having a sequence of instructions stored thereon includes instructions that will cause a processor to: receive commands from an external entity at a UPS; detect configuration settings; based at least in part on the configuration settings, identify a first subset of commands as unrestricted commands and a second subset of commands as restricted commands; and, in response to identifying the unrestricted commands, execute the unrestricted commands.
[0023] According to some embodiments, a UPS includes: an input configured to receive input power; a backup input configured to receive backup power from a backup power source; an output configured to provide output power from at least one of the input power and the backup power; a communication stack including an external system interface configured to communicate with at least one external device; a local user interface including a switch having a first position corresponding to a screening mode and a second position corresponding to a non-screening mode, the switch being communicatively decoupled from the communication stack; and a controller coupled to the input, the backup input, the output, the communication stack, and the local user interface. The controller is configured to receive a command from an external entity through the communication stack, detect a position of the switch, identify that the command is a disallowed command in response to detecting the position of the switch corresponding to the screening mode, and ignore the disallowed command without executing the disallowed command in response to identifying the disallowed command.
[0024] In some embodiments, the switch is a hardware switch coupled to the controller.
[0025] In some embodiments, the switch is a software switch.
[0026] In some embodiments, the external system interface includes at least one of a serial port, a universal serial bus port, an Ethernet port, and a wireless connection.
[0027] In some embodiments, the controller is further configured to execute the enable command in response to identifying that the command is an enable command.
[0028] In some embodiments, the switch is an out-of-band switch.
[0029] In some embodiments, the UPS is configured to communicate with at least one remote device via a network.
[0030] In some embodiments, at least one of the commands is a shutdown command.
[0031] In some embodiments, at least one of the commands changes an output power characteristic of the UPS.
[0032] In some embodiments, at least one of the commands changes one or more configuration settings of the UPS.
[0033] In some embodiments, at least one of the commands is a command to transmit information from the UPS through the communications stack.
[0034] In some embodiments, the controller is further configured to store the command, and
[0035] The stored commands are analyzed to identify attacks on the UPS.
[0036] In some embodiments, analyzing the stored commands includes at least one of detecting a pattern of the stored commands and receiving at least a threshold number of unauthorized commands.
[0037] According to some embodiments, a method for controlling a UPS includes: receiving a command from an external entity at the UPS; detecting a position of a switch, the switch having a first position corresponding to a filtering mode and a second position corresponding to a non-filtering mode; in response to detecting the position of the switch, identifying that the received command is an impermissible command; and in response to identifying the impermissible command, ignoring the impermissible command and not executing the impermissible command.
[0038] In some embodiments, the method includes configuring a configuration setting in response to detecting a position of a hardware switch on the UPS.
[0039] In some embodiments, the method includes configuring the configuration setting by setting a logical position of a software switch accessible through the UPS.
[0040] In some embodiments, the method includes, in response to identifying that the received command is an enable command, executing the enable command.
[0041] In some embodiments, the method includes storing the received commands and analyzing the stored commands to identify an attack on the UPS.
[0042] In some embodiments, analyzing the stored commands includes at least one of detecting a pattern of the stored commands and receiving at least a threshold number of unauthorized commands.
[0043] According to some embodiments, a UPS includes an input terminal configured to receive input power, a backup input terminal configured to receive backup power from a backup power source, an output terminal configured to provide output power from at least one of the input power and the backup power, a switch, and a controller coupled to the input terminal, the backup power source, the switch, and the output terminal. The controller is configured to receive a command from an external entity, detect a position of the switch, identify the command as a disallowed command in response to detecting the position of the switch, and ignore the disallowed command without executing the disallowed command in response to identifying the disallowed command.
[0044] Other various aspects and examples, and the advantages of these exemplary various aspects and examples will be discussed in detail below. In addition, it should be understood that the above information and the following detailed description are only illustrative examples of various aspects and embodiments, and are intended to provide a review or framework for understanding the nature and characteristics of the claimed aspects and embodiments. Any example disclosed herein can be combined with any other example in any manner consistent with at least one of the goals, purposes and needs disclosed herein, and the reference to "example", "embodiment", "some examples", "some embodiments", "other examples", "other embodiments", "selectable examples", "selectable embodiments", "various examples", "various embodiments", "an example", "an embodiment", "at least one example", "at least one embodiment", "this and other examples", "this and other embodiments" or similar statements is not necessarily mutually exclusive and is intended to show that the specific features, structures or characteristics described in conjunction with the examples can be included in at least one example. The appearance of these terms herein does not necessarily refer to the same example. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings are not intended to be drawn to scale. In the accompanying drawings, each identical or nearly identical component shown in various figures is represented by a like number. For the purpose of clarity, not every component may be labeled in every figure.
[0046] In the figure,
[0047] Figure 1 is a block diagram of an example network system;
[0048] Figure 2 is a block diagram of an example UPS;
[0049] Figure 3 is a block diagram of an example computer system;
[0050] Figure 4 is a block diagram of an example UPS and computer system;
[0051] Figure 5 is a flow chart of an example process implemented by a UPS;
[0052] Figure 6 is a flow chart of an example process implemented by a UPS according to an embodiment of the present disclosure; and
[0053] Figure 7 is a flow chart of an example process implemented by a UPS. Detailed Description
[0054] In some embodiments, an uninterruptible power supply (UPS) receives commands from a computer system. The UPS can parse and filter commands. For example, a user and / or developer can specify a subset of commands as unrestricted commands and restricted commands. Unrestricted commands can be allowed and executed when received. Restricted commands can be disallowed and discarded. In some embodiments, the UPS can be delivered with a preconfiguration to classify all commands as restricted commands. In some embodiments, if the restricted commands are correctly verified, the restricted commands are executed. In some embodiments, a subset of commands can be specified as never being allowed when received from a computer system. In multiple embodiments, the filtering of commands is started and stopped based on configuration settings. For example, a user can set a switch in a first position to start command filtering. Various embodiments are described in more detail below with reference to the accompanying drawings.
[0055] The examples of the methods and devices discussed herein are not intended to limit application to the details of the structure and arrangement of the components set forth in the following description and shown in the accompanying drawings. Each method and each device can be implemented in other examples and practiced or executed in various ways. The examples of specific implementations provided herein are only for illustrative purposes and are not intended to be limiting. In particular, the actions, elements and features discussed with respect to any one or more examples are not defined as being excluded from similar actions in any other examples.
[0056] In addition, the words and terms used herein are for descriptive purposes and should not be considered restrictive. Any singular reference to an example or element or action of an apparatus and method herein may also include an example including multiple such elements, and any plural reference to any example or element or action herein may also include an example including only a single element. References in singular or plural form are not intended to limit the currently disclosed system or method, their components, actions or elements. "Including", "comprising", "having", "containing" and "involving" and their variations are used herein to include the items listed thereafter and their equivalents and additional items. The reference of "or" can be interpreted as inclusive, so that any term described using "or" can indicate any of a single, more than one and all of the terms described. Any reference to front and back, left and right, up and down, higher and lower, and vertical and horizontal is intended to facilitate description, rather than to limit the apparatus and method or its components to any one position or spatial orientation.
[0057] Figure 1 1 is a block diagram of an example network system of some embodiments. Specifically, system 100 includes one or more systems connected by one or more networks. In the example shown, system 102 is coupled to agent system 101 via network 103. According to some embodiments, agent system 101 has the ability to communicate with system 102 using a communication protocol. Communication with system 102 may be useful, for example, for monitoring and managing system 104 by system 102. In an optional configuration (not shown), system 102 may be coupled to another system (e.g., system 104) directly or via a network (e.g., network 105). For example, in some embodiments, system 102 is a computer and system 104 is a UPS.
[0058] In addition, according to some embodiments, the proxy system 101 converts requests from one or more systems (e.g., system 102) into requests that can be processed by the system 104. For example, these requests can be messages generated by applications executing on the system 102. An example application that can generate such requests is a management program that is provided to manage one or more systems (e.g., system 104). These requests may include control data for controlling and configuring the system 104, requests for performance and / or status information of the system 104, and the like. To this end, the proxy 101 may be able to convert received management requests into messages that can be processed by the system 104. Although the proxy 101 may be able to pass management data, it should be understood that the proxy 101 may be able to convert any type of request having any type of data.
[0059] In some embodiments, the proxy system 101 is coupled to more than one system. In one example, the proxy system 101 is coupled to two or more networks (e.g., network 103 and network 105). To this end, the proxy 101 may have more than one network interface. The proxy 101 may also be able to communicate using one or more communication protocols. The proxy 101 may also be included in the system 104.
[0060] In some embodiments, system 100 may exist as part of a remote computing infrastructure, such as a cloud computing infrastructure. For example, system 102 may be located remotely from system 104, but system 104 may still be remotely monitored and controlled. As discussed in more detail below, system 102 and system 104 may be implemented as entities in an Internet of Things (IoT) environment.
[0061] System 100 is merely an illustrative embodiment of a communication system according to one embodiment. Any of many other implementations of the system (such as evolutions with more systems or fewer systems) are possible and are intended to fall within the scope of the embodiments.
[0062] Various embodiments can be realized on one or more computer systems.For example, these computer systems can be general-purpose computers, such as those computers based on the processor of Intel Pentium type, the PowerPC of Motorola, UltraSPARC of Sun, PA-RISC processor of Hewlett-Packard or the processor of any other type.In a specific embodiment, various aspects of the communication protocol that can be used by a computer system (such as a microcontroller or a microprocessor) are provided.Such a controller can be embedded in one or more systems, such as, for example, can be embedded in a component in an uninterruptible power supply (UPS) or its components.
[0063] In some embodiments, system 104 is a UPS. Figure 2 An online UPS 104 for providing uninterruptible power with a regulated voltage according to an example of the present invention is shown. The UPS 104 includes an input breaker / filter 212, a rectifier 214, a control switch 215, a controller 216, a battery 218, an inverter 220, an isolation transformer 222, a DC / DC converter 228, a user interface (UI) 230, a data storage 232, and an external system interface 234. The UPS also includes an input terminal 224 for coupling to an AC power source and an output port (outlet) 226 for coupling to a load.
[0064] UPS104 operates as follows. Breaker / filter 212 receives input AC power from an AC power source through input 224, filters the input AC power and provides filtered AC power to rectifier 214. Rectifier 214 rectifies the input voltage. DC / DC converter 228 regulates DC power from battery 218. Control switch 215 receives the rectified power and also receives DC power from DC / DC converter 228. Controller 216 determines whether the power available from rectifier 214 is within a predetermined tolerance range, and if so, controls the control switch 215 to provide power from rectifier 214 to inverter 220. If the power from rectifier 214 does not fall within the predetermined tolerance, which may be caused by a "low voltage" or "power outage" condition, or caused by power fluctuations, controller 216 will control control switch 215 to provide DC power from DC / DC converter 228 to inverter 220.
[0065] The inverter 220 of the UPS 104 receives DC power and converts the DC power into AC power and adjusts the AC power to predetermined specifications. The inverter 220 provides the stabilized AC power to the isolation transformer 222. The isolation transformer 222 is used to increase or decrease the voltage of the AC power from the inverter 220 and to provide isolation between the load and the UPS 104. The isolation transformer 222 is an optional device, and its use depends on the UPS output power specification. Depending on the capacity of the battery 218 and the power demand of the load, the UPS 104 can provide power to the load during a brief power failure or for an extended power outage.
[0066] According to the present invention, specific examples include multiple variations of UPS104. For example, in one example, UPS104 is configured to enable and distribute multi-phase power, such as enabling and distributing three-phase power. In some examples, output port 226 includes multiple physical output port groups, each of which includes multiple physical output ports. In other examples, UPS104 is configured to monitor the amount of power supplied by these output port groups and output ports and record it in data storage 232. In other examples, UPS104 is a standby UPS. In other examples, UPS104 is an online interactive UPS.
[0067] Back to Figure 2In some examples, the controller 216 monitors and controls the operation of the UPS 104. Using the data stored in the associated memory, the controller 216 also executes one or more instructions that can generate the data being operated. In some examples, the controller 216 may include one or more processors or other types of controllers. In one example, the controller 216 is a general-purpose processor that is commercially available. In another example, the controller 216 performs a portion of the functions disclosed herein on a general-purpose processor and uses an application-specific integrated circuit (ASIC) customized to perform specific operations to perform another portion of the functions. As illustrated by these examples, many specific combinations of hardware and software may be used to perform the operations described herein according to examples of the present invention, and the present invention is not limited to any specific combination of hardware and software components.
[0068] The data storage 232 stores computer-readable information required for the operation of the UPS 104. This information may include data manipulated by the controller 216 and instructions that can be executed by the controller 216 to manipulate the data, etc. Therefore, in some embodiments, the data storage 232 can receive and store or retrieve and provide this computer-readable information. The data storage 232 may include a relatively high performance, volatile random access memory such as a dynamic random access memory (DRAM) or a static memory (SRAM) or may include a non-volatile storage medium such as a read-only memory (ROM), a disk, a flash memory, a CD, a DVD, or one or more electrical switches, such as a dip switch. In one example, the data storage 232 includes both volatile storage and non-volatile storage. According to various examples of the present invention, the data storage 232 can be organized into a special and unique structure in some cases to perform the aspects and functions disclosed herein. In addition, these data structures can be specifically configured to save storage space or increase data exchange performance.
[0069] In one example, the data storage 232 includes a data structure that holds system information about the UPS 104 and the devices coupled thereto. Examples of system information are discussed below and include configuration management information and performance information, among other information. Devices that may be coupled to the UPS 104 include any electronic device that requires power to operate, such as computers, printers, routers, switches, automatic transfer switches, and air conditioning units, among other electronic devices. Some devices may also include communication components such as Ethernet or USB interfaces that may be coupled to the UPS 104 via the external system interface 234 to allow enhanced communication between the device and the UPS 104.
[0070] Configuration management information may be any information that can be used to identify the properties of the UPS 104 or other device. Examples of device-specific configuration management information include manufacturer, model, serial number, and version, etc. In addition, configuration management information may also include manufacturer, model, serial number, and version information of components included in the device, such as software installed on the device or identifiable hardware elements within the device.
[0071] Performance information may be any information that characterizes the operation of the UPS 104 or other device. Examples of performance information include, among other information, device uptime information, operation logs, and power consumption information. Power consumption information may include listed (i.e., nameplate) values and actual measured values for power consumption of a device.
[0072] The external system interface 234 exchanges data with one or more external devices. These external devices may include any device configured to communicate using the standards and protocols supported by the UPS 104. Examples of specific standards and protocols that the external system interface 234 can support include parallel interfaces, serial interfaces, and USB interfaces. Other examples of these supported protocols and standards include networking technologies, such as UDP, TCP / IP, and Ethernet technologies. In at least some examples, the external system interface 234 includes a network management card (NMC) and a USB interface. In these examples, the external system interface 234 can use any one or both of these channels to receive or transmit data.
[0073] The user interface 230 includes a display screen and a set of buttons through which a user of the UPS 104 can monitor, control, and configure the operation of the UPS 104. In some embodiments, the user interface 230 includes a power button, a replacement battery indicator, an alarm indicator, a battery power indicator, an online power indicator, an interface display, a scroll up button, a scroll down button, an acknowledgement button, and an exit button.
[0074] refer to Figure 3 , a general purpose computer system according to some embodiments is configured to perform any of the functions described herein including, but not limited to, communicating between computer systems and / or relaying data to other systems (such as system 306). The system may perform other functions, and embodiments are not limited to having any particular functions and set of functions. Various entities such as, for example, systems 102 / 104 and agent 101 may be general purpose computer systems that implement various communication functions according to various embodiments.
[0075] For example, various embodiments may be implemented in a Figure 3304. The computer system 102 may include a processor 301 connected to one or more memory devices 302, such as disks, memories, or other devices for storing data. The memory 302 is generally used to store programs and data during operation of the computer system 102. The components of the computer system 102 may be coupled by an interconnection mechanism (such as a network 304), which may include one or more buses (e.g., between components integrated into the same machine) and / or networks (e.g., between components located on separate machines).
[0076] The interconnect mechanism 304 enables communications (e.g., data, instructions) to be exchanged between system components of the system 102. The system 102 also includes one or more I / O devices 303 (e.g., ports, devices, systems, etc.) for inputting and outputting data. In addition, the system 102 may include one or more interfaces 305 that connect the computer system 102 to a communication network 307.
[0077] According to some embodiments, interface 305 can be a serial interface for communicating with attached equipment.Interface 305 can be able to use various embodiments to communicate.Such interface 305 can use one or more serial transport layer protocols, including but not limited to TTL serial port (TTLserial), RS-232, RS-422, RS-485, I2C, CAN, USB or any other transport layer that can transfer packets between systems.In some embodiments, interface 305 can be an Ethernet interface.In some embodiments, interface 305 can be a wireless interface.
[0078] Figure 4 A block diagram 400 including a UPS 104 is shown. In some embodiments, the computer system 102 communicates with the UPS 104 to monitor and manage the UPS 104. As discussed above, the computer system 102 may be directly connected to the UPS 104 through a network and / or through other intervening systems. The computer system 102 may be configured to monitor and control the UPS 104, for example in an IoT environment, transmit commands to be executed by the UPS 104, and receive messages and data from the UPS 104. For example, a message may include a reply message from the UPS 104 when the UPS 104 successfully receives or executes a command transmitted by the computer system 102. The data may include UPS environmental data, for example, information that the computer system 102 uses to monitor the UPS 104 and how to operate the UPS 104. For example, the UPS environmental data may include information such as remaining battery capacity, input power source, power quality, power output, temperature, and other information that may be provided to a user by the UPS.
[0079] In some embodiments, the UPS 104 includes a communication stack 402. The communication stack 402 may include various ports, hardware, software, and protocols that allow the UPS 104 to communicate with external systems. The communication stack 402 may include the above-mentioned reference Figure 2 The external system interface 234 is depicted. For example, a communication stack may include a serial port, a USB port, an Ethernet port, a wireless connection, and / or other suitable ports, and corresponding software and protocols for communicating with the computer system 102.
[0080] In some embodiments, the communication stack receives the command and relays the command to the command processor 404. The command processor 404 may include a general purpose processor as described above. The UPS 104 also includes a local interface 406. The local interface 406 may include the above referenced Figure 2 The user interface 230 described above. The UPS 104 may receive information through the local interface 406 to determine whether to filter commands. The local interface 406 may be used to modify configuration settings to determine whether the UPS 104 filters commands. For example, the local interface may include a switch 408 and the configuration settings may be modified by the switch 408. The user may turn on the filtering by setting the switch 408 to a first position (such as an open position). The switch 408 may be a hardware switch (e.g., a dip switch) or a software switch. In some embodiments, the local interface 406 consists only of the switch 408. In some embodiments, the local interface 406 is not coupled to any network (e.g., a telecommunications network) and external systems. The switch 408 may be configured to be accessed only through the local interface 406, so that malicious users, software, viruses, or commands cannot remotely modify or access the switch settings. In this regard, the switch 408 is an "out-of-band" switch that can only be manipulated by a user who physically exists where the switch 408 is implemented. In some embodiments, switch 408 is a key switch, so that even with physical access to UPS 104, an appropriate key is required to change the setting of switch 408. Other suitable access control methods may be used to prevent unauthorized changes to configuration settings, such as using a username and username-password combination.
[0081] In some embodiments, UPS104 also includes a receive command configuration 410, which UPS104 can use to determine whether the received command is authorized. The receive command configuration 410 is a configuration that can be determined by a user or a developer. In some embodiments, the receive command configuration 410 includes a subset of authorized commands. For example, in some embodiments, UPS104 may not allow a shutdown command and allow all other commands. In some embodiments, UPS104 may not allow a subset of commands that the user considers to be mission-critical and allow all other commands. In some embodiments, the receive command configuration 410 does not have authorized commands. In some embodiments, the receive command configuration 410 authorizes all commands. The command includes UPS proprietary commands, such as self-test, test battery, select path for power from different power sources, turn off power to load, change configuration settings (e.g., acceptable power quality settings). The command also includes a request for information, such as environmental data.
[0082] The receive command configuration 410 allows commands that are correctly encrypted or verified. For example, the receive command configuration 410 can authorize commands received with a verification code and / or commands encrypted using a verification code. The verification code can be a password determined by the user and / or a code found on the UPS 104 so that a user with physical access to the UPS 104 can obtain the code. In some embodiments, the verification code can be requested when the UPS 104 receives a command in a subset of commands that require correct verification. In some embodiments, the UPS 104 can provide a time window within which the user can provide the verification code. In some embodiments, the UPS 104 may not allow commands within a time period after one or more failed attempts to provide the verification code. This time period can be a constant or vary with multiple failures and / or require a local reset.
[0083] Receive command configuration 410 may allow commands based on the interface through which the command is received. For example, receive command configuration 410 may allow commands received through local interface 406 and USB and serial ports but not commands received through Ethernet.
[0084] The receiving command configuration 410 may use a combination of these configurations. For example, the receiving command configuration 410 may allow a first subset of commands and a second subset of commands, and may not allow a third subset of commands, only if the commands are correctly verified. In various embodiments, other suitable combinations and / or configurations may be determined by the user. In some embodiments, the UPS 104 may provide the user with a plurality of predetermined configurations with different security levels to be selected as the receiving command configuration 410. For example, the switch 408 may have a plurality of settings corresponding to the predetermined configurations for each different security level. Alternatively or additionally, each switch setting may correspond to a customized configuration. In some embodiments, the number of switch settings may be configured by the user.
[0085] In some embodiments, UPS104 includes a transmission command configuration 412, which UPS104 can use to determine whether the response generated by UPS104 is authorized to be transmitted. The transmission may include a response, such as an answer to a command and confirmation of the execution of the command. The transmission may also include a report, such as load information and time information. The transmission may be restricted to prevent private information from being reported and / or intercepted by a malicious user. The transmission command configuration 412 may be operated by UPS104 in a manner similar to the reception command configuration 410. In some embodiments, the transmission command configuration 412 allows all transmissions, including responses and reports. In some embodiments, the transmission command configuration 412 allows a subset of transmissions and does not allow a second subset of transmissions. In some embodiments, the transmission command configuration 412 may request a verification code to allow all transmissions or a subset of transmissions. In some embodiments, the transmission command configuration 412 may allow transmissions to a subset of each interface without allowing transmissions to a second subset of each interface. In some embodiments, a combination of these configurations is used.
[0086] Figure 5 An example process 500 is shown, which may be executed on a UPS 104, for example. At step 502, the UPS 104 receives a command from the computer system 102. The command may be received by the communication stack 402 of the UPS 104.
[0087] The communication stack 402 may route the command to the command processor 404 and interpret the command at step 504. A configuration setting may determine whether the command is filtered. When the configuration setting is set to not filter (e.g., the switch 408 is set to the off position or the second position), the command processor 404 allows all commands. When the command interpreter allows all commands, the command processor 404 may route the command directly to the appropriate module executed by the UPS 104.
[0088] When the configuration setting is set to filter commands, the commands are filtered at step 506. In these embodiments, at step 512, the commands are parsed and a subset of the commands is executed by the UPS 104. For example, a subset of commands may be predetermined to be unlimited and always allowable. Unrestricted commands may include commands that are determined not to affect the critical operations of the UPS 104. In some embodiments, unrestricted commands include commands such as requesting data, flashing a light emitting diode (LED) indicator on the UPS 104. In other embodiments, the subset of unrestricted commands does not include any commands. Commands that are considered unrestricted may be determined by the developer. In some embodiments, the UPS 104 may provide the user with a plurality of predetermined subsets with different security levels for being selected as subsets of commands that are unrestricted, restricted (subject to verification control), and restricted (not subject to verification control). The predetermined subset may be selected by setting the switch in different positions, each position corresponding to one of a plurality of predetermined command subsets.
[0089] If the command is screened and determined to be in the subset of restricted commands at step 506, then at step 508, the UPS 104 determines whether the command is authorized based on the received command configuration 410. The screening of commands and the authorization of commands can be combined. For example, non-restricted commands can be considered a subset of commands that are always authorized by the UPS 104.
[0090] If the UPS 104 does not allow the command, then the command is discarded at step 510. A command may be discarded by ignoring the command. For example, in some embodiments, the UPS 104 may record the discarded commands in a file. The UPS 104 may provide the recorded file of discarded commands to the user upon user request and / or at periodic time intervals.
[0091] In some embodiments, the UPS 104 includes an attack detection algorithm. The attack detection algorithm may include viewing recorded discarded commands indicating that the UPS 104 has been attacked by a malicious entity. The indication may include a pattern of commands received, the number of commands received, the frequency of commands received, failed authentication attempts, and / or other marks that the UPS 104 is under attack. For example, the pattern of commands received may include one or more predetermined command sequences, regularity in the cycle of commands received, command sources, and / or other suitable patterns. In some embodiments, when an attack is detected, the attack detection algorithm notifies the user of a suspected attack. In some embodiments, when an attack is detected, the attack detection algorithm changes the receive command configuration 410. When the UPS 104 determines that it has been attacked, the attack detection algorithm may change the receive command configuration 410 to not allow any commands. Alternatively or additionally, the attack detection algorithm may change the receive command configuration 410 to a configuration that depends on different security levels based on the perceived threat and / or current configuration settings. In some embodiments, the attack detection algorithm may restore the receive command configuration 410 to the original settings based on determining that the attack has ended. In some embodiments, the attack detection algorithm may restore the received command configuration 410 to the original settings after a predetermined period of time. In some embodiments, a local reset may be required. The local reset may include entering a password and / or verification code at the local interface 406. The local reset may include resetting switches or configuration settings and / or other suitable access control methods. If the UPS 104 allows the command, the command is executed at step 512.
[0092] Process 500 is particularly advantageous for end users when the user can access and modify receive command configuration 410 because the end user can control which commands are restricted. However, in some examples, the user may not be able to access receive command configuration 410, such as when UPS 104 is implemented in an Internet of Things (IoT) environment.
[0093] The IoT environment includes multiple inter-networked devices that can communicate with each other directly or indirectly through a network to optimize the behavior of the IoT devices. In some embodiments, it may be advantageous to implement at least one of the IoT devices as a constrained device. A constrained device is a simple, low-complexity device that is connected to a higher-complexity device within the IoT environment. The higher-complexity device controls the constrained device and performs computationally intensive tasks on behalf of the constrained device, which provides several advantages, such as those described in co-pending U.S. Patent Application No. 15 / 622,478, which is incorporated herein by reference in its entirety. Unconstrained devices (such as devices that perform a considerable portion of high-complexity and low-complexity tasks locally) also benefit from implementation in an IoT environment.
[0094] Although the IoT environment provides many advantages, it may be necessary for end users who utilize IoT devices to give some control of the IoT devices to other devices in the IoT environment. For example, the end user may not be able to control the receiving command configuration 410 because it is under the control of a higher complexity device that controls the IoT device. The end user is generally unable to access the higher complexity device, which may be located away from the IoT device. In many cases, the end user may not even know who owns and / or controls the higher complexity device. Another problem is that in the case where the IoT device is a constrained device, the constrained device can be designed with such minimal precision that it does not include a user interface through which the end user can modify the advanced settings on the constrained device. Each of the aforementioned scenarios is problematic for some end users because they do not have full control over the operation of the IoT device, whether the device is constrained or unconstrained. Similar problems also occur when the device is not an IoT device but, for example, a device connected to a local area network (LAN).
[0095] Therefore, it would be advantageous to provide a local configuration setting to the device that is pre-configured to disallow all received commands when the configuration setting is activated, without requiring modification of the receive command configuration 410. In this regard, the end user has greater control over the commands being executed by the device. The end user can allow or disallow all commands without having to consider which commands are restricted or unrestricted because all commands are automatically classified as restricted.
[0096] Configuration settings can be designed to be easy for users to initiate without having to interact with a complex user interface. For example, in a device implemented as such as the one referenced above Figure 2 In the case of the UPS 104 described, the UPS may include a simple switch corresponding to the configuration settings. In a first switch position, the UPS allows all commands received from the external device. In a second switch position, the UPS does not allow all commands. The UPS may be delivered to the end user pre-configured to allow all commands or not allow any commands depending on the state of the switch, and there is no need to manipulate a command configuration such as the received command configuration 410 to determine which commands are allowed and which commands are not allowed.
[0097] Figure 7 A process 700 is shown that may be performed, for example, on a UPS 104. At step 702, the UPS 104 receives a command from a computer system 102. The command may be received by a communication stack 402 of the UPS 104. The communication stack 402 may route the command to a command processor 404, where the command is interpreted at step 704. Configuration settings may determine whether the command is filtered at step 706.
[0098] When the configuration setting is set to not filter (e.g., when switch 408 is set to the off position or the second position), command processor 404 allows all commands from the remote device to be received and executed. When command processor 404 allows all commands (706 No), command processor 404 can route the command directly to the appropriate module for execution by UPS 104, and the command is executed at step 710.
[0099] When the configuration setting is set to filter (e.g., when the switch 408 is set to the on position or the first position), the command processor 404 does not allow all commands. When the command processor 404 does not allow all commands (706 is), the command processor 404 can discard all commands at step 708 without executing them. A command can be discarded by ignoring the command. For example, in some embodiments, the UPS 104 can record the discarded commands in a file. The UPS 104 can provide the user with the recorded file of discarded commands at the user's request and / or at periodic time intervals.
[0100] In any of the foregoing examples, the UPS 104 may generate responses to the commands and other data reports, such as environmental data. Figure 6 An example process 600 is shown that may be performed, for example, on a UPS 104. At step 602, the UPS 104 may generate a report. The report may include environmental information, such as information related to the load and power provided by the UPS 104. The report is filtered at step 604. The UPS 104 may determine whether the response is authorized based on the transmission command configuration 412. In some embodiments, for example, if an attack is detected, the transmission command configuration 412 may change the security level of the corresponding receive command configuration 410.
[0101] If the transmission is allowed, the response is relayed to the communication stack 402 of the UPS 104 at step 606, and the communication stack 402 transmits the response to the computer system 102. If the transmission is not allowed, the transmission is discarded at step 608. The discarded transmission can be ignored or logged to a file such as in memory or on physical memory storage. The discarded transmission can also be used by the attack detection algorithm to determine indications of an attack by a malicious entity.
[0102] Although the system is described with respect to users and developers, the steps described as being performed by a user may be processed by a developer, and vice versa. In some embodiments, a user and a developer may be considered the same entity.
[0103] System 102 includes a storage mechanism as a part of memory 302 or other storage, which includes a computer-readable and writable non-volatile recording medium in which signals are stored, wherein the stored signals define a program executed by a processor or information stored on or in the medium to be processed by the program. For example, the medium can be a disk, flash memory, EEPROM, RAM, etc. In operation, the processor causes data to be read from the non-volatile recording medium to another memory that allows the processor to access information faster than the medium. This memory is generally a volatile random access memory, such as a dynamic random access memory (DRAM) or a static memory (SRAM). The memory can be located in a storage system or memory system 302.
[0104] The processor 301 typically manipulates the data in the memory and then copies the data to the medium after the processing is completed. Various mechanisms for managing data transfer between the medium and the memory element are known, and the various embodiments are not limited to these mechanisms. It should be understood that the embodiments are not limited to a specific memory system or storage system.
[0105] The computer system may include specially programmed dedicated hardware, such as an application specific integrated circuit (ASIC). Embodiments may be implemented in software, hardware, or firmware, or any combination thereof. In addition, such methods, actions, systems, system elements, and components thereof may be implemented as part of the computer system described above or as independent components.
[0106] Although computer system 102 is shown by way of example as one type of computer system on which various embodiments may be practiced, it should be understood that the various aspects are not limited to those of the computer system 102. Figure 3 The various aspects can be implemented on the computer system shown. Figure 3 The illustrated embodiments are implemented on one or more computers having different architectures or components.
[0107] System 102 can be a general-purpose computer system programmed using a high-level computer programming language. System 102 can also be implemented using specially programmed, dedicated hardware. In computer system 102, processor 301 is typically a commercially available processor, such as the well-known Pentium series processor available from Intel Corporation. Many other processors are available. Such processors typically execute an operating system, for example, an operating system can be a Windows NT, Windows 2000 (Windows ME) or Windows XP operating system obtained from Microsoft Corporation, a MACOS system X obtained from Apple Inc., a Solaris operating system obtained from Sun Microsystems, Linux or UNIX obtained from various sources. Many other operating systems can be used.
[0108] The processor and the operating system together define a computer platform, and applications written in a high-level programming language are applied to the computer platform. It should be understood that the embodiments are not limited to a specific computer system platform, processor, operating system or network. Moreover, it should be clear to those skilled in the art that the embodiments are not limited to a specific programming language or computer system. In addition, it should be recognized that other suitable programming languages and other suitable computer systems may also be used.
[0109] It should be understood that the embodiments are not limited to executing on any particular system or group of systems. It should also be understood that the embodiments are not limited to any particular distributed architecture, network or communication protocol.
[0110] Various embodiments can be programmed using object-oriented programming languages such as SmallTalk, Java, C++, Ada, or C# (C-Sharp). Other object-oriented programming languages can also be used. Alternatively, functions, scripts, and / or logic programming languages can be used. Each aspect can be implemented with programming elements or non-programming elements or any combination thereof.
[0111] According to some embodiments, the UPS communicates with the management entity using a direct link (such as a serial communication cable or a USB cable), or is provided with a network management card (NMC) as mentioned herein, an interface card, or other device that communicates with the device using the native language of the device, and the device uses a network protocol such as HTTP (such as through one or more networks) to convert data to one or more other systems or devices. Ethernet and / or other local area networks can be connected to the UPS directly through an interface or indirectly through an agent such as an NMC or other device.
[0112] Products such as UPS and other devices can communicate with other devices over an Ethernet-based network by one of two methods. First, an interface card (e.g., NMC) communicates with a UPS or other device using the native language of the UPS or other device, converts the data into client-friendly terms and vocabulary, and then communicates with one or more other devices (e.g., clients) over an Ethernet-based network using one of many protocols such as HTTP, Telnet, SNMP, and others. The client that interprets the converted data can be a person using a web browser or an application programmed to implement a process in response to the conditional status of the UPS or other device. The interface card can also be integrated with a controller of the UPS. Another way to form a connection includes a software application installed in a computer that is connected to the UPS or other device via a serial connection, converts the data of the UPS or other device into client-friendly terms, and makes the data available to other devices via an Ethernet-based network connection.
[0113] Having thus described several aspects of at least one embodiment of the present invention, it will be appreciated that various changes, modifications and improvements will readily occur to those skilled in the art. Such changes, modifications and improvements are intended to be a part of this disclosure and are intended to be within the spirit and scope of the present invention. Therefore, the foregoing description is merely by way of example.
Claims
1. A computer readable medium having stored thereon a sequence of computer executable instructions for controlling power of a network device, the sequence of computer executable instructions comprising instructions for instructing at least one processor to: receiving commands from an external entity at the uninterruptible power supply; detecting a position of a switch, the switch having a first position corresponding to a screening mode and a second position corresponding to a non-screening mode, wherein The switch is included in a local user interface of the uninterruptible power supply; In response to detecting the position of the switch, identifying that the received command is a disallowed command; and In response to identifying the disallowed command, the disallowed command is ignored and not executed.
2. The computer-readable medium of claim 1, wherein: The at least one processor is also configured with a configuration setting responsive to detecting a position of a hardware switch on the uninterruptible power supply.
3. The computer-readable medium of claim 1, wherein: The at least one processor is also configured with a configuration setting by setting a logical position of a software switch accessible through the uninterruptible power supply.
4. The computer-readable medium of claim 1, wherein: The at least one processor is further configured to, in response to identifying that the received command is an enable command, execute the enable command.
5. The computer-readable medium of claim 1, wherein: The at least one processor is further configured to: storing the received command; and The stored commands are analyzed to identify attacks on the uninterruptible power supply.
6. The computer-readable medium of claim 5, wherein: Analyzing the stored commands includes at least one of detecting a pattern in the stored commands and receiving at least a threshold number of unauthorized commands.
7. An uninterruptible power supply (UPS), comprising: an input terminal configured to receive input power; a backup input terminal configured to receive backup power from a backup power source; an output terminal configured to provide output power from at least one of the input power and the backup power; a local user interface, the local user interface comprising a switch; a controller coupled to the input, the alternate input, the output, and the local user interface, the controller being configured to: receiving commands from external entities; detecting a position of the switch; in response to detecting the position of the switch, identifying the command as a disallowed command; In response to identifying the disallowed command, ignoring the disallowed command and not executing the disallowed command; and In response to identifying that the command is an enable command, executing the enable command.
8. The uninterruptible power supply according to claim 7, wherein: The switch is a hardware switch coupled to the controller.
9. The uninterruptible power supply according to claim 7, wherein: The switch is a software switch.
10. The uninterruptible power supply according to claim 7, wherein: The switch is an out-of-band switch.
11. The uninterruptible power supply according to claim 7, wherein: The uninterruptible power supply is configured to communicate with at least one remote device via a network.
12. The uninterruptible power supply according to claim 7, wherein: At least one of the commands is a close command.
13. The uninterruptible power supply according to claim 7, wherein: At least one of the commands changes an output power characteristic of the uninterruptible power supply.
14. The uninterruptible power supply according to claim 7, wherein: At least one of the commands changes one or more configuration settings of the uninterruptible power supply.
15. The uninterruptible power supply according to claim 7, wherein the controller is further configured to: storing the command; and The stored commands are analyzed to identify attacks on the uninterruptible power supply.
16. The uninterruptible power supply of claim 15, wherein: Analyzing the stored commands includes at least one of detecting a pattern in the stored commands and receiving at least a threshold number of unauthorized commands.
