CN115834684A - Data processing method, cloud desktop system, device and storage medium - Google Patents
Data processing method, cloud desktop system, device and storage medium Download PDFInfo
- Publication number
- CN115834684A CN115834684A CN202211262419.5A CN202211262419A CN115834684A CN 115834684 A CN115834684 A CN 115834684A CN 202211262419 A CN202211262419 A CN 202211262419A CN 115834684 A CN115834684 A CN 115834684A
- Authority
- CN
- China
- Prior art keywords
- network
- cloud desktop
- terminal
- redirection
- cloud
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 28
- 238000000034 method Methods 0.000 claims abstract description 57
- 238000012545 processing Methods 0.000 claims description 66
- 230000005540 biological transmission Effects 0.000 claims description 53
- 238000012546 transfer Methods 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 11
- 238000005516 engineering process Methods 0.000 abstract description 16
- 230000006870 function Effects 0.000 description 20
- 230000008569 process Effects 0.000 description 20
- 238000004891 communication Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 10
- 230000002159 abnormal effect Effects 0.000 description 6
- 230000005856 abnormality Effects 0.000 description 6
- 230000008878 coupling Effects 0.000 description 6
- 238000010168 coupling process Methods 0.000 description 6
- 238000005859 coupling reaction Methods 0.000 description 6
- 239000006227 byproduct Substances 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 239000000047 product Substances 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000005538 encapsulation Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012946 outsourcing Methods 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
本申请实施例涉及云服务技术领域,提供一种数据处理方法、云桌面系统、设备及存储介质,该方法包括:终端接收云桌面服务端通过网络重定向通道提供的云桌面网络请求;其中,云桌面网络请求由终端向云桌面服务端发送的;基于云桌面网络请求对应的网络地址,获取网络反馈数据;其中,网络地址包括终端连接公网的公网地址和/或终端所在本地网络的局域网地址;通过网络重定向通道将网络反馈数据发送至云桌面服务端。本申请实施例实现云侧对端侧网络流量的复用,提高云桌面服务效率。
The embodiment of the present application relates to the field of cloud service technology, and provides a data processing method, cloud desktop system, device, and storage medium. The method includes: the terminal receives a cloud desktop network request provided by the cloud desktop server through a network redirection channel; wherein, The cloud desktop network request is sent by the terminal to the cloud desktop server; based on the network address corresponding to the cloud desktop network request, the network feedback data is obtained; where the network address includes the public network address of the terminal connected to the public network and/or the local network address of the terminal LAN address; send the network feedback data to the cloud desktop server through the network redirection channel. The embodiment of the present application realizes the multiplexing of network traffic from the cloud side to the device side, and improves the service efficiency of the cloud desktop.
Description
技术领域technical field
本申请实施例涉及云服务技术领域,更具体地涉及一种数据处理方法、云桌面系统、设备及存储介质。The embodiment of the present application relates to the technical field of cloud services, and more specifically relates to a data processing method, a cloud desktop system, a device, and a storage medium.
背景技术Background technique
云桌面,是基于对计算机硬件资源实施虚拟化技术,使其被虚拟成多个虚拟计算机,并在虚拟计算机上可以直接运行未经任何改动的桌面操作系统。同时,云桌面还提供支持类虚拟化技术的操作系统,虚拟化应用可直接运行于该桌面操作系统之上。Cloud desktop is based on the virtualization technology of computer hardware resources, so that it can be virtualized into multiple virtual computers, and the desktop operating system without any modification can be directly run on the virtual computers. At the same time, the cloud desktop also provides an operating system that supports similar virtualization technology, and virtualized applications can run directly on the desktop operating system.
云桌面本身为端侧产品,目前云桌面应用主要使用云侧的网络服务。相关技术中,若云侧出现公网访问受限,或公网访问支出过大等情况可能会导致云桌面应用的服务出现异常。The cloud desktop itself is a device-side product. Currently, cloud desktop applications mainly use cloud-side network services. In the related technology, if the public network access is restricted on the cloud side, or the public network access expenditure is too large, etc., the service of the cloud desktop application may be abnormal.
发明内容Contents of the invention
本申请实施例提供一种数据处理方法、云桌面系统、设备及存储介质,能够实现云侧对端侧网络流量的复用,节省云侧的网络开支,提高云桌面服务效率。Embodiments of the present application provide a data processing method, cloud desktop system, device, and storage medium, which can realize multiplexing of network traffic from the cloud side to the device side, save network expenses on the cloud side, and improve cloud desktop service efficiency.
第一方面,本申请实施例从终端角度提供一种数据处理方法,所述方法应用于终端,所述方法包括:In the first aspect, the embodiment of the present application provides a data processing method from the perspective of a terminal, the method is applied to a terminal, and the method includes:
接收云桌面服务端通过网络重定向通道提供的云桌面网络请求;其中,所述云桌面网络请求由所述终端向所述云桌面服务端发送的;Receiving a cloud desktop network request provided by the cloud desktop server through a network redirection channel; wherein, the cloud desktop network request is sent by the terminal to the cloud desktop server;
基于所述云桌面网络请求对应的网络地址,获取网络反馈数据;其中,所述网络地址包括终端连接公网的公网地址和/或所述终端所在本地网络的局域网地址;Obtain network feedback data based on the network address corresponding to the cloud desktop network request; wherein the network address includes a public network address of the terminal connected to the public network and/or a local area network address of the local network where the terminal is located;
通过所述网络重定向通道将所述网络反馈数据发送至所述云桌面服务端。Sending the network feedback data to the cloud desktop server through the network redirection channel.
第二方面,本申请实施例从云桌面服务端角度提供一种数据处理方法,所述方法应用于云桌面服务端,所述方法包括:In the second aspect, the embodiment of the present application provides a data processing method from the perspective of the cloud desktop server, the method is applied to the cloud desktop server, and the method includes:
接收终端提供的云桌面网络请求;Receive the cloud desktop network request provided by the terminal;
通过网络重定向通道向所述终端重定向传输所述云桌面网络请求;Redirecting and transmitting the cloud desktop network request to the terminal through a network redirection channel;
接收所述终端通过所述网络重定向通道提供的网络反馈数据,其中,所述网络反馈数据由所述终端基于所述云桌面网络请求对应的网络地址得到的,所述网络地址包括终端连接公网的公网地址和/或所述终端所在本地网络的局域网地址。receiving network feedback data provided by the terminal through the network redirection channel, wherein the network feedback data is obtained by the terminal based on a network address corresponding to the cloud desktop network request, and the network address includes a terminal connection public address The public network address of the network and/or the local area network address of the local network where the terminal is located.
第三方面,本申请实施例提供一种云桌面系统,所述系统包括:终端和云桌面服务端;In a third aspect, an embodiment of the present application provides a cloud desktop system, the system comprising: a terminal and a cloud desktop server;
所述云桌面服务端,用于接收终端提供的云桌面网络请求;通过网络重定向通道向所述终端重定向传输所述云桌面网络请求;The cloud desktop service end is used to receive the cloud desktop network request provided by the terminal; redirect and transmit the cloud desktop network request to the terminal through a network redirection channel;
所述终端,用于接收云桌面服务端通过网络重定向通道提供的云桌面网络请求;基于所述云桌面网络请求对应的网络地址,获取网络反馈数据;其中,所述网络地址包括终端连接公网的公网地址和/或所述终端所在本地网络的局域网地址;通过所述网络重定向通道将所述网络反馈数据发送至所述云桌面服务端;The terminal is configured to receive a cloud desktop network request provided by the cloud desktop server through a network redirection channel; obtain network feedback data based on a network address corresponding to the cloud desktop network request; wherein the network address includes a terminal connection public address The public network address of the network and/or the local area network address of the local network where the terminal is located; the network feedback data is sent to the cloud desktop server through the network redirection channel;
所述云桌面服务端,还用于接收所述终端通过所述网络重定向通道提供的网络反馈数据,其中,所述网络反馈数据由所述终端基于所述云桌面网络请求对应的网络地址得到的,所述网络地址包括终端连接公网的公网地址和/或所述终端所在本地网络的局域网地址。The cloud desktop server is further configured to receive network feedback data provided by the terminal through the network redirection channel, wherein the network feedback data is obtained by the terminal based on the network address corresponding to the cloud desktop network request Yes, the network address includes the public network address of the terminal connected to the public network and/or the local area network address of the local network where the terminal is located.
第四方面,本申请实施例提供一种数据处理装置,具有实现对应于上述第一方面提供的数据处理方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块,所述模块可以是软件和/或硬件。In a fourth aspect, the embodiment of the present application provides a data processing device, which has a function of implementing the data processing method corresponding to the above-mentioned first aspect. The functions described above may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. Hardware or software includes one or more modules corresponding to the above functions, and the modules may be software and/or hardware.
在一个实施方式中,该装置包括:In one embodiment, the device comprises:
收发模块,被配置为接收云桌面服务端通过网络重定向通道提供的云桌面网络请求;其中,所述云桌面网络请求由终端向所述云桌面服务端发送的;The transceiver module is configured to receive a cloud desktop network request provided by the cloud desktop server through a network redirection channel; wherein, the cloud desktop network request is sent by the terminal to the cloud desktop server;
处理模块,被配置为基于所述云桌面网络请求对应的网络地址,获取网络反馈数据;其中,所述网络地址包括终端连接公网的公网地址和/或所述终端所在本地网络的局域网地址;通过所述网络重定向通道将所述网络反馈数据发送至所述云桌面服务端。The processing module is configured to obtain network feedback data based on the network address corresponding to the cloud desktop network request; wherein the network address includes a public network address of the terminal connected to the public network and/or a local area network address of the local network where the terminal is located ; sending the network feedback data to the cloud desktop server through the network redirection channel.
第五方面,本申请实施例提供一种数据处理装置,具有实现对应于上述第二方面提供的数据处理方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块,所述模块可以是软件和/或硬件。In a fifth aspect, the embodiment of the present application provides a data processing device, which has a function of implementing the data processing method corresponding to the above-mentioned second aspect. The functions described above may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. Hardware or software includes one or more modules corresponding to the above functions, and the modules may be software and/or hardware.
在一个实施方式中,该装置包括:In one embodiment, the device comprises:
收发模块,被配置为接收终端提供的云桌面网络请求;The transceiver module is configured to receive the cloud desktop network request provided by the terminal;
处理模块,被配置为通过网络重定向通道向所述终端重定向传输所述云桌面网络请求;The processing module is configured to redirect and transmit the cloud desktop network request to the terminal through a network redirection channel;
收发模块,被配置为接收所述终端通过所述网络重定向通道提供的网络反馈数据,其中,所述网络反馈数据由所述终端基于所述云桌面网络请求对应的网络地址得到的,所述网络地址包括终端连接公网的公网地址和/或所述终端所在本地网络的局域网地址。The transceiver module is configured to receive the network feedback data provided by the terminal through the network redirection channel, wherein the network feedback data is obtained by the terminal based on the network address corresponding to the cloud desktop network request, the The network address includes the public address of the terminal connected to the public network and/or the local area network address of the local network where the terminal is located.
第六方面,本申请实施例提供一种计算机可读存储介质,其包括指令,当其在计算机上运行时,使得计算机执行第一方面中所述的数据处理方法,或执行第二方面中所述的数据处理方法。In the sixth aspect, the embodiment of the present application provides a computer-readable storage medium, which includes instructions, which, when run on a computer, cause the computer to execute the data processing method described in the first aspect, or execute the data processing method described in the second aspect. The data processing method described above.
第七方面,本申请实施例提供一种计算设备,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现第一方面中所述的数据处理方法,或实现第二方面中所述的数据处理方法。In a seventh aspect, the embodiment of the present application provides a computing device, including a memory, a processor, and a computer program stored in the memory and operable on the processor, wherein the processor implements the first computer program when executing the computer program. The data processing method described in the first aspect, or implement the data processing method described in the second aspect.
相较于现有技术,本申请实施例中,云桌面服务端接收到终端提供云桌面网络请求之后,将相关技术中由自身处理的云桌面网络请求,通过云桌面服务端与终端之间的网络重定向通道,重定向传输给终端。进而,终端接收云桌面服务端通过网络重定向通道提供的云桌面网络请求,基于云桌面网络请求对应的网络地址获取网络反馈数据。其中,网络地址包括终端连接公网的公网地址和/或终端所在本地网络的局域网地址。最终,终端通过网络重定向通道将网络反馈数据发送至云桌面服务端。由于本申请中云桌面服务端通过将云桌面网络请求重定向至终端侧,利用终端的端侧网络获取到网络反馈数据,从而使得云桌面服务端能够复用端侧网络流量,有效避免因云侧所连接的公网网络异常导致应用服务异常的问题,提高云桌面系统的使用效率。此外,上述方案还可通过对端侧网络的复用,还可节省云桌面中云侧的网络开支。Compared with the prior art, in the embodiment of the present application, after the cloud desktop server receives the cloud desktop network request from the terminal, it passes the cloud desktop network request processed by itself in the related art through the communication between the cloud desktop server and the terminal. Network redirection channel, redirecting transmission to the terminal. Furthermore, the terminal receives the cloud desktop network request provided by the cloud desktop server through the network redirection channel, and obtains network feedback data based on the network address corresponding to the cloud desktop network request. Wherein, the network address includes the public network address of the terminal connected to the public network and/or the local area network address of the local network where the terminal is located. Finally, the terminal sends the network feedback data to the cloud desktop server through the network redirection channel. In this application, the cloud desktop server redirects the cloud desktop network request to the terminal side, and uses the terminal side network to obtain network feedback data, so that the cloud desktop server can reuse the terminal side network traffic, effectively avoiding the The abnormality of the public network connected to the side leads to the abnormality of application services, and improves the utilization efficiency of the cloud desktop system. In addition, the above solution can also save network expenses on the cloud side in the cloud desktop by multiplexing the end-side network.
附图说明Description of drawings
通过参考附图阅读本申请实施例的详细描述,本申请实施例的目的、特征和优点将变得易于理解。其中:The objects, features and advantages of the embodiments of the present application will become easy to understand by reading the detailed description of the embodiments of the present application with reference to the accompanying drawings. in:
图1为本申请实施例中一种云桌面系统的示意图;Fig. 1 is the schematic diagram of a kind of cloud desktop system in the embodiment of the present application;
图2a为本申请实施例的一种数据处理方法的流程示意图;FIG. 2a is a schematic flow diagram of a data processing method according to an embodiment of the present application;
图2b为本申请实施例的另一种数据处理方法的流程示意图;Fig. 2b is a schematic flow chart of another data processing method according to the embodiment of the present application;
图3为本申请实施例的一种数据处理装置的结构示意图;FIG. 3 is a schematic structural diagram of a data processing device according to an embodiment of the present application;
图4为本申请实施例的又一种数据处理装置的结构示意图;FIG. 4 is a schematic structural diagram of another data processing device according to an embodiment of the present application;
图5为本申请实施例的计算设备的一种结构示意图;FIG. 5 is a schematic structural diagram of a computing device according to an embodiment of the present application;
图6为本申请实施例中服务器的一种结构示意图。FIG. 6 is a schematic structural diagram of a server in an embodiment of the present application.
在附图中,相同或对应的标号表示相同或对应的部分。In the drawings, the same or corresponding reference numerals denote the same or corresponding parts.
具体实施方式Detailed ways
本申请实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或模块的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或模块,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或模块,本申请实施例中所出现的模块的划分,仅仅是一种逻辑上的划分,实际应用中实现时可以有另外的划分方式,例如多个模块可以结合成或集成在另一个系统中,或一些特征可以忽略,或不执行。另外,所显示的或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,模块之间的间接耦合,通信连接可以是电性或其他类似的形式,本申请实施例中均不作限定。并且,作为分离部件说明的模块或子模块可以是也可以不是物理上的分离,可以是也可以不是物理模块,或者可以分布到多个电路模块中,可以根据实际的需要选择其中的部分或全部模块来实现本申请实施例方案的目的。The terms "first" and "second" in the description and claims of the embodiments of the present application and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or modules is not necessarily limited to the expressly listed Those steps or modules, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or equipment. The division of modules that appear in the embodiments of the present application is only a logical In actual application, there may be another division method, for example, multiple modules may be combined or integrated into another system, or some features may be ignored or not implemented. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, the indirect coupling between modules, and the communication connection may be electrical or other similar forms. Not limited. Moreover, the modules or sub-modules described as separate components may or may not be physically separated, may or may not be physical modules, or may be distributed into multiple circuit modules, and some or all of them may be selected according to actual needs module to achieve the purpose of the embodiment of the application.
本申请实施例提供一种数据处理方法,可应用于云服务场景,涉及至少两个设备。例如,一个设备包括一个终端,另一个设备包括一个云桌面服务端。例如,终端和云桌面服务端均归属于云桌面系统。在云桌面系统中,所述云桌面服务端接收终端提供的云桌面网络请求,通过网络重定向通道向所述终端重定向传输所述云桌面网络请求。所述终端接收云桌面服务端通过网络重定向通道提供的云桌面网络请求,基于所述云桌面网络请求对应的网络地址,获取网络反馈数据;其中,所述网络地址包括终端连接公网的公网地址和/或所述终端所在本地网络的局域网地址。进而,所述终端通过所述网络重定向通道将所述网络反馈数据发送至所述云桌面服务端。所述云桌面服务端接收所述终端通过所述网络重定向通道提供的网络反馈数据。The embodiment of the present application provides a data processing method, which can be applied to a cloud service scenario and involves at least two devices. For example, one device includes a terminal, and the other device includes a cloud desktop server. For example, both the terminal and the cloud desktop server belong to the cloud desktop system. In the cloud desktop system, the cloud desktop server receives the cloud desktop network request provided by the terminal, and redirects and transmits the cloud desktop network request to the terminal through a network redirection channel. The terminal receives the cloud desktop network request provided by the cloud desktop server through the network redirection channel, and obtains network feedback data based on the network address corresponding to the cloud desktop network request; wherein, the network address includes the public address of the terminal connected to the public network. network address and/or the local area network address of the local network where the terminal is located. Furthermore, the terminal sends the network feedback data to the cloud desktop server through the network redirection channel. The cloud desktop server receives network feedback data provided by the terminal through the network redirection channel.
其中,终端可为实现上述流程中终端侧步骤的应用程序,或为安装了实现上述流程中终端侧步骤的应用程序的终端设备。云桌面服务端可为实现上述流程中云桌面服务端侧步骤的应用程序,或为安装了实现上述流程中云桌面服务端侧步骤的应用程序的服务器。Wherein, the terminal may be an application program implementing the terminal-side steps in the above process, or a terminal device installed with an application program implementing the terminal-side steps in the above process. The cloud desktop server can be an application program that implements the steps on the cloud desktop server side in the above process, or a server that has installed an application program that implements the steps on the cloud desktop server side in the above process.
云桌面是一种基于计算的云上桌面服务,采用桌面即服务(DesktopasaService,DaaS)为用户提供易用、安全、高效的云上桌面系统。实际上,诸如云桌面、云应用等云服务已经在各种应用场景中被用户广泛使用。使用云服务的用户,可以使用终端通过公网或专线连接到云服务。用户的终端不需要安装这些云服务,基于通信协议把云服务界面通过数据流(如视频流化)的方式传输至终端本地,用户在本地便可以使用云端服务。Cloud Desktop is a computing-based cloud desktop service that uses Desktop as a Service (DaaS) to provide users with an easy-to-use, safe, and efficient cloud desktop system. In fact, cloud services such as cloud desktops and cloud applications have been widely used by users in various application scenarios. Users who use cloud services can use terminals to connect to cloud services through public networks or dedicated lines. The user's terminal does not need to install these cloud services. Based on the communication protocol, the cloud service interface is transmitted to the local terminal through data stream (such as video streaming), and the user can use the cloud service locally.
云桌面,是基于对计算机硬件资源实施虚拟化技术,使其被虚拟成多个虚拟计算机,并在虚拟计算机上可以直接运行未经任何改动的桌面操作系统。同时,云桌面还提供支持类虚拟化技术的操作系统,虚拟化应用可直接运行于该桌面操作系统之上。云桌面本身为端侧产品,云桌面本身为端侧产品,目前云桌面应用主要使用云侧的网络服务。相关技术中,若云侧出现公网访问受限,或公网访问支出过大等情况可能会导致云桌面应用的服务出现异常。此外,部分云桌面应用需要使用端侧本地网络中的数据,而相关技术中的云桌面架构并不支持这一需求。申请人发现,上述情况可以利用端侧网络来解决。因此,本申请实施例提出一种使用云桌面中端侧网络的服务,用以克服云侧的服务异常的技术方案。Cloud desktop is based on the virtualization technology of computer hardware resources, so that it can be virtualized into multiple virtual computers, and the desktop operating system without any modification can be directly run on the virtual computers. At the same time, the cloud desktop also provides an operating system that supports similar virtualization technology, and virtualized applications can run directly on the desktop operating system. The cloud desktop itself is a device-side product, and the cloud desktop itself is a device-side product. Currently, cloud desktop applications mainly use cloud-side network services. In the related technology, if the public network access is restricted on the cloud side, or the public network access expenditure is too large, etc., the service of the cloud desktop application may be abnormal. In addition, some cloud desktop applications need to use data in the end-side local network, but the cloud desktop architecture in related technologies does not support this requirement. The applicant found that the above situation can be solved by using a device-side network. Therefore, the embodiment of the present application proposes a technical solution for using the service of the device-side network in the cloud desktop to overcome the abnormality of the cloud-side service.
与现有技术相比,本申请实施例中云桌面服务端接收到终端提供云桌面网络请求之后,将相关技术中由自身处理的云桌面网络请求,通过云桌面服务端与终端之间的网络重定向通道,重定向传输给终端。进而,终端接收云桌面服务端通过网络重定向通道提供的云桌面网络请求,基于云桌面网络请求对应的网络地址获取网络反馈数据。其中,网络地址包括终端连接公网的公网地址和/或终端所在本地网络的局域网地址。最终,终端通过网络重定向通道将网络反馈数据发送至云桌面服务端。由于本申请中云桌面服务端通过将云桌面网络请求重定向至终端侧,利用终端访问端侧网络得到网络反馈数据,从而使得云桌面服务端能够复用端侧网络流量,有效避免因云侧所连接的公网网络异常导致应用服务异常的问题,提高云桌面系统的使用效率。此外,上述方案还可通过对端侧网络的复用,还可节省云桌面中云侧的网络开支。Compared with the prior art, after the cloud desktop server in the embodiment of the present application receives the cloud desktop network request from the terminal, it passes the cloud desktop network request processed by itself in the related art through the network between the cloud desktop server and the terminal. Redirect channel, redirect transmission to the terminal. Furthermore, the terminal receives the cloud desktop network request provided by the cloud desktop server through the network redirection channel, and obtains network feedback data based on the network address corresponding to the cloud desktop network request. Wherein, the network address includes the public network address of the terminal connected to the public network and/or the local area network address of the local network where the terminal is located. Finally, the terminal sends the network feedback data to the cloud desktop server through the network redirection channel. In this application, the cloud desktop server redirects the cloud desktop network request to the terminal side, and uses the terminal to access the terminal-side network to obtain network feedback data, so that the cloud desktop server can reuse the terminal-side network traffic, effectively avoiding network traffic caused by the cloud side. The abnormality of the connected public network leads to the problem of abnormal application services, which improves the efficiency of the cloud desktop system. In addition, the above solution can also save network expenses on the cloud side in the cloud desktop by multiplexing the end-side network.
一些实施方式中,终端和云桌面服务端分离式部署,参照图1,本申请实施例提供的数据处理方法可基于图1所示的一种云桌面系统实现。该云桌面系统可以包括终端01和云桌面服务端02。In some implementations, the terminal and the cloud desktop server are deployed separately. Referring to FIG. 1 , the data processing method provided in the embodiment of the present application can be implemented based on a cloud desktop system shown in FIG. 1 . The cloud desktop system may include a terminal 01 and a cloud desktop server 02.
该终端01可以是终端设备,其中可以部署数据处理程序。The terminal 01 may be a terminal device in which a data processing program may be deployed.
该云桌面服务端02可以是服务器或服务器集群,其中可以部署数据处理程序。The cloud desktop server 02 may be a server or a server cluster, where a data processing program may be deployed.
具体而言,云桌面系统中,通过终端01和云桌面服务端02的交互配合,将原本由云桌面服务端02处理的云桌面网络请求,通过云桌面服务端02与终端01之间的网络重定向通道,重定向至终端01侧。进而,终端01响应于云桌面网络请求,访问云桌面网络请求对应的网络地址,得到云桌面网络请求对应的网络反馈数据,该网络地址包括终端01连接公网的公网地址和/或所述终端01所在本地网络的局域网地址。最终,终端01通过网络重定向通道将网络反馈数据传输至云桌面服务端02。由于云桌面服务端02通过将云桌面网络请求重定向至终端01侧,并利用终端01通过端侧网络获取网络反馈数据,从而使得云桌面服务端02能够复用端侧网络流量,有效避免因云侧网络异常导致应用服务异常的问题,提高云桌面系统的使用效率。此外,上述方案还可通过对端侧网络的复用,还可节省云桌面中云侧的网络开支。Specifically, in the cloud desktop system, through the interaction and cooperation between the terminal 01 and the cloud desktop server 02, the cloud desktop network request originally processed by the cloud desktop server 02 is transmitted through the network between the cloud desktop server 02 and the terminal 01. Redirect channel, redirect to terminal 01 side. Furthermore, in response to the cloud desktop network request, the terminal 01 accesses the network address corresponding to the cloud desktop network request, and obtains the network feedback data corresponding to the cloud desktop network request, and the network address includes the public network address of the terminal 01 connected to the public network and/or the LAN address of the local network where Terminal 01 is located. Finally, the terminal 01 transmits the network feedback data to the cloud desktop server 02 through the network redirection channel. Because the cloud desktop server 02 redirects the cloud desktop network request to the terminal 01 side, and uses the terminal 01 to obtain network feedback data through the terminal-side network, so that the cloud desktop server 02 can reuse the terminal-side network traffic, effectively avoiding the Cloud-side network abnormalities lead to abnormal application services, improving the efficiency of cloud desktop systems. In addition, the above solution can also save network expenses on the cloud side in the cloud desktop by multiplexing the end-side network.
具体而言,终端01可为实现上述流程中终端侧步骤的应用程序,或为安装了实现上述流程中终端侧步骤的应用程序的终端设备。云桌面服务端02可为实现上述流程中云桌面服务端侧步骤的应用程序,或为安装了实现上述流程中云桌面服务端侧步骤的应用程序的服务器。Specifically, the terminal 01 may be an application program implementing the terminal-side steps in the above process, or a terminal device installed with an application program implementing the terminal-side steps in the above process. The cloud desktop server 02 can be an application program implementing the steps on the cloud desktop server side in the above process, or a server installed with an application program implementing the steps on the cloud desktop server side in the above process.
可选地,云桌面服务端02,还用于获取云桌面传输协议支持的配置参数,配置参数由云桌面网络所支持的传输网络类型决定;基于网络配置参数在云桌面服务端02与终端01之间配置对应的网络重定向通道。Optionally, the cloud desktop server 02 is also used to obtain the configuration parameters supported by the cloud desktop transmission protocol. The configuration parameters are determined by the type of transmission network supported by the cloud desktop network; based on the network configuration parameters, the cloud desktop server 02 and the terminal 01 Configure the corresponding network redirection channel between them.
具体地,云桌面服务端02,基于网络配置参数在云桌面服务端02与终端01之间配置对应的网络重定向通道时,具体用于:基于云桌面传输协议、以及终端01的配置参数,在终端01侧建立网络重定向通道对应的重定向端口作为第一重定向端口,以向终端01提供接口访问服务;基于云桌面传输协议、以及云桌面服务端02的配置参数,在云桌面服务端02侧建立网络重定向通道对应的重定向端口作为第二重定向端口,以向云桌面服务端02提供接口访问服务。其中,重定向端口包括代理重定向端口模块和/或虚拟网卡。Specifically, when the cloud desktop server 02 configures a corresponding network redirection channel between the cloud desktop server 02 and the terminal 01 based on network configuration parameters, it is specifically used for: based on the cloud desktop transmission protocol and the configuration parameters of the terminal 01, The redirection port corresponding to the network redirection channel is established on the terminal 01 side as the first redirection port to provide interface access services to the terminal 01; based on the cloud desktop transmission protocol and the configuration parameters of the cloud desktop server 02, the cloud desktop service The terminal 02 side establishes the redirection port corresponding to the network redirection channel as the second redirection port, so as to provide the cloud desktop server 02 with an interface access service. Wherein, the redirection port includes a proxy redirection port module and/or a virtual network card.
其中,图1所示的云桌面系统中,终端01以及云桌面服务端02的数量、设备类型、设备连接方式均为示例,本申请并不限定。Wherein, in the cloud desktop system shown in FIG. 1 , the quantity, device type, and device connection method of the terminal 01 and the cloud desktop server 02 are examples, and are not limited in this application.
需要说明的是,本申请实施例涉及的服务器可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN、以及大数据和人工智能平台等基础云计算服务的云服务器。It should be noted that the server involved in the embodiment of the present application can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a server that provides cloud services, cloud databases, cloud computing, and cloud functions. Cloud servers for basic cloud computing services such as cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
本申请实施例涉及的终端设备,可以是指向用户提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。例如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语音和/或数据。例如,个人通信业务(英文全称:Personal Communication Service,英文简称:PCS)电话、无绳电话、会话发起协议(SIP)话机、无线本地环路(Wireless Local Loop,英文简称:WLL)站、个人数字助理(英文全称:Personal Digital Assistant,英文简称:PDA)等设备。The terminal device involved in this embodiment of the present application may be a device that provides voice and/or data connectivity to users, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem. Examples include mobile telephones (or "cellular" telephones) and computers with mobile terminals, such as portable, pocket, hand-held, built-in computer, or vehicle-mounted mobile devices, that exchange voice and/or or data. For example, Personal Communication Service (English full name: Personal Communication Service, English abbreviation: PCS) telephone, cordless telephone, Session Initiation Protocol (SIP) telephone, Wireless Local Loop (Wireless Local Loop, English abbreviation: WLL) station, personal digital assistant (English full name: Personal Digital Assistant, English abbreviation: PDA) and other equipment.
下面结合图1所示的场景示意图,对本申请实施例进行更详细的说明。The following describes the embodiment of the present application in more detail with reference to the schematic diagram of the scene shown in FIG. 1 .
参照图2a,图2a为本申请实施例提供的一种数据处理方法的流程示意图。该方法可应用于云桌面系统,由云桌面系统中的终端设备(即终端)和服务设备(即云桌面服务端)交互执行。所述云桌面系统可以包括终端和云桌面服务端,所述数据处理方法可以由所述终端、云桌面服务端各自包括的数据处理程序执行,实现云端两侧的网络互通,所述数据处理方法包括:Referring to FIG. 2a, FIG. 2a is a schematic flowchart of a data processing method provided by an embodiment of the present application. The method can be applied to a cloud desktop system, and is executed interactively by a terminal device (that is, a terminal) and a service device (that is, a cloud desktop server) in the cloud desktop system. The cloud desktop system may include a terminal and a cloud desktop server, and the data processing method may be executed by data processing programs included in the terminal and the cloud desktop server respectively, so as to realize network intercommunication on both sides of the cloud, and the data processing method include:
步骤S210,云桌面服务端接收终端提供的云桌面网络请求。In step S210, the cloud desktop server receives the cloud desktop network request provided by the terminal.
步骤S220,云桌面服务端通过网络重定向通道向所述终端重定向传输所述云桌面网络请求。Step S220, the cloud desktop server redirects and transmits the cloud desktop network request to the terminal through a network redirection channel.
在本申请实施例中,终端在需要云桌面服务时,可向云桌面服务端发起云桌面网络请求。因而,在云桌面系统中,常常需要云桌面服务端与终端之间进行网络通信,下文结合几个示例说明具体通信需求。In this embodiment of the present application, when a terminal needs a cloud desktop service, it can initiate a cloud desktop network request to the cloud desktop server. Therefore, in the cloud desktop system, it is often necessary to perform network communication between the cloud desktop server and the terminal. The specific communication requirements will be described below with a few examples.
例如,在一些实施例中,由于所述终端所在本地网络可以是私有网络,云桌面服务端不能获取终端的本地网络的公网IP地址,因此,云桌面服务端不能直接访问终端的本地网络。又例如,在另一些实施例中,云桌面服务端对一些特殊专线网络(如医疗系统、医保系统等)的访问流量需要转移到终端上。这主要是因为云桌面为服务端程序,向外提供的为服务器对应的IP段,特殊专线网络不支持服务器IP段访问,因此,需要在云桌面系统中需要将对特殊专线网络的网络请求流量转移到终端侧。For example, in some embodiments, since the local network where the terminal is located may be a private network, the cloud desktop server cannot obtain the public IP address of the terminal's local network, therefore, the cloud desktop server cannot directly access the terminal's local network. For another example, in some other embodiments, the access traffic of the cloud desktop server to some special dedicated network (such as medical system, medical insurance system, etc.) needs to be transferred to the terminal. This is mainly because the cloud desktop is a server-side program, and the IP segment corresponding to the server is provided externally. The special dedicated line network does not support server IP segment access. Therefore, it is necessary to transfer the network request traffic to the special dedicated line network in the cloud desktop system. Moved to the terminal side.
又例如,在又一些实施例中,对于部署于公共互联网的服务或网站来说,要求同一用户标识(如同一账号、用户名等)访问公共互联网的服务或网站的IP地址为同一IP址。但是,对于图所示的云桌面系统来说,用户的终端和终端调用的云桌面服务的IP地址是不同的,导致同一用户标识访问公共互联网的服务或网站的IP地址不同。对于公共互联网的服务或网站来说,可能会阻拦用户的终端和/或终端调用的云桌面服务的网络访问,导致用户无法访问公共互联网的服务或网站。As another example, in still some embodiments, for services or websites deployed on the public Internet, the same user identifier (such as the same account, user name, etc.) is required to access the services or websites on the public Internet with the same IP address. However, for the cloud desktop system shown in the figure, the IP addresses of the user's terminal and the cloud desktop service invoked by the terminal are different, resulting in different IP addresses of services or websites accessed by the same user ID to access the public Internet. For services or websites on the public Internet, the network access of the user's terminal and/or the cloud desktop service invoked by the terminal may be blocked, resulting in the inability of the user to access the service or website on the public Internet.
在另一些实施例中,对于云桌面系统而言,终端的网络架构上云可能导致终端侧的一些行为管控措施失灵,这种情况下也需要云桌面服务端将一些网络请求流量转移到终端侧。In other embodiments, for the cloud desktop system, the cloud desktop network architecture of the terminal may cause some behavior control measures on the terminal side to fail. In this case, the cloud desktop server also needs to transfer some network request traffic to the terminal side. .
针对上述或未示例情况中云桌面服务端与终端之间的网络通信需求,在步骤S210中,终端将云桌面网络请求发送给云桌面服务端。在本申请实施例中,用户可以通过终端接入云桌面系统,从而使用云桌面系统中的云服务。具体地,在一些实施例中,用户可以通过终端,向云桌面系统中的云应用发起服务请求。该服务请求即为针对终端的云桌面网络请求。在另一些实施例中,也可通过终端中设置的特定事件触发针对终端的云桌面网络请求。例如,检测到用户需要使用检索服务,即可触发检索事件,从而使得终端向云桌面系统发起云桌面网络请求。In view of the network communication requirements between the cloud desktop server and the terminal in the above or unillustrated situations, in step S210, the terminal sends the cloud desktop network request to the cloud desktop server. In the embodiment of the present application, the user can access the cloud desktop system through a terminal, so as to use the cloud service in the cloud desktop system. Specifically, in some embodiments, the user can initiate a service request to the cloud application in the cloud desktop system through the terminal. The service request is a cloud desktop network request for the terminal. In some other embodiments, the cloud desktop network request for the terminal may also be triggered by a specific event set in the terminal. For example, when it is detected that the user needs to use the retrieval service, a retrieval event may be triggered, so that the terminal initiates a cloud desktop network request to the cloud desktop system.
在云桌面服务端与终端之间的网络通信需求的基础上,为克服对云侧网络的依赖,接收到终端提供的云桌面网络请求之后,步骤S220中,云桌面服务端通过终端与云桌面服务端之间的网络重定向通道,将云桌面网络请求重定向至终端。相较于相关技术中由云桌面服务端独立完成对云桌面网络请求的全部处理流程,本申请中,通过云桌面网络请求的重定向将部分处理流程外包到终端,为云桌面服务端对终端的端侧网络流量复用提供基础,有助于减少云桌面服务端的网络开支,提高云桌面服务效率。On the basis of the network communication requirements between the cloud desktop server and the terminal, in order to overcome the dependence on the cloud side network, after receiving the cloud desktop network request provided by the terminal, in step S220, the cloud desktop server communicates with the cloud desktop through the terminal The network redirection channel between servers redirects cloud desktop network requests to terminals. Compared with related technologies where the cloud desktop server independently completes all processing procedures for cloud desktop network requests, in this application, part of the processing procedures are outsourced to the terminal through the redirection of the cloud desktop network request, providing cloud desktop server-to-terminal Provides a basis for end-side network traffic multiplexing, which helps reduce network expenses on the cloud desktop server and improves cloud desktop service efficiency.
其中,重定向,是一种将终端的数据采集设备重新导向服务器的远程桌面的技术。在数据重定向技术下,终端需要将数据采集设备生成的数据包,传输给服务器。终端向服务器传输数据的数据传输性能是数据重定向技术的关键性能之一。可以理解的是,重定向就是将各种网络请求从初始位置重新定位转发至其它位置。例如,网页重定向、域名的重定向、路由选择的变化,也是对数据报文经由路径的一种重定向。Among them, redirection is a technique of redirecting the data collection device of the terminal to the remote desktop of the server. Under the data redirection technology, the terminal needs to transmit the data packet generated by the data acquisition device to the server. The data transmission performance that the terminal transmits data to the server is one of the key performances of the data redirection technology. It can be understood that redirection is to relocate and forward various network requests from the initial location to other locations. For example, webpage redirection, domain name redirection, and route selection change are also a kind of redirection of the path through which data packets are routed.
本申请实施中涉及的网络重定向,是将云服务中部署的网络虚拟机(VirtualMachine,VM)侧的网络请求包重定向至端侧,并将端侧对应的网络反馈数据(Response)反馈给云侧,从而使云侧能够复用端侧的网络的一种重定向技术。The network redirection involved in the implementation of this application is to redirect the network request packet of the network virtual machine (VirtualMachine, VM) side deployed in the cloud service to the terminal side, and feed back the corresponding network feedback data (Response) of the terminal side to the On the cloud side, a redirection technology that enables the cloud side to reuse the network on the device side.
具体而言,本申请实施例中,需要搭建一个与云桌面网络协议匹配的网络传输架构,用以实现本申请中的网络通信需求。在一些可选实施例中,获取云桌面传输协议支持的配置参数,该配置参数由云桌面网络所支持的传输网络类型决定;基于网络配置参数在云桌面服务端与终端之间配置对应的网络重定向通道。上述步骤可以由云桌面服务端实现,也可以由其他服务端设备实现,此处并不限定。Specifically, in the embodiment of this application, it is necessary to build a network transmission framework that matches the cloud desktop network protocol to realize the network communication requirements in this application. In some optional embodiments, the configuration parameters supported by the cloud desktop transmission protocol are obtained, and the configuration parameters are determined by the type of transmission network supported by the cloud desktop network; based on the network configuration parameters, the corresponding network is configured between the cloud desktop server and the terminal Redirect channel. The above steps can be implemented by the cloud desktop server or by other server devices, which are not limited here.
上述步骤中,基于网络配置参数在云桌面服务端与终端之间配置对应的网络重定向通道的步骤,可以实现为:基于云桌面传输协议、以及终端的配置参数,在终端侧建立网络重定向通道对应的重定向端口作为第一重定向端口,以向终端提供接口访问服务;基于云桌面传输协议、以及云桌面服务端的配置参数,在云桌面服务端侧建立网络重定向通道对应的重定向端口作为第二重定向端口,以向云桌面服务端提供接口访问服务。本申请中,重定向端口包括代理重定向端口模块和/或虚拟网卡。In the above steps, the step of configuring the corresponding network redirection channel between the cloud desktop server and the terminal based on the network configuration parameters can be implemented as: establishing network redirection on the terminal side based on the cloud desktop transmission protocol and the configuration parameters of the terminal The redirection port corresponding to the channel is used as the first redirection port to provide the terminal with interface access service; based on the cloud desktop transmission protocol and the configuration parameters of the cloud desktop server, the redirection corresponding to the network redirection channel is established on the cloud desktop server side The port is used as the second redirection port to provide interface access services to the cloud desktop server. In this application, the redirection port includes a proxy redirection port module and/or a virtual network card.
需要注意的是,本申请实施例中涉及的云桌面传输协议,可以是防火墙安全会话转换协议(Protocol for sessions traversal across firewall securely,SOCKS)、IP网络协议、虚拟专用网络(Virtual Private Network,VPN)协议。上述云桌面传输协议均为示例,本申请实施例并不限定。It should be noted that the cloud desktop transmission protocol involved in the embodiment of the present application may be a firewall security session conversion protocol (Protocol for sessions traversal across firewall securely, SOCKS), an IP network protocol, a virtual private network (Virtual Private Network, VPN) protocol. The foregoing cloud desktop transmission protocols are examples, and are not limited in this embodiment of the present application.
其中,SOCKS是一种云桌面传输协议,主要用于客户端与外网服务器之间通讯的中间传递。当客户端要访问外部的服务器时,就跟SOCKS代理服务器连接。这个代理服务器控制客户端访问外网的资格。SOCKS协议提供一个框架,为在传输控制协议(TransmissionControl Protocol,TCP)和用户数据报协议(User Datagram Protocol,UDP)域中的客户机或服务器应用程序能更方便安全地使用网络防火墙所提供的服务。SOCKS包括但不限于SOCKS4和SOCKS5。SOCKS4和SOCKS5都属于SOCKS协议。区别在于,这两种协议所支持的应用类型。其中,SOCKS4支持TCP应用,而SOCKS5支持TCP和UDP应用。但是由于SOCKS5还支持各种认证机制和域名解析(Domain Name System,DNS),SOCKS4不支持,所以出站的SOCKS代理一般是SOCKS4代理。Among them, SOCKS is a cloud desktop transmission protocol, which is mainly used for the intermediate transmission of communication between the client and the external network server. When the client wants to access the external server, it connects with the SOCKS proxy server. This proxy server controls the client's eligibility to access the Internet. The SOCKS protocol provides a framework for client or server applications in the Transmission Control Protocol (TransmissionControl Protocol, TCP) and User Datagram Protocol (User Datagram Protocol, UDP) domains to use the services provided by the network firewall more conveniently and securely. . SOCKS includes but is not limited to SOCKS4 and SOCKS5. Both SOCKS4 and SOCKS5 belong to the SOCKS protocol. The difference lies in the types of applications supported by the two protocols. Among them, SOCKS4 supports TCP applications, while SOCKS5 supports TCP and UDP applications. However, since SOCKS5 also supports various authentication mechanisms and domain name resolution (Domain Name System, DNS), SOCKS4 does not support it, so the outbound SOCKS proxy is generally a SOCKS4 proxy.
在本申请实施例中,对应于不同类型的云桌面传输协议,所建立的代理服务模块也存在区别。例如,对应于SOCKS,所建立的是SOCKS代理服务模块。针对不同类型的SOCKS协议,还可以建立支持SOCKS4的SOCKS代理服务模块或者支持SOCKS5的SOCKS代理服务模块。又例如,对应于IP网络协议,所建立的是IP网卡。又例如,对应于VPN协议,所建立的是虚拟网卡。In the embodiment of the present application, corresponding to different types of cloud desktop transmission protocols, the established proxy service modules are also different. For example, corresponding to SOCKS, what is established is a SOCKS proxy service module. For different types of SOCKS protocols, a SOCKS proxy service module supporting SOCKS4 or a SOCKS proxy service module supporting SOCKS5 can also be established. For another example, corresponding to the IP network protocol, an IP network card is established. For another example, corresponding to the VPN protocol, a virtual network card is established.
参见上文,重定向端口包括代理重定向端口模块和/或虚拟网卡。重定向端口的类型由云桌面传输协议的类型决定。例如,对应于SOCKS,所建立的是SOCKS重定向端口。针对不同类型的SOCKS协议,还可以建立支持SOCKS4的SOCKS重定向端口或者支持SOCKS5的SOCKS重定向端口。又例如,对应于IP网络协议,所建立的是IP网重定向端口。又例如,对应于VPN协议,所建立的是虚拟网重定向端口。上述云桌面传输协议均为示例,本申请实施例并不限定。Referring to the above, the redirected ports include proxy redirected port modules and/or virtual network cards. The type of redirection port is determined by the type of the cloud desktop transmission protocol. For example, corresponding to SOCKS, what is established is a SOCKS redirection port. For different types of SOCKS protocols, it is also possible to establish a SOCKS redirection port supporting SOCKS4 or a SOCKS redirection port supporting SOCKS5. For another example, corresponding to the IP network protocol, an IP network redirection port is established. For another example, corresponding to the VPN protocol, a virtual network redirection port is established. The foregoing cloud desktop transmission protocols are examples, and are not limited in this embodiment of the present application.
可以理解的是,不同类型的重定向端口所支持的数据传输协议不同,因而,其所能传输的协议数据包也不同。例如,对应于IP网络协议,协议数据包为IP网协议包。又例如,协议数据包为VPN协议包。It can be understood that different types of redirection ports support different data transmission protocols, and therefore, the protocol data packets they can transmit are also different. For example, corresponding to the IP network protocol, the protocol data packet is an IP network protocol packet. For another example, the protocol data packet is a VPN protocol packet.
在上述网络传输架构的基础上,步骤S220中,云桌面服务端基于所述云桌面传输协议将所述云桌面网络请求构建为协议数据包。可以理解的是,为便于描述本申请中将此处的协议数据包称为第一数据包。进而,步骤S220中,云桌面服务端通过所述第二重定向端口将所述第一数据包经由所述网络重定向通道发送至所述终端。这样,经过封装得到的协议数据包即可适用于网络传输协议所搭建的网络重定向传输架构,从而为云端两侧的网络通信,以及云侧对端侧的网络复用提供基础。On the basis of the above network transmission architecture, in step S220, the cloud desktop server constructs the cloud desktop network request into a protocol data packet based on the cloud desktop transmission protocol. It can be understood that, for the convenience of description, the protocol data packet here is referred to as the first data packet in this application. Further, in step S220, the cloud desktop server sends the first data packet to the terminal via the network redirection channel through the second redirection port. In this way, the protocol packets obtained after encapsulation can be applied to the network redirection transmission architecture built by the network transmission protocol, thus providing the basis for network communication on both sides of the cloud and network multiplexing from the cloud side to the end side.
值得说明的是,与上述网络传输架构相匹配地,还需在所述终端侧建立所述云桌面传输协议对应的第一代理服务模块,以向所述终端提供与所述云桌面传输协议匹配的数据代理服务。相应地,在所述云桌面服务端需要通过与第一代理服务模块配套的代理服务模块进行数据封装、解析以及相应处理。即,在所述云桌面服务端侧建立所述云桌面传输协议对应的第二代理服务模块,以向所述云桌面服务端提供与所述云桌面传输协议匹配的数据代理服务。此处,与上文介绍的重定向端口类似,代理服务模块的类型也由云桌面传输协议的类型决定。通过代理服务模块可以为两侧解析或封装对应的数据内容,为云端两侧的网络通信,以及云侧对端侧的网络复用提供基础。It is worth noting that, to match the above-mentioned network transmission architecture, it is also necessary to establish a first proxy service module corresponding to the cloud desktop transmission protocol on the terminal side, so as to provide the terminal with data proxy service. Correspondingly, data encapsulation, parsing and corresponding processing need to be performed on the cloud desktop server through the proxy service module matched with the first proxy service module. That is, a second proxy service module corresponding to the cloud desktop transmission protocol is established on the cloud desktop server side to provide the cloud desktop server with a data proxy service matching the cloud desktop transmission protocol. Here, similar to the redirection port described above, the type of the proxy service module is also determined by the type of the cloud desktop transmission protocol. The proxy service module can parse or encapsulate the corresponding data content for both sides, and provide the basis for network communication on both sides of the cloud and network multiplexing from the cloud side to the end side.
在构建完成的代理服务模块的基础上,步骤S220的上述具体实现方式中,云桌面服务端通过所述第二代理服务模块将所述云桌面网络请求封装为所述第一数据包。On the basis of the completed proxy service module, in the above specific implementation manner of step S220, the cloud desktop server encapsulates the cloud desktop network request into the first data packet through the second proxy service module.
步骤S230,所述终端接收云桌面服务端通过网络重定向通道提供的云桌面网络请求。其中,所述云桌面网络请求由终端向所述云桌面服务端发送的。Step S230, the terminal receives the cloud desktop network request provided by the cloud desktop server through the network redirection channel. Wherein, the cloud desktop network request is sent by the terminal to the cloud desktop server.
在上述网络传输架构的基础上,步骤S230中,终端接收所述云桌面服务端通过所述网络重定向通道反馈的第一数据包。具体地,终端通过第一重定向端口接收第一数据包。On the basis of the above network transmission architecture, in step S230, the terminal receives the first data packet fed back by the cloud desktop server through the network redirection channel. Specifically, the terminal receives the first data packet through the first redirection port.
介绍完本申请涉及的网络传输架构以及云桌面服务端对云桌面网络请求的重定向方法之后,下面介绍终端对由云桌面服务端重定向传输而来的云桌面网络请求的具体处理流程。After introducing the network transmission architecture involved in this application and the redirection method of the cloud desktop server to the cloud desktop network request, the following describes the specific processing flow of the terminal to the cloud desktop network request redirected and transmitted by the cloud desktop server.
步骤S240,所述终端基于所述云桌面网络请求对应的网络地址,获取网络反馈数据。其中,所述网络地址包括终端连接公网的公网地址和/或所述终端所在本地网络的局域网地址。Step S240, the terminal acquires network feedback data based on the network address corresponding to the cloud desktop network request. Wherein, the network address includes a public network address of the terminal connected to the public network and/or a local area network address of the local network where the terminal is located.
步骤S250,所述终端通过所述网络重定向通道将所述网络反馈数据发送至所述云桌面服务端。Step S250, the terminal sends the network feedback data to the cloud desktop server through the network redirection channel.
步骤S260,所述云桌面服务端接收所述终端通过所述网络重定向通道提供的网络反馈数据。其中,所述网络反馈数据由所述终端基于所述云桌面网络请求对应的网络地址得到的,所述网络地址包括终端连接公网的公网地址和/或所述终端所在本地网络的局域网地址。Step S260, the cloud desktop server receives network feedback data provided by the terminal through the network redirection channel. Wherein, the network feedback data is obtained by the terminal based on the network address corresponding to the cloud desktop network request, and the network address includes the public network address of the terminal connected to the public network and/or the local area network address of the local network where the terminal is located .
接收到云桌面网络请求之后,以上文构建完成的代理服务模块的基础上,步骤S240中,终端调用所述第一代理服务模块解析所述第一数据包,得到所述云桌面网络请求以及所述云桌面网络请求对应的网络地址。具体地,可以通过调用第一代理服务模块中对应的解析策略,将第一数据包还原为云桌面网络请求,并提取所述云桌面网络请求中对应的网络地址。其中解析策略由代理服务模块所匹配的云桌面传输协议决定。After receiving the cloud desktop network request, based on the proxy service module constructed above, in step S240, the terminal invokes the first proxy service module to parse the first data packet, and obtains the cloud desktop network request and the The network address corresponding to the cloud desktop network request. Specifically, the first data packet can be restored to a cloud desktop network request by invoking the corresponding resolution strategy in the first proxy service module, and the corresponding network address in the cloud desktop network request can be extracted. The resolution strategy is determined by the cloud desktop transmission protocol matched by the proxy service module.
进而,步骤S240中,所述终端访问所述网络地址,以获取所述网络反馈数据。具体地,基于云桌面网络请求对应的网络地址,生成对该网络地址的访问请求。终端获取响应该网络地址的访问请求的网络反馈数据,作为云桌面网络请求对应的网络反馈数据。由上文介绍可知,此处的第一数据包为云桌面服务端采用第二代理服务模块封装云桌面网络请求得到的,此处不再展开介绍。Furthermore, in step S240, the terminal accesses the network address to obtain the network feedback data. Specifically, based on the network address corresponding to the cloud desktop network request, an access request to the network address is generated. The terminal obtains the network feedback data corresponding to the access request of the network address as the network feedback data corresponding to the network request of the cloud desktop. It can be seen from the above introduction that the first data packet here is obtained by the cloud desktop server using the second proxy service module to encapsulate the cloud desktop network request, and will not be introduced here.
这样,通过步骤S240可以使用端侧网络获取到云桌面网络请求对应的网络反馈数据,利用端侧网路流量执行与云桌面网络请求匹配的数据获取过程,大大提升云桌面服务效率,节省云侧网络开支。In this way, through step S240, the network feedback data corresponding to the network request of the cloud desktop can be obtained by using the end-side network, and the data acquisition process matching the network request of the cloud desktop can be performed by using the end-side network traffic, which greatly improves the service efficiency of the cloud desktop and saves Internet spending.
获取云桌面网络请求对应的网络反馈数据之后,步骤S250中,所述终端基于所述云桌面传输协议将云桌面网络请求对应的网络反馈数据构建为协议数据包。与上文相适应地,本申请中将该协议数据包称为第二数据包。具体来说,以上文介绍的所述终端侧的第一代理服务模块为例,所述终端通过所述第一代理服务模块将所述网络反馈数据封装为所述第二数据包。After acquiring the network feedback data corresponding to the cloud desktop network request, in step S250, the terminal constructs the network feedback data corresponding to the cloud desktop network request into a protocol packet based on the cloud desktop transmission protocol. Adapting to the above, the protocol data packet is referred to as the second data packet in this application. Specifically, taking the first proxy service module on the terminal side described above as an example, the terminal encapsulates the network feedback data into the second data packet through the first proxy service module.
进而,步骤S250中,所述终端通过所述第一重定向端口将所述第二数据包经由所述网络重定向通道发送至所述云桌面服务端,以使所述云桌面服务端通过第二重定向端口获取所述第二数据包。其中,第二重定向端口为云桌面服务端基于云桌面传输协议建立的网络重定向通道对应的重定向端口。第二重定向端口的建立方式与第一重定向端口的建立方式类似,此处不再展开说明。Further, in step S250, the terminal sends the second data packet to the cloud desktop server via the network redirection channel through the first redirection port, so that the cloud desktop server The second redirection port obtains the second data packet. Wherein, the second redirection port is a redirection port corresponding to the network redirection channel established by the cloud desktop server based on the cloud desktop transfer protocol. The establishment manner of the second redirection port is similar to the establishment manner of the first redirection port, and will not be further described here.
步骤S260中,继续以上文构建完成的代理服务模块为例,所述云桌面服务端通过所述第二代理服务模块解析第二数据包得到云桌面网络请求对应的网络反馈数据。具体来说,通过所述第二代理服务模块调用对应的解析策略,处理第二数据包,以从第二数据包中获取所述网络反馈数据。In step S260, continuing to take the completed proxy service module as an example, the cloud desktop server parses the second data packet through the second proxy service module to obtain network feedback data corresponding to the cloud desktop network request. Specifically, the second proxy service module invokes a corresponding parsing policy to process the second data packet, so as to obtain the network feedback data from the second data packet.
通过上述步骤S240至S260,可以将云桌面网络请求对应的网络反馈数据(例如第二数据包)经由网络重定向传输架构传输到云桌面服务端,从而,实现了云桌面服务端对终端的网络流量复用。这样,本申请实施例中通过将云桌面服务端的网络数据获取流程外包至终端,既可节省云桌面服务端的网络开销,提高云桌面服务效率。此外,本申请实施例中云桌面服务端通过从终端获取网络反馈数据,还可避免相关技术中因云桌面服务端所连公网异常导致的技术问题,并通过访问终端的端侧网络获取到一些场景所需的端侧网络数据,提升了云桌面应用的可拓展性,满足更多应用场景中的需求。Through the above steps S240 to S260, the network feedback data (such as the second data packet) corresponding to the cloud desktop network request can be transmitted to the cloud desktop server via the network redirection transmission framework, thereby realizing the cloud desktop server-to-terminal network Traffic multiplexing. In this way, in the embodiment of the present application, by outsourcing the network data acquisition process of the cloud desktop server to the terminal, the network overhead of the cloud desktop server can be saved, and the service efficiency of the cloud desktop can be improved. In addition, in the embodiment of the present application, by obtaining network feedback data from the terminal, the cloud desktop server can also avoid technical problems caused by the abnormality of the public network connected to the cloud desktop server in related technologies, and obtain the data through the terminal-side network of the access terminal The device-side network data required in some scenarios improves the scalability of cloud desktop applications and meets the needs of more application scenarios.
介绍完本申请实施例中云桌面服务端如何从终端侧获取网络反馈数据的具体流程之后,参见图2b,下面继续介绍云桌面服务端对网络反馈数据的处理流程。After introducing the specific process of how the cloud desktop server obtains the network feedback data from the terminal side in the embodiment of the present application, referring to FIG. 2 b , the following continues to introduce the processing flow of the cloud desktop server to the network feedback data.
步骤S270,云桌面服务端处理所述网络反馈数据,得到云桌面网络请求结果。In step S270, the cloud desktop server processes the network feedback data to obtain a cloud desktop network request result.
步骤S280,云桌面服务端通过所述网络重定向通道向所述终端发送所述云桌面网络请求结果,使所述终端呈现所述云桌面网络请求结果。Step S280, the cloud desktop server sends the cloud desktop network request result to the terminal through the network redirection channel, so that the terminal presents the cloud desktop network request result.
步骤S290,终端接收所述云桌面服务端通过网络重定向通道提供的云桌面网络请求结果,并呈现所述云桌面网络请求结果。其中,所述云桌面网络请求结果由所述云桌面服务端处理所述网络反馈数据得到的。Step S290, the terminal receives the cloud desktop network request result provided by the cloud desktop server through the network redirection channel, and presents the cloud desktop network request result. Wherein, the cloud desktop network request result is obtained by the cloud desktop server processing the network feedback data.
具体来说,在一些实施例中,步骤S270中,云桌面服务端可以调用部署在云桌面服务端中的应用程序处理网络反馈数据,从而得到云桌面网络请求对应的云桌面网络请求结果。本申请中,云桌面服务端中部署的应用程序可以是云应用。云应用是一种将应用部署在云端虚拟化环境,并通过串流将云端画面传输到客户端机器,客户端可以像使用本地应用一样进行操作的远程应用技术。云应用广泛适用于各种数据处理场景,如电商平台、医疗服务、金融服务等。步骤S280中,以前文介绍的代理服务模块为例,云桌面服务端通过第二代理服务模块封装为第三数据包,通过所述网络重定向通道向所述终端发送所述第三数据包。Specifically, in some embodiments, in step S270, the cloud desktop server can call the application program deployed in the cloud desktop server to process the network feedback data, so as to obtain the cloud desktop network request result corresponding to the cloud desktop network request. In this application, the application program deployed in the cloud desktop server may be a cloud application. Cloud application is a remote application technology that deploys applications in a cloud virtualization environment, and transmits the cloud screen to the client machine through streaming, and the client can operate like a local application. Cloud applications are widely applicable to various data processing scenarios, such as e-commerce platforms, medical services, financial services, etc. In step S280, taking the proxy service module introduced above as an example, the cloud desktop server encapsulates it into a third data packet through the second proxy service module, and sends the third data packet to the terminal through the network redirection channel.
步骤S290中,继续以前文介绍的代理服务模块为例,终端接收第三数据包,通过第一代理服务模块调用对应的解析策略,从第三数据包中解析出云桌面网络请求结果。进而,在终端的显示界面中展示该云桌面网络请求结果。In step S290, continuing to take the proxy service module introduced above as an example, the terminal receives the third data packet, invokes the corresponding analysis strategy through the first proxy service module, and parses the cloud desktop network request result from the third data packet. Furthermore, the cloud desktop network request result is displayed on the display interface of the terminal.
本申请实施例的数据处理方法,本申请实施例中云桌面服务端接收到终端提供云桌面网络请求之后,将相关技术中由自身处理的云桌面网络请求,通过云桌面服务端与终端之间的网络重定向通道,重定向传输给终端。进而,终端接收云桌面服务端通过网络重定向通道提供的云桌面网络请求,基于云桌面网络请求对应的网络地址获取网络反馈数据。其中,网络地址包括终端连接公网的公网地址和/或终端所在本地网络的局域网地址。最终,终端通过网络重定向通道将网络反馈数据发送至云桌面服务端。相较于相关技术,本申请中云桌面服务端通过将云桌面网络请求重定向至终端侧,利用终端的端侧网络获取到网络反馈数据,从而使得云桌面服务端能够复用端侧网络流量,有效避免因云侧所连接的公网网络异常导致应用服务异常的问题,提高云桌面系统的使用效率。此外,上述方案还可通过对端侧网络的复用,还可节省云桌面中云侧的网络开支。In the data processing method of the embodiment of the present application, after the cloud desktop server in the embodiment of the present application receives the cloud desktop network request provided by the terminal, it passes the cloud desktop network request processed by itself in the related technology through the connection between the cloud desktop server and the terminal. The network redirection channel, redirecting the transmission to the terminal. Furthermore, the terminal receives the cloud desktop network request provided by the cloud desktop server through the network redirection channel, and obtains network feedback data based on the network address corresponding to the cloud desktop network request. Wherein, the network address includes the public network address of the terminal connected to the public network and/or the local area network address of the local network where the terminal is located. Finally, the terminal sends the network feedback data to the cloud desktop server through the network redirection channel. Compared with related technologies, in this application, the cloud desktop server redirects the cloud desktop network request to the terminal side, and uses the terminal-side network to obtain network feedback data, so that the cloud desktop server can reuse the terminal-side network traffic , effectively avoid the problem of abnormal application services caused by the abnormal public network connected to the cloud side, and improve the use efficiency of the cloud desktop system. In addition, the above solution can also save network expenses on the cloud side in the cloud desktop by multiplexing the end-side network.
以上从终端设备、服务设备的角度对本申请实施例中的一种数据处理方法进行说明,以下对执行上述数据处理方法的分别归属于不同设备的数据处理装置进行介绍。The above describes a data processing method in the embodiment of the present application from the perspective of terminal equipment and service equipment, and the data processing apparatuses respectively belonging to different equipments that execute the above data processing method are introduced below.
参阅图3,如图3所示的一种数据处理装置的结构示意图,其可应用于云服务场景中的终端,所述终端与云桌面网络中部署的云桌面服务端通信。本申请实施例中的数据处理装置30能够实现对应于上述图1所对应的实施例中由终端所执行的数据处理方法的步骤。数据处理装置30实现的功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块,所述模块可以是软件和/或硬件。所述数据处理装置30可包括收发模块301、处理模块302,所述处理模块302、所述收发模块301的功能实现可参考图1所对应的实施例中所执行的操作,此处不作赘述。例如,所述处理模块302可用于控制所述收发模块301的数据收发操作。Referring to FIG. 3 , it is a schematic structural diagram of a data processing device as shown in FIG. 3 , which can be applied to a terminal in a cloud service scenario, and the terminal communicates with a cloud desktop server deployed in a cloud desktop network. The
一些实施方式中,所述收发模块301,被配置为接收云桌面服务端通过网络重定向通道提供的云桌面网络请求;其中,所述云桌面网络请求由终端向所述云桌面服务端发送的;In some implementations, the
处理模块302,被配置为基于所述云桌面网络请求对应的网络地址,获取网络反馈数据;其中,所述网络地址包括终端连接公网的公网地址和/或所述终端所在本地网络的局域网地址;通过所述网络重定向通道将所述网络反馈数据发送至所述云桌面服务端。The
一些实施方式中,处理模块302,还被配置为在所述终端侧建立所述云桌面传输协议对应的第一代理服务模块,以向所述终端提供与所述云桌面传输协议匹配的数据代理服务;In some implementations, the
所述收发模块301接收云桌面服务端通过网络重定向通道提供的云桌面网络请求时,被具体配置为:When the
接收所述云桌面服务端通过所述网络重定向通道提供的第一数据包;receiving the first data packet provided by the cloud desktop server through the network redirection channel;
所述处理模块302基于所述云桌面网络请求对应的网络地址,获取网络反馈数据时,被具体配置为:When the
调用所述第一代理服务模块解析所述第一数据包,得到所述云桌面网络请求以及所述网络地址;calling the first proxy service module to parse the first data packet, and obtain the cloud desktop network request and the network address;
访问所述网络地址,以获取所述网络反馈数据;accessing the network address to obtain the network feedback data;
所述第一数据包为所述云桌面服务端采用第二代理服务模块封装所述云桌面网络请求得到的,所述第二代理服务模块用于为所述云桌面服务端提供与所述云桌面传输协议匹配的数据代理服务。The first data packet is obtained by the cloud desktop server using a second proxy service module to encapsulate the cloud desktop network request, and the second proxy service module is used to provide the cloud desktop server with the cloud Data proxy service for desktop transport protocol matching.
一些实施方式中,所述处理模块302通过所述网络重定向通道将所述网络反馈数据发送至所述云桌面服务端时,被具体配置为:In some implementations, when the
基于所述云桌面传输协议将所述网络反馈数据构建为第二数据包;Constructing the network feedback data as a second data packet based on the cloud desktop transmission protocol;
通过第一重定向端口将所述第二数据包经由所述网络重定向通道发送至所述云桌面服务端,以使所述云桌面服务端通过第二重定向端口获取所述第二数据包;Send the second data packet to the cloud desktop server via the network redirection channel through the first redirection port, so that the cloud desktop server obtains the second data packet through the second redirection port ;
其中,所述第一重定向端口为在所述终端侧基于所述云桌面传输协议建立的所述网络重定向通道对应的重定向端口,所述第一重定向端口用于向所述终端提供接口访问服务;所述第二重定向端口为在所述云桌面服务端侧基于所述云桌面传输协议建立的所述网络重定向通道对应的重定向端口,所述第二重定向端口用于向所述云桌面服务端提供接口访问服务;重定向端口包括代理重定向端口模块和/或虚拟网卡。Wherein, the first redirection port is a redirection port corresponding to the network redirection channel established on the terminal side based on the cloud desktop transfer protocol, and the first redirection port is used to provide the terminal with Interface access service; the second redirection port is a redirection port corresponding to the network redirection channel established on the cloud desktop server side based on the cloud desktop transfer protocol, and the second redirection port is used for Provide an interface access service to the cloud desktop server; the redirection port includes a proxy redirection port module and/or a virtual network card.
一些实施方式中,所述处理模块302基于所述云桌面传输协议将所述网络反馈数据构建为第二数据包时,被具体配置为:In some implementations, when the
通过所述第一代理服务模块将所述网络反馈数据封装为所述第二数据包。Encapsulating the network feedback data into the second data packet by the first proxy service module.
一些实施方式中,所述收发模块301还被配置为:接收所述云桌面服务端通过网络重定向通道提供的云桌面网络请求结果,并呈现所述云桌面网络请求结果;In some implementations, the
其中,所述云桌面网络请求结果由所述云桌面服务端处理所述网络反馈数据得到的。Wherein, the cloud desktop network request result is obtained by the cloud desktop server processing the network feedback data.
本申请实施例的应用于终端的数据处理装置,终端接收云桌面服务端通过云桌面服务端与终端之间的网络重定向通道提供的云桌面网络请求,从而基于云桌面网络请求对应的网络地址,获取对应的网络反馈数据,并将网络反馈数据传输至云桌面服务端,实现了云侧对端侧的网络复用,大大提高云桌面系统的使用效率,降低云侧网络开销。According to the data processing device applied to the terminal in the embodiment of the present application, the terminal receives the cloud desktop network request provided by the cloud desktop server through the network redirection channel between the cloud desktop server and the terminal, and requests the corresponding network address based on the cloud desktop network , obtain the corresponding network feedback data, and transmit the network feedback data to the cloud desktop server, realizing the network multiplexing from the cloud side to the terminal side, greatly improving the use efficiency of the cloud desktop system, and reducing the network overhead on the cloud side.
参阅图4,如图4所示的一种数据处理装置的结构示意图,其可应用于云服务场景中的云桌面服务端,所述云桌面服务端与所述云桌面网络中部署的终端通信。本申请实施例中的数据处理装置40能够实现对应于上述图1所对应的实施例中由云桌面服务端所执行的数据处理方法的步骤。数据处理装置40实现的功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的单元,所述单元可以是软件和/或硬件。所述数据处理装置40可包括收发单元401、处理单元402,所述处理单元402、所述收发单元401的功能实现可参考图1所对应的实施例中所执行的操作,此处不作赘述。例如,所述处理单元402可用于控制所述收发单元401的数据收发操作。Referring to FIG. 4, a schematic structural diagram of a data processing device as shown in FIG. 4 can be applied to a cloud desktop server in a cloud service scenario, and the cloud desktop server communicates with a terminal deployed in the cloud desktop network . The
一些实施方式中,所述收发模块401,被配置为接收终端提供的云桌面网络请求;In some implementations, the
所述处理模块402,被配置为通过网络重定向通道向所述终端重定向传输所述云桌面网络请求;The
所述收发模块401,被配置为接收所述终端通过所述网络重定向通道提供的网络反馈数据,其中,所述网络反馈数据由所述终端基于所述云桌面网络请求对应的网络地址得到的,所述网络地址包括终端连接公网的公网地址和/或所述终端所在本地网络的局域网地址。The
一些实施方式中,所述处理单元402,还被配置为:In some implementation manners, the
获取所述云桌面传输协议支持的配置参数,所述配置参数由所述云桌面网络所支持的传输网络类型决定;Obtain configuration parameters supported by the cloud desktop transmission protocol, where the configuration parameters are determined by the type of transmission network supported by the cloud desktop network;
基于所述网络配置参数在所述云桌面服务端与所述终端之间配置对应的网络重定向通道。A corresponding network redirection channel is configured between the cloud desktop server and the terminal based on the network configuration parameters.
一些实施方式中,所述处理单元402基于所述网络配置参数在所述云桌面服务端与所述终端之间配置对应的网络重定向通道时,被具体配置为:In some implementations, when the
基于所述云桌面传输协议、以及所述终端的配置参数,在所述终端侧建立所述网络重定向通道对应的重定向端口作为第一重定向端口,以向所述终端提供接口访问服务;Based on the cloud desktop transfer protocol and configuration parameters of the terminal, establishing a redirection port corresponding to the network redirection channel on the terminal side as a first redirection port, so as to provide interface access services to the terminal;
基于所述云桌面传输协议、以及所述云桌面服务端的配置参数,在所述云桌面服务端侧建立所述网络重定向通道对应的重定向端口作为第二重定向端口,以向所述云桌面服务端提供接口访问服务;Based on the cloud desktop transmission protocol and the configuration parameters of the cloud desktop server, the redirection port corresponding to the network redirection channel is established on the cloud desktop server side as the second redirection port to send to the cloud The desktop server provides interface access services;
其中,重定向端口包括代理重定向端口模块和/或虚拟网卡。Wherein, the redirection port includes a proxy redirection port module and/or a virtual network card.
一些实施方式中,所述处理单元402通过网络重定向通道向所述终端重定向传输所述云桌面网络请求时,被具体配置为:In some implementations, when the
基于所述云桌面传输协议将所述云桌面网络请求构建为第一数据包;Constructing the cloud desktop network request as a first data packet based on the cloud desktop transmission protocol;
通过所述第二重定向端口将所述第一数据包经由所述网络重定向通道发送至所述终端。sending the first data packet to the terminal via the network redirection channel through the second redirection port.
一些实施方式中,所述处理单元402还被配置为:In some implementation manners, the
在所述云桌面服务端侧建立所述云桌面传输协议对应的第二代理服务模块,以向所述云桌面服务端提供与所述云桌面传输协议匹配的数据代理服务;Establishing a second proxy service module corresponding to the cloud desktop transfer protocol on the cloud desktop server side to provide the cloud desktop server with a data proxy service matching the cloud desktop transfer protocol;
所述收发模块401接收所述终端通过所述网络重定向通道提供的网络反馈数据时,被具体配置为:When the
通过所述第二代理服务模块解析第二数据包得到所述网络反馈数据;Obtaining the network feedback data by parsing the second data packet through the second proxy service module;
所述第二数据包为所述终端采用第一代理服务模块封装所述网络反馈数据得到的,所述第一代理服务模块用于为所述终端提供与所述云桌面传输协议匹配的数据代理服务。The second data packet is obtained by the terminal using a first proxy service module to encapsulate the network feedback data, and the first proxy service module is used to provide the terminal with a data proxy that matches the cloud desktop transmission protocol Serve.
一些实施方式中,所述处理单元402还被配置为:In some implementation manners, the
所述收发模块401接收所述终端通过所述网络重定向通道提供的网络反馈数据之后,处理所述网络反馈数据,得到云桌面网络请求结果;After receiving the network feedback data provided by the terminal through the network redirection channel, the
通过所述网络重定向通道向所述终端发送所述云桌面网络请求结果,使所述终端呈现所述云桌面网络请求结果。Sending the cloud desktop network request result to the terminal through the network redirection channel, so that the terminal presents the cloud desktop network request result.
本申请实施例的应用于云桌面服务端的数据处理装置,使得云桌面服务端可以通过云桌面服务端与终端之间的网络重定向通道,将云桌面网络请求重定向传输至终端,以便终端可根据云桌面网络请求中包含的数据内容(如网络地址)获取到对应的网络反馈数据,进而接收终端提供的网络反馈数据,实现云侧对端侧的网络复用,大大提高云桌面系统的使用效率,降低云侧网络开销。The data processing device applied to the cloud desktop server in the embodiment of the present application enables the cloud desktop server to redirect and transmit the cloud desktop network request to the terminal through the network redirection channel between the cloud desktop server and the terminal, so that the terminal can Obtain the corresponding network feedback data according to the data content (such as network address) contained in the cloud desktop network request, and then receive the network feedback data provided by the terminal, realize the network multiplexing from the cloud side to the terminal side, and greatly improve the use of the cloud desktop system Efficiency, reducing cloud-side network overhead.
在介绍了本申请实施例的方法和装置之后,接下来,对本申请实施例的计算机可读存储介质进行说明,计算机可读存储介质可为光盘,其上存储有计算机程序(即程序产品),所述计算机程序在被处理器运行时,会实现上述方法实施方式中所记载的各步骤。各步骤的具体实现方式在此不再重复说明。After introducing the method and device of the embodiment of the present application, next, the computer-readable storage medium of the embodiment of the present application will be described. The computer-readable storage medium can be an optical disc on which a computer program (ie, a program product) is stored. When the computer program is run by the processor, it will realize each step described in the above method implementation manner. The specific implementation manner of each step will not be repeated here.
需要说明的是,所述计算机可读存储介质的例子还可以包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他光学、磁性存储介质,在此不再一一赘述。It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random Access memory (RAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other optical and magnetic storage media will not be repeated here.
上面从模块化功能实体的角度对本申请实施例中的数据处理装置30、数据处理装置40进行了描述,下面从硬件处理的角度分别对本申请实施例中的终端设备或服务设备侧的数据处理装置进行描述。The above describes the
需要说明的是,本申请数据处理装置各实施例(包括图3、图4所示的实施例)的收发模块对应的实体设备可以为收发器、射频电路、通信模块和输入/输出(I/O)接口等,处理模块对应的实体设备可以为处理器。图3、图4所示的数据处理装置均可以具有如图5所示的结构。It should be noted that the physical equipment corresponding to the transceiver module in each embodiment of the data processing apparatus of the present application (including the embodiments shown in FIG. 3 and FIG. 4 ) can be a transceiver, a radio frequency circuit, a communication module, and an input/output (I/O (0) interface, etc., the physical device corresponding to the processing module may be a processor. Both the data processing devices shown in FIG. 3 and FIG. 4 may have the structure shown in FIG. 5 .
例如,图3所示的数据处理装置30可以具有如图5所示的结构,当图3所示的装置具有如图5所示的结构时,图5中的处理器和收发器能够实现前述对应该数据处理装置30的装置实施例提供的处理模块302和收发模块301相同或相似的功能,图5中的中央存储器存储处理器执行上述应用于终端的数据处理方法时需要调用的计算机程序。在本申请实施例图3所示的实施例中的收发模块301所对应的实体设备可以为输入输出接口,处理模块302对应的实体设备可以为处理器。For example, the
又例如,图4所示的数据处理装置40可以具有如图5所示的结构,当图4所示的装置具有如图5所示的结构时,图5中的处理器和收发器能够实现前述对应该数据处理装置40的装置实施例提供的处理单元402和收发单元401相同或相似的功能,图5中的中央存储器存储处理器执行上述应用于云桌面服务端的数据处理方法时需要调用的计算机程序。在本申请实施例图3所示的实施例中的收发单元401所对应的实体设备可以为输入输出接口,处理单元402对应的实体设备可以为处理器。For another example, the
图6是本申请实施例提供的一种服务器结构示意图,该服务器1100可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(central processingunits,CPU)1122(例如,一个或一个以上处理器)和存储器1132,一个或一个以上存储应用程序1142或数据1144的存储介质1130(例如一个或一个以上海量存储设备)。其中,存储器1132和存储介质1130可以是短暂存储或持久存储。存储在存储介质1130的程序可以包括一个或一个以上模块(图中未示出),每个模块可以包括对服务器中的一系列指令操作。更进一步地,中央处理器1122可以设置为与存储介质1130通信,在服务器1100上执行存储介质1130中的一系列指令操作。FIG. 6 is a schematic diagram of a server structure provided by an embodiment of the present application. The
服务器1100还可以包括一个或一个以上电源1120,一个或一个以上有线或无线网络接口1150,一个或一个以上输入输出接口1158,和/或,一个或一个以上操作系统1141,例如Windows Server,Mac OSX,Unix,Linux,FreeBSD等等。The
上述实施例中由服务器所执行的步骤可以基于该图6所示的服务器1100的结构。例如,例如上述实施例中由图6所示的数据处理装置30所执行的步骤可以基于该图6所示的服务器结构。例如,所述中央处理器1122通过调用存储器1132中的指令,执行以下操作:The steps performed by the server in the foregoing embodiments may be based on the structure of the
通过输入输出接口1158通过输入输出接口1158接收终端提供的云桌面网络请求;Receive the cloud desktop network request provided by the terminal through the input and
通过网络重定向通道向所述终端重定向传输所述云桌面网络请求;Redirecting and transmitting the cloud desktop network request to the terminal through a network redirection channel;
接收所述终端通过所述网络重定向通道提供的网络反馈数据,其中,所述网络反馈数据由所述终端基于所述云桌面网络请求对应的网络地址得到的,所述网络地址包括终端连接公网的公网地址和/或所述终端所在本地网络的局域网地址。receiving network feedback data provided by the terminal through the network redirection channel, wherein the network feedback data is obtained by the terminal based on a network address corresponding to the cloud desktop network request, and the network address includes a terminal connection public address The public network address of the network and/or the local area network address of the local network where the terminal is located.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and module can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请实施例所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in the embodiments of the present application, it should be understood that the disclosed system, device and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be in electrical, mechanical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or may be distributed to multiple network modules. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请实施例各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, each functional module in each embodiment of the embodiment of the present application may be integrated into one processing module, each module may exist separately physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机计算机程序时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。The computer program product includes one or more computer instructions. When the computer program is loaded and executed on the computer, all or part of the processes or functions according to the embodiments of the present application will be generated. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server, or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be stored by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a Solid State Disk (SSD)).
以上对本申请实施例所提供的技术方案进行了详细介绍,本申请实施例中应用了具体个例对本申请实施例的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请实施例的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请实施例的限制。The technical solutions provided by the embodiments of the present application have been introduced in detail above. In the embodiments of the present application, specific examples have been used to illustrate the principles and implementation methods of the embodiments of the present application. The descriptions of the above embodiments are only used to help understand the present application. The method of the embodiment and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the embodiment of the application, there will be changes in the specific implementation and scope of application. In summary, the content of this specification It should not be understood as a limitation to the embodiment of the present application.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211262419.5A CN115834684A (en) | 2022-10-14 | 2022-10-14 | Data processing method, cloud desktop system, device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211262419.5A CN115834684A (en) | 2022-10-14 | 2022-10-14 | Data processing method, cloud desktop system, device and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115834684A true CN115834684A (en) | 2023-03-21 |
Family
ID=85524803
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211262419.5A Pending CN115834684A (en) | 2022-10-14 | 2022-10-14 | Data processing method, cloud desktop system, device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115834684A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117294763A (en) * | 2023-11-27 | 2023-12-26 | 武汉泽塔云科技股份有限公司 | Cloud desktop terminal management method for forwarding terminal request information based on proxy service |
| CN119696878A (en) * | 2024-12-11 | 2025-03-25 | 北京天融信网络安全技术有限公司 | Cloud desktop access dynamic control method, device, electronic device, storage medium and product |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115022179A (en) * | 2022-06-23 | 2022-09-06 | 阿里巴巴(中国)有限公司 | Cloud desktop system, network redirection method, equipment and storage medium |
-
2022
- 2022-10-14 CN CN202211262419.5A patent/CN115834684A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115022179A (en) * | 2022-06-23 | 2022-09-06 | 阿里巴巴(中国)有限公司 | Cloud desktop system, network redirection method, equipment and storage medium |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117294763A (en) * | 2023-11-27 | 2023-12-26 | 武汉泽塔云科技股份有限公司 | Cloud desktop terminal management method for forwarding terminal request information based on proxy service |
| CN119696878A (en) * | 2024-12-11 | 2025-03-25 | 北京天融信网络安全技术有限公司 | Cloud desktop access dynamic control method, device, electronic device, storage medium and product |
| CN119696878B (en) * | 2024-12-11 | 2025-10-10 | 北京天融信网络安全技术有限公司 | Cloud desktop access dynamic control method, device, electronic device, storage medium and product |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12212635B2 (en) | Traffic forwarding and disambiguation by using local proxies and addresses | |
| US10250646B2 (en) | Method and device for establishing channel | |
| CN107948324B (en) | request transmission system, method, device and storage medium | |
| CN111294399B (en) | A data transmission method and device | |
| CN108200165B (en) | request transmission system, method, device and storage medium | |
| CN110098947A (en) | A kind of dispositions method of application, equipment and system | |
| CN102148767A (en) | Network address translation (NAT)-based data routing method and device | |
| JP6983218B2 (en) | Efficient forwarding of encapsulated media traffic over the datagram-based transport layer | |
| CN104506802B (en) | The method of video monitoring system, passing through NAT monitor video data | |
| WO2022242507A1 (en) | Communication method, apparatus, computer-readable medium electronic device, and program product | |
| CN108200158B (en) | request transmission system, method, device and storage medium | |
| WO2021063028A1 (en) | Method and apparatus for providing network service for service, and computing device | |
| EP4175221A1 (en) | Method for accessing network, media gateway, electronic device, and storage medium | |
| WO2015065210A1 (en) | Secure mobile access to resources within a private network | |
| CN115834684A (en) | Data processing method, cloud desktop system, device and storage medium | |
| WO2023151264A1 (en) | Load balancing method and apparatus, node, and storage medium | |
| US10367894B2 (en) | Information processing apparatus, method for controlling the same, non-transitory computer-readable storage medium, and information processing system | |
| WO2023116165A1 (en) | Network load balancing method and apparatus, electronic device, medium, and program product | |
| CN110177128A (en) | Data transmission system and method for establishing VPN connection, terminal and VPN proxy thereof | |
| CN118301214A (en) | Method, system, storage medium and electronic device for transmitting target service data | |
| CN114301968A (en) | Server-side access method, system, equipment and storage medium | |
| CN112968965A (en) | Metadata service method, server and storage medium for NFV network node | |
| CN117460085A (en) | Individual PFCP session model for residential gateway network access | |
| WO2022001639A1 (en) | Communication method, mobile device and routing device | |
| US20240089305A1 (en) | Session initiation protocol (sip) based transfer of user information from an inviting user to an invited user |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |