CN105703921A - A device and method for remotely controlling a server by using a mobile phone short message - Google Patents
A device and method for remotely controlling a server by using a mobile phone short message Download PDFInfo
- Publication number
- CN105703921A CN105703921A CN201410678088.2A CN201410678088A CN105703921A CN 105703921 A CN105703921 A CN 105703921A CN 201410678088 A CN201410678088 A CN 201410678088A CN 105703921 A CN105703921 A CN 105703921A
- Authority
- CN
- China
- Prior art keywords
- short message
- mobile phone
- server
- control
- modem
- 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
- 238000000034 method Methods 0.000 title claims abstract description 12
- 238000010295 mobile communication Methods 0.000 claims abstract description 17
- 238000012544 monitoring process Methods 0.000 claims abstract description 10
- 241000876446 Lanthanotidae Species 0.000 claims description 2
- 238000012423 maintenance Methods 0.000 abstract description 8
- 238000012545 processing Methods 0.000 abstract description 6
- 238000012795 verification Methods 0.000 description 4
- 238000013475 authorization Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Telephonic Communication Services (AREA)
Abstract
Description
技术领域 technical field
本发明涉及一种利用手机短信远程控制服务器的装置。 The invention relates to a device for remotely controlling a server by using a mobile phone short message.
背景技术 Background technique
远程运行的服务器在长时间高负荷运行时,很容易导致系统工作不正常,出现系统死机、停机、进程停止等现象。发生这种情况,通常只需简单地重启服务器或重启应用服务就可以恢复正常工作。由于服务器不在本地,或者机房管理人员暂时无法到达现场服务,出现的问题得不到及时处理,必将严重影响服务质量,如果是特别重要的关键服务,还可能造成巨大的经济损失。 When the server running remotely runs under high load for a long time, it is easy to cause the system to work abnormally, and the system crashes, shuts down, and the process stops. When this happens, usually a simple restart of the server or restart of the application service will restore normal operation. Since the server is not in the local area, or the management personnel of the computer room cannot reach the on-site service temporarily, the problems that arise cannot be dealt with in time, which will seriously affect the service quality, and if it is a particularly important key service, it may also cause huge economic losses.
目前,远程控制计算机的方法及其系统主要是“计算机对计算机”的模式,对一台远程的计算机进行控制,存在的问题有:(1)如果在户外,身边没有可用的计算机和网络,就无法实现对远程计算机进行操作。(2)从制造成本和方便性来看,难以进行大规模的实际应用。(3)无法实现对多台计算机的批量控制操作。(4)没有对相关信息进行授权验证,安全性低。(5)对计算机的控制操作功能单一。 At present, the method and system of remote computer control are mainly "computer-to-computer" mode, to control a remote computer, the existing problems are as follows: (1) if there is no available computer and network around you, Unable to operate the remote computer. (2) From the perspective of manufacturing cost and convenience, it is difficult to carry out large-scale practical application. (3) Batch control operations on multiple computers cannot be realized. (4) There is no authorization verification for relevant information, and the security is low. (5) The control operation function of the computer is single.
发明内容 Contents of the invention
本发明的目的是提供一种操作简单、安全性高、方便快捷的利用手机短信远程控制服务器的装置。 The object of the present invention is to provide a device for remotely controlling a server by using short messages of a mobile phone, which is simple in operation, high in safety, and convenient.
本发明的另一个目的是一种利用手机短信远程控制服务器的方法。 Another object of the present invention is a method for remotely controlling a server by using a mobile phone short message.
本发明技术方案如下:一种利用手机短信远程控制服务器的装置,包括管理员手机、移动通信网络、局域网,所述局域网由短信猫、控制服务器、应用服务器组成,所述短信猫连接到控制服务器上,所述短信猫通过移动通信网络与管理员手机相连,管理员手机用于发送控制指令短信经移动通信网络和短信猫到控制服务器。 The technical scheme of the present invention is as follows: a device for remotely controlling a server by using short messages on a mobile phone, including an administrator's mobile phone, a mobile communication network, and a local area network. The local area network is composed of a short message modem, a control server, and an application server. Above, the short message modem is connected with the administrator's mobile phone through the mobile communication network, and the administrator's mobile phone is used to send the control instruction short message to the control server through the mobile communication network and the short message modem.
控制服务器是局域网中安装短信收发器、监控触发器和指令处理程序的服务器,用于接收管理员手机发出的控制指令短信,根据控制指令内容调用不同的指令处理程序,并向管理员手机返回含有执行结果的短信。指令处理程序用于执行不同的操作指令,并返回执行结果。使用普通手机作为控制端,利用手机短信作为控制指令的载体。 The control server is a server installed with SMS transceivers, monitoring triggers and command processing programs in the local area network. It is used to receive the control command text messages sent by the administrator's mobile phone, call different command processing programs according to the content of the control commands, and return information to the administrator's mobile phone. SMS of execution result. Instruction handlers are used to execute different operation instructions and return execution results. Use ordinary mobile phones as the control terminal, and use mobile phone text messages as the carrier of control commands.
短信收发器包括短信猫和短信收发系统,短信猫通过串口或USB口与控制服务器连接。应用服务器是提供各种应用服务如WEB、数据库、DNS的服务器。机房管理员通过手机发送含有控制指令的短信到短信收发器,监控触发器监测到有新的控制短信时,验证发送短信的手机号码和控制指令的合法性,两者都验证通过后根据控制指令的内容调用不同的指令处理程序完成对被控应用服务器的控制操作,如服务器的关闭、重启、远程唤醒等;各种常见的应用服务如数据库系统、WEB服务、DNS服务的启动、重启和关闭等;各种服务器及应用服务的状态查询等。 The short message transceiver includes a short message modem and a short message sending and receiving system, and the short message modem is connected with the control server through a serial port or a USB port. The application server is a server that provides various application services such as WEB, database, and DNS. The administrator of the computer room sends a text message containing a control command to the text message transceiver through a mobile phone. When the monitoring trigger detects a new control text message, it verifies the validity of the mobile phone number and the control command that sent the text message. The content calls different instruction processing programs to complete the control operations on the controlled application server, such as server shutdown, restart, remote wakeup, etc.; various common application services such as database system, WEB service, DNS service startup, restart and shutdown etc.; various server and application service status queries, etc.
用权利要求1的装置进行远程控制服务器的方法,包括如下步骤: The method for remotely controlling the server with the device of claim 1, comprising the steps of:
A.在短信收发系统上设置授权手机号码和控制指令格式; A. Set the authorized mobile phone number and control instruction format on the SMS sending and receiving system;
B.管理员用手机发送含有控制指令的短信; B. The administrator uses a mobile phone to send a text message containing control instructions;
C.短信经过移动通信网络和短信猫,由控制服务器上的短信收发器接收短信; C. The short message is received by the short message transceiver on the control server through the mobile communication network and the short message modem;
D.控制服务器上的监控触发器监测到有新的指令短信; D. The monitoring trigger on the control server detects that there is a new instruction message;
E.监控触发器验证手机号码和指令格式是否合法; E. Monitor the trigger to verify whether the mobile phone number and instruction format are legal;
F.监控触发器调用指令处理应用程序执行指令; F. Monitoring triggers call instructions to process application program execution instructions;
G.根据指令处理程序返回的结果判断执行是否成功; G. Judging whether the execution is successful or not according to the result returned by the instruction processing program;
H.自动向短信收发器插入一条提示执行成功的短信; H. Automatically insert a short message prompting successful execution into the short message transceiver;
I.短信收发器通过短信猫和移动通信网络将新插入的短信发送到对应管理员的手机。 I. The short message transceiver sends the newly inserted short message to the mobile phone of the corresponding administrator through the short message modem and the mobile communication network.
手机目前已经成为生活的必需品,短信由于其廉价和方便的特性,使用更加频繁。短信猫成本低廉,安装简便,操作简单,是一种快速的手机短信远程控制解决方案。利用本发明装置,机房管理员无需到现场即可实现远程维护服务器。一旦发现服务器或应用系统出现故障,只需用手机发一条短信就可以处理故障,大大缩减故障响应时间,减少维护工作量,提升服务质量,提高设备的可靠度与安全度,实现对服务器的“零等待维护服务”,为机房的管理工作带来极大的方便。本发明适用于深夜、节假日和异地、偏远等条件下的无人职守的机房维护管理;操作方便而且可以批量控制多台服务器。 Mobile phones have become a necessity of life at present, and text messages are used more frequently due to their cheapness and convenience. SMS modem is low in cost, easy to install, and easy to operate. It is a fast mobile phone SMS remote control solution. With the device of the invention, the administrator of the computer room can maintain the server remotely without going to the site. Once a server or application system fails, you only need to send a text message with your mobile phone to deal with the failure, which greatly reduces the failure response time, reduces the maintenance workload, improves service quality, improves the reliability and security of the equipment, and realizes " Zero-wait maintenance service" brings great convenience to the management of the computer room. The invention is suitable for maintenance and management of unattended computer rooms under conditions such as late night, holidays, remote places, etc.; it is easy to operate and can control multiple servers in batches.
本发明的有益效果:Beneficial effects of the present invention:
1.对于出差在外的机房管理员,在没有电脑和互联网络的情况下,可以利用手机对需要紧急维护的服务器远程维护,保证关键应用系统持续稳定运行,方便快捷,工作效率高。由于使用的是通用的SMS短信服务,无需特制手机或对手机进行改造,因此成本较低。 1. For computer room administrators who are away on business trips, without a computer or the Internet, they can use their mobile phones to remotely maintain servers that need urgent maintenance, so as to ensure the continuous and stable operation of key application systems, which is convenient, fast, and efficient. Because of the use of common SMS text messaging service, no special mobile phone or modification of the mobile phone is required, so the cost is low.
2.手机号码授权和指令格式双重验证。对发出短信指令的手机号码进行合法性验证,只有通过验证的手机发出的操作指令才有效;对指令进行格式验证,只有严格符合格式要求的指令才有效。防止恶意操作和误操作,增强了被控制服务器系统的安全性。 2. Double verification of mobile phone number authorization and instruction format. Verify the legitimacy of the mobile phone number that sends the SMS command, and only the operation command sent by the verified mobile phone is valid; the format of the command is verified, and only the command that strictly meets the format requirements is valid. Prevent malicious operations and misoperations, and enhance the security of the controlled server system.
3.日志自动记录功能。自动记录发送控制指令的手机号码和短信内容,跟踪服务器的运行状态和操作历史,便于掌握服务器的性能。 3. Log automatic recording function. Automatically record the mobile phone number and SMS content that sent the control command, track the running status and operation history of the server, and easily grasp the performance of the server.
4.可以设置多个手机号码,适用于大型数据中心服务器的管理维护。 4. Multiple mobile phone numbers can be set, which is suitable for the management and maintenance of large data center servers.
5.扩展性好,绝大部分利用指令来控制计算机的操作都能通过本发明来实现,只需按要求在指令处理程序中加入相应的指令即可。 5. Good expansibility, most of the operations of using instructions to control the computer can be realized by the present invention, only need to add corresponding instructions in the instruction processing program as required.
附图说明 Description of drawings
图1为一种利用手机短信远程控制服务器的装置的结构示意图; Fig. 1 is a kind of structural representation of the device that utilizes mobile phone short message to remotely control server;
图2为一种利用手机短信远程控制服务器的方法的流程图。 Fig. 2 is a flow chart of a method for remotely controlling a server by using a mobile phone short message.
具体实施方式 detailed description
下面的实施例可以进一步说明本发明,但不以任何方式限制本发明。 The following examples further illustrate the invention, but do not limit it in any way.
如图1所示,利用手机短信远程控制服务器的装置,它包括手机1、移动通信网络2、局域网6,局域网6由短信猫3、控制服务器4、应用服务器5组成,短信猫3连接到控制服务器4上,短信猫3通过移动通信网络2与管理员手机1相连,管理员手机用于发送控制指令短信经移动通信网络和短信猫到控制服务器。 As shown in Figure 1, the device for remotely controlling the server by short message on a mobile phone includes a mobile phone 1, a mobile communication network 2, and a local area network 6. The local area network 6 is composed of a short message modem 3, a control server 4, and an application server 5. On the server 4, the SMS modem 3 is connected to the administrator's mobile phone 1 through the mobile communication network 2, and the administrator's mobile phone is used to send a control command short message to the control server through the mobile communication network and the SMS modem.
管理员手机1是能收发短信的普通手机,无需安装任何专门软件;移动通信网络2是指GSM、GPRS、EDGE或CDMA无线数据通讯网络的任意一种或组合;短信猫3连接到控制服务器4,是一种工业级GSMMODEM,通过串口与计算机连接,可以通过AT指令控制进行短信收发的设备;短信收发系统安装在控制服务器4上,其采用北京诺亚迅达科技有限公司的短信平台,是一套短信管理系统,可以进行二次开发;控制服务器4还安装有监控触发器和指令处理程序;应用服务器5是被控服务器,为客户提供各种应用服务;若干台应用服务器和一台控制服务器组成局域网6。 The administrator’s mobile phone 1 is an ordinary mobile phone that can send and receive short messages without installing any special software; the mobile communication network 2 refers to any one or combination of GSM, GPRS, EDGE or CDMA wireless data communication networks; the SMS Modem 3 is connected to the control server 4 , is an industrial-grade GSMMODEM, which is connected to a computer through a serial port and can be controlled by AT commands to send and receive short messages; the short message sending and receiving system is installed on the control server 4, which uses the short message platform of Beijing Noah Schindler Technology Co., Ltd. A set of SMS management system can be used for secondary development; the control server 4 is also equipped with monitoring triggers and command processing programs; the application server 5 is the controlled server and provides various application services for customers; several application servers and a control server The servers form a local area network 6 .
如图2所示,本装置的控制方法如下: As shown in Figure 2, the control method of the device is as follows:
步骤100.在短信收发系统上设置授权手机号码和控制指令格式; Step 100. Set authorized mobile phone number and control instruction format on the short message sending and receiving system;
步骤101.管理员用手机1发送含有控制指令的短信; Step 101. The administrator uses the mobile phone 1 to send a short message containing control instructions;
步骤102.短信经过移动通信网络2和短信猫3,由控制服务器4上的短信收发器接收短信; Step 102. short message is received short message by the short message transceiver on the control server 4 through mobile communication network 2 and short message modem 3;
步骤103.控制服务器4上的监控触发器监测到有新的指令短信; Step 103. The monitoring trigger on the control server 4 detects that there is a new instruction message;
步骤104.监控触发器验证手机号码和指令格式是否合法;是,转到步骤105,否,转到步骤109; Step 104. Whether the mobile phone number and the instruction format of the monitoring trigger verification are legal; yes, go to step 105, no, go to step 109;
步骤105.监控触发器调用指令处理应用程序执行指令; Step 105. monitor trigger call instruction processing application execution instruction;
步骤106.根据指令处理程序返回的结果判断执行是否成功,是,转到步骤107,否,转到步骤110; Step 106. Judging whether the execution is successful according to the result returned by the instruction processing program, if yes, go to step 107, if no, go to step 110;
步骤107.自动向短信收发器插入一条提示执行成功的短信; Step 107. Automatically insert a short message prompting successful execution to the short message transceiver;
步骤108.短信收发器通过短信猫3和移动通信网络2将新插入的短信发送到对应管理员的手机1; Step 108. The short message transceiver sends the newly inserted short message to the mobile phone 1 of the corresponding administrator through the short message modem 3 and the mobile communication network 2;
步骤109.自动向短信收发器插入一条验证失败的短信; Step 109. Automatically insert a text message of verification failure to the text message transceiver;
步骤110.自动向短信收发器插入一条提示执行失败的短信; Step 110. automatically inserting a short note that prompts execution failure to the short message transceiver;
步骤111.结束。 Step 111. End.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410678088.2A CN105703921A (en) | 2014-11-24 | 2014-11-24 | A device and method for remotely controlling a server by using a mobile phone short message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410678088.2A CN105703921A (en) | 2014-11-24 | 2014-11-24 | A device and method for remotely controlling a server by using a mobile phone short message |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105703921A true CN105703921A (en) | 2016-06-22 |
Family
ID=56941591
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410678088.2A Pending CN105703921A (en) | 2014-11-24 | 2014-11-24 | A device and method for remotely controlling a server by using a mobile phone short message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105703921A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106792595A (en) * | 2017-02-27 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of remote emergency management system and realize remote emergency management control method |
CN108337651A (en) * | 2018-03-21 | 2018-07-27 | 中国铁路西安局集团有限公司 | The method, apparatus of mobile terminal and the server communication in LAN |
CN108366052A (en) * | 2018-01-29 | 2018-08-03 | 深圳壹账通智能科技有限公司 | Verify the processing method and system of short message |
CN109413594A (en) * | 2017-08-15 | 2019-03-01 | 北京国电智深控制技术有限公司 | A kind of production real-time information management method and system |
CN111314106A (en) * | 2019-12-16 | 2020-06-19 | 上海邸客网络科技有限公司 | Server remote management method under local area network |
CN111405600A (en) * | 2020-03-20 | 2020-07-10 | 北京以萨技术股份有限公司 | Intranet server monitoring system, method and medium based on short message cat |
CN115134766A (en) * | 2022-05-18 | 2022-09-30 | 北京华融兴霁电子科技开发有限公司 | Short message-based machine room safety management method, system, medium and equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101018145A (en) * | 2006-02-07 | 2007-08-15 | 腾讯科技(深圳)有限公司 | A device and method for remote management |
CN101404804A (en) * | 2008-11-05 | 2009-04-08 | 中国移动通信集团江苏有限公司 | Remote management method based on short message service system running state |
US20100304717A1 (en) * | 2009-06-01 | 2010-12-02 | Jay Bhatt | Direct sms message delivery over broadband data networks through an sms-c |
CN102694871A (en) * | 2012-06-21 | 2012-09-26 | 甘肃省科学技术情报研究所 | Device and method for remote monitoring and fault handling of server based on mobile phone short message |
CN204231379U (en) * | 2014-11-24 | 2015-03-25 | 甘肃省科学技术情报研究所 | A device for remotely controlling a server by using a mobile phone short message |
-
2014
- 2014-11-24 CN CN201410678088.2A patent/CN105703921A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101018145A (en) * | 2006-02-07 | 2007-08-15 | 腾讯科技(深圳)有限公司 | A device and method for remote management |
CN101404804A (en) * | 2008-11-05 | 2009-04-08 | 中国移动通信集团江苏有限公司 | Remote management method based on short message service system running state |
US20100304717A1 (en) * | 2009-06-01 | 2010-12-02 | Jay Bhatt | Direct sms message delivery over broadband data networks through an sms-c |
CN102694871A (en) * | 2012-06-21 | 2012-09-26 | 甘肃省科学技术情报研究所 | Device and method for remote monitoring and fault handling of server based on mobile phone short message |
CN204231379U (en) * | 2014-11-24 | 2015-03-25 | 甘肃省科学技术情报研究所 | A device for remotely controlling a server by using a mobile phone short message |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106792595A (en) * | 2017-02-27 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of remote emergency management system and realize remote emergency management control method |
CN109413594A (en) * | 2017-08-15 | 2019-03-01 | 北京国电智深控制技术有限公司 | A kind of production real-time information management method and system |
CN109413594B (en) * | 2017-08-15 | 2021-08-06 | 北京国电智深控制技术有限公司 | Production real-time information management method and system |
CN108366052A (en) * | 2018-01-29 | 2018-08-03 | 深圳壹账通智能科技有限公司 | Verify the processing method and system of short message |
CN108337651A (en) * | 2018-03-21 | 2018-07-27 | 中国铁路西安局集团有限公司 | The method, apparatus of mobile terminal and the server communication in LAN |
CN111314106A (en) * | 2019-12-16 | 2020-06-19 | 上海邸客网络科技有限公司 | Server remote management method under local area network |
CN111405600A (en) * | 2020-03-20 | 2020-07-10 | 北京以萨技术股份有限公司 | Intranet server monitoring system, method and medium based on short message cat |
CN115134766A (en) * | 2022-05-18 | 2022-09-30 | 北京华融兴霁电子科技开发有限公司 | Short message-based machine room safety management method, system, medium and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105703921A (en) | A device and method for remotely controlling a server by using a mobile phone short message | |
CN102821084B (en) | Method for identifying open platform, open platform and open system | |
CN100471135C (en) | Device, system and method for realizing service distribution and synchronization | |
CN101227329B (en) | System, apparatus and method for managing network device | |
CN102694871A (en) | Device and method for remote monitoring and fault handling of server based on mobile phone short message | |
CN100466541C (en) | Business network tracking system and tracking method | |
CN101388903A (en) | Mobile enterprise IT standardization management platform | |
CN102420869A (en) | A cloud data center security monitoring method | |
CN103166773A (en) | Method and system for monitoring server running status | |
CN102932326A (en) | Safety cloud computing system | |
CN100403697C (en) | Network Management Method | |
CN104168126B (en) | A kind of unattended intelligent device self-maintenance management system and method | |
CN105791206A (en) | Local area network service acquiring method and device | |
CN102833118B (en) | Remote maintenance system and method | |
CN107423620B (en) | Storage server service process management method and device | |
CN101404804B (en) | A remote management method based on the operating status of the SMS service system | |
CN104753774B (en) | A kind of distributed enterprise comprehensive access gate | |
KR101233934B1 (en) | Integrated Intelligent Security Management System and Method | |
CN103297515A (en) | Mobile office system | |
CN108011870B (en) | A kind of remote software online upgrading information automatic identification management method | |
CN103916254A (en) | Analysis method and system for dynamic authentication behavior | |
CN106161592B (en) | A kind of method and device realizing remote command and executing | |
CN204231379U (en) | A device for remotely controlling a server by using a mobile phone short message | |
CN103473634A (en) | Digital audio-video library maintenance monitoring method | |
CN102075568A (en) | A method of key project engineering archives management based on SaaS mode |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160622 |