[go: up one dir, main page]

CN107181782A - A kind of method and device by cloud desktop control terminal smart machine - Google Patents

A kind of method and device by cloud desktop control terminal smart machine Download PDF

Info

Publication number
CN107181782A
CN107181782A CN201610139997.8A CN201610139997A CN107181782A CN 107181782 A CN107181782 A CN 107181782A CN 201610139997 A CN201610139997 A CN 201610139997A CN 107181782 A CN107181782 A CN 107181782A
Authority
CN
China
Prior art keywords
cloud desktop
network
access system
public network
connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610139997.8A
Other languages
Chinese (zh)
Inventor
罗贤国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610139997.8A priority Critical patent/CN107181782A/en
Priority to PCT/CN2017/073588 priority patent/WO2017152738A1/en
Publication of CN107181782A publication Critical patent/CN107181782A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or 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/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • 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/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供一种通过云桌面控制终端智能设备的方法及装置,其中应用于云桌面接入系统的方法包括:配置第一公网IP,利用第一公网IP接入公用网络,并根据公用网络建立与终端智能设备接入系统的连接;配置第一私网IP,利用第一私网IP与云桌面建立连接;根据与云桌面建立的连接,接收云桌面发送的控制指令,并将控制指令通过公用网络发送至终端智能设备接入系统,使得终端智能设备接入系统根据控制指令对远程终端智能设备进行控制操作。本发明实施例可以实现将异地远程终端智能设备无缝接入云服务,很好地整合分散的各种终端智能设备资源,提高终端智能设备的利用率,满足云用户的各种应用需求。

The present invention provides a method and device for controlling a terminal intelligent device through a cloud desktop, wherein the method applied to the cloud desktop access system includes: configuring the first public network IP, using the first public network IP to access the public network, and according to the public The network establishes a connection with the terminal smart device access system; configures the first private network IP, and uses the first private network IP to establish a connection with the cloud desktop; receives the control command sent by the cloud desktop according to the connection established with the cloud desktop, and controls the The instruction is sent to the terminal intelligent device access system through the public network, so that the terminal intelligent device access system controls and operates the remote terminal intelligent device according to the control instruction. The embodiments of the present invention can seamlessly connect remote remote terminal smart devices to cloud services, well integrate scattered resources of various terminal smart devices, improve the utilization rate of terminal smart devices, and meet various application requirements of cloud users.

Description

一种通过云桌面控制终端智能设备的方法及装置A method and device for controlling a terminal smart device through a cloud desktop

技术领域technical field

本发明涉及云服务设备接入领域,尤其涉及一种通过云桌面控制终端智能设备的方法及装置。The invention relates to the field of cloud service device access, in particular to a method and device for controlling terminal smart devices through a cloud desktop.

背景技术Background technique

随着云计算、云服务的迅猛发展,出现了云教育、云开发、云调试等新型服务,用户可在云桌面上编写代码、编译、调试,完成整个开发过程。这种方式可以完成常见的开发任务,如在线编程培训等。但嵌入式开发需要物理设备运行、调试代码,并查看设备输出信息,而云桌面不具备这个能力。With the rapid development of cloud computing and cloud services, new services such as cloud education, cloud development, and cloud debugging have emerged. Users can write code, compile, and debug on the cloud desktop to complete the entire development process. This way can complete common development tasks, such as online programming training and so on. However, embedded development requires physical devices to run, debug code, and view device output information, while cloud desktops do not have this capability.

发明内容Contents of the invention

本发明实施例的目的在于提供一种通过云桌面控制终端智能设备的方法及装置,旨在解决现有技术中云桌面无法完成嵌入式开发过程,无法满足云用户的各种应用需求的问题。The purpose of the embodiments of the present invention is to provide a method and device for controlling terminal smart devices through a cloud desktop, aiming at solving the problem in the prior art that the cloud desktop cannot complete the embedded development process and cannot meet various application requirements of cloud users.

本发明实施例提供一种通过云桌面控制终端智能设备的方法,应用于云桌面接入系统,包括:An embodiment of the present invention provides a method for controlling a terminal smart device through a cloud desktop, which is applied to a cloud desktop access system, including:

配置第一公网IP,利用所述第一公网IP接入公用网络,并根据所述公用网络建立与终端智能设备接入系统的连接;Configure the first public network IP, use the first public network IP to access the public network, and establish a connection with the terminal smart device access system according to the public network;

配置第一私网IP,利用所述第一私网IP与云桌面建立连接;Configure the first private network IP, and use the first private network IP to establish a connection with the cloud desktop;

根据与云桌面建立的连接,接收云桌面发送的控制指令,并将所述控制指令通过所述公用网络发送至所述终端智能设备接入系统,使得所述终端智能设备接入系统根据所述控制指令对远程终端智能设备进行控制操作。According to the connection established with the cloud desktop, the control instruction sent by the cloud desktop is received, and the control instruction is sent to the terminal smart device access system through the public network, so that the terminal smart device access system according to the The control command performs control operation on the remote terminal smart device.

其中,所述云桌面接入系统包括:云桌面接入设备和与所述云桌面接入设备连接的云桌面交换机;Wherein, the cloud desktop access system includes: a cloud desktop access device and a cloud desktop switch connected to the cloud desktop access device;

所述利用所述第一公网IP接入公用网络,并根据所述公用网络建立与终端智能设备接入系统的连接,包括:The using the first public network IP to access the public network, and establishing a connection with the terminal smart device access system according to the public network includes:

利用所述云桌面接入设备通过所述第一公网IP建立与所述公用网络的连接;Using the cloud desktop access device to establish a connection with the public network through the first public network IP;

根据所述公用网络建立所述云桌面接入设备与所述终端智能设备接入系统的接入设备的网络连接。Establishing a network connection between the cloud desktop access device and the access device of the terminal smart device access system according to the public network.

其中,所述利用所述第一私网IP与云桌面建立连接,包括:Wherein, said using said first private network IP to establish a connection with the cloud desktop includes:

利用所述云桌面交换机通过所述第一私网IP建立与云桌面之间的私网连接。Using the cloud desktop switch to establish a private network connection with the cloud desktop through the first private network IP.

其中,所述利用所述第一公网IP接入公用网络之前,所述方法还包括:Wherein, before using the first public network IP to access the public network, the method further includes:

根据所述第一公网IP,配置与所述公用网络之间的路由,根据配置的路由,建立与所述公用网络的连接通道。Configuring a route with the public network according to the first public network IP, and establishing a connection channel with the public network according to the configured route.

其中,所述接收云桌面发送的控制指令,并将所述控制指令通过所述公用网络发送至所述终端智能设备接入系统,包括:Wherein, the receiving the control instruction sent by the cloud desktop, and sending the control instruction to the terminal smart device access system through the public network includes:

通过与云桌面之间的私网连接接收云桌面发送的所述控制指令;receiving the control instruction sent by the cloud desktop through a private network connection with the cloud desktop;

将所述控制指令通过所述公用网络发送至所述终端智能设备接入系统的接入设备。and sending the control instruction to the access device of the smart terminal access system through the public network.

本发明实施例还提供一种通过云桌面控制终端智能设备的方法,应用于终端智能设备接入系统,包括:The embodiment of the present invention also provides a method for controlling a terminal smart device through a cloud desktop, which is applied to a terminal smart device access system, including:

配置第二公网IP,利用所述第二公网IP接入公用网络,并根据所述公用网络建立与云桌面接入系统的连接;Configure the second public network IP, utilize the second public network IP to access the public network, and establish a connection with the cloud desktop access system according to the public network;

配置第二私网IP,利用所述第二私网IP与远程终端智能设备建立连接;Configure the second private network IP, and use the second private network IP to establish a connection with the remote terminal smart device;

通过所述公用网络接收由云桌面发送经所述云桌面接入系统转发的控制指令,根据与远程终端智能设备建立的连接关系,依据所述控制指令对远程终端智能设备进行控制操作。The control instruction sent by the cloud desktop and forwarded by the cloud desktop access system is received through the public network, and the remote terminal intelligent device is controlled and operated according to the control instruction according to the connection relationship established with the remote terminal intelligent device.

其中,所述终端智能设备接入系统包括:接入设备,与所述接入设备连接的交换机,与所述交换机连接的终端智能设备网关以及与所述终端智能设备网关连接的终端智能设备接口转换器;Wherein, the terminal smart device access system includes: an access device, a switch connected to the access device, a terminal smart device gateway connected to the switch, and a terminal smart device interface connected to the terminal smart device gateway converter;

所述利用所述第二公网IP接入公用网络,并根据所述公用网络建立与云桌面接入系统的连接,包括:The use of the second public network IP to access the public network, and establishing a connection with the cloud desktop access system according to the public network includes:

利用所述接入设备通过所述第二公网IP建立与所述公用网络的连接;using the access device to establish a connection with the public network through the second public network IP;

根据所述公用网络建立所述接入设备与所述云桌面接入系统的云桌面接入设备的网络连接。Establishing a network connection between the access device and the cloud desktop access device of the cloud desktop access system according to the public network.

其中,所述利用所述第二私网IP与远程终端智能设备建立连接,包括:Wherein, said utilizing said second private network IP to establish a connection with a remote terminal smart device includes:

利用所述交换机通过所述第二私网IP建立与远程终端智能设备之间的私网连接。The switch is used to establish a private network connection with the remote terminal smart device through the second private network IP.

其中,所述方法还包括:Wherein, the method also includes:

建立所述终端智能设备接口转换器与远程终端智能设备之间的连接,根据所述终端智能设备接口转换器与所述终端智能设备网关之间的连接,建立所述终端智能设备网关与远程终端智能设备之间的通路。Establishing a connection between the terminal smart device interface converter and the remote terminal smart device, and establishing the terminal smart device gateway and the remote terminal according to the connection between the terminal smart device interface converter and the terminal smart device gateway The gateway between smart devices.

其中,所述利用所述第二公网IP接入公用网络之前,所述方法还包括:Wherein, before using the second public network IP to access the public network, the method further includes:

根据所述第二公网IP,配置与所述公用网络之间的路由,根据配置的路由,建立与所述公用网络的连接通道。Configuring a route with the public network according to the second public network IP, and establishing a connection channel with the public network according to the configured route.

本发明实施例还提供一种通过云桌面控制终端智能设备的装置,应用于云桌面接入系统,包括:The embodiment of the present invention also provides a device for controlling terminal smart devices through a cloud desktop, which is applied to a cloud desktop access system, including:

第一配置模块,用于配置第一公网IP,利用所述第一公网IP接入公用网络,并根据所述公用网络建立与终端智能设备接入系统的连接;The first configuration module is used to configure the first public network IP, use the first public network IP to access the public network, and establish a connection with the terminal smart device access system according to the public network;

第二配置模块,用于配置第一私网IP,利用所述第一私网IP与云桌面建立连接;The second configuration module is used to configure the first private network IP, and utilizes the first private network IP to establish a connection with the cloud desktop;

接收处理模块,用于根据与云桌面建立的连接,接收云桌面发送的控制指令,并将所述控制指令通过所述公用网络发送至所述终端智能设备接入系统,使得所述终端智能设备接入系统根据所述控制指令对远程终端智能设备进行控制操作。The receiving processing module is configured to receive the control instruction sent by the cloud desktop according to the connection established with the cloud desktop, and send the control instruction to the terminal smart device access system through the public network, so that the terminal smart device The access system controls and operates the remote terminal smart device according to the control instruction.

本发明实施例还提供一种通过云桌面控制终端智能设备的装置,应用于终端智能设备接入系统,包括:The embodiment of the present invention also provides a device for controlling terminal smart devices through a cloud desktop, which is applied to a terminal smart device access system, including:

第三配置模块,用于配置第二公网IP,利用所述第二公网IP接入公用网络,并根据所述公用网络建立与云桌面接入系统的连接;The third configuration module is used to configure the second public network IP, utilizes the second public network IP to access the public network, and establishes a connection with the cloud desktop access system according to the public network;

第四配置模块,用于配置第二私网IP,利用所述第二私网IP与远程终端智能设备建立连接;The fourth configuration module is used to configure the second private network IP, and use the second private network IP to establish a connection with the remote terminal smart device;

接收操作模块,用于通过所述公用网络接收由云桌面发送经所述云桌面接入系统转发的控制指令,根据与远程终端智能设备建立的连接关系,依据所述控制指令对远程终端智能设备进行控制操作。The receiving operation module is used to receive the control instruction sent by the cloud desktop and forwarded by the cloud desktop access system through the public network, and according to the connection relationship established with the remote terminal intelligent device, according to the control instruction to the remote terminal intelligent device Perform control operations.

本发明实施例上述技术方案的有益效果至少包括:The beneficial effects of the above technical solutions of the embodiments of the present invention at least include:

本发明通过公用网络实现云桌面接入系统与终端智能设备接入系统之间的连接,通过私网实现云桌面接入系统与云桌面以及终端智能设备接入系统与远程终端智能设备之间的连接,进而完成云桌面与远程终端智能设备之间的连接。可以使云桌面能在远程终端智能设备上进行开发,运行、调试程序,同时在云桌面上能直接查看远程终端智能设备的输出信息,对远程终端智能设备进行控制。实现将异地远程终端智能设备无缝接入云服务,很好地整合了分散的各种终端智能设备资源,极大提高了终端智能设备的利用率,满足了云用户的各种应用需求。The invention realizes the connection between the cloud desktop access system and the terminal intelligent device access system through the public network, and realizes the connection between the cloud desktop access system and the cloud desktop, the terminal intelligent device access system and the remote terminal intelligent device through the private network. Connect, and then complete the connection between the cloud desktop and the remote terminal smart device. It can enable the cloud desktop to develop, run, and debug programs on the remote terminal smart device, and at the same time, the output information of the remote terminal smart device can be directly viewed on the cloud desktop, and the remote terminal smart device can be controlled. Realize the seamless connection of remote remote terminal smart devices to cloud services, well integrate scattered resources of various terminal smart devices, greatly improve the utilization rate of terminal smart devices, and meet the various application needs of cloud users.

附图说明Description of drawings

图1为本发明实施例的系统组成示意图;Fig. 1 is a schematic diagram of the system composition of an embodiment of the present invention;

图2为本发明实施例的通过云桌面控制终端智能设备的方法示意图一;FIG. 2 is a first schematic diagram of a method for controlling a terminal smart device through a cloud desktop according to an embodiment of the present invention;

图3为本发明实施例的通过云桌面控制终端智能设备的方法示意图二;FIG. 3 is a second schematic diagram of a method for controlling a terminal smart device through a cloud desktop according to an embodiment of the present invention;

图4为本发明实施例的通过云桌面控制终端智能设备的方法示意图三;FIG. 4 is a third schematic diagram of a method for controlling a terminal smart device through a cloud desktop according to an embodiment of the present invention;

图5为本发明实施例的通过云桌面控制终端智能设备的方法示意图四;FIG. 5 is a fourth schematic diagram of a method for controlling a terminal smart device through a cloud desktop according to an embodiment of the present invention;

图6为本发明实施例的云桌面网络接入嵌入式单板网络示意图;FIG. 6 is a schematic diagram of cloud desktop network accessing an embedded single-board network according to an embodiment of the present invention;

图7为本发明实施例的嵌入式单板串口重定向示意图;7 is a schematic diagram of serial port redirection of an embedded single board according to an embodiment of the present invention;

图8为本发明实施例的嵌入式单板电源控制示意图;FIG. 8 is a schematic diagram of embedded single-board power control according to an embodiment of the present invention;

图9为本发明实施例的通过云桌面控制终端智能设备的装置示意图一;FIG. 9 is a first schematic diagram of an apparatus for controlling a terminal smart device through a cloud desktop according to an embodiment of the present invention;

图10为本发明实施例的通过云桌面控制终端智能设备的装置示意图二。FIG. 10 is a second schematic diagram of an apparatus for controlling a terminal smart device through a cloud desktop according to an embodiment of the present invention.

具体实施方式detailed description

为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.

如图1所示,本发明实施例由两个系统构成,一个是云桌面接入系统,由云桌面交换机、云桌面接入设备组成。负责将云桌面接入公用网络,并与远程终端智能设备网络连通,实现云桌面与远程终端智能设备的通讯功能,以便进行信息交互,如:上传、下载文件等。云桌面基于网络通讯功能,实现远程终端智能设备接口重定向,如串口,在云桌面中能直接操作远程终端智能设备的串口,执行命令、输出打印信息等。实际应用中,允许云桌面有多个网络,根据需要进行部署。实际应用中,云桌面交换机与云桌面接入设备可部署在不同网络,但需要保证它们的网络能够保持连通。As shown in FIG. 1 , the embodiment of the present invention consists of two systems, one is a cloud desktop access system, which is composed of a cloud desktop switch and a cloud desktop access device. Responsible for connecting the cloud desktop to the public network and connecting with the remote terminal smart device network, realizing the communication function between the cloud desktop and the remote terminal smart device for information interaction, such as uploading and downloading files, etc. Based on the network communication function, the cloud desktop realizes the redirection of the interface of the remote terminal smart device, such as the serial port. In the cloud desktop, it can directly operate the serial port of the remote terminal smart device, execute commands, output and print information, etc. In practical applications, cloud desktops are allowed to have multiple networks, which can be deployed as needed. In practical applications, the cloud desktop switch and the cloud desktop access device can be deployed on different networks, but it is necessary to ensure that their networks can maintain connectivity.

实施例一Embodiment one

如图2所示,本发明实施例一提供一种应用于云桌面接入系统的通过云桌面控制终端智能设备的方法,包括:As shown in FIG. 2 , Embodiment 1 of the present invention provides a method for controlling a terminal smart device through a cloud desktop applied to a cloud desktop access system, including:

S101、配置第一公网IP,利用第一公网IP接入公用网络,并根据公用网络建立与终端智能设备接入系统的连接;S101. Configure the first public network IP, use the first public network IP to access the public network, and establish a connection with the terminal smart device access system according to the public network;

S102、配置第一私网IP,利用第一私网IP与云桌面建立连接;S102. Configure the first private network IP, and use the first private network IP to establish a connection with the cloud desktop;

S103、根据与云桌面建立的连接,接收云桌面发送的控制指令,并将控制指令通过公用网络发送至终端智能设备接入系统,使得终端智能设备接入系统根据控制指令对远程终端智能设备进行控制操作。S103. According to the connection established with the cloud desktop, receive the control command sent by the cloud desktop, and send the control command to the terminal smart device access system through the public network, so that the terminal smart device access system performs the remote terminal smart device according to the control command control operations.

具体的,云桌面接入系统一方面配置第一公网IP,利用第一公网IP接入公用网络,并利用公用网络与终端智能设备接入系统建立连接,从而实现云桌面接入系统与终端智能设备接入系统之间的连通。另一方面配置第一私网IP,利用第一私网IP与云桌面建立连接,实现云桌面接入系统与云桌面之间的连通。Specifically, on the one hand, the cloud desktop access system configures the first public network IP, uses the first public network IP to access the public network, and uses the public network to establish a connection with the terminal smart device access system, thereby realizing the connection between the cloud desktop access system and Connectivity between terminal smart device access systems. On the other hand, configure the first private network IP, use the first private network IP to establish a connection with the cloud desktop, and realize the connection between the cloud desktop access system and the cloud desktop.

通过第一公网IP和第一私网IP的配置,可以实现云桌面接入系统与终端智能设备接入系统、云桌面与云桌面接入系统之间的连接,进而可以实现云桌面与终端智能设备接入系统之间的连接。Through the configuration of the first public network IP and the first private network IP, the connection between the cloud desktop access system and the terminal smart device access system, between the cloud desktop and the cloud desktop access system can be realized, and then the connection between the cloud desktop and the terminal can be realized. Connectivity between smart device access systems.

云桌面接入系统可以通过第一私网接收云桌面发送的控制指令,将控制指令通过公用网络发送至终端智能设备接入系统,使得终端智能设备接入系统根据接收到的控制指令对远程终端智能设备进行控制操作。The cloud desktop access system can receive the control command sent by the cloud desktop through the first private network, and send the control command to the terminal smart device access system through the public network, so that the terminal smart device access system can control the remote terminal according to the received control command. Smart devices perform control operations.

本发明实施例通过云桌面与终端智能设备接入系统之间的连接,可以使云桌面通过终端智能设备接入系统在远程终端智能设备上进行开发,运行、调试程序,同时在云桌面上能直接查看远程终端智能设备的输出信息,对远程终端智能设备进行控制。实现将异地远程终端智能设备无缝接入云服务,很好地整合了分散的各种终端智能设备资源,极大提高了终端智能设备的利用率,满足了云用户的各种应用需求。In the embodiment of the present invention, through the connection between the cloud desktop and the terminal smart device access system, the cloud desktop can be developed, run, and debugged on the remote terminal smart device through the terminal smart device access system, and at the same time, the cloud desktop can Directly view the output information of the remote terminal smart device and control the remote terminal smart device. Realize the seamless connection of remote remote terminal smart devices to cloud services, well integrate scattered resources of various terminal smart devices, greatly improve the utilization rate of terminal smart devices, and meet the various application needs of cloud users.

实施例二Embodiment two

如图3所示,本发明实施例二提供一种应用于云桌面接入系统的通过云桌面控制终端智能设备的方法,其中,云桌面接入系统包括:云桌面接入设备和与云桌面接入设备连接的云桌面交换机,该方法包括:As shown in Figure 3, Embodiment 2 of the present invention provides a method for controlling terminal smart devices through a cloud desktop applied to a cloud desktop access system, wherein the cloud desktop access system includes: a cloud desktop access device and a cloud desktop The cloud desktop switch connected to the access device, the method includes:

S201、配置第一公网IP,利用云桌面接入设备通过第一公网IP建立与公用网络的连接,根据公用网络建立云桌面接入设备与终端智能设备接入系统的接入设备的网络连接;S201. Configure the first public network IP, use the cloud desktop access device to establish a connection with the public network through the first public network IP, and establish a network between the cloud desktop access device and the access device of the terminal intelligent device access system according to the public network connect;

S202、配置第一私网IP,利用云桌面交换机通过第一私网IP建立与云桌面之间的私网连接;S202. Configure the first private network IP, and use the cloud desktop switch to establish a private network connection with the cloud desktop through the first private network IP;

S203、根据与云桌面建立的连接,接收云桌面发送的控制指令,并将控制指令通过公用网络发送至终端智能设备接入系统,使得终端智能设备接入系统根据控制指令对远程终端智能设备进行控制操作。S203. According to the connection established with the cloud desktop, receive the control command sent by the cloud desktop, and send the control command to the terminal smart device access system through the public network, so that the terminal smart device access system performs the remote terminal smart device according to the control command. control operations.

具体的,根据云桌面接入系统配置的第一公网IP,可以利用云桌面接入设备通过第一公网IP接入公用网络,利用公用网络可以与终端智能设备接入系统的接入设备建立连接,从而实现云桌面接入系统与终端智能设备接入系统之间的连通。根据云桌面接入系统配置的第一私网IP,利用云桌面交换机与云桌面之间建立私网连接,可以实现云桌面接入系统与云桌面之间的连通。Specifically, according to the first public network IP configured in the cloud desktop access system, the cloud desktop access device can be used to access the public network through the first public network IP, and the public network can be used to access the access device of the system with the terminal smart device Establish a connection to realize the connection between the cloud desktop access system and the terminal smart device access system. According to the first private network IP configured by the cloud desktop access system, the connection between the cloud desktop access system and the cloud desktop can be realized by establishing a private network connection between the cloud desktop switch and the cloud desktop.

其中,在步骤S201利用第一公网IP接入公用网络之前,该方法还包括:Wherein, before step S201 using the first public network IP to access the public network, the method further includes:

根据第一公网IP,配置与公用网络之间的路由,根据配置的路由,建立与公用网络的连接通道。通过配置与公用网络之间的路由,建立与公用网络的通路,进而可以通过路由实现与公用网络之间的连接。According to the first public network IP, configure a route with the public network, and establish a connection channel with the public network according to the configured route. By configuring the route with the public network, establish a path with the public network, and then realize the connection with the public network through the route.

通过云桌面接入系统与终端智能设备接入系统的连接以及云桌面接入系统与云桌面之间的连接,实现云桌面与终端智能设备接入系统的连接,云桌面发送的控制指令,经云桌面接入系统与云桌面之间的私网传递至云桌面接入系统,云桌面接入系统接收到控制指令之后,通过与终端智能设备接入系统之间的公网连接,将控制指令发送至终端智能设备接入系统。Through the connection between the cloud desktop access system and the terminal smart device access system and the connection between the cloud desktop access system and the cloud desktop, the connection between the cloud desktop and the terminal smart device access system is realized, and the control commands sent by the cloud desktop are passed through The private network between the cloud desktop access system and the cloud desktop is transmitted to the cloud desktop access system. After receiving the control command, the cloud desktop access system transmits the control command through the public network connection with the terminal smart device access system. Send it to the terminal smart device to access the system.

终端智能设备接入系统在接收到控制指令之后,根据控制指令对远程终端智能设备进行控制操作,从而可以间接实现云桌面对远程终端智能设备的控制。After receiving the control instruction, the terminal smart device access system controls and operates the remote terminal smart device according to the control command, so that the cloud desktop can indirectly control the remote terminal smart device.

需要说明的是,云桌面对远程终端智能设备进行间接控制时,可以完成云桌面与远程终端智能设备之间的数据传输,首先私网数据流在云桌面流出后,传递至云桌面接入系统,然后利用云桌面接入系统与终端智能设备接入系统之间的公网连接,将数据流传递至终端智能设备接入系统,具体为将数据流从云桌面接入设备传递至终端智能设备接入系统的接入设备。It should be noted that when the cloud desktop indirectly controls the remote terminal smart device, it can complete the data transmission between the cloud desktop and the remote terminal smart device. First, after the private network data flow flows out of the cloud desktop, it is transmitted to the cloud desktop access system , and then use the public network connection between the cloud desktop access system and the terminal smart device access system to transfer the data stream to the terminal smart device access system, specifically to transfer the data stream from the cloud desktop access device to the terminal smart device The access device that accesses the system.

根据数据流在云桌面接入设备与终端智能设备接入系统的接入设备之间的传递,可以理解为在云桌面接入设备与终端智能设备接入系统的接入设备之间建立虚拟私有通道,根据云桌面接入设备与终端智能设备接入系统的接入设备之间的虚拟私有通道,实现利用公网来传输私网数据流,使得数据流在云桌面接入系统与终端智能设备接入系统之间传输。According to the transfer of data flow between the cloud desktop access device and the access device of the terminal smart device access system, it can be understood as establishing a virtual private network between the cloud desktop access device and the access device of the terminal smart device access system. Channel, according to the virtual private channel between the cloud desktop access device and the access device of the terminal smart device access system, realizes the use of the public network to transmit the private network data flow, so that the data flow between the cloud desktop access system and the terminal smart device transfer between access systems.

通过云桌面接入设备与终端智能设备接入系统的接入设备之间建立的虚拟私有通道,可以使得终端智能设备接入系统识别出相应的云桌面接入系统,保证数据传输的有效性和可识别性。终端智能设备接入系统接收到数据流之后,传输到远程终端智能设备,实现云桌面与远程终端智能设备之间的数据传输。Through the virtual private channel established between the cloud desktop access device and the access device of the terminal smart device access system, the terminal smart device access system can identify the corresponding cloud desktop access system, ensuring the validity and efficiency of data transmission. recognizability. After the terminal smart device access system receives the data stream, it transmits it to the remote terminal smart device to realize the data transmission between the cloud desktop and the remote terminal smart device.

如图1所示,本发明实施例的另一个系统是终端智能设备接入系统,由交换机、接入设备、终端智能设备网关、终端智能设备接口转换器组成。屏蔽终端智能设备接入细节,从网络层面看,云桌面网络与远程终端智能设备网络直接相连,云用户感知不到远程终端智能设备的具体位置,如同在本地一样。同时云桌面直接使用远程终端智能设备接口,如同使用自身接口一样。接入设备和交换机负责将远程终端智能设备、终端智能设备网关接入到公用网络,并与云桌面网络连通,实现与云桌面的通讯功能,以便信息交互。远程终端智能设备与终端智能设备网关即可部署在在同一网络中,也可部署在不同网络中,根据实际应用决定。终端智能设备网关与终端智能设备接口转换器实现远程终端智能设备接口重定向及远程终端智能设备控制功能,在实际应用中,允许远程终端智能设备接口重定向与远程终端智能设备控制有各自的接口转换器,也允许终端智能设备接口转换器有独立的网络,可与终端智能设备网关通讯即可。在实际应用中,允许存在多个终端智能设备网关、终端智能设备接口转换器。As shown in FIG. 1 , another system of the embodiment of the present invention is a terminal smart device access system, which is composed of a switch, an access device, a terminal smart device gateway, and a terminal smart device interface converter. Shield terminal smart device access details. From a network perspective, the cloud desktop network is directly connected to the remote terminal smart device network, and cloud users cannot perceive the specific location of the remote terminal smart device, just like they are locally. At the same time, the cloud desktop directly uses the remote terminal smart device interface, just like using its own interface. The access device and switch are responsible for connecting remote terminal smart devices and terminal smart device gateways to the public network, and connecting with the cloud desktop network to realize the communication function with the cloud desktop for information exchange. The remote terminal smart device and the terminal smart device gateway can be deployed in the same network or in different networks, depending on the actual application. The terminal smart device gateway and the terminal smart device interface converter realize the remote terminal smart device interface redirection and remote terminal smart device control functions. In practical applications, the remote terminal smart device interface redirection and remote terminal smart device control are allowed to have their own interfaces. The converter also allows the terminal smart device interface converter to have an independent network, and can communicate with the terminal smart device gateway. In practical applications, multiple terminal smart device gateways and terminal smart device interface converters are allowed.

实施例三Embodiment Three

如图4所示,本发明实施例三提供一种应用于终端智能设备接入系统的通过云桌面控制终端智能设备的方法,包括:As shown in FIG. 4, Embodiment 3 of the present invention provides a method for controlling a terminal smart device through a cloud desktop applied to a terminal smart device access system, including:

S301、配置第二公网IP,利用第二公网IP接入公用网络,并根据公用网络建立与云桌面接入系统的连接;S301. Configure the second public network IP, use the second public network IP to access the public network, and establish a connection with the cloud desktop access system according to the public network;

S302、配置第二私网IP,利用第二私网IP与远程终端智能设备建立连接;S302. Configure the second private network IP, and use the second private network IP to establish a connection with the remote terminal smart device;

S303、通过公用网络接收由云桌面发送经云桌面接入系统转发的控制指令,根据与远程终端智能设备建立的连接关系,依据控制指令对远程终端智能设备进行控制操作。S303. Receive the control command sent by the cloud desktop and forwarded by the cloud desktop access system through the public network, and control the remote terminal smart device according to the control command according to the connection relationship established with the remote terminal smart device.

具体的,终端智能设备接入系统一方面配置第二公网IP,利用第二公网IP接入公用网络,并利用公用网络与云桌面接入系统建立连接,从而实现终端智能设备接入系统与云桌面接入系统之间的连通。另一方面配置第二私网IP,利用第二私网IP与远程终端智能设备建立连接,实现终端智能设备接入系统与远程终端智能设备之间的连通。Specifically, on the one hand, the terminal smart device access system configures the second public network IP, uses the second public network IP to access the public network, and uses the public network to establish a connection with the cloud desktop access system, thereby realizing the terminal smart device access system Connectivity with the cloud desktop access system. On the other hand, configure the second private network IP, use the second private network IP to establish a connection with the remote terminal smart device, and realize the connection between the terminal smart device access system and the remote terminal smart device.

通过第二公网IP和第二私网IP的配置,可以实现终端智能设备接入系统与云桌面接入系统、远程终端智能设备与终端智能设备接入系统之间的连接,进而可以实现远程终端智能设备与云桌面接入系统之间的连接。Through the configuration of the second public network IP and the second private network IP, the connection between the terminal intelligent device access system and the cloud desktop access system, the remote terminal intelligent device and the terminal intelligent device access system can be realized, and then the remote The connection between the terminal smart device and the cloud desktop access system.

终端智能设备接入系统可以通过公用网络接收由云桌面发送、经云桌面接入系统通过公用网络转发的控制指令,根据与远程终端智能设备之间的私网连接,并依据接收到的控制指令对远程终端智能设备进行控制操作。The terminal intelligent device access system can receive the control instructions sent by the cloud desktop and forwarded by the cloud desktop access system through the public network through the public network, according to the private network connection with the remote terminal intelligent device, and according to the received control instructions Perform control operations on remote terminal smart devices.

本发明实施例通过远程终端智能设备与云桌面接入系统之间的连接,可以使与云桌面接入系统连接的云桌面通过终端智能设备接入系统在远程终端智能设备上进行开发,运行、调试程序,同时在云桌面上能直接查看远程终端智能设备的输出信息,对远程终端智能设备进行控制。实现将异地远程终端智能设备无缝接入云服务,很好地整合了分散的各种终端智能设备资源,极大提高了终端智能设备的利用率,满足了云用户的各种应用需求。In the embodiment of the present invention, through the connection between the remote terminal smart device and the cloud desktop access system, the cloud desktop connected to the cloud desktop access system can be developed on the remote terminal smart device through the terminal smart device access system, run, Debug the program, and at the same time directly view the output information of the remote terminal smart device on the cloud desktop, and control the remote terminal smart device. Realize the seamless connection of remote remote terminal smart devices to cloud services, well integrate scattered resources of various terminal smart devices, greatly improve the utilization rate of terminal smart devices, and meet the various application needs of cloud users.

实施例四Embodiment four

如图5所示,本发明实施例四提供一种应用于终端智能设备接入系统的通过云桌面控制终端智能设备的方法,其中,终端智能设备接入系统包括:接入设备,与接入设备连接的交换机,与交换机连接的终端智能设备网关以及与终端智能设备网关连接的终端智能设备接口转换器;该方法包括:As shown in FIG. 5 , Embodiment 4 of the present invention provides a method for controlling a terminal smart device through a cloud desktop applied to a terminal smart device access system, wherein the terminal smart device access system includes: an access device, and an access A switch connected to the device, a terminal smart device gateway connected to the switch, and a terminal smart device interface converter connected to the terminal smart device gateway; the method includes:

S401、配置第二公网IP,利用接入设备通过第二公网IP建立与公用网络的连接,根据公用网络建立接入设备与云桌面接入系统的云桌面接入设备的网络连接;S401. Configure the second public network IP, use the access device to establish a connection with the public network through the second public network IP, and establish a network connection between the access device and the cloud desktop access device of the cloud desktop access system according to the public network;

S402、配置第二私网IP,利用交换机通过第二私网IP建立与远程终端智能设备之间的私网连接;S402. Configure the second private network IP, and use the switch to establish a private network connection with the remote terminal smart device through the second private network IP;

S403、通过公用网络接收由云桌面发送经云桌面接入系统转发的控制指令,根据与远程终端智能设备建立的连接关系,依据控制指令对远程终端智能设备进行控制操作。S403. Receive the control command sent by the cloud desktop and forwarded by the cloud desktop access system through the public network, and control the remote terminal smart device according to the control command according to the connection relationship established with the remote terminal smart device.

具体的,根据终端智能设备接入系统配置的第二公网IP,可以利用接入设备通过第二公网IP接入公用网络,利用公用网络可以与云桌面接入系统的云桌面接入设备建立连接,从而实现终端智能设备接入系统与云桌面接入系统之间的连通。根据终端智能设备接入系统配置的第二私网IP,利用交换机与远程终端智能设备之间建立私网连接,可以实现终端智能设备接入系统与远程终端智能设备之间的连通。Specifically, according to the second public network IP configured by the terminal smart device access system, the access device can be used to access the public network through the second public network IP, and the public network can be used to access the cloud desktop access device of the system Establish a connection to realize the connection between the terminal smart device access system and the cloud desktop access system. According to the second private network IP configured by the terminal smart device access system, a private network connection can be established between the switch and the remote terminal smart device to realize the connection between the terminal smart device access system and the remote terminal smart device.

其中,上述方法还包括:Among them, the above method also includes:

建立终端智能设备接口转换器与远程终端智能设备之间的连接,根据终端智能设备接口转换器与终端智能设备网关之间的连接,建立终端智能设备网关与远程终端智能设备之间的通路。Establish a connection between the terminal smart device interface converter and the remote terminal smart device, and establish a path between the terminal smart device gateway and the remote terminal smart device according to the connection between the terminal smart device interface converter and the terminal smart device gateway.

具体的,终端智能设备接口转换器与远程终端智能设备之间的连接为非网络连接,终端智能设备接口转换器与终端智能设备网关之间为网络连接,通过远程终端智能设备与终端智能设备接口转换器的连接,终端智能设备接口转换器与终端智能设备网关之间的连接,实现远程终端智能设备与终端智能设备网关之间的连接。Specifically, the connection between the terminal intelligent device interface converter and the remote terminal intelligent device is a non-network connection, and the connection between the terminal intelligent device interface converter and the terminal intelligent device gateway is a network connection. The connection of the converter, the connection between the terminal smart device interface converter and the terminal smart device gateway, realizes the connection between the remote terminal smart device and the terminal smart device gateway.

由于终端智能设备网关与交换机连接、交换机与接入设备连接、接入设备与公用网络连接,可以实现远程终端智能设备通过公用网络与云桌面接入系统的连接。Since the terminal smart device gateway is connected to the switch, the switch is connected to the access device, and the access device is connected to the public network, the remote terminal smart device can be connected to the cloud desktop access system through the public network.

其中,在步骤S401利用第二公网IP接入公用网络之前,该方法还包括:Wherein, before step S401 using the second public network IP to access the public network, the method further includes:

根据第二公网IP,配置与公用网络之间的路由,根据配置的路由,建立与公用网络的连接通道。通过配置与公用网络之间的路由,建立与公用网络的通路,进而可以通过路由实现与公用网络之间的连接。According to the second public network IP, configure a route with the public network, and establish a connection channel with the public network according to the configured route. By configuring the route with the public network, establish a path with the public network, and then realize the connection with the public network through the route.

通过终端智能设备接入系统与云桌面接入系统的连接以及终端智能设备接入系统与远程终端智能设备之间的连接,实现远程终端智能设备与云桌面接入系统的连接。且云桌面接入系统与云桌面之间通过私网连接,终端智能设备接入系统接收云桌面发送的、经云桌面接入系统转发的控制指令。其中控制指令经云桌面发送,通过云桌面与云桌面接入系统之间的私网传递至云桌面接入系统,然后通过云桌面接入系统与终端智能设备接入系统之间的公网连接,传递至终端智能设备接入系统。终端智能设备接入系统在接收到控制指令之后,根据控制指令对远程终端智能设备进行控制操作,从而可以间接实现云桌面对远程终端智能设备的控制。Through the connection between the terminal smart device access system and the cloud desktop access system and the connection between the terminal smart device access system and the remote terminal smart device, the connection between the remote terminal smart device and the cloud desktop access system is realized. Moreover, the cloud desktop access system and the cloud desktop are connected through a private network, and the terminal smart device access system receives control instructions sent by the cloud desktop and forwarded by the cloud desktop access system. Among them, the control command is sent by the cloud desktop, passed to the cloud desktop access system through the private network between the cloud desktop and the cloud desktop access system, and then connected through the public network between the cloud desktop access system and the terminal smart device access system , and pass it to the terminal smart device access system. After receiving the control instruction, the terminal smart device access system controls and operates the remote terminal smart device according to the control command, so that the cloud desktop can indirectly control the remote terminal smart device.

需要说明的是,云桌面与远程终端智能设备之间可以完成数据传输,首先私网数据流在云桌面流出后,传递至云桌面接入系统,然后利用云桌面接入系统与终端智能设备接入系统之间的公网连接,终端智能设备接入系统接收经云桌面接入系统传递的数据流。具体为终端智能设备接入系统的接入设备接收从云桌面接入设备传递出的数据流。It should be noted that data transmission can be completed between the cloud desktop and the remote terminal smart device. First, after the private network data stream flows out of the cloud desktop, it is transmitted to the cloud desktop access system, and then the cloud desktop access system is used to connect with the terminal smart device. Access the public network connection between the systems, and the terminal smart device access system receives the data stream transmitted through the cloud desktop access system. Specifically, the access device of the terminal intelligent device access system receives the data stream transmitted from the cloud desktop access device.

根据数据流在云桌面接入设备与终端智能设备接入系统的接入设备之间的传递,可以理解为在云桌面接入设备与终端智能设备接入系统的接入设备之间建立有虚拟私有通道,根据云桌面接入设备与终端智能设备接入系统的接入设备之间的虚拟私有通道,实现利用公网来传输私网数据流,使得数据流在云桌面接入系统与终端智能设备接入系统之间传输。According to the transfer of data flow between the cloud desktop access device and the access device of the terminal smart device access system, it can be understood that a virtual network is established between the cloud desktop access device and the access device of the terminal smart device access system. Private channel, according to the virtual private channel between the cloud desktop access device and the access device of the terminal smart device access system, realizes the use of the public network to transmit the private network data stream, so that the data stream is connected between the cloud desktop access system and the terminal smart device Transmission between equipment access systems.

通过云桌面接入设备与终端智能设备接入系统的接入设备之间建立的虚拟私有通道,可以使得终端智能设备接入系统识别出相应的云桌面接入系统,保证数据传输的有效性和可识别性。终端智能设备接入系统接收到数据流之后,传输到远程终端智能设备,实现云桌面与远程终端智能设备之间的数据传输。Through the virtual private channel established between the cloud desktop access device and the access device of the terminal smart device access system, the terminal smart device access system can identify the corresponding cloud desktop access system, ensuring the validity and efficiency of data transmission. recognizability. After the terminal smart device access system receives the data stream, it transmits it to the remote terminal smart device to realize the data transmission between the cloud desktop and the remote terminal smart device.

实施例五Embodiment five

如图6所示,为云桌面网络接入嵌入式单板网络的具体过程,其中,GRE(Generic Routing Encapsulation通用路由封装)是对某些网络层协议(如IP和IPX)的数据报进行封装,使这些被封装的数据报能够在另一个网络层协议(如IP)中传输。GRE是VPN(Virtual Private Network虚拟专用网)的第三层隧道协议,即在协议层之间采用了一种被称之为Tunnel(隧道)的技术。As shown in Figure 6, the specific process of connecting the cloud desktop network to the embedded single-board network, wherein, GRE (Generic Routing Encapsulation) is to encapsulate datagrams of certain network layer protocols (such as IP and IPX) , so that these encapsulated datagrams can be transmitted in another network layer protocol (such as IP). GRE is the third-layer tunneling protocol of VPN (Virtual Private Network), that is, a technology called Tunnel (tunnel) is adopted between the protocol layers.

云桌面接入系统GRE VPN网关配置私有IP地址10.1.1.1(E0/0),该接口通过云桌面交换机接入云桌面IP网络;The GRE VPN gateway of the cloud desktop access system is configured with a private IP address 10.1.1.1 (E0/0), and this interface is connected to the cloud desktop IP network through the cloud desktop switch;

云桌面接入系统GRE VPN网关配置公用IP地址202.1.1.1(S0/0),该接口接入公用网络;The GRE VPN gateway of the cloud desktop access system is configured with a public IP address 202.1.1.1 (S0/0), and this interface is connected to the public network;

云桌面接入系统GRE VPN网关配置GRE VPN隧道IP地址10.1.2.1(Tunnel0),可以理解为,该接口在云桌面网络与嵌入单板网络间建立虚拟私有通道;The GRE VPN gateway of the cloud desktop access system is configured with the GRE VPN tunnel IP address 10.1.2.1 (Tunnel0). It can be understood that this interface establishes a virtual private channel between the cloud desktop network and the embedded single-board network;

云桌面接入系统GRE VPN网关配置目标网络隧道路由,目标网络为10.1.3.0,接口为Tunel0,其中接口10.1.3.1/24对应的网络是10.1.3.0/24;The GRE VPN gateway of the cloud desktop access system configures the target network tunnel route, the target network is 10.1.3.0, the interface is Tunel0, and the network corresponding to interface 10.1.3.1/24 is 10.1.3.0/24;

云桌面接入系统GRE VPN网关配置公用网络203.1.1.0/24路由,接口为S0/0,其中203.1.1.2/24对应的网络是203.1.1.0/24;The GRE VPN gateway of the cloud desktop access system is configured with the public network 203.1.1.0/24 route, the interface is S0/0, and the network corresponding to 203.1.1.2/24 is 203.1.1.0/24;

终端智能设备接入系统GRE VPN网关配置私有IP地址10.1.3.1,该接口通过交换机接入嵌入式单板网络;The terminal smart device access system GRE VPN gateway is configured with a private IP address 10.1.3.1, and this interface is connected to the embedded single-board network through a switch;

终端智能设备接入系统GRE VPN网关配置公用IP地址203.1.1.2,该接口接入公用网络;The terminal smart device access system GRE VPN gateway is configured with a public IP address 203.1.1.2, and this interface is connected to the public network;

终端智能设备接入系统GRE VPN网关配置GRE VPN隧道IP地址10.1.2.2(Tunnel0),可以理解为,该接口在嵌入单板网络与云桌面网络间建立有虚拟私有通道。The GRE VPN gateway of the terminal smart device access system is configured with the GRE VPN tunnel IP address 10.1.2.2 (Tunnel0). It can be understood that this interface establishes a virtual private channel between the embedded single-board network and the cloud desktop network.

终端智能设备接入系统GRE VPN网关配置路由,与云桌面接入系统类似。The terminal smart device access system GRE VPN gateway configures routing, which is similar to the cloud desktop access system.

云桌面接入系统GRE VPN网关接收到云桌面发往嵌入式单板的IP包,进行GRE包封装,选择路由,然后发到公用网络。The GRE VPN gateway of the cloud desktop access system receives the IP packet sent by the cloud desktop to the embedded board, encapsulates the GRE packet, selects a route, and sends it to the public network.

终端智能设备接入系统GRE VPN网关接收到公用网络上的IP包,进行GRE解封装,选择路由,然后发到嵌入式单板网络。The terminal intelligent device access system GRE VPN gateway receives the IP packet on the public network, performs GRE decapsulation, selects the route, and then sends it to the embedded single-board network.

如图7所示,描述了嵌入式单板串口重定向到云桌面的过程,包括:As shown in Figure 7, it describes the process of redirecting the serial port of the embedded board to the cloud desktop, including:

云桌面网络接入嵌入式单板网关网络,方法同图6所述。The cloud desktop network is connected to the embedded single-board gateway network, and the method is the same as that described in Figure 6.

云桌面将嵌入式单板重定向串口指令发给嵌入式单板网关;The cloud desktop sends the embedded single board redirection serial port command to the embedded single board gateway;

嵌入式单板网关接收到单板串口重定向指令后,一方面与云桌面建立一条socket数据通道;另一方面与串口控制器建立一条socket数据通道。After the embedded single-board gateway receives the single-board serial port redirection command, on the one hand, it establishes a socket data channel with the cloud desktop; on the other hand, it establishes a socket data channel with the serial port controller.

嵌入式单板网关通过socket数据通道在云桌面与嵌入式单板间透传串口数据,实现串口重定向,即从云桌面接收到的串口输入数据转发给串口控制器,而从串口控制器接收到的串口输出数据转发到云桌面。The embedded single-board gateway transparently transmits serial port data between the cloud desktop and the embedded single-board through the socket data channel to realize serial port redirection, that is, the serial port input data received from the cloud desktop is forwarded to the serial port controller, and received from the serial port controller The received serial port output data is forwarded to the cloud desktop.

如图8中,描述了嵌入式单板电源控制过程,主要步骤描述如下:As shown in Figure 8, the embedded board power control process is described, and the main steps are described as follows:

云桌面网络接入嵌入式单板网关网络,方法同图6所述。The cloud desktop network is connected to the embedded single-board gateway network, and the method is the same as that described in Figure 6.

云桌面将关闭嵌入式单板电源指令发给嵌入式单板网关。The cloud desktop will send the command to turn off the power supply of the embedded single board to the embedded single board gateway.

嵌入式单板网关接收到关闭单板指令后,与电源控制器建立socket通道。The embedded single-board gateway establishes a socket channel with the power controller after receiving the instruction to close the single-board.

嵌入式单板网关将关闭单板电源指令发给电源控制器。The embedded single-board gateway sends the instruction to turn off the single-board power supply to the power supply controller.

电源控制器关闭单板电源。The power controller turns off the power supply of the single board.

实施例六Embodiment six

本发明实施例六提供一种通过云桌面控制终端智能设备的装置,其中,应用于云桌面接入系统的装置,如图9所示包括:Embodiment 6 of the present invention provides an apparatus for controlling a terminal smart device through a cloud desktop, wherein the apparatus applied to the cloud desktop access system, as shown in FIG. 9 , includes:

第一配置模块10,用于配置第一公网IP,利用第一公网IP接入公用网络,并根据公用网络建立与终端智能设备接入系统的连接;The first configuration module 10 is used to configure the first public network IP, utilize the first public network IP to access the public network, and establish a connection with the terminal smart device access system according to the public network;

第二配置模块20,用于配置第一私网IP,利用第一私网IP与云桌面建立连接;The second configuration module 20 is used to configure the first private network IP, and utilize the first private network IP to establish a connection with the cloud desktop;

接收处理模块30,用于根据与云桌面建立的连接,接收云桌面发送的控制指令,并将控制指令通过公用网络发送至终端智能设备接入系统,使得终端智能设备接入系统根据控制指令对远程终端智能设备进行控制操作。The receiving processing module 30 is configured to receive the control instruction sent by the cloud desktop according to the connection established with the cloud desktop, and send the control instruction to the terminal smart device access system through the public network, so that the terminal smart device access system can The remote terminal smart device performs control operations.

其中,云桌面接入系统包括:云桌面接入设备和与云桌面接入设备连接的云桌面交换机;Wherein, the cloud desktop access system includes: a cloud desktop access device and a cloud desktop switch connected to the cloud desktop access device;

第一配置模块10进一步用于:利用云桌面接入设备通过第一公网IP建立与公用网络的连接;根据公用网络建立云桌面接入设备与终端智能设备接入系统的接入设备的网络连接。The first configuration module 10 is further used to: use the cloud desktop access device to establish a connection with the public network through the first public network IP; set up the network of the cloud desktop access device and the access device of the terminal intelligent device access system according to the public network connect.

其中,第二配置模块20进一步用于:利用云桌面交换机通过第一私网IP建立与云桌面之间的私网连接。Wherein, the second configuration module 20 is further configured to: use the cloud desktop switch to establish a private network connection with the cloud desktop through the first private network IP.

其中,该装置还包括:Among them, the device also includes:

第一配置建立模块40,用于第一配置模块10利用第一公网IP接入公用网络之前,根据第一公网IP,配置与公用网络之间的路由,根据配置的路由,建立与公用网络的连接通道。The first configuration establishment module 40 is used for the first configuration module 10 to configure the route with the public network according to the first public network IP before the first configuration module 10 utilizes the first public network IP to access the public network, and establish a connection with the public network according to the configured route. Network connection channel.

其中,接收处理模块30进一步用于:Wherein, the receiving processing module 30 is further used for:

通过与云桌面之间的私网连接接收云桌面发送的控制指令;将控制指令通过公用网络发送至终端智能设备接入系统的接入设备。Receive the control command sent by the cloud desktop through the private network connection with the cloud desktop; send the control command to the access device of the terminal smart device access system through the public network.

其中,应用于终端智能设备接入系统的装置,如图10所示,包括:Among them, the device applied to the terminal smart device access system, as shown in Figure 10, includes:

第三配置模块50,用于配置第二公网IP,利用第二公网IP接入公用网络,并根据公用网络建立与云桌面接入系统的连接;The third configuration module 50 is used to configure the second public network IP, utilize the second public network IP to access the public network, and establish a connection with the cloud desktop access system according to the public network;

第四配置模块60,用于配置第二私网IP,利用第二私网IP与远程终端智能设备建立连接;The fourth configuration module 60 is used to configure the second private network IP, and use the second private network IP to establish a connection with the remote terminal smart device;

接收操作模块70,用于通过公用网络接收由云桌面发送经云桌面接入系统转发的控制指令,根据与远程终端智能设备建立的连接关系,依据控制指令对远程终端智能设备进行控制操作。The receiving operation module 70 is used to receive the control instruction sent by the cloud desktop and forwarded by the cloud desktop access system through the public network, and control the remote terminal intelligent device according to the control instruction according to the connection relationship established with the remote terminal intelligent device.

其中,终端智能设备接入系统包括:接入设备,与接入设备连接的交换机,与交换机连接的终端智能设备网关以及与终端智能设备网关连接的终端智能设备接口转换器;Among them, the terminal smart device access system includes: access device, a switch connected to the access device, a terminal smart device gateway connected to the switch, and a terminal smart device interface converter connected to the terminal smart device gateway;

第三配置模块50进一步用于:利用接入设备通过第二公网IP建立与公用网络的连接;根据公用网络建立接入设备与云桌面接入系统的云桌面接入设备的网络连接。The third configuration module 50 is further used to: use the access device to establish a connection with the public network through the second public network IP; establish a network connection between the access device and the cloud desktop access device of the cloud desktop access system according to the public network.

其中,第四配置模块60进一步用于:利用交换机通过第二私网IP建立与远程终端智能设备之间的私网连接。Wherein, the fourth configuration module 60 is further configured to: use the switch to establish a private network connection with the remote terminal smart device through the second private network IP.

其中,该装置还包括:Among them, the device also includes:

处理模块80,用于建立终端智能设备接口转换器与远程终端智能设备之间的连接,根据终端智能设备接口转换器与终端智能设备网关之间的连接,建立终端智能设备网关与远程终端智能设备之间的通路。The processing module 80 is configured to establish a connection between the terminal smart device interface converter and the remote terminal smart device, and establish the terminal smart device gateway and the remote terminal smart device according to the connection between the terminal smart device interface converter and the terminal smart device gateway pathway between.

其中,该装置还包括:Among them, the device also includes:

第二配置建立模块90,用于第三配置模块50利用第二公网IP接入公用网络之前,根据第二公网IP,配置与公用网络之间的路由,根据配置的路由,建立与公用网络的连接通道。The second configuration establishment module 90 is used for the third configuration module 50 to configure the route with the public network according to the second public network IP before the third configuration module 50 utilizes the second public network IP to access the public network, and establish a connection with the public network according to the configured route. Network connection channel.

本发明实施例通过公用网络实现云桌面接入系统与终端智能设备接入系统之间的连接,通过私网实现云桌面接入系统与云桌面以及终端智能设备接入系统与远程终端智能设备之间的连接,进而完成云桌面与远程终端智能设备之间的连接。可以使云桌面能在远程终端智能设备上进行开发,运行、调试程序,同时在云桌面上能直接查看远程终端智能设备的输出信息,对远程终端智能设备进行控制。实现将异地远程终端智能设备无缝接入云服务,很好地整合了分散的各种终端智能设备资源,极大提高了终端智能设备的利用率,满足了云用户的各种应用需求。The embodiment of the present invention realizes the connection between the cloud desktop access system and the terminal intelligent device access system through the public network, and realizes the connection between the cloud desktop access system and the cloud desktop and the terminal intelligent device access system and the remote terminal intelligent device through the private network. The connection between the cloud desktop and the remote terminal smart device is completed. It can enable the cloud desktop to develop, run, and debug programs on the remote terminal smart device, and at the same time, the output information of the remote terminal smart device can be directly viewed on the cloud desktop, and the remote terminal smart device can be controlled. Realize the seamless connection of remote remote terminal smart devices to cloud services, well integrate scattered resources of various terminal smart devices, greatly improve the utilization rate of terminal smart devices, and meet the various application needs of cloud users.

需要说明的是,本发明实施例提供的通过云桌面控制终端智能设备的装置是应用上述方法的装置,则上述方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。It should be noted that the device for controlling terminal smart devices through the cloud desktop provided by the embodiment of the present invention is a device applying the above-mentioned method, and all the embodiments of the above-mentioned method are applicable to this device, and can achieve the same or similar beneficial effects .

以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above description is a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.

Claims (12)

1. a kind of method by cloud desktop control terminal smart machine, applied to cloud desktop access system, its It is characterised by, including:
The first public network IP is configured, common network is accessed using first public network IP, and according to described public Network sets up the connection with terminal intelligent equipment access system;
The first private network IP is configured, is set up and is connected with cloud desktop using the first private network IP;
According to the connection set up with cloud desktop, the control instruction that cloud desktop is sent is received, and the control is referred to Order is sent to the terminal intelligent equipment access system by the common network so that the terminal intelligent is set Standby access system is controlled operation according to the control instruction to remote terminal smart machine.
2. according to the method described in claim 1, it is characterised in that the cloud desktop access system includes: Cloud desktop access device and the cloud desktop switch being connected with the cloud desktop access device;
It is described to access common network using first public network IP, and set up and whole according to the common network The connection of smart machine access system is held, including:
The company with the common network is set up by first public network IP using the cloud desktop access device Connect;
Set up the cloud desktop access device according to the common network and accessed with the terminal intelligent equipment and be The network connection of the access device of system.
3. method according to claim 2, it is characterised in that described to utilize the first private network IP Set up and be connected with cloud desktop, including:
Connected using the cloud desktop switch by the first private network IP private networks set up between cloud desktop Connect.
4. according to the method described in claim 1, it is characterised in that described to utilize first public network IP Access before common network, methods described also includes:
According to first public network IP, the route between configuration and the common network, according to the road of configuration By setting up the interface channel with the common network.
5. method according to claim 3, it is characterised in that the control that the reception cloud desktop is sent Instruction, and the control instruction is sent to the terminal intelligent equipment access system by the common network, Including:
It is connected by the private network between cloud desktop and receives the control instruction that cloud desktop is sent;
The control instruction is sent to the terminal intelligent equipment access system by the common network Access device.
6. a kind of method by cloud desktop control terminal smart machine, system is accessed applied to terminal intelligent equipment System, it is characterised in that including:
The second public network IP is configured, common network is accessed using second public network IP, and according to described public Network sets up the connection with cloud desktop access system;
The second private network IP is configured, is set up and is connected with remote terminal smart machine using the second private network IP;
Received by the common network and the control forwarded through the cloud desktop access system is sent by cloud desktop Instruction, according to the annexation set up with remote terminal smart machine, according to the control instruction to long-range whole End smart machine is controlled operation.
7. method according to claim 6, it is characterised in that the terminal intelligent equipment access system Including:Access device, the interchanger being connected with the access device, the terminal intelligence being connected with the interchanger Energy device gateway and the terminal intelligent equipment interface converter being connected with the terminal intelligent device gateway;
It is described to access common network using second public network IP, and set up and cloud according to the common network The connection of desktop access system, including:
The connection with the common network is set up by second public network IP using the access device;
The access device is set up according to the common network and the cloud desktop of the cloud desktop access system connects Enter the network connection of equipment.
8. method according to claim 7, it is characterised in that described to utilize the second private network IP Set up and be connected with remote terminal smart machine, including:
The private set up using the interchanger by the second private network IP between remote terminal smart machine Net connection.
9. method according to claim 7, it is characterised in that methods described also includes:
The connection set up between the terminal intelligent equipment interface converter and remote terminal smart machine, according to Connection between the terminal intelligent equipment interface converter and the terminal intelligent device gateway, sets up described Path between terminal intelligent device gateway and remote terminal smart machine.
10. method according to claim 6, it is characterised in that described to utilize second public network IP Access before common network, methods described also includes:
According to second public network IP, the route between configuration and the common network, according to the road of configuration By setting up the interface channel with the common network.
11. a kind of device by cloud desktop control terminal smart machine, applied to cloud desktop access system, It is characterised in that it includes:
First configuration module, for configuring the first public network IP, common network is accessed using first public network IP Network, and the connection with terminal intelligent equipment access system is set up according to the common network;
Second configuration module, for configuring the first private network IP, is built using the first private network IP with cloud desktop Vertical connection;
Receiving processing module, for according to the connection set up with cloud desktop, the control for receiving the transmission of cloud desktop to refer to Order, and the control instruction is sent to the terminal intelligent equipment access system by the common network, So that the terminal intelligent equipment access system is carried out according to the control instruction to remote terminal smart machine Control operation.
12. a kind of device by cloud desktop control terminal smart machine, applied to the access of terminal intelligent equipment System, it is characterised in that including:
3rd configuration module, for configuring the second public network IP, common network is accessed using second public network IP Network, and the connection with cloud desktop access system is set up according to the common network;
4th configuration module, for configuring the second private network IP, utilizes the second private network IP and remote terminal Smart machine sets up connection;
Operation module is received, is connect for receiving to be sent by cloud desktop by the common network through the cloud desktop Enter the control instruction of system forwards, according to the annexation set up with remote terminal smart machine, according to described Control instruction is controlled operation to remote terminal smart machine.
CN201610139997.8A 2016-03-11 2016-03-11 A kind of method and device by cloud desktop control terminal smart machine Pending CN107181782A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610139997.8A CN107181782A (en) 2016-03-11 2016-03-11 A kind of method and device by cloud desktop control terminal smart machine
PCT/CN2017/073588 WO2017152738A1 (en) 2016-03-11 2017-02-15 Method and apparatus for controlling intelligent terminal device via cloud desktop, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610139997.8A CN107181782A (en) 2016-03-11 2016-03-11 A kind of method and device by cloud desktop control terminal smart machine

Publications (1)

Publication Number Publication Date
CN107181782A true CN107181782A (en) 2017-09-19

Family

ID=59789007

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610139997.8A Pending CN107181782A (en) 2016-03-11 2016-03-11 A kind of method and device by cloud desktop control terminal smart machine

Country Status (2)

Country Link
CN (1) CN107181782A (en)
WO (1) WO2017152738A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166536A (en) * 2019-04-30 2019-08-23 广州微算互联信息技术有限公司 A kind of cloud mobile phone cross-region control method, system, device and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118890391B (en) * 2024-09-26 2024-12-10 四川凝思软件有限公司 Interface redirection method, server, local terminal, device, medium and product

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9749291B2 (en) * 2011-07-15 2017-08-29 International Business Machines Corporation Securing applications on public facing systems
CN103634364B (en) * 2012-08-29 2017-12-29 中兴通讯股份有限公司 A kind of system for realizing remote desktop, method, client and service centre
CN103414605A (en) * 2013-08-14 2013-11-27 上海兆民云计算科技有限公司 Desktop cloud monitoring method based on exchange gateway
CN103595772A (en) * 2013-11-01 2014-02-19 浪潮电子信息产业股份有限公司 Cloud data center network deployment scheme based on virtual router
CN104753930B (en) * 2015-03-17 2016-10-05 成都盛思睿信息技术有限公司 Cloud desktop management system based on security gateway and safety access control method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166536A (en) * 2019-04-30 2019-08-23 广州微算互联信息技术有限公司 A kind of cloud mobile phone cross-region control method, system, device and storage medium

Also Published As

Publication number Publication date
WO2017152738A1 (en) 2017-09-14

Similar Documents

Publication Publication Date Title
CN106059650B (en) The Incorporate network architecture and data transmission method based on SDN and NFV technologies
CN108713309B (en) SD-WAN system, use method of SD-WAN system and related device
JP6611921B2 (en) Terminal interconnection method, apparatus, nonvolatile computer storage medium, and computer program
CN109088820B (en) Cross-device link aggregation method and device, computing device and storage medium
CN103763367A (en) Method and system for designing distributed virtual network in cloud calculating data center
CN106412046A (en) One-station-multi-machine control method, apparatus and system
CN102334112A (en) Method and system for virtual machine networking
CN103441996A (en) Method and system for transmitting files in concurrent mode
US20150163072A1 (en) Virtual Port Extender
CN112769794B (en) Data conversion method and device
CN108616386A (en) A kind of construction method and SDN virtual network environments of SDN virtual network environments
CN106534178B (en) System and method for realizing RapidIO network universal socket
CN106982149A (en) Message mirror-image method and network flow monitoring management system based on SDN
Li et al. 6G cloud-native system: Vision, challenges, architecture framework and enabling technologies
CN109981422A (en) Method for controlling robot by mobile terminal, multi-robot system and mobile terminal
CN107770027A (en) A kind of implementation method that gre tunneling service is provided based on OpenStack frameworks
WO2020114185A1 (en) Communication method and apparatus for cloud robot, storage medium and electronic device
Zhang et al. Cloud based 5G wireless networks
CN108833268B (en) Control system and operation method of variable description equipment of household wireless sensor network
CN107181782A (en) A kind of method and device by cloud desktop control terminal smart machine
CN204989857U (en) Remote control device based on pioneer robot
CN106506306A (en) A kind of method and apparatus of data-message transmission
CN103856526B (en) Method and its terminal device that terminal device passes through PC connections internet
CN116489064B (en) A method and device for constructing a multi-modal network test environment that combines internal and external fields
US11425044B2 (en) DHCP layer 2 relay in VXLAN overlay fabric

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170919

WD01 Invention patent application deemed withdrawn after publication