CN103780411A - Power-down protection system and method for network auditing device - Google Patents
Power-down protection system and method for network auditing device Download PDFInfo
- Publication number
- CN103780411A CN103780411A CN201210401196.6A CN201210401196A CN103780411A CN 103780411 A CN103780411 A CN 103780411A CN 201210401196 A CN201210401196 A CN 201210401196A CN 103780411 A CN103780411 A CN 103780411A
- Authority
- CN
- China
- Prior art keywords
- unit
- power
- audit device
- network audit
- network
- 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
Links
Images
Landscapes
- Power Sources (AREA)
Abstract
The invention relates to a power-down protection system and method for a network auditing device, wherein the power-down protection system for the network auditing device includes a network auditing device, a switch connected with the network auditing device and an internal-network terminal user connected with the switch. The network auditing device includes a connection unit, a detection unit, a judgment unit, a control unit, a power-off unit and a power-supply unit. The connection unit is used for capturing a data packet of a network exit. The detection unit is used is used for detecting the data packet and analyzing and restoring the data packet and generating detection data. The judgment unit is connected with the detection unit and used for judging whether power-down happens to a mains supply according to the detection data. The control unit is connected with the judgment unit and used for controlling the power-off unit according to the judgment result. Through use of the power-down protection system and method for the network auditing device, when the judgment unit judges that power-down happens to the mains supply, the control unit controls the power-off unit to start a power-off program so as to power off the network auditing device normally and thus software and hardware of the network auditing device can be protected better.
Description
Technical field
The present invention relates to a kind of power down protection system, more particularly, relate to a kind of network audit device power down protection system and method.
Background technology
At present, most of network audit device does not have power down protection measure, and device power supply (DPS) is directly received utility grid; after civil power power down or client directly close the total lock of power supply, network audit device can abnormal shutdown, often;, there is equipment fault in the file system corruption that is easy to cause network audit device.Secondly, detect after power down, network audit device can not automatic shutdown, need to shut down manually, to the software and hardware protection of equipment not.
Summary of the invention
The technical problem to be solved in the present invention is, for the defect that cannot automatically close network audit device when the civil power power down of prior art, provides a kind of network audit device power down protection system and method that solves above defect.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of network audit device power down protection system, the switch that comprises network audit device, be connected with described network audit device, with the Intranet terminal use that described switch is connected, described network audit device comprises linkage unit, detecting unit, judging unit, control unit, shutdown unit, power subsystem;
Described linkage unit is connected with described switch by data wire, catches the packet of the network egress of switch;
Described detecting unit is connected with described linkage unit, for detection of packet, and resolves this packet generation of reduction and detects data;
Described judging unit is connected with described detecting unit, for judging according to these detection data whether civil power power down occurs;
Described control unit is connected with described judging unit, for shutdown unit being controlled according to judged result;
Described shutdown unit is connected with described control unit, for network audit device being carried out to shutdown action according to the control command of control unit;
Described power subsystem is connected with described linkage unit, detecting unit, judging unit, control unit, shutdown unit respectively, is the power supply of each unit.
In network audit device power down protection system of the present invention, described judging unit comprises the first judging unit and the second judging unit; Described the first judging unit is connected with described detecting unit, for judging whether the detection data that receive are 0; Described the second judging unit is connected with described the first judging unit, for judging whether the duration that the first judging unit judged result is 0 exceed Preset Time, if so, civil power power down is described, if not, not power down of civil power is described.
In network audit device power down protection system of the present invention, described power subsystem is ups power, and described ups power connects civil power.
In network audit device power down protection system of the present invention, described network audit device also comprises the setting unit being connected with described control unit, and described setting unit is used for arranging Preset Time.
In network audit device power down protection system of the present invention, described Preset Time is 1 minute.
The present invention also constructs a kind of network audit device power-off protection method, uses above-mentioned network audit device power down protection system, comprises the following steps:
S1, network audit device are connected with switch by linkage unit, catch the packet of the network egress of switch;
The detecting unit of S2, network audit device detects the packet sending from linkage unit, and resolves reduction generation and detect data;
The judging unit of S3, network audit device receives the detection data that send from detecting unit, and judges according to these detection data whether civil power power down occurs, and if so, performs step S4; If not, perform step S2;
Shutdown action is carried out in the control unit control shutdown unit of S4, network audit device.
In network audit device power-off protection method of the present invention, judging unit further comprises the first judging unit and the second judging unit, and step S3 further comprises:
S31, the first judging unit receive the detection data that send from detecting unit, and judge whether the detection data that receive are 0, if so, perform step S32; If not, perform step S2;
S32, the second judging unit judge whether the duration that the first judging unit judged result is 0 exceed Preset Time, if so, civil power power down are described, execution step S4; If not, not power down of civil power is described, execution step S2.
At network audit device power-off protection method of the present invention, further comprising the steps of before described step S1:
S0, by the setting unit of network audit unit, Preset Time is set.
At network audit device power-off protection method of the present invention, described Preset Time is 1 minute.
Implement network audit device power down protection system of the present invention and method; there is following beneficial effect: in the time that the judging unit of network audit device determines civil power power down; control unit control shutdown unit starting shutdown programm carries out normal shutdown to network audit equipment, the better software and hardware of protecting network audit device.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the structural representation of the first preferred embodiment of network audit device power down protection system of the present invention;
Fig. 2 is the structural representation of the second preferred embodiment of network audit device power down protection system of the present invention;
Fig. 3 is the flow chart of the first preferred embodiment of network audit device power-off protection method of the present invention;
Fig. 4 is the flow chart of the second preferred embodiment of network audit device power-off protection method of the present invention.
Embodiment
In order to make object of the present invention clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1; in the structural representation of the first preferred embodiment of network audit device power down protection system of the present invention; the switch 2 that comprises network audit device 1, be connected with network audit device 1, the Intranet terminal use 3 who is connected with switch 2, network audit device 1 comprises linkage unit 10, detecting unit 20, judging unit 30, control unit 40, shutdown unit 50, power subsystem 60.Linkage unit 10 is connected with switch 2 by data wire, catches the packet of the network egress of switch 2; Detecting unit 20 is connected with linkage unit 10, for detection of packet, and resolves this packet generation of reduction and detects data; Judging unit 30 is connected with detecting unit 20, for judging according to these detection data whether civil power power down occurs; Control unit 40 is connected with judging unit 30, for shutdown unit 50 being controlled according to judged result; Shutdown unit 50 is connected with control unit 40, for network audit device 1 being carried out to shutdown action according to the control command of control unit 40; Power subsystem 60 is connected with linkage unit 10, detecting unit 20, judging unit 30, control unit 40, shutdown unit 50 respectively, is the power supply of each unit.
In the time of specific works, network audit equipment connects switch by linkage unit 10, catch the network egress packet of switch 2, by detecting unit, the packet of catching is resolved to these packet production testing data of reduction again, judge whether power down of civil power by judging unit according to these detection data again, if power down, shutdown action is carried out in control unit control shutdown unit, and network audit equipment is carried out to normal shutdown.In the time of civil power power down, Intranet terminal use and switch all can power down, therefore between Intranet terminal use and switch, there is no data interaction, and the packet that network audit device is caught is 0.Because network audit device adopts ups power as power supply; therefore the in the situation that of civil power power down; network audit device is not power down immediately also; it can also normally be worked; in the time that the judging unit of network audit device determines civil power power down; control unit control shutdown unit starting shutdown programm carries out normal shutdown to network audit equipment, the better software and hardware of protecting network audit device.
As shown in Figure 2; in the structural representation of the first preferred embodiment of network audit device power down protection system of the present invention; the switch 2 that comprises network audit device 1, be connected with network audit device 1, the Intranet terminal use 3 who is connected with switch 2, network audit device 1 comprises linkage unit 10, detecting unit 20, judging unit 30, control unit 40, shutdown unit 50, power subsystem 60.Linkage unit 10 is connected with switch 2 by data wire, catches the packet of the network egress of switch 2; Detecting unit 20 is connected with linkage unit 10, for detection of packet, and resolves this packet generation of reduction and detects data; Judging unit 30 is connected with detecting unit 20, for judging according to these detection data whether civil power power down occurs; Control unit 40 is connected with judging unit 30, for shutdown unit 50 being controlled according to judged result; Shutdown unit 50 is connected with control unit 40, for network audit device 1 being carried out to shutdown action according to the control command of control unit 40; Power subsystem 60 is connected with linkage unit 10, detecting unit 20, judging unit 30, control unit 40, shutdown unit 50 respectively, is the power supply of each unit.
Further, judging unit 30 comprises the first judging unit 31 and the second judging unit 32; The first judging unit 31 is connected with detecting unit 20, for judging whether the detection data that receive are 0; The second judging unit 32 is connected with the first judging unit 31, for judging whether the duration that the first judging unit 31 judged results are 0 exceed Preset Time, if so, civil power power down is described, if not, not power down of civil power is described.
Further, power subsystem 60 is ups powers, and ups power connects civil power.
Further, network audit device 1 also comprises the setting unit 70 being connected with control unit 40, and setting unit 70 is for arranging Preset Time.Preset Time normally 1 minute.
In the time of specific works, network audit equipment connects switch by linkage unit 10, catch the network egress packet of switch 2, by detecting unit, the packet of catching is resolved to these packet production testing data of reduction again, judge by the first judging unit whether the detection data that receive are 0 again, if 0, continue to judge by the second judging unit whether detect the duration that data are 0 exceeds Preset Time, if, civil power power down is described, then shutdown action is carried out in control unit control shutdown unit, network audit equipment is carried out to normal shutdown.In the time of civil power power down, Intranet terminal use and switch all can power down, therefore between Intranet terminal use and switch, there is no data interaction, and the packet that network audit device is caught is 0.Because network audit device adopts ups power as power supply; therefore the in the situation that of civil power power down; network audit device is not power down immediately also; it can also normally be worked; in the time that the judging unit of network audit device determines civil power power down; control unit control shutdown unit starting shutdown programm carries out normal shutdown to network audit equipment, the better software and hardware of protecting network audit device.
As shown in Figure 3, in the flow chart of the first preferred embodiment of network audit device power-off protection method of the present invention, comprise the following steps:
S1, network audit device 1 are connected with switch 2 by linkage unit 10, catch the packet of the network egress of switch 2;
The detecting unit 20 of S2, network audit device 1 detects the packet sending from linkage unit 10, and resolves reduction generation and detect data;
The judging unit 30 of S3, network audit device 1 receives the detection data that send from detecting unit, and judges according to these detection data whether civil power power down occurs, and if so, performs step S4; If not, perform step S2;
The control unit 40 of S4, network audit device 1 is controlled shutdown unit 50 and is carried out shutdown action.
As shown in Figure 4, in the flow chart of the second preferred embodiment of network audit device power-off protection method of the present invention, comprise the following steps:
S1, network audit device 1 are connected with switch 2 by linkage unit 10, catch the packet of the network egress of switch 2;
The detecting unit 20 of S2, network audit device 1 detects the packet sending from linkage unit 10, and resolves reduction generation and detect data;
The judging unit 30 of S3, network audit device 1 receives the detection data that send from detecting unit, and judges according to these detection data whether civil power power down occurs, and if so, performs step S4; If not, perform step S2;
The control unit 40 of S4, network audit device 1 is controlled shutdown unit 50 and is carried out shutdown action.
Further, further comprising the steps of before step S1:
S0, by the setting unit 70 of network audit unit 1, Preset Time is set.Preset Time can arrange according to actual needs, and conventionally arranging is 1 minute.
Further, judging unit 30 further comprises the first judging unit 31 and the second judging unit 32, and step S3 specifically comprises:
S31, the first judging unit 31 receive the detection data that send from detecting unit 20, and judge whether the detection data that receive are 0, if so, perform step S32; If not, perform step S2;
S32, the second judging unit 32 judge whether the duration that the first judging unit 31 judged results are 0 exceed Preset Time, if so, civil power power down are described, execution step S4; If not, not power down of civil power is described, execution step S2.
Adopt this network audit device power-off protection method, can be 0 and continue, after a Preset Time, automatically to shut down, better the software and hardware of protecting network audit device in detection data at network audit device.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.
Claims (9)
1. a network audit device power down protection system, the switch (2) that comprises network audit device (1), be connected with described network audit device (1), the Intranet terminal use (3) who is connected with described switch (2), it is characterized in that, described network audit device (1) comprises linkage unit (10), detecting unit (20), judging unit (30), control unit (40), shutdown unit (50), power subsystem (60);
Described linkage unit (10) is connected with described switch (2) by data wire, catches the packet of the network egress of switch (2);
Described detecting unit (20) is connected with described linkage unit (10), for detection of packet, and resolves this packet generation of reduction and detects data;
Described judging unit (30) is connected with described detecting unit (20), for judging according to these detection data whether civil power power down occurs;
Described control unit (40) is connected with described judging unit (30), for shutdown unit (50) being controlled according to judged result;
Described shutdown unit (50) is connected with described control unit (40), for network audit device (1) being carried out to shutdown action according to the control command of control unit (40);
Described power subsystem (60) is connected with described linkage unit (10), detecting unit (20), judging unit (30), control unit (40), shutdown unit (50) respectively, is the power supply of each unit.
2. network audit device power down protection system according to claim 1, is characterized in that, described judging unit (30) comprises the first judging unit (31) and the second judging unit (32); Described the first judging unit (31) is connected with described detecting unit (20), for judging whether the detection data that receive are 0; Described the second judging unit is connected with described the first judging unit, for judging whether the duration that the first judging unit judged result is 0 exceed Preset Time, if so, civil power power down is described, if not, not power down of civil power is described.
3. network audit device power down protection system according to claim 2, is characterized in that, described power subsystem (60) is ups power, and described ups power connects civil power.
4. network audit device power down protection system according to claim 3; it is characterized in that; described network audit device (1) also comprises the setting unit (70) being connected with described control unit (40), and described setting unit (70) is for arranging Preset Time.
5. network audit device power down protection system according to claim 4, is characterized in that, described Preset Time is 1 minute.
6. a network audit device power-off protection method, uses the above-mentioned network audit unit protection system of above-mentioned 1-5 any one, it is characterized in that, comprises the following steps:
S1, network audit device (1) are connected with switch (2) by linkage unit (10), catch the packet of the network egress of switch (2);
The detecting unit (20) of S2, network audit device (1) detects the packet sending from linkage unit (10), and resolves reduction generation and detect data;
The judging unit (30) of S3, network audit device (1) receives the detection data that send from detecting unit, and judges according to these detection data whether civil power power down occurs, and if so, performs step S4; If not, perform step S2;
The control unit (40) of S4, network audit device (1) is controlled shutdown unit (50) and is carried out shutdown action.
7. network audit device power-off protection method according to claim 6, is characterized in that, judging unit (30) further comprises the first judging unit (31) and the second judging unit (32), and step S3 further comprises:
S31, the first judging unit (31) receive the detection data that send from detecting unit (20), and judge whether the detection data that receive are 0, if so, perform step S32; If not, perform step S2;
S32, the second judging unit (32) judge whether the duration that the first judging unit (31) judged result is 0 exceed Preset Time, if so, civil power power down are described, execution step S4; If not, not power down of civil power is described, execution step S2.
8. network audit device power-off protection method according to claim 7, is characterized in that, further comprising the steps of before described step S1:
S0, by the setting unit (70) of network audit unit (1), Preset Time is set.
9. network audit device power-off protection method according to claim 8, is characterized in that, described Preset Time is 1 minute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210401196.6A CN103780411A (en) | 2012-10-19 | 2012-10-19 | Power-down protection system and method for network auditing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210401196.6A CN103780411A (en) | 2012-10-19 | 2012-10-19 | Power-down protection system and method for network auditing device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103780411A true CN103780411A (en) | 2014-05-07 |
Family
ID=50572282
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210401196.6A Pending CN103780411A (en) | 2012-10-19 | 2012-10-19 | Power-down protection system and method for network auditing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103780411A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648014A (en) * | 2016-09-09 | 2017-05-10 | 河南许继仪表有限公司 | Server protection method and device based on Ethernet port sensing |
CN111817431A (en) * | 2020-08-12 | 2020-10-23 | 珠海格力电器股份有限公司 | Control method of power supply system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060091865A1 (en) * | 1999-01-12 | 2006-05-04 | Amir Lehr | Power control subsystem for powering a node over communication cabling |
CN101655733A (en) * | 2009-09-08 | 2010-02-24 | 中山冠虹电子有限公司 | Method and device for collocating uninterruptible power supply to enable computer to safely hibernate during power cut |
CN101777785A (en) * | 2010-03-24 | 2010-07-14 | 胡继业 | Uninterrupted power supply (UPS) electricity separating system and electricity separating method based on dynamic environment monitoring |
CN102622074A (en) * | 2012-03-30 | 2012-08-01 | 沧州供电公司 | Power-off protection system for computer |
-
2012
- 2012-10-19 CN CN201210401196.6A patent/CN103780411A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060091865A1 (en) * | 1999-01-12 | 2006-05-04 | Amir Lehr | Power control subsystem for powering a node over communication cabling |
CN101655733A (en) * | 2009-09-08 | 2010-02-24 | 中山冠虹电子有限公司 | Method and device for collocating uninterruptible power supply to enable computer to safely hibernate during power cut |
CN101777785A (en) * | 2010-03-24 | 2010-07-14 | 胡继业 | Uninterrupted power supply (UPS) electricity separating system and electricity separating method based on dynamic environment monitoring |
CN102622074A (en) * | 2012-03-30 | 2012-08-01 | 沧州供电公司 | Power-off protection system for computer |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648014A (en) * | 2016-09-09 | 2017-05-10 | 河南许继仪表有限公司 | Server protection method and device based on Ethernet port sensing |
CN111817431A (en) * | 2020-08-12 | 2020-10-23 | 珠海格力电器股份有限公司 | Control method of power supply system |
CN111817431B (en) * | 2020-08-12 | 2021-10-01 | 珠海格力电器股份有限公司 | Control method of power supply system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102387022B (en) | A kind of POE method and apparatus | |
CN102882267B (en) | Power supply device, electronic equipment and power supply method | |
CN102005777B (en) | Control method and control system for photovoltaic grid-connected inverter | |
CN102566731B (en) | A kind of redundant power backup method and redundant power backup control device | |
CN104698333A (en) | Method and device for detecting and handling load faults of power amplifier | |
BRPI0719285A2 (en) | POWER SUPPLY CONTROL DEVICE | |
CN103777135A (en) | Single particle latch monitoring method and apparatus of FPGA | |
CN110165632A (en) | Power-out reset system applied to electronic equipment | |
DK2771955T3 (en) | SYSTEMS AND METHODS FOR USE IN IDENTIFYING AND REPLYING TYPE OF ERROR EVENT | |
CN105739668A (en) | Power management method and power management system of notebook computers | |
CN203617503U (en) | Smart socket used for plugging router | |
WO2016197856A2 (en) | Method and device for managing active ethernet terminal power source | |
CN106371938A (en) | Automatic intelligent delaying shutdown system and method | |
JP6424699B2 (en) | Communications system | |
CN103780411A (en) | Power-down protection system and method for network auditing device | |
CN107785988A (en) | The online detection and control device and method of ups power | |
CN104333143A (en) | Intelligent feeder terminal device for power distribution network fault detection | |
CN104699215A (en) | Power supply protection system and power supply protection method | |
CN105204486A (en) | Control method for main circulating pump of water-cooling system | |
CN106526498A (en) | Uninterrupted Power Supply (UPS) self-inspection method and UPS self-inspection circuit | |
CN110389643B (en) | Server and remote control method thereof | |
CN104360189B (en) | A kind of grid power blackout event judgment method | |
CN110986190B (en) | Method, device, system and medium for monitoring and analyzing performance of main board of outdoor unit of air conditioner | |
CN102788943A (en) | Automatic sensing method for online monitored data of partial discharge | |
CN105281423A (en) | Intelligent shutdown control system of server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140507 |
|
RJ01 | Rejection of invention patent application after publication |