CN102088357A - Verification method for remote startup or wakeup through PS/2 interface - Google Patents
Verification method for remote startup or wakeup through PS/2 interface Download PDFInfo
- Publication number
- CN102088357A CN102088357A CN2009102385864A CN200910238586A CN102088357A CN 102088357 A CN102088357 A CN 102088357A CN 2009102385864 A CN2009102385864 A CN 2009102385864A CN 200910238586 A CN200910238586 A CN 200910238586A CN 102088357 A CN102088357 A CN 102088357A
- Authority
- CN
- China
- Prior art keywords
- interface
- computer
- wake
- waking
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
本发明公开了一种通过PS/2接口远程开机或唤醒的验证方法,其中,当PS/2接口支持电话呼叫信号来开机或唤醒计算机时,如果PS/2接口收到来电呼叫信号且所述来电呼叫信号的来电号码属于允许启动开机或唤醒的分组内的号码,则进行开机或唤醒移动终端的操作;当PS/2接口支持短消息信号来开机或唤醒移动终端时,如果PS/2接口收到短消息信号且所述短消息的来电号码属于允许启动开机或唤醒的分组内的号码,则进行开机或唤醒计算机的操作。按照本发明所述方法,可以实现通过PS/2接口的安全可靠的远程开机或唤醒操作。
The invention discloses a verification method for remotely starting or waking up through a PS/2 interface, wherein, when the PS/2 interface supports a telephone call signal to start up or wake up a computer, if the PS/2 interface receives an incoming call signal and the The caller number of the incoming call signal belongs to the number in the group that is allowed to start or wake up, then perform the operation of starting or waking up the mobile terminal; when the PS/2 interface supports short message signals to start or wake up the mobile terminal, if the PS/2 interface When the short message signal is received and the caller number of the short message belongs to the number in the group that allows starting or waking up, the operation of starting or waking up the computer is performed. According to the method of the present invention, safe and reliable remote start-up or wake-up operation through the PS/2 interface can be realized.
Description
技术领域technical field
本发明涉及固定网络通信系统中通过PS/2接口远程开机或唤醒技术,具体的说,是涉及一种通过PS/2接口远程开机或唤醒的验证方法。The invention relates to a technology for remotely starting or waking up through a PS/2 interface in a fixed network communication system, and specifically relates to a verification method for remotely starting or waking up through a PS/2 interface.
背景技术Background technique
随着3G(3rd Generation,第三代移动通信)技术的不断发展,以及人们生活、工作方式的不断变化,远程办公已经渐渐成为了一种主流的工作方式。除了远程办公软件的不断发展,远程开机或唤醒技术也相应提到了议事日程上来。With the continuous development of 3G (3rd Generation, third-generation mobile communication) technology and the continuous changes in people's living and working methods, telecommuting has gradually become a mainstream working method. In addition to the continuous development of remote office software, remote boot or wake-up technology has also been brought up on the agenda accordingly.
通过手机或固定电话远程唤醒或启动计算机的方法有很多,主要是通过电话振铃或短信向计算机发送一个启动信号远程启动计算机或向一个IP地址所在的计算机网卡发送一个MAC数据包启动计算机。但这种方法安全性较差,只要是有电话呼入或收到短信,不管是否为真正的开机或唤醒信号,均会产生开机或唤醒信号,对这些信号没有真正的安全性验证。而作为绝大多数计算机的标准配置接口——PS/2却没有一种科学的技术利用其进行远程开机或唤醒计算机。There are many ways to remotely wake up or start a computer through a mobile phone or a fixed phone, mainly by sending a start signal to the computer through a phone ring or a text message to remotely start the computer or sending a MAC data packet to the computer network card where an IP address is located to start the computer. But this method is less safe, as long as there is an incoming call or a short message, no matter whether it is a real power-on or wake-up signal, it will generate a power-on or wake-up signal, and there is no real security verification for these signals. However, PS/2, which is the standard configuration interface of most computers, does not have a scientific technology to use it to remotely start or wake up the computer.
由此可见,如何提供一种通过PS/2接口远程开机或唤醒的验证方法,成为了亟待解决的技术问题。It can be seen that how to provide a verification method for remotely booting or waking up through the PS/2 interface has become a technical problem to be solved urgently.
发明内容Contents of the invention
本发明所要解决的技术问题是提供一种通过PS/2接口远程开机或唤醒的验证方法,来实现通过PS/2接口来安全可靠的远程开机或唤醒操作。The technical problem to be solved by the present invention is to provide a verification method for remote power-on or wake-up through the PS/2 interface, so as to realize safe and reliable remote power-on or wake-up operation through the PS/2 interface.
为解决上述技术问题,本发明提供方案如下:In order to solve the problems of the technologies described above, the present invention provides the following solutions:
一种通过PS/2接口远程开机或唤醒的验证方法,包括如下步骤:A verification method for remotely starting or waking up via a PS/2 interface, comprising the following steps:
(A)当PS/2接口支持电话呼叫信号来开机或唤醒计算机时,如果PS/2接口收到来电呼叫信号且所述来电呼叫信号的来电号码属于允许启动开机或唤醒的分组内的号码,则进行开机或唤醒计算机的操作;(A) When the PS/2 interface supports the telephone call signal to start or wake up the computer, if the PS/2 interface receives the incoming call signal and the incoming call number of the incoming call signal belongs to the number in the group that is allowed to start the power on or wake up, Then start or wake up the computer;
(B)当PS/2接口支持短消息信号来开机或唤醒计算机时,如果PS/2接口收到短消息信号且所述短消息的来电号码属于允许启动开机或唤醒的分组内的号码,则进行开机或唤醒计算机的操作;(B) When the PS/2 interface supports the short message signal to start or wake up the computer, if the PS/2 interface receives the short message signal and the caller number of the short message belongs to the number in the group that allows the startup or wakeup, then To turn on or wake up the computer;
本发明所述的方法,其中,所述步骤(B)进一步当收到的短信息的内容与预先设置的启动开机或唤醒计算机的短信息内容一致时,则进行开机或唤醒计算机的操作。In the method of the present invention, wherein in the step (B), further, when the content of the received short message is consistent with the preset short message content for starting or waking up the computer, start or wake up the computer.
本发明所述的方法,其中,所述步骤(B)进一步当用户通过远程密码验证后,则进行开机或唤醒计算机的操作。In the method of the present invention, in the step (B) further, after the user passes the remote password verification, the operation of starting up or waking up the computer is performed.
本发明所述的方法,其中,所述进行开机或唤醒计算机的操作,是根据来电号码在分组内的权限进行开机或唤醒计算机的操作。In the method of the present invention, wherein the operation of starting or waking up the computer is to start or wake up the computer according to the authority of the caller number in the group.
本发明所述的方法,其中,所述权限是管理员权限或普通客户权限。In the method of the present invention, the authority is an administrator authority or an ordinary customer authority.
本发明所述的方法,其中,在步骤(A)和步骤(B)之前,进一步包括如下步骤:The method of the present invention, wherein, before step (A) and step (B), further comprises the following steps:
当计算机处于关机状态且PS/2接口带电的情况下,计算机先向PS/2接口发送请求建立连接消息;When the computer is turned off and the PS/2 interface is charged, the computer first sends a request to establish a connection message to the PS/2 interface;
如果PS/2接口是允许启动开机或唤醒计算机的PS/2接口,则反馈同意建立连接的消息至计算机,PS/2接口识别通过。If the PS/2 interface is a PS/2 interface that is allowed to start or wake up the computer, then feed back a message agreeing to establish a connection to the computer, and the PS/2 interface identification is passed.
本发明所述的方法,其中,如果在预设的时间内计算机没有收到PS/2接口反馈的同意建立连接的信息,计算机再次向PS/2接口发送请求建立连接的消息。In the method of the present invention, if the computer does not receive the information of agreeing to establish a connection fed back by the PS/2 interface within the preset time, the computer sends a message requesting to establish a connection to the PS/2 interface again.
本发明所述的方法,其中,所述计算机再次向PS/2接口发送请求建立连接的消息不超过5次。The method of the present invention, wherein, the computer resends a message requesting to establish a connection to the PS/2 interface for no more than 5 times.
本发明所述的方法,其中,如果计算机最终没有收到PS/2接口反馈的同意建立连接的消息,计算机停止给PS/2接口供电。In the method of the present invention, if the computer finally does not receive the message of agreeing to establish a connection fed back by the PS/2 interface, the computer stops supplying power to the PS/2 interface.
本发明所述方法,通过将经过识别验证后的来电信号来作为远程开机或唤醒信号,实现了对远程计算机的安全可靠的远程开机或唤醒;进一步通过对短信息内容的验证,更进一步提高了验证的可靠性;又进一步通过将用户名输入的密码和预先设置的远程密码进行比对的验证,实现了对用户的安全性验证,进一步增强了远程开机或唤醒信号可靠性;在计算机处于关机状态并且PS/2接口带电的情况下,先通过对PS/2接口进行识别,只对识别通过的PS/2接口才进行远程开机或唤醒验证,进一步确保了远程开机或唤醒的安全性。The method of the present invention realizes the safe and reliable remote booting or waking up of the remote computer by using the incoming call signal after identification and verification as the remote booting or waking up signal; The reliability of the verification; further by comparing the password entered by the user name with the pre-set remote password, the security verification of the user is realized, and the reliability of the remote boot or wake-up signal is further enhanced; when the computer is shut down In the case that the PS/2 interface is powered on, the PS/2 interface is first identified, and only the identified PS/2 interface is verified for remote power-on or wake-up, which further ensures the safety of remote power-on or wake-up.
本发明所要解决的技术问题、技术方案要点及有益结果,将结合实施例,参照附图,作进一步说明。The technical problems to be solved by the present invention, key technical solutions and beneficial results will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
附图说明Description of drawings
图1a为本发明实施例所述验证方法中来电信号为电话呼叫信号的流程图;Fig. 1a is a flow chart in which the incoming call signal is a telephone call signal in the verification method according to the embodiment of the present invention;
图1b为本发明实施例所述验证方法中来电信号为短信息信号的流程图;Fig. 1b is the flow chart that the incoming call signal is a short message signal in the verification method described in the embodiment of the present invention;
图2为本发明实施例所述PS/2接口识别流程图。Fig. 2 is a flow chart of PS/2 interface identification according to the embodiment of the present invention.
图3为本发明实施例所述PS/2接口握手示意图。Fig. 3 is a schematic diagram of PS/2 interface handshake according to the embodiment of the present invention.
具体实施方法Specific implementation method
参照图1a、图1b,为本发明实施例所述通过PS/2接口远程开机或唤醒的验证方法的流程图。Referring to Fig. 1a and Fig. 1b, it is a flow chart of the verification method for remote booting or waking up through the PS/2 interface according to the embodiment of the present invention.
在实现通过PS/2接口远程开机或唤醒之前,首先需要对用户信息进行初始化设置。例如,设置用户信息的分组管理,主要是确定允许哪些用户(这里指电话号码)有权对远程计算机进行远程开机或唤醒;在确定了对用户信息进行分组管理后,还可以设置用户的访问权限,例如,哪些用户可以以管理员身份开机或唤醒计算机,哪些用户只能以普通客户身份开机或唤醒计算机;当然,还可以设置是允许某个用户以电话呼叫方式开机或唤醒,还是以短信方式开机或唤醒,对于以短信方式进行开机或唤醒的,又可以具体设置短信开机或唤醒的短信内容;还可以设置远程密码保护密码,来实现对用户身份的验证,可以提高开机或唤醒验证的可靠性。Before realizing remote booting or waking up through the PS/2 interface, it is first necessary to initialize the user information. For example, setting the group management of user information is mainly to determine which users (here, the phone numbers) are allowed to remotely start or wake up the remote computer; after determining the group management of user information, you can also set the user's access rights , for example, which users can start or wake up the computer as an administrator, and which users can only start or wake up the computer as ordinary customers; Power-on or wake-up, for the power-on or wake-up by SMS, you can also set the content of the SMS power-on or wake-up message; you can also set a remote password protection password to verify the user's identity, which can improve the reliability of power-on or wake-up verification sex.
经过上述用户信息的初始化设置,当PS/2接口收到来电信号时,执行如下步骤:After the initial setting of the user information above, when the PS/2 interface receives an incoming call signal, perform the following steps:
步骤101:判断所述来电信号为电话呼叫还是短信息信号,如果为电话呼叫信号,则执行步骤102,否则执行步骤107;Step 101: judging whether the incoming call signal is a phone call or a short message signal, if it is a phone call signal, then execute
步骤102:判断是否允许通过电话呼叫方式开机或唤醒,如果允许,则执行步骤104,否则,执行步骤103;Step 102: Judging whether it is allowed to turn on or wake up by phone call, if it is allowed, go to
步骤103:不动作,结束。Step 103: no action, end.
步骤104:判断所述收到的电话呼叫的电话号码是否属于允许远程开机或唤醒的分组内的号码,如果是,则执行步骤106,否则执行步骤105;Step 104: Determine whether the phone number of the received phone call belongs to the number in the group that allows remote power-on or wake-up, if yes, perform step 106, otherwise perform
步骤105:不动作,结束。Step 105: no action, end.
步骤106:根据所述电话号码所在分组内的权限,来完成远程开机或唤醒,结束。例如,所述电话号码所在分组内的权限为管理员身份开机或唤醒。Step 106: Complete remote power-on or wake-up according to the authority of the group where the phone number is located, and end. For example, the authority in the group where the phone number is located is to power on or wake up as an administrator.
步骤107:判断是否允许通过短消息方式开机或唤醒,如果允许,则执行步骤109,否则,执行步骤108;Step 107: Judging whether to allow booting or waking up by short message, if allowed, then perform
步骤108:不动作,结束。Step 108: no action, end.
步骤109:判断所述收到的短消息的来电号码是否属于允许远程开机或唤醒的分组内的号码,如果是,则执行步骤111,否则执行步骤110;Step 109: judging whether the caller number of the received short message belongs to the number in the group that allows remote power-on or wake-up, if yes, then execute
步骤110:不动作,结束。Step 110: no action, end.
步骤111:判断短消息的内容是否正确,此时,主要是判断短消息的内容与预先设置的允许启动开机或唤醒的短消息的内容是否一致,如果正确,则执行步骤113,否则,执行步骤112;Step 111: judge whether the content of short message is correct, at this moment, mainly be to judge whether the content of short message is consistent with the content of the short message that allows to start booting or wake-up preset, if correct, then execute
步骤112:不动作,结束。Step 112: no action, end.
步骤113:判断是否设置了远程密码保护,也就是是否需要用户输入密码来验证用户的身份是否合法,如果设置了,则执行步骤115,否则,执行步骤114;Step 113: determine whether remote password protection is set, that is, whether the user needs to enter a password to verify whether the user's identity is legal, if set, then perform
步骤114:根据所述电话号码所在分组内的权限,来完成远程开机或唤醒,结束。例如,所述电话号码所在分组内的权限为普通用户身份开机或唤醒。Step 114: Complete remote power-on or wake-up according to the authority in the group where the phone number is located, and end. For example, the authority in the group where the phone number is located is to turn on or wake up as a common user.
步骤115:提示用户输入密码;Step 115: Prompt the user to enter a password;
步骤116:判断用户输入的密码是否正确,例如,可以设置为最多验证5次用户输入的密码,如果用户5次收入的密码都不正确,则执行步骤117,如果用户输入的密码正确,则跳转到步骤114。Step 116: Determine whether the password entered by the user is correct. For example, it can be set to verify the password entered by the user for up to 5 times. If the password entered by the user for 5 times is not correct, then perform
步骤117:不动作,结束。Step 117: no action, end.
因此,按照图1a、图1b中实施例所述的验证方法,实现了对远程计算机的安全可靠的远程开机或唤醒操作。Therefore, according to the verification method described in the embodiment in Fig. 1a and Fig. 1b, a safe and reliable remote boot or wake-up operation of the remote computer is realized.
对于上述实施例所述通过PS/2接口远程开机或唤醒的验证方法,当PS/2接口处于带电状态,但计算机处于关机状态时,需要先对PS/2接口进行识别,就是对于只有当识别通过的PS/2接口才能进一步进行图1a和图1b所示的开机或唤醒过程,这样更加确保了PS/2接口的安全性。当PS/2接口连接到计算机主板上时,具体识别过程如图2所示,包括:For the authentication method described in the above-mentioned embodiment through the PS/2 interface remote start-up or wake-up, when the PS/2 interface is in the charged state, but when the computer is in the shutdown state, it is necessary to first identify the PS/2 interface, that is, for only when the identification Only through the PS/2 interface can the power-on or wake-up process shown in Figure 1a and Figure 1b be further performed, which further ensures the security of the PS/2 interface. When the PS/2 interface is connected to the computer motherboard, the specific identification process is shown in Figure 2, including:
步骤201:计算机检测到主板上有PS/2接口传递的信号时,先向PS/2接口发送请求建立连接消息CIStep 201: When the computer detects the signal transmitted by the PS/2 interface on the motherboard, it first sends a request to establish a connection message CI to the PS/2 interface
步骤202:如果PS/2接口是允许进行开机或唤醒的PS/2接口,则反馈同意建立连接的消息ATC至计算机,PS/2模块识别通过。Step 202: If the PS/2 interface is a PS/2 interface that allows booting or waking up, feed back the ATC message agreeing to establish a connection to the computer, and the PS/2 module passes the identification.
如图3所示的握手过程,计算机向PS/2接口发出连接信号时,执行如下步骤:In the handshake process shown in Figure 3, when the computer sends a connection signal to the PS/2 interface, the following steps are performed:
步骤301:判断所述的信号是否允许建立连接,如过允许,则执行步骤302,否则,执行步骤303;Step 301: judging whether the signal allows the establishment of a connection, if yes, then execute
步骤302:反馈同意建立连接,结束。Step 302: Feedback agrees to establish a connection, and ends.
步骤303:判断是否是第6次发送连接信号,如果是,则执行步骤304,否则执行步骤305;Step 303: judge whether it is the sixth time to send the connection signal, if yes, execute
步骤304:连接失败,并停止对PS/2接口供电,结束。Step 304: the connection fails, and the power supply to the PS/2 interface is stopped, and the process ends.
步骤305:继续向PS/2接口发送连接信号,但不超过5次。Step 305: Continue to send the connection signal to the PS/2 interface, but no more than 5 times.
本发明所述的一种通过PS/2接口远程开机或唤醒的验证方法,并不仅仅限于说明书和实施方式中所列运用,它完全可以被适用于各种适合本发明之领域,对于熟悉本领域的人员而言可容易的实现另外的优点和进行修改,因此在不背离权利要求及等同范围所限定的一般概念的精神和范围的情况下,本发明并不限于特定的细节、代表性的设备和这里示出与描述的图示示例。A verification method for remotely booting or waking up through the PS/2 interface described in the present invention is not limited to the applications listed in the instructions and implementation methods, and it can be applied to various fields suitable for the present invention. Additional advantages and modifications can readily be realized by those skilled in the art, so the invention is not to be limited to the specific details, representative examples and equipment and illustrated examples shown and described herein.
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2009102385864A CN102088357A (en) | 2009-12-03 | 2009-12-03 | Verification method for remote startup or wakeup through PS/2 interface |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2009102385864A CN102088357A (en) | 2009-12-03 | 2009-12-03 | Verification method for remote startup or wakeup through PS/2 interface |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN102088357A true CN102088357A (en) | 2011-06-08 |
Family
ID=44099979
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2009102385864A Pending CN102088357A (en) | 2009-12-03 | 2009-12-03 | Verification method for remote startup or wakeup through PS/2 interface |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102088357A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10320577B2 (en) | 2014-10-27 | 2019-06-11 | Hewlett-Packard Development Company, L.P. | Disregarding input in wake-on-LAN boot |
| CN113391691A (en) * | 2021-06-03 | 2021-09-14 | 深圳市广和通无线股份有限公司 | Equipment awakening method, device, equipment and storage medium |
| CN118796281A (en) * | 2024-01-12 | 2024-10-18 | 中移(杭州)信息技术有限公司 | Remote power on/off detection method, device, equipment and medium |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1707386A (en) * | 2004-06-11 | 2005-12-14 | 威鲸资讯有限公司 | Control system and method with multiple timing activation computer |
| CN101141264A (en) * | 2006-09-06 | 2008-03-12 | 联想(北京)有限公司 | WAN module based remote startup or wakeup validating method |
-
2009
- 2009-12-03 CN CN2009102385864A patent/CN102088357A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1707386A (en) * | 2004-06-11 | 2005-12-14 | 威鲸资讯有限公司 | Control system and method with multiple timing activation computer |
| CN101141264A (en) * | 2006-09-06 | 2008-03-12 | 联想(北京)有限公司 | WAN module based remote startup or wakeup validating method |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10320577B2 (en) | 2014-10-27 | 2019-06-11 | Hewlett-Packard Development Company, L.P. | Disregarding input in wake-on-LAN boot |
| CN113391691A (en) * | 2021-06-03 | 2021-09-14 | 深圳市广和通无线股份有限公司 | Equipment awakening method, device, equipment and storage medium |
| CN118796281A (en) * | 2024-01-12 | 2024-10-18 | 中移(杭州)信息技术有限公司 | Remote power on/off detection method, device, equipment and medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103838992B (en) | A kind of fingerprint identification method and terminal | |
| CN101141264A (en) | WAN module based remote startup or wakeup validating method | |
| CN115174043B (en) | Method for sharing equipment and electronic equipment | |
| CN108650119A (en) | A kind of method and system of Remote configuration terminal device | |
| CN102855428B (en) | A kind of method of controlling security of computing machine and this computing machine | |
| CN103152329B (en) | Bluetooth is utilized to carry out identity authentication method and system | |
| CN113778590B (en) | Remote assistance method, device, electronic device and medium | |
| CN111918274B (en) | Code number configuration and management method and device, electronic equipment and readable storage medium | |
| US8751805B2 (en) | Service providing client, wireless terminal and method for implementing binding | |
| CN100574352C (en) | Remote boot control system and method | |
| WO2008043270A1 (en) | Remote wake -up system, wwan module and terminal | |
| CN105657147A (en) | Mobile terminal anti-theft method and device | |
| CN102088357A (en) | Verification method for remote startup or wakeup through PS/2 interface | |
| CN103457741B (en) | A kind of method of work of dynamic token | |
| WO2017118421A1 (en) | Terminal key generation method and device | |
| CN113691515A (en) | Method for safe and rapid access of Internet of things equipment to management platform | |
| CN101272248B (en) | Dynamic cipher authentication system | |
| CN103002430A (en) | Method, device and system for binding terminal application and terminal number | |
| CN104980569A (en) | Electronic ink shell system capable of communicating with mobile phone | |
| CN101350048A (en) | Peripheral apparatus and method for verifying authority thereof | |
| CN114173329B (en) | Charging pile control method | |
| CN115103356A (en) | Computer security verification system, method, mobile terminal and readable storage medium | |
| CN103095458A (en) | Device and method of data communication by storing digital certificate private key | |
| CN113569260A (en) | An industrial internet of things security communication device and system | |
| KR20050096577A (en) | Security system using mobile phone and method therefor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110608 |