WO2018184594A1 - 远程控制设备的方法及远程控制系统 - Google Patents

远程控制设备的方法及远程控制系统 Download PDF

Info

Publication number
WO2018184594A1
WO2018184594A1 PCT/CN2018/082183 CN2018082183W WO2018184594A1 WO 2018184594 A1 WO2018184594 A1 WO 2018184594A1 CN 2018082183 W CN2018082183 W CN 2018082183W WO 2018184594 A1 WO2018184594 A1 WO 2018184594A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
proxy
controlled device
proxy server
proxy client
Prior art date
Application number
PCT/CN2018/082183
Other languages
English (en)
French (fr)
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 WO2018184594A1 publication Critical patent/WO2018184594A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present disclosure relates to the field of network communication technologies, and in particular, to a remote control system, and a method of remotely controlling a device applied to the remote control system.
  • a method of remotely controlling a device comprising:
  • the method for remotely controlling a device further includes:
  • the method for remotely controlling a device further includes:
  • the method for remotely controlling a device further includes:
  • the proxy server is activated to start monitoring whether the connection request is received.
  • the method for remotely controlling a device further includes:
  • the current status information is sent to the proxy client by the proxy server.
  • the method for remotely controlling a device further includes:
  • the proxy server listens to the connection request of the proxy client, receives a verification message sent by the proxy client, and verifies the verification information;
  • the method for remotely controlling a device further includes:
  • a plurality of the proxy clients and a corresponding plurality of the input interfaces are provided.
  • a remote control system comprising:
  • control interface is abstracted according to an operation method of a controlled device and a preset requirement
  • An underlying control module configured to implement the function of the control interface
  • a proxy server configured to listen to a connection request of a proxy client, and establish a communication connection with the proxy client when listening to the connection request of the proxy client;
  • the proxy server is further configured to receive an original control command sent by the proxy client, and send the same to the bottom control module by using the control interface;
  • the underlying control module is further configured to convert the original control command into a control instruction for controlling the controlled device and send the control command to the controlled device through a control interface.
  • the remote control system further includes:
  • a security verification module configured to: after the proxy server listens to the connection request of the proxy client, receive a verification information sent by the proxy client, and verify the verification information; and the verification information After the verification is passed, a communication connection between the proxy server and the proxy client is established.
  • the remote control system further includes:
  • a status querying module configured to detect whether a query request sent by the proxy client to query a status of the controlled device is received, and when detecting a status query request of the controlled device, by using the bottom layer control
  • the module and the control interface acquire current state information of the controlled device
  • the current status information is sent to the proxy client by the proxy server.
  • the method for remotely controlling a device receives an original control command by setting a proxy server, and when a plurality of original control commands appear due to the introduction of multiple proxy clients, each original control command first arrives at the proxy server. It is sent to the underlying control module by the proxy server, which can effectively avoid the security problems caused by concurrency control, and the assistance work can be implemented between the proxy clients; on the other hand, because the control interface is set and an underlying layer is set
  • the control module implements the function of the control interface, so that each part of the modules is associated with each other through the control interface, thereby reducing the dependency between the modules; and sending control commands to the controlled device through the control interface and the underlying control module, which is convenient
  • the control device is controlled by various control methods with high flexibility.
  • FIG. 1 schematically shows a flowchart of a method of remotely controlling a device in an exemplary embodiment of the present disclosure
  • FIG. 2 is a timing diagram schematically showing a transmission original control command of a method of remotely controlling a device in an exemplary embodiment of the present disclosure
  • FIG. 3 is a schematic diagram showing a controlled device status update timing diagram of a method of remotely controlling a device in an exemplary embodiment of the present disclosure
  • FIG. 4 is a block diagram showing the structure of a remote control system in an exemplary embodiment of the present disclosure
  • FIG. 5 schematically shows a block diagram of the composition of a local control program in a remote control system in an exemplary embodiment of the present disclosure.
  • the present example embodiment first proposes a method of remotely controlling a device that can be applied to remote control of various devices.
  • Remote control can refer to the ability to operate a remote device using wireless or electrical signals, which are typically performed over a network.
  • One end that issues an operation command may be referred to as a host or a client, and the controlled end may be referred to as a host or server.
  • the method of remotely controlling a device may include the following steps:
  • the original server sends the original control command sent by the proxy client, and sends the original control command to the bottom control module through the control interface.
  • the method first abstracts a control interface according to an operation method of a controlled device and a preset requirement, and provides an underlying control module to implement the function of the control interface according to the controlled device; and then listens to the proxy through the proxy server.
  • a connection request of the client and establishing a communication connection between the proxy client and the proxy server when the connection request is detected, after the communication connection is established, the proxy server receives the original control command sent by the proxy client and passes the
  • the control interface is sent to the bottom control module, and the original control command is converted into a control command for controlling the controlled device by the bottom control module, and sent to the controlled device through the control interface, thereby implementing the Remote control of the controlled device.
  • the present disclosure receives an original control command by setting a proxy server.
  • each original control command first arrives at the proxy server and is sent to the proxy server.
  • the underlying control module can effectively avoid the security problems caused by concurrency control, and the assistance work can be implemented between the proxy clients; on the other hand, the control interface is set and an underlying control module is set to the control interface.
  • the function is implemented, so that each part of the modules is associated with each other through the control interface, and the dependency between the modules is reduced; and the control command is sent to the controlled device through the control interface and the underlying control module, which is convenient for using the plurality of control modes.
  • the controlled device realizes control and has high flexibility.
  • step S1 a control interface is abstracted according to an operation method of the controlled device and a preset requirement.
  • control interface may be a set of device control interfaces or system status query interfaces abstracted according to the characteristics or requirements of the operation method or the requirement conditions preset according to the operation method.
  • the control interface requires streamlined and succinct, and each interface implements a single function.
  • the controlled interface may be a status inquiry interface of the controlled device, a control instruction receiving interface of the controlled device, and the like.
  • the control interface is a defined virtual interface, and dependencies between related modules can be relied upon to achieve decoupling.
  • step S2 an underlying control module is provided according to the controlled device to implement the function of the control interface.
  • the underlying control module may be an implementation of a specific function of the virtual control interface, and the specific implementation technology or implementation method of the underlying control module may be related to a specific device. According to different technical requirements, you can implement your own device control commands and status update logic in the underlying control module.
  • the underlying control module may be configured to implement a function of sending a control instruction to the controlled device; and the bottom state control module may also query current state information of the controlled device; The control module queries the control commands executed by the current device.
  • a proxy server is provided to listen for a connection request of a proxy client, and a communication connection between the proxy server and the proxy client is established when the connection request is intercepted.
  • a proxy server by setting a proxy server, it can be used to listen for connection requests from the proxy client. For example, when an operator wants to establish a remote connection and implement remote control of the controlled device, a connection request can be sent through the proxy client. After receiving the connection request sent by the proxy client, the proxy server receives a connection request of the proxy client, and establishes a communication connection between the proxy client and the proxy server for subsequent data. communication.
  • the method of the remote control device may further include:
  • the proxy server listens to the connection request of the proxy client, it receives a verification message sent by the proxy client, and verifies the verification information. After the verification information is verified, a communication connection between the proxy server and the proxy client is established.
  • the proxy server listens to the connection request of the proxy client, when receiving the connection request of the proxy client, receiving the verification information sent by the proxy client, when the proxy server receives After the verification information is verified, the communication relationship between the proxy server and the proxy client is established.
  • the verification information may be a digital password verification, a picture password verification, or other verification manner, which is not specifically limited in this exemplary embodiment.
  • step S4 the original control command sent by the proxy client is received by the proxy server and sent to the underlying control module through the control interface.
  • the proxy client may send an original control command to the proxy server, where the proxy server is After receiving the original control command, the original control command is sent to the underlying control module through the control interface.
  • step S5 the original control command is converted by the underlying control module into a control command for controlling the controlled device and sent to the controlled device through a control interface.
  • the underlying control module processes the original control command, and generates a control instruction that the controlled device can directly receive and execute, and then The control interface sends the control command to the controlled device, and the controlled device executes the control command to implement remote control.
  • control method may further include: providing, by the proxy client, an input interface to receive the original control command.
  • the proxy client can receive the original control command or the security verification information input by the operator or the user through the input interface, and then send the received information to the proxy server.
  • the above input interface may be a virtual input interface abstracted according to the operation method and the preset requirement, which is not specifically limited in the exemplary embodiment.
  • the upper control method may further include: integrating the bottom control module, the control interface, and the proxy server into a local control program.
  • the local control program may be a local interface device control program of the controlled device, the program may integrate the bottom control module, the control interface, and the proxy server, and rely on the control interface to implement the local control program pair Control device local control operations and status monitoring functions.
  • the foregoing control method may further include: detecting, by the proxy server, whether a query request sent by the proxy client to query a status of the controlled device is received, and receiving the Acquiring current state information of the controlled device through the underlying control module and the control interface when the status query request of the device is controlled; sending the current state information to the proxy client by using the proxy server .
  • the operator or the user may send a status query request to the proxy client for the current working state of the controlled device through the input interface, where the status query request may include the controlled situation of the controlled device.
  • the status query request may include the controlled situation of the controlled device.
  • One or more of information or parameters such as information, control instruction execution information, or operating parameters.
  • the proxy client receives the status query request
  • the status query request is sent to the proxy server, and after receiving the status query request, the proxy server may pass the bottom control module and the The control interface acquires current state information of the controlled device, and returns query information to the proxy client; and the controlled current state information may also be displayed by a local control program.
  • control method may further include: providing a plurality of the proxy clients and a corresponding plurality of the input interfaces.
  • the proxy server may respectively receive original control instructions or status query information of each proxy client, and then send each information to the underlying control module, by the bottom layer
  • the control module and the control interface perform corresponding operations and feedback on various information. In this way, the assistance work between the proxy clients can be realized, and the security problem caused by the concurrency control can be avoided.
  • the local control program When the local control program is started, its integrated proxy server, the underlying control module, and the control interface are simultaneously activated, so that the proxy server starts to monitor whether there is a proxy client sending a connection request to it, waiting for the proxy client to access.
  • the proxy client and the corresponding input interface can also be integrated into a remote control program.
  • the remote control program may start the proxy client, and when the proxy client is started, may automatically send a connection request to the proxy client to try to establish a proxy service with the proxy client.
  • the connection of the terminal after the connection is successful, causes the controlled device to enter the remote control state.
  • Each operator or user can respectively send instruction information such as an original control instruction or a status inquiry request to the local control program through the remote control program to implement remote control of the controlled device.
  • the control mode of the controlled device can be more diverse and flexible; the developer can transparently and easily implement The multi-terminal control of the controlled device, and the user or operator can also get a better user experience.
  • the example embodiment further provides a remote control system, which is applied to remote control of the device.
  • the system may include: a control interface 102, an underlying control module 103, and a proxy server 101, the control The interface 102, the underlying control module 103, and the proxy server 101 can be integrated into the local control program 10. among them:
  • the control interface 102 can be abstracted according to an operation method of a controlled device and a preset requirement.
  • the underlying control module 103 can be used to implement the functions of the control interface 102.
  • the proxy server 101 can be configured to listen for a connection request of a proxy client 201 and establish a communication connection with the proxy client 201 when listening to the connection request of the proxy client 201.
  • the proxy server 101 can also be configured to receive the original control command sent by the proxy client 201 and send it to the underlying control module 103 through the control interface 102.
  • the foregoing remote control system may further include: a security verification module 104.
  • the remote control system may further include: a status query module 105.
  • the status query module 105 may be configured to detect whether a query request sent by the proxy client 201 to query a status of the controlled device is received, and when detecting a status query request of the controlled device, The current state information of the controlled device is obtained by the underlying control module 103 and the control interface 102; the current state information is sent to the proxy client 201 by the proxy server 101.
  • the proxy client 101, the control interface 102, and the underlying control module 103 may be integrated into a local control program 10. And, the above-described security verification module and status inquiry module can be integrated into the local control system.
  • the above proxy client 201 and the corresponding input interface 202 can also be integrated into the remote control program 20.
  • the proxy client 201 and the proxy server 101 may form a C/S structure.
  • the proxy client can be used to implement the transmission of commands and the exchange of status information.
  • modules or units of equipment for action execution are mentioned in the detailed description above, such division is not mandatory. Indeed, in accordance with embodiments of the present disclosure, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one of the modules or units described above may be further divided into multiple modules or units.
  • the technical solution according to an embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network.
  • a non-volatile storage medium which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.
  • a number of instructions are included to cause a computing device (which may be a personal computer, server, mobile terminal, or network device, etc.) to perform a method in accordance with an embodiment of the present disclosure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)
  • Computer And Data Communications (AREA)

Abstract

本公开涉及一种远程控制系统,以及应用于该远程控制系统的远程控制设备的方法。所述方法包括:根据一被控设备的操作方法以及预设需求抽象出一控制接口;根据所述被控设备提供一底层控制模块对所述控制接口的功能进行实现;提供一代理服务端以监听一代理客户端的连接请求,并在监听到所述连接请求时建立所述代理服务端与所述代理客户端的通信连接;通过所述代理服务端接收所述代理客户端发送的原始控制命令并通过所述控制接口发送至所述底层控制模块;通过所述底层控制模块将所述原始控制命令转换为控制所述被控设备的控制指令并通过控制接口发送至所述被控设备。本公开的方法灵活性高,能够实现协助工作的方式。 (图1)

Description

远程控制设备的方法及远程控制系统 技术领域
本公开涉及网络通信技术领域,尤其涉及一种远程控制系统,以及应用于该远程控制系统的远程控制设备的方法。
背景技术
在现有的安全检查设备中,出于操作员操作设备的便利性的角度考虑,在设计初始,大多数对设备采用就近方式进行控制,即操作员在待检查设备的附件对被控设备进行操作。由于工作现场往往不能提供良好的工作环境,使得操作员的安全问题无法得到有效的保证,用户对于设备的操作体验较差。
随着用户不断提出多样化的需求,不乏有要求实现安全检测设备的远程控制和多终端控制功能,这样操作员就可以不必亲临现场,不必工作在繁杂、恶劣环境中,从而提高用户的操作设备的优越感以及提高用户体验。但是,现有的远程控制方法对设备的控制方式往往比较单一。并且,当引入多个控制终端时,由于并发控制而引出的安全性问题也容易出现事故风险。
需要说明的是,在上述背景技术部分公开的信息仅用于加强对本公开的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。
发明内容
本公开的目的在于提供一种远程控制系统,以及应用于该远程控制系统的远程控制设备的方法,进而至少在一定程度上克服由于相关技术的限制和缺陷而导致的一个或者多个问题。
根据本公开的一个方面,提供一种远程控制设备的方法,所述方法包括:
根据一被控设备的操作方法以及预设需求抽象出一控制接口;
根据所述被控设备提供一底层控制模块对所述控制接口的功能进行实现;
提供一代理服务端以监听一代理客户端的连接请求,并在监听到所述连接请求时建立所述代理服务端与所述代理客户端的通信连接;
通过所述代理服务端接收所述代理客户端发送的原始控制命令并通过所述控制接口发送至所述底层控制模块;
通过所述底层控制模块将所述原始控制命令转换为控制所述被控设备的控制指令并通过所述控制接口发送至所述被控设备。
在本公开的一种示例性实施例中,所述的远程控制设备的方法还包括:
通过所述代理客户端提供一输入接口以接收所述原始控制命令。
在本公开的一种示例性实施例中,所述远程控制设备的方法还包括:
将所述底层控制模块、控制接口以及代理服务端集成至一本地控制程序。
在本公开的一种示例性实施例中,所述远程控制设备的方法还包括:
通过所述本地控制程序检测是否接收到一激活操作,并在检测接收到所述激活操作时激活所述代理服务端开始监听是否接收到所述连接请求。
在本公开的一种示例性实施例中,所述远程控制设备的方法还包括:
通过所述代理服务端检测是否接收到所述代理客户端发送的查询所述被控设备的状态的查询请求,
并在接收到所述被控设备的状态查询请求时,通过所述底层控制模块以及所述控制接口获取所述被控设备的当前状态信息;
通过所述代理服务端将所述当前状态信息发送至所述代理客户端。
在本公开的一种示例性实施例中,所述远程控制设备的方法还包括:
在所述代理服务端监听到所述代理客户端的连接请求后,接收所述代理客户端发送的一验证信息,并对所述验证信息进行验证;
在所述验证信息验证通过后,建立所述代理服务端与所述代理客户端的通信连接。
在本公开的一种示例性实施例中,所述远程控制设备的方法还包括:
提供多个所述代理客户端以及对应的多个所述输入接口。
根据本公开的另一个方面,提供一种远程控制系统,所述系统包括:
控制接口,所述控制接口是根据一被控设备的操作方法以及预设需求抽象而出;
底层控制模块,用于对所述控制接口的功能进行实现;
代理服务端,用于监听一代理客户端的连接请求,并在监听接收到所述代理客户端的连接请求时建立与所述代理客户端的通信连接;
其中,所述代理服务端还用于接收所述代理客户端发送的原始控制命令并通过所述控制接口发送至所述底层控制模块;
其中,所述底层控制模块还用于将所述原始控制命令转换为控制所述被控设备的控制指令并通过控制接口发送至所述被控设备。
在本公开的一种示例性实施例中,所述远程控制系统还包括:
安全验证模块,用于在所述代理服务端监听到所述代理客户端的连接请求后,接收所述代理客户端发送的一验证信息,并对所述验证信息进行验证;并在所述验证信息验证通过后,建立所述代理服务端与所述代理客户端的通信连接。
在本公开的一种示例性实施例中,所述远程控制系统还包括:
状态查询模块,用于检测是否接收到所述代理客户端发送的查询所述被控设备的状态的查询请求,并在检测接收到所述被控设备的状态查询请求时,通过所述底层控制模块以及所述控制接口获取所述被控设备的当前状态信息;
通过所述代理服务端将所述当前状态信息发送至所述代理客户端。
由上述技术方案可知,本公开提供的一种远程控制设备的方法,其优点和积极效果在于:
本公开提供的远程控制设备的方法,一方面通过设置代理服务端来接收原始控制命令,当由于引入多个代理客户端而出现多个原始控制命令时,各原始控制命令均先到达代理服务端,在由代理服务端发送至底层控制模块,这样就能够有效的避免并发控制而引发的安全问题,并且各代理客户端之间可以实现协助工作;另一方面,由于设置控制接口并设置一底层控制模块对所述控制接口的功能进行实现,使各部分模块之间通过控制接口实现关联,降低各模块之间的依赖性;并且通过控制接口和底层控制模块向被控设备发送控制指令,便于使用多种控制方式对所述被控设备实现控制,灵活性高。
本公开的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本公开的实践而习得。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示意性示出本公开示例性实施例中远程控制设备的方法的流程图;
图2示意性示出本公开示例性实施例中远程控制设备的方法的发送原始控制命令时序图;
图3示意性示出本公开示例性实施例中远程控制设备的方法的被控设备状态更新时序图;
图4示意性示出本公开示例性实施例中远程控制系统的结构框图;
图5示意性示出本公开示例性实施例中远程控制系统中的本地控制程序的组成框图。
具体实施方式
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本公开的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本公开的技术方案而省略所述特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知技术方案以避免喧宾夺主而使得本公开的各方面变得模糊。
此外,附图仅为本公开的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。
用语“一个”、“一”、“该”和“所述”用以表示存在一个或多个要素/组成部分/等;用语“包括”和“具有”用以表示开放式的包括在内的意思并且是指除了列出的要素/组成部分/等之外还可存在另外的要素/组成部分/等;用语“第一”和“第二”等仅作为标记使用,不是对其对象的数量限制。
本示例实施方式首先提出了一种远程控制设备的方法,可以应用于对各种设备的远程控制。远程控制可以是指利用无线或电信号对远端的设备进行操作的一种能力,远程控制通常通过网络才能进行。发出操作命令的一端可以被称为称为主控端或客户端,而被控制的一端可以称之为被控端或服务器端。参照图1所示,所述的远程控制设备的方法可以包括以下步骤:
S1.根据一被控设备的操作方法以及预设需求抽象出一控制接口;
S2.根据所述被控设备提供一底层控制模块对所述控制接口的功能进行实现;
S3.提供一代理服务端以监听一代理客户端的连接请求,并在监听到所述连接请求时建立所述代理服务端与所述代理客户端的通信连接;
S4.通过所述代理服务端接收所述代理客户端发送的原始控制命令并通过所述控制接口发送至所述底层控制模块;
S5.通过所述底层控制模块将所述原始控制命令转换为控制所述被控设备的控制指令并通过所述控制接口发送至所述被控设备。
其优点和积极效果在于:
该方法首先根据一被控设备的操作方法以及预设需求抽象出一控制接口,并根据所述被控设备提供一底层控制模块对所述控制接口的功能进行实现;然后通过代理服务端监听代理客户端的连接请求,并在监听到所述连接请求时建立代理客户端与代理服务端的通信连接,在建立通信连接后所述代理服务端接收所述代理客户端发送的原始控制命令并通过所述控制接口发送至所述底层控制模块,再通过所述底层控制模块将所述原始控制命令转换为控制所述被控设备的控制指令并通过控制接口发送至所述被控设备,从而实现对所述被控设备的远程控制。
本公开一方面通过设置代理服务端来接收原始控制命令,当由于引入多个代理客户端而出现多个原始控制命令时,各原始控制命令均先到达代理服务端,在由代理服务端发送至底层控制模块,这样就能够有效的避免并发控制而引发的安全问题,并且各代理客户端之间可以实现协助工作;另一方面,由于设置控制接口并设置一底层控制模块对所述控制接口的功能进行实现,使各部分模块之间通过控制接口实现关联,降低各模块之间的依赖性;并且通过控制接口和底层控制模块向被控设备发送控制指令,便于使用多种控制方式对所述被控设备实现控制,灵活性高。
下面,将对本示例实施方式中的远程控制设备的方法进行进一步的说明。
在步骤S1中,根据一被控设备的操作方法以及预设需求抽象出一控制接口。
本示例实施方式中,上述的控制接口可以是根据操作方法的特点或要求,或者是根据操作方法预设的需求条件抽象出来的一组设备控制接口或者系统状态查询接口。该控制接口要求精简干练,每个接口实现的功能明确单一。举例而言,被控接口可以是被控设备的状态查询接口、被控设备的控制指令接收接口等等。该控制接口为一个定义上的虚拟接口,相关模块间的依赖关系可以依靠它来实现解耦。
在步骤S2中,根据所述被控设备提供一底层控制模块对所述控制接口的功能进行实现。
基于上述内容,所述的底层控制模块可以是对上述虚拟控制接口的具体功能的实现,底层控制模块的具体实现技术或实现方法可以与具体所采用的设备有关。根据不同的技术要求,可以在底层控制模块中实现自己的设备控制命令和状态更新逻辑。举例而言,所述的底层控制模块可以用于实现向所述被控设备发送控制指令的功能;也可以通过所述底层控制模块查询所述被控设备的当前状态信息;可以通过所述底层控制模块查询当前设备执行的控制命令等。
在步骤S3中,提供一代理服务端以监听一代理客户端的连接请求,并在监听到所述连接请求时建立所述代理服务端与所述代理客户端的通信连接。
在本示例实施方式中,通过设置一个代理服务端,可以用于监听代理客户端的连接请求。举例而言,当操作员想要建立远程连接并对被控设备实现远程控制时,可以通过代理客户端发送一连接请求。当所述代理服务端监听接收到所述代理客户端发送的连接请求后,接收所述代理客户端的连接请求,并建立所述代理客户端与所述代理服务端的通信连接,用于后续的数据通讯。
根据本公开的一些实施例,为了保证远程控制过程中的通信安全以及数据传输的安全性,本示例实施方式中,上述的远程控制设备的方法还可以包括:
在所述代理服务端监听到所述代理客户端的连接请求后,接收所述代理客户端发送的一验证信息,并对所述验证信息进行验证。在所述验证信息验证通过后,建立所述代理服务端与所述代理客户端的通信连接。
具体而言,当所述代理服务端监听到所述代理客户端的连接请求后,在接收所述代理客户端的连接请求时,接收所述代理客户端发送的验证信息,当所述代理服务端接收该验证信息并通过验证后,再建立所述代理服务端与所述代理客户端的通信联系。所述的验证信息可以采用数字密码验证、图片密码验证或者其他验证方式,本示例性实施例中对此不做特殊限定。通过设置安全验证,可以保证所述代理客户端与所述代理服务端之间的运程控制权,并且在建立通信连接后,能够有效保证数据信息的传输安全。
在步骤S4中,通过所述代理服务端接收所述代理客户端发送的原始控制命令并通过所述控制接口发送至所述底层控制模块。
参考图2所示,当所述代理服务端与所述代理客户端通过安全验证并建立通信连接后,所述代理客户端可以向所述代理服务端发送原始控制命令,所述代理服务端在接收到所述原始控制命令后,将所述原始控制命令通过所述的控制接口发送至底层控制模块。
在步骤S5中,通过所述底层控制模块将所述原始控制命令转换为控制所述被控设备的控制指令并通过控制接口发送至所述被控设备。
在本示例性实施方式中,所述底层控制模块在接收到所述原始控制命令后,对所述原始控制命令进行处理,并生成所述被控设备可以直接接收并执行的控制指令,再经过所述控制接口将所述控制指令发送至被控设备,由被控设备执行所述控制命令实现远程控制。
此外,本示例实施方式中,上述的控制方法还可以包括:通过所述代理客户端提供一输入接口以接收所述原始控制命令。
所述的代理客户端可以通过该输入接口对操作员或用户输入的原始控制命令或安全验证信息进行接收,然后将接收的各信息发送至所述代理服务端。上述的输入接口可以是根据操作方法以及预设需求抽象出的一虚拟输入接口,本示例性实施例中对此不做特 殊限定。
基于上述内容,在本示例实施方式中,上的控制方法还可以包括:将所述底层控制模块、控制接口以及代理服务端集成至一本地控制程序。
上述的本地控制程序可以是所述被控设备的本地界面设备操控程序,该程序可以集成所述底层控制模块、控制接口以及代理服务端,并依赖所述控制接口实现所述本地控制程序对被控设备在本地的控制操作以及状态监视等功能。
同时,可以通过上述的本地控制程序检测是否接收到一激活操作,当检测到所述激活操作时,激活所述代理服务器使其开始工作,同时开始监听是否接收到所述代理客户端的连接请求。
在本实施实施方式中,上述的控制方法还可以包括:通过所述代理服务端检测是否接收到所述代理客户端发送的查询所述被控设备的状态的查询请求,并在接收到所述被控设备的状态查询请求时,通过所述底层控制模块以及所述控制接口获取所述被控设备的当前状态信息;通过所述代理服务端将所述当前状态信息发送至所述代理客户端。
参考图3所示,操作员或用户可以通过输入接口向所述代理客户端发出一被控设备的当前工作状态的状态查询请求,该状态查询请求内可以包含所述被控设备的被控情况信息、控制指令执行情况信息或工作参数等信息或参数的一种或几种。当所述代理客户端接收到状态查询请求时,将该状态查询请求发送至所述代理服务端,所述代理服务端在接收到所述状态查询请求后,可以通过所述底层控制模块以及所述控制接口获取所述被控设备的当前状态信息,并将查询信息返还至所述代理客户端;同时所述被控的当前状态信息也可以通过本地控制程序显示出来。
参考图4所述,上述的控制方法还可以包括:提供多个所述代理客户端以及对应的多个所述输入接口。
当提供多个代理客户端以及输入接口时,所述的代理服务端可以分别接收各个代理客户端的的原始控制指令或状态查询信息,然后将各信息发送至所述底层控制模块,由所述底层控制模块和控制接口对各种信息作出相应的操作和反馈。这样就可以实现各代理客户端之间的协助工作方式,并且避免由于并发控制而带来安全问题。
当本地控制程序启动时,相应的同时启动其集成的代理服务端、底层控制模块以及控制接口,使所述代理服务端开始监听是否存在代理客户端向其发送连接请求,等待代理客户接入。
基于上述内容,同时也可以将所述代理客户端与相对应的输入接口集成为至一远程控制程序。当所述远程控制程序启动时,所述远程控制程序可以启动所述代理客户端,当所述代理客户端启动后,可以自动向所述代理客户端发送连接请求,尝试建立与所述 代理服务端的连接,连接成功后,使所述被控设备进入远程控制状态。各操作员或用户可以分别通过所述的远程控制程序向所述本地控制程序发送原始控制指令或者状态查询请求等指令信息,实现对所述被控设备的远程控制。
基于上述的控制方法,通过将所述本地控制程序集成所述本地控制模块和所述控制接口,可以使所述被控设备的控制方式更加的多样和灵活;开发人员就可以透明、轻松地实现被控设备的多终端控制,而用户或操作员也可以得到较好的用户使用体验。
本示例实施方式还提供了一种远程控制系统,应用于对设备的远程控制,如图4所示,该系统可以包括:控制接口102、底层控制模块103以及代理服务端101,所述的控制接口102、底层控制模块103以及代理服务端101可以集成为本地控制程序10。其中:
所述的控制接口102可以是根据一被控设备的操作方法以及预设需求抽象而出。
所述的底层控制模块103可以用于对所述控制接口102的功能进行实现。
所述的代理服务端101可以用于监听一代理客户端201的连接请求,并在监听接收到所述代理客户端201的连接请求时建立与所述代理客户端201的通信连接。
并且,所述代理服务端101还可以用于接收所述代理客户端201发送的原始控制命令并通过所述控制接口102发送至所述底层控制模块103。
所述的所述底层控制模块103还可以用于将所述原始控制命令转换为控制所述被控设备的控制指令并通过控制接口102发送至所述被控设备。
根据本公开的一些实施例,参考图5所示,在本示例实施方式中,上述的远程控制系统中还可以包括:安全验证模块104。
所述安全验证模块104可以用于在所述代理服务端101监听到所述代理客户端201的连接请求后,接收所述代理客户端201发送的一验证信息,并对所述验证信息进行验证;并在所述验证信息验证通过后,建立所述代理服务端101与所述代理客户端201的通信连接。
根据本公开的一些实施例,参考图5所示,在本示例实施方式中,上述的远程控制系统中还可以包括:状态查询模块105。
所述的状态查询模块105可以用于检测是否接收到所述代理客户端201发送的查询所述被控设备的状态的查询请求,并在检测接收到所述被控设备的状态查询请求时,通过所述底层控制模块103以及所述控制接口102获取所述被控设备的当前状态信息;通过所述代理服务端101将所述当前状态信息发送至所述代理客户端201。
根据本公开的一些实施例,为了优化上述远程控制系统的性能,在本示例性实施方式中,可以将所述代理客户端101、控制接口102以及底层控制模块103集成至一本地控制程序10。并且,可以将上述的安全验证模块和状态查询模块集成至所述本地控制系 统。
同时,也可以将上述代理客户端201以及对应的输入接口202集成为远程控制程序20。所述的代理客户端201与所述的代理服务端101可以组成C/S结构。所述的代理客户端可以用于实现命令的传输以及状态信息的交换。
上述远程控制系统中各模块的具体细节已经在对应的远程控制方法中进行了详细的描述,因此此处不再赘述。
此外,尽管在附图中以特定顺序描述了本公开中方法的各个步骤,但是,这并非要求或者暗示必须按照该特定顺序来执行这些步骤,或是必须执行全部所示的步骤才能实现期望的结果。附加的或备选的,可以省略某些步骤,将多个步骤合并为一个步骤执行,以及/或者将一个步骤分解为多个步骤执行等。
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本公开的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、移动终端、或者网络设备等)执行根据本公开实施方式的方法。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由所附的权利要求指出。

Claims (10)

  1. 一种远程控制设备的方法,其特征在于,所述方法包括:
    根据一被控设备的操作方法以及预设需求抽象出一控制接口;
    根据所述被控设备提供一底层控制模块对所述控制接口的功能进行实现;
    提供一代理服务端以监听一代理客户端的连接请求,并在监听到所述连接请求时建立所述代理服务端与所述代理客户端的通信连接;
    通过所述代理服务端接收所述代理客户端发送的原始控制命令并通过所述控制接口发送至所述底层控制模块;
    通过所述底层控制模块将所述原始控制命令转换为控制所述被控设备的控制指令并通过所述控制接口发送至所述被控设备。
  2. 根据权利要求1所述的远程控制设备的方法,其特征在于,通过所述代理客户端提供一输入接口以接收所述原始控制命令。
  3. 根据权利要求1或2所述的远程控制设备的方法,其特征在于,所述方法还包括:
    将所述底层控制模块、控制接口以及代理服务端集成至一本地控制程序。
  4. 根据权利要求3所述的远程控制设备的方法,其特征在于,所述方法还包括:
    通过所述本地控制程序检测是否接收到一激活操作,并在检测接收到所述激活操作时激活所述代理服务端开始监听是否接收到所述连接请求。
  5. 根据权利要求1所述的远程控制设备的方法,其特征在于,所述方法还包括:
    通过所述代理服务端检测是否接收到所述代理客户端发送的查询所述被控设备的状态的查询请求,
    并在接收到所述被控设备的状态查询请求时,通过所述底层控制模块以及所述控制接口获取所述被控设备的当前状态信息;
    通过所述代理服务端将所述当前状态信息发送至所述代理客户端。
  6. 根据权利要求1所述的远程控制设备的方法,其特征在于,所述方法还包括:
    在所述代理服务端监听到所述代理客户端的连接请求后,接收所述代理客户端发送的一验证信息,并对所述验证信息进行验证;
    在所述验证信息验证通过后,建立所述代理服务端与所述代理客户端的通信连接。
  7. 根据权利要求1所述的远程控制设备的方法,其特征在于,
    提供多个所述代理客户端以及对应的多个所述输入接口。
  8. 一种远程控制系统,其特征在于,包括:
    控制接口,所述控制接口是根据一被控设备的操作方法以及预设需求抽象而出;
    底层控制模块,用于对所述控制接口的功能进行实现;
    代理服务端,用于监听一代理客户端的连接请求,并在监听接收到所述代理客户端的连接请求时建立与所述代理客户端的通信连接;
    其中,所述代理服务端还用于接收所述代理客户端发送的原始控制命令并通过所述控制接口发送至所述底层控制模块;
    其中,所述底层控制模块还用于将所述原始控制命令转换为控制所述被控设备的控制指令并通过所述控制接口发送至所述被控设备。
  9. 根据权利要求8所述的远程控制系统,其特征在于,所述控制系统还包括:
    安全验证模块,用于在所述代理服务端监听到所述代理客户端的连接请求后,接收所述代理客户端发送的一验证信息,并对所述验证信息进行验证;并在所述验证信息验证通过后,建立所述代理服务端与所述代理客户端的通信连接。
  10. 根据权利要求8所述的远程控制系统,其特征在于,所述系统还包括:
    状态查询模块,用于检测是否接收到所述代理客户端发送的查询所述被控设备的状态的查询请求,并在检测接收到所述被控设备的状态查询请求时,通过所述底层控制模块以及所述控制接口获取所述被控设备的当前状态信息;
    通过所述代理服务端将所述当前状态信息发送至所述代理客户端。
PCT/CN2018/082183 2017-04-07 2018-04-08 远程控制设备的方法及远程控制系统 WO2018184594A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710223584.2 2017-04-07
CN201710223584.2A CN106878467B (zh) 2017-04-07 2017-04-07 远程控制设备的方法及远程控制系统

Publications (1)

Publication Number Publication Date
WO2018184594A1 true WO2018184594A1 (zh) 2018-10-11

Family

ID=59160882

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/082183 WO2018184594A1 (zh) 2017-04-07 2018-04-08 远程控制设备的方法及远程控制系统

Country Status (2)

Country Link
CN (1) CN106878467B (zh)
WO (1) WO2018184594A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114625043A (zh) * 2022-02-28 2022-06-14 中国科学院深圳先进技术研究院 基于互联网的设备动作远程控制系统及方法

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878467B (zh) * 2017-04-07 2023-06-16 同方威视技术股份有限公司 远程控制设备的方法及远程控制系统
CN114860326B (zh) * 2022-07-05 2022-10-21 麒麟软件有限公司 操作系统应用服务管理系统及其应用服务管理方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1722663A (zh) * 2004-07-13 2006-01-18 联想(北京)有限公司 一种代理服务器系统及其实现代理通讯的方法
US20100020156A1 (en) * 2002-02-17 2010-01-28 Tamir Berler Method and device for simultaneous multipoint distributing of video, voice and data
CN101997926A (zh) * 2010-11-24 2011-03-30 国电南京自动化股份有限公司 一种基于3g网络的远程维护多终端方法
CN102413068A (zh) * 2011-10-21 2012-04-11 南京邮电大学 一种基于云计算控制物联网终端设备的系统及方法
CN106878467A (zh) * 2017-04-07 2017-06-20 同方威视技术股份有限公司 远程控制设备的方法及远程控制系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2395468A1 (en) * 1999-12-21 2001-06-28 General Instrument Corporation Abstract device driver model for the portability of device drivers across different operating system platforms
WO2009048424A1 (en) * 2007-10-12 2009-04-16 Nanyang Polytechnic Generic remote access of software application
CN105306442B (zh) * 2015-09-17 2018-12-25 物联智慧科技(深圳)有限公司 代理服务器及其指令传输方法
CN105204862A (zh) * 2015-09-29 2015-12-30 上海斐讯数据通信技术有限公司 一种集中处理cli命令的方法
CN105959256B (zh) * 2016-04-15 2019-03-15 烽火通信科技股份有限公司 阻塞cli命令构架下处理非阻塞cli命令的系统及方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100020156A1 (en) * 2002-02-17 2010-01-28 Tamir Berler Method and device for simultaneous multipoint distributing of video, voice and data
CN1722663A (zh) * 2004-07-13 2006-01-18 联想(北京)有限公司 一种代理服务器系统及其实现代理通讯的方法
CN101997926A (zh) * 2010-11-24 2011-03-30 国电南京自动化股份有限公司 一种基于3g网络的远程维护多终端方法
CN102413068A (zh) * 2011-10-21 2012-04-11 南京邮电大学 一种基于云计算控制物联网终端设备的系统及方法
CN106878467A (zh) * 2017-04-07 2017-06-20 同方威视技术股份有限公司 远程控制设备的方法及远程控制系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114625043A (zh) * 2022-02-28 2022-06-14 中国科学院深圳先进技术研究院 基于互联网的设备动作远程控制系统及方法

Also Published As

Publication number Publication date
CN106878467A (zh) 2017-06-20
CN106878467B (zh) 2023-06-16

Similar Documents

Publication Publication Date Title
US9256393B2 (en) Method for remote desktop control by remote host input devices
KR102124510B1 (ko) 앱을 다운로드하는 방법 및 앱을 실행시키는 방법
US9774704B2 (en) Home gateway, cloud server, and method for communication therebetween
US9342326B2 (en) Allocating identified intermediary tasks for requesting virtual machines within a trust sphere on a processing goal
WO2015117367A1 (zh) 远程协助的控制方法及装置
KR101855541B1 (ko) 컴퓨트 클러스터에서의 디버거 런칭 및 첨부 기법
US10268566B2 (en) Debugging in a private cloud environment
WO2018184594A1 (zh) 远程控制设备的方法及远程控制系统
KR102303681B1 (ko) 컴퓨팅 디바이스 사이에서의 디바이스 연관 데이터의 동기화
US20170163691A1 (en) Methods, circuits, apparatus, systems and associated software applications for providing security on one or more servers, including virtual servers
EP3332325B1 (en) Methods, apparatus, and systems for providing access to serial ports of virtual machines in self-deployed virtual applications
JP2013543617A (ja) 複数のリモートサーバへの統一された再接続
KR101996896B1 (ko) 가상 디바이스 드라이버를 이용한 리소스 공유 방법 및 그 전자 디바이스
TWI467378B (zh) 有關網路設備選擇性暫停的方法
CN108206842B (zh) 云桌面远程接入方法和系统
US10582636B2 (en) Server having a dual-mode serial bus port enabling selective access to a baseboard management controller
CN111625496A (zh) 分布式文件系统在虚拟机环境下的部署方法、装置及设备
WO2017045190A1 (zh) 指导终端设备操作的方法、装置和设备
WO2016169375A1 (zh) 一种包括本地组件的代理框架服务系统及方法
WO2012041239A1 (zh) 一种输入工具调用的系统、方法及一种代理设备
US20130151721A1 (en) Remote Session Management
WO2018032953A1 (zh) 一种视窗窗口的共享方法、网关服务器、系统、存储介质
WO2016095449A1 (zh) 一种虚拟桌面的显示方法、终端和存储介质
WO2015067052A1 (zh) 测试命令发送方法、装置及系统
WO2021203343A1 (zh) Web请求处理方法和装置

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: 18780899

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: 18780899

Country of ref document: EP

Kind code of ref document: A1