CN101895414A - System and method for power off protection of server - Google Patents

System and method for power off protection of server Download PDF

Info

Publication number
CN101895414A
CN101895414A CN 201010210309 CN201010210309A CN101895414A CN 101895414 A CN101895414 A CN 101895414A CN 201010210309 CN201010210309 CN 201010210309 CN 201010210309 A CN201010210309 A CN 201010210309A CN 101895414 A CN101895414 A CN 101895414A
Authority
CN
China
Prior art keywords
server
power
detection means
loss detection
power loss
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 201010210309
Other languages
Chinese (zh)
Inventor
梁德祥
卢鸣
周志明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SUZHOU VOLANS ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
SUZHOU VOLANS ELECTRONIC TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SUZHOU VOLANS ELECTRONIC TECHNOLOGY Co Ltd filed Critical SUZHOU VOLANS ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN 201010210309 priority Critical patent/CN101895414A/en
Publication of CN101895414A publication Critical patent/CN101895414A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The invention discloses a system and a method for power off protection of a server. The system for power off protection of the server comprises a server (1) and a server power off detector (2). The server power off detector (2) can detect the electric supply power off and inform the server (1) of a host machine, which is connected with the detector by means of RS232 communication and provided with host machine software in time. The server (1) of the host machine operates the user appointed demands or programs firstly according to configuration after receiving an electric supply power off message and then is shut down normally within the time set by the user, thereby ensuring the safety of data of the server (1).

Description

The method of server power down protection system and server power down protection
Technical field
The present invention relates to a kind of server power down protection system; be particularly related to a kind of UPS that supports any kind; support the operating system of main flow; timely announcement server after the civil power power down; trigger user configured corresponding actions, thereby guarantee the server power down protection system of the safety of server data.The invention still further relates to the method for server power down protection.
Background technology
Development along with information technology, work station, the application of power consumption equipments such as server and other intelligent instrument more and more widely, and these equipment major parts concentrate in the digital machine room or working environment of controlled environment, just may cause catastrophic loss if power failure takes place this moment.
For ensureing the reliable power supply of equipment such as computer, uninterruptible power system UPS (Uninterruptible Power System) arises at the historic moment, the data of using UPS can guarantee that really computer is being handled are unlikely to lose because of unexpected power failure, yet in unserviced server room, it still is not enough only relying on UPS, because the accumulator electric-quantity of UPS is limited, can only after the civil power power down, keep a period of time, the words that very exhaust and don't take measures when UPS storage battery electricity, server still might be lost significant data because of the power down abnormal shutdown, brings tremendous loss to the user.
Though novel intelligent UPS has possessed the function with computer communication and automatic monitoring; can use UPS monitoring software to monitor the ruuning situation of UPS and supply line at any time by the interface communication circuit; record and prompting power-down conditions, the data when handling power down are automatically preserved and system protection.But these functions are device-dependent often, and the employed software of UPS equipment of different manufacturers different model is not quite similar, under network environment, to realize multiserver monitor simultaneously with self-protection also very the trouble.In addition for the environment that uses old-fashioned UPS also solution well not.
Summary of the invention
Technical problem to be solved by this invention provides a kind of UPS that supports any kind; support the operating system of main flow; timely announcement server after the civil power power down; trigger user configured corresponding actions, thus the server power down protection system of the safety of assurance server data and the method for server power down protection.
For solving above-mentioned technical problem, the technical scheme of server power down protection system of the present invention is: a kind of server power down protection system, comprise server and server power loss detection means, the server power loss detection means is connected with server by the RS232 interface; Described server power loss detection means comprises Psoc SOC (system on a chip), power supply input, anti-circnit NOT and RS232 interface, the power supply input is connected with Psoc SOC (system on a chip), anti-circnit NOT respectively, the Psoc SOC (system on a chip) is connected with anti-circnit NOT, and the RS232 interface is connected with anti-circnit NOT.
Debugging for convenience, described server power loss detection means also is provided with debug port, and described debug port is connected with the Psoc SOC (system on a chip).
Described server power down protection system also comprises from server, is connected with server by the TCP/IP mode from server, is convenient to connect more multiserver.
The operation principle of server power down protection system of the present invention is: the server power loss detection means can detect the civil power power down; and in time notice links to each other by the RS232 communication mode with this checkout equipment and the host server of host software has been installed; after host server is received civil power power down message; can first run user specified command or program, normal shutdown in the time that the user sets then according to configuration.
Host server can also be notified before triggering shutdown and pass through other the continuous servers of TCP/IP mode or the message of work station civil power power down with it.After slave is received civil power power down message, also can first run user specified command or program, normal shutdown in the time of setting then.
The method of server power down protection of the present invention may further comprise the steps:
(1) the UART interface with the server power loss detection means links to each other with the server serial ports by the RS232 connecting line, and the power supply of server power loss detection means is directly linked to each other with the 220V commercial power socket, does not pass through UPS;
(2) server detects and judges whether to be connected with the server power loss detection means, if step (1) is then returned in server and the connection failure of server power loss detection means;
(3) after server and the successful connection of server power loss detection means, then server regularly sends signal to the server power loss detection means, and acceptance response; When in the user-defined time, not being subjected to the response that detection of power loss equipment is sent, then think the civil power power down; At this moment:
If server does not connect other from server:
(4) server is according to first run user specified command of configuration or program;
(5) notify client server power down message then:
(6) last normal shutdown in the time that the user sets;
If server also is connected with from server by the TCP/IP mode:
(7) server sends shutdown request to each from server;
(8) send shutdown request after, notice client server power down message;
(9) in the time that the user sets, shut down;
(11) from server according to configuration first run user specified command or program;
(11) notify the user from server power down message then:
(12) last normal shutdown in the time that the user sets.
Advantage of the present invention is:
1, support mainstream operation system: this system can be used for server and other computer equipment, the operating system of supporting has Windows (Windows 2000/Windows XP/Windows 2003 Server/Windows Vista/Windows 7), Linux (Fedora/Redhat/Ubuntu).
2, support the UPS of any kind.
3, trigger user configured corresponding actions after the power down, thereby guarantee the safety of server data.
4, simple to operation: this system operation is very simple, only needs the parameter of user by network configuration initialization once.
5, system is reliable and practical: adopt technical grade PSOC chip, system's stable and reliable operation.
6, hommization is reminded: through configuration, can give the message of user's send server power down of appointment after the civil power power down, for example Email reminds client server to close.
Description of drawings
The present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Fig. 1 is the structural representation of server power down protection system of the present invention;
Fig. 2 is the schematic diagram of server power loss detection means in the server power down protection system of the present invention.
Embodiment
As shown in Figure 1, the server power down protection system comprises server 1 and server power loss detection means 2, and server power loss detection means 2 is connected with server 1 by the RS232 interface.The server power down protection system also comprises from server 3, is connected with server 1 by the TCP/IP mode from server 3, is convenient to connect more multiserver.
With server 1 that server power loss detection means 2 is connected on the power down protection host software is installed; if have from server 3; then power down protection slave software is being installed from server 3; and guarantee that these can both carry out tcp/ip communication with server 1 from server 3; and any one can with windows-based workstation that host server is communicated by letter on the power down protection configurator is installed, and correctly dispose relevant parameter.
As shown in Figure 2, server power loss detection means 2 comprises Psoc SOC (system on a chip), power supply input, anti-circnit NOT and RS232 interface, the power supply input is connected with Psoc SOC (system on a chip), anti-circnit NOT respectively, and the Psoc SOC (system on a chip) is connected with anti-circnit NOT, and the RS232 interface is connected with anti-circnit NOT.
Debugging for convenience, described server power loss detection means 2 also is provided with debug port, and described debug port is connected with the Psoc SOC (system on a chip).
The method of server power down protection may further comprise the steps:
(1) the UART interface with the server power loss detection means links to each other with the server serial ports by the RS232 connecting line, and the power supply of server power loss detection means is directly linked to each other with the 220V commercial power socket, does not pass through UPS;
(2) server detects and judges whether to be connected with the server power loss detection means, if step (1) is then returned in server and the connection failure of server power loss detection means;
(3) after server and the successful connection of server power loss detection means, then server regularly sends signal to the server power loss detection means, and acceptance response; When in the user-defined time, not being subjected to the response that detection of power loss equipment is sent, then think the civil power power down; At this moment:
If server does not connect other from server:
(4) server is according to first run user specified command of configuration or program;
(5) notify client server power down message then:
(6) last normal shutdown in the time that the user sets;
If server also is connected with from server by the TCP/IP mode:
(7) server sends shutdown request to each from server;
(8) send shutdown request after, notice client server power down message;
(9) in the time that the user sets, shut down;
(10) from server according to configuration first run user specified command or program;
(11) notify the user from server power down message then:
(12) last normal shutdown in the time that the user sets.
The foregoing description does not limit the present invention in any way, and every employing is equal to replaces or technical scheme that the mode of equivalent transformation obtains all drops in protection scope of the present invention.

Claims (4)

1. a server power down protection system comprises server (1), it is characterized in that: described server power down protection system also comprises server power loss detection means (2), and server power loss detection means (2) is connected with server (1) by the RS232 interface; Described server power loss detection means (2) comprises Psoc SOC (system on a chip), power supply input, anti-circnit NOT and RS232 interface, the power supply input is connected with Psoc SOC (system on a chip), anti-circnit NOT respectively, the Psoc SOC (system on a chip) is connected with anti-circnit NOT, and the RS232 interface is connected with anti-circnit NOT.
2. according to the described server power down protection system of claim 1, it is characterized in that: described server power loss detection means (2) also is provided with debug port, and described debug port is connected with the Psoc SOC (system on a chip).
3. according to the described server power down protection system of claim 1, it is characterized in that: described server power down protection system also comprises from server (3), is connected with server (1) by the TCP/IP mode from server (3).
4. the method for a server power down protection is characterized in that may further comprise the steps:
(1) the UART interface with the server power loss detection means links to each other with the server serial ports by the RS232 connecting line, and the power supply of server power loss detection means is directly linked to each other with the 220V commercial power socket, does not pass through UPS;
(2) server detects and judges whether to be connected with the server power loss detection means, if step (1) is then returned in server and the connection failure of server power loss detection means;
(3) after server and the successful connection of server power loss detection means, then server regularly sends signal to the server power loss detection means, and acceptance response; When in the user-defined time, not being subjected to the response that detection of power loss equipment is sent, then think the civil power power down; At this moment:
If server does not connect other from server:
(4) server is according to first run user specified command of configuration or program;
(5) notify client server power down message then:
(6) last normal shutdown in the time that the user sets;
If server also is connected with from server by the TCP/IP mode:
(7) server sends shutdown request to each from server;
(8) send shutdown request after, notice client server power down message;
(9) in the time that the user sets, shut down;
(10) from server according to configuration first run user specified command or program;
(11) notify the user from server power down message then:
(12) last normal shutdown in the time that the user sets.
CN 201010210309 2010-06-24 2010-06-24 System and method for power off protection of server Pending CN101895414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010210309 CN101895414A (en) 2010-06-24 2010-06-24 System and method for power off protection of server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010210309 CN101895414A (en) 2010-06-24 2010-06-24 System and method for power off protection of server

Publications (1)

Publication Number Publication Date
CN101895414A true CN101895414A (en) 2010-11-24

Family

ID=43104492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010210309 Pending CN101895414A (en) 2010-06-24 2010-06-24 System and method for power off protection of server

Country Status (1)

Country Link
CN (1) CN101895414A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999146A (en) * 2012-11-22 2013-03-27 辽宁省电力有限公司电力科学研究院 Low-cost data security system and control method
CN106648014A (en) * 2016-09-09 2017-05-10 河南许继仪表有限公司 Server protection method and device based on Ethernet port sensing
US10317985B2 (en) 2014-01-29 2019-06-11 Hewlett Packard Enterprise Development Lp Shutdown of computing devices
CN112866338A (en) * 2020-12-31 2021-05-28 杭州迪普科技股份有限公司 Server state detection method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003054769A1 (en) * 2001-02-16 2003-07-03 Sun Telecom International, Inc. Wireless data management system
CN101105867A (en) * 2007-05-25 2008-01-16 苏州工业园区国藩科技有限公司 Cabinet security monitoring method and device in modern logistics
CN101227630A (en) * 2008-01-29 2008-07-23 中兴通讯股份有限公司 Method for monitoring application program based on window platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003054769A1 (en) * 2001-02-16 2003-07-03 Sun Telecom International, Inc. Wireless data management system
CN101105867A (en) * 2007-05-25 2008-01-16 苏州工业园区国藩科技有限公司 Cabinet security monitoring method and device in modern logistics
CN101227630A (en) * 2008-01-29 2008-07-23 中兴通讯股份有限公司 Method for monitoring application program based on window platform

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999146A (en) * 2012-11-22 2013-03-27 辽宁省电力有限公司电力科学研究院 Low-cost data security system and control method
US10317985B2 (en) 2014-01-29 2019-06-11 Hewlett Packard Enterprise Development Lp Shutdown of computing devices
CN106648014A (en) * 2016-09-09 2017-05-10 河南许继仪表有限公司 Server protection method and device based on Ethernet port sensing
CN112866338A (en) * 2020-12-31 2021-05-28 杭州迪普科技股份有限公司 Server state detection method and device
CN112866338B (en) * 2020-12-31 2023-03-24 杭州迪普科技股份有限公司 Server state detection method and device

Similar Documents

Publication Publication Date Title
CN103984610A (en) FPGA (Field Programmable Gate Array) based power failure protection system and method
CN111831488B (en) TCMS-MPU control unit with safety level design
CN101895414A (en) System and method for power off protection of server
CN102354261A (en) Remote control system for power supply switches of machine room servers
CN103605596A (en) System and method for collaborative power management of FPGA (field programmable gata array) chip and BMC (baseboard management controller) chip used on ATCA (advanced telecom computing architecture) blade
CN104618501A (en) Wireless monitoring management device of server cluster system
US7045914B2 (en) System and method for automatically providing continuous power supply via standby uninterrupted power supplies
CN202677594U (en) Watt-hour meter collector capable of initiatively reporting incidents
CN104734904A (en) Automatic detection method and system of by-pass equipment
CN110245048A (en) A kind of cabinet intelligent management system and management method
CN111147283B (en) Method and system for re-reporting data after internet of things equipment data reporting failure
CN111712776A (en) Power management for computing and communication systems during power surges and sudden power failure events
CN203630318U (en) Test system for power system switching power supply module
CN211148838U (en) Air conditioner internal unit testing device
CN211402623U (en) Portable testing device for indoor unit and outdoor unit of air conditioner
CN104898509A (en) Industrial control computer monitoring method and system based on secure short message
CN202583765U (en) Equipment room power failure automatic response system
CN114443067B (en) CPLD (complex programmable logic device) file burning system and CPLD file burning method
CN107976933A (en) A kind of server servo-control system and server power-off protection method
CN109932119A (en) A kind of ground wire hitching state monitoring apparatus, ground line and ground line system
CN115291120A (en) Battery metering system, electronic equipment and control method
CN104219012B (en) The EMC test system of transponder transport module and method of testing
CN201414022Y (en) Accumulator charging/discharging control system
CN204989873U (en) Electrical room device is joined in marriage to wisdom
CN211148837U (en) Outer quick-witted testing arrangement of air conditioner

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101124