CN105468322A - Method for viewing remote desktop in real time on basis of segmented video playing - Google Patents
Method for viewing remote desktop in real time on basis of segmented video playing Download PDFInfo
- Publication number
- CN105468322A CN105468322A CN201510812748.6A CN201510812748A CN105468322A CN 105468322 A CN105468322 A CN 105468322A CN 201510812748 A CN201510812748 A CN 201510812748A CN 105468322 A CN105468322 A CN 105468322A
- Authority
- CN
- China
- Prior art keywords
- video
- client
- thread
- remote desktop
- sub
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Abstract
The invention relates to a method for viewing a remote desktop in real time on basis of segmented video playing. The method comprises the following steps: sending an instruction for viewing the remote desktop to a server by a client; after the server receives the instruction sent by the client, recording a video in allusion to the desktop by the server, compressing the video and sending the compressed video to the client; after the recording of the video, immediately recording the next video by the server; after receiving the video, playing the video on a screen by the client; and after the video is played by the client, immediately playing the new video by the client as the new video is completely received. When the client needs to stop viewing the remote desktop, the client sends a stopping instruction to the server; and after receiving the stopping instruction, the server immediately stops the recording and sending of the video. The method for viewing the remote desktop in real time is easy to realize, and is capable of effectively relieving the experience for viewing the remote computer desktops by the client in bad network conditions.
Description
Technical field
The present invention relates to network communication technology field, particularly relate to a kind of real time inspection remote desktop method play based on segmenting video.
Background technology
In recent years, along with the fast development of infotech, remote desktop technology is applied to the field such as synergetic office work, office automation gradually, for the object of telemanagement or remote synchronization, needs the content of real time inspection remote desktop under many scenes.Way basic in the industry adopts the mode of grabbing screen the desktop picture of service end is intercepted into bitmap and preserves at present, and then the communication technology Network Based is by picture transfer to client, and client adopts the mode of pinup picture to be shown on screen by picture after receiving picture.In description herein, server end refers to by the long-range computing machine checking desktop, and client checks the computing machine of remote desktop.The type of service end and client computer is not limit, and can be desktop computer, notebook, handheld device, embedded device, intelligent television etc.Adopt when checking remote desktop in this way, desktop contents can intactly be presented on screen, but shortcoming also clearly: although the embodiment desktop contents that bitmap can can't harm, but it is very large to take up room, for the display screen that resolution is larger, the size of a desktop bitmap often beyond 3,4MB, therefore when network condition is not good enough, client is difficult to smooth broadcasting remote desktop.
On the basis of this basic skills, optimization method popular is in the industry transferred to client again after the bitmap of intercepting is carried out lossy compression method by service end, adopt the size that can reduce screen shots in this way to a certain extent, improve the speed that client receives each two field picture of remote desktop.
But these two kinds of methods can not effectively solve network speed not good enough when client terminal playing desktop contents time card, slow situation, when network condition is bad, service end can not in given time by picture transfer to client, and then cause the desktop contents of viewing service end that client can not be normal, smooth.
Summary of the invention
The present invention overcomes above-mentioned weak point, object is to provide a kind of real time inspection remote desktop method play based on segmenting video, the transmission mode of desktop contents is transmitted by picture the small video changing segmentation into frame by frame transmit, improve to a great extent and to be paused problem by the card of the not good enough client terminal playing remote desktop caused of network.
The present invention achieves the above object by the following technical programs: a kind of real time inspection remote desktop method play based on segmenting video, comprises the steps:
(1) client is set up network by ICP/IP protocol and service end and is connected;
(2) after connecting, client sends to service end and checks remote desktop instruction, simultaneously wait-receiving mode video;
(3) to desktop recorded video after service end receives from client instruction, and send to client by after Video compression, after transmission, carry out recording new video;
(4) client is play after receiving video, receives new video, play immediately after finishing playing to the new video received while broadcasting;
(5) circulation performs step (3) and checks remote desktop instruction with step (4) until client sends end to service end.
As preferably, the process of described client comprises main thread and sub-thread, and main thread and sub-thread create when process initiation; Described main thread is used for video playback, and sub-thread is used for video reception, and main thread is communicated by self-defined message with sub-thread.
As preferably, described step (2) and step (5) client send instruction by main thread to service end.
As preferably, the process of described service end comprises main thread and sub-thread, and main thread and sub-thread create when process initiation; Described main thread is used for video record, and sub-thread is used for video compress and transmission, and main thread is communicated by self-defined message with sub-thread.
As preferably, the stand-by period of described step (2) client wait-receiving mode video is 30s.
As preferably, the video length that described step (3) service end is recorded is 10s.
Beneficial effect of the present invention is: this method efficiently solve network speed not good enough when client terminal playing desktop contents time card to pause problem.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the inventive method;
Fig. 2 is service end process functional schematic of the present invention;
Fig. 3 is client process functional schematic of the present invention.
Embodiment
Below in conjunction with specific embodiment, the present invention is described further, but protection scope of the present invention is not limited in this:
Embodiment: as shown in Figure 1, a kind of real time inspection remote desktop method play based on segmenting video, comprises following steps:
Step 1: client is set up network by ICP/IP protocol and service end and is connected;
Step 2: the main thread of client process sends the instruction checking remote desktop to service end, now client enters waiting status, the sub-thread of client process carries out the preparation of receiver, video;
Step 3: service end starts to record one section of video for desktop after receiving the instruction that client sends in the main thread of service end process;
Step 4: after service end video record completes, carry out compression process to video immediately in the main thread of service end process, after compression, the sub-thread of service end process sends the video after compression to client immediately; The main thread of service end process carries out the recording of next section of video immediately after the preceding paragraph video record completes;
Step 5: play received video file immediately on screen after the main thread of client process receives video;
Step 6: the main thread of client process is while broadcasting video, and the sub-thread of client process carries out the preparation receiving next section of video, and the video receiving service end as fruit thread sends request, then start receiver, video immediately;
Step 7: the main thread of client process finishes playing after one section of video, and new video segment receives by sub-thread, and now the main thread of client process plays new video immediately;
Step 8: service end constantly repeats step 4, client constantly repeats step 6 and 7;
Step 9: when client needs end to check remote desktop, send END instruction to service end, service end stops recording and the transmission of video immediately after receiving END instruction.
In described step 2, the stand-by period of client is about 30 seconds.
The video length of service end recording in described step 3 about 10 seconds.
In described step 3, the recording of service end to video carries out in the main thread of service end process.
In described step 4, service end is all carried out the compression of video and transmission in sub-thread.Sub-thread creates when service end process initiation.
In described step 5, the broadcasting of client to video carries out in the main thread of client process.
In described step 6, the reception of client to video carries out in the sub-thread of client process.Sub-thread creates when client process starts.
As shown in Figure 2, service end process has two threads, and main thread and sub-thread all create when process initiation, and main thread is responsible for the recording of video, and sub-thread is responsible for compression, the transmission of video; Communicate by sending self-defined message between two threads.
As shown in Figure 3, client process has two threads, and main thread and sub-thread all create when process initiation, and main thread is responsible for the broadcasting of video, and sub-thread is responsible for the reception of video; Communicate by sending self-defined message between two threads.
Use the present invention's long-range desktop contents checking server computer in real time on client computers.The circulation of service end primary responsibility, is constantly recorded by desktop contents and be compressed into video file brief one by one, then video file is sent to client, client primary responsibility receives file and also plays these videos in order.
The know-why being specific embodiments of the invention and using described in above, if the change done according to conception of the present invention, its function produced do not exceed that instructions and accompanying drawing contain yet spiritual time, must protection scope of the present invention be belonged to.
Claims (6)
1., based on the real time inspection remote desktop method that segmenting video is play, it is characterized in that, comprise the steps:
(1) client is set up network by ICP/IP protocol and service end and is connected;
(2) after connecting, client sends to service end and checks remote desktop instruction, simultaneously wait-receiving mode video;
(3) to desktop recorded video after service end receives from client instruction, and send to client by after Video compression, after transmission, carry out recording new video;
(4) client is play after receiving video, receives new video, play immediately after finishing playing to the new video received while broadcasting;
(5) circulation performs step (3) and checks remote desktop instruction with step (4) until client sends end to service end.
2. a kind of real time inspection remote desktop method play based on segmenting video according to claim 1, is characterized in that: the process of described client comprises main thread and sub-thread, and main thread and sub-thread create when process initiation; Described main thread is used for video playback, and sub-thread is used for video reception, and main thread is communicated by self-defined message with sub-thread.
3. a kind of real time inspection remote desktop method play based on segmenting video according to claim 1, is characterized in that: described step (2) and step (5) client send instruction by main thread to service end.
4. a kind of real time inspection remote desktop method play based on segmenting video according to claim 1, is characterized in that: the process of described service end comprises main thread and sub-thread, and main thread and sub-thread create when process initiation; Described main thread is used for video record, and sub-thread is used for video compress and transmission, and main thread is communicated by self-defined message with sub-thread.
5. a kind of real time inspection remote desktop method play based on segmenting video according to claim 1, is characterized in that: the stand-by period of described step (2) client wait-receiving mode video is 30s.
6. a kind of real time inspection remote desktop method play based on segmenting video according to claim 1, is characterized in that: the video length that described step (3) service end is recorded is 10s.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510812748.6A CN105468322A (en) | 2015-11-20 | 2015-11-20 | Method for viewing remote desktop in real time on basis of segmented video playing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510812748.6A CN105468322A (en) | 2015-11-20 | 2015-11-20 | Method for viewing remote desktop in real time on basis of segmented video playing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105468322A true CN105468322A (en) | 2016-04-06 |
Family
ID=55606072
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510812748.6A Pending CN105468322A (en) | 2015-11-20 | 2015-11-20 | Method for viewing remote desktop in real time on basis of segmented video playing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105468322A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107240320A (en) * | 2017-08-08 | 2017-10-10 | 郑空军 | A kind of intelligent tutoring system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101115058A (en) * | 2006-07-28 | 2008-01-30 | 达声科技股份有限公司 | Client/server multimedia system and method |
CN101420610A (en) * | 2007-10-26 | 2009-04-29 | 闪联信息技术工程中心有限公司 | Method for displaying remote desktop content and apparatus thereof |
CN101556506A (en) * | 2004-01-09 | 2009-10-14 | 迪吉多多工公司 | Method and apparatus for facilitating control of a target computer by a remote computer |
US20130294498A1 (en) * | 2012-05-04 | 2013-11-07 | Awind, Inc | Video encoding system, method and computer readable medium thereof |
CN103597797A (en) * | 2011-06-10 | 2014-02-19 | 微软公司 | Web-browser based desktop and application remoting solution |
CN104717531A (en) * | 2013-12-11 | 2015-06-17 | 宏正自动科技股份有限公司 | image log storage system and recording method thereof |
-
2015
- 2015-11-20 CN CN201510812748.6A patent/CN105468322A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101556506A (en) * | 2004-01-09 | 2009-10-14 | 迪吉多多工公司 | Method and apparatus for facilitating control of a target computer by a remote computer |
CN101115058A (en) * | 2006-07-28 | 2008-01-30 | 达声科技股份有限公司 | Client/server multimedia system and method |
CN101420610A (en) * | 2007-10-26 | 2009-04-29 | 闪联信息技术工程中心有限公司 | Method for displaying remote desktop content and apparatus thereof |
CN103597797A (en) * | 2011-06-10 | 2014-02-19 | 微软公司 | Web-browser based desktop and application remoting solution |
US20130294498A1 (en) * | 2012-05-04 | 2013-11-07 | Awind, Inc | Video encoding system, method and computer readable medium thereof |
CN104717531A (en) * | 2013-12-11 | 2015-06-17 | 宏正自动科技股份有限公司 | image log storage system and recording method thereof |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107240320A (en) * | 2017-08-08 | 2017-10-10 | 郑空军 | A kind of intelligent tutoring system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108076364B (en) | Adaptive media streaming apparatus and media service apparatus | |
CN102158553B (en) | Method and device for playing multi-media files for remote desktop | |
EP3952318A1 (en) | Video stream playback method, system and terminal, and storage medium | |
CN105072190A (en) | Method and system for realizing real-time desktop cloud | |
CN104918137A (en) | Method enabling spliced screen system to play videos | |
WO2021129830A1 (en) | Video transmission method, apparatus, device and system | |
US9438917B2 (en) | System and method for adaptive bandwidth management | |
CN102541555A (en) | Method for remotely smoothly playing desktop video in API (application programming interface) interception mode | |
CN103546424A (en) | TCP (transmission control protocol) data transmission method and TCP unloading engine and system | |
CN105898506A (en) | Method and system for multi-screen playing of media files | |
CN104053015A (en) | Media data transmitting method and virtual desktop server | |
CN109257641B (en) | Audio and video synchronization method and system in wireless screen transmission | |
EP3325116A1 (en) | Method and telecommunications network for streaming and for reproducing applications | |
CN110933470B (en) | Video data sharing method | |
CN105468322A (en) | Method for viewing remote desktop in real time on basis of segmented video playing | |
CN103428297A (en) | Remote interaction system framework based on desktop virtualization | |
CN102821309A (en) | System and method for transferring streaming media based on desktop sharing | |
CN103139188B (en) | Flow-medium transmission method and system | |
CN103826158A (en) | Network broadcasting device and method | |
CN106131693A (en) | A kind of modular transmission of video Play System and method | |
CN103974062A (en) | Image display device, image display system and image display method | |
CN106131479A (en) | It is applied to many equipment display packing and the system of aircraft | |
TW201251429A (en) | System and method for sending streaming of desktop sharing | |
CN114827692A (en) | System for operating cloud desktop based on smart television | |
Hou et al. | A cloud gaming system based on NVIDIA GRID GPU |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160406 |
|
RJ01 | Rejection of invention patent application after publication |