CN117294763A - Cloud desktop terminal management method for forwarding terminal request information based on proxy service - Google Patents

Cloud desktop terminal management method for forwarding terminal request information based on proxy service Download PDF

Info

Publication number
CN117294763A
CN117294763A CN202311586792.0A CN202311586792A CN117294763A CN 117294763 A CN117294763 A CN 117294763A CN 202311586792 A CN202311586792 A CN 202311586792A CN 117294763 A CN117294763 A CN 117294763A
Authority
CN
China
Prior art keywords
terminal
information
request information
cloud desktop
data
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
CN202311586792.0A
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.)
Wuhan Zeta Cloud Technology Co ltd
Original Assignee
Wuhan Zeta 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 Wuhan Zeta Cloud Technology Co ltd filed Critical Wuhan Zeta Cloud Technology Co ltd
Priority to CN202311586792.0A priority Critical patent/CN117294763A/en
Publication of CN117294763A publication Critical patent/CN117294763A/en
Pending legal-status Critical Current

Links

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/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets

Landscapes

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

Abstract

The application relates to a cloud desktop terminal management method for forwarding terminal request information based on proxy service, which is applied to the proxy service, wherein the proxy service comprises an intermediate layer host which is virtualized in a super-converged cloud desktop scene, and the method comprises the following steps: acquiring first terminal request information issued by an external network terminal based on a gateway interface; acquiring second terminal request information issued by an intranet terminal based on the monitored network data packet; based on a preset packaging mode, packaging the first terminal request information and the second terminal request information to obtain packaging information; the encapsulation information is sent to the cloud desktop service platform in an HTTP request mode through a RESTful interface based on the HTTP protocol, and the cloud desktop service platform responds to the encapsulation information; response information fed back by the cloud desktop service platform is obtained, and the response information is forwarded to the corresponding terminal, so that the terminal can perform corresponding operation according to the response.

Description

Cloud desktop terminal management method for forwarding terminal request information based on proxy service
Technical Field
The application relates to the technical field of cloud desktop management, in particular to a cloud desktop terminal management method for forwarding terminal request information based on proxy service.
Background
Cloud desktop is a revolution of enterprise IT architecture, and meets the needs of many specific industries while bringing mobile computing experience. For cloud desktops, one of the most common functions is to establish remote terminal management between a terminal and the cloud desktop, namely, establish a connection and management channel between terminal equipment and the cloud desktop by using a remote desktop technology, so as to realize functions of remote access, monitoring and control of the terminal equipment.
At present, the existing remote terminal management system is generally connected with a service platform by directly using a TCP long connection, and in the long connection process, the online state is kept by continuously sending online heartbeats. It should be noted that, most service platforms are currently built on web platforms, and there is a problem of more resources occupation. In addition, in the prior art, data are reported to a service platform in real time, and for the scenes such as super fusion, the remote terminal is frequently up to thousands of, and high resource utilization exists for the data reported to the service platform in real time, so that the service platform is blocked, and other operations cannot be effectively executed.
Therefore, in order to solve the above-mentioned problems, a new solution is needed to meet the requirement, and the real-time management and information processing of all terminals of the intranet and extranet can be added under the condition that the service platform already occupies a large amount of system resources, so as to ensure the information processing efficiency.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a cloud desktop terminal management method for forwarding terminal request information based on proxy service.
In a first aspect, the present application provides a cloud desktop terminal management method for forwarding terminal request information based on proxy service, where the method is applied to proxy service, and the proxy service includes a middle layer host virtualized in a super-converged cloud desktop scene, and the method includes:
s1, acquiring first terminal request information issued by an external network terminal based on a gateway interface;
s2, acquiring second terminal request information issued by an intranet terminal based on the monitored network data packet;
s3, based on a preset packaging mode, packaging the first terminal request information and the second terminal request information to obtain packaging information;
s4, sending the encapsulation information to a cloud desktop service platform in an HTTP request mode through a RESTful interface based on an HTTP protocol, and responding by the cloud desktop service platform;
s5, response information fed back by the cloud desktop service platform is obtained, and the response information is forwarded to the corresponding terminal, so that the terminal can perform corresponding operation according to the response.
In a second aspect, the present application further provides a cloud desktop terminal management system for forwarding terminal request information based on proxy service, where the system includes an information acquisition module, an information encapsulation module, and an information forwarding module, where:
the information acquisition module is used for acquiring first terminal request information issued by an external network terminal based on a gateway interface;
the information acquisition module is further used for acquiring second terminal request information issued by the intranet terminal based on the monitored network data packet;
the information packaging module is used for packaging the first terminal request information and the second terminal request information based on a preset packaging mode to obtain packaging information;
the information forwarding module is used for sending the encapsulation information to a cloud desktop service platform in an HTTP request mode through a RESTful interface based on an HTTP protocol, and the cloud desktop service platform responds to the encapsulation information;
the information forwarding module is further configured to obtain response information fed back by the cloud desktop service platform, and forward the response information to a corresponding terminal, so that the terminal can perform corresponding operation according to the response.
In a third aspect, the present application provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the steps of the method of any of the first aspects when the processor executes the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium. On which a computer program is stored which, when being executed by a processor, implements the steps of the method of any of the first aspects.
In a fifth aspect, the present application provides a computer program product. The computer program product comprising a computer program which, when executed by a processor, implements the steps of the method of any of the first aspects.
According to the cloud desktop terminal management method, the cloud desktop terminal management system, the cloud desktop terminal management computer device, the cloud desktop terminal management computer readable storage medium and the cloud desktop terminal management computer program product for forwarding terminal request information based on proxy service, in the first aspect, first terminal request information and second terminal request information are managed and processed in a unified mode through a gateway interface and a RESTful interface. This makes the system design more standardized and standardized, reduces interface complexity, improves maintainability of the system. In the second aspect, the first terminal request information and the second terminal request information are packaged in a preset packaging mode, so that unified packaging information is obtained. This simplifies the data processing logic and reduces the amount and overhead of data transmitted by the network. In the third aspect, by sending the encapsulation information to the cloud desktop service platform in the form of an HTTP request, asynchronous request and response processing can be realized. Thus, concurrency and response speed of the system can be improved, and waiting time of users can be reduced. The response information of the cloud desktop service platform is timely obtained and forwarded to the corresponding terminal, so that the response transmission and operation execution can be accelerated. The method can improve user experience, reduce system delay and enhance the working efficiency of the user. In conclusion, the occupation of system resources is reduced based on the intermediate layer forwarding of the terminal request information, the real-time forwarding of the terminal request information can be guaranteed, the method and the device are applicable to the condition of insufficient server resources, capacity expansion of a server is avoided, only one simple intermediate layer forwarding is needed, and the system operation cost is reduced.
Drawings
Fig. 1 is a flow diagram of a cloud desktop terminal management method for forwarding terminal request information based on proxy service in one embodiment;
fig. 2 is a schematic structural diagram of a cloud desktop terminal management system for forwarding terminal request information based on proxy service in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, a cloud desktop terminal management method for forwarding terminal request information based on proxy service is provided, where the method is applied to proxy service, and the proxy service includes a middle layer host virtualized in a super-converged cloud desktop scene, and the method includes:
step S1, based on a gateway interface, acquiring first terminal request information issued by an external network terminal.
And step S2, acquiring second terminal request information issued by the intranet terminal based on the monitored network data packet.
Specifically, the proxy service can monitor the data traffic in the intranet through a network sniffing technology. And then analyzing the data flow to obtain second terminal request information issued by the intranet terminal.
In one embodiment, if the intranet terminal has the terminal-carried request information set in the request header in advance, the subsequent proxy service may determine the first terminal request information sent by the extranet terminal by analyzing the request header information in the data packet when monitoring the network traffic of the intranet.
In one particular embodiment, the proxy service may use a network packet-grabbing tool (e.g., wireshark) to listen to the network traffic of the intranet, by capturing the HTTP header in the request, and extracting the required information therefrom.
And step S3, based on a preset packaging mode, packaging the first terminal request information and the second terminal request information to obtain packaging information.
And S4, sending the encapsulation information to a cloud desktop service platform in an HTTP request mode through a RESTful interface based on an HTTP protocol, and responding by the cloud desktop service platform.
Specifically, the proxy service sends the package information to the cloud desktop service platform through an HTTP request by a specific HTTP method (such as POST), and the request includes operations (such as user binding, user offline, user online, etc.), data content, other necessary request header information, and the like. The cloud desktop platform processes the acquired request header information and generates a corresponding HTTP response, wherein the response specifically comprises an execution result, data content, other response header information and the like.
And S5, obtaining response information fed back by the cloud desktop service platform, and forwarding the response information to the corresponding terminal so that the terminal can perform corresponding operation according to the response.
Specifically, the proxy service analyzes response information fed back by the cloud desktop service platform, and extracts required data or state information from the response information.
In one embodiment, the proxy service also checks whether there is an error or abnormal condition in the response information, and adopts an appropriate error handling policy as required, including re-requesting, rollback operation, logging, or feeding back an error prompt to the corresponding terminal.
As can be seen from the above, according to the cloud desktop terminal management method for forwarding terminal request information based on proxy service disclosed in the present application, in a first aspect, through a gateway interface and a RESTful interface, first terminal request information and second terminal request information are uniformly managed and processed. This makes the system design more standardized and standardized, reduces interface complexity, improves maintainability of the system. In the second aspect, the first terminal request information and the second terminal request information are packaged in a preset packaging mode, so that unified packaging information is obtained. This simplifies the data processing logic and reduces the amount and overhead of data transmitted by the network. In the third aspect, by sending the encapsulation information to the cloud desktop service platform in the form of an HTTP request, asynchronous request and response processing can be realized. Thus, concurrency and response speed of the system can be improved, and waiting time of users can be reduced. The response information of the cloud desktop service platform is timely obtained and forwarded to the corresponding terminal, so that the response transmission and operation execution can be accelerated. The method can improve user experience, reduce system delay and enhance the working efficiency of the user. In conclusion, the occupation of system resources is reduced based on the intermediate layer forwarding of the terminal request information, the real-time forwarding of the terminal request information can be guaranteed, the method and the device are applicable to the condition of insufficient server resources, capacity expansion of a server is avoided, only one simple intermediate layer forwarding is needed, and the system operation cost is reduced.
In one embodiment, the external network terminal and the internal network terminal are integrated with a terminal management service client added to the system service;
the terminal management service client is used for collecting basic information of the terminal when the terminal is started, wherein the basic information comprises at least one of an IP address, an MAC address and a device model.
The terminal management service client is further used for generating a unique identification code for indicating the terminal identity based on the basic information.
Specifically, the unique identification code may be generated by a hashing algorithm (e.g., SHA256, MD 5).
The terminal management service client is further configured to determine request operation information, and store the request operation information and the unique identifier together in corresponding terminal request information for subsequent issuing.
The request operation information includes a request operation behavior, a requested resource, a requested parameter, and the like. The terminal management service client entity associates the request operation information with the unique identification code of the terminal and stores the request operation information in the corresponding terminal request information. It should be noted that, the association between the request operation information and the unique identification code of the terminal may facilitate subsequent operations, such as determining the operation authority according to the terminal request information, recording the operation behavior log, performing data analysis, etc.
In one embodiment, in step S1, the obtaining, based on the gateway interface, the first terminal request information sent by the external network terminal includes:
step S11, a gateway interface obtains first terminal request information issued by an external network terminal, and processes the first terminal request information based on a verification algorithm to obtain an internal gateway verification code to be verified.
It should be noted that, the gateway check code is a check code for verifying the integrity of data and authenticating identity, and before the gateway interface and the external network terminal communicate, a check algorithm is agreed, and the check algorithm can generate and verify the gateway check code; wherein the checking algorithm comprises at least one of CRC-cyclic redundancy checking algorithm, MD 5-message digest algorithm, SHA-1, SHA-256 and other secure hash algorithms.
Specifically, the external network terminal processes the first terminal request information to be issued based on a verification algorithm to generate a corresponding external gateway verification code; the external gateway check code is added to the first terminal request information and issued to a gateway interface together.
In one embodiment, the addition of the external gateway check code may be performed by adding a specific field or parameter to the first terminal request message. The value of this field or parameter is the generated foreign gateway check code.
It should be noted that the additional manner of the check code will be determined by the specific application of the communication protocol or data format. For example, for the HTTP request mode, a field named "gateway check sum" (or other similar field name) may be added to the Header portion or Query parameter of the HTTP request, where the value of the field is the gateway check code.
And step S12, analyzing an external gateway check code from the first terminal request information by a gateway interface, and comparing the internal gateway check code with the external gateway check code to obtain a corresponding comparison result.
Specifically, the external network terminal is a provider of a check code, which processes the data to be sent to the gateway interface using a specific algorithm, generates a check code, and appends it to the request message. The check code is used as an external gateway check code and is mainly used for comparing with a check value generated in the gateway interface.
The application of the external gateway check code can further ensure the integrity and the authenticity of the request information and prevent the data from being tampered or forged. By appending the check code to the request and further verifying by the gateway, the degree of trust in the requested data can be increased and a higher security guarantee provided.
Step S13, based on the comparison result, the gateway interface forwards the first terminal request information to a proxy service when the internal gateway check code and the external gateway check code are matched.
And step S14, based on the comparison result, the gateway interface feeds back the generated error code to the external network terminal and disconnects the connection with the external network terminal when the internal gateway check code and the external gateway check code are not matched.
It should be noted that, based on step S13 and step S14, the function of the internal gateway check code is to perform integrity and authenticity verification of the data inside the gateway. The gateway compares the external gateway check code in the request information with the internally generated check value to determine the validity and integrity of the request. If the two match, the gateway will continue to process the request; otherwise, the gateway will reject the request.
In the above embodiment, by using the internal gateway check code, the gateway can provide a higher level of security, ensuring the integrity and authenticity of the requested data during transmission. At the same time, the method is also a measure for preventing malicious tampering and counterfeiting of the request, and increases the security protection level of the system.
In one embodiment, in step S3, the encapsulation mode includes at least one of a data encapsulation mode, a packet encapsulation mode, and a structured encapsulation mode.
In one embodiment, based on a data packaging manner, the packaging processing is performed on the first terminal request information and the second terminal request information to obtain packaging information, including:
step 1: the fields and data formats of the data packages are determined, including at least one of information type, terminal identification, and time stamp.
The information types comprise registration, heartbeat, offline and the like, and the terminal identification comprises a device ID, a terminal number and the like; in data packaging and communication scenarios, time stamps may be used to sort the data, ensuring that the data can be processed and analyzed in a time-sequential manner. For example, in a distributed system, events of different nodes may arrive in different orders, and the events may be accurately ordered by time stamp to maintain consistency.
Step 2: and formatting the first terminal request information and the second terminal request information into a preset data transmission format, and adding the data transmission format into a data packet.
The data transmission formats include JSON and XML, and it should be noted that, by selecting a suitable encoding mode, the resolvability and transmission efficiency of the data can be ensured.
Step 3: header information of the data packet is added, wherein the header information comprises at least one of a serial number, a length and a check code of the data packet.
It should be noted that, the header information helps the receiver to correctly parse and process the data, and may also be used for checking the integrity of the data.
In one embodiment, the data packet may be further encrypted and signed according to the communication security requirement, so as to ensure the security and non-tamper resistance of the data packet during the transmission process.
Step 4: and packaging and adapting the data packet according to the requirements of the communication protocol so as to ensure that the data package accords with the communication protocol specification.
In one embodiment, if the data transmission efficiency needs to be considered, the data packet may be compressed, so as to improve the transmission efficiency by reducing the size of the data packet.
In the above embodiment, the data isolation and security can be improved by performing the encapsulation processing on the terminal request information based on the data packaging mode, the data transmission efficiency is optimized, the network routing and load balancing are supported, and the data format conversion and adaptation are realized, so that better technical effects and user experience are brought.
In one embodiment, based on a packet encapsulation manner, the encapsulating the first terminal request information and the second terminal request information to obtain encapsulation information includes:
step 1: and determining a message format and assembling message header information.
The formats such as JSON and XML can be selected as the standards of the message, and determining the format of the message can help the receiver to accurately analyze and process the content of the message. The header information comprises at least one of message type, message length and check information, and the determination of the header information can ensure the integrity and accuracy of the message.
Step 2: and packaging the first terminal request information and the second terminal request information into a message, and adding a time stamp into the message to record the generation time of the card message.
Specifically, adding a timestamp to the message facilitates subsequent ordering, timing analysis, and data timeliness verification.
In one embodiment, according to the security requirement, the message may be further subjected to checksum encryption processing to ensure the integrity and security of the message. In addition, other necessary information, such as a requester identifier, can be added into the message according to specific service requirements.
In the above embodiment, the first terminal request information and the second terminal request information are encapsulated based on the message encapsulation mode, so that the data format uniformity, the data integrity and the verification, the carrying of the message header and the metadata, the protocol adaptation and the expansion, and the optimization of the network layer can be realized. These beneficial technical effects may improve the reliability, performance, and interoperability of the system.
In one embodiment, based on a structured packaging manner, packaging the first terminal request information and the second terminal request information to obtain packaging information includes:
step 1: a data structure is defined that includes data fields, data types, and hierarchical relationships.
Specifically, the definition may be performed using a class, a structure, an object, or the like, and it is ensured that all necessary contents of the first terminal request information and the second terminal request information can be contained.
Step 2: and assembling the data objects in the first terminal request information and the second terminal request information according to the data structure.
Where it is necessary to ensure that all information is properly contained in the data objects while taking into account the associations and nesting relationships between the data objects.
In one embodiment, identification information, such as request type, request time, etc., may also be added to the data object so that the recipient can accurately parse and process the data.
Step 3: and carrying out serialization processing on the data object, converting the data object into a data format capable of being transmitted, and transmitting encapsulation information according to the data format.
Wherein the data object is converted to JSON, XML or other structured data format, and further, it is desirable to ensure that the serialization process maintains the integrity and accuracy of the data structure.
Specifically, a check code, a digital signature or encryption information can be added in the data object to ensure the integrity and the security of the data in the transmission process. And under the condition of considering the data transmission efficiency, the data can be compressed, and the transmission efficiency can be improved by reducing the size of the data packet.
In the above embodiment, the first terminal request information and the second terminal request information are encapsulated based on the structured encapsulation mode, so that the readability and maintainability of data can be improved, the standardization and standardization of the data are realized, the capability of data verification and verification is provided, the inquiry and the search of the data are supported, and the expansion and the evolution of the data are realized.
In one embodiment, in step S4, in a process of sending the package information to the cloud desktop service platform, the method further includes:
and S41, queuing all the received information to form a corresponding queue.
It should be noted that, the information management is performed in a form of a queue, so that each item of information in the queue can be ensured to be processed according to the sequence of information receiving, so as to ensure the order and the integrity of the operation.
Step S42, in combination with the system requirement, starting various information in a processing queue of a plurality of threads.
In particular, the proxy service may consider using a multi-threaded library and framework, such as a thread pool in Java or a multi-threaded module in Python, to manage and execute multiple threads.
In one embodiment, the proxy service may also consider adding a monitoring mechanism and log records to monitor and analyze the multi-threaded processing, improving maintainability and debugging efficiency of the system.
And step S43, a plurality of requests are initiated to the cloud desktop service platform, wherein each request transmits one piece of information in the queue.
In the embodiment, by starting a plurality of threads to concurrently process each item of information in the queue, the processing efficiency, the resource utilization rate and the response capability of the system can be improved, and the expansibility and the stability of the system are enhanced, so that the system requirements are better met and the overall performance of the system is improved.
Based on the foregoing embodiments, it should be noted that, the proxy service may initiate a request for each item of information in the queue one by one, so that the cloud desktop service platform can process the information one by one.
In the first aspect, it should be noted that, in the super convergence architecture, the proxy service specifically refers to a layer of virtualized hosts built for supporting the cloud desktop service. It is located in the internal network as a connection and forwarding interface between the internal and external terminal devices and the cloud desktop, which provides a Socket interface to establish long connection communication between the terminal and the cloud desktop. The method can keep effective processing of the terminal information, respond to the terminal information in time, report to the cloud desktop service platform after reaching the designated heartbeat time or receiving the designated information, and request processing.
In the second aspect, it should be noted that the super-converged architecture refers to an architecture that integrates computing resources such as computing, storage, and networks, and implements centralized management and optimal utilization of the resources through a virtualization technology. In the super fusion cloud desktop scenario, computing resources, storage resources, and network resources are all integrated in the same hardware device to provide efficient cloud desktop services.
In the third aspect, it should be noted that the virtual out middle layer host is a virtual machine or a physical server running in the super-fusion architecture, and is specifically used for supporting the connection and forwarding functions of the cloud desktop service. The cloud desktop is located in an internal network and used as a communication connection bridge between the terminal equipment and the cloud desktop.
In a fourth aspect, the Socket interface is a programming interface for communication over a network, and includes a set of methods for establishing a connection, transmitting and receiving data. In the present embodiment, the proxy service provides a Socket interface, so that the internal and external terminal devices can establish a connection with the proxy service through the interface and perform long-connection communication. By the mode, the terminal equipment can realize real-time interaction and data transmission with the cloud desktop.
It should be further noted that, the intranet terminal includes a thin terminal used in the intranet and suitable for a super-fusion cloud computing scenario, where the thin terminal is a lightweight terminal device, and its functions and computing capabilities are relatively limited. Compared with the traditional desktop terminal, the thin terminal relies on the cloud server for data processing and application running. In the application, the thin terminal is mainly used for sending registration and heartbeat information, reporting the information to the proxy service through TCP long connection, waiting for corresponding reply, and executing functions of shutdown, restarting, awakening and the like.
It should be further noted that the external terminals include various cloud desktop terminals used in the external network, including a PC client, a Web client, a mobile client, and the like. In general, a gateway interface receives a message sent from an external terminal, such as a gateway verification code, forwarding IP, a port, and the like, and when determining that the terminal access verification is passed based on the gateway verification code, each received message is further forwarded to a proxy service, and the proxy service forwards a request of heartbeat, registration, and the like to a cloud desktop service platform after processing the request. The proxy service-gateway interface and the gateway interface-external terminal use a TCP long connection mode to forward the message in real time, and the proxy service specifically uses restful to make a TCP short connection request to the cloud desktop service platform to confirm the terminal registration, online, offline and other situations.
It should be further noted that, the cloud desktop service platform is used as a web platform, and includes a terminal management interface, which can store terminal information, display terminal information, support terminal deletion, restart, start-up and other operations, and the operation instruction is mainly sent to the proxy service, and the proxy service forwards the operation instruction to the corresponding terminal to realize remote operation. It should be noted that, the user may operate the cloud desktop service platform to perform operations such as binding, offline, shutdown, etc. on the terminal, and in the operation process, corresponding operation instructions will be generated, and these operation instructions will be further sent to the proxy service, where the proxy service sends corresponding operation content to the specified terminal according to the operation type, and the specified terminal responds to the received information and executes the corresponding operation.
In sum, the terminal information forwarding is carried out by adopting the proxy service, the server resource capacity expansion is achieved to a certain extent by utilizing the technology of the super-fusion cloud desktop, the user terminal management requirement between the cloud desktop terminal and the web platform is finished by utilizing the operation of centralized forwarding processing, the burden pressure of the web platform is reduced, the terminal binding function of the cloud desktop user is realized, the management of the cloud desktop terminal under the internal and external network is supported, the management authority of the user is improved, and the application prospect is good.
In one embodiment, as shown in fig. 2, there is provided a cloud desktop terminal management system for forwarding terminal request information based on proxy service, where the system includes an information acquisition module 201, an information encapsulation module 202, and an information forwarding module 203, where:
the information obtaining module 201 is configured to obtain, based on a gateway interface, first terminal request information sent by an external network terminal.
The information obtaining module 201 is further configured to obtain, based on the monitored network data packet, second terminal request information sent by the intranet terminal.
The information packaging module 202 is configured to perform packaging processing on the first terminal request information and the second terminal request information based on a preset packaging manner, so as to obtain packaging information.
The information forwarding module 203 is configured to send the encapsulation information to a cloud desktop service platform through a RESTful interface based on an HTTP protocol in an HTTP request manner, and the cloud desktop service platform responds to the encapsulation information.
The information forwarding module 203 is further configured to obtain response information fed back by the cloud desktop service platform, and forward the response information to a corresponding terminal, so that the terminal can perform corresponding operation according to the response.
In one embodiment, the modules in the system are further configured to perform the method of any of the alternative implementations of the above embodiments.
As can be seen from the above, in the cloud desktop terminal management system for forwarding terminal request information based on proxy service disclosed in the present application, in a first aspect, through a gateway interface and a RESTful interface, first terminal request information and second terminal request information are uniformly managed and processed. This makes the system design more standardized and standardized, reduces interface complexity, improves maintainability of the system. In the second aspect, the first terminal request information and the second terminal request information are packaged in a preset packaging mode, so that unified packaging information is obtained. This simplifies the data processing logic and reduces the amount and overhead of data transmitted by the network. In the third aspect, by sending the encapsulation information to the cloud desktop service platform in the form of an HTTP request, asynchronous request and response processing can be realized. Thus, concurrency and response speed of the system can be improved, and waiting time of users can be reduced. The response information of the cloud desktop service platform is timely obtained and forwarded to the corresponding terminal, so that the response transmission and operation execution can be accelerated. The method can improve user experience, reduce system delay and enhance the working efficiency of the user. In conclusion, the occupation of system resources is reduced based on the intermediate layer forwarding of the terminal request information, the real-time forwarding of the terminal request information can be guaranteed, the method and the device are applicable to the condition of insufficient server resources, capacity expansion of a server is avoided, only one simple intermediate layer forwarding is needed, and the system operation cost is reduced.
The modules in the cloud desktop terminal management system for forwarding the terminal request information based on the proxy service can be all or partially realized by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
It should be noted that, user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (10)

1. The cloud desktop terminal management method based on terminal request information forwarding of proxy service is characterized in that the method is applied to the proxy service, the proxy service comprises a middle layer host which is virtualized in a super fusion cloud desktop scene, and the method comprises the following steps:
s1, acquiring first terminal request information issued by an external network terminal based on a gateway interface;
s2, acquiring second terminal request information issued by an intranet terminal based on the monitored network data packet;
s3, based on a preset packaging mode, packaging the first terminal request information and the second terminal request information to obtain packaging information;
s4, sending the encapsulation information to a cloud desktop service platform in an HTTP request mode through a RESTful interface based on an HTTP protocol, and responding by the cloud desktop service platform;
s5, response information fed back by the cloud desktop service platform is obtained, and the response information is forwarded to the corresponding terminal, so that the terminal can perform corresponding operation according to the response.
2. The method of claim 1, wherein the external network terminal and the internal network terminal are integrated with a terminal management service client added to a system service;
the terminal management service client is used for collecting basic information of the terminal when the terminal is started, wherein the basic information comprises at least one of an IP address, an MAC address and a device model;
the terminal management service client is further used for generating a unique identification code for indicating the terminal identity based on the basic information;
the terminal management service client is further configured to determine request operation information, and store the request operation information and the unique identifier together in corresponding terminal request information for subsequent issuing.
3. The method according to claim 1, wherein in step S1, the obtaining, based on the gateway interface, the first terminal request information issued via the external network terminal includes:
s11, acquiring first terminal request information issued by an external network terminal by a gateway interface, and processing the first terminal request information based on a verification algorithm to obtain an internal gateway verification code to be verified;
s12, analyzing an external gateway check code from the first terminal request information by a gateway interface, and comparing the internal gateway check code with the external gateway check code to obtain a corresponding comparison result;
s13, based on the comparison result, the gateway interface forwards the first terminal request information to proxy service when the internal gateway check code and the external gateway check code are matched;
and S14, based on the comparison result, the gateway interface feeds back the generated error code to the external network terminal and disconnects the connection with the external network terminal when the internal gateway check code and the external gateway check code are not matched.
4. The method of claim 1, wherein in step S3, the encapsulation means comprises at least one of data encapsulation means, message encapsulation means, and structured encapsulation means.
5. The method of claim 4, wherein encapsulating the first terminal request information and the second terminal request information based on a data packaging manner to obtain encapsulation information comprises:
determining a field and a data format of the data package, wherein the field and the data format comprise at least one of information type, terminal identification and time stamp;
formatting the first terminal request information and the second terminal request information into a preset data transmission format, and adding the data transmission format into a data packet;
adding header information of a data packet, wherein the header information comprises at least one of a serial number, a length and a check code of the data packet;
and packaging and adapting the data packet according to the requirements of the communication protocol so as to ensure that the data package accords with the communication protocol specification.
6. The method of claim 4, wherein encapsulating the first terminal request information and the second terminal request information based on a message encapsulation method to obtain encapsulation information comprises:
determining a message format and assembling message header information;
and packaging the first terminal request information and the second terminal request information into a message, and adding a time stamp into the message to record the generation time of the card message.
7. The method of claim 4, wherein the encapsulating the first terminal request information and the second terminal request information based on the structured encapsulation method to obtain the encapsulated information comprises:
defining a data structure comprising data fields, data types and hierarchical relationships;
assembling data objects in the first terminal request information and the second terminal request information according to the data structure;
and carrying out serialization processing on the data object, converting the data object into a data format capable of being transmitted, and transmitting encapsulation information according to the data format.
8. The method according to claim 1, wherein in step S4, in the process of sending the package information to a cloud desktop service platform, the method further comprises:
s41, queuing all received information to form a corresponding queue;
s42, starting various information in a processing queue of a plurality of threads in parallel by combining system requirements;
s43, initiating a plurality of requests to the cloud desktop service platform, wherein each request transmits one piece of information in the queue.
9. The cloud desktop terminal management system based on proxy service terminal request information forwarding is characterized by comprising an information acquisition module, an information encapsulation module and an information forwarding module, wherein:
the information acquisition module is used for acquiring first terminal request information issued by an external network terminal based on a gateway interface;
the information acquisition module is further used for acquiring second terminal request information issued by the intranet terminal based on the monitored network data packet;
the information packaging module is used for packaging the first terminal request information and the second terminal request information based on a preset packaging mode to obtain packaging information;
the information forwarding module is used for sending the encapsulation information to a cloud desktop service platform in an HTTP request mode through a RESTful interface based on an HTTP protocol, and the cloud desktop service platform responds to the encapsulation information;
the information forwarding module is further configured to obtain response information fed back by the cloud desktop service platform, and forward the response information to a corresponding terminal, so that the terminal can perform corresponding operation according to the response.
10. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 8 when the computer program is executed.
CN202311586792.0A 2023-11-27 2023-11-27 Cloud desktop terminal management method for forwarding terminal request information based on proxy service Pending CN117294763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311586792.0A CN117294763A (en) 2023-11-27 2023-11-27 Cloud desktop terminal management method for forwarding terminal request information based on proxy service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311586792.0A CN117294763A (en) 2023-11-27 2023-11-27 Cloud desktop terminal management method for forwarding terminal request information based on proxy service

Publications (1)

Publication Number Publication Date
CN117294763A true CN117294763A (en) 2023-12-26

Family

ID=89244800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311586792.0A Pending CN117294763A (en) 2023-11-27 2023-11-27 Cloud desktop terminal management method for forwarding terminal request information based on proxy service

Country Status (1)

Country Link
CN (1) CN117294763A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117729172A (en) * 2024-02-18 2024-03-19 成都深瑞同华科技有限公司 Data transmission method, device and storage medium in isolated network environment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140165164A1 (en) * 2012-07-13 2014-06-12 Cloudfounders Nv Method to Obtain a Virtual Desktop Stored in a Cloud Storage System, a Corresponding Cloud Broker and Cloud Desktop Agent
US20160378534A1 (en) * 2015-06-24 2016-12-29 Electronics And Telecommunications Research Institute Apparatus and method for virtual desktop service
WO2018010690A1 (en) * 2016-07-15 2018-01-18 中兴通讯股份有限公司 Video conference implementation method, apparatus and system, and cloud desktop terminal
WO2019061521A1 (en) * 2017-09-30 2019-04-04 深圳前海达闼云端智能科技有限公司 Proxy forwarding method and device, proxy server and multi-level proxy network
KR102270143B1 (en) * 2021-03-02 2021-06-28 주식회사 아라드네트웍스 Method and apparatus for controlling communicationfor isolating network
CN114205350A (en) * 2021-11-01 2022-03-18 国网浙江省电力有限公司信息通信分公司 Edge side protocol conversion system and method
CN115085954A (en) * 2021-03-11 2022-09-20 腾讯科技(深圳)有限公司 Intranet access method, device and equipment and computer readable storage medium
CN115442431A (en) * 2022-08-31 2022-12-06 北京天融信网络安全技术有限公司 Redirection method and device for cloud desktop browser, electronic equipment and storage medium
CN115550041A (en) * 2022-09-30 2022-12-30 上海浦东发展银行股份有限公司 Data transmission method and device, computer equipment and storage medium
CN115766855A (en) * 2022-11-02 2023-03-07 阿里巴巴(中国)有限公司 Information processing system, method, gateway and storage medium based on cloud desktop service
CN115834684A (en) * 2022-10-14 2023-03-21 阿里巴巴(中国)有限公司 Data processing method, cloud desktop system, equipment and storage medium
CN116095073A (en) * 2022-11-23 2023-05-09 天翼云科技有限公司 Cloud desktop message processing system and method based on aging classification
CN116132421A (en) * 2022-12-26 2023-05-16 中科可控信息产业有限公司 Remote desktop connection method, system, device, computer equipment and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140165164A1 (en) * 2012-07-13 2014-06-12 Cloudfounders Nv Method to Obtain a Virtual Desktop Stored in a Cloud Storage System, a Corresponding Cloud Broker and Cloud Desktop Agent
US20160378534A1 (en) * 2015-06-24 2016-12-29 Electronics And Telecommunications Research Institute Apparatus and method for virtual desktop service
WO2018010690A1 (en) * 2016-07-15 2018-01-18 中兴通讯股份有限公司 Video conference implementation method, apparatus and system, and cloud desktop terminal
WO2019061521A1 (en) * 2017-09-30 2019-04-04 深圳前海达闼云端智能科技有限公司 Proxy forwarding method and device, proxy server and multi-level proxy network
KR102270143B1 (en) * 2021-03-02 2021-06-28 주식회사 아라드네트웍스 Method and apparatus for controlling communicationfor isolating network
CN115085954A (en) * 2021-03-11 2022-09-20 腾讯科技(深圳)有限公司 Intranet access method, device and equipment and computer readable storage medium
CN114205350A (en) * 2021-11-01 2022-03-18 国网浙江省电力有限公司信息通信分公司 Edge side protocol conversion system and method
CN115442431A (en) * 2022-08-31 2022-12-06 北京天融信网络安全技术有限公司 Redirection method and device for cloud desktop browser, electronic equipment and storage medium
CN115550041A (en) * 2022-09-30 2022-12-30 上海浦东发展银行股份有限公司 Data transmission method and device, computer equipment and storage medium
CN115834684A (en) * 2022-10-14 2023-03-21 阿里巴巴(中国)有限公司 Data processing method, cloud desktop system, equipment and storage medium
CN115766855A (en) * 2022-11-02 2023-03-07 阿里巴巴(中国)有限公司 Information processing system, method, gateway and storage medium based on cloud desktop service
CN116095073A (en) * 2022-11-23 2023-05-09 天翼云科技有限公司 Cloud desktop message processing system and method based on aging classification
CN116132421A (en) * 2022-12-26 2023-05-16 中科可控信息产业有限公司 Remote desktop connection method, system, device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117729172A (en) * 2024-02-18 2024-03-19 成都深瑞同华科技有限公司 Data transmission method, device and storage medium in isolated network environment

Similar Documents

Publication Publication Date Title
CN110278211B (en) Data inspection method and device based on block chain
WO2017097123A1 (en) Access request conversion method and device
US20220337420A1 (en) Blockchain-Enabled Computing
US9003389B2 (en) Generating an encoded package profile based on executing host processes
CN103117983B (en) The method for designing of data service request answer method and data, services protocol stack
CN110401592B (en) Method and equipment for data transfer in message channel
US20200327045A1 (en) Test System and Test Method
CN117294763A (en) Cloud desktop terminal management method for forwarding terminal request information based on proxy service
CN111831458B (en) High-concurrency high-decoupling data processing method and data center system
WO2021169275A1 (en) Sdn network device access method and apparatus, computer device, and storage medium
CN111698126B (en) Information monitoring method, system and computer readable storage medium
US20220030030A1 (en) Dynamically determining a trust level of an end-to-end link
US20230370285A1 (en) Block-chain-based data processing method, computer device, computer-readable storage medium
CN113254341B (en) Link data tracking method, device, equipment and storage medium
CN111694743A (en) Service system detection method and device
CN112019330B (en) Intranet security audit data storage method and system based on alliance chain
CN115118705A (en) Industrial edge management and control platform based on micro-service
US20230261882A1 (en) Image Management Method and Apparatus
CN111597543A (en) Wide-area process access authority authentication method and system based on block chain intelligent contract
CN112818064A (en) Multi-system data synchronization method, device, equipment and storage medium
WO2023056713A1 (en) Cloud platform binding method and system for internet of things card, and device and medium
CN114389792A (en) WEB log NAT (network Address translation) front-back association method and system
CN114598749A (en) Service access method and device
CN110417782B (en) System, method and readable medium for intelligent hardware message transmission
WO2022156542A1 (en) Data access method and system, and storage medium

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