CN109002326A - A kind of server operation method and device - Google Patents
A kind of server operation method and device Download PDFInfo
- Publication number
- CN109002326A CN109002326A CN201810700248.7A CN201810700248A CN109002326A CN 109002326 A CN109002326 A CN 109002326A CN 201810700248 A CN201810700248 A CN 201810700248A CN 109002326 A CN109002326 A CN 109002326A
- Authority
- CN
- China
- Prior art keywords
- server
- lock state
- value
- signal
- indicate
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2294—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by remote test
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Computer Security & Cryptography (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, server is operated according to the signal for being used to indicate operation server generated by operation button;If the lock state for server is the second state, server is operated according to the signal for being used to indicate operation server generated by baseboard management control modules.Two kinds of lock states are arranged to server, it is corresponding that lock state mark is set separately, the lock state for determining that server is presently in is identified according to Current lock state when receiving the signal of instruction operation server, to operate server according to corresponding indication signal, 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, operation clothes are used to indicate according to what is generated by operation button
The signal of business device operates server;
If the lock state for server is the second state, it is used to refer to according to what is generated by baseboard management control modules
Show that the signal of operation server operates server.
Preferably, detection includes: currently the value for detecting Current lock state mark for the lock state of server;
If the value of the lock state mark is the first numerical value, operation clothes are used to indicate according to what is generated by operation button
The signal of business device operates server;
If the value of the lock state mark is second value, it is used to refer to according to what is generated by baseboard management control modules
Show that the signal of operation server operates server.
Preferably, further includes: be used to indicate disabling physical button operation according to what the baseboard management control modules were sent
Instruction, set the value of lock state mark as second value, according to being used for for baseboard management control modules transmission
It indicates to enable the instruction that physical button operates, sets the value of the lock state mark as the first numerical value.
Preferably, first numerical value is 0, and the second value is 1.
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, according to what is generated by operation button
The signal for being used to indicate operation server operates server, if the lock state for server is the second state,
Server is operated according to the signal for being used to indicate operation server generated by baseboard management control modules.
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 that the operation module is specifically used for lock state mark is the first numerical value, according to by operation button
The signal for being used to indicate operation server generated operates server, if the value of lock state mark is the second number
Value then operates server according to the signal for being used to indicate operation server generated by baseboard management control modules.
Preferably, further include setting module, be used to indicate disabling for what is sent according to the baseboard management control modules
The instruction of physical button operation sets the value of the lock state mark as second value, controls mould according to the substrate management
What block was sent is used to indicate the instruction for enabling physical button operation, sets the value of the lock state mark as the first numerical value.
Preferably, first numerical value is 0, and the second value is 1.
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 then operates server according to the signal for being used to indicate operation server generated by operation button, if being directed to
The lock state of server is the second state, then operates server according to by being used to indicate for baseboard management control modules generation
Signal operates server.
Two kinds of lock states are arranged to server in book server operating method and device, and lock state is set separately in correspondence
Mark is determined according to lock state and is taken according to key trigger action server according further to baseboard management control modules trigger action
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.
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 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, a kind of server operation method provided in an embodiment of the present invention, 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, it may be possible to which baseboard management control modules issue instruction operation service
The signal of device, it is also possible to operate key on server host and the indication signal that generates.
For two kinds of lock states of server settings, if the lock state for server is in first state, show to work as
It is preceding server to be operated according to the signal for being used to indicate operation server generated by operation button, i.e., according to server host
On the triggering of physical button operate server, and shield by baseboard management control modules to the trigger action of server.If
It is in the second state for the lock state of server, shows currently to be used to indicate operation according to what management control module generated
The signal of server operates server, i.e., server is operated according to the triggering of baseboard management control modules, and shields service
The trigger action of key on device host.
In the specific implementation, optionally, detection includes: currently detection Current lock state for the lock state of server
The value of mark.
S21: if the lock state for server is first state, behaviour is used to indicate according to what is generated by operation button
The signal for making server operates server.
In the specific implementation, if the value of lock state mark is the first numerical value, then it represents that currently allow to operate server master
Key operates server on machine, and the trigger action of shielding board management control module, then produces with specific reference to by operation button
The signal of raw instruction operation server operates server.
S22: if the lock state for server is the second state, according to the use generated by baseboard management control modules
Server is operated in the signal of instruction operation server.
In the specific implementation, if the value of lock state mark is second value, then it represents that currently allow management control module
It operates server, and shields the trigger action of key on server host, then produced with specific reference to by baseboard management control modules
The signal of raw instruction operation server operates server.
Illustratively, the first numerical value can be set as 0, second value 1, when the value for detecting lock state mark is 0,
According on server host key generate signal operation server, when detect lock state mark value be 1 when, according to by
The signal that baseboard management control modules generate operates server.
Further, the present embodiment server operation method further include: sent according to the baseboard management control modules
It is used to indicate the instruction of disabling physical button operation, sets the value of the lock state mark as second value, according to the base
What board management control module was sent is used to indicate the instruction for enabling physical button operation, set the value of lock state mark as
First numerical value.
Server operation method 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, according to what is generated by operation button
The signal for being used to indicate operation server operates server, if the lock state for server is the second state,
Server is operated according to the signal for being used to indicate operation server generated by baseboard management control modules.Book server
Two kinds of lock states are arranged to server in operating method, corresponding that lock state mark is set separately, and determine root according to lock state
According to key trigger action server according further to baseboard management control modules trigger action server, so as to avoid in user
The case where occurring key on trigger the server host simultaneously when remotely operating server and operating server, helps to improve to clothes
The safety and reliability of business device management.
Correspondingly, referring to FIG. 3, 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 being first state for the lock state for server, basis is generated by operation button
Be used to indicate operation server signal server is operated, if for server lock state be the second state,
Then server is operated according to the signal for being used to indicate operation server generated by baseboard management control modules.
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, according to what is generated by operation button
The signal for being used to indicate operation server operates server, if the lock state for server is the second state,
Server is operated according to the signal for being used to indicate operation server generated by baseboard management control modules.Book server
Two kinds of lock states are arranged to server in operating device, corresponding that lock state mark is set separately, and determine root according to lock state
According to key trigger action server according further to baseboard management control modules trigger action server, so as to avoid in user
The case where occurring key on trigger the server host simultaneously when remotely operating server and operating server, helps to improve to clothes
The safety and reliability of business device management.
In the present embodiment server operation device, the detection module 30 is used to detect the current locking shape for being directed to server
State includes: the value that the detection module 30 is specifically used for detection Current lock state mark;
If the value that the operation module 31 is specifically used for lock state mark is the first numerical value, basis is pressed by operation
The signal for being used to indicate operation server of key generation operates server, if the value of lock state mark is second
Numerical value then operates server according to the signal for being used to indicate operation server generated by baseboard management control modules.
Further, the present embodiment server operation device further includes setting module, for according to the substrate management control
What molding block was sent is used to indicate the instruction of disabling physical button operation, sets the value of the lock state mark as the second number
Value is used to indicate the instruction for enabling physical button and operating according to what the baseboard management control modules were sent, sets the locking
The value of status indicator is the first numerical value.
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, operation server is used to indicate according to what is generated by operation button
Signal server is operated;
If the lock state for server is the second state, behaviour is used to indicate according to what is generated by baseboard management control modules
The signal for making server operates server.
2. server operation method according to claim 1, which is characterized in that detection is currently directed to the locking shape of server
State includes: to detect the value of Current lock state mark;
If the value of the lock state mark is the first numerical value, operation server is used to indicate according to what is generated by operation button
Signal server is operated;
If the value of the lock state mark is second value, behaviour is used to indicate according to what is generated by baseboard management control modules
The signal for making server operates server.
3. server operation method according to claim 2, which is characterized in that further include: according to the substrate management control
What molding block was sent is used to indicate the instruction of disabling physical button operation, sets the value of the lock state mark as the second number
Value is used to indicate the instruction for enabling physical button and operating according to what the baseboard management control modules were sent, sets the locking
The value of status indicator is the first numerical value.
4. server operation method according to claim 2, which is characterized in that first numerical value is 0, second number
Value is 1.
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 is used for if being first state for the lock state for server according to what is generated by operation button
Indicate that the signal of operation server operates server, if the lock state for server is the second state, basis
Server is operated by the signal for being used to indicate operation server that baseboard management control modules generate.
6. server operation device according to claim 5, which is characterized in that the detection module is for detecting current needle
Lock state to server includes: the value that the detection module is specifically used for detection Current lock state mark;
If the value that the operation module is specifically used for lock state mark is the first numerical value, basis is generated by operation button
Be used to indicate operation server signal server is operated, if the lock state mark value be second value,
Then server is operated according to the signal for being used to indicate operation server generated by baseboard management control modules.
7. server operation device according to claim 6, which is characterized in that further include setting module, for according to institute
The instruction for being used to indicate disabling physical button operation for stating baseboard management control modules transmission sets the lock state mark
Value is second value, is used to indicate the instruction for enabling physical button and operating according to what the baseboard management control modules were sent, if
The value of the fixed lock state mark is the first numerical value.
8. server operation device according to claim 6, which is characterized in that first numerical value is 0, second number
Value is 1.
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 |
---|---|---|---|
CN201810700248.7A CN109002326A (en) | 2018-06-29 | 2018-06-29 | A kind of server operation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810700248.7A CN109002326A (en) | 2018-06-29 | 2018-06-29 | A kind of server operation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109002326A true CN109002326A (en) | 2018-12-14 |
Family
ID=64601725
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810700248.7A Pending CN109002326A (en) | 2018-06-29 | 2018-06-29 | A kind of server operation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109002326A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877640A (en) * | 2009-11-30 | 2010-11-03 | 英业达股份有限公司 | Power control system of server |
CN107645384A (en) * | 2017-08-31 | 2018-01-30 | 郑州云海信息技术有限公司 | A kind of server control method, terminal and system |
CN108170518A (en) * | 2018-01-10 | 2018-06-15 | 联想(北京)有限公司 | Server admin control system and method |
CN108170245A (en) * | 2018-01-25 | 2018-06-15 | 郑州云海信息技术有限公司 | Control system, method and the server management system of server physical button operation |
-
2018
- 2018-06-29 CN CN201810700248.7A patent/CN109002326A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877640A (en) * | 2009-11-30 | 2010-11-03 | 英业达股份有限公司 | Power control system of server |
CN107645384A (en) * | 2017-08-31 | 2018-01-30 | 郑州云海信息技术有限公司 | A kind of server control method, terminal and system |
CN108170518A (en) * | 2018-01-10 | 2018-06-15 | 联想(北京)有限公司 | Server admin control system and method |
CN108170245A (en) * | 2018-01-25 | 2018-06-15 | 郑州云海信息技术有限公司 | Control system, method and the server management system of server physical button operation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108155619B (en) | Protective relaying device multi-core CPU embedded system handles method and platform | |
CN111045901B (en) | Container monitoring method and device, storage medium and electronic equipment | |
CN108170245A (en) | Control system, method and the server management system of server physical button operation | |
CN106528097A (en) | Version synchronization method for two pieces of BIOS (Basic Input/ Output System) firmware, and electronic equipment | |
CN102354261A (en) | Remote control system for power supply switches of machine room servers | |
CN109391320A (en) | network switch system | |
CN105182773A (en) | Data detection system and method for run-up test of aeroengine | |
CN104951421A (en) | Automatic numbering and type recognition method and device for serial bus communication devices | |
CN106648857A (en) | Method for starting OTG function of mobile terminal and mobile terminal | |
WO2012092701A1 (en) | Multi-media intelligent management platform with monitoring and recording capabilities | |
CN108989058A (en) | A kind of server operation method and device | |
CN110098965A (en) | A kind of server management system and method | |
CN104143066A (en) | Security information exchanging device | |
JP2014203138A (en) | Electronic device, verification method, and verification program | |
CN105048629B (en) | The hard pressing plate anti-misoperation warning system of relay protection | |
CN110659233A (en) | Serial port information switching device and server | |
CN105138419A (en) | Set value restoring system | |
CN109002326A (en) | A kind of server operation method and device | |
CN106547667A (en) | A kind of fault cues method and system of mobile terminal | |
CN103135728B (en) | Power supply start-up control method and system thereof | |
CN102541705B (en) | Testing method for computer and tooling plate | |
CN102819253B (en) | 3G (the third generation telecommunication) network based remote dental air circuit diagnosing and monitoring system | |
CN104979906B (en) | The anti-error alarm device of the hard pressing plate of relay protection | |
CN108088046A (en) | Air conditioning equipment, control device and display screen fault processing method | |
CN105468557B (en) | Isolation method for avoiding interference of SMBUS (System management bus) |
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: 20181214 |