CN108449600A - The transmission method and device of cinematic data - Google Patents

The transmission method and device of cinematic data Download PDF

Info

Publication number
CN108449600A
CN108449600A CN201810222736.1A CN201810222736A CN108449600A CN 108449600 A CN108449600 A CN 108449600A CN 201810222736 A CN201810222736 A CN 201810222736A CN 108449600 A CN108449600 A CN 108449600A
Authority
CN
China
Prior art keywords
data
transmission
sending terminal
data sending
period
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
CN201810222736.1A
Other languages
Chinese (zh)
Other versions
CN108449600B (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.)
Zhenjiang Vision Film & Television Co Ltd
Original Assignee
Zhenjiang Vision Film & Television 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 Zhenjiang Vision Film & Television Co Ltd filed Critical Zhenjiang Vision Film & Television Co Ltd
Priority to CN201810222736.1A priority Critical patent/CN108449600B/en
Publication of CN108449600A publication Critical patent/CN108449600A/en
Application granted granted Critical
Publication of CN108449600B publication Critical patent/CN108449600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/172Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • 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/4408Processing 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 video stream encryption, e.g. re-encrypting a decrypted video stream for redistribution in a home network

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention provides the transmission method of cinematic data and devices, are related to technical field of data transmission, wherein the transmission method of cinematic data includes:Cinematic data is denoted as key frame and normal frames by data sending terminal respectively according to the size of resolution ratio, and different codings, encryption and transmission etc. are carried out to it, and, the period of transmission is different, the tail portion of first period and the head of the second period overlap, data receiver is enable to get key frame and/or normal frames by sending different requests, and it is decrypted with corresponding key, packaging respectively, encryption and the transmission etc. to cinematic data are realized, to ensure that cinematic data in the transmission complete and effective.

Description

The transmission method and device of cinematic data
Technical field
The present invention relates to the transmission methods and device of technical field of data transmission more particularly to cinematic data.
Background technology
With the development of technology and the improvement of people ’ s living standards, various amusement and recreation activities also more and more appear in In the work and life of people.For example, traditional handicraft (for example, weaving, embroidery etc.) has all been changed to mechanical automation Production;Original manual operation is changeable to change computer control into;Original mobile phone for being only used for call has all been transformed into intelligence Mobile phone (can make a phone call send short messages etc. can also surf the Internet);Original black-and-white television all has changed into color TV, or even can pass through Touch screen is controlled and is shown.
In short, huge variation has occurred in the production and life of people.The especially development of motion picture technique can only be shown originally Show black-and-white image, and can only be shown on the screen of fixed size.And with the development of various technologies, film can not only form coloured silk Color image, additionally it is possible to be shown on various screens (for example, ball curtain, water curtain, giant screens etc.), be brought to the sense organ of people Completely new experience.
But increasing as film plays form, to the transmission of cinematic data, more stringent requirements are proposed.Current place Mostly it is to be exactly by cinematic data progress uniform transmission and projection, the consequence done so after the shooting for completing film during reason When film will be shown on different types of screen, it is difficult to exactly match, one is even will appear in transmission process The phenomenon that a little key frame loss, and then cinematic data is caused not show normally.
To sum up, it is difficult to keep complete and effective problem in transmission process about cinematic data at present, there is no effective solution Certainly method.
Invention content
In view of this, the transmission method and device for being designed to provide cinematic data of the embodiment of the present invention, pass through by Cinematic data is separately encoded and is transmitted, and then improves completeness and efficiency of the cinematic data in transmission process.
In a first aspect, an embodiment of the present invention provides the transmission methods of cinematic data, including:
Data sending terminal samples cinematic data to be transmitted according to preset time interval, obtains multiple transmission numbers According to frame;
The resolution ratio of multiple transmitting data frames is compared data sending terminal one by one with preset screen resolution;
When the resolution ratio of transmitting data frame is more than or equal to preset screen resolution, data sending terminal is by resolution ratio Half is reduced, and extracts transmitting data frame and is denoted as key frame, and key frame is stored in local;
When the resolution ratio of transmitting data frame is less than preset screen resolution, resolution ratio is reduced by one by data sending terminal Half, and transmitting data frame is denoted as normal frames, and normal frames are stored in local;
Data sending terminal is that key frame and normal frames establish playing time table according to preset time interval;
Data sending terminal encodes key frame using VC-1, obtains first coding data;
Data sending terminal, using H.263 encoding, obtains the second coded data to normal frames;
The first request channel, the second request channel and data transmission are established between data sending terminal and data receiver respectively Channel;
Data receiver sends out key frame to data sending terminal by the first request channel and obtains request and crucial key;
Data sending terminal receive key frame obtain request after create the first dynamic password, and, by the first dynamic password, Crucial key and playing time table are overlapped, and obtain first kind encryption information;
Data sending terminal is encrypted first coding data with first kind encryption information, and the first kind is encrypted and is believed Breath, which is added to as the first packet header in first coding data, forms the first transmission packet;
Data receiver sends out normal frames to data sending terminal by the second request channel and obtains request and common key;
Data sending terminal receive normal frames obtain request after create the second dynamic password, and, by the second dynamic password, Common key and playing time table are overlapped, and obtain the second class encryption information;
Data sending terminal is encrypted with second the second coded data of class encryption information pair, and the second class is encrypted and is believed Breath, which is added to as the second packet header in the second coded data, forms the second transmission packet;
Data receiver sends out key frame transmission request by the first request channel to data sending terminal;
Data receiver sends out normal frames transmission request by the second request channel to data sending terminal;
Data sending terminal is transmitted in the first period by the first transmission packet of data transmission channel pair, and data are sent End is transmitted in the second period by the second transmission packet of data transmission channel pair, wherein the tail portion of the first period and the The head of two periods overlaps.
With reference to first aspect, an embodiment of the present invention provides the first possible embodiments of first aspect, wherein number Cinematic data to be transmitted is sampled according to preset time interval according to transmitting terminal, obtains multiple transmitting data frames, including:
Data sending terminal obtains cinematic data to be transmitted, wherein cinematic data to be transmitted is continuous;
Data sending terminal obtains the broadcasting frequency of data receiver, and, the time is subjected to sampling acquisition according to broadcasting frequency Preset time interval;
Data sending terminal samples cinematic data to be transmitted according to preset time interval, obtains multiple transmission numbers According to frame, wherein transmitting data frame is discrete.
The possible embodiment of with reference to first aspect the first, an embodiment of the present invention provides second of first aspect Possible embodiment, wherein method further includes:
Data sending terminal pair carries out even parity check with the first packet header apart from nearest key frame, obtains the second secret value;
Data sending terminal pair carries out even parity check with the second packet header apart from nearest normal frames, obtains the first secret value;
First kind encryption information and the first secret value are weighted operation by data sending terminal;
Second class encryption information and the second secret value are weighted operation by data sending terminal.
Second of possible embodiment with reference to first aspect, an embodiment of the present invention provides the third of first aspect Possible embodiment, wherein data sending terminal is carried out in the first period by the first transmission packet of data transmission channel pair Transmission, data sending terminal are transmitted in the second period by the second transmission packet of data transmission channel pair, wherein when first The tail portion and the head of the second period of section overlap, including:
Data sending terminal divides time shaft according to the preset transmission period, obtains multiple transmission cycles;
Transmission cycle is divided into the first time period and the second time period by data sending terminal, wherein in current transmission period The tail portion of one period and the head of the second period overlap, the head of the first period in current transmission period and upper transmission week The tail portion of the second interim period overlaps, and the in the tail portion and next transmission cycle of the second period in current transmission period The head of one period overlaps;
First period of the data sending terminal in multiple transmission cycles passes through the first transmission packet of data transmission channel pair It is transmitted, and, the second period in transmission cycle is transmitted by the second transmission packet of data transmission channel pair.
The third possible embodiment with reference to first aspect, an embodiment of the present invention provides the 4th kind of first aspect Possible embodiment, wherein method further includes:
Data sending terminal is after receiving the first decoding request that data receiver is sent out by the first request channel, to number The first solution confidential information is sent according to receiving terminal, wherein the first solution confidential information is corresponding with first kind encryption information;
Data sending terminal is after receiving the second decoding request that data receiver is sent out by the second request channel, to number The second solution confidential information is sent according to receiving terminal, wherein the second solution confidential information is corresponding with the second class encryption information;
After data receiver obtains decryption with first solution the first transmission packet of confidential information pair the first decryption oprerations of progress The first cinematic data;
After data receiver obtains decryption with second solution the second transmission packet of confidential information pair the second decryption oprerations of progress The second cinematic data;
The resolution ratio of the first cinematic data after decryption is increased into half, by the resolution ratio of the second cinematic data after decryption Half is increased, and, the first cinematic data and the second cinematic data after resolution ratio is increased are integrated, and complete film is obtained Data.
The third possible embodiment with reference to first aspect, an embodiment of the present invention provides the 5th kind of first aspect Possible embodiment, wherein method further includes:
When data transmission channel blocks, the first transmission packet and second that data receiver detection receives pass Whether transmission of data packet there is packet loss;
When testing result be the first transmission packet there is packet loss when, data receiver occurs from packet loss it is upper one transmit The first transmission packet corresponding with the packet loss moment is transferred in period;
When testing result be the second transmission packet there is packet loss when, data receiver occurs from packet loss it is upper one transmit The second transmission packet corresponding with the packet loss moment is transferred in period.
The third possible embodiment with reference to first aspect, an embodiment of the present invention provides the 6th kind of first aspect Possible embodiment, wherein include the location information of data receiver in crucial key and common key.
Second aspect, an embodiment of the present invention provides the transmitting devices of cinematic data, including:
Sampling module samples cinematic data to be transmitted according to preset time interval for data sending terminal, Obtain multiple transmitting data frames;
Resolution ratio comparing module differentiates the resolution ratio of multiple transmitting data frames and preset picture for data sending terminal Rate is compared one by one;
Key-frame extraction module is more than or equal to preset screen resolution for the resolution ratio when transmitting data frame When, resolution ratio is reduced half by data sending terminal, and is extracted transmitting data frame and be denoted as key frame, and key frame is stored in this Ground;
Common frame extraction module, for when the resolution ratio of transmitting data frame is less than preset screen resolution, data to be sent out Resolution ratio is reduced half by sending end, and transmitting data frame is denoted as normal frames, and normal frames are stored in local;
Playing time table establishes module, is built for key frame and normal frames according to preset time interval for data sending terminal Vertical playing time table;
First coding module is encoded key frame using VC-1 for data sending terminal, obtains first coding data;
Second coding module obtains the second coded number to normal frames for data sending terminal using H.263 encoding According to;
Path setup module, for establishing the first request channel, second between data sending terminal and data receiver respectively Request channel and data transmission channel;
First request module sends out key frame to data sending terminal by the first request channel for data receiver and obtains Request and crucial key;
First password acquisition module, for data sending terminal, the first dynamic of establishment is close after receiving key frame and obtaining request Code, and, the first dynamic password, crucial key and playing time table are overlapped, first kind encryption information is obtained;
Place is encrypted to first coding data with first kind encryption information for data sending terminal in first encrypting module Reason, first kind encryption information is added to as the first packet header in first coding data and forms the first transmission packet;
Second request module sends out normal frames to data sending terminal by the second request channel for data receiver and obtains Request and common key;
Second password acquisition module, for data sending terminal, the second dynamic of establishment is close after receiving normal frames and obtaining request Code, and, the second dynamic password, common key and playing time table are overlapped, the second class encryption information is obtained;
Place is encrypted with second the second coded data of class encryption information pair for data sending terminal in second encrypting module Reason, the second class encryption information is added to as the second packet header in the second coded data and forms the second transmission packet;
First transmission request module, key frame is sent out for data receiver by the first request channel to data sending terminal Transmission request;
Second transmission request module, normal frames are sent out for data receiver by the second request channel to data sending terminal Transmission request;
Transmission module is carried out in the first period by the first transmission packet of data transmission channel pair for data sending terminal Transmission, data sending terminal is transmitted in the second period by the second transmission packet of data transmission channel pair, wherein for the The tail portion of one period and for the second period head overlap.
The third aspect, the embodiment of the present invention also provide a kind of terminal, including memory and processor, and memory is for depositing Storage supports processor to execute the program of the transmission method for the cinematic data that above-mentioned aspect provides, and processor is configurable for executing The program stored in memory.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, computer readable storage medium On be stored with computer program, when computer program is run by processor execute any of the above-described method the step of.
The transmission method and device of cinematic data provided in an embodiment of the present invention, wherein the transmission method of the cinematic data Including:Data sending terminal samples cinematic data to be transmitted according to preset time interval, obtains multiple transmission datas The resolution ratio of multiple transmitting data frames is compared one by one with preset screen resolution for frame, data sending terminal, when transmission number When being more than or equal to preset screen resolution according to the resolution ratio of frame, resolution ratio is reduced half by data sending terminal, and is extracted Transmitting data frame is denoted as key frame, and key frame is stored in local, when the resolution ratio of transmitting data frame is less than preset picture When resolution ratio, resolution ratio is reduced half by data sending terminal, and transmitting data frame is denoted as normal frames, and normal frames are stored in Local, data sending terminal is that key frame and normal frames establish playing time table, data sending terminal pair according to preset time interval Key frame is encoded using VC-1, obtains first coding data, and data sending terminal uses normal frames and H.263 encodes, The second coded data is obtained, establishes the first request channel, the second request channel between data sending terminal and data receiver respectively And data transmission channel, data receiver send out key frame to data sending terminal by the first request channel and obtain request and key Key, data sending terminal create the first dynamic password after receiving key frame and obtaining request, and, by the first dynamic password, close Key-encrypting key and playing time table are overlapped, and obtain first kind encryption information, and data sending terminal uses first kind encryption information pair First coding data is encrypted, and first kind encryption information is added to as the first packet header in first coding data and is formed First transmission packet, data receiver send out normal frames to data sending terminal by the second request channel and obtain request and common Key, data sending terminal create the second dynamic password after receiving normal frames and obtaining request, also, by the second dynamic password, Common key and playing time table are overlapped, and obtain the second class encryption information, and data sending terminal uses the second class encryption information Second coded data is encrypted, is added to group in the second coded data using the second class encryption information as the second packet header At the second transmission packet, data receiver sends out key frame transmission request, number by the first request channel to data sending terminal Normal frames transmission request is sent out to data sending terminal by the second request channel according to receiving terminal, data sending terminal is logical in the first period It crosses the first transmission packet of data transmission channel pair to be transmitted, data sending terminal passes through data transmission channel pair in the second period Second transmission packet is transmitted, wherein the tail portion of the first period and the head of the second period overlap, by by cinematic data It is separately encoded and is transmitted according to the difference of resolution ratio, realize effective transmission to the cinematic data after packaging, meanwhile, It ensure that the integrality of cinematic data.
Other features and advantages of the present invention will illustrate in the following description, and partly become aobvious from specification And be clear to, or understand through the implementation of the invention.The purpose of the present invention and other advantages specification, claims and Specifically noted structure is realized and is obtained in attached drawing.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in being described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, other drawings may also be obtained based on these drawings.
Fig. 1 shows the first pass figure of the transmission method for the cinematic data that the embodiment of the present invention is provided;
The second flow chart of the transmission method of the cinematic data provided Fig. 2 shows the embodiment of the present invention;
Fig. 3 shows the third flow chart of the transmission method for the cinematic data that the embodiment of the present invention is provided;
Fig. 4 shows the structure connection figure of the transmitting device for the cinematic data that the embodiment of the present invention is provided.
Icon:1- sampling modules;2- resolution ratio comparing modules;3- key-frame extraction modules;The common frame extraction modules of 4-;5- Playing time table establishes module;The first coding modules of 6-;The second coding modules of 7-;8- path setup modules;9- first asks modulus Block;10- first password acquisition modules;The first encrypting modules of 11-;The second request modules of 12-;13- the second password acquisition modules; The second encrypting modules of 14-;15- first transmits request module;16- second transmits request module;17- transmission modules.
Specific implementation mode
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below Range, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doing The every other embodiment obtained under the premise of going out creative work, shall fall within the protection scope of the present invention.
Currently, the broadcasting form of film is varied, for example, ball curtain, water curtain, giant screens etc..Various film plays Also to the transmission of cinematic data, more stringent requirements are proposed for form.Mostly it is that will clap in the transmission process of existing cinematic data The cinematic data for taking the photograph completion carries out uniform transmission, and still, cinematic data inevitably will appear in transmission process due to various reasons Packet loss phenomenon, in this way, when film will play out, especially cinematic data will be shown on different types of screen When, it is difficult to ensure the integrality of cinematic data, it is more difficult to accomplish that cinematic data and different screen exactly match, even transmit It will appear the phenomenon that cinematic data is stolen by other websites in the process, and then cinematic data caused not show normally.
Based on this, an embodiment of the present invention provides the transmission method of cinematic data and devices, are carried out below by embodiment Description.
Embodiment 1
Referring to Fig. 1, Fig. 2 and Fig. 3, the transmission method for the cinematic data that the present embodiment proposes specifically includes following steps:
Step S101:Data sending terminal samples cinematic data to be transmitted according to preset time interval, obtains Multiple transmitting data frames, in implementation process, general cinematic data to be transmitted is all bigger, and specific length needs basis The shooting duration of video of film is related with resolution ratio for shooting.Cinematic data to be transmitted is divided into multiple transmitting data frames, be for Adapt to the needs of transmission bandwidth.
Step S102:Data sending terminal carries out the resolution ratio of multiple transmitting data frames with preset screen resolution one by one Compare, in the present embodiment, in order to which multiple transmitting data frames are carried out classification transmission, by the resolution ratio of multiple transmitting data frames with Preset screen resolution is compared one by one.
Step S103:When the resolution ratio of transmitting data frame is more than or equal to preset screen resolution, data are sent Resolution ratio is reduced half by end, and is extracted transmitting data frame and be denoted as key frame, and key frame is stored in local, i.e., in this implementation In example, the resolution ratio of key frame is larger, accordingly it includes image content it is also relatively abundant.It needs exist for illustrating It is that preset screen resolution needs are flexibly set according to specific usage scenario, it is extracted being transmitted data frame Before, resolution ratio is reduced into half, can be that data transmission reduces pressure, to accelerate the transmission speed of key frame.
Step S104:When the resolution ratio of transmitting data frame is less than preset screen resolution, data sending terminal will be differentiated Rate reduces half, and transmitting data frame is denoted as normal frames, and normal frames are stored in local, i.e., in the present embodiment, will divide The smaller transmitting data frame of resolution is denoted as normal frames.Before being transmitted data frame extraction, resolution ratio is reduced into half, it can Reduce pressure for data transmission, to accelerate the transmission speed of normal frames.
Step S105:Data sending terminal is that key frame and normal frames establish playing time table according to preset time interval, Since, entire cinematic data is divided into key frame and normal frames, in order to make key frame and normal frames keep in touch, and finally open up Now complete image frame is in the present embodiment that key frame and normal frames establish playing time according to preset time interval Table is contacted key frame and normal frames by playing time table.
Step S106:Data sending terminal encodes key frame using VC-1, obtains first coding data, needs exist for It illustrates, in the present embodiment, key frame is encoded and can be effectively compressed with VC-1, to save Transmission space.The basic unit of VC-l transformation does not use fixed matrix, but uses adaptive transformation, share 8 × 8,8 × 4,4 × 8,4 × 4 four kinds of sizes, it is easy to accomplish.VC-1 is only 2 kinds in macro block division:16 × 16 and 8 × 8.Although VC-1's Block size significantly reduces calculation amount without H.264 complete.Also, the inter prediction reference frame of VC-l is only by preceding I frames Reconstructed frame is formed, to reduce buffer memory capacity.
Step S107:Data sending terminal, using H.263 encoding, obtains the second coded data, needs here to normal frames It to be illustrated, H.263 be by the Low Bit-Rate Video Coding standard of the ITU-T video conferences formulated, movement H.263 Compensation uses half-pixel accuracy, H.263 comprising four negotiable options to improve performance, H.263 uses unconfined movement H.263, vector and the arithmetic coding based on grammer, support 5 kinds of resolution ratio, i.e., in addition to the QCIF that is supported in supporting H.261 and Outside CIF, also supports SQCIF, 4CIF and 16CIF, enable adaptation to the transmission demand of a variety of resolution data frames.
Step S108:The first request channel, the second request channel are established between data sending terminal and data receiver respectively And data transmission channel, establish the first request channel, respectively in the present embodiment, between data sending terminal and data receiver Two request channels and data transmission channel carry out channel more smooth when classification is for transmission data.
Step S109:Data receiver sends out key frame to data sending terminal by the first request channel and obtains request and pass Key-encrypting key needs to illustrate herein, and crucial key includes the location information of data receiver, is wrapped in crucial key Include the destination address of transmission.It illustrates the condition sent to be simultaneously data receiver sends out key frame acquisition to data sending terminal to ask The crucial key of summation.
Step S110:Data sending terminal creates the first dynamic password after receiving key frame and obtaining request, and, by first Dynamic password, crucial key and playing time table are overlapped, and obtain first kind encryption information, here, the first dynamic password Establishment can flexibly be set according to usage scenario.In order to which key frame and normal frames are associated, by the first dynamic password, Crucial key and playing time table are overlapped, and are overlapped with binding the first dynamic password, crucial key and playing time table, Obtain first kind encryption information.
Step S111:Data sending terminal is encrypted first coding data with first kind encryption information, by A kind of encryption information, which is added to as the first packet header in first coding data, forms the first transmission packet, first kind encryption information Placement location be packet header, the transmission of first coding data is not on the one hand influenced, on the other hand to the solution of destination address and password It is close related.
Step S112:Data receiver by the second request channel to data sending terminal send out normal frames obtain request and it is general Logical key, needs to illustrate herein, common key includes the location information of data receiver.Similarly, common close It also include destination address in key.
Step S113:Data sending terminal creates the second dynamic password after receiving normal frames and obtaining request, and, by second Dynamic password, common key and playing time table are overlapped, and obtain the second class encryption information, similarly, the second dynamic password Establishment can flexibly be set according to usage scenario.In order to which key frame and normal frames are associated, by the second dynamic password, Crucial key and playing time table are overlapped, and are overlapped with binding the second dynamic password, crucial key and playing time table, Obtain the second class encryption information.
Step S114:Data sending terminal is encrypted with second the second coded data of class encryption information pair, by Two class encryption information, which are added to as the second packet header in the second coded data, forms the second transmission packet, similarly, by the second class The placement location of encryption information is packet header, does not on the one hand influence the transmission of the second coded data, on the other hand to destination address and The decryption of password is related.
Step S115:Data receiver sends out key frame transmission request by the first request channel to data sending terminal, In the step, it is to receive the key frame transmission that data receiver is sent out to ask to show data sending terminal and send the starting point of key frame It asks.
Step S116:Data receiver sends out normal frames transmission request by the second request channel to data sending terminal, together Reason, in this step, the starting point for showing data sending terminal transmission data are to receive the normal frames that data receiver is sent out to pass Defeated request.
Step S117:Data sending terminal is passed in the first period by the first transmission packet of data transmission channel pair Defeated, data sending terminal is transmitted in the second period by the second transmission packet of data transmission channel pair, wherein the first period Tail portion and the head of the second period overlap.In this step, the first transmission packet and the second transmission packet are illustrated Transmission time sequence is interval transmission, specifically, being according to the first period, the second period, the first period, the second period, the first period Deng sequence successively carry out.
Above-mentioned steps are further elaborated below, data sending terminal by cinematic data to be transmitted according to it is preset when Between be spaced and sampled, obtain multiple transmitting data frames, including:
(1) data sending terminal obtains cinematic data to be transmitted, wherein cinematic data to be transmitted is continuous, here It needs to illustrate, the cinematic data transmitted in the present invention is complete cinematic data, continuous in time, is mould Quasi- cinematic data.
(2) data sending terminal obtains the broadcasting frequency of data receiver, and, the time is subjected to sampling according to broadcasting frequency and is obtained It obtains preset time interval and the sampling interval is determined by broadcasting frequency in this step.
(3) data sending terminal samples cinematic data to be transmitted according to preset time interval, obtains multiple biographies Transmission of data frame, wherein transmitting data frame is discrete.In this step, by according to preset time interval to cinematic data It is sampled, to obtain multiple transmitting data frames.
In addition, the transmission method of cinematic data further includes:
(1) data sending terminal pair carries out even parity check with the first packet header apart from nearest key frame, obtains the second secret value, needs It to be illustrated, even parity check is when the number of " 1 " in real data is even number, this check bit is exactly " 0 ", no Then this check bit is exactly " 1 ", ensures that transmission data meet the requirement of even parity check in this way.Data are received in recipient When, by the number of " 1 " in the requirement detection data according to even parity check, if it is even number " 1 ", indicate that transmission is correct, otherwise table Show transmission mistake.Secret value is obtained by even parity check, the safety in transmission process to key frame can be further strengthened.
(2) data sending terminal pair carries out even parity check with the second packet header apart from nearest normal frames, obtains the first secret value, together On, which is not described herein again.
(3) first kind encryption information and the first secret value are weighted operation by data sending terminal, are in order to being transmitted across Key frame in journey carries out cryptographic operation again.
(4) the second class encryption information and the second secret value are weighted operation by data sending terminal.Ibid, no longer superfluous here It states.
Above-mentioned steps data sending terminal is transmitted in the first period by the first transmission packet of data transmission channel pair, Data sending terminal is transmitted in the second period by the second transmission packet of data transmission channel pair, wherein the first period Tail portion and the head of the second period overlap, and specifically include:
(1) data sending terminal divides time shaft according to the preset transmission period, obtains multiple transmission cycles, by In the channel in the embodiment of the present invention has been split into three parts:First request channel, the second request channel and data transmission Channel, also, cinematic data to be transmitted is divided into key frame and normal frames, therefore, in order to ensure the validity of transmission, needs Time shaft is divided according to the preset transmission period.In the present embodiment, the transmission period is divided, is obtained multiple Transmission cycle can be transmitted according to set transmission cycle.
(2) transmission cycle is divided into the first time period and the second time period by data sending terminal, wherein in current transmission period The tail portion of first period and the head of the second period overlap, the head of the first period in current transmission period and a upper transmission The tail portion of the second period in period overlaps, in the tail portion and next transmission cycle of the second period in current transmission period The head of first period overlaps, and here, specifically illustrates the division of the transmission period in transmission cycle to key frame and normal frames, And then make the transmission of key frame and normal frames definitely.
(3) first period of the data sending terminal in multiple transmission cycles passes through the first transmission data of data transmission channel pair Packet is transmitted, also, the second period in transmission cycle is passed by the second transmission packet of data transmission channel pair It is defeated.It was the first period to define to the time that the first transmission packet where key frame is transmitted;To where normal frames Time for being transmitted of the second transmission packet be the second period.
In addition, the transmission method of cinematic data further includes:
(1) data sending terminal is after receiving the first decoding request that data receiver is sent out by the first request channel, To data receiver send first solution confidential information, wherein first solution confidential information be it is corresponding with first kind encryption information, in order to Data receiver receives key frame, needs that the first transmission packet received is decrypted, firstly, it is necessary to be Confidential information is solved, here, the first solution confidential information is corresponding with first kind encryption information.
(2) data sending terminal is after receiving the second decoding request that data receiver is sent out by the second request channel, To data receiver send second solution confidential information, wherein second solution confidential information be it is corresponding with the second class encryption information, ibid, It is not discussed here.
(3) data receiver is decrypted with first solution the first transmission packet of confidential information pair the first decryption oprerations of progress The first cinematic data afterwards, i.e., be decrypted operation to the first transmission packet.
(4) data receiver is decrypted with second solution the second transmission packet of confidential information pair the second decryption oprerations of progress The second cinematic data afterwards, i.e., be decrypted operation to the second transmission packet.
(5) resolution ratio of the first cinematic data after decryption is increased into half, by point of the second cinematic data after decryption Resolution increases half, and, the first cinematic data and the second cinematic data after resolution ratio is increased are integrated, and are obtained complete Cinematic data.The first cinematic data obtained after decryption and the second cinematic data are integrated, i.e., according to the above-mentioned biography referred to Defeated period and transmission period are integrated, and complete cinematic data is obtained.Due to being differentiated to it before data frame is transmitted Rate has carried out halving processing, and the first transmission packet and the second transmission packet are received in data receiver, and to its into It has gone after decryption oprerations, the resolution ratio of the first cinematic data and the second cinematic data is increased into half, in order to carry out shadow Depending on the broadcasting of data.
Further, since network transmission environment is complicated and changeable, showing for loss of data is susceptible to when especially network is poor As therefore, the transmission method of cinematic data further includes:
(1) when data transmission channel blocks, data receiver the first transmission packet for receiving of detection and the Whether two transmission packets there is packet loss, i.e., detect the first transmission packet and the second transmission data by data receiver first Whether packet there is packet loss.
(2) when testing result is that the first transmission packet packet loss occurs, occur from packet loss upper one of data receiver The first transmission packet corresponding with the packet loss moment is transferred in transmission cycle, it, will be corresponding in order to make up the packet loss of key frame The data packet of corresponding period in a upper transmission cycle for transmission cycle copies to current location, with the data packet to loss into Row makes up, and then ensures the integrality that cinematic data plays.
(3) when testing result is that the second transmission packet packet loss occurs, occur from packet loss upper one of data receiver The second transmission packet corresponding with the packet loss moment is transferred in transmission cycle.It, will be corresponding in order to make up the packet loss of normal frames The data packet of corresponding period in a upper transmission cycle for transmission cycle copies to current location, with the data packet to loss into Row makes up, and then ensures the integrality that cinematic data plays.
In conclusion the transmission method of cinematic data provided in this embodiment includes:Data sending terminal is by electricity to be transmitted Shadow data are sampled according to preset time interval, obtain multiple transmitting data frames, and data sending terminal is by multiple transmission datas The resolution ratio of frame is compared one by one with preset screen resolution, is preset when the resolution ratio of transmitting data frame is more than or equal to Screen resolution when, transmitting data frame is denoted as key frame by data sending terminal, and key frame is stored in local, when transmission number When being less than preset screen resolution according to the resolution ratio of frame, transmitting data frame is denoted as normal frames by data sending terminal, and will be common Frame is stored in local, and data sending terminal is that key frame and normal frames establish playing time table, data according to preset time interval Transmitting terminal encodes key frame using VC-1, obtains first coding data, data sending terminal to normal frames using H.263 into Row coding, obtains the second coded data, establishes the first request channel between data sending terminal and data receiver respectively, second asks Channel and data transmission channel, data receiver is asked to send out key frame to data sending terminal by the first request channel and obtain request With crucial key, data sending terminal creates the first dynamic password after receiving key frame and obtaining request, and, the first dynamic is close Code, crucial key and playing time table are overlapped, and obtain first kind encryption information, data sending terminal is with first kind encryption letter First coding data is encrypted in breath, is added to first kind encryption information as the first packet header in first coding data Form the first transmission packet, data receiver by the second request channel to data sending terminal send out normal frames obtain request and Common key, data sending terminal create the second dynamic password after receiving normal frames and obtaining request, and, the second dynamic is close Code, common key and playing time table are overlapped, and obtain the second class encryption information, data sending terminal is with the second class encryption letter The second coded data is encrypted in breath, is added in the second coded data using the second class encryption information as the second packet header The second transmission packet is formed, data receiver sends out key frame transmission request by the first request channel to data sending terminal, Data receiver sends out normal frames transmission request by the second request channel to data sending terminal, and data sending terminal is in the first period It is transmitted by the first transmission packet of data transmission channel pair, data sending terminal passes through data transmission channel in the second period Second transmission packet is transmitted, wherein the tail portion of the first period and the head of the second period overlap.Pass through above-mentioned processing Process realizes cinematic data being divided into two classes, is passed after the coded treatment of progress different-format and encryption respectively It is defeated, and then ensure that completeness and efficiency of the cinematic data in transmission process.
Embodiment 2
Referring to Fig. 4, the transmitting device for present embodiments providing cinematic data includes:
Sampling module 1 samples cinematic data to be transmitted according to preset time interval for data sending terminal, Obtain multiple transmitting data frames;
Resolution ratio comparing module 2 differentiates the resolution ratio of multiple transmitting data frames and preset picture for data sending terminal Rate is compared one by one;
Key-frame extraction module 3 is used to be more than or equal to preset screen resolution when the resolution ratio of transmitting data frame When, resolution ratio is reduced half by data sending terminal, and is extracted transmitting data frame and be denoted as key frame, and key frame is stored in this Ground;
Common frame extraction module 4 is used for when the resolution ratio of transmitting data frame is less than preset screen resolution, data hair Resolution ratio is reduced half by sending end, and transmitting data frame is denoted as normal frames, and normal frames are stored in local;
It is that key frame and normal frames are built according to preset time interval that playing time table, which establishes module 5 for data sending terminal, Vertical playing time table;
First coding module 6 is encoded key frame using VC-1 for data sending terminal, obtains first coding data;
Second coding module 7 uses normal frames for data sending terminal and H.263 encodes, and obtains the second coded number According to;
Path setup module 8 for establishing the first request channel, second respectively between data sending terminal and data receiver Request channel and data transmission channel;
First request module 9 sends out key frame to data sending terminal by the first request channel for data receiver and obtains Request and crucial key;
First password acquisition module 10 creates the first dynamic for data sending terminal after receiving key frame and obtaining request Password, and, the first dynamic password, crucial key and playing time table are overlapped, first kind encryption information is obtained;
First encrypting module 11 is encrypted first coding data with first kind encryption information for data sending terminal Processing, first kind encryption information is added to as the first packet header in first coding data and forms the first transmission packet;
Second request module 12 sends out normal frames to data sending terminal by the second request channel for data receiver and obtains Take request and common key;
Second password acquisition module 13 creates the second dynamic for data sending terminal after receiving normal frames and obtaining request Password, and, the second dynamic password, common key and playing time table are overlapped, the second class encryption information is obtained;
Second encrypting module 14 is encrypted for data sending terminal with second the second coded data of class encryption information pair Processing, the second class encryption information is added to as the second packet header in the second coded data and forms the second transmission packet;
First transmission request module 15 sends out key by the first request channel for data receiver to data sending terminal Frame transmission request;
Second transmission request module 16 is sent out commonly by the second request channel to data sending terminal for data receiver Frame transmission request;
Transmission module 17 for data sending terminal the first period by the first transmission packet of data transmission channel pair into Row transmission, data sending terminal are transmitted in the second period by the second transmission packet of data transmission channel pair, wherein first The tail portion of period and the head of the second period overlap.
The transmitting device of cinematic data provided in an embodiment of the present invention, the transmission of the cinematic data provided with above-described embodiment Method technical characteristic having the same reaches identical technique effect so can also solve identical technical problem.
The embodiment of the present invention additionally provides a kind of terminal, including memory and processor, and memory is supported for storing Processor executes the program of above-described embodiment method, and processor is configurable for executing the program stored in memory.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, when computer program is run by processor the step of the method for execution any of the above-described.
It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment weight Point explanation is all difference from other examples, and the same or similar parts between the embodiments can be referred to each other. The technique effect of the transmission method and device for the cinematic data that the embodiment of the present invention is provided, realization principle and generation and aforementioned Embodiment of the method is identical, and to briefly describe, device embodiment part does not refer to place, can refer to corresponding in preceding method embodiment Content.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, the flow chart in attached drawing and block diagram Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part for the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be to be different from The sequence marked in attached drawing occurs.For example, two continuous boxes can essentially be basically executed in parallel, they are sometimes It can execute in the opposite order, this is depended on the functions involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use function or the dedicated base of action as defined in executing It realizes, or can be realized using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each function module or unit in each embodiment of the present invention can integrate and to form an independence Part, can also be modules individualism, can also two or more modules be integrated to form an independent portion Point.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence, can not be interpreted as indicating or implying relative importance.And term " comprising ", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process including a series of elements, Method, article or equipment include not only those elements, but also include other elements that are not explicitly listed, or are also wrapped It includes as elements inherent to such a process, method, article, or device.In the absence of more restrictions, by sentence " including One ... " limit element, it is not excluded that there is also another in the process, method, article or apparatus that includes the element Outer identical element.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should be noted that:Similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and is explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. the transmission method of cinematic data, which is characterized in that including:
Data sending terminal samples cinematic data to be transmitted according to preset time interval, obtains multiple transmission datas Frame;
The resolution ratio of multiple transmitting data frames is compared data sending terminal one by one with preset screen resolution;
When the resolution ratio of the transmitting data frame is more than or equal to the preset screen resolution, the data sending terminal The resolution ratio is reduced into half, and extracts the transmitting data frame and is denoted as key frame, and the key frame is stored in local;
When the resolution ratio of the transmitting data frame is less than the preset screen resolution, the data sending terminal will be described point Resolution reduces half, and the transmitting data frame is denoted as normal frames, and the normal frames are stored in local;
Data sending terminal is that the key frame and the normal frames establish playing time table according to the preset time interval;
Data sending terminal encodes the key frame using VC-1, obtains first coding data;
Data sending terminal, using H.263 encoding, obtains the second coded data to the normal frames;
It is logical that the first request channel, the second request channel and data transmission are established between data sending terminal and data receiver respectively Road;
Data receiver sends out key frame to data sending terminal by the first request channel and obtains request and crucial key;
Data sending terminal creates the first dynamic password after receiving the key frame and obtaining request, and, by first dynamic Password, the crucial key and the playing time table are overlapped, and obtain first kind encryption information;
Data sending terminal is encrypted the first coding data with first kind encryption information, and the first kind is encrypted and is believed Breath, which is added to as the first packet header in the first coding data, forms the first transmission packet;
Data receiver sends out normal frames to data sending terminal by the second request channel and obtains request and common key;
Data sending terminal creates the second dynamic password after receiving the normal frames and obtaining request, and, by second dynamic Password, the common key and the playing time table are overlapped, and obtain the second class encryption information;
Data sending terminal is encrypted second coded data with the second class encryption information, and the second class is encrypted and is believed Breath, which is added to as the second packet header in second coded data, forms the second transmission packet;
Data receiver sends out key frame transmission request by the first request channel to data sending terminal;
Data receiver sends out normal frames transmission request by the second request channel to data sending terminal;
Data sending terminal is transmitted first transmission packet by the data transmission channel in the first period, data Transmitting terminal is transmitted second transmission packet by the data transmission channel in the second period, wherein described The tail portion of one period and the head of second period overlap.
2. the transmission method of cinematic data according to claim 1, which is characterized in that the data sending terminal will be to be transmitted Cinematic data sampled according to preset time interval, obtain multiple transmitting data frames, including:
The data sending terminal obtains the cinematic data to be transmitted, wherein the cinematic data to be transmitted is continuous;
The data sending terminal obtains the broadcasting frequency of the data receiver, and, the time is carried out according to the broadcasting frequency Sampling obtains the preset time interval;
The data sending terminal samples cinematic data to be transmitted according to the preset time interval, obtains multiple biographies Transmission of data frame, wherein the transmitting data frame is discrete.
3. the transmission method of cinematic data according to claim 2, which is characterized in that the method further includes:
The data sending terminal pair key frame nearest with first packet header distance carries out even parity check, obtains the second encryption Value;
The data sending terminal pair normal frames nearest with second packet header distance carry out even parity check, obtain the first encryption Value;
The first kind encryption information and first secret value are weighted operation by the data sending terminal;
The second class encryption information and second secret value are weighted operation by the data sending terminal.
4. the transmission method of cinematic data according to claim 3, which is characterized in that the data sending terminal is at first Section is transmitted first transmission packet by the data transmission channel, and data sending terminal passes through institute in the second period It states data transmission channel to be transmitted second transmission packet, wherein the tail portion of first period and described second The head of period overlaps, including:
The data sending terminal divides time shaft according to the preset transmission period, obtains multiple transmission cycles;
The transmission cycle is divided into first period and second period by the data sending terminal, wherein works as forward pass The tail portion of first period in the defeated period and the head of second period overlap, and described first in current transmission period The head of period and the tail portion of second period in a upper transmission cycle overlap, and described second in current transmission period The head of first period in the tail portion of period and next transmission cycle overlaps;
First period of the data sending terminal in multiple transmission cycles is by the data transmission channel to described One transmission packet is transmitted, and, the second period in the transmission cycle is by the data transmission channel to described Second transmission packet is transmitted.
5. the transmission method of cinematic data according to claim 4, which is characterized in that the method further includes:
The data sending terminal receive the data receiver by first request channel send out first decryption ask After asking, the first solution confidential information is sent to the data receiver, wherein the first solution confidential information is encrypted with the first kind Information is corresponding;
The data sending terminal receive the data receiver by second request channel send out second decryption ask After asking, the second solution confidential information is sent to the data receiver, wherein the second solution confidential information is encrypted with second class Information is corresponding;
The data receiver solves confidential information with described first and is obtained to first transmission packet the first decryption oprerations of progress The first cinematic data after to decryption;
The data receiver solves confidential information with described second and is obtained to second transmission packet the second decryption oprerations of progress The second cinematic data after to decryption;
The resolution ratio of the first cinematic data after the decryption is increased into half, by point of the second cinematic data after the decryption Resolution increases half, and, first cinematic data and second cinematic data after resolution ratio is increased are integrated, and are obtained To complete cinematic data.
6. the transmission method of cinematic data according to claim 4, which is characterized in that the method further includes:
When the data transmission channel blocks, the data receiver detects first transmission packet received Whether there is packet loss with second transmission packet;
When testing result is that first transmission packet packet loss occurs, occur from packet loss upper one of the data receiver First transmission packet corresponding with the packet loss moment is transferred in the transmission cycle;
When testing result is that second transmission packet packet loss occurs, occur from packet loss upper one of the data receiver Second transmission packet corresponding with the packet loss moment is transferred in the transmission cycle.
7. the transmission method of cinematic data according to claim 4, which is characterized in that the key key and described common Include the location information of the data receiver in key.
8. the transmitting device of cinematic data, which is characterized in that including:
Cinematic data to be transmitted is sampled according to preset time interval for data sending terminal, is obtained by sampling module Multiple transmitting data frames;
Resolution ratio comparing module differentiates the resolution ratio of multiple transmitting data frames and preset picture for data sending terminal Rate is compared one by one;
Key-frame extraction module, for when the resolution ratio of transmitting data frame is more than or equal to preset screen resolution, counting Resolution ratio is reduced into half according to transmitting terminal, and extracts transmitting data frame and is denoted as key frame, and key frame is stored in local;
Common frame extraction module is used for when the resolution ratio of transmitting data frame is less than preset screen resolution, data sending terminal Resolution ratio is reduced into half, and transmitting data frame is denoted as normal frames, and normal frames are stored in local;
Playing time table establishes module, according to the preset time interval is the key frame and described for data sending terminal Normal frames establish playing time table;
First coding module is encoded the key frame using VC-1 for data sending terminal, obtains first coding data;
Second coding module obtains the second coded number to the normal frames for data sending terminal using H.263 encoding According to;
Path setup module, for establishing the first request channel, the second request between data sending terminal and data receiver respectively Channel and data transmission channel;
First request module sends out key frame to data sending terminal by the first request channel for data receiver and obtains request With crucial key;
First password acquisition module, for data sending terminal, the first dynamic of establishment is close after receiving the key frame and obtaining request Code, and, first dynamic password, the crucial key and the playing time table are overlapped, first kind encryption is obtained Information;
Place is encrypted to the first coding data with first kind encryption information for data sending terminal in first encrypting module Reason, first kind encryption information is added to as the first packet header in the first coding data and forms the first transmission packet;
Second request module sends out normal frames to data sending terminal by the second request channel for data receiver and obtains request And common key;
Second password acquisition module, for data sending terminal, the second dynamic of establishment is close after receiving the normal frames and obtaining request Code, and, second dynamic password, the common key and the playing time table are overlapped, the encryption of the second class is obtained Information;
Place is encrypted to second coded data with the second class encryption information for data sending terminal in second encrypting module Reason, the second class encryption information is added to as the second packet header in second coded data and forms the second transmission packet;
First transmission request module sends out key frame transmission by the first request channel for data receiver to data sending terminal Request;
Second transmission request module sends out normal frames transmission by the second request channel for data receiver to data sending terminal Request;
Transmission module, for data sending terminal in the first period by the data transmission channel to first transmission packet It is transmitted, data sending terminal passes second transmission packet by the data transmission channel in the second period It is defeated, wherein the tail portion of first period and the head of second period overlap.
9. a kind of terminal, which is characterized in that including memory and processor, the memory supports processor to hold for storing The program of any one of row claim 1 to 7 the method, the processor are configurable for executing and be stored in the memory Program.
10. a kind of computer readable storage medium, computer program, feature are stored on the computer readable storage medium The step of being, 1 to 7 any one of them method of the claims executed when the computer program is run by processor.
CN201810222736.1A 2018-03-16 2018-03-16 Transmission method and device of movie data Active CN108449600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810222736.1A CN108449600B (en) 2018-03-16 2018-03-16 Transmission method and device of movie data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810222736.1A CN108449600B (en) 2018-03-16 2018-03-16 Transmission method and device of movie data

Publications (2)

Publication Number Publication Date
CN108449600A true CN108449600A (en) 2018-08-24
CN108449600B CN108449600B (en) 2020-06-02

Family

ID=63194902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810222736.1A Active CN108449600B (en) 2018-03-16 2018-03-16 Transmission method and device of movie data

Country Status (1)

Country Link
CN (1) CN108449600B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430446A (en) * 2019-07-26 2019-11-08 东软集团股份有限公司 Method for processing video frequency, device, equipment and computer readable storage medium
CN114286098A (en) * 2021-12-24 2022-04-05 威创集团股份有限公司 Video encoding and decoding method, system, device and storage medium
WO2023071599A1 (en) * 2021-10-29 2023-05-04 大唐移动通信设备有限公司 Data transmission method and apparatus, device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665109A (en) * 2012-04-19 2012-09-12 中兴通讯股份有限公司 Transmitting and receiving method of multimedia video data and corresponding devices
CN104601999A (en) * 2014-12-31 2015-05-06 乐视网信息技术(北京)股份有限公司 Encoding method and encoding device based on key frame
CN105847182A (en) * 2016-04-18 2016-08-10 武汉烽火众智数字技术有限责任公司 Method and system thereof for preferentially transmitting audio in audio and video system
CN106658095A (en) * 2016-10-18 2017-05-10 武汉斗鱼网络科技有限公司 Webcasting video transmission method, server and user equipment
US20180014041A1 (en) * 2016-07-07 2018-01-11 Time Warner Cable Enterprises Llc Apparatus and methods for presentation of key frames in encrypted content

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665109A (en) * 2012-04-19 2012-09-12 中兴通讯股份有限公司 Transmitting and receiving method of multimedia video data and corresponding devices
CN104601999A (en) * 2014-12-31 2015-05-06 乐视网信息技术(北京)股份有限公司 Encoding method and encoding device based on key frame
CN105847182A (en) * 2016-04-18 2016-08-10 武汉烽火众智数字技术有限责任公司 Method and system thereof for preferentially transmitting audio in audio and video system
US20180014041A1 (en) * 2016-07-07 2018-01-11 Time Warner Cable Enterprises Llc Apparatus and methods for presentation of key frames in encrypted content
CN106658095A (en) * 2016-10-18 2017-05-10 武汉斗鱼网络科技有限公司 Webcasting video transmission method, server and user equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430446A (en) * 2019-07-26 2019-11-08 东软集团股份有限公司 Method for processing video frequency, device, equipment and computer readable storage medium
CN110430446B (en) * 2019-07-26 2021-09-14 东软集团股份有限公司 Video processing method, device, equipment and computer readable storage medium
WO2023071599A1 (en) * 2021-10-29 2023-05-04 大唐移动通信设备有限公司 Data transmission method and apparatus, device, and storage medium
CN114286098A (en) * 2021-12-24 2022-04-05 威创集团股份有限公司 Video encoding and decoding method, system, device and storage medium

Also Published As

Publication number Publication date
CN108449600B (en) 2020-06-02

Similar Documents

Publication Publication Date Title
Zhou et al. A measurement study of oculus 360 degree video streaming
US10979663B2 (en) Methods and apparatuses for image processing to optimize image resolution and for optimizing video streaming bandwidth for VR videos
WO2018054375A1 (en) Live broadcast information processing method and device, and storage medium
CN104918133B (en) A kind of playing method and device for regarding video flowing in networking
CN107277612A (en) Method and apparatus for playing Media Stream in web browser
EP4287637A1 (en) Information processing method and apparatus
TW201521432A (en) Transmitting display management metadata over HDMI
CN108449600A (en) The transmission method and device of cinematic data
CN103327367B (en) Test system for ultrahigh definition digital broadcast signal
US20150110168A1 (en) Video data transmission method and apparatus
CN103369289A (en) Communication method of video simulation image and device
CN105025294B (en) A kind of transmission of video control device and method
CN111869222A (en) Display information metrics for immersive media
CN108322438A (en) Outer net transmits method, interior network termination and the outer network termination of information to Intranet
CN108111532A (en) The control method for playing back and device of video stream data, storage medium, terminal
CN104735410B (en) A kind of narrow bandwidth video transmission method and system lower than 4K/S
CN104010204B (en) Image information processing method and device
CN108174200A (en) Image transfer method and device
CN108989833A (en) A kind of generation method and device of video cover image
CN104469400B (en) Image data compression method based on RFB protocol
CN108449601A (en) The transmission method and device of cinematic data
CN107294946A (en) Data protection method
US11265357B2 (en) AV1 codec for real-time video communication
US11281422B2 (en) Video data display method and device
CN106998328A (en) A kind of video transmission method and device

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