CN117354286A - Cloud desktop connection multi-protocol automatic switching method and system based on android - Google Patents

Cloud desktop connection multi-protocol automatic switching method and system based on android Download PDF

Info

Publication number
CN117354286A
CN117354286A CN202311266580.4A CN202311266580A CN117354286A CN 117354286 A CN117354286 A CN 117354286A CN 202311266580 A CN202311266580 A CN 202311266580A CN 117354286 A CN117354286 A CN 117354286A
Authority
CN
China
Prior art keywords
protocol
cloud desktop
video frame
picture transmission
transmission quality
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
CN202311266580.4A
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.)
Xi'an Leifeng Electronic Technology Co ltd
Original Assignee
Xi'an Leifeng Electronic 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 Xi'an Leifeng Electronic Technology Co ltd filed Critical Xi'an Leifeng Electronic Technology Co ltd
Priority to CN202311266580.4A priority Critical patent/CN117354286A/en
Publication of CN117354286A publication Critical patent/CN117354286A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Communication Control (AREA)

Abstract

The invention relates to the technical field of cloud desktop transmission protocols, and discloses an android-based cloud desktop connection multi-protocol automatic switching method, which comprises the following steps: and identifying a cloud desktop transmission protocol corresponding to the target quality transmission curve segment, establishing a pixel change interval-protocol comparison table of the pixel change interval and the cloud desktop transmission protocol, if the current cloud desktop frame to be transmitted is not a video frame, carrying out cloud desktop image transmission by utilizing a Spice protocol, if the current cloud desktop frame to be transmitted is the video frame, transmitting the current cloud desktop frame to be transmitted according to the target transmission protocol, judging whether the image transmission quality is qualified, if not, carrying out image transmission by utilizing a PCoIP protocol, and if so, returning to acquire the current cloud desktop frame to be transmitted. The invention further provides an android-based cloud desktop connection multi-protocol automatic switching system, electronic equipment and a computer-readable storage medium. The method and the device can solve the problems of poor transmission effect and poor flexibility of the current cloud desktop transmission method.

Description

Cloud desktop connection multi-protocol automatic switching method and system based on android
Technical Field
The invention relates to the technical field of cloud desktop transmission protocols, in particular to an android-based cloud desktop connection multi-protocol automatic switching method, an android-based cloud desktop connection multi-protocol automatic switching system, electronic equipment and a computer-readable storage medium.
Background
With the rapid development of computer technology, internet virtualization technology is widely used. Desktop virtualization refers to the virtualization of a computer system, and by separating a desktop operating environment from a hardware operating environment, the security and flexibility of a client desktop are realized.
The current cloud desktop transmission protocol mainly comprises a ICA (Independent Computing Architecture) protocol, a PcoIP (PC over IP) protocol and a Spice (Simple Protocol for Independent Computing Environment) protocol, and the three protocols have the advantages and the application field, but most of the current cloud desktop connection can only adopt one specific protocol, so that the current cloud desktop transmission method has the problems of poor transmission effect and poor flexibility.
Disclosure of Invention
The invention provides an android-based cloud desktop connection multi-protocol automatic switching method, a system and a computer-readable storage medium, and mainly aims to solve the problems of poor transmission effect and poor flexibility of a current cloud desktop transmission method.
In order to achieve the above purpose, the invention provides an android-based cloud desktop connection multi-protocol automatic switching method, which comprises the following steps:
acquiring a test video frame and a dynamic region size defining sequence, and sequentially defining a dynamic change region for the test video frame according to the dynamic region size defining sequence to obtain an initial video frame sequence;
disturbing the pixel positions in the dynamic change area in the initial video frame sequence to obtain a target video frame sequence;
respectively carrying out cloud desktop image transmission on the target video frame sequence by utilizing a pre-constructed ICA protocol and a pre-constructed Spice protocol, and measuring time-image transmission quality curves of the ICA protocol and the Spice protocol;
calculating a pixel change value of each target video frame in the target video frame sequence by using a pre-constructed pixel change formula, and performing position calibration on the time-picture transmission quality curve by using the pixel change value to obtain pixel change-picture transmission quality curves of an ICA protocol and a Spice protocol;
sequentially extracting target quality transmission curve segments from pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol, and identifying a cloud desktop transmission protocol corresponding to the target quality transmission curve segments;
Acquiring a pixel change interval corresponding to the target quality transmission curve segment, and establishing a corresponding relation between the pixel change interval and the cloud desktop transmission protocol to obtain a pixel change interval-protocol comparison table;
acquiring a current cloud desktop frame to be transmitted;
judging whether the current cloud desktop frame to be transmitted is a video frame or not;
if the current cloud desktop frame to be transmitted is not a video frame, cloud desktop image transmission is carried out by utilizing the Spice protocol, and image transmission quality is measured;
if the current cloud desktop frame to be transmitted is a video frame, calculating a current pixel change value of the current cloud desktop frame to be transmitted;
inquiring a target transmission protocol by using the pixel change interval-protocol comparison table according to the current pixel change value, transmitting the current cloud desktop frame to be transmitted according to the target transmission protocol, and measuring the picture transmission quality;
judging whether the picture transmission quality is qualified or not;
if the current picture transmission quality is not qualified, picture transmission is carried out by utilizing a pre-constructed PCoIP protocol;
and if the transmission quality of the current picture is qualified, returning to the step of acquiring the current cloud desktop frame to be transmitted, and finishing the android-based cloud desktop connection multi-protocol automatic switching method.
Optionally, the acquiring the test video frame and the dynamic region sizing sequence includes:
acquiring an initial video frame, and placing pixel points in the initial video frame in preset pixel values to obtain a test video frame;
and acquiring a dynamic size sequence, and constructing the dynamic region size demarcation sequence according to the dynamic size sequence.
Optionally, the determining the time-picture transmission quality curves of the ICA protocol and the Spice protocol includes:
respectively measuring the picture transmission index evaluation set of the ICA protocol and the Spice protocol in the cloud desktop picture transmission;
calculating the picture transmission quality of the ICA protocol and the Spice protocol in cloud desktop picture transmission according to the picture transmission index evaluation set;
and obtaining a measurement time, and drawing time-picture transmission quality curves of the ICA protocol and the Spice protocol according to the corresponding relation between the picture transmission quality and the measurement time.
Optionally, the calculating the picture transmission quality of the ICA protocol and the Spice protocol in the cloud desktop picture transmission according to the picture transmission index evaluation set includes:
acquiring the picture transmission index weight;
and carrying out weighted calculation on the picture transmission index evaluation set according to the picture transmission index weight to obtain picture transmission quality of the ICA protocol and the Spice protocol in cloud desktop picture transmission.
Optionally, the pixel change calculation formula is as follows:
wherein μ represents a pixel change value, I represents a sequence number of pixel points in the target video frame, I represents a total number of pixel points in the target video frame, and x' i Representing the pixel value, x, of the ith pixel point in the next video frame of the target video frame i And f represents the transmission frame rate of the target video frame sequence.
Optionally, the performing position calibration on the time-picture transmission quality curve by using the pixel variation value to obtain pixel variation-picture transmission quality curves of ICA protocol and Spice protocol includes:
sequentially identifying picture transmission quality coordinate points of the target video frames in the time-picture transmission quality curve in the target video frame sequence;
identifying a measurement time point corresponding to the picture transmission quality coordinate point;
and obtaining a pixel change value of the target video frame, and replacing the measurement time point by using the pixel change value to obtain a pixel change-picture transmission quality curve of the ICA protocol and the Spice protocol.
Optionally, the sequentially identifying picture transmission quality coordinate points of the target video frames in the time-picture transmission quality curve in the target video frame sequence includes:
Acquiring a video frame sequence number of the target video frame in the target video frame sequence;
calculating the determination time of the target video frame by utilizing the transmission frame rate according to the video frame sequence number by utilizing a pre-constructed calibration formula;
and identifying picture transmission quality coordinate points of the target video frames in the time-picture transmission quality curve according to the measured time of the target video frames.
Optionally, the calibration formula is as follows:
wherein t represents the measurement time of the target video frame, t 0 The measurement start time is represented by j, the video frame number is represented by j, and the transmission frame rate is represented by f.
Optionally, the sequentially extracting the target quality transmission curve segments from the pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol includes:
judging whether an intersection point exists in the pixel change-picture transmission quality curve of the ICA protocol and the Spice protocol;
if the pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol have no intersection point, acquiring an upper pixel change-picture transmission quality curve, and taking the upper pixel change-picture transmission quality curve as a target quality transmission curve segment;
if the pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol have intersection points, dividing the pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol by the intersection points, and identifying an upper pixel change-picture transmission quality curve between every two intersection points to obtain an upper pixel change-picture transmission quality curve set;
And sequentially extracting target quality transmission curve segments from the upper pixel change-picture transmission quality curve set.
In order to solve the above problems, the present invention further provides an android-based cloud desktop connection multi-protocol automatic switching system, which comprises:
the target video frame sequence acquisition module is used for acquiring a test video frame and a dynamic region size demarcation sequence, and demarcating a dynamic change region for the test video frame according to the dynamic region size demarcation sequence in turn to obtain an initial video frame sequence; disturbing the pixel positions in the dynamic change area in the initial video frame sequence to obtain a target video frame sequence;
the pixel change-picture transmission quality curve calibration module is used for respectively carrying out cloud desktop picture transmission on the target video frame sequence by utilizing a pre-constructed ICA protocol and a pre-constructed Spice protocol and measuring time-picture transmission quality curves of the ICA protocol and the Spice protocol; calculating a pixel change value of each target video frame in the target video frame sequence by using a pre-constructed pixel change formula, and performing position calibration on the time-picture transmission quality curve by using the pixel change value to obtain pixel change-picture transmission quality curves of an ICA protocol and a Spice protocol;
The pixel change interval-protocol comparison table construction module is used for sequentially extracting target quality transmission curve segments from pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol and identifying a cloud desktop transmission protocol corresponding to the target quality transmission curve segments; acquiring a pixel change interval corresponding to the target quality transmission curve segment, and establishing a corresponding relation between the pixel change interval and the cloud desktop transmission protocol to obtain a pixel change interval-protocol comparison table;
the video frame identification module is used for acquiring a current cloud desktop frame to be transmitted and judging whether the current cloud desktop frame to be transmitted is a video frame or not;
the cloud desktop frame classification transmission module is used for transmitting cloud desktop frames by utilizing the Spice protocol and measuring the frame transmission quality if the current cloud desktop frame to be transmitted is not a video frame; if the current cloud desktop frame to be transmitted is a video frame, calculating a current pixel change value of the current cloud desktop frame to be transmitted; inquiring a target transmission protocol by using the pixel change interval-protocol comparison table according to the current pixel change value, transmitting the current cloud desktop frame to be transmitted according to the target transmission protocol, and measuring the picture transmission quality; judging whether the picture transmission quality is qualified or not; if the current picture transmission quality is not qualified, picture transmission is carried out by utilizing a pre-constructed PCoIP protocol; and if the transmission quality of the current picture is qualified, returning to the step of acquiring the current cloud desktop frame to be transmitted.
In order to solve the above-mentioned problems, the present invention also provides an electronic apparatus including:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to implement the android-based cloud desktop connection multi-protocol automatic switching method.
In order to solve the above problems, the present invention further provides a computer readable storage medium, where at least one instruction is stored, where the at least one instruction is executed by a processor in an electronic device to implement the above-mentioned android-based cloud desktop connection multi-protocol automatic switching method.
Compared with the background art, the method comprises the following steps: the current cloud desktop transmission method has the phenomena of poor transmission effect and poor flexibility, firstly, the most suitable pixel change values of an ICA protocol and a Spice protocol are required to be measured, before measurement, test video frames and dynamic region size demarcation sequences are required to be acquired, then dynamic change regions are orderly demarcated for the test video frames according to the dynamic region size demarcation sequences to obtain an initial video frame sequence, finally, the pixel positions in the dynamic change regions in the initial video frame sequence are disturbed to obtain a target video frame sequence, at the moment, cloud desktop picture transmission can be carried out on the target video frame sequence by utilizing the pre-constructed ICA protocol and Spice protocol respectively, and the corresponding relation between the pixel change values and picture transmission quality is required to be constructed by measuring the time-picture transmission quality curves of the ICA protocol and the Spice protocol, calculating pixel change values of each target video frame in the target video frame sequence by using a pre-constructed pixel change formula, carrying out position calibration on the time-picture transmission quality curve by using the pixel change values to obtain pixel change-picture transmission quality curves of an ICA protocol and a Spice protocol, sequentially extracting target quality transmission curve segments from the pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol, identifying a cloud desktop transmission protocol corresponding to the target quality transmission curve segments to obtain pixel change intervals corresponding to the target quality transmission curve segments, finally establishing a corresponding relation between the pixel change intervals and the cloud desktop transmission protocol to obtain a pixel change interval-protocol comparison table, and carrying out classified transmission of the cloud desktop frames to be transmitted currently at the moment, when the current cloud desktop frame to be transmitted is not a video frame, indicating that cloud desktop image transmission can be performed by using the Spice protocol, if the current cloud desktop frame to be transmitted is a video frame, calculating a current pixel change value of the current cloud desktop frame to be transmitted, inquiring a target transmission protocol by using the pixel change interval-protocol comparison table according to the current pixel change value, achieving the purpose of transmitting the current cloud desktop frame to be transmitted according to the target transmission protocol, and meanwhile, in the process of transmitting images, judging whether the image transmission quality is qualified or not, if the current image transmission quality is unqualified, performing image transmission by using a pre-constructed PCoIP protocol, and if the current image transmission quality is qualified, returning to the step of acquiring the current cloud desktop frame to be transmitted until the transmission is completed. Therefore, the android-based cloud desktop connection multi-protocol automatic switching method, the android-based cloud desktop connection multi-protocol automatic switching system, the electronic equipment and the computer-readable storage medium can solve the problems of poor transmission effect and poor flexibility of the current cloud desktop transmission method.
Drawings
Fig. 1 is a schematic flow chart of an android-based cloud desktop connection multi-protocol automatic switching method according to an embodiment of the present invention;
fig. 2 is a functional block diagram of an android-based cloud desktop connection multi-protocol automatic switching system according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device for implementing the android-based cloud desktop connection multi-protocol automatic switching method according to an embodiment of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The embodiment of the application provides an android-based cloud desktop connection multi-protocol automatic switching method. The execution main body of the android-based cloud desktop connection multi-protocol automatic switching method comprises at least one of a server, a terminal and the like, which can be configured to execute the method provided by the embodiment of the application. In other words, the android-based cloud desktop connection multi-protocol automatic switching method can be executed by software or hardware installed in a terminal device or a server device. The service end includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like.
Example 1:
referring to fig. 1, a flow chart of an android-based cloud desktop connection multi-protocol automatic switching method according to an embodiment of the present invention is shown. In this embodiment, the android-based cloud desktop connection multi-protocol automatic switching method includes:
s1, acquiring a test video frame and a dynamic region size defining sequence, and sequentially defining a dynamic change region for the test video frame according to the dynamic region size defining sequence to obtain an initial video frame sequence.
The test video frame is a video frame for testing, and pixel values of all pixel points in the test video frame are not fixed values. The dynamic region sizing sequence refers to a pre-constructed rectangular sequence of different sizes.
Further, the initial video frame sequence refers to a sequence of test video frames that are delimited by dynamically changing regions. The dynamic change region refers to a region in which pixel change is possible.
In the embodiment of the present invention, the acquiring the test video frame and the dynamic region size defining sequence includes:
acquiring an initial video frame, and placing pixel points in the initial video frame in preset pixel values to obtain a test video frame;
And acquiring a dynamic size sequence, and constructing the dynamic region size demarcation sequence according to the dynamic size sequence.
S2, disturbing the pixel positions in the dynamic change area in the initial video frame sequence to obtain a target video frame sequence.
Further, pixels in the dynamic change area are disturbed, so that a video frame different from the dynamic change area of the test video frame is formed, and the target video frame sequence refers to a video frame sequence obtained after the initial video frame sequence is subjected to the pixel point disturbance of the dynamic change area. For example: the first target video frame in the target video frame sequence is 100 x 100, and the pixel points in the dynamic change area of the upper left corner 1*1 are disturbed, and the pixel points in the dynamic change area of the upper left corner 2 x 2 of the second target video frame are disturbed.
And S3, respectively carrying out cloud desktop image transmission on the target video frame sequence by utilizing the pre-constructed ICA protocol and the pre-constructed Spice protocol, and measuring time-image transmission quality curves of the ICA protocol and the pre-constructed Spice protocol.
It is understood that the ICA protocol refers to the Independent Computing Architecture protocol and the Spice protocol refers to the Simple Protocol for Independent Computing Environment protocol. The time-picture transmission quality curve refers to a curve of the change of picture transmission quality with time.
In the embodiment of the present invention, the determining the time-image transmission quality curves of the ICA protocol and the Spice protocol includes:
respectively measuring the picture transmission index evaluation set of the ICA protocol and the Spice protocol in the cloud desktop picture transmission;
calculating the picture transmission quality of the ICA protocol and the Spice protocol in cloud desktop picture transmission according to the picture transmission index evaluation set;
and obtaining a measurement time, and drawing time-picture transmission quality curves of the ICA protocol and the Spice protocol according to the corresponding relation between the picture transmission quality and the measurement time.
Further, the picture transmission index evaluation set refers to a grading set of each picture transmission index, and the picture transmission index can be indexes such as time delay, packet loss rate, jitter and the like.
In detail, the calculating the picture transmission quality of the ICA protocol and the Spice protocol in the cloud desktop picture transmission according to the picture transmission index evaluation set includes:
acquiring the picture transmission index weight;
and carrying out weighted calculation on the picture transmission index evaluation set according to the picture transmission index weight to obtain picture transmission quality of the ICA protocol and the Spice protocol in cloud desktop picture transmission.
Further, the picture transmission index weight refers to the weight of each index, for example: the time delay picture transmission index weight is 0.3, the picture transmission index weight of the packet loss rate is 0.5, and the jitter picture transmission index weight is 0.2. The higher the picture transmission quality is, the better the picture transmission effect is.
S4, calculating pixel change values of each target video frame in the target video frame sequence by using a pre-constructed pixel change formula, and performing position calibration on the time-picture transmission quality curve by using the pixel change values to obtain pixel change-picture transmission quality curves of an ICA protocol and a Spice protocol.
The pixel change-picture transmission quality curve can be explained as a curve in which the picture transmission quality curve changes with the pixel change value.
In the embodiment of the present invention, the pixel change calculation formula is as follows:
wherein μ represents a pixel change value, I represents a sequence number of pixel points in the target video frame, I represents a total number of pixel points in the target video frame, and x' i Representing the pixel value, x, of the ith pixel point in the next video frame of the target video frame i And f represents the transmission frame rate of the target video frame sequence.
In the embodiment of the present invention, the performing position calibration on the time-image transmission quality curve by using the pixel variation value to obtain pixel variation-image transmission quality curves of ICA protocol and Spice protocol includes:
sequentially identifying picture transmission quality coordinate points of the target video frames in the time-picture transmission quality curve in the target video frame sequence;
identifying a measurement time point corresponding to the picture transmission quality coordinate point;
and obtaining a pixel change value of the target video frame, and replacing the measurement time point by using the pixel change value to obtain a pixel change-picture transmission quality curve of the ICA protocol and the Spice protocol.
Further, the sequentially identifying picture transmission quality coordinate points of the target video frames in the time-picture transmission quality curve in the target video frame sequence includes:
acquiring a video frame sequence number of the target video frame in the target video frame sequence;
calculating the determination time of the target video frame by utilizing the transmission frame rate according to the video frame sequence number by utilizing a pre-constructed calibration formula;
and identifying picture transmission quality coordinate points of the target video frames in the time-picture transmission quality curve according to the measured time of the target video frames.
The calibration formula is interpretable as follows:
wherein t represents the measurement time of the target video frame, t 0 The measurement start time is represented by j, the video frame number is represented by j, and the transmission frame rate is represented by f.
Further, each frame of the target video frame corresponds to a measurement time and a pixel change value, so that the pixel change-picture transmission quality curve can be constructed according to the corresponding relation between the picture transmission quality of the target video frame and the pixel change value.
And S5, sequentially extracting target quality transmission curve segments from pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol, and identifying a cloud desktop transmission protocol corresponding to the target quality transmission curve segments.
The target quality transmission curve segment refers to a transmission protocol with better picture transmission quality in a certain measurement period. By comparing the picture transmission quality represented by the pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol at the same time, the optimal transmission protocol corresponding to different pixel change values is searched. For example: the whole measurement time is 10:00-11:00, and 10:00-10: in the 10 time period, the ICA protocol is larger than the pixel change-picture transmission quality curve value corresponding to the Spice protocol, and then 10:00-10: the pixel change value within the 10 time period is suitable for picture transmission using ICA protocol.
In the embodiment of the present invention, the sequentially extracting the target quality transmission curve segments from the pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol includes:
judging whether an intersection point exists in the pixel change-picture transmission quality curve of the ICA protocol and the Spice protocol;
if the pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol have no intersection point, acquiring an upper pixel change-picture transmission quality curve, and taking the upper pixel change-picture transmission quality curve as a target quality transmission curve segment;
if the pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol have intersection points, dividing the pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol by the intersection points, and identifying an upper pixel change-picture transmission quality curve between every two intersection points to obtain an upper pixel change-picture transmission quality curve set;
and sequentially extracting target quality transmission curve segments from the upper pixel change-picture transmission quality curve set.
S6, acquiring a pixel change interval corresponding to the target quality transmission curve segment, and establishing a corresponding relation between the pixel change interval and the cloud desktop transmission protocol to obtain a pixel change interval-protocol comparison table.
S7, acquiring a current cloud desktop frame to be transmitted.
The current cloud desktop frame to be transmitted refers to a certain video frame in the cloud desktop video frame set to be transmitted.
And S8, judging whether the current cloud desktop frame to be transmitted is a video frame or not.
In the embodiment of the invention, the determination can be made by determining whether the frame rate of the video frame where the cloud desktop frame to be transmitted is currently located is greater than 20 frames/s, and if the frame rate of the video frame is greater than 20 frames/s, the video frame is indicated to be the video frame, otherwise, the video frame is not indicated to be the video frame.
And if the current cloud desktop frame to be transmitted is not the video frame, executing S9, transmitting the cloud desktop picture by utilizing the Spice protocol, and measuring the picture transmission quality.
Further, the alice protocol is applicable to an office environment, so that when the cloud desktop frame to be currently transmitted is not a video frame, the alice protocol is used by default.
And if the current cloud desktop frame to be transmitted is a video frame, executing S10, and calculating a current pixel change value of the current cloud desktop frame to be transmitted.
In the embodiment of the invention, when the current cloud desktop frame to be transmitted is a video frame, an ICA protocol more suitable for video, flash playing and 3D application is adopted.
And S11, according to the current pixel change value, inquiring a target transmission protocol by using the pixel change interval-protocol comparison table, transmitting the current cloud desktop frame to be transmitted according to the target transmission protocol, and measuring the picture transmission quality.
S12, judging whether the picture transmission quality is qualified or not.
Further, it is possible to determine whether the picture transmission quality is acceptable by setting a threshold value.
And if the current picture transmission quality is not qualified, executing S13, and carrying out picture transmission by utilizing the pre-constructed PCoIP protocol.
It can be understood that the PCoIP protocol refers to a PC over IP protocol, and since the PCoIP protocol is more suitable for use in a low bandwidth network, the PCoIP protocol can be used when the picture transmission quality is always disqualified.
And if the transmission quality of the current picture is qualified, returning to the step of acquiring the current cloud desktop frame to be transmitted, and finishing the android-based cloud desktop connection multi-protocol automatic switching method.
Compared with the background art, the method comprises the following steps: the current cloud desktop transmission method has the phenomena of poor transmission effect and poor flexibility, firstly, the most suitable pixel change values of an ICA protocol and a Spice protocol are required to be measured, before measurement, test video frames and dynamic region size demarcation sequences are required to be acquired, then dynamic change regions are orderly demarcated for the test video frames according to the dynamic region size demarcation sequences to obtain an initial video frame sequence, finally, the pixel positions in the dynamic change regions in the initial video frame sequence are disturbed to obtain a target video frame sequence, at the moment, cloud desktop picture transmission can be carried out on the target video frame sequence by utilizing the pre-constructed ICA protocol and Spice protocol respectively, and the corresponding relation between the pixel change values and picture transmission quality is required to be constructed by measuring the time-picture transmission quality curves of the ICA protocol and the Spice protocol, calculating pixel change values of each target video frame in the target video frame sequence by using a pre-constructed pixel change formula, carrying out position calibration on the time-picture transmission quality curve by using the pixel change values to obtain pixel change-picture transmission quality curves of an ICA protocol and a Spice protocol, sequentially extracting target quality transmission curve segments from the pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol, identifying a cloud desktop transmission protocol corresponding to the target quality transmission curve segments to obtain pixel change intervals corresponding to the target quality transmission curve segments, finally establishing a corresponding relation between the pixel change intervals and the cloud desktop transmission protocol to obtain a pixel change interval-protocol comparison table, and carrying out classified transmission of the cloud desktop frames to be transmitted currently at the moment, when the current cloud desktop frame to be transmitted is not a video frame, indicating that cloud desktop image transmission can be performed by using the Spice protocol, if the current cloud desktop frame to be transmitted is a video frame, calculating a current pixel change value of the current cloud desktop frame to be transmitted, inquiring a target transmission protocol by using the pixel change interval-protocol comparison table according to the current pixel change value, achieving the purpose of transmitting the current cloud desktop frame to be transmitted according to the target transmission protocol, and meanwhile, in the process of transmitting images, judging whether the image transmission quality is qualified or not, if the current image transmission quality is unqualified, performing image transmission by using a pre-constructed PCoIP protocol, and if the current image transmission quality is qualified, returning to the step of acquiring the current cloud desktop frame to be transmitted until the transmission is completed. Therefore, the android-based cloud desktop connection multi-protocol automatic switching method, the android-based cloud desktop connection multi-protocol automatic switching system, the electronic equipment and the computer-readable storage medium can solve the problems of poor transmission effect and poor flexibility of the current cloud desktop transmission method.
Example 2:
fig. 2 is a functional block diagram of an android-based cloud desktop connection multi-protocol automatic switching system according to an embodiment of the present invention.
The android-based cloud desktop connection multi-protocol automatic switching system 100 can be installed in electronic equipment. According to the implemented functions, the android-based cloud desktop connection multi-protocol automatic switching system 100 may include a target video frame sequence acquisition module 101, a pixel change-picture transmission quality curve calibration module 102, a pixel change interval-protocol comparison table construction module 103, a video frame identification module 104, and a current cloud desktop frame classification transmission module 105 to be transmitted. The module of the invention, which may also be referred to as a unit, refers to a series of computer program segments, which are stored in the memory of the electronic device, capable of being executed by the processor of the electronic device and of performing a fixed function.
The target video frame sequence obtaining module 101 is configured to obtain a test video frame and a dynamic region size defining sequence, and sequentially define a dynamic change region for the test video frame according to the dynamic region size defining sequence to obtain an initial video frame sequence; disturbing the pixel positions in the dynamic change area in the initial video frame sequence to obtain a target video frame sequence;
The pixel change-picture transmission quality curve calibration module 102 is configured to perform cloud desktop picture transmission on the target video frame sequence by using a pre-constructed ICA protocol and a pre-constructed Spice protocol, and determine time-picture transmission quality curves of the ICA protocol and the Spice protocol; calculating a pixel change value of each target video frame in the target video frame sequence by using a pre-constructed pixel change formula, and performing position calibration on the time-picture transmission quality curve by using the pixel change value to obtain pixel change-picture transmission quality curves of an ICA protocol and a Spice protocol;
the pixel change interval-protocol comparison table construction module 103 is configured to sequentially extract a target quality transmission curve segment from the pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol, and identify a cloud desktop transmission protocol corresponding to the target quality transmission curve segment; acquiring a pixel change interval corresponding to the target quality transmission curve segment, and establishing a corresponding relation between the pixel change interval and the cloud desktop transmission protocol to obtain a pixel change interval-protocol comparison table;
the video frame identification module 104 is configured to obtain a current cloud desktop frame to be transmitted, and determine whether the current cloud desktop frame to be transmitted is a video frame;
The cloud desktop frame classification transmission module 105 is configured to perform cloud desktop frame transmission by using the Spice protocol and determine frame transmission quality if the cloud desktop frame to be currently transmitted is not a video frame; if the current cloud desktop frame to be transmitted is a video frame, calculating a current pixel change value of the current cloud desktop frame to be transmitted; inquiring a target transmission protocol by using the pixel change interval-protocol comparison table according to the current pixel change value, transmitting the current cloud desktop frame to be transmitted according to the target transmission protocol, and measuring the picture transmission quality; judging whether the picture transmission quality is qualified or not; if the current picture transmission quality is not qualified, picture transmission is carried out by utilizing a pre-constructed PCoIP protocol; and if the transmission quality of the current picture is qualified, returning to the step of acquiring the current cloud desktop frame to be transmitted.
In detail, the modules in the android-based cloud desktop connection multi-protocol automatic switching system 100 in the embodiment of the present invention use the same technical means as the android-based cloud desktop connection multi-protocol automatic switching method described in fig. 1, and can produce the same technical effects, which are not described herein.
Example 3:
fig. 3 is a schematic structural diagram of an electronic device for implementing an android-based cloud desktop connection multi-protocol automatic switching method according to an embodiment of the present invention.
The electronic device 1 may comprise a processor 10, a memory 11, a bus 12 and a communication interface 13, and may further comprise a computer program stored in the memory 11 and executable on the processor 10, such as an android-based cloud desktop connection multi-protocol auto-switch program.
The memory 11 includes at least one type of readable storage medium, including flash memory, a mobile hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, such as a removable hard disk of the electronic device 1. The memory 11 may in other embodiments also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 may be used to store not only application software installed in the electronic device 1 and various data, such as codes of an android-based cloud desktop connection multi-protocol auto-switching program, but also temporarily store data that has been output or is to be output.
The processor 10 may be comprised of integrated circuits in some embodiments, for example, a single packaged integrated circuit, or may be comprised of multiple integrated circuits packaged with the same or different functions, including one or more central processing units (Central Processing unit, CPU), microprocessors, digital processing chips, graphics processors, combinations of various control chips, and the like. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the entire electronic device using various interfaces and lines, executes or executes programs or modules (e.g., an android-based cloud desktop connection multi-protocol auto-switching program, etc.) stored in the memory 11, and invokes data stored in the memory 11 to perform various functions of the electronic device 1 and process the data.
The bus may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. The bus is arranged to enable a connection communication between the memory 11 and at least one processor 10 etc.
Fig. 3 shows only an electronic device with components, it being understood by a person skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than shown, or may combine certain components, or may be arranged in different components.
For example, although not shown, the electronic device 1 may further include a power source (such as a battery) for supplying power to the respective components, and preferably, the power source may be logically connected to the at least one processor 10 through a power management system, so as to perform functions of charge management, discharge management, and power consumption management through the power management system. The power supply may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like. The electronic device 1 may further include various sensors, bluetooth modules, wi-Fi modules, etc., which will not be described herein.
Further, the electronic device 1 may also comprise a network interface, optionally the network interface may comprise a wired interface and/or a wireless interface (e.g. WI-FI interface, bluetooth interface, etc.), typically used for establishing a communication connection between the electronic device 1 and other electronic devices.
The electronic device 1 may optionally further comprise a user interface, which may be a Display, an input unit, such as a Keyboard (Keyboard), or a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the electronic device 1 and for displaying a visual user interface.
It should be understood that the embodiments described are for illustrative purposes only and are not limited to this configuration in the scope of the patent application.
The android-based cloud desktop connection multi-protocol auto-switching program stored in the memory 11 of the electronic device 1 is a combination of a plurality of instructions, which when executed in the processor 10, may implement:
acquiring a test video frame and a dynamic region size defining sequence, and sequentially defining a dynamic change region for the test video frame according to the dynamic region size defining sequence to obtain an initial video frame sequence;
Disturbing the pixel positions in the dynamic change area in the initial video frame sequence to obtain a target video frame sequence;
respectively carrying out cloud desktop image transmission on the target video frame sequence by utilizing a pre-constructed ICA protocol and a pre-constructed Spice protocol, and measuring time-image transmission quality curves of the ICA protocol and the Spice protocol;
calculating a pixel change value of each target video frame in the target video frame sequence by using a pre-constructed pixel change formula, and performing position calibration on the time-picture transmission quality curve by using the pixel change value to obtain pixel change-picture transmission quality curves of an ICA protocol and a Spice protocol;
sequentially extracting target quality transmission curve segments from pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol, and identifying a cloud desktop transmission protocol corresponding to the target quality transmission curve segments;
acquiring a pixel change interval corresponding to the target quality transmission curve segment, and establishing a corresponding relation between the pixel change interval and the cloud desktop transmission protocol to obtain a pixel change interval-protocol comparison table;
acquiring a current cloud desktop frame to be transmitted, and judging whether the current cloud desktop frame to be transmitted is a video frame or not;
If the current cloud desktop frame to be transmitted is not a video frame, cloud desktop image transmission is carried out by utilizing the Spice protocol, and image transmission quality is measured;
if the current cloud desktop frame to be transmitted is a video frame, calculating a current pixel change value of the current cloud desktop frame to be transmitted;
inquiring a target transmission protocol by using the pixel change interval-protocol comparison table according to the current pixel change value, transmitting the current cloud desktop frame to be transmitted according to the target transmission protocol, and measuring the picture transmission quality;
judging whether the picture transmission quality is qualified or not;
if the current picture transmission quality is not qualified, picture transmission is carried out by utilizing a pre-constructed PCoIP protocol;
and if the transmission quality of the current picture is qualified, returning to the step of acquiring the current cloud desktop frame to be transmitted, and finishing the android-based cloud desktop connection multi-protocol automatic switching method.
Specifically, the specific implementation method of the above instruction by the processor 10 may refer to descriptions of related steps in the corresponding embodiments of fig. 1 to 2, which are not repeated herein.
Further, the modules/units integrated in the electronic device 1 may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as separate products. The computer readable storage medium may be volatile or nonvolatile. For example, the computer readable medium may include: any entity or system capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM).
The present invention also provides a computer readable storage medium storing a computer program which, when executed by a processor of an electronic device, can implement:
acquiring a test video frame and a dynamic region size defining sequence, and sequentially defining a dynamic change region for the test video frame according to the dynamic region size defining sequence to obtain an initial video frame sequence;
disturbing the pixel positions in the dynamic change area in the initial video frame sequence to obtain a target video frame sequence;
respectively carrying out cloud desktop image transmission on the target video frame sequence by utilizing a pre-constructed ICA protocol and a pre-constructed Spice protocol, and measuring time-image transmission quality curves of the ICA protocol and the Spice protocol;
calculating a pixel change value of each target video frame in the target video frame sequence by using a pre-constructed pixel change formula, and performing position calibration on the time-picture transmission quality curve by using the pixel change value to obtain pixel change-picture transmission quality curves of an ICA protocol and a Spice protocol;
sequentially extracting target quality transmission curve segments from pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol, and identifying a cloud desktop transmission protocol corresponding to the target quality transmission curve segments;
Acquiring a pixel change interval corresponding to the target quality transmission curve segment, and establishing a corresponding relation between the pixel change interval and the cloud desktop transmission protocol to obtain a pixel change interval-protocol comparison table;
acquiring a current cloud desktop frame to be transmitted, and judging whether the current cloud desktop frame to be transmitted is a video frame or not;
if the current cloud desktop frame to be transmitted is not a video frame, cloud desktop image transmission is carried out by utilizing the Spice protocol, and image transmission quality is measured;
if the current cloud desktop frame to be transmitted is a video frame, calculating a current pixel change value of the current cloud desktop frame to be transmitted;
inquiring a target transmission protocol by using the pixel change interval-protocol comparison table according to the current pixel change value, transmitting the current cloud desktop frame to be transmitted according to the target transmission protocol, and measuring the picture transmission quality;
judging whether the picture transmission quality is qualified or not;
if the current picture transmission quality is not qualified, picture transmission is carried out by utilizing a pre-constructed PCoIP protocol;
and if the transmission quality of the current picture is qualified, returning to the step of acquiring the current cloud desktop frame to be transmitted, and finishing the android-based cloud desktop connection multi-protocol automatic switching method.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus, system and method may be implemented in other manners. For example, the system embodiments described above are merely illustrative, e.g., the division of the modules is merely a logical function division, and other manners of division may be implemented in practice.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. An android-based cloud desktop connection multi-protocol automatic switching method is characterized by comprising the following steps:
acquiring a test video frame and a dynamic region size defining sequence, and sequentially defining a dynamic change region for the test video frame according to the dynamic region size defining sequence to obtain an initial video frame sequence;
disturbing the pixel positions in the dynamic change area in the initial video frame sequence to obtain a target video frame sequence;
respectively carrying out cloud desktop image transmission on the target video frame sequence by utilizing a pre-constructed ICA protocol and a pre-constructed Spice protocol, and measuring time-image transmission quality curves of the ICA protocol and the Spice protocol;
calculating a pixel change value of each target video frame in the target video frame sequence by using a pre-constructed pixel change formula, and performing position calibration on the time-picture transmission quality curve by using the pixel change value to obtain pixel change-picture transmission quality curves of an ICA protocol and a Spice protocol;
Sequentially extracting target quality transmission curve segments from pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol, and identifying a cloud desktop transmission protocol corresponding to the target quality transmission curve segments;
acquiring a pixel change interval corresponding to the target quality transmission curve segment, and establishing a corresponding relation between the pixel change interval and the cloud desktop transmission protocol to obtain a pixel change interval-protocol comparison table;
acquiring a current cloud desktop frame to be transmitted;
judging whether the current cloud desktop frame to be transmitted is a video frame or not;
if the current cloud desktop frame to be transmitted is not a video frame, cloud desktop image transmission is carried out by utilizing the Spice protocol, and image transmission quality is measured;
if the current cloud desktop frame to be transmitted is a video frame, calculating a current pixel change value of the current cloud desktop frame to be transmitted;
inquiring a target transmission protocol by using the pixel change interval-protocol comparison table according to the current pixel change value, transmitting the current cloud desktop frame to be transmitted according to the target transmission protocol, and measuring the picture transmission quality;
judging whether the picture transmission quality is qualified or not;
if the current picture transmission quality is not qualified, picture transmission is carried out by utilizing a pre-constructed PCoIP protocol;
And if the transmission quality of the current picture is qualified, returning to the step of acquiring the current cloud desktop frame to be transmitted, and finishing the android-based cloud desktop connection multi-protocol automatic switching method.
2. The android-based cloud desktop connection multi-protocol automatic switching method of claim 1, wherein the obtaining the test video frame and the dynamic region sizing sequence comprises:
acquiring an initial video frame, and placing pixel points in the initial video frame in preset pixel values to obtain a test video frame;
and acquiring a dynamic size sequence, and constructing the dynamic region size demarcation sequence according to the dynamic size sequence.
3. The method for automatically switching cloud desktop connection multiprotocol based on android as recited in claim 1, wherein said determining a time-picture transmission quality curve of said ICA protocol and Spice protocol comprises:
respectively measuring the picture transmission index evaluation set of the ICA protocol and the Spice protocol in the cloud desktop picture transmission;
calculating the picture transmission quality of the ICA protocol and the Spice protocol in cloud desktop picture transmission according to the picture transmission index evaluation set;
and obtaining a measurement time, and drawing time-picture transmission quality curves of the ICA protocol and the Spice protocol according to the corresponding relation between the picture transmission quality and the measurement time.
4. The android-based cloud desktop connection multi-protocol automatic switching method as claimed in claim 3, wherein said calculating the picture transmission quality of the ICA protocol and the Spice protocol in cloud desktop picture transmission according to the picture transmission index evaluation set includes:
acquiring the picture transmission index weight;
and carrying out weighted calculation on the picture transmission index evaluation set according to the picture transmission index weight to obtain picture transmission quality of the ICA protocol and the Spice protocol in cloud desktop picture transmission.
5. The android-based cloud desktop connection multi-protocol automatic switching method of claim 1, wherein the pixel change calculation formula is as follows:
wherein μ represents a pixel change value, I represents a sequence number of pixel points in the target video frame, I represents a total number of pixel points in the target video frame, and x' i Representing the pixel value, x, of the ith pixel point in the next video frame of the target video frame i And f represents the transmission frame rate of the target video frame sequence.
6. The method for automatically switching cloud desktop connection multiprotocol based on android as recited in claim 1, wherein said performing position calibration on said time-picture transmission quality curve by using said pixel variation value to obtain pixel variation-picture transmission quality curves of ICA protocol and Spice protocol comprises:
Sequentially identifying picture transmission quality coordinate points of the target video frames in the time-picture transmission quality curve in the target video frame sequence;
identifying a measurement time point corresponding to the picture transmission quality coordinate point;
and obtaining a pixel change value of the target video frame, and replacing the measurement time point by using the pixel change value to obtain a pixel change-picture transmission quality curve of the ICA protocol and the Spice protocol.
7. The android-based cloud desktop connection multi-protocol automatic switching method of claim 5 or 6, wherein said sequentially identifying picture transmission quality coordinate points of a target video frame in said time-picture transmission quality curve in said target video frame sequence comprises:
acquiring a video frame sequence number of the target video frame in the target video frame sequence;
calculating the determination time of the target video frame by utilizing the transmission frame rate according to the video frame sequence number by utilizing a pre-constructed calibration formula;
and identifying picture transmission quality coordinate points of the target video frames in the time-picture transmission quality curve according to the measured time of the target video frames.
8. The android-based cloud desktop connection multi-protocol automatic switching method of claim 7, wherein the calibration formula is as follows:
Wherein t represents the measurement time of the target video frame, t 0 The measurement start time is represented by j, the video frame number is represented by j, and the transmission frame rate is represented by f.
9. The method for automatically switching cloud desktop connection multiprotocol based on android as recited in claim 1, wherein sequentially extracting target quality transmission curve segments from pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol comprises:
judging whether an intersection point exists in the pixel change-picture transmission quality curve of the ICA protocol and the Spice protocol;
if the pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol have no intersection point, acquiring an upper pixel change-picture transmission quality curve, and taking the upper pixel change-picture transmission quality curve as a target quality transmission curve segment;
if the pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol have intersection points, dividing the pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol by the intersection points, and identifying an upper pixel change-picture transmission quality curve between every two intersection points to obtain an upper pixel change-picture transmission quality curve set;
and sequentially extracting target quality transmission curve segments from the upper pixel change-picture transmission quality curve set.
10. Cloud desktop connection multi-protocol automatic switching system based on android is characterized in that the system comprises:
the target video frame sequence acquisition module is used for acquiring a test video frame and a dynamic region size demarcation sequence, and demarcating a dynamic change region for the test video frame according to the dynamic region size demarcation sequence in turn to obtain an initial video frame sequence; disturbing the pixel positions in the dynamic change area in the initial video frame sequence to obtain a target video frame sequence;
the pixel change-picture transmission quality curve calibration module is used for respectively carrying out cloud desktop picture transmission on the target video frame sequence by utilizing a pre-constructed ICA protocol and a pre-constructed Spice protocol and measuring time-picture transmission quality curves of the ICA protocol and the Spice protocol; calculating a pixel change value of each target video frame in the target video frame sequence by using a pre-constructed pixel change formula, and performing position calibration on the time-picture transmission quality curve by using the pixel change value to obtain pixel change-picture transmission quality curves of an ICA protocol and a Spice protocol;
the pixel change interval-protocol comparison table construction module is used for sequentially extracting target quality transmission curve segments from pixel change-picture transmission quality curves of the ICA protocol and the Spice protocol and identifying a cloud desktop transmission protocol corresponding to the target quality transmission curve segments; acquiring a pixel change interval corresponding to the target quality transmission curve segment, and establishing a corresponding relation between the pixel change interval and the cloud desktop transmission protocol to obtain a pixel change interval-protocol comparison table;
The video frame identification module is used for acquiring a current cloud desktop frame to be transmitted and judging whether the current cloud desktop frame to be transmitted is a video frame or not;
the cloud desktop frame classification transmission module is used for transmitting cloud desktop frames by utilizing the Spice protocol and measuring the frame transmission quality if the current cloud desktop frame to be transmitted is not a video frame; if the current cloud desktop frame to be transmitted is a video frame, calculating a current pixel change value of the current cloud desktop frame to be transmitted; inquiring a target transmission protocol by using the pixel change interval-protocol comparison table according to the current pixel change value, transmitting the current cloud desktop frame to be transmitted according to the target transmission protocol, and measuring the picture transmission quality; judging whether the picture transmission quality is qualified or not; if the current picture transmission quality is not qualified, picture transmission is carried out by utilizing a pre-constructed PCoIP protocol; and if the transmission quality of the current picture is qualified, returning to the step of acquiring the current cloud desktop frame to be transmitted.
CN202311266580.4A 2023-09-27 2023-09-27 Cloud desktop connection multi-protocol automatic switching method and system based on android Pending CN117354286A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311266580.4A CN117354286A (en) 2023-09-27 2023-09-27 Cloud desktop connection multi-protocol automatic switching method and system based on android

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311266580.4A CN117354286A (en) 2023-09-27 2023-09-27 Cloud desktop connection multi-protocol automatic switching method and system based on android

Publications (1)

Publication Number Publication Date
CN117354286A true CN117354286A (en) 2024-01-05

Family

ID=89358661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311266580.4A Pending CN117354286A (en) 2023-09-27 2023-09-27 Cloud desktop connection multi-protocol automatic switching method and system based on android

Country Status (1)

Country Link
CN (1) CN117354286A (en)

Similar Documents

Publication Publication Date Title
CN111476309B (en) Image processing method, model training method, device, equipment and readable medium
US9317732B2 (en) Method and apparatus of determining air quality
CN108228463B (en) Method and device for detecting first screen time
CN108961267B (en) Picture processing method, picture processing device and terminal equipment
CN110020093A (en) Video retrieval method, edge device, video frequency searching device and storage medium
CN111104825A (en) Face registry updating method, device, equipment and medium
US20230214989A1 (en) Defect detection method, electronic device and readable storage medium
CN109657543B (en) People flow monitoring method and device and terminal equipment
CN111314614A (en) Image processing method and device, readable medium and electronic equipment
CN110826646A (en) Robot vision testing method and device, storage medium and terminal equipment
CN110647931A (en) Object detection method, electronic device, system, and medium
CN113554008A (en) Method and device for detecting static object in area, electronic equipment and storage medium
CN108932703B (en) Picture processing method, picture processing device and terminal equipment
WO2019000746A1 (en) Method for switching text color of control, and system, electronic device and storage medium
CN113378958A (en) Automatic labeling method, device, equipment, storage medium and computer program product
CN110399802B (en) Method, apparatus, medium, and electronic device for processing eye brightness of face image
CN113391779B (en) Parameter adjusting method, device and equipment for paper-like screen
US9685197B2 (en) Method for generating thumbnail and electronic device thereof
CN117354286A (en) Cloud desktop connection multi-protocol automatic switching method and system based on android
CN115065604B (en) Equipment topology map generation method, generation device, storage medium and terminal equipment
CN107734324B (en) Method and system for measuring illumination uniformity of flash lamp and terminal equipment
CN110659540A (en) Traffic light detection method and device
CN107071553B (en) Method, device and computer readable storage medium for modifying video and voice
CN106055229B (en) Display interface adjusting method and display interface adjusting module based on screen reading
CN113766312A (en) Method, device, equipment and storage medium for calculating response delay between equipment

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