WO2015117414A1 - Method and apparatus for accessing electronic device - Google Patents

Method and apparatus for accessing electronic device Download PDF

Info

Publication number
WO2015117414A1
WO2015117414A1 PCT/CN2014/089497 CN2014089497W WO2015117414A1 WO 2015117414 A1 WO2015117414 A1 WO 2015117414A1 CN 2014089497 W CN2014089497 W CN 2014089497W WO 2015117414 A1 WO2015117414 A1 WO 2015117414A1
Authority
WO
WIPO (PCT)
Prior art keywords
operation command
electronic device
user
session
short message
Prior art date
Application number
PCT/CN2014/089497
Other languages
French (fr)
Chinese (zh)
Inventor
罗锦田
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015117414A1 publication Critical patent/WO2015117414A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Definitions

  • the present invention relates to the field of telecommunication services, and in particular, to an electronic device access method and apparatus.
  • telecommunication services With the continuous development of telecommunication services, the requirements for accessibility and flexibility for devices that maintain the normal operation of telecommunication services are also proposed.
  • a large number of server devices are usually deployed, and access to the server generally needs to be internal to the machine room or remotely logged in. Users can log in to the server using tools such as Secure Crt inside the computer room.
  • the methods for remotely accessing the server outside the computer room include: using Microsoft's remote desktop to connect to the internal operation of the site. Because the security is considered by the administrator, it usually has a firewall and does not directly open the remote login. The way, especially in foreign countries, usually cannot provide remote mode; on the other hand, when users are not convenient to access the Internet, they cannot connect remotely.
  • the user needs to access a certain computer in some specific situations. Accessing a computer requires the user to directly access the computer itself or through another computer connected to the computer. When the user is inconvenient to use the computer, access is not possible.
  • the embodiment of the invention provides an electronic device access method and device, which can enable a user to access an access device without accessing the Internet.
  • the electronic device access method provided by the present invention based on the above objective includes the following steps:
  • the execution result is returned to the user as a short message.
  • the operation command includes a session establishment request; the execution result includes a session establishment success message; sending an operation command in the operation command short message to the electronic device, and receiving the electronic device to perform the operation
  • the steps of the execution result returned after the command include:
  • the operation command includes a session end request; the execution result includes a session end success message; sending an operation command in the operation command short message to the electronic device, and receiving the electronic device to perform the operation
  • the steps of the execution result returned after the command include:
  • the method further includes:
  • the operation command is a Linux command or a Unix command.
  • an electronic device access device including:
  • the operation command receiving module is configured to receive an operation command short message sent by the user, and analyze the operation command;
  • An operation command sending module configured to send an operation command in the operation command short message to the electronic device;
  • An execution result receiving module configured to receive an execution result returned by the electronic device after executing the operation command
  • the execution result forwarding module is configured to return the execution result to the user as a short message.
  • the operation command includes a session establishment request; and the execution result includes a session establishment success message;
  • the operation command sending module includes a session establishment request sending unit configured to send a session establishment request to the electronic device, so that the electronic device establishes a session link with the user and returns a session establishment success message;
  • the operation command receiving module includes a session establishment success message receiving unit configured to receive a session establishment success message returned by the server.
  • the operation command includes a session end request;
  • the execution result includes a session end success message;
  • the operation command sending module includes a session end request sending unit configured to send a session end request to the electronic device, so that the electronic device disconnects the session link from the user and returns a session end success message;
  • the operation command receiving module includes a session end success message receiving unit configured to receive a session end success message returned by the server, and return the session end success message to the user in a short message manner.
  • the device further includes:
  • Privilege judgment module set to determine whether the user has session authority
  • the authority determining module is configured to: when determining that the user has the session right, return a message of successful authentication to the user and then trigger the operation command sending module.
  • the operation command is a Linux command or a Unix command.
  • the electronic device access method and device provided by the present invention can send an operation command to the electronic device after the user operates the short message, so that the electronic device executes the operation command, which is convenient for the user.
  • the short message access device such as the mobile terminal realizes quick access and operation to the electronic device, and solves the problem that the user accesses the electronic device such as the computer or the server when the user is inconvenient to use the network or is inconvenient to use the computer.
  • the electronic device access method and apparatus provided by the embodiments of the present invention authenticate the user's authority when the user performs the access operation, and prevent the information from being unsafe during use.
  • FIG. 1 is a schematic flowchart of an electronic device access method according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of an apparatus for accessing an electronic device according to an embodiment of the present invention.
  • the present invention provides an electronic device access method, including the steps shown in FIG. 1:
  • Step 101 Receive an operation command short message sent by the user, and analyze the operation command
  • Step 102 Send an operation command in the operation command short message to the electronic device; and receive an execution result returned by the electronic device after executing the operation command;
  • Step 103 Return the execution result to the user in a short message manner.
  • the electronic device access method provided by the present invention forwards the short message sent by the user to the server as a command; allows the user to access the electronic device through the short message mode, and commands the electronic device to perform the corresponding operation. It can improve the convenience and flexibility of users to access the server by solving the problem that the user is inconvenient to connect to the Internet, inconvenient to use the internal network, inconvenient to remotely connect to the computer, or inconvenient to use the computer to access the electronic device.
  • the operation command includes an operation command when the user accesses the server, such as a folder access, a file directory view, a file size view, a hard disk space size query, an available storage space size query, and the like.
  • the content of the operation command short message is an operation command executable by the electronic device.
  • the user sends the command recognizable by the electronic device as the short message content, and when the operation command message sent by the user is received and the operation command is recognized, the operation command is forwarded to the electronic device for execution, and the electronic device executes the operation command. And return the execution result.
  • the returned content may be appropriately processed, such as content adjustment, long and short split, redundant character deletion, etc., and adjusted to facilitate the user to view the short message on the short message sending end.
  • the operation command short message includes a session establishment request short message; the execution result includes a session establishment success message; an operation command in the operation command short message is sent to the electronic device, and the The steps of the execution result returned by the electronic device after executing the operation command include:
  • the operation command short message sent by the user may be sent through the short message gateway, and the execution result of the electronic device executing the operation command may be sent to the short message gateway and fed back to the user through the short message gateway.
  • the electronic device When the electronic device is a server, after receiving the session establishment request short message sent by the user, the session establishment request is sent to the server, so that the server can allocate the session resource to the user, and establish a session link between the user and the server. .
  • the execution result returned by the server is returned to the corresponding user through the corresponding session link.
  • the operation command includes a session end request; the execution result includes a session end success message; an operation command in the operation command text message is sent to the electronic device, and the electronic device is received
  • the steps of the execution result returned by the device after executing the operation command include:
  • the method after receiving the operation command short message sent by the user, the method further includes:
  • the method for the user to access the electronic device includes a session process, as follows:
  • Step 201 Receive an operation command short message forwarded by the short message gateway from the user;
  • Step 202 Identify an operation command in the operation command short message
  • Step 203 Send a rights authentication short message to the user.
  • Step 204 Receive a rights verification short message sent by the user.
  • Step 205 Send the operation command received in step 302 to the electronic device;
  • Step 206 Receive an operation command execution result sent by the electronic device.
  • Step 207 The operation command execution result is fed back to the short message gateway in a short message manner, so that the short message gateway forwards the operation command execution result short message to the user.
  • step 202 after the operation command is identified, the operation command is stored, so that the operation command is retrieved again after the subsequent authority verification is passed.
  • the rights authentication short message may be a text message, for example, “Please input a username and password”.
  • the rights authentication short message may also be an English abbreviation short message, for example: "Enter ID & Password”.
  • the rights authentication short message may also be a character with special meaning or the like.
  • the right verification verification message sent by the user may be a short message corresponding to the content of the authorization authentication short message. For example, if the authorization authentication short message requests the user name and password, the user edits the user name and password in the short message as the authority verification short message. send. If the authority authentication short message requests the user name, the user edits the user name in the short message and sends it as the authority verification message.
  • step 205 when it is determined that the current user has the right, that is, after the received right verification short message passes the authority verification, the operation command identified in step 202 is retrieved, and the operation command is sent to the electronic device, so that the electronic device performs the Operational commands.
  • the operation command is an operation command when the user accesses the server, such as a folder access, a file directory view, a file size view, a hard disk space size query, an available storage space size query, and the like.
  • step 207 the execution result sent by the electronic device is appropriately processed, for example, deleting a redundant space character, etc., and is adjusted to facilitate the user to read the form, and is sent and presented to the corresponding user by using a short message.
  • the electronic device access method when the operation command is a session establishment request, includes a session establishment process, as follows:
  • Step 301 Receive an operation command short message forwarded by the short message gateway from the user;
  • Step 302 Identify the operation command short message, and determine that the operation command of the user is a session establishment request;
  • Step 303 Send a rights authentication short message to the user.
  • Step 304 Receive a rights verification short message sent by the user.
  • Step 305 Send the session establishment request received in step 202 to the electronic device.
  • Step 306 Receive a session establishment success message returned by the electronic device.
  • Step 307 The session establishment success message is fed back to the short message gateway in a short message manner, so that the short message gateway forwards the session establishment success message short message to the user.
  • step 302 when it is determined in step 302 that the operation command of the user is a session establishment request, the session establishment request is stored, so that the subsequent session authentication is passed and the session establishment request is retrieved again and the request is forwarded to the electronic device. .
  • the rights authentication process in steps 303, 304 is similar to steps 202, 203 in the previous embodiment.
  • step 305 when it is determined that the current user has the right, that is, the received right verification short message passes the authority verification, the session establishment request in step 302 is invoked, and the session establishment request is sent to the electronic device, so that the electronic device performs the session establishment. command.
  • step 307 the session establishment success message sent by the electronic device is appropriately processed, for example, deleting extra space characters, etc., and is adjusted to facilitate the user to read the form, and is sent and presented to the corresponding user by using a short message.
  • the electronic device access method when the operation command is a session end request, includes a session end process, as follows:
  • Step 401 Receive an operation command short message forwarded by the short message gateway from the user;
  • Step 402 Identify the operation command short message, and determine that the operation command of the user is a session end request;
  • Step 403 Send a rights authentication short message to the user.
  • Step 404 Receive a rights verification short message sent by the user.
  • Step 405 Send the session end request received in step 402 to the electronic device;
  • Step 406 Receive a session end success message returned by the electronic device.
  • Step 407 The session end success message is fed back to the short message gateway in a short message manner, so that the short message gateway forwards the session end success message short message to the user.
  • the operation command short message identification, the rights authentication, and the message forwarding are equal to steps 301-307 and the principles are the same.
  • the rights authentication process may be set in any process of session establishment, session progress, and session end to avoid the operation of the electronic device by the user who does not have the permission during the session establishment, the session, or the session end. .
  • the operation command is a Linux instruction or a Unix instruction;
  • the Unix instruction includes an HP Unix (HP Unix) instruction and an AIX (Advanced Interactive eXecutive) instruction.
  • the electronic device is a server
  • the short message requesting the content of "Connect” may be sent to establish a session.
  • the user wants to view the folder he can send a message request with the content "LF” to consult the server folder.
  • you want to view the hard disk size space you can send a text message with the content "df_h” to view the hard disk space.
  • the content of the short message sent by the user may be a Chinese character or a code.
  • the operation command corresponding to the Chinese character or the code is searched, and the found operation command is sent to Electronic equipment.
  • the electronic device access method provided by the present invention enables a user to access an electronic device such as a server or a computer through a short message, and the user can implement some electronic devices without directly using a computer or connecting to the Internet.
  • the operation improves the convenience and flexibility of the user to access the electronic device, and also improves the user experience.
  • an electronic device access device which has the structure shown in FIG. 2, and includes:
  • the operation command receiving module 201 is configured to receive an operation command short message sent by the user, and analyze the operation command;
  • the operation command sending module 202 is configured to send an operation command in the operation command short message to the electronic device;
  • the execution result receiving module 203 is configured to receive an execution result returned by the electronic device after executing the operation command;
  • the execution result forwarding module 204 is configured to return the execution result to the user in a short message manner.
  • the electronic device access device provided by the present invention can forward the operation command of the user to the electronic device to execute the operation command, and allows the user to implement the operation when the computer is inconvenient to use or use the network. Access to electronic devices. Improve user access and ease of use.
  • the operation command includes a session establishment request;
  • the execution result includes a session establishment success message;
  • the operation command sending module includes a session establishment request sending unit configured to send a session establishment request to the electronic device, so that the electronic device establishes a session link with the user and returns a session establishment success message;
  • the operation command receiving module includes a session establishment success message receiving unit configured to receive a session establishment success message returned by the server.
  • the operation command includes a session end request;
  • the execution result includes a session end success message;
  • the operation command sending module includes a session end request sending unit configured to send a session end request to the electronic device, so that the electronic device disconnects the session link from the user and returns a session end success message;
  • the operation command receiving module includes a session end success message receiving unit configured to receive a session end success message returned by the server, and return the session end success message to the user in a short message manner.
  • the apparatus further includes:
  • the authority determining module 205 is configured to determine whether the user has session rights
  • the authority determining module 206 is configured to, when determining that the user has the session right, return a message of successful authentication to the user and then trigger the operation command sending module.
  • the operational command is a Linux command, or a Unix command.
  • the Unix instructions include HP Unix (HP Unix) instructions and AIX (Advanced Interactive eXecutive) instructions.
  • the method and device for accessing an electronic device can send an operation command to an electronic device after the operation command message of the user, so that the electronic device executes the operation command, thereby facilitating the user to adopt the mobile terminal.
  • the short message sending device realizes quick access and operation to the electronic device, and solves the problem that the user accesses the electronic device such as the computer or the server when the user is inconvenient to use the network or is inconvenient to use the computer.
  • an electronic device access method and apparatus provided by an embodiment of the present invention have the following beneficial effects: after an operation command message of a user is sent, an operation command is sent to the electronic device, so that the electronic device executes the operation command. It is convenient for users to use the short message sending device such as mobile terminal to realize fast access and operation of electronic devices.

Abstract

Provided are a method and apparatus for accessing an electronic device. The method comprises the steps of: receiving a short message of an operating command which is sent by a user, and analysing the operating command (101); sending the operating command in the short message of the operating command to an electronic device, and receiving an execution result which is returned after the electronic device executes the operating command (102); and returning the execution result to the user in the mode of a short message (103). The apparatus comprises: an operating command receiving module which is arranged to receive a short message of an operating command which is sent by a user and analyse the operating command; an operating command sending module which is arranged to send the operating command in the short message of the operating command to the electronic device; an execution result receiving module which is arranged to receive an execution result which is returned after the electronic device executes the operating command; and an execution result forwarding module which is arranged to return the execution result to the user in the mode of a short message. The method and apparatus for accessing an electronic device provided in the present invention can allow a user to achieve an access operation on a device without accessing the Internet.

Description

一种电子设备访问方法及装置Electronic device access method and device 技术领域Technical field
本发明涉及电信业务领域,尤其涉及一种电子设备访问方法及装置。The present invention relates to the field of telecommunication services, and in particular, to an electronic device access method and apparatus.
背景技术Background technique
随着电信业务的不断发展,对维持电信业务正常运行的设备也提出了访问方便性和灵活性的要求。例如,在电信业务的现场环境中,通常部署有很多服务器设备,对于服务器的访问,一般需要到机房内部或者远程登录。用户在机房内部可以使用Secure Crt等工具登陆访问服务器。在机房外部常用的远程访问服务器的方法有:使用微软的远程桌面等连接到局点内部进行操作,由于局方出于对安全的考虑,通常都设有防火墙,且不会直接开放远程登录的方式,特别是国外局点,通常无法提供远程方式;另一方面,当用户不方便上网时,也无法远程连接。With the continuous development of telecommunication services, the requirements for accessibility and flexibility for devices that maintain the normal operation of telecommunication services are also proposed. For example, in a field environment of a telecommunication service, a large number of server devices are usually deployed, and access to the server generally needs to be internal to the machine room or remotely logged in. Users can log in to the server using tools such as Secure Crt inside the computer room. The methods for remotely accessing the server outside the computer room include: using Microsoft's remote desktop to connect to the internal operation of the site. Because the security is considered by the administrator, it usually has a firewall and does not directly open the remote login. The way, especially in foreign countries, usually cannot provide remote mode; on the other hand, when users are not convenient to access the Internet, they cannot connect remotely.
再如,用户在一些特定的场合,需要访问某一个计算机。而访问计算机则需要用户直接使用该计算机本身或通过某个与该计算机连接的另一个计算机进行访问,当用户不方便使用计算机时,则无法进行访问。For another example, the user needs to access a certain computer in some specific situations. Accessing a computer requires the user to directly access the computer itself or through another computer connected to the computer. When the user is inconvenient to use the computer, access is not possible.
发明内容Summary of the invention
本发明实施例提供了一种电子设备访问方法及装置,能够允许用户在不上网的情况下,实现对设备的访问操作。The embodiment of the invention provides an electronic device access method and device, which can enable a user to access an access device without accessing the Internet.
基于上述目的本发明提供的电子设备访问方法,包括如下步骤:The electronic device access method provided by the present invention based on the above objective includes the following steps:
接收用户发送的操作命令短信,并分析操作命令;Receiving an operation command short message sent by the user, and analyzing the operation command;
将所述操作命令短信中的操作命令发送到所述电子设备;并接收所述电子设备执行所述操作命令后返回的执行结果;Sending an operation command in the operation command short message to the electronic device; and receiving an execution result returned by the electronic device after executing the operation command;
将所述执行结果以短信方式返回给用户。The execution result is returned to the user as a short message.
可选的,所述操作命令包括会话建立请求;所述执行结果包括会话建立成功消息;将所述操作命令短信中的操作命令发送到所述电子设备、并接收所述电子设备执行所述操作命令后返回的执行结果的步骤包括: Optionally, the operation command includes a session establishment request; the execution result includes a session establishment success message; sending an operation command in the operation command short message to the electronic device, and receiving the electronic device to perform the operation The steps of the execution result returned after the command include:
向所述电子设备发送会话建立请求,使得所述电子设备与所述用户之间建立会话链路并返回会话建立成功消息;Sending a session establishment request to the electronic device, so that the electronic device establishes a session link with the user and returns a session establishment success message;
接收所述服务器返回的会话建立成功消息。Receiving a session establishment success message returned by the server.
可选的,所述操作命令包括会话结束请求;所述执行结果包括会话结束成功消息;将所述操作命令短信中的操作命令发送到所述电子设备、并接收所述电子设备执行所述操作命令后返回的执行结果的步骤包括:Optionally, the operation command includes a session end request; the execution result includes a session end success message; sending an operation command in the operation command short message to the electronic device, and receiving the electronic device to perform the operation The steps of the execution result returned after the command include:
向所述电子设备发送会话结束请求,使得所述电子设备与所述用户之间断开会话链路并返回会话结束成功消息;Transmitting a session end request to the electronic device, causing the electronic device to disconnect the session link from the user and returning a session end success message;
接收所述服务器返回的会话结束成功消息,并将所述会话结束成功消息以短信方式返回给所述用户。Receiving a session end success message returned by the server, and returning the session end success message to the user in a short message manner.
可选的,接收用户发送的操作命令短信之后,还包括:Optionally, after receiving the operation command message sent by the user, the method further includes:
判断所述用户是否具有会话权限;Determining whether the user has session rights;
当确定所述用户具有会话权限时,向用户返回鉴权成功的消息;When it is determined that the user has session rights, returning a message of successful authentication to the user;
进入所述将所述操作命令短信中的操作命令发送到所述电子设备、并接收所述电子设备执行所述操作命令后返回的执行结果的步骤。And entering the step of transmitting an operation command in the operation command short message to the electronic device, and receiving an execution result returned by the electronic device after executing the operation command.
可选的,所述操作命令为Linux指令、或Unix指令。Optionally, the operation command is a Linux command or a Unix command.
进一步,本发明还提供一种电子设备访问装置,包括:Further, the present invention provides an electronic device access device, including:
操作命令接收模块:设置为接收用户发送的操作命令短信,并分析操作命令;The operation command receiving module is configured to receive an operation command short message sent by the user, and analyze the operation command;
操作命令发送模块:设置为将所述操作命令短信中的操作命令发送到所述电子设备;An operation command sending module: configured to send an operation command in the operation command short message to the electronic device;
执行结果接收模块:设置为接收所述电子设备执行所述操作命令后返回的执行结果;An execution result receiving module: configured to receive an execution result returned by the electronic device after executing the operation command;
执行结果转发模块:设置为将所述执行结果以短信方式返回给用户。The execution result forwarding module is configured to return the execution result to the user as a short message.
可选的,所述操作命令包括会话建立请求;所述执行结果包括会话建立成功消息; Optionally, the operation command includes a session establishment request; and the execution result includes a session establishment success message;
所述操作命令发送模块包括会话建立请求发送单元:设置为向所述电子设备发送会话建立请求,使得所述电子设备与所述用户之间建立会话链路并返回会话建立成功消息;The operation command sending module includes a session establishment request sending unit configured to send a session establishment request to the electronic device, so that the electronic device establishes a session link with the user and returns a session establishment success message;
所述操作命令接收模块包括会话建立成功消息接收单元:设置为接收所述服务器返回的会话建立成功消息。The operation command receiving module includes a session establishment success message receiving unit configured to receive a session establishment success message returned by the server.
可选的,所述操作命令包括会话结束请求;所述执行结果包括会话结束成功消息;Optionally, the operation command includes a session end request; the execution result includes a session end success message;
所述操作命令发送模块包括会话结束请求发送单元:设置为向所述电子设备发送会话结束请求,使得所述电子设备与所述用户之间断开会话链路并返回会话结束成功消息;The operation command sending module includes a session end request sending unit configured to send a session end request to the electronic device, so that the electronic device disconnects the session link from the user and returns a session end success message;
所述操作命令接收模块包括会话结束成功消息接收单元:设置为接收所述服务器返回的会话结束成功消息,并将所述会话结束成功消息以短信方式返回给所述用户。The operation command receiving module includes a session end success message receiving unit configured to receive a session end success message returned by the server, and return the session end success message to the user in a short message manner.
可选的,所述装置还包括:Optionally, the device further includes:
权限判断模块:设置为判断所述用户是否具有会话权限;Privilege judgment module: set to determine whether the user has session authority;
权限确定模块:设置为当确定所述用户具有会话权限时,向用户返回鉴权成功的消息并继而触发所述操作命令发送模块。The authority determining module is configured to: when determining that the user has the session right, return a message of successful authentication to the user and then trigger the operation command sending module.
可选的,所述操作命令为Linux指令、或Unix指令。Optionally, the operation command is a Linux command or a Unix command.
从上面所述可以看出,本发明所提供的电子设备访问方法及装置,能够在用户的操作命令短信后,将其中的操作命令发送到电子设备,使得电子设备执行所述操作命令,方便用户采用移动终端等短信发送设备对电子设备实现快捷访问和操作,解决用户不方便使用网络或不方便使用计算机时访问计算机、服务器等电子设备的问题。此外,本发明实施例所提供的电子设备访问方法和装置,在用户进行访问操作时对用户的权限进行鉴定,防止使用过程中信息不安全等问题。It can be seen from the above that the electronic device access method and device provided by the present invention can send an operation command to the electronic device after the user operates the short message, so that the electronic device executes the operation command, which is convenient for the user. The short message access device such as the mobile terminal realizes quick access and operation to the electronic device, and solves the problem that the user accesses the electronic device such as the computer or the server when the user is inconvenient to use the network or is inconvenient to use the computer. In addition, the electronic device access method and apparatus provided by the embodiments of the present invention authenticate the user's authority when the user performs the access operation, and prevent the information from being unsafe during use.
附图说明DRAWINGS
图1为本发明实施例的电子设备访问方法流程示意图;1 is a schematic flowchart of an electronic device access method according to an embodiment of the present invention;
图2为本发明实施例的电子设备访问装置结构示意图。 FIG. 2 is a schematic structural diagram of an apparatus for accessing an electronic device according to an embodiment of the present invention.
具体实施方式detailed description
为了给出有效的实现方案,本发明实施例提供了以下实施例,以下结合说明书附图对本发明的实施例进行说明。In order to provide an effective implementation, the following embodiments are provided in the embodiments of the present invention. The embodiments of the present invention are described below in conjunction with the accompanying drawings.
首先,本发明提供一种电子设备访问方法,包括如图1所示的步骤:First, the present invention provides an electronic device access method, including the steps shown in FIG. 1:
步骤101:接收用户发送的操作命令短信,并分析操作命令;Step 101: Receive an operation command short message sent by the user, and analyze the operation command;
步骤102:将所述操作命令短信中的操作命令发送到所述电子设备;并接收所述电子设备执行所述操作命令后返回的执行结果;Step 102: Send an operation command in the operation command short message to the electronic device; and receive an execution result returned by the electronic device after executing the operation command;
步骤103:将所述执行结果以短信方式返回给用户。Step 103: Return the execution result to the user in a short message manner.
从上面所述可以看出,本发明提供的电子设备访问方法,将用户发送的短信,作为命令转发给服务器执行;允许用户通过短信方式访问电子设备,并命令电子设备执行相应的操作。解决用户不方便连接互联网、不方便使用内网、不方便远程连接计算机、或不方便使用计算机时对电子设备进行访问,可提高用户访问服务器的方便性和灵活性。As can be seen from the above, the electronic device access method provided by the present invention forwards the short message sent by the user to the server as a command; allows the user to access the electronic device through the short message mode, and commands the electronic device to perform the corresponding operation. It can improve the convenience and flexibility of users to access the server by solving the problem that the user is inconvenient to connect to the Internet, inconvenient to use the internal network, inconvenient to remotely connect to the computer, or inconvenient to use the computer to access the electronic device.
具体的,所述操作命令包括用户访问服务器时的操作命令,如文件夹访问、文件目录查阅、文件大小查看、硬盘空间大小查询、可用存储空间大小查询等。Specifically, the operation command includes an operation command when the user accesses the server, such as a folder access, a file directory view, a file size view, a hard disk space size query, an available storage space size query, and the like.
在具体实施例中,所述操作命令短信的内容为电子设备可执行的操作命令。用户将电子设备可识别的命令作为短信内容进行发送,当收到用户发送的操作命令短信并识别出所述操作命令,将所述操作命令转发给电子设备进行执行,电子设备执行所述操作命令,并将执行结果返回。当收到电子设备返回的执行结果后,可对返回内容进行适当处理,如内容调整、长短拆分、多余字符删除等,调整为方便用户在短信发送端上观看的短信。In a specific embodiment, the content of the operation command short message is an operation command executable by the electronic device. The user sends the command recognizable by the electronic device as the short message content, and when the operation command message sent by the user is received and the operation command is recognized, the operation command is forwarded to the electronic device for execution, and the electronic device executes the operation command. And return the execution result. After receiving the execution result returned by the electronic device, the returned content may be appropriately processed, such as content adjustment, long and short split, redundant character deletion, etc., and adjusted to facilitate the user to view the short message on the short message sending end.
在本发明一些实施例中,所述操作命令短信包括会话建立请求短信;所述执行结果包括会话建立成功消息;将所述操作命令短信中的操作命令发送到所述电子设备、并接收所述电子设备执行所述操作命令后返回的执行结果的步骤包括:In some embodiments of the present invention, the operation command short message includes a session establishment request short message; the execution result includes a session establishment success message; an operation command in the operation command short message is sent to the electronic device, and the The steps of the execution result returned by the electronic device after executing the operation command include:
依据所述会话建立请求短信,向所述电子设备发送会话建立请求,使得所述电子设备与所述用户之间建立会话链路并返回会话建立成功消息;Sending a session establishment request to the electronic device according to the session establishment request message, so that the electronic device establishes a session link with the user and returns a session establishment success message;
接收所述服务器返回的会话建立成功消息。 Receiving a session establishment success message returned by the server.
在具体实施例中,用户所发送的操作命令短信可通过短信网关进行发送,电子设备执行所述操作命令的执行结果可发送给短信网关,通过短信网关反馈给用户。In a specific embodiment, the operation command short message sent by the user may be sent through the short message gateway, and the execution result of the electronic device executing the operation command may be sent to the short message gateway and fed back to the user through the short message gateway.
当所述电子设备为服务器时,收到用户所发送的会话建立请求短信之后,将会话建立请求发送到服务器,从而服务器可以为该用户分配会话资源,建立该用户与服务器之间的会话链路。当有两个或两个以上的用户通过操作命令短信操作所述服务器时,服务器返回的执行结果通过相应的会话链路返回给相应的用户。When the electronic device is a server, after receiving the session establishment request short message sent by the user, the session establishment request is sent to the server, so that the server can allocate the session resource to the user, and establish a session link between the user and the server. . When two or more users operate the server by operating a command short message, the execution result returned by the server is returned to the corresponding user through the corresponding session link.
在本发明的一些实施例中,所述操作命令包括会话结束请求;所述执行结果包括会话结束成功消息;将所述操作命令短信中的操作命令发送到所述电子设备、并接收所述电子设备执行所述操作命令后返回的执行结果的步骤包括:In some embodiments of the present invention, the operation command includes a session end request; the execution result includes a session end success message; an operation command in the operation command text message is sent to the electronic device, and the electronic device is received The steps of the execution result returned by the device after executing the operation command include:
向所述电子设备发送会话结束请求,使得所述电子设备与所述用户之间断开会话链路并返回会话结束成功消息;Transmitting a session end request to the electronic device, causing the electronic device to disconnect the session link from the user and returning a session end success message;
接收所述服务器返回的会话结束成功消息,并将所述会话结束成功消息以短信方式返回给所述用户。Receiving a session end success message returned by the server, and returning the session end success message to the user in a short message manner.
当接受到所述会话结束请求时,断开与相应用户的会话链路,使得后续与该用户无关的执行结果不会再发送给该用户,在成功结束会话之后,将会话结束成功消息返回给相应用户。When the session end request is accepted, the session link with the corresponding user is disconnected, so that the subsequent execution result unrelated to the user is not sent to the user again, and after successfully ending the session, the session end success message is returned to the session. The corresponding user.
在本发明的一些实施例中,接收用户发送的操作命令短信之后,还包括:In some embodiments of the present invention, after receiving the operation command short message sent by the user, the method further includes:
判断所述用户是否具有会话权限;Determining whether the user has session rights;
当确定所述用户具有会话权限时,向用户返回鉴权成功的消息;When it is determined that the user has session rights, returning a message of successful authentication to the user;
进入所述将所述操作命令短信中的操作命令发送到所述电子设备、并接收所述电子设备执行所述操作命令后返回的执行结果的步骤。And entering the step of transmitting an operation command in the operation command short message to the electronic device, and receiving an execution result returned by the electronic device after executing the operation command.
在一种具体实施例中,当所述操作命令为会话过程中的一般操作命令时,用户访问电子设备的方法包括会话进行过程,具体如下:In a specific embodiment, when the operation command is a general operation command in a session, the method for the user to access the electronic device includes a session process, as follows:
步骤201:接收短信网关转发的、来自用户的操作命令短信;Step 201: Receive an operation command short message forwarded by the short message gateway from the user;
步骤202:识别所述操作命令短信中的操作命令;Step 202: Identify an operation command in the operation command short message;
步骤203:向用户发送权限鉴别短信; Step 203: Send a rights authentication short message to the user.
步骤204:接收用户发送的权限验证短信;Step 204: Receive a rights verification short message sent by the user.
步骤205:将步骤302中接收的操作命令发送到电子设备;Step 205: Send the operation command received in step 302 to the electronic device;
步骤206:接收电子设备发送的操作命令执行结果;Step 206: Receive an operation command execution result sent by the electronic device.
步骤207:将操作命令执行结果以短信方式反馈到短信网关,使得短信网关将所述操作命令执行结果短信转发给用户。Step 207: The operation command execution result is fed back to the short message gateway in a short message manner, so that the short message gateway forwards the operation command execution result short message to the user.
步骤202中,识别出所述操作命令后,将该操作命令存储,以便后续权限验证通过后再次调取该操作命令。In step 202, after the operation command is identified, the operation command is stored, so that the operation command is retrieved again after the subsequent authority verification is passed.
步骤203中所述权限鉴别短信可以为文字短信,例如:“请输入用户名和密码”。所述权限鉴别短信也可以为英文缩写短信,例如:“Enter ID&Password”。所述权限鉴别短信还可以为具有特殊意义的字符等。In the step 203, the rights authentication short message may be a text message, for example, “Please input a username and password”. The rights authentication short message may also be an English abbreviation short message, for example: "Enter ID & Password". The rights authentication short message may also be a character with special meaning or the like.
步骤204中,用户发送的权限验证短信,可以是与权限鉴别短信内容对应的短信,例如,若权限鉴别短信请求用户名和密码,则用户将自己的用户名和密码编辑在短信中,作为权限验证短信发送。若权限鉴别短信请求用户名,则用户将自己的用户名编辑在短信中,作为权限验证短信发送。In step 204, the right verification verification message sent by the user may be a short message corresponding to the content of the authorization authentication short message. For example, if the authorization authentication short message requests the user name and password, the user edits the user name and password in the short message as the authority verification short message. send. If the authority authentication short message requests the user name, the user edits the user name in the short message and sends it as the authority verification message.
步骤205中,当确定当前用户具有权限时,即接收的权限验证短信通过权限验证后,调取步骤202中所识别的操作命令,并将该操作命令发送到电子设备,使得电子设备执行所述操作命令。具体的,所述操作命令为用户访问服务器时的操作命令,如文件夹访问、文件目录查阅、文件大小查看、硬盘空间大小查询、可用存储空间大小查询等。In step 205, when it is determined that the current user has the right, that is, after the received right verification short message passes the authority verification, the operation command identified in step 202 is retrieved, and the operation command is sent to the electronic device, so that the electronic device performs the Operational commands. Specifically, the operation command is an operation command when the user accesses the server, such as a folder access, a file directory view, a file size view, a hard disk space size query, an available storage space size query, and the like.
步骤207中,将电子设备发送的执行结果进行适当的处理,例如删除多余空格符等,调整为方便用户阅读形式,并以短信方式发送、呈现给相应用户。In step 207, the execution result sent by the electronic device is appropriately processed, for example, deleting a redundant space character, etc., and is adjusted to facilitate the user to read the form, and is sent and presented to the corresponding user by using a short message.
在一种具体实施例中,当所述操作命令为会话建立请求时,电子设备访问方法包括会话建立过程,具体如下:In a specific embodiment, when the operation command is a session establishment request, the electronic device access method includes a session establishment process, as follows:
步骤301:接收短信网关转发的、来自用户的操作命令短信;Step 301: Receive an operation command short message forwarded by the short message gateway from the user;
步骤302:识别所述操作命令短信,并确定用户的操作命令为会话建立请求;Step 302: Identify the operation command short message, and determine that the operation command of the user is a session establishment request;
步骤303:向用户发送权限鉴别短信; Step 303: Send a rights authentication short message to the user.
步骤304:接收用户发送的权限验证短信;Step 304: Receive a rights verification short message sent by the user.
步骤305:将步骤202中接收的会话建立请求发送到电子设备;Step 305: Send the session establishment request received in step 202 to the electronic device.
步骤306:接收电子设备返回的会话建立成功消息;Step 306: Receive a session establishment success message returned by the electronic device.
步骤307:将会话建立成功消息以短信方式反馈到短信网关,使得短信网关将所述会话建立成功消息短信转发给用户。Step 307: The session establishment success message is fed back to the short message gateway in a short message manner, so that the short message gateway forwards the session establishment success message short message to the user.
在具体实施例中,当在步骤302中确定用户的操作命令为会话建立请求时,存储该会话建立请求,以便后续权限鉴别通过后再次调取所述会话建立请求并将该请求转发到电子设备。In a specific embodiment, when it is determined in step 302 that the operation command of the user is a session establishment request, the session establishment request is stored, so that the subsequent session authentication is passed and the session establishment request is retrieved again and the request is forwarded to the electronic device. .
步骤303、304中的权限鉴别过程与上一实施例中的步骤202、203类似。The rights authentication process in steps 303, 304 is similar to steps 202, 203 in the previous embodiment.
步骤305中,当确定当前用户具有权限时,即接收的权限验证短信通过权限验证后,调取步骤302中所述会话建立请求,并将会话建立请求发送到电子设备,使得电子设备执行会话建立命令。In step 305, when it is determined that the current user has the right, that is, the received right verification short message passes the authority verification, the session establishment request in step 302 is invoked, and the session establishment request is sent to the electronic device, so that the electronic device performs the session establishment. command.
步骤307中,将电子设备发送的会话建立成功消息进行适当的处理,例如删除多余空格符等,调整为方便用户阅读形式,并以短信方式发送、呈现给相应用户。In step 307, the session establishment success message sent by the electronic device is appropriately processed, for example, deleting extra space characters, etc., and is adjusted to facilitate the user to read the form, and is sent and presented to the corresponding user by using a short message.
在一种具体实施例中,当所述操作命令为会话结束请求时,电子设备访问方法包括会话结束过程,具体如下:In a specific embodiment, when the operation command is a session end request, the electronic device access method includes a session end process, as follows:
步骤401:接收短信网关转发的、来自用户的操作命令短信;Step 401: Receive an operation command short message forwarded by the short message gateway from the user;
步骤402:识别所述操作命令短信,并确定用户的操作命令为会话结束请求;Step 402: Identify the operation command short message, and determine that the operation command of the user is a session end request;
步骤403:向用户发送权限鉴别短信;Step 403: Send a rights authentication short message to the user.
步骤404:接收用户发送的权限验证短信;Step 404: Receive a rights verification short message sent by the user.
步骤405:将步骤402中接收的会话结束请求发送到电子设备;Step 405: Send the session end request received in step 402 to the electronic device;
步骤406:接收电子设备返回的会话结束成功消息;Step 406: Receive a session end success message returned by the electronic device.
步骤407:将会话结束成功消息以短信方式反馈到短信网关,使得短信网关将所述会话结束成功消息短信转发给用户。 Step 407: The session end success message is fed back to the short message gateway in a short message manner, so that the short message gateway forwards the session end success message short message to the user.
上述实施例中,操作命令短息识别、权限鉴别、消息转发等于步骤301-307类似且原理相同。In the above embodiment, the operation command short message identification, the rights authentication, and the message forwarding are equal to steps 301-307 and the principles are the same.
在具体实施例中,权限鉴别过程可设置在会话建立、会话进行、会话结束的任意一种过程中,以避免在会话建立、会话进行或会话结束过程中不具备权限的用户对电子设备进行操作。In a specific embodiment, the rights authentication process may be set in any process of session establishment, session progress, and session end to avoid the operation of the electronic device by the user who does not have the permission during the session establishment, the session, or the session end. .
在本发明一些实施例中,所述操作命令为Linux指令、或Unix指令;所述Unix指令包括HP Unix(惠普Unix)指令和AIX(Advanced Interactive eXecutive)指令。In some embodiments of the present invention, the operation command is a Linux instruction or a Unix instruction; the Unix instruction includes an HP Unix (HP Unix) instruction and an AIX (Advanced Interactive eXecutive) instruction.
例如,当所述电子设备为服务器时,若用户希望与服务器建立会话,可发送内容为“Connect”的短信请求建立会话。若用户希望查看文件夹,可发送内容为“LF”的短信请求查阅服务器文件夹。若用户希望查看硬盘大小空间,可发送内容为“df_h”的短信请求查看硬盘空间。若用户希望查看可用内存大小,可发送内容为“free”的短信。For example, when the electronic device is a server, if the user wishes to establish a session with the server, the short message requesting the content of "Connect" may be sent to establish a session. If the user wants to view the folder, he can send a message request with the content "LF" to consult the server folder. If you want to view the hard disk size space, you can send a text message with the content "df_h" to view the hard disk space. If the user wants to view the available memory size, they can send a text message with the content "free".
在一种具体实施例中,用户所发送的短信内容可以为汉字或编码,在收到用户发送的汉字或编码后,查找该汉字或编码对应的操作命令,并将查找到的操作命令发送到电子设备。In a specific embodiment, the content of the short message sent by the user may be a Chinese character or a code. After receiving the Chinese character or code sent by the user, the operation command corresponding to the Chinese character or the code is searched, and the found operation command is sent to Electronic equipment.
从上面所述可以看出,本发明提供的电子设备访问方法,使得用户对服务器、计算机等电子设备可以通过短信进行访问,用户无需直接使用电脑、连接互联网等条件就可以实现对电子设备的一些操作,提高了用户访问电子设备的方便性和灵活性,也提高了用户体验。As can be seen from the above, the electronic device access method provided by the present invention enables a user to access an electronic device such as a server or a computer through a short message, and the user can implement some electronic devices without directly using a computer or connecting to the Internet. The operation improves the convenience and flexibility of the user to access the electronic device, and also improves the user experience.
进一步,本发明提供一种电子设备访问装置,结构如图2所示,包括:Further, the present invention provides an electronic device access device, which has the structure shown in FIG. 2, and includes:
操作命令接收模块201:设置为接收用户发送的操作命令短信,并分析操作命令;The operation command receiving module 201 is configured to receive an operation command short message sent by the user, and analyze the operation command;
操作命令发送模块202:设置为将所述操作命令短信中的操作命令发送到所述电子设备;The operation command sending module 202 is configured to send an operation command in the operation command short message to the electronic device;
执行结果接收模块203:设置为接收所述电子设备执行所述操作命令后返回的执行结果;The execution result receiving module 203 is configured to receive an execution result returned by the electronic device after executing the operation command;
执行结果转发模块204:设置为将所述执行结果以短信方式返回给用户。 The execution result forwarding module 204 is configured to return the execution result to the user in a short message manner.
从上面所述可以看出,本发明提供的电子设备访问装置,能够将用户的操作命令转发给电子设备使其执行所述操作命令,允许用户在不方便使用计算机或使用网络的情况下实现对电子设备的访问。提高用户访问的便捷性以及使用体验。It can be seen from the above that the electronic device access device provided by the present invention can forward the operation command of the user to the electronic device to execute the operation command, and allows the user to implement the operation when the computer is inconvenient to use or use the network. Access to electronic devices. Improve user access and ease of use.
在本发明的一些实施例中,所述操作命令包括会话建立请求;所述执行结果包括会话建立成功消息;In some embodiments of the present invention, the operation command includes a session establishment request; the execution result includes a session establishment success message;
所述操作命令发送模块包括会话建立请求发送单元:设置为向所述电子设备发送会话建立请求,使得所述电子设备与所述用户之间建立会话链路并返回会话建立成功消息;The operation command sending module includes a session establishment request sending unit configured to send a session establishment request to the electronic device, so that the electronic device establishes a session link with the user and returns a session establishment success message;
所述操作命令接收模块包括会话建立成功消息接收单元:设置为接收所述服务器返回的会话建立成功消息。The operation command receiving module includes a session establishment success message receiving unit configured to receive a session establishment success message returned by the server.
在本发明一些实施例中,所述操作命令包括会话结束请求;所述执行结果包括会话结束成功消息;In some embodiments of the present invention, the operation command includes a session end request; the execution result includes a session end success message;
所述操作命令发送模块包括会话结束请求发送单元:设置为向所述电子设备发送会话结束请求,使得所述电子设备与所述用户之间断开会话链路并返回会话结束成功消息;The operation command sending module includes a session end request sending unit configured to send a session end request to the electronic device, so that the electronic device disconnects the session link from the user and returns a session end success message;
所述操作命令接收模块包括会话结束成功消息接收单元:设置为接收所述服务器返回的会话结束成功消息,并将所述会话结束成功消息以短信方式返回给所述用户。The operation command receiving module includes a session end success message receiving unit configured to receive a session end success message returned by the server, and return the session end success message to the user in a short message manner.
仍然参照图2,在本发明一些实施例中,所述装置还包括:Still referring to FIG. 2, in some embodiments of the present invention, the apparatus further includes:
权限判断模块205:设置为判断所述用户是否具有会话权限;The authority determining module 205 is configured to determine whether the user has session rights;
权限确定模块206:设置为当确定所述用户具有会话权限时,向用户返回鉴权成功的消息并继而触发所述操作命令发送模块。The authority determining module 206 is configured to, when determining that the user has the session right, return a message of successful authentication to the user and then trigger the operation command sending module.
在本发明一些实施例中,所述操作命令为Linux指令、或Unix指令。所述Unix指令包括HP Unix(惠普Unix)指令和AIX(Advanced Interactive eXecutive)指令。In some embodiments of the invention, the operational command is a Linux command, or a Unix command. The Unix instructions include HP Unix (HP Unix) instructions and AIX (Advanced Interactive eXecutive) instructions.
综上所述,本发明所提供的电子设备访问方法及装置,能够在用户的操作命令短信后,将其中的操作命令发送到电子设备,使得电子设备执行所述操作命令,方便用户采用移动终端等短信发送设备对电子设备实现快捷访问和操作,解决用户不方便使用网络或不方便使用计算机时访问计算机、服务器等电子设备的问题。 In summary, the method and device for accessing an electronic device provided by the present invention can send an operation command to an electronic device after the operation command message of the user, so that the electronic device executes the operation command, thereby facilitating the user to adopt the mobile terminal. The short message sending device realizes quick access and operation to the electronic device, and solves the problem that the user accesses the electronic device such as the computer or the server when the user is inconvenient to use the network or is inconvenient to use the computer.
应当理解,本说明书所描述的多个实施例仅用于说明和解释本发明,并不用于限定本发明。并且在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。It is to be understood that the various embodiments of the present invention are intended to illustrate and explain the invention. And in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种电子设备访问方法及装置具有以下有益效果:能够在用户的操作命令短信后,将其中的操作命令发送到电子设备,使得电子设备执行所述操作命令,方便用户采用移动终端等短信发送设备对电子设备实现快捷访问和操作 As described above, an electronic device access method and apparatus provided by an embodiment of the present invention have the following beneficial effects: after an operation command message of a user is sent, an operation command is sent to the electronic device, so that the electronic device executes the operation command. It is convenient for users to use the short message sending device such as mobile terminal to realize fast access and operation of electronic devices.

Claims (10)

  1. 一种电子设备访问方法,包括如下步骤:An electronic device access method includes the following steps:
    接收用户发送的操作命令短信,并分析操作命令;Receiving an operation command short message sent by the user, and analyzing the operation command;
    将所述操作命令短信中的操作命令发送到所述电子设备;并接收所述电子设备执行所述操作命令后返回的执行结果;Sending an operation command in the operation command short message to the electronic device; and receiving an execution result returned by the electronic device after executing the operation command;
    将所述执行结果以短信方式返回给用户。The execution result is returned to the user as a short message.
  2. 根据权利要求1所述的方法,其中,所述操作命令包括会话建立请求;所述执行结果包括会话建立成功消息;将所述操作命令短信中的操作命令发送到所述电子设备、并接收所述电子设备执行所述操作命令后返回的执行结果的步骤包括:The method of claim 1, wherein the operation command comprises a session establishment request; the execution result comprises a session establishment success message; transmitting an operation command in the operation command message to the electronic device, and receiving the The steps of the execution result returned by the electronic device after executing the operation command include:
    向所述电子设备发送会话建立请求,使得所述电子设备与所述用户之间建立会话链路并返回会话建立成功消息;Sending a session establishment request to the electronic device, so that the electronic device establishes a session link with the user and returns a session establishment success message;
    接收所述服务器返回的会话建立成功消息。Receiving a session establishment success message returned by the server.
  3. 根据权利要求1所述的方法,其中,所述操作命令包括会话结束请求;所述执行结果包括会话结束成功消息;将所述操作命令短信中的操作命令发送到所述电子设备、并接收所述电子设备执行所述操作命令后返回的执行结果的步骤包括:The method of claim 1, wherein the operation command comprises a session end request; the execution result comprises a session end success message; transmitting an operation command in the operation command message to the electronic device, and receiving the The steps of the execution result returned by the electronic device after executing the operation command include:
    向所述电子设备发送会话结束请求,使得所述电子设备与所述用户之间断开会话链路并返回会话结束成功消息;Transmitting a session end request to the electronic device, causing the electronic device to disconnect the session link from the user and returning a session end success message;
    接收所述服务器返回的会话结束成功消息,并将所述会话结束成功消息以短信方式返回给所述用户。Receiving a session end success message returned by the server, and returning the session end success message to the user in a short message manner.
  4. 根据权利要求1至3中任意一项所述的方法,其中,接收用户发送的操作命令短信之后,还包括:The method according to any one of claims 1 to 3, further comprising: after receiving the operation command short message sent by the user, further comprising:
    判断所述用户是否具有会话权限;Determining whether the user has session rights;
    当确定所述用户具有会话权限时,向用户返回鉴权成功的消息;When it is determined that the user has session rights, returning a message of successful authentication to the user;
    进入所述将所述操作命令短信中的操作命令发送到所述电子设备、并接收所述电子设备执行所述操作命令后返回的执行结果的步骤。 And entering the step of transmitting an operation command in the operation command short message to the electronic device, and receiving an execution result returned by the electronic device after executing the operation command.
  5. 根据权利要求4所述的方法,其中,所述操作命令为Linux指令、或Unix指令。The method of claim 4, wherein the operation command is a Linux instruction, or a Unix instruction.
  6. 一种电子设备访问装置,包括:An electronic device access device includes:
    操作命令接收模块:设置为接收用户发送的操作命令短信,并分析操作命令;The operation command receiving module is configured to receive an operation command short message sent by the user, and analyze the operation command;
    操作命令发送模块:设置为将所述操作命令短信中的操作命令发送到所述电子设备;An operation command sending module: configured to send an operation command in the operation command short message to the electronic device;
    执行结果接收模块:设置为接收所述电子设备执行所述操作命令后返回的执行结果;An execution result receiving module: configured to receive an execution result returned by the electronic device after executing the operation command;
    执行结果转发模块:设置为将所述执行结果以短信方式返回给用户。The execution result forwarding module is configured to return the execution result to the user as a short message.
  7. 根据权利要求6所述的装置,其中,所述操作命令包括会话建立请求;所述执行结果包括会话建立成功消息;The apparatus of claim 6, wherein the operation command comprises a session establishment request; the execution result comprises a session establishment success message;
    所述操作命令发送模块包括会话建立请求发送单元:设置为向所述电子设备发送会话建立请求,使得所述电子设备与所述用户之间建立会话链路并返回会话建立成功消息;The operation command sending module includes a session establishment request sending unit configured to send a session establishment request to the electronic device, so that the electronic device establishes a session link with the user and returns a session establishment success message;
    所述操作命令接收模块包括会话建立成功消息接收单元:设置为接收所述服务器返回的会话建立成功消息。The operation command receiving module includes a session establishment success message receiving unit configured to receive a session establishment success message returned by the server.
  8. 根据权利要求6所述的装置,其中,所述操作命令包括会话结束请求;所述执行结果包括会话结束成功消息;The apparatus of claim 6, wherein the operation command comprises a session end request; the execution result comprises a session end success message;
    所述操作命令发送模块包括会话结束请求发送单元:设置为向所述电子设备发送会话结束请求,使得所述电子设备与所述用户之间断开会话链路并返回会话结束成功消息;The operation command sending module includes a session end request sending unit configured to send a session end request to the electronic device, so that the electronic device disconnects the session link from the user and returns a session end success message;
    所述操作命令接收模块包括会话结束成功消息接收单元:设置为接收所述服务器返回的会话结束成功消息,并将所述会话结束成功消息以短信方式返回给所述用户。The operation command receiving module includes a session end success message receiving unit configured to receive a session end success message returned by the server, and return the session end success message to the user in a short message manner.
  9. 根据权利要求6至8中任意一项所述的装置,其中,所述装置还包括:The apparatus according to any one of claims 6 to 8, wherein the apparatus further comprises:
    权限判断模块:设置为判断所述用户是否具有会话权限;Privilege judgment module: set to determine whether the user has session authority;
    权限确定模块:设置为当确定所述用户具有会话权限时,向用户返回鉴权成功的消息并继而触发所述操作命令发送模块。 The authority determining module is configured to: when determining that the user has the session right, return a message of successful authentication to the user and then trigger the operation command sending module.
  10. 根据权利要求9所述的装置,其中,所述操作命令为Linux指令、或Unix指令。 The apparatus of claim 9, wherein the operation command is a Linux instruction, or a Unix instruction.
PCT/CN2014/089497 2014-08-25 2014-10-24 Method and apparatus for accessing electronic device WO2015117414A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410421277.1 2014-08-25
CN201410421277.1A CN105376436A (en) 2014-08-25 2014-08-25 Electronic device access method and device

Publications (1)

Publication Number Publication Date
WO2015117414A1 true WO2015117414A1 (en) 2015-08-13

Family

ID=53777231

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/089497 WO2015117414A1 (en) 2014-08-25 2014-10-24 Method and apparatus for accessing electronic device

Country Status (2)

Country Link
CN (1) CN105376436A (en)
WO (1) WO2015117414A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567823A (en) * 2003-07-04 2005-01-19 华为技术有限公司 Method for customizing intelligent network services through gateway website
CN101635890A (en) * 2009-07-28 2010-01-27 北京佳讯飞鸿电气股份有限公司 Short message control system of keyed dispatching desk and control method thereof
CN101730123A (en) * 2009-12-22 2010-06-09 中兴通讯股份有限公司 M2M platform system, junction terminal and terminal control method
CN102196013A (en) * 2010-03-16 2011-09-21 袁兰 Method for remotely controlling video playing storage box terminal from mobile phone terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100026440A (en) * 2008-08-29 2010-03-10 전남대학교산학협력단 Device for controlling the equipment by using sms and drving method thereof
CN202014275U (en) * 2011-04-29 2011-10-19 东莞市瑞柯电机有限公司 Remote monitoring device of electric appliance
US9077434B2 (en) * 2013-01-28 2015-07-07 Marlon Zbigniew Kasprzyk Wireless communication apparatus for controlling and monitoring devices remotely
CN103442341A (en) * 2013-08-22 2013-12-11 国家电网公司 Method for controlling intelligent equipment with mobile phone short messages

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567823A (en) * 2003-07-04 2005-01-19 华为技术有限公司 Method for customizing intelligent network services through gateway website
CN101635890A (en) * 2009-07-28 2010-01-27 北京佳讯飞鸿电气股份有限公司 Short message control system of keyed dispatching desk and control method thereof
CN101730123A (en) * 2009-12-22 2010-06-09 中兴通讯股份有限公司 M2M platform system, junction terminal and terminal control method
CN102196013A (en) * 2010-03-16 2011-09-21 袁兰 Method for remotely controlling video playing storage box terminal from mobile phone terminal

Also Published As

Publication number Publication date
CN105376436A (en) 2016-03-02

Similar Documents

Publication Publication Date Title
WO2017024842A1 (en) Internet access authentication method, client, computer storage medium
EP2963884B1 (en) Bidirectional authorization system, client and method
EP2919435B1 (en) Communication terminal and secure log-in method and program
US9240977B2 (en) Techniques for protecting mobile applications
US10021098B2 (en) Account login method, device, and system
US9053306B2 (en) Authentication system, authentication server, service providing server, authentication method, and computer-readable recording medium
JP5375976B2 (en) Authentication method, authentication system, and authentication program
JP5831480B2 (en) Portable information terminal device, program and service use system
KR101541591B1 (en) System and method for single-sign-on in virtual desktop infrastructure environment
JP4820928B1 (en) Authentication system and authentication method
EP2883340A1 (en) Authorization method, apparatus, and system
WO2018058982A1 (en) Control information pushing method and pushing device, intelligent router and server
WO2019040658A1 (en) Hybrid single sign-on for software applications and services using classic and modern identity providers
US9503444B2 (en) System and method for sharing access to a service within a home network
WO2017177691A1 (en) Portal authentication method and system
CN106161475B (en) Method and device for realizing user authentication
WO2015131524A1 (en) Remote access server method and web server
WO2022143174A1 (en) Data transmission method and apparatus, device, storage medium, and computer program product
US10032027B2 (en) Information processing apparatus and program for executing an electronic data in an execution environment
JP2018055582A (en) Communication management program, communication management method and communication management apparatus
WO2015117414A1 (en) Method and apparatus for accessing electronic device
CN111193776B (en) Method, device, equipment and medium for automatically logging in client under cloud desktop environment
JP6055546B2 (en) Authentication apparatus, authentication method, and program
JP2005157822A (en) Communication control device, application server, communication control method, and program
CN116170234B (en) Single sign-on method and system based on virtual account authentication

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14881697

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14881697

Country of ref document: EP

Kind code of ref document: A1