Nothing Special   »   [go: up one dir, main page]

CN109040786A - Transmission method, device, system and the storage medium of camera data - Google Patents

Transmission method, device, system and the storage medium of camera data Download PDF

Info

Publication number
CN109040786A
CN109040786A CN201811023333.0A CN201811023333A CN109040786A CN 109040786 A CN109040786 A CN 109040786A CN 201811023333 A CN201811023333 A CN 201811023333A CN 109040786 A CN109040786 A CN 109040786A
Authority
CN
China
Prior art keywords
data
packet
server
camera
target packet
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.)
Granted
Application number
CN201811023333.0A
Other languages
Chinese (zh)
Other versions
CN109040786B (en
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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks 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 Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN201811023333.0A priority Critical patent/CN109040786B/en
Publication of CN109040786A publication Critical patent/CN109040786A/en
Application granted granted Critical
Publication of CN109040786B publication Critical patent/CN109040786B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The present invention relates to fields of communication technology, disclose transmission method, device, system and the storage medium of camera data in a kind of VDI system, for reducing the expense of the transmission bandwidth of camera data in VDI system, the described method includes: obtaining multiple data packets that camera is sent, the multiple data packet is to form the data packet of a frame image;A target packet is formed after the multiple data packet is merged compression;The target packet is sent to server, so that the server redirects the target packet to the virtual desktop in the server virtual desktop architecture VDI system.

Description

Transmission method, device, system and the storage medium of camera data
Technical field
The present invention relates to the transmission methods of camera data, dress in field of communication technology more particularly to a kind of VDI system It sets, system and storage medium.
Background technique
Virtual desktop architecture (Virtual Desktop Infrastructure, abbreviation VDI), refers to long-range True operating system is run on server, and the desktop of operating system is virtualized, by network by operating system Virtual desktop real-time Transmission is shown on local terminal, then, user can be visited by the client remote on local terminal It asks the virtual desktop that server provides, operation of the user on local terminal can also be redirected by the client as to void The operation of quasi- desktop.
In VDI system, it usually needs redirect the external USB camera in access local terminal, such as from the camera Image data is obtained, the image data for the camera for then needing will acquire is sent to the operating system of remote server, therefore, In VDI system, how transmission camera data, with reduce transmission bandwidth expense and one need the technology that solves to ask Topic.
Summary of the invention
The embodiment of the present invention provides the transmission method, device of camera data, system and storage in a kind of VDI system and is situated between Matter, for reducing the expense of camera data transfer bandwidth in VDI system.
In a first aspect, the embodiment of the invention provides a kind of transmission methods of camera data in VDI system, comprising:
Multiple data packets that camera is sent are obtained, the multiple data packet is to form the data packet of a frame image;
A target packet will be formed after the compression of the multiple packet combining;
The target packet is sent to server so that the server by the target packet redirect to Virtual desktop in the server virtual desktop architecture VDI system.
Optionally, it is described by the multiple data packet merge compression after formed a target packet, specifically include:
The multiple data packet is parsed, the image data that each data packet includes in the multiple data packet is obtained;
According to the image data of acquisition, a frame image is synthesized;
Using a frame image of default compress mode compression synthesis, a target packet is formed.
Optionally, the sum of the multiple data packet before the file size of the target packet is compressed less than merging, and Or the picture quality after the target packet reduction is not less than established standards.
Optionally, before the multiple data packets for obtaining camera transmission, the method also includes:
The instruction information that the camera accesses is sent to the server;
Obtain the instruction of the image data in the reading camera of the server based on the instruction information feedback;
The instruction obtained is sent to the camera.
Optionally, described that the target packet is sent to server, so that the server is by the number of targets It redirects according to packet to the virtual desktop in the server virtual desktop architecture VDI system, specifically:
The target packet is sent to server, so that the server decompresses the target packet, And the target packet after decompression is split into multiple data packets, to redirecting the multiple data packet in VDI system Virtual desktop.
Second aspect, the embodiment of the invention provides a kind of transmission methods of camera data in VDI system, comprising:
The target packet that terminal device is sent is obtained, the target packet is to access the camera of the terminal device The corresponding multiple data packets of a frame image of the terminal device are transferred to by merging the data packet formed after compression;
The target packet is decompressed, and the target packet after decompression is split into multiple data packets;
The multiple data packet is redirected to the virtual desktop in VDI system.
Optionally, the target packet is decompressed, and the target packet after decompression is split into multiple data packets, is had Body includes:
The target packet is decompressed, a frame image data is obtained;
According to preset protocol, a frame image data is split as multiple images data, and be described multiple images number According to each of image data construction control information;
For an image data in described multiple images data, by one image data and one image The corresponding control information of data is combined into a data packet with specific format, and described multiple images data are combined into multiple altogether Data packet, wherein the specific format is the format that the virtual desktop can identify.
Optionally, before the acquisition terminal device transmission data packet, which comprises
Obtain the instruction information for the camera access that the terminal device is sent;
Based on the instruction information, the instruction of image data into the reading camera that the terminal device is sent.
The third aspect, the embodiment of the invention provides a kind of terminal devices for the transmission of camera data, comprising:
First obtains unit, for obtaining multiple data packets of camera transmission, the multiple data packet is one frame of composition The data packet of image;
Compression unit, for a target packet will to be formed after the compression of the multiple packet combining;
Transmission unit, for the target packet to be sent to server, so that the server is by the target Data packet is redirected to the virtual desktop in the server virtual desktop architecture VDI system.
Optionally, the compression unit, is also used to:
The multiple data packet is parsed, the image data that each data packet includes in the multiple data packet is obtained;
According to the image data of acquisition, a frame image of synthesis;
Using a frame image of default compress mode compression synthesis, a target packet is formed.
Optionally, the sum of the multiple data packet before the file size of the target packet is compressed less than merging, and Or the picture quality after the target packet reduction is not less than established standards.
Optionally, the first obtains unit, is also used to:
The instruction information that the camera accesses is sent to the server;
Obtain the instruction of the image data in the reading camera of the server based on the instruction information feedback;
The instruction obtained is sent to the camera.
Optionally, the transmission unit, is also used to:
The target packet is sent to server, so that the server decompresses the target packet, And the target packet after decompression is split into multiple data packets, to redirecting the multiple data packet in VDI system Virtual desktop.
Fourth aspect, the embodiment of the invention provides one kind to be used for camera data transfer server, comprising:
Second obtaining unit, for obtaining the target packet of terminal device transmission, the data packet is to access the end The thecamera head of end equipment is closed to the corresponding multiple data packets of a frame image of the terminal device by the terminal device And the data packet formed after compressing;
Decompression units split into multiple data for decompressing the target packet, and by the target packet after decompression Packet;
Unit is redirected, for redirecting the multiple data packet to the virtual desktop in VDI system.
Optionally, the decompression units, are also used to:
The target packet is decompressed, a frame image data is obtained;
According to preset protocol, a frame image data is split as multiple images data, and be described multiple images number According to each of image data construction control information;
For an image data in described multiple images data, by one image data and one image The corresponding control information of data is combined into a data packet with specific format, and described multiple images data are combined into multiple altogether Data packet, wherein the specific format is the format that the virtual desktop can identify.
Optionally, second obtaining unit, is also used to:
Obtain the instruction information for the camera access that the terminal device is sent;
Based on the instruction information, the instruction of image into the reading camera that the terminal device is sent.
5th aspect, the embodiment of the invention provides a kind of camera data transmission systems, comprising:
At least one terminal device as described in the third aspect;And
At least one server as described in fourth aspect.
6th aspect, the embodiment of the invention provides a kind of information processing units, including at least one processor, Yi Jizhi A few memory, wherein the memory is stored with computer program, when described program is executed by the processor, makes Obtain the step of processor executes method as described in relation to the first aspect.
7th aspect, the embodiment of the invention provides a kind of storage medium, the storage medium is stored with computer instruction, When the computer instruction is run on computers, so that the step of computer executes method as described in relation to the first aspect.
The transmission method of camera data in VDI system provided in an embodiment of the present invention can obtain camera transmission In multiple process data packets, wherein multiple data packets be form a frame image data packet, then, then by multiple data packets into Row, which merges, is compressed into a target packet, to reduce the image data file size of transmission, finally, compression is formed a mesh Mark data packet is sent to server, so that server, which redirects a target packet of formation, gives server void VDI system Virtual desktop in system, thus it is possible to realize the expense of transmission bandwidth when reducing transmission camera data in VDI system.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, embodiment will be described below Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment.
Fig. 1 is a kind of VDI system framework schematic diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of application scenarios schematic diagram provided in an embodiment of the present invention;
Fig. 3 is the transmission method flow chart of camera data in a kind of VDI system provided in an embodiment of the present invention;
Fig. 4 is that camera data transmit schematic diagram in VDI system provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram of caching camera data provided in an embodiment of the present invention;
Fig. 6 is the transmission method flow chart of camera data in another kind VDI system provided in an embodiment of the present invention;
Fig. 7 is decompression provided in an embodiment of the present invention and the schematic diagram for splitting camera data.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical solution of the present invention is clearly and completely described, it is clear that described embodiment is skill of the present invention A part of the embodiment of art scheme, instead of all the embodiments.Based on the embodiment recorded in present specification, this field is general Logical technical staff every other embodiment obtained without creative efforts, belongs to the technology of the present invention side The range of case protection.
The part noun in this hair embodiment, being related to is introduced below.
UVC: full name is USB Video Class or USB Video Device Class, be Microsoft with it is other several Family device manufacturer combines that release be consensus standard that USB video capture device defines, have become at present USB ORG standard it One.A variety of data interaction formats are defined in UVC agreement, the USB camera of mainstream supports YUV and MJPEG lattice on the market at present The image of formula exports.
Yuv format: for bitmap format, data volume is big, and current most USB camera is using yuv format, each Pixel accounts for 2 bytes, and by taking 30 frames/s 640x480 resolution ratio as an example, the data volume of each second is exactly 640x480x2x30= 18432000 bytes, are approximately equal to 17MB.
Redirect: i.e. Redirect, be exactly a various network requests again fixed a direction are gone to by various methods it is other Position, such as: the variation of webpage redirection, the redirection of domain name, Route Selection is also to data message via a kind of heavy of path Orientation.
In the prior art, the frame of VDI system as shown in Figure 1, including long-range server with high performance, at this On server, multiple virtual desktops can be run, terminal passes through network connection to server, then, user passes through terminal and visits Ask that remote desktop is like the locally-installed desktop of access.Since in VDI system, main computation burden is long-range Server on, so the computation burden that terminal undertakes is small, can be used compared with cheap and low computing capability equipment, and can be by end The referred to as thin terminal in end.Thin terminal can request access to virtual desktop to server, and in VDI system, administrator can pass through clothes The WEB configuration module being engaged on device, easily operates virtual desktop, such as increase virtual desktop, delete virtual desktop etc..
The desktop ring for easily disposing a team, even one company is had the advantage that compared to traditional PC, VDI Border, one desktop of creation and deletion only need several seconds;By high performance server, multiple desktops can be fictionalized;By In terminal, cost is relatively low, has shared the cost of server, then can reach the price more less expensive than traditional computer;Data set In be stored on server, leaking for confidential data etc. can be prevented.
In VDI system, it usually needs redirect the external USB camera in access local terminal, such as from the camera Image data is obtained, the image data for the camera for then needing will acquire is sent to the operating system of remote server, because This, in VDI system, how transmission camera data, with reduce transmission bandwidth expense and one need the technology that solves Problem.
For this purpose, the embodiment of the invention provides a kind of transmission method of camera data in VDI system, this method can be It obtains in multiple process data packets that camera is sent, which is then buffered in caching by one data packet of every acquisition In region, until by multiple data pack buffers in buffer zone, wherein multiple data packets be form a frame image data Packet, then, then by buffer area caching multiple data packets in image data merge, so as to use preset compress mode Image Data Compression after merging is formed into a target packet, reduces the image data file size of transmission, finally, will pressure Contracting formed a target packet be sent to server so that server by a target packet of formation redirect to Virtual desktop in server void VDI system, thus it is possible to realize transmission when reducing transmission camera data in VDI system The expense of bandwidth.
The transmission method of camera data can be applied to as shown in Figure 2 answer in VDI system in the embodiment of the present invention It include terminal device 10, the USB camera 11 in external devices 10 and server 12 in the application scenarios with scene, Wherein, terminal device can run to be any according to program, automatic, high speed processing mass data intelligent electronic device, Such terminal device such as computer, ipad, mobile phone etc..Server 12 can be a server, be also possible to several services The server cluster or cloud computing center of device composition.
It is respectively arranged with redirection module in terminal device 10 and server 12, the operating system in server 12 is provided with By network connection, network can be local area network, wide area network or mobile Internet for virtual desktop, terminal device 10 and server 12 Wait any one in communication networks.In this scenario, when needing to transmit USB camera between terminal device 10 and server 12 When the image data of 11 transmissions, the camera data in method transmission VDI system that can be provided according to embodiments of the present invention, with Reduce the expense of data outflow bandwidth.
It should be noted that application scenarios mentioned above are merely for convenience of understanding spirit and principles of the present invention and showing Out, the embodiment of the present invention is unrestricted in this regard.On the contrary, the embodiment of the present invention can be applied to applicable any field Scape.
Below with reference to application scenarios shown in Fig. 2, the camera data in VDI system provided in an embodiment of the present invention are passed Transmission method is illustrated.
Referring to FIG. 3, being the transmission method of camera data in a kind of VDI system provided in an embodiment of the present invention, comprising:
Step 101: the instruction information of camera access terminal equipment is sent to server.
In embodiments of the present invention, camera is the external physical USB camera (hereinafter referred camera) of terminal device, When in camera insertion terminal device, the message that camera is inserted into terminal device can be sent to long-range service by terminal device Device, the message are the instruction information in step 101, and server after such a message has been received, passes through the USB weight in server Orientation module fictionalizes an identical USB camera and simulates insertion signal, and the virtual desktop in server can capture this Virtual signal.
Step 102: obtaining the instruction of reading image data in camera of the server based on instruction information feedback.
In embodiments of the present invention, virtual desktop can to fictionalize come USB camera be read out fictionalize come The operation of the image data of USB camera, i.e., the USB redirection module on server, can receive in virtual desktop to equipment Reading instruction, and the reading instruction is redirected to the instruction of the image data for USB camera external in reading terminal equipment, so Afterwards, which is transmitted to terminal device by network by the USB redirection module on server.So that terminal device passes through Its USB redirection module being arranged receives the instruction of the image data of the reading USB camera of server transmission.
Step 103: the instruction obtained is sent to camera.
In embodiments of the present invention, the image data of camera belongs to flow data, wherein flow data refer to one group sequence, Largely, the data sequence rapidly, continuously reached, in VDI, server end usually only needs to send a reading instruction, Ye Ji In above-mentioned 102, terminal device usually would only receive one and obtain the external camera of reading terminal equipment that server is sent In image data instruction, then, terminal device can be according to the instruction received, and constantly construction is read in camera The instruction of image data, and the reading of lasting construction instruction is sent to camera.
Step 104: obtaining multiple data packets that camera is sent, wherein multiple data packets are the number for forming a frame image According to packet.
It is referred to incorporated by reference to Fig. 4, in embodiments of the present invention, the image data of camera is the picture number of yuv format According to a frame image can be divided into multiple data packets, example before the data of a frame image are sent to terminal device by camera Such as, a frame image is divided into N+1 data packet, respectively data packet 1 to data packet N+1, data packet 1 to data packet N+1 in Fig. 4 In each data packet just contain a part of region in the image of this frame yuv format, for example including in this frame image Then multiple data packets are successively sent to terminal device by a line or multirow.
In embodiments of the present invention, in order to reduce the transmission bandwidth expense of the image data in camera, camera according to It is secondary when multiple data packets are sent to terminal device, as soon as terminal device often receives the data packet of camera transmission, by it It is buffered in cache unit, until multiple data packets of a frame image are stored entirely in cache unit.
In practical applications, after a frame image is divided into multiple data packets by camera, each data packet is by two parts It constitutes, a part is packet header, contains the information of this data packet;Another part is data portion, the data of each data packet It is exactly a part in piece image, hereinafter referred image data.
Therefore, in embodiments of the present invention, terminal device can also be in every number obtained in the multiple data packet According to packet, then parse one data, obtain a data include in image data, and by described image data buffer storage slow In memory cell, until in the multiple data packets that will be obtained multiple images data buffer storage in cache unit.
I.e. after the data packet that terminal device often receives camera transmission, first the data packet is parsed, To from the data include in get image data, then, which is sequentially stored in cache unit, so Afterwards, when obtaining next data packet, then next data packet is parsed, obtains image from next data packet Data, and then by the image data successively memory buffers unit, until the multiple data for the frame image that will be sequentially received All image datas in packet are stored in cache unit.
Such as shown in Fig. 5, when receiving data packet 1, after parsing to data packet 1, the image in data packet 1 is obtained Data, and then the image data in data packet 1 is stored in buffer zone, then, when receiving data packet 2, to data After packet 2 is parsed, the image data in data packet 2 is obtained, and the image data in data packet 2 is stored in buffer zone In, it scurries out until by the image data in data packet N+1 in buffer zone.
Step 105: forming a target packet after the multiple data packet is merged compression.
In embodiments of the present invention, camera to be sent to all image datas in multiple data packets, to be stored in caching single After in member, terminal device can first merge the multiple images data of buffer area caching, and then be spliced into the complete image of a frame, Then, it is compressed using preset method for compressing image to the complete image of a frame is spliced into, forms a compressed mesh Mark data packet.
Wherein, preset method for compressing image can be JPEG (Joint Photographic Experts GROUP be A kind of international digital Standard of image compression) compression method, can also be HEVC, (High Efficiency Video Coding is Video encoding standard of new generation after H.264) compression method, it can also be the compression method of extended formatting certainly, Here, being just not listed one by one.
In embodiments of the present invention, it is compressed using preset method for compressing image to the complete image of a frame is spliced into Afterwards, the file size of a target packet of formation much smaller than merge compression before the corresponding multiple data packets of a frame image it With, and the picture quality after the reduction of compressed target packet is not less than established standards.
Step 106: terminal device will merge compressed target packet and be sent to server.
In embodiments of the present invention, terminal device carries out the image data in the corresponding multiple data packets of a frame image Merging is compressed into after a target packet, which can be transferred in the redirection module of terminal device, Then, target packet is sent by server by the redirection module of terminal device, so that server passes through in server Redirection module receives the target packet of terminal device transmission.
So by the above method, in obtaining multiple process data packets that camera is sent, one data of every acquisition Packet, then a data packet is buffered in buffer zone, until by multiple data pack buffers in buffer zone, wherein it is more A data packet be form a frame image data packet, then, then by buffer area caching multiple data packets in image data into Row merges, so that the Image Data Compression after merging is formed a target packet using preset compress mode, reduces and passes Defeated image data file size, finally, the target packet that compression is formed is sent to server, so that server One target packet of formation is redirected to the virtual desktop in server VDI system, thus it is possible to which realizing reduces VDI The expense of transmission bandwidth in system when transmission camera data.
In the embodiment of the present invention, server can also be performed shown in Fig. 6 after the data packet for receiving terminal device transmission The step of:
Step 201: after server obtains the target packet that terminal device is sent, decompressing the target packet, and will Target packet after decompression splits into multiple data packets;
Step 202: the multiple data packet is redirected to the virtual desktop in VDI system.
In embodiments of the present invention, it is just that terminal is set in above-mentioned steps 106 that server, which obtains target packet, in step 201 The compressed target data of the merging that preparation is sent, in step 201: decompressing the target packet, and by the number of targets after decompression Multiple data packets are split into according to packet, can specifically be executed by following below scheme:
Step A: decompressing the target packet, obtains a frame image data;
Step B: according to preset protocol, a frame image data is split as multiple images data, and be the multiple Each of image data image data construction control information;
Step C: for an image data in described multiple images data, by one image data and described one The corresponding control information of a image data is combined into a data packet with specific format, and described multiple images data combine altogether At the multiple data packet.
Wherein, specific format is the format that virtual desktop can identify, in embodiments of the present invention, specific format is camera shooting The yuv format used when head outflow image data.
In embodiments of the present invention, server, can be first to mesh after obtaining the target packet that terminal device is sent Mark data packet unzips it, that is, decompresses, and then be reduced into a frame image data of yuv format, then, by the frame after reduction One frame image data is split into multiple images data according to preset protocol, that is, UVC agreement by image data, then, further according to UVC agreement is each data packet construction control information in multiple data packets after splitting.
And then for each image data in multiple images data, by the corresponding control information group of the image data A data packet with yuv format is synthesized, is combined into multiple data packets altogether, multiple data packet is transferred to camera device Multiple data packets of terminal device are similar.
Such as shown in Fig. 7, server carries out decompression reduction to it after obtaining the target packet that terminal device is sent At a frame image data of yuv format, (subpackage in Fig. 7) then will be split into 10 image datas, only depicts number in Fig. 7 It is each image data construction control information in this 10 image datas then according to UVC agreement according to packet 1 and data packet 2, It is this assuming that this 10 image datas are referred to as image data 1, image data 2, image data 3 ... image data 10 10 image datas construct control information respectively and control information 10 for control information 1, control information 2, control information 3 ..., that , the data packet 1 of yuv format is formed by image data 1 and control information 1, YUV lattice are formed by image data 2 and control information 2 The data packet 2 of formula forms the data packet 3 ... of yuv format by image data 10 and control by image data 3 and control information 3 The data packet 10 of the composition yuv format of information 10.
Server the target packet for sending the terminal device received according to the method described above, decompress and split into tool After having multiple data packets of specific format, so that it may execute step 202: the multiple data packet is redirected to virtual table Face is redirected to the virtual desktop in server, and then complete that is, by this multiple data packet by the redirection module in server At the transmission of camera image data.
Based on the same inventive concept, provided in the embodiment of the present invention it is a kind of for camera data transmission terminal set Standby, the specific implementation of the camera data transmission method of the terminal device can be found in the description of above method embodiment part, weight Multiple place repeats no more, which includes:
First obtains unit, for obtaining the multiple data packet of multiple data packets of camera transmission as one frame figure of composition The data packet of picture;
Compression unit, for a target packet will to be formed after the compression of the multiple packet combining;
Transmission unit, for the target packet to be sent to server, so that the server is by the target Data packet is redirected to the virtual desktop in the server virtual desktop architecture VDI system.
The compression unit, is also used to:
The multiple data packet is parsed, the image data that each data packet includes in the multiple data packet is obtained;
According to the image data of acquisition, a frame image is synthesized;
Using a frame image of default compress mode compression synthesis, a target packet is formed.
Optionally, the sum of the multiple data packet before the file size of the target packet is compressed less than merging, and Or the picture quality after the target packet reduction is not less than established standards.
Optionally, the first obtains unit, is also used to:
The instruction information that the camera accesses is sent to the server;
Obtain the instruction of the image data in the reading camera of the server based on the instruction information feedback;
The instruction obtained is sent to the camera.
Optionally, described that the target packet is sent to server, so that the server is by the number of targets It redirects according to packet to the virtual desktop in the server virtual desktop architecture VDI system, specifically:
The target packet is sent to server, so that the server decompresses the target packet, And the target packet after decompression is split into multiple data packets, to redirecting the multiple data packet in VDI system Virtual desktop.
Based on the same inventive concept, a kind of server for the transmission of camera data is provided in the embodiment of the present invention, The specific implementation of the camera data transmission method of the server can be found in the description of above method embodiment part, repeat place It repeats no more, which includes:
Second obtaining unit, for obtaining the target packet of terminal device transmission, the target packet is access institute The thecamera head for stating terminal device is set to the corresponding multiple data packets of a frame image of the terminal device by the terminal It is standby to merge the data packet formed after compression;
Decompression units split into multiple data for decompressing the target packet, and by the target packet after decompression Packet;
Unit is redirected, for redirecting the multiple data packet to the virtual desktop in VDI system.
Optionally, the decompression units, are also used to:
The target packet is decompressed, a frame image data is obtained;
According to preset protocol, a frame image data is split as multiple images data, and be described multiple images number According to each of image data construction control information;
For an image data in described multiple images data, by one image data and one image The corresponding control information of data is combined into a data packet with specific format, is combined into multiple data packets altogether, wherein described Specific format is the format that the virtual desktop can identify.
Optionally, second obtaining unit, is also used to:
Obtain the instruction information for the camera access that the terminal device is sent;
Based on the instruction information, the instruction of image into the reading camera that the terminal device is sent.
Based on the same inventive concept, a kind of camera data transmission system is provided in the embodiment of the present invention, in the system In include the terminal device and server for carrying out the transmission of camera data, wherein terminal device and server carry out camera number It can be found in the description of above method embodiment part according to the specific implementation of transmission, overlaps will not be repeated.
Based on the same inventive concept, a kind of information processing unit is provided in the embodiment of the present invention, including at least one Manage device and at least one processor, wherein the memory is stored with computer program, when described program is by the processing When device executes, so that the step of processor executes the transmission method of camera data in a kind of VDI system as described above.
Based on the same inventive concept, a kind of storage medium is provided in the embodiment of the present invention, the storage medium is stored with Computer instruction, when the computer instruction is run on computers, so that computer executes a kind of VDI system as described above In system the step of the transmission method of camera data.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (15)

1. the transmission method of camera data in a kind of VDI system characterized by comprising
Multiple data packets that camera is sent are obtained, the multiple data packet is to form the data packet of a frame image;
A target packet is formed after the multiple data packet is merged compression;
The target packet is sent to server, so that the server redirects the target packet to described Virtual desktop in server virtual desktop architecture VDI system.
2. the method as described in claim 1, which is characterized in that it is described by the multiple data packet merge compression after formed One target packet, specifically includes:
The multiple data packet is parsed, the image data that each data packet includes in the multiple data packet is obtained;
According to the image data of acquisition, a frame image is synthesized;
Using a frame image of default compress mode compression synthesis, a target packet is formed.
3. the method as described in claim 1, which is characterized in that before the file size of the target packet is less than merging compression The sum of the multiple data packet, and or target packet reduction after picture quality be not less than established standards.
4. method as claimed in claim 3, which is characterized in that before the multiple data packets for obtaining camera transmission, institute State method further include:
The instruction information that the camera accesses is sent to the server;
Obtain the instruction of the image data in the reading camera of the server based on the instruction information feedback;
The instruction obtained is sent to the camera.
5. method according to any of claims 1-4, which is characterized in that described that the target packet is sent to service Device, so that the server redirects the target packet to the server virtual desktop architecture VDI system In virtual desktop, specifically:
The target packet is sent to server, so that the server decompresses the target packet, and will Target packet after decompression splits into multiple data packets, to redirecting the multiple data packet to the void in VDI system Quasi- desktop.
6. the transmission method of camera data in a kind of VDI system characterized by comprising
The target packet that terminal device is sent is obtained, the target packet is to access the thecamera head of the terminal device One formed after being compressed to the corresponding multiple data packets of a frame image of the terminal device by terminal device merging Data packet;
The target packet is decompressed, and the target packet after decompression is split into multiple data packets;
The multiple data packet is redirected to the virtual desktop in VDI system.
7. method as claimed in claim 6, which is characterized in that the decompression target packet, and by the mesh after decompression Mark data packet splits into multiple data packets, specifically includes:
The target packet is decompressed, a frame image data is obtained;
According to preset protocol, a frame image data is split as multiple images data, and in described multiple images data Each image data construction control information;
For an image data in described multiple images data, by one image data and one image data Corresponding control information is combined into a data packet with specific format, and described multiple images data are combined into multiple data altogether Packet, wherein the specific format is the format that the virtual desktop can identify.
8. method according to claim 6 or 7, which is characterized in that it is described obtain terminal device send target packet it Before, which comprises
Obtain the instruction information for the camera access that the terminal device is sent;
Based on the instruction information, the instruction for reading image data in the camera is sent to the terminal device.
9. a kind of terminal device for the transmission of camera data characterized by comprising
First obtains unit, for obtaining multiple data packets of camera transmission, the multiple data packet is one frame image of composition Data packet;
Compression unit, for a target packet will to be formed after the compression of the multiple packet combining;
Transmission unit, for the target packet to be sent to server, so that the server is by the target data Packet is redirected to the virtual desktop in the server virtual desktop architecture VDI system.
10. terminal device as claimed in claim 9, which is characterized in that the compression unit is also used to:
The multiple data packet is parsed, the image data that each data packet includes in the multiple data packet is obtained;
According to the image data of acquisition, a frame image is synthesized;
Using a frame image of default compress mode compression synthesis, a target packet is formed.
11. a kind of server for the transmission of camera data characterized by comprising
Second obtaining unit, for obtaining the target packet of terminal device transmission, the data packet is to access the terminal to set Standby thecamera head merges pressure by the terminal device to the corresponding multiple data packets of a frame image of the terminal device The data packet formed after contracting;
Decompression units split into multiple data packets for decompressing the target packet, and by the target packet after decompression;
Unit is redirected, for redirecting the multiple data packet to the virtual desktop in VDI system.
12. server as claimed in claim 11, which is characterized in that the decompression units are also used to:
The target packet is decompressed, a frame image data is obtained;
According to preset protocol, a frame image data is split as multiple images data, and in described multiple images data Each image data construction control information;
For an image data in described multiple images data, by one image data and one image data Corresponding control information is combined into a data packet with specific format, and described multiple images data are combined into multiple data altogether Packet, wherein the specific format is the format that the virtual desktop can identify.
13. a kind of camera data transmission system characterized by comprising
At least one terminal device as described in claim 9 or 10;And
At least one server as described in claim 11 or 12.
14. a kind of information processing unit, which is characterized in that including at least one processor and at least one processor, In, the memory is stored with computer program, when described program is executed by the processor, so that the processor executes The step of any one of claim 1~8 the method.
15. a kind of storage medium, which is characterized in that the storage medium is stored with computer instruction, when the computer instruction When running on computers, so that the step of computer executes the method according to claim 1.
CN201811023333.0A 2018-09-03 2018-09-03 Camera data transmission method, device and system and storage medium Active CN109040786B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811023333.0A CN109040786B (en) 2018-09-03 2018-09-03 Camera data transmission method, device and system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811023333.0A CN109040786B (en) 2018-09-03 2018-09-03 Camera data transmission method, device and system and storage medium

Publications (2)

Publication Number Publication Date
CN109040786A true CN109040786A (en) 2018-12-18
CN109040786B CN109040786B (en) 2022-01-11

Family

ID=64623064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811023333.0A Active CN109040786B (en) 2018-09-03 2018-09-03 Camera data transmission method, device and system and storage medium

Country Status (1)

Country Link
CN (1) CN109040786B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587085A (en) * 2018-12-29 2019-04-05 深圳市网心科技有限公司 A kind of data transmission method and its relevant device
CN109639826A (en) * 2019-01-04 2019-04-16 厦门中控智慧信息技术有限公司 A kind of data transmission method, terminal device and server
CN113961499A (en) * 2020-12-18 2022-01-21 深圳市度申科技有限公司 GIGE vision data transmission method, acquisition card and system
CN114040017A (en) * 2021-11-08 2022-02-11 麒麟软件有限公司 Remote desktop server camera relocation system and method for Android system
CN115065868A (en) * 2022-04-12 2022-09-16 北京字节跳动网络技术有限公司 Image processing method, apparatus, device, system and medium
CN116405733A (en) * 2023-06-08 2023-07-07 新华三技术有限公司 Data transmission method and electronic equipment

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101634677A (en) * 2008-07-24 2010-01-27 芯原股份有限公司 Digital instrument based on UVC transmission protocol and use method thereof
CN101635844A (en) * 2008-07-23 2010-01-27 比亚迪股份有限公司 Image data transmission method and device
CN103533034A (en) * 2013-09-28 2014-01-22 福建星网锐捷软件有限公司 Method for seamlessly using cloud terminal local camera in VDI (Virtual Device Interface) virtual desktop
CN104123244A (en) * 2013-04-25 2014-10-29 鸿富锦精密工业(深圳)有限公司 USB redirection system and method
US20150058853A1 (en) * 2009-12-02 2015-02-26 Vmware, Inc. Central switch for coupling virtual desktops to peripheral devices
CN104639501A (en) * 2013-11-07 2015-05-20 华为技术有限公司 Data stream transmission method, equipment and system
CN105207975A (en) * 2014-06-20 2015-12-30 北京云端时代科技有限公司 Data transmission method and data transmission system for USB image equipment under VDI architecture
CN106027882A (en) * 2016-05-16 2016-10-12 深圳市青葡萄科技有限公司 Redirection method for camera arranged in virtual environment
CN106101548A (en) * 2016-07-08 2016-11-09 北京国电通网络技术有限公司 A kind of method and apparatus of cloud terminal processes camera video data
CN106161541A (en) * 2015-04-10 2016-11-23 中兴通讯股份有限公司 Data transmission method, device and system
CN106375233A (en) * 2015-11-09 2017-02-01 北京智谷技术服务有限公司 Data transmission method and data transmission device
CN106851317A (en) * 2017-02-15 2017-06-13 福建时迅信息科技有限公司 A kind of method and system for improving view data transmission speed
CN107087169A (en) * 2017-03-22 2017-08-22 建荣半导体(深圳)有限公司 A kind of compression method, UVC video equipments and electronic equipment
CN107506232A (en) * 2017-09-26 2017-12-22 深信服科技股份有限公司 A kind of image acquisition method and system
CN107643936A (en) * 2017-10-26 2018-01-30 上海金途信息科技有限公司 A kind of image class peripheral data Redirectional system based on QEMU camera devices
CN108055595A (en) * 2017-12-26 2018-05-18 合肥中科云巢科技有限公司 Reorientation method, the computer readable storage medium of video image
CN108304247A (en) * 2017-12-19 2018-07-20 华为技术有限公司 The method and apparatus of access camera, server, readable storage medium storing program for executing
CN108319493A (en) * 2017-06-28 2018-07-24 新华三云计算技术有限公司 Data processing method, device and machine readable storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635844A (en) * 2008-07-23 2010-01-27 比亚迪股份有限公司 Image data transmission method and device
CN101634677A (en) * 2008-07-24 2010-01-27 芯原股份有限公司 Digital instrument based on UVC transmission protocol and use method thereof
US20150058853A1 (en) * 2009-12-02 2015-02-26 Vmware, Inc. Central switch for coupling virtual desktops to peripheral devices
CN104123244A (en) * 2013-04-25 2014-10-29 鸿富锦精密工业(深圳)有限公司 USB redirection system and method
CN103533034A (en) * 2013-09-28 2014-01-22 福建星网锐捷软件有限公司 Method for seamlessly using cloud terminal local camera in VDI (Virtual Device Interface) virtual desktop
CN104639501A (en) * 2013-11-07 2015-05-20 华为技术有限公司 Data stream transmission method, equipment and system
CN105207975A (en) * 2014-06-20 2015-12-30 北京云端时代科技有限公司 Data transmission method and data transmission system for USB image equipment under VDI architecture
CN106161541A (en) * 2015-04-10 2016-11-23 中兴通讯股份有限公司 Data transmission method, device and system
CN106375233A (en) * 2015-11-09 2017-02-01 北京智谷技术服务有限公司 Data transmission method and data transmission device
CN106027882A (en) * 2016-05-16 2016-10-12 深圳市青葡萄科技有限公司 Redirection method for camera arranged in virtual environment
CN106101548A (en) * 2016-07-08 2016-11-09 北京国电通网络技术有限公司 A kind of method and apparatus of cloud terminal processes camera video data
CN106851317A (en) * 2017-02-15 2017-06-13 福建时迅信息科技有限公司 A kind of method and system for improving view data transmission speed
CN107087169A (en) * 2017-03-22 2017-08-22 建荣半导体(深圳)有限公司 A kind of compression method, UVC video equipments and electronic equipment
CN108319493A (en) * 2017-06-28 2018-07-24 新华三云计算技术有限公司 Data processing method, device and machine readable storage medium
CN107506232A (en) * 2017-09-26 2017-12-22 深信服科技股份有限公司 A kind of image acquisition method and system
CN107643936A (en) * 2017-10-26 2018-01-30 上海金途信息科技有限公司 A kind of image class peripheral data Redirectional system based on QEMU camera devices
CN108304247A (en) * 2017-12-19 2018-07-20 华为技术有限公司 The method and apparatus of access camera, server, readable storage medium storing program for executing
CN108055595A (en) * 2017-12-26 2018-05-18 合肥中科云巢科技有限公司 Reorientation method, the computer readable storage medium of video image

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587085A (en) * 2018-12-29 2019-04-05 深圳市网心科技有限公司 A kind of data transmission method and its relevant device
CN109639826A (en) * 2019-01-04 2019-04-16 厦门中控智慧信息技术有限公司 A kind of data transmission method, terminal device and server
CN113961499A (en) * 2020-12-18 2022-01-21 深圳市度申科技有限公司 GIGE vision data transmission method, acquisition card and system
CN113961499B (en) * 2020-12-18 2024-04-26 深圳市度申科技有限公司 GIGE vision data transmission method, acquisition card and system
CN114040017A (en) * 2021-11-08 2022-02-11 麒麟软件有限公司 Remote desktop server camera relocation system and method for Android system
CN115065868A (en) * 2022-04-12 2022-09-16 北京字节跳动网络技术有限公司 Image processing method, apparatus, device, system and medium
CN116405733A (en) * 2023-06-08 2023-07-07 新华三技术有限公司 Data transmission method and electronic equipment
CN116405733B (en) * 2023-06-08 2023-09-19 新华三技术有限公司 Data transmission method and electronic equipment

Also Published As

Publication number Publication date
CN109040786B (en) 2022-01-11

Similar Documents

Publication Publication Date Title
CN109040786A (en) Transmission method, device, system and the storage medium of camera data
CN111399964A (en) Cloud desktop platform based on video streaming technology
WO2024061295A1 (en) Video data processing method and system
KR101942269B1 (en) Apparatus and method for playing back and seeking media in web browser
KR20040104515A (en) Method and apparatus for generating graphical and media displays at a client
Gül et al. Cloud rendering-based volumetric video streaming system for mixed reality services
CN106453572B (en) Method and system based on Cloud Server synchronous images
WO2022257699A1 (en) Image picture display method and apparatus, device, storage medium and program product
CN114980208B (en) End-to-end mobile Web 3D rendering calculation unloading method
US12008393B2 (en) Method for remotely accessing data of a USB device by a virtual machine
CN113986177A (en) Screen projection method, screen projection device, storage medium and electronic equipment
CN109246435A (en) A kind of USB device redirects data transmission method, data transmission device, local device and remote server
WO2024037137A1 (en) Data processing method and apparatus for immersive media, and device, medium and product
WO2023051138A1 (en) Immersive-media data processing method, apparatus, device, storage medium and program product
CN111327921A (en) Video data processing method and device
WO2024041239A1 (en) Data processing method and apparatus for immersive media, device, storage medium, and program product
KR20220149574A (en) 3D video processing method, apparatus, readable storage medium and electronic device
WO2023040825A1 (en) Media information transmission method, computing device and storage medium
CN112995134A (en) Three-dimensional video streaming media transmission method and visualization method
CN117676241A (en) Digital factory large scene display method and system based on server three-dimensional rendering
CN107318021B (en) Data processing method and system for remote display
CN110798700B (en) Video processing method, video processing device, storage medium and electronic equipment
EP3229478B1 (en) Cloud streaming service system, image cloud streaming service method using application code, and device therefor
CN111435995B (en) Method, device and system for generating dynamic picture
CN107318020B (en) Data processing method and system for remote display

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
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20181218

Assignee: Ruijie network (Suzhou) Co.,Ltd.

Assignor: RUIJIE NETWORKS Co.,Ltd.

Contract record no.: X2022350000027

Denomination of invention: Camera data transmission method, device, system and storage medium

Granted publication date: 20220111

License type: Common License

Record date: 20220817