CN107645384A - A kind of server control method, terminal and system - Google Patents

A kind of server control method, terminal and system Download PDF

Info

Publication number
CN107645384A
CN107645384A CN201710776397.7A CN201710776397A CN107645384A CN 107645384 A CN107645384 A CN 107645384A CN 201710776397 A CN201710776397 A CN 201710776397A CN 107645384 A CN107645384 A CN 107645384A
Authority
CN
China
Prior art keywords
server
sent
terminal
instruction
bmc
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
CN201710776397.7A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710776397.7A priority Critical patent/CN107645384A/en
Publication of CN107645384A publication Critical patent/CN107645384A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the present application discloses a kind of server control method, terminal and system, and the server control method is applied to main control terminal, and methods described includes:The movable information of the main control terminal is gathered by motion sensor;The movable information and default reference information are contrasted;If the movable information matches with default reference information, corresponding control instruction is sent to controlled terminal by bluetooth module.The scheme provided using the embodiment of the present application, simple to operate, it is convenient to realize.

Description

A kind of server control method, terminal and system
Technical field
The application is related to server technology field, more particularly to a kind of server control method, terminal and system.
Background technology
Server, also referred to as servomechanism, it is to provide the equipment of the service of calculating.The composition of server includes processor, hard disk, interior Deposit, system bus etc., it is similar with general computer architecture, but due to needing to provide highly reliable service, therefore handling Ability, stability, reliability, security, scalability, manageability etc. require higher, are widely used in each row Industry and field.
During the regular maintenance of server and use, switching on and shutting down or to restart be conventional operation to server.To clothes The switching on and shutting down of business device or reboot operation, there is two kinds of conventional methods at present.The first is real by the button on server panel The switching on and shutting down of existing server are restarted;Second is to pass through BMC(Baseboard Management Controller, substrate pipe Manage controller)Realize the switching on and shutting down of server or restart.
Fig. 1 is the frame diagram realized the switching on and shutting down of server by the button on server panel or restarted.It was realized Journey is as follows:First, when operating personnel press the button 101 of server, pulse is produced;Pulse passes through CPLD102(Complex Programmable Logic Device, CPLD)Disappear and PCH103 is issued after trembling(Platform Controller Hub, platform controller).PCH103 realizes the switching on and shutting down of whole server system or reboot operation.But This method needs staff to go to operate at server scene, in addition, when server system occurs wrong, it is necessary to insert Serial Port Line Error message is collected, it is cumbersome.
Fig. 2 is the frame diagram realized the switching on and shutting down of server by BMC or restarted.Its implementation process is as follows:Pass through network Being communicated with BMC201 so that BMC201 receives switching on and shutting down or instruction of restarting, and then BMC201 produces pulse to CPLD202, Pulse is issued PCH203 to realize the switching on and shutting down of whole system or restart by CPLD202.But BMC is needed by network connection, And in order to prevent assault and information security from considering, BMC and public network will not be interconnected, but pass through netting twine and work Computer interconnects.So, staff needs computer room(The place of server repository), server is controlled by computer connected with network cable Switching on and shutting down are restarted, or collection system daily record.So need to place a desktop computer in computer room or need band notebook to go Operation, both waste of resource or be inconvenient to operate.
The content of the invention
A kind of server control method, terminal and system are provided in the embodiment of the present application, to solve to deposit in the prior art Technical problem.
In a first aspect, the embodiment of the present application provides a kind of server control method, applied to main control terminal, methods described Including:
The movable information of the main control terminal is gathered by motion sensor;
The movable information and default reference information are contrasted;
If the movable information matches with default reference information, corresponding control is sent to controlled terminal by bluetooth module System instruction.
Preferably, methods described also includes:
When receiving locking trigger signal, stop sending control instruction to the controlled terminal.
Preferably, methods described also includes:
When receiving log collection trigger signal, log collection is sent to controlled terminal by bluetooth module and instructed;
Receive and store the log information that the controlled terminal is sent.
Preferably, the control instruction includes switching on and shutting down instruction or instruction of restarting.
Second aspect, the embodiment of the present application provide a kind of server control method, applied to controlled terminal, methods described Including:
Receive the control instruction that control terminal is sent;
The control instruction is sent to the baseboard management controller BMC of server so that the BMC controls the server to hold The corresponding control operation of row.
Preferably, the control instruction includes switching on and shutting down instruction or instruction of restarting;
The control instruction is sent to the BMC of server so that the BMC controls the server to perform corresponding control behaviour Make, including:
The switching on and shutting down are instructed or instruction of restarting is sent to the BMC of server so that the BMC controls the server to perform Switching on and shutting down operation or reboot operation.
Preferably, the control instruction instructs including log collection;
The control instruction is sent to the baseboard management controller BMC of server so that the BMC controls the server to hold The corresponding control operation of row, including:
Log collection instruction is sent to the BMC of server so that the BMC controls the server to carry out daily record receipts Collection;
The log information collected is sent to main control terminal by bluetooth module.
The third aspect, the embodiment of the present application provide a kind of main control terminal, including:Motion sensor, micro-control unit MCU And bluetooth module;
The motion sensor, for gathering the movable information of the main control terminal;
The MCU, for the movable information and default reference information to be contrasted, if the movable information with it is default Reference information matches, then sends corresponding control instruction to controlled terminal by bluetooth module.
Preferably, in addition to locking button;
The locking button is used to receive locking trigger signal, and the locking trigger signal is sent to the MCU;
When the MCU receives locking trigger signal, stop sending control instruction to the controlled terminal.
Preferably, in addition to log collection button and memory module;
The log collection button is used to receive log collection trigger signal, and the log collection trigger signal is sent to institute State MCU;
The MCU is used for when receiving log collection trigger signal, and log collection is sent to controlled terminal by bluetooth module Instruction, the log information that the controlled terminal is sent is received, and the log information is stored to memory module.
Fourth aspect, the embodiment of the present application provide a kind of controlled terminal, including:Micro-control unit MCU and bluetooth module;
The MCU is used for the control instruction for receiving control terminal by the bluetooth module and sending;
The control instruction is sent to the baseboard management controller BMC of server so that the BMC controls the server to hold The corresponding control operation of row.
5th aspect, the embodiment of the present application provide a kind of system, including main control terminal described in above-mentioned third party and upper State the controlled terminal described in fourth aspect, the bluetooth module phase in bluetooth module and the controlled terminal in the main control terminal Coupling.
The scheme provided using the embodiment of the present application, simple to operate, it is convenient to realize.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the frame diagram realized the switching on and shutting down of server by the button on server panel or restarted;
Fig. 2 is the frame diagram realized the switching on and shutting down of server by BMC or restarted;
Fig. 3 is a kind of frame diagram for main control terminal that the embodiment of the present application provides;
Fig. 4 is a kind of frame diagram for controlled terminal that the embodiment of the present application provides.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the application, it is real below in conjunction with the application The accompanying drawing in example is applied, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described implementation Example only some embodiments of the present application, rather than whole embodiments.It is common based on the embodiment in the application, this area The every other embodiment that technical staff is obtained under the premise of creative work is not made, it should all belong to the application protection Scope.
Fig. 3 is a kind of frame diagram for main control terminal that the embodiment of the present application provides, as shown in figure 3, the main control terminal bag Include:Bluetooth module, micro-control unit MCU, memory module, log collection button, motion sensor, locking button.Bluetooth module For main control terminal inside and the interface of PERCOM peripheral communication;MCU is the center of main control terminal, handles the signal that each device transmits, and Do respective handling;Storage card can store the log information sent from controlled terminal;Log collection button is used to trigger master control Terminal sends log collection instruction to controlled terminal;Motion sensor is used for the movable information for collecting main control terminal;Locking button For making control module invalid/effective, when locking button receives locking trigger signal, stop sending to the controlled terminal Control instruction.
When locking button is pressed, i.e., control module is in the lock state, and no matter what motion sensor receives Movable information all without triggering respond.Only when no locking button is not pressed, main control terminal could work.If Log collection button is pressed, log collection trigger signal can be produced and issue MCU, MCU can be sent order by bluetooth, finally quilt Control module receives.When needing machine open/close or restarting, motion sensor can send different signals, cause MCU to send not Same instruction is sent to controlled terminal to bluetooth module, then by bluetooth module.
Fig. 4 is a kind of frame diagram for controlled terminal that the embodiment of the present application provides, as shown in figure 4, shown controlled terminal bag Include bluetooth module, micro-control unit MCU and signal connector.Wherein, bluetooth module is responsible for receiving master control end in controlled terminal The control instruction sent is held, MCU processing receives the signal come and does respective handling, and signal connector physically connects controlled terminal In MCU and outside server management module, for example, the BMC of server.
After bluetooth module receives switching on and shutting down instruction/instruction of restarting of main control terminal, MCU, MCU meetings are sent an instruction to The management module of server is sent an instruction to by signal connector(For example, BMC)To realize switching on and shutting down/restart action.When After bluetooth module receives log collection instruction, MCU can say the word the management module of server, daily record is dealt into MCU, MCU exists The bluetooth module of main control terminal is issued by bluetooth module, so that by daily record from received server-side to main control terminal.
Illustrate main control terminal and the operation principle of controlled terminal by taking 2 road servers as an example below.
First, main control terminal is single one piece of board, can be needed to make suitable profile according to user.Such as:It is distant Device, bracelet etc. are controlled, it is user-friendly.And controlled terminal is then placed on mainboard by signal connector.When 2 road servers are in During open state, if user needs to shut down/restart, hold main control terminal and make corresponding action(Such as wave arm), main control terminal In motion sensor can send corresponding signal to MCU, MCU is sent to the bluetooth module of main control terminal by coding, then It is sent on the bluetooth module of server master board.The signal received is decoded by the MCU of controlled terminal, and order is sent out BMC is given, finally realizes the shutdown of system/restart, start principle is identical.If necessary to contact staff's collection system daily record.That Only need by log collection button(Process is similar with switching on and shutting down), interruption is produced, main control terminal receives this interruption, passed through Bluetooth module is sent to the MCU of controlled terminal, and MCU sends an instruction to BMC, and day is aimed to send back main control terminal by MCU; After main control terminal bluetooth module receives, daily record is sent to memory module by MCU(Such as SD card)In.When press locking by Key, main control terminal will forbid MCU to receive and send signal, so as to which main control terminal be pinned.
On the basis of above-described embodiment, present invention also provides a kind of system, the system is included in above-described embodiment Main control terminal and controlled terminal described in bluetooth module in bluetooth module and the controlled terminal in main control terminal be coupled.
On the basis of above-described embodiment, present invention also provides a kind of embodiment of the method, and applied to main control terminal, it is led Comprise the following steps:
Step S101:The movable information of the main control terminal is gathered by motion sensor;
Step S102:The movable information and default reference information are contrasted;
Step S103:If the movable information matches with default reference information, sent out by bluetooth module to controlled terminal Send corresponding control instruction.
Alternatively, methods described also includes:When receiving locking trigger signal, stop sending to the controlled terminal and control System instruction.
Alternatively, methods described also includes:When receiving log collection trigger signal, by bluetooth module to controlled end End sends log collection instruction;Receive and store the log information that the controlled terminal is sent.
Alternatively, the control instruction includes switching on and shutting down instruction or instruction of restarting.
On the basis of above-described embodiment, present invention also provides another embodiment of the method, applied to controlled terminal, its Mainly include the following steps that.
Step S201:Receive the control instruction that control terminal is sent;
Step S202:The control instruction is sent to the baseboard management controller BMC of server so that the BMC controls institute State server and perform corresponding control operation.
Alternatively, the control instruction includes switching on and shutting down instruction or instruction of restarting;The control instruction is sent to service The BMC of device so that the BMC controls the server to perform corresponding control operation, including:The switching on and shutting down are instructed or again Open instruction to send to the BMC of server so that the BMC controls the server to perform switching on and shutting down operation or reboot operation.
Alternatively, the control instruction instructs including log collection;The control instruction is sent to the substrate of server Management Controller BMC so that the BMC controls the server to perform corresponding control operation, including:By the log collection Instruction is sent to the BMC of server so that the BMC controls the server to carry out log collection;By bluetooth module to master Control terminal sends the log information collected.
It is required that those skilled in the art can be understood that the technology in the embodiment of the present application can add by software The mode of general hardware platform realize.Based on such understanding, the technical scheme in the embodiment of the present application substantially or Say that the part to be contributed to prior art can be embodied in the form of software product, the computer software product can be deposited Storage is in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are causing a computer equipment(Can be with It is personal computer, server, or network equipment etc.)Perform some part institutes of each embodiment of the application or embodiment The method stated.
In this specification between each embodiment identical similar part mutually referring to.Implement especially for terminal For example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring in embodiment of the method Explanation.
Above-described the application embodiment does not form the restriction to the application protection domain.

Claims (12)

1. a kind of server control method, applied to main control terminal, it is characterised in that methods described includes:
The movable information of the main control terminal is gathered by motion sensor;
The movable information and default reference information are contrasted;
If the movable information matches with default reference information, corresponding control is sent to controlled terminal by bluetooth module System instruction.
2. according to the method for claim 1, it is characterised in that methods described also includes:
When receiving locking trigger signal, stop sending control instruction to the controlled terminal.
3. according to the method for claim 1, it is characterised in that methods described also includes:
When receiving log collection trigger signal, log collection is sent to controlled terminal by bluetooth module and instructed;
Receive and store the log information that the controlled terminal is sent.
4. according to the method for claim 1, it is characterised in that the control instruction includes switching on and shutting down and instructs or restart finger Order.
5. a kind of server control method, applied to controlled terminal, it is characterised in that methods described includes:
Receive the control instruction that control terminal is sent;
The control instruction is sent to the baseboard management controller BMC of server so that the BMC controls the server to hold The corresponding control operation of row.
6. according to the method for claim 5, it is characterised in that the control instruction includes switching on and shutting down and instructs or restart finger Order;
The control instruction is sent to the BMC of server so that the BMC controls the server to perform corresponding control behaviour Make, including:
The switching on and shutting down are instructed or instruction of restarting is sent to the BMC of server so that the BMC controls the server to perform Switching on and shutting down operation or reboot operation.
7. according to the method for claim 6, it is characterised in that the control instruction instructs including log collection;
The control instruction is sent to the baseboard management controller BMC of server so that the BMC controls the server to hold The corresponding control operation of row, including:
Log collection instruction is sent to the BMC of server so that the BMC controls the server to carry out daily record receipts Collection;
The log information collected is sent to main control terminal by bluetooth module.
A kind of 8. main control terminal, it is characterised in that including:Motion sensor, micro-control unit MCU and bluetooth module;
The motion sensor, for gathering the movable information of the main control terminal;
The MCU, for the movable information and default reference information to be contrasted, if the movable information with it is default Reference information matches, then sends corresponding control instruction to controlled terminal by bluetooth module.
9. main control terminal according to claim 8, it is characterised in that also including locking button;
The locking button is used to receive locking trigger signal, and the locking trigger signal is sent to the MCU;
When the MCU receives locking trigger signal, stop sending control instruction to the controlled terminal.
10. main control terminal according to claim 8, it is characterised in that also including log collection button and memory module;
The log collection button is used to receive log collection trigger signal, and the log collection trigger signal is sent to institute State MCU;
The MCU is used for when receiving log collection trigger signal, and log collection is sent to controlled terminal by bluetooth module Instruction, the log information that the controlled terminal is sent is received, and the log information is stored to memory module.
A kind of 11. controlled terminal, it is characterised in that including:Micro-control unit MCU and bluetooth module;
The MCU is used for the control instruction for receiving control terminal by the bluetooth module and sending;
The control instruction is sent to the baseboard management controller BMC of server so that the BMC controls the server to hold The corresponding control operation of row.
12. a kind of system, it is characterised in that including the main control terminal described in claim any one of 8-10 and claim 11 institute The controlled terminal stated, the bluetooth module in bluetooth module and the controlled terminal in the main control terminal are coupled.
CN201710776397.7A 2017-08-31 2017-08-31 A kind of server control method, terminal and system Pending CN107645384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710776397.7A CN107645384A (en) 2017-08-31 2017-08-31 A kind of server control method, terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710776397.7A CN107645384A (en) 2017-08-31 2017-08-31 A kind of server control method, terminal and system

Publications (1)

Publication Number Publication Date
CN107645384A true CN107645384A (en) 2018-01-30

Family

ID=61110133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710776397.7A Pending CN107645384A (en) 2017-08-31 2017-08-31 A kind of server control method, terminal and system

Country Status (1)

Country Link
CN (1) CN107645384A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989058A (en) * 2018-07-27 2018-12-11 郑州云海信息技术有限公司 A kind of server operation method and device
CN109002326A (en) * 2018-06-29 2018-12-14 郑州云海信息技术有限公司 A kind of server operation method and device
CN109600236A (en) * 2019-01-30 2019-04-09 郑州云海信息技术有限公司 A kind of server key control method, server and server system
CN111031520A (en) * 2019-12-13 2020-04-17 浪潮商用机器有限公司 Monitoring and managing device for substrate management controller

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815518A (en) * 2005-02-05 2006-08-09 联想(北京)有限公司 Method and system for long-distance controlling device
CN101089773A (en) * 2006-06-16 2007-12-19 苏州宇达电通有限公司 System and method for controlling computer opening or closing
CN103034139A (en) * 2012-12-04 2013-04-10 深圳Tcl新技术有限公司 Method and system for long-distance intelligent remote controlling
US20130283099A1 (en) * 2012-04-23 2013-10-24 Hon Hai Precision Industry Co., Ltd. System and method for tesing stability of server
CN103412629A (en) * 2013-08-21 2013-11-27 天脉聚源(北京)传媒科技有限公司 Method, device and system for remote startup and shutdown
CN105022629A (en) * 2015-06-29 2015-11-04 浪潮电子信息产业股份有限公司 Startup control method and apparatus and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815518A (en) * 2005-02-05 2006-08-09 联想(北京)有限公司 Method and system for long-distance controlling device
CN101089773A (en) * 2006-06-16 2007-12-19 苏州宇达电通有限公司 System and method for controlling computer opening or closing
US20130283099A1 (en) * 2012-04-23 2013-10-24 Hon Hai Precision Industry Co., Ltd. System and method for tesing stability of server
CN103034139A (en) * 2012-12-04 2013-04-10 深圳Tcl新技术有限公司 Method and system for long-distance intelligent remote controlling
CN103412629A (en) * 2013-08-21 2013-11-27 天脉聚源(北京)传媒科技有限公司 Method, device and system for remote startup and shutdown
CN105022629A (en) * 2015-06-29 2015-11-04 浪潮电子信息产业股份有限公司 Startup control method and apparatus and server

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109002326A (en) * 2018-06-29 2018-12-14 郑州云海信息技术有限公司 A kind of server operation method and device
CN108989058A (en) * 2018-07-27 2018-12-11 郑州云海信息技术有限公司 A kind of server operation method and device
CN109600236A (en) * 2019-01-30 2019-04-09 郑州云海信息技术有限公司 A kind of server key control method, server and server system
CN111031520A (en) * 2019-12-13 2020-04-17 浪潮商用机器有限公司 Monitoring and managing device for substrate management controller

Similar Documents

Publication Publication Date Title
CN107645384A (en) A kind of server control method, terminal and system
JP5102901B2 (en) Method and system for maintaining data integrity between multiple data servers across a data center
EP3218793B1 (en) Non-disruptive controller replacement in a cross-cluster redundancy configuration
CN102521072B (en) Virtual tape library equipment and data recovery method
CN105144105A (en) System and method for a scalable crash-consistent snapshot operation
US20140142963A1 (en) System and Method for Providing Patient Care
US7937716B2 (en) Managing collections of appliances
CN106716378A (en) Safe data access following storage failure
CN105683896A (en) Sharing a virtual hard disk across multiple virtual machines
US20090063650A1 (en) Managing Collections of Appliances
TW200703022A (en) Internet SCSI communication via UNDI services
US11706080B2 (en) Providing dynamic serviceability for software-defined data centers
CN104023246B (en) A kind of video data private cloud storage system and video data private cloud storage method
CN108259243A (en) Data processing method, terminal and computer storage media based on micro services Technical Architecture
CN103473328A (en) MYSQL (my structured query language)-based database cloud and construction method for same
WO2011120329A1 (en) Computer and method to realize the coupling between computers
CN106777394A (en) A kind of cluster file system
CN102110029A (en) System backup and restoration method
CN109240606A (en) Internet of things data analysis system
CN101616023A (en) A kind of method of cluster being implemented monitoring by note
CN110134541A (en) Switching method, system, equipment and the storage medium of the configuration information of storage cluster
JP3862011B2 (en) Fault tolerant computer and its disk management mechanism and disk management program
CN111475334A (en) TiDB database maintenance method and device, computer equipment and storage medium
CN106657360A (en) Synchronization method and system for NIS servers under Linux system
US20050188251A1 (en) Restricting the execution of copy services commands

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

Application publication date: 20180130

RJ01 Rejection of invention patent application after publication