CN104202372A - Method and system for logging touch-screen terminal into server - Google Patents
Method and system for logging touch-screen terminal into server Download PDFInfo
- Publication number
- CN104202372A CN104202372A CN201410416159.1A CN201410416159A CN104202372A CN 104202372 A CN104202372 A CN 104202372A CN 201410416159 A CN201410416159 A CN 201410416159A CN 104202372 A CN104202372 A CN 104202372A
- Authority
- CN
- China
- Prior art keywords
- server
- information
- login
- conversion
- touch screen
- 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.)
- Granted
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
本发明公开了一种触摸屏终端登录服务器的方法和系统,包括触摸屏终端获取来自外部的配置信息,并向配合登录服务器的转换端发送配置信息;其中,配置信息至少包括协议类型、转换端IP地址、服务器端IP地址、用户名和密码;转换端接收到配置消息后,根据配置消息中的配置信息尝试登录到服务器端;如果登录到服务器端成功,转换端向触摸屏终端转发来自服务器端的桌面信息;触摸屏终端显示接收到的桌面信息;触摸屏终端通过显示桌面信息获取来自外部的控制信息,并向转换端发送控制信息;转换端向服务器端转发接收到的控制消息。通过本发明提供的技术方案,能够简化登录到服务器的过程,从而提高服务器调试效率。
The invention discloses a method and system for a touch screen terminal to log in to a server. The touch screen terminal obtains configuration information from the outside, and sends the configuration information to a conversion terminal that cooperates with the login server; wherein, the configuration information includes at least the protocol type and the IP address of the conversion terminal. , server IP address, user name and password; after the conversion terminal receives the configuration message, it tries to log in to the server according to the configuration information in the configuration message; if the login to the server is successful, the conversion terminal forwards the desktop information from the server to the touch screen terminal; The touch screen terminal displays the received desktop information; the touch screen terminal obtains external control information by displaying the desktop information, and sends the control information to the conversion end; the conversion end forwards the received control message to the server end. Through the technical solution provided by the invention, the process of logging in to the server can be simplified, thereby improving the debugging efficiency of the server.
Description
技术领域technical field
本发明涉及远程登录技术,尤指一种触摸屏终端登录服务器的方法和系统。The invention relates to a remote login technology, in particular to a method and a system for a touch screen terminal to log in to a server.
背景技术Background technique
目前,服务器广泛应用于生产和生活的各个领域,因此,服务器的日常升级和维护、以及故障处理(下文统称为服务器调试)越来越受到重视。对于应用于重要领域如政府、金融机构的服务器,当需要进行服务器调试时,通常要求服务器调试人员到现场即服务器所在机房,进行服务器的调试。At present, servers are widely used in various fields of production and life. Therefore, daily upgrades and maintenance of servers, as well as troubleshooting (hereinafter collectively referred to as server debugging) are receiving more and more attention. For servers used in important fields such as government and financial institutions, when server debugging is required, server debugging personnel are usually required to go to the site, that is, the computer room where the server is located, to perform server debugging.
在现场进行服务器调试时,调试人员需要通过便携式计算机登录到服务器实现调试。传统的登录服务器的方法是,调试人员将便携式计算机通过RJ45接口即网口,连接到待调试的服务器;配置便携式计算机的IP地址为与服务器的IP在同一个网段的IP地址;基于一种远程登录协议通过输入服务器IP地址、用户名和密码信息向服务器发送登录请求,如果服务器响应登录请求并通过身份验证,则登录到服务器;便携式计算机的屏幕上实时显示服务器的桌面信息,调试人员通过便携式计算机的光标控制装置如鼠标、以及键盘输入控制信息,控制服务器完成相应的操作,实现服务器调试。When debugging the server on site, the debugger needs to log in to the server through a laptop computer to implement debugging. The traditional method of logging in to the server is that the debugger connects the portable computer to the server to be debugged through the RJ45 interface, that is, the network port; configures the IP address of the portable computer to be an IP address in the same network segment as the IP of the server; based on a The remote login protocol sends a login request to the server by entering the server IP address, user name and password information. If the server responds to the login request and passes the identity verification, it will log in to the server; The cursor control device of the computer, such as a mouse and a keyboard, inputs control information, controls the server to complete corresponding operations, and realizes server debugging.
传统的登录服务器的方法,在向服务器发送登录请求之前,需要执行配置便携式计算机的IP地址的步骤,也就是说,需要两个步骤完成登录服务器的操作,使得登录过程比较繁琐,降低了调试效率。In the traditional method of logging in to the server, before sending a login request to the server, it is necessary to perform the step of configuring the IP address of the portable computer, that is to say, two steps are required to complete the operation of logging in to the server, which makes the login process more cumbersome and reduces the debugging efficiency .
发明内容Contents of the invention
为了解决上述技术问题,本发明提供了一种触摸屏终端登录服务器的方法和系统,能够简化登录到服务器的过程,从而提高服务器的调试效率。In order to solve the above technical problems, the present invention provides a method and system for logging in to a server by a touch screen terminal, which can simplify the process of logging in to the server, thereby improving the debugging efficiency of the server.
为了达到本发明目的,本发明公开了一种触摸屏终端登录服务器的方法,包括:In order to achieve the purpose of the present invention, the present invention discloses a method for logging in to a server by a touch screen terminal, including:
触摸屏终端获取来自外部的配置信息,并向配合登录服务器的转换端发送配置信息;其中,配置信息至少包括协议类型、转换端IP地址、服务器端IP地址、用户名和密码;The touch screen terminal obtains configuration information from the outside, and sends the configuration information to the conversion terminal that cooperates with the login server; wherein, the configuration information includes at least the protocol type, the IP address of the conversion terminal, the IP address of the server side, user name and password;
转换端接收到配置消息后,根据配置消息中的配置信息尝试登录到服务器端;After receiving the configuration message, the conversion terminal tries to log in to the server according to the configuration information in the configuration message;
如果登录到服务器端成功,转换端向触摸屏终端转发来自服务器端的桌面信息;If the login to the server is successful, the conversion terminal forwards the desktop information from the server to the touch screen terminal;
触摸屏终端显示接收到的桌面信息;The touch screen terminal displays the received desktop information;
触摸屏终端通过显示桌面信息获取来自外部的控制信息,并向转换端发送控制信息;其中,控制信息中含有光标信息和键盘信息;The touch screen terminal obtains external control information by displaying desktop information, and sends control information to the conversion terminal; wherein, the control information includes cursor information and keyboard information;
转换端向服务器端转发接收到的控制消息。The conversion end forwards the received control message to the server end.
所述转换端支持一种或一种以上远程登录协议。The conversion end supports one or more remote login protocols.
所述转换端支持两种或两种以上远程登录协议,如果所述尝试登录到服务器端失败,该方法还包括:The conversion end supports two or more remote login protocols, and if the attempt to log in to the server fails, the method also includes:
所述转换端使用其支持的其它远程登录协议,根据所述配置信息中的服务器端IP地址、用户名和密码,逐一尝试登录到服务器端。The conversion end uses other remote login protocols it supports, and tries to log in to the server end one by one according to the server end IP address, user name and password in the configuration information.
如果所述尝试登录到服务器端成功,该方法还包括:结束所述逐一尝试登录到服务器端的步骤;If the attempt to log in to the server is successful, the method further includes: ending the steps of trying to log in to the server one by one;
如果所述尝试登录到服务器端失败、且已经使用所有转换端支持的其它远程登录协议尝试登录到服务器端,该方法还包括:所述转换端向触摸屏终端发送提示登录失败的失败信息。If the attempt to log in to the server fails, and all other remote login protocols supported by the conversion end have been used to try to log in to the server, the method further includes: the conversion end sends failure information prompting login failure to the touch screen terminal.
本发明还公开了一种触摸屏终端登录服务器的系统,包括触摸屏终端和转换端,触摸屏终端与转换端之间通过USB接口进行通信,转换端与服务器端之间通过RJ45接口进行通信,其中,The present invention also discloses a system for logging in a server with a touch screen terminal, which includes a touch screen terminal and a conversion terminal, where the touch screen terminal communicates with the conversion terminal through a USB interface, and the conversion terminal communicates with the server terminal through an RJ45 interface, wherein,
触摸屏终端包括配置获取单元、桌面显示单元和控制获取单元,转换端包括登录单元、桌面转换单元和控制转换单元,其中,The touch screen terminal includes a configuration acquisition unit, a desktop display unit and a control acquisition unit, and the conversion terminal includes a login unit, a desktop conversion unit and a control conversion unit, wherein,
配置获取单元,用于获取来自外部的配置信息,并向配合登录服务器的转换端发送配置信息;其中,配置信息包括协议类型、转换端IP地址、服务器端IP地址、用户名和密码;The configuration acquisition unit is used to obtain configuration information from the outside, and send the configuration information to the conversion end that cooperates with the login server; wherein, the configuration information includes the protocol type, the conversion end IP address, the server end IP address, user name and password;
登录单元,用于接收到来自配置获取单元的配置消息时,根据配置消息中的配置信息尝试登录到服务器端;The login unit is configured to attempt to log in to the server according to the configuration information in the configuration message when receiving the configuration message from the configuration acquisition unit;
桌面转换单元,用于当登录到服务器端成功时,向桌面显示单元转发来自服务器端的桌面信息;The desktop conversion unit is used to forward the desktop information from the server to the desktop display unit when the login to the server is successful;
桌面显示单元,用于显示接收到的来自桌面转换单元的桌面信息;a desktop display unit, configured to display the received desktop information from the desktop conversion unit;
控制获取单元,用于通过显示桌面信息获取来自外部的控制信息,并向转换端发送控制信息;其中,控制信息中含有光标信息和键盘信息;A control acquiring unit, configured to acquire external control information by displaying desktop information, and send the control information to the conversion end; wherein, the control information includes cursor information and keyboard information;
控制转换单元,用于向服务器端转发接收到的来自控制获取单元的控制消息。The control conversion unit is configured to forward the received control message from the control acquisition unit to the server.
所述登录单元支持一种或一种以上远程登录协议。The login unit supports one or more remote login protocols.
当所述登录单元支持两种或两种以上远程登录协议时,且尝试登录到服务器端失败时,When the login unit supports two or more remote login protocols and attempts to log in to the server fail,
所述登录单元还用于,使用所述登录单元支持的其它远程登录协议,根据配置信息中的服务器端IP地址、用户名和密码,逐一尝试登录到服务器端。The login unit is also used to try to log in to the server one by one according to the server IP address, user name and password in the configuration information by using other remote login protocols supported by the login unit.
当尝试登录到服务器端成功时,所述登录单元结束执行;When the attempt to log in to the server succeeds, the login unit ends execution;
当尝试登录到服务器端失败、且已经使用所有登录单元支持的其它远程登录协议尝试登录到服务器端时,所述登录单元还用于向触摸屏终端发送提示登录失败的失败信息。When the attempt to log in to the server fails and other remote login protocols supported by all the login units have been used to try to log in to the server, the login unit is further configured to send failure information prompting login failure to the touch screen terminal.
与现有技术相比,本发明的技术方案包括触摸屏终端获取来自外部的配置信息,并向配合登录服务器的转换端发送配置信息;其中,配置信息至少包括协议类型、转换端IP地址、服务器端IP地址、用户名和密码;转换端接收到配置消息后,根据配置消息中的配置信息尝试登录到服务器端;其中,转换端支持多种远程登录协议;如果登录到服务器端成功,转换端向触摸屏终端转发来自服务器端的桌面信息;触摸屏终端显示接收到的桌面信息;触摸屏终端通过显示桌面信息获取来自外部的控制信息,并向转换端发送控制信息;其中,控制信息中含有光标信息和键盘信息;转换端向服务器端转发接收到的控制消息。一方面,通过本发明技术方案,调试人员只需要一次性输入配置信息,就能够完成登录服务器的操作,相比于传统的登录服务器的方法需要调试人员执行两个步骤完成登录服务器的操作,简化了登录服务器的过程,提高了调试效率。另一方面,本发明技术方案使用具有触摸屏的智能终端(本文中简称触摸屏终端)如手机、平板电脑、以及转换端如用于完成登录和转换功能的转换端,实现登录服务器和服务器调试,由于触摸屏终端和转换端相对于便携式计算机如笔记本,体积和重量明显减小,具有更好的便携性,有效减轻了调试人员携带的调试设备的重量,满足了调试人员提高调试设备便携性的需求。Compared with the prior art, the technical solution of the present invention includes that the touch screen terminal acquires configuration information from the outside, and sends the configuration information to the conversion end that cooperates with the login server; wherein, the configuration information includes at least the protocol type, the IP address of the conversion end, the server end IP address, user name and password; after the conversion terminal receives the configuration message, it tries to log in to the server according to the configuration information in the configuration message; among them, the conversion terminal supports multiple remote login protocols; if the login to the server is successful, the conversion terminal logs in to the touch screen The terminal forwards the desktop information from the server; the touch screen terminal displays the received desktop information; the touch screen terminal obtains external control information by displaying the desktop information, and sends control information to the conversion terminal; wherein, the control information includes cursor information and keyboard information; The conversion end forwards the received control message to the server end. On the one hand, through the technical solution of the present invention, the debugger only needs to input the configuration information once to complete the operation of logging into the server. Compared with the traditional method of logging into the server, the debugger needs to perform two steps to complete the operation of logging into the server, which simplifies The process of logging in to the server is simplified, and the debugging efficiency is improved. On the other hand, the technical solution of the present invention uses an intelligent terminal with a touch screen (referred to as a touch screen terminal herein) such as a mobile phone, a tablet computer, and a conversion terminal such as a conversion terminal for completing login and conversion functions to realize login server and server debugging. Compared with portable computers such as notebooks, touch screen terminals and conversion terminals are significantly smaller in size and weight, and have better portability, effectively reducing the weight of debugging equipment carried by debugging personnel, and meeting the needs of debugging personnel to improve the portability of debugging equipment.
另外,通过本发明技术方案,当转换端使用调试人员指定的远程登录协议即配置信息中的协议类型对应的远程登录协议,登录服务器失败时,转换端会自动采用其支持的其它远程登录协议逐一尝试登录到服务器端,这样,避免了调试人员手动更换其它远程登录协议尝试登录服务器,有效提高了登录服务器的效率,从而有效提高了服务器调试的效率。In addition, through the technical solution of the present invention, when the conversion terminal uses the remote login protocol specified by the debugger, that is, the remote login protocol corresponding to the protocol type in the configuration information, and fails to log in to the server, the conversion terminal will automatically adopt other remote login protocols it supports one by one. Try to log in to the server. In this way, debugging personnel are prevented from manually changing other remote login protocols to try to log in to the server, which effectively improves the efficiency of logging in to the server, thereby effectively improving the efficiency of server debugging.
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
附图说明Description of drawings
附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solution of the present invention, and constitute a part of the description, and are used together with the embodiments of the application to explain the technical solution of the present invention, and do not constitute a limitation to the technical solution of the present invention.
图1为本发明触摸屏终端登录服务器的方法的流程图;Fig. 1 is the flow chart of the method for logging in server of touch screen terminal of the present invention;
图2为本发明触摸屏终端登录服务器的系统的组成结构示意图。FIG. 2 is a schematic diagram of the composition and structure of a system for logging in to a server by a touch screen terminal according to the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
图1为本发明触摸屏终端登录服务器的方法的流程图,如图1所示,包括如下步骤:Fig. 1 is the flow chart of the method for logging in server by touch screen terminal of the present invention, as shown in Fig. 1, comprises the following steps:
步骤101:触摸屏终端获取来自外部的配置信息,并向配合登录服务器的转换端发送配置信息。其中,配置信息包括协议类型、转换端IP地址、服务器端IP地址、用户名和密码。其中,Step 101: The touch screen terminal acquires configuration information from the outside, and sends the configuration information to the conversion terminal that cooperates with the login server. Wherein, the configuration information includes protocol type, conversion end IP address, server end IP address, user name and password. in,
协议类型,用于指定将使用的远程登录协议的类型,至少包括电传网络(Teletype Network,TELNET)、安全Shell脚本(Secure Shell,SSH)、或远程桌面协议(RDP)。Protocol type, used to specify the type of remote login protocol to be used, including at least Teletype Network (TELNET), Secure Shell script (Secure Shell, SSH), or Remote Desktop Protocol (RDP).
转换端IP地址,用于指定转换端将使用的IP地址。The conversion end IP address is used to specify the IP address that the conversion end will use.
服务器端IP地址,用于指定服务器端正在使用的IP地址,本领域技术人员容易理解到,转换端IP地址与服务器端IP地址具有同一个IP地址网段。The IP address of the server end is used to specify the IP address being used by the server end. Those skilled in the art can easily understand that the IP address of the conversion end and the IP address of the server end have the same IP address network segment.
用户名和密码,在转换端尝试登录到服务器端时,发送给服务器端用于其进行身份验证。Username and password, which are sent to the server for authentication when the conversion side tries to log in to the server.
本步骤中触摸屏终端获取配置信息可以包括:触摸屏终端弹出提示输入配置信息的对话框,并获取响应对话框的外部输入信息即配置信息。Obtaining configuration information by the touch screen terminal in this step may include: popping up a dialog box prompting input of configuration information on the touch screen terminal, and obtaining external input information corresponding to the dialog box, that is, configuration information.
本步骤中向转换端发送配置信息可以包括:根据预先设置的配置消息的格式封装配置信息到配置消息中,并通过触摸屏终端与转换器之间的USB接口,向转换端发送配置消息。Sending the configuration information to the conversion terminal in this step may include: encapsulating the configuration information into the configuration message according to the format of the preset configuration message, and sending the configuration message to the conversion terminal through the USB interface between the touch screen terminal and the converter.
步骤102:转换端接收到配置信息后,根据配置信息尝试登录到服务器端。其中,转换端支持多种远程登录协议,例如上文提到的TELNET、SSH和RDP。Step 102: After receiving the configuration information, the converter tries to log in to the server according to the configuration information. Among them, the conversion end supports multiple remote login protocols, such as TELNET, SSH and RDP mentioned above.
本步骤之间,转换端接收配置消息,并从配置消息中提取出配置信息。Between these steps, the conversion end receives the configuration message, and extracts the configuration information from the configuration message.
本步骤中根据配置信息尝试登录到服务器端可以包括:使用配置信息中的转换端IP地址配置自身的IP地址;使用配置信息中的协议类型对应的远程登录协议,尝试登录到服务器端。Attempting to log in to the server according to the configuration information in this step may include: using the conversion end IP address in the configuration information to configure its own IP address; using the remote login protocol corresponding to the protocol type in the configuration information to try to log in to the server.
需要说明的是,由于配置信息中的协议类型指定的协议均为标准的远程登录协议,例如,上文提到的TELNET、SSH和RDP。It should be noted that the protocols specified by the protocol type in the configuration information are all standard remote login protocols, for example, TELNET, SSH, and RDP mentioned above.
其中,尝试登录到服务器端包括:通过转换端与服务器端之间的RJ45接口,向服务器端发送登录到服务器端的登录请求,然后,服务器端响应登录请求并要求进行身份验证,身份验证的过程中,转换端和服务器端根据采用的远程登录协议规定的加解密算法和相应的流程完成身份验证,其中,主要流程是转换端将配置信息中的用户名和密码进行加密并发送给服务器端,服务器端对收到的加密后的用户名和密码的身份信息进行解密,并根据解密得到的用户名和密码进行身份验证。Among them, trying to log in to the server includes: sending a login request to the server through the RJ45 interface between the conversion terminal and the server, and then, the server responds to the login request and requires authentication. During the authentication process , the conversion end and the server end complete the identity verification according to the encryption and decryption algorithm and the corresponding process stipulated in the remote login protocol adopted. The main process is that the conversion end encrypts the user name and password in the configuration information and sends it to the server end, and the server end Decrypt the received encrypted user name and password identity information, and perform identity verification according to the decrypted user name and password.
使用标准的远程登录协议登录到服务器的具体实现,为本领域技术人员的惯用技术手段,此处不再赘述。The specific implementation of logging in to the server using a standard remote login protocol is a common technical means for those skilled in the art, and will not be repeated here.
如果登录到服务器端成功,则跳转到步骤103;否则,转换端使用其支持的其它远程登录协议,根据配置信息中的服务器端IP地址、用户名和密码,逐一尝试登录到服务器端。然后,如果登录到服务器端成功,则结束上述逐一尝试登录到服务器端的步骤,并跳转到步骤103;如果登录到服务器端失败,则判断是否已经使用所有转换端支持的其它远程登录协议尝试登录到服务器端,如果判断结果为是,则转换端通过触摸屏终端与转换器之间的USB接口,向触摸屏终端发送封装有提示登录失败的失败信息的失败消息,否则,继续上述逐一尝试登录到服务器端的步骤。If log in to the server successfully, then jump to step 103; Otherwise, the conversion end uses other remote login protocols it supports, and tries to log in to the server one by one according to the server IP address, username and password in the configuration information. Then, if the login to the server is successful, then end the above-mentioned steps of trying to log in to the server one by one, and jump to step 103; if the login to the server fails, then judge whether you have used other remote login protocols supported by all conversion terminals to try to log in To the server side, if the judgment result is yes, then the conversion terminal sends a failure message encapsulated with failure information prompting login failure to the touch screen terminal through the USB interface between the touch screen terminal and the converter, otherwise, continue the above-mentioned attempts to log in to the server one by one terminal steps.
当触摸屏终端收到失败消息后,可以根据预先设置的失败消息的格式,从失败消息中提取出失败信息,并弹出提示登录失败的对话框,提示登录失败。When the touch screen terminal receives the failure message, it can extract the failure information from the failure message according to the format of the preset failure message, and pop up a dialog box prompting the login failure, prompting the login failure.
步骤103:如果登录到服务器端成功,转换端向触摸屏终端转发来自服务器端的桌面信息。Step 103: If the login to the server is successful, the conversion terminal forwards the desktop information from the server to the touch screen terminal.
本步骤中转换端向触摸屏终端转发来自服务器端的桌面信息可以包括:转换端接收封装有服务器端的桌面信息的桌面报文,根据预先设置的桌面报文的格式从桌面报文中提取出桌面信息,根据预先设置的桌面消息的格式封装桌面信息到桌面消息中,并通过触摸屏终端与转换器之间的USB接口,向触摸屏终端发送桌面消息。In this step, the conversion terminal forwards the desktop information from the server to the touch screen terminal and may include: the conversion terminal receives the desktop message that encapsulates the desktop information of the server, extracts the desktop information from the desktop message according to the format of the preset desktop message, The desktop information is encapsulated into the desktop message according to the preset desktop message format, and the desktop message is sent to the touch screen terminal through the USB interface between the touch screen terminal and the converter.
步骤104:触摸屏终端显示接收到的桌面信息。具体来讲,Step 104: The touch screen terminal displays the received desktop information. Specifically,
触摸屏终端接收转换端发送的桌面消息,从桌面消息中提取出桌面信息,并根据桌面信息在触摸屏上的显示框上显示出服务器端的桌面。The touch screen terminal receives the desktop message sent by the conversion terminal, extracts the desktop information from the desktop message, and displays the desktop of the server on the display frame on the touch screen according to the desktop information.
步骤105:触摸屏终端通过显示桌面信息获取来自外部的控制信息,并向转换端发送控制信息,其中,控制信息中含有光标信息和键盘信息。Step 105: The touch screen terminal obtains external control information by displaying the desktop information, and sends the control information to the conversion terminal, wherein the control information includes cursor information and keyboard information.
本步骤中触摸屏终端获通过显示桌面信息获取来自外部的控制信息可以包括:获取显示框上采集的光标信息,同时获取触摸屏上虚拟键盘采集的键盘信息。Obtaining external control information by displaying desktop information on the touch screen terminal in this step may include: obtaining cursor information collected on the display frame, and obtaining keyboard information collected by the virtual keyboard on the touch screen at the same time.
本步骤中向转换端发送控制信息可以包括:触摸屏终端根据预先设置的控制消息的格式封装获取的控制信息到控制消息中,并通过触摸屏终端与转换器之间的USB接口,向转换端发送封装控制信息的控制消息。In this step, sending the control information to the conversion terminal may include: the touch screen terminal encapsulates the obtained control information into the control message according to the format of the preset control message, and sends the package to the conversion terminal through the USB interface between the touch screen terminal and the converter. Control messages for control messages.
步骤106:转换端向服务器端转发接收到的控制消息。具体来讲,Step 106: The conversion end forwards the received control message to the server end. Specifically,
可以包括:转换端接收触摸屏终端发送的控制消息,根据预先设置的控制消息的格式从控制消息中提取出控制信息,根据预先设置的控制报文的格式封装控制信息到控制报文,并通过转换端与服务器端之间的RJ45接口,向服务器端发送控制报文。It may include: the conversion end receives the control message sent by the touch screen terminal, extracts the control information from the control message according to the format of the preset control message, encapsulates the control information into the control message according to the format of the preset control message, and converts the The RJ45 interface between the client and the server sends control packets to the server.
本步骤之后,服务器端根据接收到的控制报文中的控制信息,实现相应的操作如根据控制信息中的光标信息移动光标和/或根据控制信息中的键盘信息执行相应的命令。After this step, the server implements corresponding operations according to the control information in the received control message, such as moving the cursor according to the cursor information in the control information and/or executing corresponding commands according to the keyboard information in the control information.
需要说明的是,本发明方法中转换端执行的所有步骤(例如,步骤102中转换端根据配置信息尝试登录到服务器端、步骤106中转换端向服务器端转发控制消息)的具体实现,可以通过现场可编程门阵列(FPGA)、中央处理器(CPU)、可编程片上系统(PSoC)、或专用集成电路(ASIC)来实现,为本领域人员的惯用技术手段,不用于限定本发明的保护范围,此处不再赘述。It should be noted that, in the method of the present invention, the specific realization of all the steps performed by the conversion end (for example, in step 102, the conversion end attempts to log in to the server end according to the configuration information, and in step 106, the conversion end forwards the control message to the server end) can be achieved through Field Programmable Gate Array (FPGA), Central Processing Unit (CPU), Programmable System-on-Chip (PSoC), or Application Specific Integrated Circuit (ASIC) is a common technical means for those skilled in the art, and is not intended to limit the protection of the present invention. range, which will not be repeated here.
图2为本发明触摸屏终端登录服务器的系统的组成结构示意图,如图2所示,包括触摸屏终端和转换端,触摸屏终端与转换端之间通过USB接口进行通信,转换端与服务器端之间通过RJ45接口进行通信。Fig. 2 is a composition structure schematic diagram of the system of touch screen terminal login server of the present invention, as shown in Fig. 2, comprise touch screen terminal and conversion end, between touch screen terminal and conversion end, carry out communication through USB interface, between conversion end and server end through RJ45 interface for communication.
其中,触摸屏终端包括配置获取单元、桌面显示单元和控制获取单元。转换端包括登录单元、桌面转换单元和控制转换单元。其中,Wherein, the touch screen terminal includes a configuration acquisition unit, a desktop display unit and a control acquisition unit. The conversion end includes a login unit, a desktop conversion unit and a control conversion unit. in,
配置获取单元,用于获取来自外部的配置信息,并向配合登录服务器的转换端发送配置信息。其中,配置信息包括协议类型、转换端IP地址、服务器端IP地址、用户名和密码。The configuration acquiring unit is configured to acquire configuration information from outside, and send the configuration information to the conversion end that cooperates with the login server. Wherein, the configuration information includes protocol type, conversion end IP address, server end IP address, user name and password.
登录单元,用于接收到来自配置获取单元的配置消息时,根据配置消息中的配置信息尝试登录到服务器端。其中,登录单元支持一种或一种以上远程登录协议。The login unit is configured to attempt to log in to the server according to the configuration information in the configuration message when receiving the configuration message from the configuration acquisition unit. Wherein, the login unit supports one or more remote login protocols.
桌面转换单元,用于当登录到服务器端成功时,向桌面显示单元转发来自服务器端的桌面信息。The desktop conversion unit is configured to forward the desktop information from the server to the desktop display unit when the login to the server is successful.
桌面显示单元,用于显示接收到的来自桌面转换单元的桌面信息。The desktop display unit is used to display the received desktop information from the desktop conversion unit.
控制获取单元,用于通过显示桌面信息获取来自外部的控制信息,并向转换端发送控制信息;其中,控制信息中含有光标信息和键盘信息。The control obtaining unit is used to obtain external control information by displaying desktop information, and send the control information to the conversion end; wherein, the control information includes cursor information and keyboard information.
控制转换单元,用于向服务器端转发接收到的来自控制获取单元的控制消息。The control conversion unit is configured to forward the received control message from the control acquisition unit to the server.
进一步地,further,
当登录单元支持两种或两种以上远程登录协议时,且尝试登录到服务器端失败时,登录单元还用于,When the login unit supports two or more remote login protocols, and the attempt to log in to the server fails, the login unit is also used to,
使用登录单元支持的其它远程登录协议,根据配置信息中的服务器端IP地址、用户名和密码,逐一尝试登录到服务器端。针对每一次尝试登录到服务器端,当尝试登录到服务器端成功时,登录单元结束执行;当尝试登录到服务器端失败、且已经使用所有登录单元支持的其它远程登录协议尝试登录到服务器端时,登录单元向触摸屏终端发送提示登录失败的失败信息。Use other remote login protocols supported by the login unit, and try to log in to the server one by one according to the server IP address, user name and password in the configuration information. For each attempt to log in to the server, when the attempt to log in to the server is successful, the login unit ends execution; when the attempt to log in to the server fails and other remote login protocols supported by all login units have been used to try to log in to the server, The login unit sends failure information prompting login failure to the touch screen terminal.
虽然本发明所揭露的实施方式如上,但所述的内容仅为便于理解本发明而采用的实施方式,并非用以限定本发明。任何本发明所属领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。Although the embodiments disclosed in the present invention are as above, the described content is only an embodiment adopted for understanding the present invention, and is not intended to limit the present invention. Anyone skilled in the field of the present invention can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed by the present invention, but the patent protection scope of the present invention must still be The scope defined by the appended claims shall prevail.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410416159.1A CN104202372B (en) | 2014-08-21 | 2014-08-21 | A kind of method and system of touch screen terminal login service device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410416159.1A CN104202372B (en) | 2014-08-21 | 2014-08-21 | A kind of method and system of touch screen terminal login service device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104202372A true CN104202372A (en) | 2014-12-10 |
CN104202372B CN104202372B (en) | 2018-03-23 |
Family
ID=52087597
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410416159.1A Active CN104202372B (en) | 2014-08-21 | 2014-08-21 | A kind of method and system of touch screen terminal login service device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104202372B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104598153A (en) * | 2015-01-28 | 2015-05-06 | 浪潮(北京)电子信息产业有限公司 | Method for controlling server and server |
CN105138887A (en) * | 2015-08-27 | 2015-12-09 | 宇龙计算机通信科技(深圳)有限公司 | Input method and device of login information and terminal equipment |
CN106647680A (en) * | 2017-03-14 | 2017-05-10 | 挪信能源技术(上海)有限公司 | Remote monitoring system of multiple ground source heat pumps |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101079763A (en) * | 2006-06-12 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A remote configuration and management system and method of servers |
CN102571840A (en) * | 2010-12-16 | 2012-07-11 | 卓望数码技术(深圳)有限公司 | Remote terminal test method, system and proxy server |
CN103581265A (en) * | 2012-08-07 | 2014-02-12 | 深圳市傲冠软件股份有限公司 | Remote access method and system |
-
2014
- 2014-08-21 CN CN201410416159.1A patent/CN104202372B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101079763A (en) * | 2006-06-12 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A remote configuration and management system and method of servers |
CN102571840A (en) * | 2010-12-16 | 2012-07-11 | 卓望数码技术(深圳)有限公司 | Remote terminal test method, system and proxy server |
CN103581265A (en) * | 2012-08-07 | 2014-02-12 | 深圳市傲冠软件股份有限公司 | Remote access method and system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104598153A (en) * | 2015-01-28 | 2015-05-06 | 浪潮(北京)电子信息产业有限公司 | Method for controlling server and server |
CN105138887A (en) * | 2015-08-27 | 2015-12-09 | 宇龙计算机通信科技(深圳)有限公司 | Input method and device of login information and terminal equipment |
CN105138887B (en) * | 2015-08-27 | 2018-07-27 | 宇龙计算机通信科技(深圳)有限公司 | A kind of input method of log-on message, device and terminal device |
CN106647680A (en) * | 2017-03-14 | 2017-05-10 | 挪信能源技术(上海)有限公司 | Remote monitoring system of multiple ground source heat pumps |
Also Published As
Publication number | Publication date |
---|---|
CN104202372B (en) | 2018-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11509485B2 (en) | Identity authentication method and system, and computing device | |
CN110636062B (en) | Method and device for controlling secure interaction of equipment, electronic equipment and storage medium | |
CN101651743B (en) | Remote desktop access method for mobile phone terminal user | |
JP2018537912A5 (en) | ||
CN105208041B (en) | Cloud storage application encryption data packet crack method based on HOOK | |
US9672367B2 (en) | Method and apparatus for inputting data | |
WO2019237576A1 (en) | Method and apparatus for verifying communication performance of virtual machine | |
CN105282095A (en) | Login verification method and device of virtual desktop | |
WO2022252894A1 (en) | Storage system management method and apparatus, and storage medium and device | |
CN104202372B (en) | A kind of method and system of touch screen terminal login service device | |
CN108737426A (en) | One kind remotely exempting from close login method and system | |
CN103701586A (en) | Method and device for acquiring secret key | |
CN109639703A (en) | A kind of radio station remote control method and system based on B/S framework | |
CN104038931B (en) | Adapted electrical communication system and its communication means based on LTE network | |
WO2016065787A1 (en) | Rdp data collection apparatus and method | |
CN103036897A (en) | Communication method based on long distance desktop connection between thin client-side and server-side | |
WO2018055464A1 (en) | Method of communication of the cryptographic apparatus with a computing device, and cryptographic apparatus | |
WO2018032953A1 (en) | Windows window sharing method, gateway server, system, storage media | |
CN108270822A (en) | A kind of control inverting method and device based on Remote Desktop Protocol RDP | |
WO2023199145A1 (en) | Method and system for a remote console for secure kvm switch | |
CN103237061A (en) | Character terminal RLOGIN protocol security access system and method | |
CN103701595A (en) | System, method and device for log-in authentication | |
CN102664936B (en) | Control method and the device of base station | |
CN110266705A (en) | Control method and system | |
CN111770099B (en) | Data transmission method and device, electronic equipment and computer readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |