[go: up one dir, main page]

CN114257585A - A network access method, device, device and medium - Google Patents

A network access method, device, device and medium Download PDF

Info

Publication number
CN114257585A
CN114257585A CN202111580924.XA CN202111580924A CN114257585A CN 114257585 A CN114257585 A CN 114257585A CN 202111580924 A CN202111580924 A CN 202111580924A CN 114257585 A CN114257585 A CN 114257585A
Authority
CN
China
Prior art keywords
cloud desktop
network
request data
response data
client
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
CN202111580924.XA
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.)
China Telecom Cloud Technology Co Ltd
Original Assignee
China Telecom Cloud Technology Co Ltd
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 China Telecom Cloud Technology Co Ltd filed Critical China Telecom Cloud Technology Co Ltd
Priority to CN202111580924.XA priority Critical patent/CN114257585A/en
Publication of CN114257585A publication Critical patent/CN114257585A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • 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)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)

Abstract

本申请公开了一种网络访问方法、装置、设备及介质,用以实现提升网络访问体验。由于在本申请中,云桌面将获取到的网络请求数据发送给云桌面客户端,云桌面客户端将该网络请求数据发送给互联网服务器,在互联网服务器中获取相应的网络相应数据,实现第一应用的网络访问,云桌面客户端反向代理云桌面的网络请求,因此云桌面可以借助云桌面客户端访问网络,可以提升云桌面内应用的网络访问速度,即使在云桌面内网络故障的情况下,云桌面内的应用仍然可以访问网络,在不增加云桌面成本的情况下,也可以提升云桌面访问网络的体验,减少云桌面访问网络的网络压力,优化了云桌面网络资源配置。

Figure 202111580924

The present application discloses a network access method, apparatus, device and medium, which are used to improve network access experience. Because in this application, the cloud desktop sends the acquired network request data to the cloud desktop client, and the cloud desktop client sends the network request data to the Internet server, and obtains the corresponding network corresponding data in the Internet server. For application network access, the cloud desktop client reverse proxy cloud desktop network requests, so cloud desktop can use cloud desktop client to access the network, which can improve the network access speed of applications in cloud desktop, even in the case of network failure in cloud desktop Under the cloud desktop, applications in the cloud desktop can still access the network, and without increasing the cost of the cloud desktop, the experience of the cloud desktop accessing the network can be improved, the network pressure of the cloud desktop accessing the network can be reduced, and the network resource configuration of the cloud desktop can be optimized.

Figure 202111580924

Description

Network access method, device, equipment and medium
Technical Field
The present application relates to the field of cloud computing technologies, and in particular, to a network access method, apparatus, device, and medium.
Background
The cloud desktop is a product in the cloud computing era, a computer system is virtualized by utilizing a virtual technology, and various physical devices are virtualized at the cloud end, so that the resource allocation, adjustment and recovery can be freely realized, the operation and maintenance cost of a user is reduced, and the desktop can be acquired at any time and any place for use. The virtualized cloud desktop is used as a remote desktop, can be transmitted to various types of terminals through a network for display, and has the characteristics of safety and portability.
At present, a network card is virtualized in a cloud desktop directly through network virtualization, the network card is used as a local network card, a user accesses the internet in the cloud desktop and needs to purchase bandwidth as the same as the local network card, and otherwise the user cannot surf the internet. Cloud desktop manufacturers configure network bandwidth for cloud desktops according to the cloud desktop bandwidth purchased by users, generally, the network bandwidth is low, such as 5Mbps or 2Mbps, and when the network requirements of users in the cloud desktops are high, users can only purchase cloud desktop products with higher specifications.
The process of surfing the internet by the cloud desktop is shown in fig. 1, a user connects to the cloud desktop through a cloud desktop client and accesses the internet by using an application in the cloud desktop, for example, an application 1, an application 2, … …, and an application n are installed in the cloud desktop, the user operates the application in the cloud desktop, for example, the application 2, and sends network request data to the internet, and the internet returns network response data to the application 2 in the cloud desktop. Generally, the network bandwidth of the cloud desktop is low, the speed of a user accessing the internet through the cloud desktop is low, network faults also occur in the network in the cloud desktop, and if the network faults occur, the user cannot access the internet through the cloud desktop. In sum, the user is limited to access the internet through the cloud desktop, and the user experience is poor.
Disclosure of Invention
The application provides a network access method, a device, equipment and a medium, which are used for improving network access experience.
The application provides a network access method, which comprises the following steps:
the cloud desktop acquires network request data, wherein the network request data is used for a first application to access a network;
the cloud desktop sends the network request data to a connected cloud desktop client;
and the cloud desktop receives network response data returned by the cloud desktop client, wherein the network response data is response data of the first application accessing the network.
Further, the cloud desktop acquiring the network request data includes:
and the cloud desktop acquires the network request data based on a firewall security session conversion protocol (Socks) proxy protocol.
Further, the sending, by the cloud desktop, the network request data to a connected cloud desktop client, and the receiving, by the cloud desktop, the network response data returned by the cloud desktop client includes:
the cloud desktop sends the network request data to the cloud desktop client through a first connection channel between the cloud desktop and the cloud desktop client, wherein the first connection channel is used for data forwarding and network rate control;
and the cloud desktop receives the network response data returned by the cloud desktop client through the first connecting channel.
In another aspect, a network access method is provided, the method including:
the method comprises the steps that a cloud desktop client receives network request data sent by a cloud desktop, wherein the network request data are used for a first application to access a network;
the cloud desktop client sends the network request data to an internet server and receives network response data returned by the internet server, wherein the network response data is response data of the first application for accessing the network;
and the cloud desktop client sends the network response data to the cloud desktop.
Further, the receiving, by the cloud desktop client, the network request data sent by the cloud desktop includes:
the cloud desktop client receives the network request data sent by the cloud desktop based on a firewall security session conversion protocol (Socks) proxy protocol;
the sending, by the cloud desktop client, the network response data to the cloud desktop includes:
and the cloud desktop client sends the network response data to the cloud desktop based on the Socks proxy protocol.
Further, the receiving, by the cloud desktop client, the network request data sent by the cloud desktop includes:
the cloud desktop client receives the network request data sent by the cloud desktop through a first connecting channel between the cloud desktop client and the cloud desktop client, wherein the first connecting channel is used for data forwarding and network rate control;
the sending, by the cloud desktop client, the network response data to the cloud desktop includes:
and the cloud desktop client sends the network response data to the cloud desktop through the first connecting channel.
In another aspect, an embodiment of the present application provides a network access apparatus, where the apparatus includes:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring network request data, and the network request data is used for a first application to access a network;
the sending unit is used for sending the network request data to a connected cloud desktop client;
and the receiving unit is used for receiving network response data returned by the cloud desktop client, wherein the network response data is response data of the first application accessing the network.
In another aspect, an embodiment of the present application provides a network access apparatus, where the apparatus includes:
the cloud desktop management system comprises a first receiving unit, a second receiving unit and a processing unit, wherein the first receiving unit is used for receiving network request data sent by the cloud desktop, and the network request data is used for a first application to access a network;
the first sending unit is used for sending the network request data to an Internet server;
a second receiving unit, configured to receive network response data returned by the internet server, where the network response data is response data of the first application accessing a network;
and the second sending unit is used for sending the network response data to the cloud desktop.
In another aspect, the present application provides an electronic device, which includes a processor and a memory, where the processor is configured to implement the steps of any of the network access reduction methods described above when executing a computer program stored in the memory.
In another aspect, the present application provides a computer readable storage medium storing a computer program, which when executed by a processor implements the steps of any of the above-described network access methods.
According to the method and the device, the cloud desktop sends the acquired network request data to the cloud desktop client, the cloud desktop client sends the network request data to the internet server, corresponding network corresponding data are acquired from the internet server, network access of the first application is achieved, and the cloud desktop client acts on the network request of the cloud desktop in a reverse mode.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a network access process;
fig. 2 is a schematic structural diagram of a network access system according to some embodiments of the present application;
fig. 3 is a schematic diagram of a network access process provided in some embodiments of the present application;
fig. 4 is a schematic diagram of a network access flow provided by some embodiments of the present application;
fig. 5 is a schematic diagram of a network access process provided in some embodiments of the present application;
fig. 6 is a schematic diagram of a network access process provided in some embodiments of the present application;
fig. 7 is a schematic structural diagram of a network access device according to some embodiments of the present application;
fig. 8 is a schematic structural diagram of a network access device according to some embodiments of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to some embodiments of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Example 1:
fig. 2 is a schematic structural diagram of a network access system provided in an embodiment of the present application, where the network access system includes a cloud desktop 201, a cloud desktop client 202, and an internet server 203.
The cloud desktop 201 can be viewed as a virtual host corresponding to the cloud desktop client 202, wherein a cloud desktop server (hereinafter referred to as a first electronic device for convenience of description) can virtualize one or more virtual hosts, i.e., virtualize one or more cloud desktops. One or more applications can be installed on each cloud desktop, and a user can connect to the corresponding cloud desktop 201 through the cloud desktop client 202 and operate and use the applications installed on the cloud desktop 201 to perform network access. The application can be regarded as an application client installed on the cloud desktop 201, and a server corresponding to the application client is the internet server 203. For convenience of description, in the embodiment of the present application, an application performing network access is referred to as a first application.
The cloud desktop client 202 may be installed on a second electronic device used by the user, where the second electronic device may be a computer, or a Personal Computer (PC), or a mobile phone. The operating system of the mobile phone can be an Android (Android) system or an IOS system.
One possible network access flow based on the network access system shown in fig. 2 is shown in fig. 3, and includes the following steps:
s301: the cloud desktop acquires network request data.
The user can connect the cloud desktop through the cloud desktop client, the first application in the cloud desktop is used for accessing the network, and the cloud desktop acquires the operation of the user on the first application and determines the network request data. Wherein the network request data is for the first application to access the network. The first application is a pre-configured application that allows the cloud desktop client to perform network access to the proxy, for example, the first application is configured in a proxy forwarding rule.
Optionally, the network request data may be carried in the network request. The network request data may include an application identifier of the first application, address information of the cloud desktop, and the like, and it can be understood that the network request data may carry different information according to different network access requirements, which is not limited herein.
In the related art, when a user accesses a network through a cloud desktop, the user experience is poor due to the limitation of the network bandwidth of the cloud desktop and the limitation of whether the network fails, so that the requirement of the cloud desktop for accessing the network is forwarded to the client to realize the requirement based on the network request of the client reverse proxy cloud desktop in the embodiment of the application. That is to say, as long as the user is connected with the cloud desktop, the cloud desktop can access the network by means of the cloud desktop client, so that the network access speed of the application in the cloud desktop can be increased, and even under the condition that the network in the cloud desktop fails, the application in the cloud desktop can still access the network.
In order to implement the reverse proxy network request, a proxy forwarding module may be disposed in the cloud desktop, and the proxy forwarding module may intercept network request data of the first application. In a possible implementation manner, the cloud desktop supports a network forwarding agent protocol, and an agent forwarding rule is configured in the cloud desktop, so that when a first application in the cloud desktop has an internet request, an agent forwarding module in the cloud desktop can intercept the internet request of the first application and acquire network request data in the internet request. For example, an application (all or part of applications in a cloud desktop) that allows network access by using the network access method according to the embodiment of the present application may be configured in the proxy forwarding rule, where the proxy forwarding rule is pre-configured with a first application, and a user may access a network through an internal network bandwidth of the cloud desktop or through a reverse proxy of a cloud desktop client, so that network access is more flexible.
Alternatively, the network forwarding proxy protocol may be a firewall security session transfer protocol (Socks) proxy protocol, and the Socks proxy protocol may be a Sock4 proxy protocol or a Sock5 proxy protocol, etc. For example, in S301, the cloud desktop obtains the network request data based on the Socks proxy protocol.
S302: and the cloud desktop sends network request data to the connected cloud desktop client. Correspondingly, the cloud desktop client receives the network request data sent by the cloud desktop.
If network forwarding agent protocols such as Socks agent protocol and the like are supported in the cloud desktop, correspondingly, network forwarding agent protocols such as Socks agent protocol and the like are also supported in the cloud desktop client, so that interaction between the cloud desktop and the cloud desktop client is ensured. For example, the cloud desktop (or a proxy forwarding module in the cloud desktop) may send the network request data to the cloud desktop client based on the Socks proxy protocol, and accordingly, the cloud desktop client (or a proxy forwarding module in the cloud desktop client) may receive the network request data based on the Socks proxy protocol.
In the related art, a second connection channel is established between the cloud desktop and the cloud desktop client, and the second connection channel is a common connection channel when a user normally uses the cloud desktop, and is used for the user to use an application in the cloud desktop through the second connection channel by the cloud desktop client. A first connection channel can be established between the cloud desktop and the cloud desktop client. In a possible implementation manner, the first connection channel is used for data forwarding, that is, the first connection channel may be a dedicated connection channel when a network request is proxied backwards, and the first connection channel and the second connection channel may be distinguished from each other, so that the influence on the normal use of the cloud desktop by the user is avoided. In another possible implementation manner, the first connection channel may be used for network rate control, and may automatically detect whether the cloud desktop connection channel is stuck, so as to avoid that the reverse proxy network request occupies too much network bandwidth of the cloud desktop and affects normal connection and use of the cloud desktop. Alternatively, the first connection channel may be a Transmission Control Protocol (TCP) connection channel.
For example, the cloud desktop sends the network request data to the cloud desktop client through a first connection channel between the cloud desktop client and the cloud desktop client, and correspondingly, the cloud desktop client receives the network request data through the first connection channel. Optionally, the cloud desktop re-encapsulates the acquired network request data and sends the network request data to the cloud desktop client.
S303: the cloud desktop client sends network request data to the internet server. Accordingly, the internet server receives the network request data.
In some possible cases, the network request data received by the cloud desktop client is encapsulated, and at this time, the cloud desktop client can unpack the received data to obtain the network request data and then send the network request data to the internet server.
S304: and the internet server sends network response data to the cloud desktop client. Correspondingly, the cloud desktop client receives network response data returned by the internet server.
The internet server may determine, according to the network request data, network response data corresponding to the network request data, and a specific process of determining the network response data is not limited in this embodiment of the application. Wherein the network response data is response data of the first application accessing the network.
S305: and the cloud desktop client sends the network response data to the cloud desktop. Correspondingly, the cloud desktop receives network response data returned by the cloud desktop client.
If the cloud desktop and the cloud desktop client support the network forwarding proxy protocol, for example, in S305, the cloud desktop client (or the proxy forwarding module of the cloud desktop client) sends the network response data to the cloud desktop (or the proxy forwarding module of the cloud desktop) based on the Socks proxy protocol, and correspondingly, the cloud desktop (or the proxy forwarding module of the cloud desktop) receives the network response data. Taking the example that the proxy forwarding module of the cloud desktop receives the network response data, the proxy forwarding module of the cloud desktop can forward the network response data to the first application, and the first application can display or process the network response data, so that network access is realized.
If a first connection channel is established between the cloud desktop and the cloud desktop client, the cloud desktop client can send network response data to the cloud desktop through the first connection channel, and the cloud desktop can receive the network response data through the first connection channel.
In a possible implementation manner, interaction of network request data and network response can be performed between the cloud desktop and the cloud desktop client through the first connection channel based on the Socks proxy protocol.
According to the method and the device, the cloud desktop sends the acquired network request data to the cloud desktop client, the cloud desktop client sends the network request data to the internet server, corresponding network corresponding data are acquired from the internet server, network access of the first application is achieved, and the cloud desktop client acts on the network request of the cloud desktop in a reverse mode.
Example 2:
on the basis of the foregoing embodiments, embodiments of the present application provide a network access procedure, as shown in fig. 4:
the user connects the cloud desktop through the cloud desktop client, and uses and operates the applications in the cloud desktop, such as application 1, application 2, … … and application n installed in the cloud desktop. The cloud desktop and the cloud desktop client are provided with proxy forwarding modules, and the proxy forwarding modules communicate based on a Socks proxy protocol. The proxy forwarding module of the cloud desktop can acquire network request data of a certain application (the application is one of applications 1 to n), and the network request data is packaged and then sent to the proxy forwarding module of the cloud desktop client through a TCP channel based on a Socks proxy protocol. The proxy forwarding module of the cloud desktop client sends network request data to the internet server, and the internet server sends corresponding network response data to the proxy forwarding module of the client. And the proxy forwarding module of the cloud desktop client sends network response data to the proxy forwarding module of the cloud desktop through the TCP channel based on the Socks proxy protocol. And the proxy forwarding module of the cloud desktop sends the network response data to the corresponding application.
Therefore, under the condition that the network specification (such as network bandwidth) in the cloud desktop is not changed, a new approach for the cloud desktop to access the network is provided, and based on the mode that the cloud desktop client reversely proxies the cloud desktop network access request, the cloud desktop realizes the network access requirement by means of the cloud desktop client, so that the network access speed in the cloud desktop can be improved. For example, when the network bandwidth in the cloud desktop is low, the internet surfing experience of a user can be improved by means of the network bandwidth of the local network of the cloud desktop client. And if the network in the cloud desktop fails, the network access can be realized by means of the cloud desktop client, so that the internet surfing experience of the user is improved.
In addition, in the embodiment of the application, as the network access is carried out by means of the cloud desktop client, the user internet experience is improved, and meanwhile, the user does not need to pay extra cost.
Example 3:
on the basis of the foregoing embodiment, as shown in fig. 5, a network access method provided in the embodiment of the present application includes the following steps:
s501: the cloud desktop acquires network request data, and the network request data is used for the first application to access the network.
S502: and the cloud desktop sends network request data to the connected cloud desktop client.
S503: the cloud desktop receives network response data returned by the cloud desktop client, wherein the network response data is response data of the first application accessing the network.
In one possible implementation, the cloud desktop acquiring the network request data includes:
the cloud desktop acquires network request data based on a Socks proxy protocol.
In one possible implementation, the cloud desktop sends network request data to the connected cloud desktop client: the cloud desktop sends network request data to a connected cloud desktop client based on a Socks proxy protocol;
the cloud desktop receiving network response data returned by the cloud desktop client comprises the following steps: the cloud desktop receives network response data returned by the cloud desktop client based on a Socks proxy protocol.
In one possible implementation, the cloud desktop sends network request data to the connected cloud desktop client: the cloud desktop sends network request data to the cloud desktop client through a first connection channel between the cloud desktop and the cloud desktop client, wherein the first connection channel is used for forwarding data and/or is used for controlling network rate;
the cloud desktop receiving network response data returned by the cloud desktop client comprises the following steps: the cloud desktop receives network response data returned by the cloud desktop client through the first connecting channel.
In one possible implementation, the cloud desktop sends network request data to the connected cloud desktop client: the cloud desktop sends network request data to the cloud desktop client through a first connecting channel between the cloud desktop and the cloud desktop client based on a Socks proxy protocol;
the cloud desktop receiving network response data returned by the cloud desktop client comprises the following steps: the cloud desktop receives network response data returned by the cloud desktop client through the first connecting channel based on the Socks proxy protocol.
In one possible implementation, the first application is a pre-configured application that allows the cloud desktop client reverse proxy to have network access.
The steps implemented in the embodiments of the present application may refer to the other embodiments described above, and repeated details are not described herein.
Example 4:
on the basis of the foregoing embodiment, as shown in fig. 6, a network access method provided in the embodiment of the present application includes the following steps:
s601: the cloud desktop client receives network request data sent by the cloud desktop, and the network request data is used for the first application to access the network.
S602: the cloud desktop client sends network request data to the Internet server and receives network response data returned by the Internet server, wherein the network response data is response data of the first application accessing the network.
S603: and the cloud desktop client sends the network response data to the cloud desktop.
In one possible implementation, the receiving, by the cloud desktop client, network request data sent by the cloud desktop includes: the cloud desktop client receives network request data sent by a cloud desktop based on a Socks proxy protocol;
the cloud desktop client sending the network response data to the cloud desktop comprises the following steps: the cloud desktop client sends network response data to the cloud desktop based on the Socks proxy protocol.
In one possible implementation, the receiving, by the cloud desktop client, network request data sent by the cloud desktop includes: the cloud desktop client receives network request data sent by a cloud desktop through a first connecting channel between the cloud desktop client and the cloud desktop client, wherein the first connecting channel is used for forwarding data and controlling network rate;
the cloud desktop client sending the network response data to the cloud desktop comprises the following steps: and the cloud desktop client sends network response data to the cloud desktop through the first connecting channel.
In one possible implementation, the receiving, by the cloud desktop client, network request data sent by the cloud desktop includes: the cloud desktop client receives network request data sent by a cloud desktop through a first connecting channel between the cloud desktop client and the cloud desktop client based on a Socks proxy protocol;
the cloud desktop client sending the network response data to the cloud desktop comprises the following steps: the cloud desktop client sends network response data to the cloud desktop through the first connecting channel based on the Socks proxy protocol.
In one possible implementation, the first application is a pre-configured application that allows the cloud desktop client reverse proxy to have network access.
The steps implemented in the embodiments of the present application may refer to the other embodiments described above, and repeated details are not described herein.
Example 5:
on the basis of the above embodiments, a network access device provided in the embodiments of the present application. Fig. 7 is a schematic structural diagram of a network access apparatus 700 provided in the present application, and as shown in fig. 7, the network access apparatus 700 includes:
an obtaining unit 701, configured to obtain network request data, where the network request data is used for a first application to access a network;
a sending unit 702, configured to send network request data to a connected cloud desktop client;
the receiving unit 703 is configured to receive network response data returned by the cloud desktop client, where the network response data is response data of the first application accessing the network.
Optionally, the proxy forwarding module of the cloud desktop includes a sending unit 702 and a receiving unit 703. The proxy forwarding module of the cloud desktop may further obtain unit 701.
In a possible implementation manner, the obtaining unit 701 is specifically configured to obtain the network request data based on a Socks proxy protocol.
In a possible implementation manner, the sending unit 702 is specifically configured to send network request data to a connected cloud desktop client based on a Socks proxy protocol.
The receiving unit 703 is specifically configured to receive, based on the Socks proxy protocol, network response data returned by the cloud desktop client.
In a possible implementation manner, the sending unit 702 is specifically configured to send the network request data to the cloud desktop client through a first connection channel between the cloud desktop client and the cloud desktop client, where the first connection channel is used to forward data, and/or the first connection channel is used to perform network rate control.
The receiving unit 703 is specifically configured to receive, through the first connection channel, network response data returned by the cloud desktop client.
In a possible implementation manner, the sending unit 702 is specifically configured to send, through a first connection channel with the cloud desktop client, network request data to the cloud desktop client based on a Socks proxy protocol.
The receiving unit 703 is specifically configured to receive, through the first connection channel, network response data returned by the cloud desktop client based on the Socks proxy protocol.
The steps implemented in the embodiments of the present application may refer to the other embodiments described above, and repeated details are not described herein.
Example 6:
on the basis of the above embodiments, a network access device provided in the embodiments of the present application. Fig. 8 is a schematic structural diagram of a network access apparatus 800 according to the present application, and as shown in fig. 8, the network access apparatus 800 includes:
a first receiving unit 801, configured to receive network request data sent by a cloud desktop, where the network request data is used for a first application to access a network;
a first transmitting unit 802, configured to transmit network request data to an internet server;
a second receiving unit 803, configured to receive network response data returned by the internet server, where the network response data is response data of the first application accessing the network;
a second sending unit 804, configured to send the network response data to the cloud desktop.
Optionally, the agent forwarding module of the cloud desktop client may include a first receiving unit 801 and a second sending unit 804.
In a possible implementation manner, the first receiving unit 801 is specifically configured to receive network request data sent by a cloud desktop based on a Socks proxy protocol.
The second sending unit 804 is specifically configured to send network response data to the cloud desktop based on the Socks proxy protocol.
In a possible implementation manner, the first receiving unit 801 is specifically configured to receive, through a first connection channel with a cloud desktop client, network request data sent by a cloud desktop.
The second sending unit 804 is specifically configured to send the network response data to the cloud desktop through the first connection channel.
In a possible implementation manner, the first receiving unit 801 is specifically configured to receive, through a first connection channel with a cloud desktop client, network request data sent by a cloud desktop based on a Socks proxy protocol.
The second sending unit 804 is specifically configured to send the network response data to the cloud desktop through the first connection channel based on the Socks proxy protocol.
The steps implemented in the embodiments of the present application may refer to the other embodiments described above, and repeated details are not described herein.
Example 7:
fig. 9 is a schematic structural diagram of an electronic device provided in the present application, and on the basis of the foregoing embodiments, an embodiment of the present application further provides an electronic device, as shown in fig. 9, including: the system comprises a processor 901, a communication interface 902, a memory 903 and a communication bus 904, wherein the processor 901, the communication interface 902 and the memory 903 are communicated with each other through the communication bus 904;
in one example, the memory 903 has stored therein a computer program that, when executed by the processor 901, causes the processor 901 to perform the steps of:
acquiring network request data, wherein the network request data is used for a first application to access a network;
sending network request data to a connected cloud desktop client;
and receiving network response data returned by the cloud desktop client, wherein the network response data is response data of the first application accessing the network.
Further, the processor 901 is specifically configured to obtain network request data based on the Socks proxy protocol.
Further, the processor 901 is specifically configured to send network request data to a connected cloud desktop client based on a Socks proxy protocol.
Further, the processor 901 is specifically configured to send network request data to a connected cloud desktop client based on a Socks proxy protocol.
Further, the processor 901 is specifically configured to receive network response data returned by the cloud desktop client based on the Socks proxy protocol.
Further, the processor 901 is specifically configured to send network request data to the cloud desktop client through a first connection channel between the cloud desktop client and the cloud desktop client, where the first connection channel is used to forward data, and/or the first connection channel is used to perform network rate control.
Further, the processor 901 is specifically configured to receive, through the first connection channel, network response data returned by the cloud desktop client.
Further, the processor 901 is specifically configured to send network request data to the cloud desktop client through a first connection channel with the cloud desktop client based on a Socks proxy protocol.
Further, the processor 901 is specifically configured to receive, through the first connection channel, network response data returned by the cloud desktop client based on the Socks proxy protocol.
In another example, the memory 903 has stored therein a computer program that, when executed by the processor 901, causes the processor 901 to perform the steps of:
receiving network request data sent by a cloud desktop, wherein the network request data is used for a first application to access a network;
sending network request data to an internet server, and receiving network response data returned by the internet server, wherein the network response data is response data of a first application accessing a network;
and sending the network response data to the cloud desktop.
Further, the processor 901 is specifically configured to receive network request data sent by the cloud desktop based on a Socks proxy protocol.
Further, the processor 901 is specifically configured to send network response data to the cloud desktop based on the Socks proxy protocol.
Further, the processor 901 is specifically configured to receive network request data sent by the cloud desktop through a first connection channel between the cloud desktop and the cloud desktop client, where the first connection channel is used to forward data, and the first connection channel is used to perform network rate control.
Further, the processor 901 is specifically configured to send the network response data to the cloud desktop through the first connection channel.
Further, the processor 901 is specifically configured to receive, through a first connection channel with the cloud desktop client, network request data sent by the cloud desktop based on a Socks proxy protocol.
Further, the processor 901 is specifically configured to send network response data to the cloud desktop through the first connection channel based on the Socks proxy protocol.
The communication interface 902 is used for communication between the electronic apparatus and other apparatuses.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
On the basis of the foregoing embodiments, the present application provides a computer-readable storage medium, in which a computer program executable by a processor is stored, and when the program is run on the processor, the processor is caused to execute the steps shown in fig. 3, fig. 5 or fig. 6.
Since the principle of the computer readable medium provided above for solving the problem is similar to the network access method, after the processor executes the computer program in the computer readable medium, the steps implemented may refer to the other embodiments described above, and repeated details are not repeated.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method of network access, the method comprising:
the cloud desktop acquires network request data, wherein the network request data is used for a first application to access a network;
the cloud desktop sends the network request data to a connected cloud desktop client;
and the cloud desktop receives network response data returned by the cloud desktop client, wherein the network response data is response data of the first application accessing the network.
2. The method of claim 1, wherein the cloud desktop obtaining network request data comprises:
and the cloud desktop acquires the network request data based on a firewall security session conversion protocol (Socks) proxy protocol.
3. The method of claim 1 or 2, wherein the cloud desktop sends the network request data to a connected cloud desktop client, and the cloud desktop receives network response data returned by the cloud desktop client comprises:
the cloud desktop sends the network request data to the cloud desktop client through a first connection channel between the cloud desktop and the cloud desktop client, wherein the first connection channel is used for data forwarding and network rate control;
and the cloud desktop receives the network response data returned by the cloud desktop client through the first connecting channel.
4. A method of network access, the method comprising:
the method comprises the steps that a cloud desktop client receives network request data sent by a cloud desktop, wherein the network request data are used for a first application to access a network;
the cloud desktop client sends the network request data to an internet server and receives network response data returned by the internet server, wherein the network response data is response data of the first application for accessing the network;
and the cloud desktop client sends the network response data to the cloud desktop.
5. The method of claim 4, wherein the cloud desktop client receiving network request data sent by a cloud desktop comprises:
the cloud desktop client receives the network request data sent by the cloud desktop based on a firewall security session conversion protocol (Socks) proxy protocol;
the sending, by the cloud desktop client, the network response data to the cloud desktop includes:
and the cloud desktop client sends the network response data to the cloud desktop based on the Socks proxy protocol.
6. The method of claim 4 or 5, wherein the cloud desktop client receiving the network request data sent by the cloud desktop comprises:
the cloud desktop client receives the network request data sent by the cloud desktop through a first connecting channel between the cloud desktop client and the cloud desktop client, wherein the first connecting channel is used for data forwarding and network rate control;
the sending, by the cloud desktop client, the network response data to the cloud desktop includes:
and the cloud desktop client sends the network response data to the cloud desktop through the first connecting channel.
7. A network access apparatus, the apparatus comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring network request data, and the network request data is used for a first application to access a network;
the sending unit is used for sending the network request data to a connected cloud desktop client;
and the receiving unit is used for receiving network response data returned by the cloud desktop client, wherein the network response data is response data of the first application accessing the network.
8. A network access apparatus, the apparatus comprising:
the cloud desktop management system comprises a first receiving unit, a second receiving unit and a processing unit, wherein the first receiving unit is used for receiving network request data sent by the cloud desktop, and the network request data is used for a first application to access a network;
the first sending unit is used for sending the network request data to an Internet server;
a second receiving unit, configured to receive network response data returned by the internet server, where the network response data is response data of the first application accessing a network;
and the second sending unit is used for sending the network response data to the cloud desktop.
9. An electronic device, characterized in that the electronic device comprises a processor and a memory, the processor being adapted to carry out the steps of the network access method according to any of claims 1-6 when executing a computer program stored in the memory.
10. A computer-readable storage medium, characterized in that it stores a computer program which, when being executed by a processor, carries out the steps of the network access method according to any one of the preceding claims 1 to 6.
CN202111580924.XA 2021-12-22 2021-12-22 A network access method, device, device and medium Pending CN114257585A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111580924.XA CN114257585A (en) 2021-12-22 2021-12-22 A network access method, device, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111580924.XA CN114257585A (en) 2021-12-22 2021-12-22 A network access method, device, device and medium

Publications (1)

Publication Number Publication Date
CN114257585A true CN114257585A (en) 2022-03-29

Family

ID=80794276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111580924.XA Pending CN114257585A (en) 2021-12-22 2021-12-22 A network access method, device, device and medium

Country Status (1)

Country Link
CN (1) CN114257585A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092760A (en) * 2014-07-15 2014-10-08 东莞市微云系统科技有限公司 System and method for cloud terminal multicast redirection
CN105763638A (en) * 2016-04-18 2016-07-13 广州优达信息科技有限公司 Cloud terminal reverse control system
CN107517192A (en) * 2016-06-17 2017-12-26 中兴通讯股份有限公司 Cloud desktop disaster recovery method, client, service end and cloud desktop disaster tolerance system
CN107959701A (en) * 2016-10-17 2018-04-24 中兴通讯股份有限公司 Data sharing method, cloud terminal, cloud desktop virtual machine and pass-through proxy server
US20180121030A1 (en) * 2016-10-28 2018-05-03 Vmware, Inc. Adapting remote display protocols to remote applications
CN113452711A (en) * 2021-06-29 2021-09-28 新华三大数据技术有限公司 Single sign-on method of cloud desktop and network equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092760A (en) * 2014-07-15 2014-10-08 东莞市微云系统科技有限公司 System and method for cloud terminal multicast redirection
CN105763638A (en) * 2016-04-18 2016-07-13 广州优达信息科技有限公司 Cloud terminal reverse control system
CN107517192A (en) * 2016-06-17 2017-12-26 中兴通讯股份有限公司 Cloud desktop disaster recovery method, client, service end and cloud desktop disaster tolerance system
CN107959701A (en) * 2016-10-17 2018-04-24 中兴通讯股份有限公司 Data sharing method, cloud terminal, cloud desktop virtual machine and pass-through proxy server
US20180121030A1 (en) * 2016-10-28 2018-05-03 Vmware, Inc. Adapting remote display protocols to remote applications
CN113452711A (en) * 2021-06-29 2021-09-28 新华三大数据技术有限公司 Single sign-on method of cloud desktop and network equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
南金瑞: "《汽车单片机及车载总线技术》", 北京理工大学出版社, pages: 61 - 70 *

Similar Documents

Publication Publication Date Title
US10698717B2 (en) Accelerator virtualization method and apparatus, and centralized resource manager
CN103608794B (en) The method and apparatus serviced by pipe USB are remotely delivered by mobile computing device
US9244817B2 (en) Remote debugging in a cloud computing environment
US9706371B2 (en) Push notification middleware
AU2017286888B2 (en) Technologies for managing application configurations and associated credentials
US20110283002A1 (en) Selectively Communicating Data Of A Peripheral Device To Plural Sending Computers
US8850090B2 (en) USB redirection for read transactions
JP5293580B2 (en) Web service system, web service method and program
WO2015062339A1 (en) Method and device for running remote application program
US20170339234A1 (en) Session reliability for a redirected usb device
US8566847B2 (en) Out-of-band host management via a management controller
CN105378659A (en) Method and system for enabling access of client device to remote desktop
US20170163691A1 (en) Methods, circuits, apparatus, systems and associated software applications for providing security on one or more servers, including virtual servers
US10747549B2 (en) Proxy application to transfer application protocol requests over IOCTL commands
JP2016095830A (en) Redirection of serial output by HTTP
CN104349177A (en) Method for turning to play multimedia file under desktop cloud, virtual machine and system
CN116860391A (en) GPU computing power resource scheduling method, device, equipment and medium
CN114936072A (en) Hardware capability calling method and related equipment
US20160026602A1 (en) Method and System for Communication of Device Information
US9191445B2 (en) Systems and methods for managing emulation sessions
CN114257585A (en) A network access method, device, device and medium
US20190207997A1 (en) Technologies for streaming device role reversal
CN110609866A (en) Method, apparatus and computer program product for negotiating transactions
US9330030B2 (en) Bridge decoder for a vehicle infotainment system
US7908364B2 (en) Method storing socket state information in application space for improving communication efficiency of an application program

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220329

RJ01 Rejection of invention patent application after publication