CN108989058A - A kind of server operation method and device - Google Patents
A kind of server operation method and device Download PDFInfo
- Publication number
- CN108989058A CN108989058A CN201810844788.2A CN201810844788A CN108989058A CN 108989058 A CN108989058 A CN 108989058A CN 201810844788 A CN201810844788 A CN 201810844788A CN 108989058 A CN108989058 A CN 108989058A
- Authority
- CN
- China
- Prior art keywords
- server
- signal
- lock state
- state
- instruction
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/12—Arrangements for remote connection or disconnection of substations or of equipment thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3055—Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Lock And Its Accessories (AREA)
Abstract
The invention discloses a kind of server operation method and device, method includes: when receiving the signal of instruction operation server, and detection is currently directed to the lock state of server;If the lock state for server is first state, if the signal of the instruction operation server then received is generated by operation button, it is then not responding to signal, if the signal of the instruction operation server received is generated by baseboard management control modules, server is operated according to signal.Book server operating method and device, for server, lock state is set, when the lock state for server is first state, then it is not responding to the signal generated by operation button, and server is operated according to the signal that baseboard management control modules generate, so as to avoid the case where occurring key on trigger the server host simultaneously in user's remote operation server and operate server, the safety and reliability to server admin is helped to improve.
Description
Technical field
The present invention relates to server technology fields, more particularly to a kind of server operation method and device.
Background technique
As server performance demand is continuously improved in user, user is also more next to the quantity demand of server computing node
More, a large amount of server centered is placed in remote equipment room or data center by more user's selections.
In the prior art, please refer to shown in Fig. 1, the switching on and shutting down key 10 of server and restart key 11 and default complexity can
Programmed logic device 12 connects, and can trigger default Complex Programmable Logic Devices 12 by the physical button on server host
The relevant operation for carrying out switching on and shutting down or restarting.Meanwhile baseboard management control modules 13 and default Complex Programmable Logic Devices
Realize that power on/off function is connected with the corresponding interface for restarting function, can also be triggered default by baseboard management control modules 13 on 12
Complex Programmable Logic Devices 12 carries out switching on and shutting down or reboot operation, and baseboard management control modules 13 are externally provided with network
Interface, user can be remotely operated by being connected to the network to baseboard management control modules 13, and such user is not necessarily to enter machine
Room, it will be able to long-range switching on and shutting down or reboot operation are carried out to server.
But the program is suffered from the drawback that when user remotely operates server, server is in distant place machine
Room, in fact it could happen that abnormal touching key or malicious operation at computer room scene can have an impact customer service, it is seen that this programme
It is lower to the safety and reliability of server admin.
Summary of the invention
The object of the present invention is to provide a kind of server operation method and device, it can be avoided and remotely operate service in user
The case where occurring key on trigger the server host simultaneously when device and operating server, helps to improve the peace to server admin
Full property and reliability.
To achieve the above object, the invention provides the following technical scheme:
A kind of server operation method, comprising:
When receiving the signal of instruction operation server, detection is currently directed to the lock state of server;
If the lock state for server is first state, if the signal of the instruction operation server received
It is generated by operation button, is then not responding to the signal, if the signal of the instruction operation server received is by substrate management
Control module generates, then is operated according to the signal to server.
Preferably, further includes: if the lock state for server is the second state, if the instruction behaviour received
The signal for making server is generated by operation button, then is operated according to the signal to server, if the finger received
Show that the signal of operation server is generated by baseboard management control modules, then server is operated according to the signal.
Preferably, detection includes: currently the value for detecting Current lock state mark for the lock state of server, if institute
The value for stating lock state mark is the first numerical value, it is determined that the current lock state for server is first state, if described
The value of lock state mark is second value, it is determined that the current lock state for server is the second state.
Preferably, further includes: according to the finger for the instruction disabling physical button operation that the baseboard management control modules are sent
It enables, sets the lock state for server as first state.
A kind of server operation device, comprising:
Detection module, for when receiving the signal of instruction operation server, detection to be currently directed to the locking of server
State;
Operation module, if being first state for the lock state for server, if the instruction behaviour received
The signal for making server is generated by operation button, then is not responding to the signal, if the instruction operation server received
Signal is generated by baseboard management control modules, then is operated according to the signal to server.
Preferably, if the lock state that the operation module is also used to be directed to server is the second state, if receiving
The instruction operation server signal generated by operation button, then server is operated according to the signal, if connecing
Receive the instruction operation server signal generated by baseboard management control modules, then according to the signal to server into
Row operation.
Preferably, it includes: the detection module that the detection module, which is used to detect the current lock state for server,
Specifically for the value of detection Current lock state mark, if the value of lock state mark is the first numerical value, it is determined that current
Lock state for server is first state, if the value of lock state mark is second value, it is determined that current needle
Lock state to server is the second state.
It preferably, further include setting module, the instruction for being sent according to the baseboard management control modules disables physics
The instruction of button operation sets the lock state for server as first state.
Preferably, it is connect with the baseboard management control modules by bidirectional two-line synchronous serial bus.
Preferably, using Complex Programmable Logic Devices.
As shown from the above technical solution, a kind of server operation method and device provided by the present invention refers to receiving
When showing the signal of operation server, detection is currently directed to the lock state of server, if the lock state for server is the
One state is not responding to the signal if the signal of the instruction operation server then received is generated by operation button, if receiving
To instruction operation server signal generated by baseboard management control modules, then server is grasped according to the signal
Make.
Lock state is arranged for server, when the lock state for being directed to server in book server operating method and device
When for first state, be then not responding to the signal generated by operation button, and according to the signal that baseboard management control modules generate come
Operate server, so as to avoid occurring when user remotely operates server simultaneously on trigger the server host key and grasp
The case where making server helps to improve the safety and reliability to server admin.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the scheme schematic diagram for operating server in the prior art;
Fig. 2 is a kind of flow chart of server operation method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart for server operation method that further embodiment of this invention provides;
Fig. 4 is a kind of schematic diagram of server operation device provided in an embodiment of the present invention.
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, below in conjunction with of the invention real
The attached drawing in example is applied, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described implementation
Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common
Technical staff's every other embodiment obtained without making creative work, all should belong to protection of the present invention
Range.
Referring to FIG. 2, the embodiment of the present invention provides a kind of server operation method, comprising the following steps:
S20: when receiving the signal of instruction operation server, detection is currently directed to the lock state of server.
When receiving the signal of instruction operation server, which may be the instruction that baseboard management control modules issue
Operate the signal of server, it is also possible on server host physical button be triggered and the signal that generates.
Lock state for server setting includes first state, if the lock state for server is in the first shape
State shows the signal that currently shield the instruction operation server generated by physical button, and responds and control mould by substrate management
The signal for the instruction operation server that block generates, the signal of the instruction operation server even received are generated by operation button,
It is then not responding to the signal, if the signal of the instruction operation server received is generated by baseboard management control modules, according to institute
Signal is stated to operate server.
In the specific implementation, the settable lock state mark of the lock state of corresponding server, detection is currently for service
The lock state of device includes: the value for detecting Current lock state mark, if the value of lock state mark is the first numerical value,
Determine currently to be first state for the lock state of server.
S21: if the lock state for server is first state, if the instruction operation server received
Signal is generated by operation button, then is not responding to the signal, if the signal of the instruction operation server received is by substrate
Management control module generates, then is operated according to the signal to server.
If the lock state for server is first state, further judge that the instruction received operates server
Signal be to be generated by operation button or generated by baseboard management control modules.If the signal received is by operation button
It generates, then the signal is not responding to, if the signal received is generated by baseboard management control modules, according to the signal
Server is operated.
Therefore, lock state is arranged for server, when for server in server operation method provided in this embodiment
Lock state when being first state, then be not responding to the signal generated by operation button, and produced according to baseboard management control modules
Raw signal operates server, so as to avoid occurring trigger the server host simultaneously when user remotely operates server
Upper key and the case where operate server, help to improve the safety and reliability to server admin.
Referring to FIG. 3, further, the present embodiment server operation method further include:
Step S22: if the lock state for server is the second state, if the instruction operation service received
The signal of device is generated by operation button, then is operated according to the signal to server, if the instruction operation received
The signal of server is generated by baseboard management control modules, then is operated according to the signal to server.
In the present embodiment method, the lock state for server setting further includes the second state, if for server
Lock state is in the second state, shows currently be grasped according to the signal of the instruction operation server generated by physical button
Make server, server can also be operated according to the signal of the instruction operation server generated by baseboard management control modules,
Correspondingly, if the signal for the instruction operation server being currently received is generated by operation button, according to the letter
Number server is operated, if the signal of the instruction operation server received is generated by baseboard management control modules, also together
Sample operates server according to the signal.
In the specific implementation, the settable lock state mark of the lock state of corresponding server, detection is currently for service
The lock state of device includes: the value for detecting Current lock state mark, if the value of lock state mark is the first numerical value,
Determine currently to be first state for the lock state of server, if the value of lock state mark is second value, really
The lock state that server is directed to before settled is the second state.In practical applications, illustratively, settable first numerical value is 1,
Second value is 0.
Further, the present embodiment server operation method further include:
Step S23: according to the instruction for the instruction disabling physical button operation that the baseboard management control modules are sent, setting
Lock state for server is first state.
When user operates server, to the demand for control of server, it can be controlled by substrate management according to currently
Molding block sets the lock state for server, to carry out remote control operation to server, then will be directed to server
Lock state be set as first state, the scene of capable of shielding under this state by operating physical key operates server.
When user completes to remotely operate, the second state can will be set as the lock state of server.
Correspondingly, referring to FIG. 4, the embodiment of the present invention also provides a kind of server operation device, comprising:
Detection module 30, for when receiving the signal of instruction operation server, detection to be currently directed to the lock of server
Determine state;
Operation module 31, if the lock state for for server is first state, if the instruction received
The signal of operation server is generated by operation button, then is not responding to the signal, if the instruction operation server received
Signal generated by baseboard management control modules, then server is operated according to the signal.
Server operation device provided in this embodiment, when receiving the signal of instruction operation server, detection is current
For the lock state of server, if the lock state for server is first state, if the instruction operation clothes received
The signal of business device is generated by operation button, then is not responding to the signal, if the signal of the instruction operation server received is by base
Board management control module generates, then is operated according to the signal to server.
Lock state is arranged for server in book server operating device, when the lock state for server is first
When state, then it is not responding to the signal generated by operation button, and operates clothes according to the signal that baseboard management control modules generate
Be engaged in device, so as to avoid occurring when user remotely operates server simultaneously on trigger the server host key and operate service
The case where device, helps to improve the safety and reliability to server admin.
Specifically, it includes: the detection mould that the detection module 30, which is used to detect the current lock state for server,
Block 30 is specifically used for the value of detection Current lock state mark, if the value of lock state mark is the first numerical value, it is determined that
The current lock state for server is first state.
Further, in the present embodiment server operation device, if the operation module 31 is also used to for server
Lock state is the second state, if the signal of the instruction operation server then received is generated by operation button, basis
The signal operates server, if the signal of the instruction operation server received is by baseboard management control modules
It generates, then server is operated according to the signal.
In the present embodiment device, the lock state for server setting further includes the second state, if for server
Lock state is in the second state, shows currently be grasped according to the signal of the instruction operation server generated by physical button
Make server, server can also be operated according to the signal of the instruction operation server generated by baseboard management control modules,
Correspondingly, if receive instruction operation server signal generated by operation button, according to the signal to server into
Row operation, if the signal of the instruction operation server received is generated by baseboard management control modules, similarly according to the letter
Number server is operated.
Accordingly specifically, the detection module 30 is specifically used for the value of detection Current lock state mark, if the locking
The value of status indicator is the first numerical value, it is determined that the current lock state for server is first state, if the locking shape
The value of state mark is second value, it is determined that the current lock state for server is the second state.
In practical applications, illustratively, settable first numerical value is 1, second value 0.
Further, the present embodiment server operation device further include: setting module, for according to the substrate management control
The instruction for the instruction disabling physical button operation that molding block is sent, sets the lock state for server as first state.
When user operates server, to the demand for control of server, it can be controlled by substrate management according to currently
Molding block sets the lock state for server, to carry out remote control operation to server, then will be directed to server
Lock state be set as first state, the scene of capable of shielding under this state by operating physical key operates server.
When user completes to remotely operate, the second state can will be set as the lock state of server.
In the specific implementation, book server operating device and baseboard management control modules pass through bidirectional two-line synchronous serial
Bus connection.
Optionally, Complex Programmable Logic Devices can be used in book server operating device.
A kind of server operation method and device provided by the present invention is described in detail above.It is used herein
A specific example illustrates the principle and implementation of the invention, and the above embodiments are only used to help understand
Method and its core concept of the invention.It should be pointed out that for those skilled in the art, not departing from this
, can be with several improvements and modifications are made to the present invention under the premise of inventive principle, these improvement and modification also fall into the present invention
In scope of protection of the claims.
Claims (10)
1. a kind of server operation method characterized by comprising
When receiving the signal of instruction operation server, detection is currently directed to the lock state of server;
If the lock state for server is first state, if the signal of the instruction operation server received is by grasping
Make key generation, be then not responding to the signal, if the signal of the instruction operation server received is controlled by substrate management
Module generates, then is operated according to the signal to server.
2. server operation method according to claim 1, which is characterized in that further include: if being directed to the locking of server
State is the second state, if the signal of the instruction operation server then received is generated by operation button, according to
Signal operates server, if the signal of the instruction operation server received is produced by baseboard management control modules
It is raw, then server is operated according to the signal.
3. server operation method according to claim 1 or 2, which is characterized in that detection is currently for server
Lock state includes: the value for detecting Current lock state mark, if the value of lock state mark is the first numerical value, it is determined that
The current lock state for server is first state, if the value of lock state mark is second value, it is determined that when
The preceding lock state for server is the second state.
4. server operation method according to claim 1, which is characterized in that further include: according to the substrate management control
The instruction for the instruction disabling physical button operation that molding block is sent, sets the lock state for server as first state.
5. a kind of server operation device characterized by comprising
Detection module, for when receiving the signal of instruction operation server, detection to be currently directed to the lock state of server;
Operation module, if being first state for the lock state for server, if the instruction operation clothes received
The signal of business device is generated by operation button, then is not responding to the signal, if the signal of the instruction operation server received
It is generated, then server is operated according to the signal by baseboard management control modules.
6. server operation device according to claim 5, which is characterized in that if the operation module is also used to for clothes
The lock state of business device is the second state, if the signal of the instruction operation server then received is generated by operation button,
Then server is operated according to the signal, if the signal of the instruction operation server received is controlled by substrate management
Molding block generates, then is operated according to the signal to server.
7. according to server operation device described in claim 5 or 6, which is characterized in that the detection module is for detecting
The current lock state for server includes: the value that the detection module is specifically used for detection Current lock state mark, if
The value of the lock state mark is the first numerical value, it is determined that the current lock state for server is first state, if institute
The value for stating lock state mark is second value, it is determined that the current lock state for server is the second state.
8. server operation device according to claim 5, which is characterized in that further include setting module, for according to institute
State baseboard management control modules transmission instruction disabling physical button operation instruction, set be directed to server lock state as
First state.
9. server operation device according to claim 5, which is characterized in that pass through with the baseboard management control modules
The connection of bidirectional two-line synchronous serial bus.
10. server operation device according to claim 5, which is characterized in that use Complex Programmable Logic Devices.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810844788.2A CN108989058A (en) | 2018-07-27 | 2018-07-27 | A kind of server operation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810844788.2A CN108989058A (en) | 2018-07-27 | 2018-07-27 | A kind of server operation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108989058A true CN108989058A (en) | 2018-12-11 |
Family
ID=64551751
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810844788.2A Pending CN108989058A (en) | 2018-07-27 | 2018-07-27 | A kind of server operation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108989058A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109600236A (en) * | 2019-01-30 | 2019-04-09 | 郑州云海信息技术有限公司 | A kind of server key control method, server and server system |
WO2021238255A1 (en) * | 2020-05-25 | 2021-12-02 | 苏州浪潮智能科技有限公司 | Uid button resetting method, device, equipment, and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103106178A (en) * | 2011-11-14 | 2013-05-15 | 联想(北京)有限公司 | Operation method and electronic device |
WO2014107196A1 (en) * | 2013-01-04 | 2014-07-10 | Unikey Technologies, Inc. | Wireless access control system and related methods |
CN107645384A (en) * | 2017-08-31 | 2018-01-30 | 郑州云海信息技术有限公司 | A kind of server control method, terminal and system |
CN108170245A (en) * | 2018-01-25 | 2018-06-15 | 郑州云海信息技术有限公司 | Control system, method and the server management system of server physical button operation |
-
2018
- 2018-07-27 CN CN201810844788.2A patent/CN108989058A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103106178A (en) * | 2011-11-14 | 2013-05-15 | 联想(北京)有限公司 | Operation method and electronic device |
WO2014107196A1 (en) * | 2013-01-04 | 2014-07-10 | Unikey Technologies, Inc. | Wireless access control system and related methods |
CN107645384A (en) * | 2017-08-31 | 2018-01-30 | 郑州云海信息技术有限公司 | A kind of server control method, terminal and system |
CN108170245A (en) * | 2018-01-25 | 2018-06-15 | 郑州云海信息技术有限公司 | Control system, method and the server management system of server physical button operation |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109600236A (en) * | 2019-01-30 | 2019-04-09 | 郑州云海信息技术有限公司 | A kind of server key control method, server and server system |
WO2021238255A1 (en) * | 2020-05-25 | 2021-12-02 | 苏州浪潮智能科技有限公司 | Uid button resetting method, device, equipment, and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108170245A (en) | Control system, method and the server management system of server physical button operation | |
CN109391320A (en) | network switch system | |
CN102354261A (en) | Remote control system for power supply switches of machine room servers | |
CN106648857A (en) | Method for starting OTG function of mobile terminal and mobile terminal | |
CN103207655A (en) | Mobile terminal with reset function and reset method | |
CN108989058A (en) | A kind of server operation method and device | |
CN106445182B (en) | Key mouse screen safety switching and isolating method suitable for dual-computer environment | |
CN105306927A (en) | Startup and shutdown impact tester and impact test system and method | |
CN104143066A (en) | Security information exchanging device | |
CN110098965A (en) | A kind of server management system and method | |
CN105048629B (en) | The hard pressing plate anti-misoperation warning system of relay protection | |
JP2014203138A (en) | Electronic device, verification method, and verification program | |
CN110659233A (en) | Serial port information switching device and server | |
CN106547667A (en) | A kind of fault cues method and system of mobile terminal | |
CN105138419A (en) | Set value restoring system | |
CN105426040A (en) | Method and system for rapidly displaying interface contents of mobile terminals | |
CN103135728B (en) | Power supply start-up control method and system thereof | |
CN107145405A (en) | The baseboard management controller of server and its operating method and control circuit | |
CN104038387B (en) | Line detecting method on frame-type switch business board | |
CN103942510A (en) | Wiegand signal reading and converting device | |
CN109002326A (en) | A kind of server operation method and device | |
CN107018032A (en) | A kind of monitoring system server and method | |
CN111143631B (en) | Data processing method and device, storage medium and electronic equipment | |
CN206442448U (en) | One kind is based on many picture monitoring devices of data signal | |
CN103324186A (en) | Automatic test system and control method for remote controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181211 |