CN110324669A - Transmission method, the apparatus and system of thumbnail - Google Patents

Transmission method, the apparatus and system of thumbnail Download PDF

Info

Publication number
CN110324669A
CN110324669A CN201910586061.3A CN201910586061A CN110324669A CN 110324669 A CN110324669 A CN 110324669A CN 201910586061 A CN201910586061 A CN 201910586061A CN 110324669 A CN110324669 A CN 110324669A
Authority
CN
China
Prior art keywords
thumbnail
breviary
video
decoding
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910586061.3A
Other languages
Chinese (zh)
Inventor
李培锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201910586061.3A priority Critical patent/CN110324669A/en
Publication of CN110324669A publication Critical patent/CN110324669A/en
Pending legal-status Critical Current

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/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • 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/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, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234309Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
    • 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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440218Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4

Abstract

The invention discloses a kind of transmission methods of thumbnail, apparatus and system.Wherein, this method comprises: determining the corresponding breviary graphic sequence of breviary graph type to be transmitted according to transmission priority, wherein breviary graph type includes: courseware thumbnail and webpage thumbnail;Video coding is carried out to breviary graphic sequence using preset coding and decoding video format, generates video flowing, wherein preset coding and decoding video format is determined according to transmission feature;To recipient's transmitting video-frequency flow.The present invention solves the technical problem that data volume is big, bandwidth requirement is high when thumbnail transmits in the related technology.

Description

Transmission method, the apparatus and system of thumbnail
Technical field
The present invention relates to field of image transmission, transmission method, apparatus and system in particular to a kind of thumbnail.
Background technique
Thumbnail represent on webpage or in computer picture through compress mode treated small figure.And previous thumbnail is passing In defeated, such as the thumbnail in webpage or courseware is directly transmitted in a network there is no more processing is carried out to it. Although thumbnail is compressed, for network transmission mediums, data volume is quite big.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of transmission methods of thumbnail, apparatus and system, at least to solve the relevant technologies The technical problem that data volume is big, bandwidth requirement is high when middle thumbnail transmits.
According to an aspect of an embodiment of the present invention, a kind of transmission method of thumbnail is provided, comprising: excellent according to transmitting First grade determines the corresponding breviary graphic sequence of breviary graph type to be transmitted, wherein the breviary graph type includes: courseware thumbnail With webpage thumbnail;Video coding is carried out to the breviary graphic sequence using preset coding and decoding video format, generates video flowing, Wherein, the preset coding and decoding video format is determined according to transmission feature;The video flowing is transmitted to recipient.
Optionally, determine that breviary graph type to be transmitted is corresponding according to transmission priority at least one in the following manner Breviary graphic sequence: the corresponding breviary graphic sequence of breviary graph type to be transmitted is determined according to the download time of thumbnail;According to contracting The file format of sketch map determines the corresponding breviary graphic sequence of breviary graph type to be transmitted;It is determined according to the file size of thumbnail The corresponding breviary graphic sequence of breviary graph type to be transmitted;Breviary graph type to be transmitted is determined according to the file content of thumbnail Corresponding breviary graphic sequence.
Optionally, Video coding is carried out to the breviary graphic sequence using preset coding and decoding video format, generates video Stream comprises determining that the corresponding relationship of each thumbnail data frame corresponding with the thumbnail in breviary graphic sequence;According to institute Corresponding relationship and preset coding and decoding video format are stated, the corresponding video flowing of the breviary graphic sequence is generated.
According to another aspect of an embodiment of the present invention, a kind of transmission method of thumbnail is additionally provided, comprising: receive and send The video flowing corresponding with breviary graphic sequence just transmitted;Video is carried out to the video flowing using preset coding and decoding video format Decoding, obtains decoded thumbnail.
Optionally, video decoding is carried out to the video flowing using preset coding and decoding video format, obtained decoded Thumbnail includes: the corresponding relationship for receiving each thumbnail data frame corresponding with the thumbnail in breviary graphic sequence;Root Video decoding is carried out according to partial data frame of the corresponding relationship to the video flowing, obtains decoded thumbnail;And/or Video decoding is carried out according to total data frame of the corresponding relationship to the video flowing, obtains decoded thumbnail.
According to another aspect of an embodiment of the present invention, a kind of transmitting device of thumbnail is additionally provided, comprising: obtain mould Block, for determining the corresponding breviary graphic sequence of breviary graph type to be transmitted according to transmission priority, wherein the thumbnail class Type includes: courseware thumbnail and webpage thumbnail;Coding module, for utilizing preset coding and decoding video format to the breviary Graphic sequence carries out Video coding, generates video flowing, wherein the preset coding and decoding video format is determined according to transmission feature 's;Transmission module, for transmitting the video flowing to recipient.
According to another aspect of an embodiment of the present invention, a kind of transmitting device of thumbnail is additionally provided, comprising: receive mould Block, for receiving the video flowing corresponding with breviary graphic sequence of sender's transmission;Decoder module, for being compiled using preset video Codec format carries out video decoding to the video flowing, obtains decoded thumbnail.
According to another aspect of an embodiment of the present invention, additionally provide a kind of Transmission system of thumbnail, including sender and Recipient, wherein described sender is used to determine the corresponding thumbnail sequence of breviary graph type to be transmitted according to transmission priority Column, wherein the breviary graph type includes: courseware thumbnail and webpage thumbnail;Utilize preset coding and decoding video format pair The breviary graphic sequence carries out Video coding, generates video flowing, wherein the preset coding and decoding video format is according to transmission What feature determined;The video flowing is transmitted to recipient;The recipient be used for receive sender transmission with breviary graphic sequence Corresponding video flowing;Video decoding is carried out to the video flowing using preset coding and decoding video format, obtains decoded contracting Sketch map.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, the storage medium is stored with journey Sequence, wherein controlled when described program is run by processor the processor execute it is any one of above-mentioned described in thumbnail Transmission method.
According to another aspect of an embodiment of the present invention, a kind of computer equipment, including memory and processor are additionally provided, The memory is stored with program, and the processor makes the processor when running for executing described program, described program Execute it is any one of above-mentioned described in thumbnail transmission method.
In embodiments of the present invention, the corresponding thumbnail of breviary graph type to be transmitted is determined using according to transmission priority Sequence, wherein the breviary graph type includes: courseware thumbnail and webpage thumbnail;Utilize preset coding and decoding video format Video coding is carried out to the breviary graphic sequence, generates video flowing, wherein the preset coding and decoding video format is according to biography What defeated feature determined;The mode that the video flowing is transmitted to recipient, by reaching thumbnail code boil down to video flowing Purpose is transmitted in the form of the video flowing of thumbnail, to realize the data volume for reducing thumbnail transmission, reduces bandwidth requirement Technical effect, and then the technical problem that data volume is big, bandwidth requirement is high when solving the transmission of thumbnail in the related technology.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the transmission method of thumbnail according to an embodiment of the present invention;
Fig. 2 is the flow chart of the transmission method of another thumbnail according to an embodiment of the present invention;
Fig. 3 is a kind of process of the thumbnail compression transmission of the transmission method of thumbnail according to the preferred embodiment of the invention Figure;
Fig. 4 is a kind of stream of the video flowing reduction thumbnail of the transmission method of thumbnail according to the preferred embodiment of the invention Cheng Tu;
Fig. 5 is a kind of structural schematic diagram of the transmitting device of thumbnail according to an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of the transmitting device of another thumbnail according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
According to embodiments of the present invention, a kind of embodiment of the transmission method of thumbnail is provided, it should be noted that attached The step of process of figure illustrates can execute in a computer system such as a set of computer executable instructions, though also, So logical order is shown in flow charts, but in some cases, it can be to be different from shown by sequence execution herein Or the step of description.
Fig. 1 is a kind of flow chart of the transmission method of thumbnail according to an embodiment of the present invention, as shown in Figure 1, this method Include the following steps:
Step S102 determines the corresponding breviary graphic sequence of breviary graph type to be transmitted according to transmission priority, wherein contracting Sketch map type includes: courseware thumbnail and webpage thumbnail;
Step S104 carries out Video coding to breviary graphic sequence using preset coding and decoding video format, generates video flowing, Wherein, preset coding and decoding video format is determined according to transmission feature;
Step S106, to recipient's transmitting video-frequency flow.
Through the above steps, it may be implemented by having reached the view with thumbnail for thumbnail code boil down to video flowing The form of frequency stream transmits purpose, to realize the data volume for reducing thumbnail transmission, reduces the technical effect of bandwidth requirement, into And solves the technical problem that data volume is big, bandwidth requirement is high when thumbnail transmits in the related technology.
As a kind of optional embodiment, above-mentioned breviary graph type is different, and the scene of application is also different, for example, courseware Thumbnail is applied to check that Distance Courseware, webpage thumbnail are applied to browsing Web page image, certainly, in specific implementation and not only It is limited to the above-mentioned related breviary graph type of the application, the transmission method of the thumbnail in embodiment can also be applied to a variety of For example, photograph album thumbnail, file thumbnail etc. in scene.
As a kind of optional embodiment, above-mentioned breviary graphic sequence includes at least a hypertonic sketch map or multiple thumbnails, In the specific implementation process, any restriction is not done for specific number of thumbnails.It can be according to different breviary graph types Different breviary graphic sequences is generated, for example, courseware breviary graphic sequence, webpage breviary graphic sequence etc..
As a kind of optional embodiment, above-mentioned transmission priority is arranged according to different application demand, wherein transmission Priority includes but is not limited to the download time of thumbnail, the file format of thumbnail, the file size of thumbnail and breviary The file content etc. of figure.For example, when transmission priority is the download time of thumbnail, it can be according to download time sequencing Thumbnail to be transmitted is ranked up, to generate breviary graphic sequence, this sortord can be download time from morning to Evening sequence, is also possible to download time from evening to early sequence.
As a kind of optional embodiment, thumbnail to be transmitted is ranked up according to application demand, to generate contracting Sketch map sequence, convenient for carrying out subsequent operation processing to thumbnail to be transmitted, which includes denoising, compression etc.. Compression processing is carried out for example, choosing multiple thumbnails and generating breviary graphic sequence, treatment effeciency can be improved in this way.
As a kind of optional embodiment, video volume is carried out to breviary graphic sequence using preset coding and decoding video format Code generates video flowing, and preset coding and decoding video format is determined according to transmission feature, wherein transmission feature can be The video code model that sender and recipient support, can also be network environment (transmission bandwidth, the net of support being used for transmission Speed etc.).For example, the video code model that sender and recipient support is H264, H265, then it can use above two mode One of Video coding is carried out to breviary graphic sequence, and then generate the video flowing of corresponding coded format;If wherein a side supports H264, another party do not support H264, then the H265 supported jointly is selected to carry out Video coding.Similarly, in the net being used for transmission Fewer to the coding and decoding video format limitation of selection in the relatively good situation of network environment, otherwise, the video that can be chosen compiles solution Code format is fewer.For example, can choose more coding and decoding video format, different coding and decoding video lattice under Network status The size for the video flowing that formula obtains is also different, can transmit under this network, and when Network status is poor, due to transmission belt The limitation of width, network speed etc., for coding and decoding video format will select it is some be compressed into video flowing after, the lesser coding of file Format, can mitigate the pressure to bandwidth in this way, also can be that recipient checks or browse in time thumbnail.
As a kind of optional embodiment, carrying out Video coding to breviary graphic sequence can be accomplished in several ways, can To realize Video coding etc. using Video coding decoding software, for example, FFmpeg etc., can also utilize other coding journeys Sequence realizes Video coding.Be adapted to more running environment by different Video codings, be effectively ensured it is high portable with And coding quality.In addition, the video flowing of multiple format can be generated by above-mentioned coding mode, for example, flv format, avi lattice Formula, mp4 format etc. can carry out flexible choice according to transmission requirement.
It should be noted that carrying out Video coding to breviary graphic sequence further include: determine Video coding rule, wherein Video coding rule is used to state the data frame thumbnail corresponding with the data frame of video flowing;According to Video coding rule to contracting Sketch map sequence carries out Video coding, generates the video flowing of preset video code model.Above-mentioned Video coding rule is for stating Be the data frame of video flowing and the corresponding relationship of thumbnail, this corresponding relationship include it is one-to-one, one-to-many, many-one etc. is deposited Mapping relations.For example, a thumbnail corresponds to a data frame in video flowing, it is also can correspond to video flowing certainly In multiple data frames.Above-mentioned Video coding rule can use system default, can also be set according to application scenarios.
As a kind of optional embodiment, after video flowing generation, which can be streamed to recipient, and recipient Can be arbitrary mobile terminal, computer or other can be used for receiving the equipment of video flowing.For example, video flowing is passed through network It is transmitted to the mobile phone either multimedia computer of user.It in the prior art, such as user's preview Distance Courseware, will be successively It is transmitted or is shown in the way of thumbnail one by one, in the case where network environment is poor, transmit a large amount of breviary Figure there is still a need for more Internet resources are occupied, be easy to cause subsequent display occur Caton, can not preview the problem of.Compared to previous Thumbnail transmission mode is compressed into the thumbnail of video flowing by coding, and when being transmitted, the data volume of transmission is less, right The bandwidth requirement of transmission is lower, and can greatly reduce time delay, and the user experience is improved.
Optionally, determine that breviary graph type to be transmitted is corresponding according to transmission priority at least one in the following manner Breviary graphic sequence: the corresponding breviary graphic sequence of breviary graph type to be transmitted is determined according to the download time of thumbnail;According to contracting The file format of sketch map determines the corresponding breviary graphic sequence of breviary graph type to be transmitted;It is determined according to the file size of thumbnail The corresponding breviary graphic sequence of breviary graph type to be transmitted;Breviary graph type to be transmitted is determined according to the file content of thumbnail Corresponding breviary graphic sequence.
As a kind of optional embodiment, breviary graphic sequence can be generated in several ways, in the specific implementation process, After obtaining multiple thumbnails to be transmitted, multiple thumbnails can be ranked up according to preset transmission priority, in turn Obtain breviary graphic sequence.Wherein, different transmission priorities is corresponding generates different breviary graphic sequences.
As a kind of optional embodiment, breviary graph type pair to be transmitted can be determined according to the download time of thumbnail The breviary graphic sequence answered.I.e. after the download time for obtaining thumbnail, it can be carried out according to the sequence of download time from morning to night Sequence generates breviary graphic sequence, can also be ranked up according to download time from evening to early sequence, generate breviary graphic sequence.
As a kind of optional embodiment, breviary graph type pair to be transmitted can be determined according to the file format of thumbnail The breviary graphic sequence answered.I.e. after the file format for obtaining thumbnail, it can be carried out according to the difference of the file format of thumbnail Sequence generates the breviary graphic sequence of respective file format, wherein file format includes but is not limited to jpeg, bmp, png, cdr etc. Deng.
As a kind of optional embodiment, breviary graph type pair to be transmitted can be determined according to the file size of thumbnail The breviary graphic sequence answered.I.e. after the file size for obtaining thumbnail, it can be carried out according to the sequence of file size from small to large Sequence generates breviary graphic sequence, can also be ranked up according to the sequence of file size from big to small, generates breviary graphic sequence.
As a kind of optional embodiment, breviary graph type pair to be transmitted can be determined according to the file content of thumbnail The breviary graphic sequence answered.It i.e. after the file content for obtaining thumbnail, can be ranked up, be generated according to the difference of file content Breviary graphic sequence, wherein file content can be text, number etc., such as, wherein text includes Chinese, English, Japanese, Korea Spro Text etc., number include Arabic numerals, Chinese-character digital etc..It is, of course, also possible to be that key feature in file content is arranged Sequence, for example, keyword, key person etc..In specific implementation process, the setting of file content is not limited in above-mentioned involved Content, can be configured according to specific needs.
It, both can be raw using one or multiple combined forms in above-described embodiment as a kind of optional embodiment At different breviary graphic sequences, to meet different transmission demands.
Optionally, Video coding is carried out to breviary graphic sequence using preset coding and decoding video format, generates video stream packets It includes: determining the corresponding relationship of each thumbnail data frame corresponding with thumbnail in breviary graphic sequence;According to corresponding relationship and Preset coding and decoding video format generates the corresponding video flowing of breviary graphic sequence.
As a kind of optional embodiment, above-mentioned coding and decoding video format is not unique, can be in the prior art It anticipates a kind of video code model, and coding and decoding video format can be selected either to set in advance according to specific application scenarios It sets, for example, current transmission only supports H264, so that it may video volume be carried out to breviary graphic sequence using corresponding video encoder Code generates the video flowing of H264 format.Moreover, either any video code model, in order to guarantee the convenient of subsequent decoding,
As a kind of optional embodiment, above-mentioned coded format is not limited in H264, H265, can also be other, For example, flv format, avi format, mp4 format etc..It should be noted that above-mentioned preset video code model with it is preset Video codec format is corresponding and existing, for example, carrying out Video coding with the video code model of H264, generates H264 lattice The video flowing of formula, it is subsequent video flowing is decoded when, also can using H264 video codec format carry out video decoding, this The mode of sample not only can to avoid thumbnail transmit as Video coding, decoding it is inconsistent caused by mistake, when can also save Between, improve efficiency of transmission.
As a kind of optional embodiment, each thumbnail data corresponding with thumbnail in determining breviary graphic sequence When the corresponding relationship of frame, under normal circumstances, each data frame of video flowing is corresponding in turn to a thumbnail in breviary graphic sequence, Data frame i.e. in the corresponding video flowing of each thumbnail.
Thumbnail is generated according to corresponding relationship and preset coding and decoding video format as a kind of optional embodiment When the corresponding video flowing of sequence, for example, corresponding relationship be it is one-to-one, i.e. a thumbnail corresponds to a data in video flowing Frame, preset coding and decoding video format can be H264, it can generate the video flowing of H264 format, wherein in the video flowing, Each data frame corresponds to a thumbnail.It is, of course, also possible to be other corresponding relationships and preset coding and decoding video format into Row combination, to generate the corresponding video flowing of breviary graphic sequence.
Fig. 2 is the flow chart of the transmission method of another thumbnail according to an embodiment of the present invention, as shown in Fig. 2, the party Method includes the following steps:
Step S202 receives the video flowing corresponding with breviary graphic sequence of sender's transmission;
Step S204 carries out video decoding to video flowing using preset coding and decoding video format, obtains decoded contracting Sketch map.
After recipient receives video flowing, required thumbnail, needs to solve above-mentioned video flowing in order to obtain Code, wherein video code model when preset coding and decoding video format encodes breviary graphic sequence at this time is consistent. For example, carrying out Video coding processing using H264 when coding, corresponding decoding is also required to carry out video decoding process with H264, this Sample can guarantee quickly and accurately to obtain thumbnail.
Optionally, video decoding is carried out to video flowing using preset coding and decoding video format, obtains decoded breviary Figure includes: the corresponding relationship for receiving each thumbnail data frame corresponding with thumbnail in breviary graphic sequence;It is closed according to corresponding It is that video decoding is carried out to the partial data frame of video flowing, obtains decoded thumbnail;And/or according to corresponding relationship to view The total data frame of frequency stream carries out video decoding, obtains decoded thumbnail.
As a kind of optional embodiment, each thumbnail data frame corresponding with thumbnail in breviary graphic sequence is received Corresponding relationship, recipient can receive when being sent in Video coding compression, in determining breviary graphic sequence each thumbnail with The corresponding relationship of the corresponding data frame of thumbnail.This corresponding relationship based on the received carries out quickly video flowing convenient for subsequent Decoding, it can quickly obtain the corresponding thumbnail of data frame in video flowing.
As a kind of optional embodiment, both can partial data frame to video flowing carry out video decoding, can also be right The total data frame of video flowing carries out video decoding, and then obtains decoded thumbnail.Wherein, video flowing can be in transmission Partial data stream, or transmission in all data streams.Partial data frame in above-mentioned video flowing can continuously be mentioned Extraction etc. is taken or is spaced, so that decoded thumbnail is obtained, to meet different application demands.
As a kind of optional embodiment, the one or both of them in the above method is combined, and needle may be implemented To the acquisition thumbnail of property, so that effectively avoiding decoding some useless thumbnails leads to the waste of resource.
The preferred embodiment of the present invention is illustrated below.
For the breviary graphic sequence that will be transmitted, Video coding is first carried out, is converted into video stream format, such as H264. After Video coding, thumbnail sequence data amount has greatly reduced at this time, and bandwidth occupancy reduces very considerable.And in video flowing After arriving at the destination, by decoding it, it can be reduced to the breviary graphic sequence of script.
In fact, for the video flowing formed after thumbnail sequential coding, each frame is corresponding in turn in thumbnail code Each picture of sequence.After video flowing in encoded arrives at the destination, recipient can decode at random according to their needs The picture needed.
Fig. 3 is a kind of process of the thumbnail compression transmission of the transmission method of thumbnail according to the preferred embodiment of the invention Figure, as shown in figure 3, the thumbnail compression transmission committed step is as follows:
(1) it by the thumbnail of needs, is arranged according to required sequence.
(2) it is encoded using video encoder (such as FFmpeg) according to set sequence, (stream format is not solid for outputting video streams It is fixed, can be h264 or h265 etc.).
(3) video flowing is sent to destination by transmission forms such as networks.
Fig. 4 is a kind of stream of the video flowing reduction thumbnail of the transmission method of thumbnail according to the preferred embodiment of the invention Cheng Tu, as shown in figure 4, video flowing reduction thumbnail committed step is as follows:
(1) recipient receives video flowing, is decoded using Video Decoder (such as FFmpeg)
(2) it is picture that each frame is exported when decoding, or decodes corresponding frame as needed
It can preferentially show that thumbnail carries out preview when being viewed locally Distance Courseware, when loading by network.At this point, the contracting Sketch map sequence can be compressed, and video flowing is encoded to, so that bandwidth is saved, it when the network environment is poor also can be relatively fast Ground is shown by local reception, and after decoded back is picture.
It transmits relative to previous thumbnail often directly to be transmitted by former data, the preferred embodiment of the invention is then Coding boil down to video flowing is first passed through, the data volume for needing to transmit is considerably reduced, reduces bandwidth requirement, improve user Experience.
Fig. 5 is a kind of structural schematic diagram of the transmitting device of thumbnail according to an embodiment of the present invention, as shown in figure 5, should The transmitting device of thumbnail, comprising: obtain module 52, coding module 54 and transmission module 56.Below to the transmission of the thumbnail Device is described in detail.
Module 52 is obtained, for determining the corresponding breviary graphic sequence of breviary graph type to be transmitted according to transmission priority, Wherein, breviary graph type includes: courseware thumbnail and webpage thumbnail;Coding module 54 is connected to above-mentioned acquisition module 52, uses In carrying out Video coding to breviary graphic sequence using preset coding and decoding video format, video flowing is generated, wherein preset video Code/decode format is determined according to transmission feature;Transmission module 56 is connected to above-mentioned coding module 54, for passing to recipient Defeated video flowing.
As a kind of optional embodiment, above-mentioned breviary graph type is different, and the scene of application is also different, for example, courseware Thumbnail is applied to check that Distance Courseware, webpage thumbnail are applied to browsing Web page image, certainly, in specific implementation and not only It is limited to the above-mentioned related breviary graph type of the application, the transmission method of the thumbnail in embodiment can also be applied to a variety of For example, photograph album thumbnail, file thumbnail etc. in scene.
As a kind of optional embodiment, above-mentioned breviary graphic sequence includes at least a hypertonic sketch map or multiple thumbnails, In the specific implementation process, any restriction is not done for specific number of thumbnails.It can be according to different breviary graph types Different breviary graphic sequences is generated, for example, courseware breviary graphic sequence, webpage breviary graphic sequence etc..
As a kind of optional embodiment, above-mentioned transmission priority is arranged according to different application demand, wherein transmission Priority includes but is not limited to the download time of thumbnail, the file format of thumbnail, the file size of thumbnail and breviary The file content etc. of figure.For example, when transmission priority is the download time of thumbnail, it can be according to download time sequencing Thumbnail to be transmitted is ranked up, to generate breviary graphic sequence, this sortord can be download time from morning to Evening sequence, is also possible to download time from evening to early sequence.
As a kind of optional embodiment, thumbnail to be transmitted is ranked up according to application demand, to generate contracting Sketch map sequence, convenient for carrying out subsequent operation processing to thumbnail to be transmitted, which includes denoising, compression etc.. Compression processing is carried out for example, choosing multiple thumbnails and generating breviary graphic sequence, treatment effeciency can be improved in this way.
As a kind of optional embodiment, video volume is carried out to breviary graphic sequence using preset coding and decoding video format Code generates video flowing, and preset coding and decoding video format is determined according to transmission feature, wherein transmission feature can be The video code model that sender and recipient support, can also be network environment (transmission bandwidth, the net of support being used for transmission Speed etc.).For example, the video code model that sender and recipient support is H264, H265, then it can use above two mode One of Video coding is carried out to breviary graphic sequence, and then generate the video flowing of corresponding coded format;If wherein a side supports H264, another party do not support H264, then the H265 supported jointly is selected to carry out Video coding.Similarly, in the net being used for transmission Fewer to the coding and decoding video format limitation of selection in the relatively good situation of network environment, otherwise, the video that can be chosen compiles solution Code format is fewer.For example, can choose more coding and decoding video format, different coding and decoding video lattice under Network status The size for the video flowing that formula obtains is also different, can transmit under this network, and when Network status is poor, due to transmission belt The limitation of width, network speed etc., for coding and decoding video format will select it is some be compressed into video flowing after, the lesser coding of file Format, can mitigate the pressure to bandwidth in this way, also can be that recipient checks or browse in time thumbnail.
As a kind of optional embodiment, carrying out Video coding to breviary graphic sequence can be accomplished in several ways, can To realize Video coding etc. using Video coding decoding software, for example, FFmpeg etc., can also utilize other coding journeys Sequence realizes Video coding.Be adapted to more running environment by different Video codings, be effectively ensured it is high portable with And coding quality.In addition, the video flowing of multiple format can be generated by above-mentioned coding mode, for example, flv format, avi lattice Formula, mp4 format etc. can carry out flexible choice according to transmission requirement.
It should be noted that carrying out Video coding to breviary graphic sequence further include: determine Video coding rule, wherein Video coding rule is used to state the data frame thumbnail corresponding with the data frame of video flowing;According to Video coding rule to contracting Sketch map sequence carries out Video coding, generates the video flowing of preset video code model.Above-mentioned Video coding rule is for stating Be the data frame of video flowing and the corresponding relationship of thumbnail, this corresponding relationship include it is one-to-one, one-to-many, many-one etc. is deposited Mapping relations.For example, a thumbnail corresponds to a data frame in video flowing, it is also can correspond to video flowing certainly In multiple data frames.Above-mentioned Video coding rule can use system default, can also be set according to application scenarios.
As a kind of optional embodiment, after video flowing generation, which can be streamed to recipient, and recipient Can be arbitrary mobile terminal, computer or other can be used for receiving the equipment of video flowing.For example, video flowing is passed through network It is transmitted to the mobile phone either multimedia computer of user.It in the prior art, such as user's preview Distance Courseware, will be successively It is transmitted or is shown in the way of thumbnail one by one, in the case where network environment is poor, transmit a large amount of breviary Figure there is still a need for more Internet resources are occupied, be easy to cause subsequent display occur Caton, can not preview the problem of.Compared to previous Thumbnail transmission mode is compressed into the thumbnail of video flowing by coding, and when being transmitted, the data volume of transmission is less, right The bandwidth requirement of transmission is lower, and can greatly reduce time delay, and the user experience is improved.
Through the foregoing embodiment, it may be implemented by having reached thumbnail code boil down to video flowing with thumbnail The form of video flowing transmits purpose, to realize the data volume for reducing thumbnail transmission, reduces the technical effect of bandwidth requirement, And then solves the technical problem that data volume is big, bandwidth requirement is high when thumbnail transmits in the related technology.
Fig. 6 is the structural schematic diagram of the transmitting device of another thumbnail according to an embodiment of the present invention, as shown in fig. 6, The transmitting device of the thumbnail, comprising: receiving module 62 and decoder module 64.The transmitting device of the thumbnail is carried out below detailed It describes in detail bright.
Receiving module 62, for receiving the video flowing corresponding with breviary graphic sequence of sender's transmission;Decoder module 64, even It is connected to above-mentioned receiving module 62, for carrying out video decoding to video flowing using preset coding and decoding video format, is decoded Thumbnail afterwards.
After recipient receives video flowing, required thumbnail, needs to solve above-mentioned video flowing in order to obtain Code, wherein video code model when preset coding and decoding video format encodes breviary graphic sequence at this time is consistent. For example, carrying out Video coding processing using H264 when coding, corresponding decoding is also required to carry out video decoding process with H264, this Sample can guarantee quickly and accurately to obtain thumbnail.For directly transmitting thumbnail in the past, that is, realize reduction The data volume of thumbnail transmission reduces bandwidth requirement, and by loading browsing thumbnail in network, can be clearly felt that contracting The time delay that sketch map is shown is reduced, and faster, the user experience is improved for display speed.
According to another aspect of an embodiment of the present invention, additionally provide a kind of Transmission system of thumbnail, including sender and Recipient, wherein sender is used for foundation transmission priority and determines the corresponding breviary graphic sequence of breviary graph type to be transmitted, In, breviary graph type includes: courseware thumbnail and webpage thumbnail;Using preset coding and decoding video format to breviary graphic sequence Video coding is carried out, generates video flowing, wherein preset coding and decoding video format is determined according to transmission feature;To reception Square transmitting video-frequency flow;Recipient is used to receive the video flowing corresponding with breviary graphic sequence of sender's transmission;Utilize preset view Frequency code/decode format carries out video decoding to video flowing, obtains decoded thumbnail.
Through the foregoing embodiment, Video coding is carried out to breviary graphic sequence using sender, generates video flowing, and receive Side carries out video decoding to above-mentioned video flowing, obtains required thumbnail.It realizes by by thumbnail code boil down to video Stream has reached the transmission purpose in the form of the video flowing of thumbnail, to realize the data volume for reducing thumbnail transmission, reduces The technical effect of bandwidth requirement, and then solve the technology that data volume is big, bandwidth requirement is high when thumbnail transmits in the related technology Problem.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, storage medium is stored with program, In, when program is run by processor, control processor executes the transmission method of any one of above-mentioned thumbnail.
According to another aspect of an embodiment of the present invention, a kind of computer equipment, including memory and processor are additionally provided, Memory is stored with program, and for processor for executing program, it is any one of above-mentioned that program executes processor The transmission method of thumbnail.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of transmission method of thumbnail characterized by comprising
The corresponding breviary graphic sequence of breviary graph type to be transmitted is determined according to transmission priority, wherein the breviary graph type It include: courseware thumbnail and webpage thumbnail;
Video coding is carried out to the breviary graphic sequence using preset coding and decoding video format, generates video flowing, wherein described Preset coding and decoding video format is determined according to transmission feature;
The video flowing is transmitted to recipient.
2. the method according to claim 1, wherein at least one in the following manner true according to transmission priority Determine the corresponding breviary graphic sequence of breviary graph type to be transmitted:
The corresponding breviary graphic sequence of breviary graph type to be transmitted is determined according to the download time of thumbnail;According to the text of thumbnail Part format determines the corresponding breviary graphic sequence of breviary graph type to be transmitted;It is determined according to the file size of thumbnail to be transmitted The corresponding breviary graphic sequence of breviary graph type;The corresponding contracting of breviary graph type to be transmitted is determined according to the file content of thumbnail Sketch map sequence.
3. according to the method described in claim 2, it is characterized in that, using preset coding and decoding video format to the thumbnail Sequence carries out Video coding, generates video flowing and includes:
Determine the corresponding relationship of each thumbnail data frame corresponding with the thumbnail in breviary graphic sequence;
According to the corresponding relationship and preset coding and decoding video format, the corresponding video flowing of the breviary graphic sequence is generated.
4. a kind of transmission method of thumbnail characterized by comprising
Receive the video flowing corresponding with breviary graphic sequence of sender's transmission;
Video decoding is carried out to the video flowing using preset coding and decoding video format, obtains decoded thumbnail.
5. according to the method described in claim 4, it is characterized in that, using preset coding and decoding video format to the video flowing Video decoding is carried out, obtaining decoded thumbnail includes:
Receive the corresponding relationship of each thumbnail data frame corresponding with the thumbnail in breviary graphic sequence;
Video decoding is carried out according to partial data frame of the corresponding relationship to the video flowing, obtains decoded thumbnail;
And/or
Video decoding is carried out according to total data frame of the corresponding relationship to the video flowing, obtains decoded thumbnail.
6. a kind of transmitting device of thumbnail characterized by comprising
Module is obtained, for determining the corresponding breviary graphic sequence of breviary graph type to be transmitted according to transmission priority, wherein institute Stating breviary graph type includes: courseware thumbnail and webpage thumbnail;
Coding module generates view for carrying out Video coding to the breviary graphic sequence using preset coding and decoding video format Frequency flows, wherein the preset coding and decoding video format is determined according to transmission feature;
Transmission module, for transmitting the video flowing to recipient.
7. a kind of transmitting device of thumbnail characterized by comprising
Receiving module, for receiving the video flowing corresponding with breviary graphic sequence of sender's transmission;
Decoder module, for carrying out video decoding to the video flowing using preset coding and decoding video format, after obtaining decoding Thumbnail.
8. a kind of Transmission system of thumbnail, which is characterized in that including sender and recipient, wherein
Described sender is used to determine the corresponding breviary graphic sequence of breviary graph type to be transmitted according to transmission priority, wherein The breviary graph type includes: courseware thumbnail and webpage thumbnail;Using preset coding and decoding video format to the breviary Graphic sequence carries out Video coding, generates video flowing, wherein the preset coding and decoding video format is determined according to transmission feature 's;The video flowing is transmitted to recipient;
The recipient is used to receive the video flowing corresponding with breviary graphic sequence of sender's transmission;It is compiled and is solved using preset video Code format carries out video decoding to the video flowing, obtains decoded thumbnail.
9. a kind of storage medium, which is characterized in that the storage medium is stored with program, wherein in described program by processor The transmission method of thumbnail described in any one of described processor perform claim requirement 1 to 5 is controlled when operation.
10. a kind of computer equipment, which is characterized in that including memory and processor, the memory is stored with program, described Processor makes the processor perform claim require any one of 1 to 5 for executing described program, described program when running The transmission method of the thumbnail.
CN201910586061.3A 2019-07-01 2019-07-01 Transmission method, the apparatus and system of thumbnail Pending CN110324669A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910586061.3A CN110324669A (en) 2019-07-01 2019-07-01 Transmission method, the apparatus and system of thumbnail

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910586061.3A CN110324669A (en) 2019-07-01 2019-07-01 Transmission method, the apparatus and system of thumbnail

Publications (1)

Publication Number Publication Date
CN110324669A true CN110324669A (en) 2019-10-11

Family

ID=68122265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910586061.3A Pending CN110324669A (en) 2019-07-01 2019-07-01 Transmission method, the apparatus and system of thumbnail

Country Status (1)

Country Link
CN (1) CN110324669A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101438593A (en) * 2006-03-10 2009-05-20 Lg电子株式会社 Video browsing based on thumbnail image
CN102342096A (en) * 2009-01-06 2012-02-01 Lg电子株式会社 Apparatus for processing images and method thereof
CN104954812A (en) * 2014-03-27 2015-09-30 腾讯科技(深圳)有限公司 Video synchronized playing method, device and system
US20180070093A1 (en) * 2016-09-07 2018-03-08 Samsung Electronics Co., Ltd. Display apparatus and control method thereof
CN108024159A (en) * 2017-12-07 2018-05-11 上海网达软件股份有限公司 A kind of generation method and system of video file thumbnail
CN109040840A (en) * 2018-09-20 2018-12-18 深圳市道通智能航空技术有限公司 Image transfer method, device, image transmitting terminal and aircraft image transmission system
CN109766458A (en) * 2016-06-08 2019-05-17 广州视源电子科技股份有限公司 Lantern slide control method for playing back and intelligent terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101438593A (en) * 2006-03-10 2009-05-20 Lg电子株式会社 Video browsing based on thumbnail image
CN102342096A (en) * 2009-01-06 2012-02-01 Lg电子株式会社 Apparatus for processing images and method thereof
CN104954812A (en) * 2014-03-27 2015-09-30 腾讯科技(深圳)有限公司 Video synchronized playing method, device and system
CN109766458A (en) * 2016-06-08 2019-05-17 广州视源电子科技股份有限公司 Lantern slide control method for playing back and intelligent terminal
US20180070093A1 (en) * 2016-09-07 2018-03-08 Samsung Electronics Co., Ltd. Display apparatus and control method thereof
CN108024159A (en) * 2017-12-07 2018-05-11 上海网达软件股份有限公司 A kind of generation method and system of video file thumbnail
CN109040840A (en) * 2018-09-20 2018-12-18 深圳市道通智能航空技术有限公司 Image transfer method, device, image transmitting terminal and aircraft image transmission system

Similar Documents

Publication Publication Date Title
US10798386B2 (en) Video compression with generative models
CN105472392B (en) Screen video decoding method and codec based on the compression of gradual character block
CN110072119B (en) Content-aware video self-adaptive transmission method based on deep learning network
CN111416989A (en) Video live broadcast method and system and electronic equipment
CN107211167A (en) Video is decoded
US11601617B2 (en) Method for forming an output image sequence from an input image sequence, method for reconstructing an input image sequence from an output image sequence, associated devices, server equipment, client equipment and computer programs
CN102547375A (en) Transmission method for quickly previewing H.264 coded picture
CN105635636A (en) Video conference system and method for realizing transmission control of video image
US10542255B2 (en) Image processing for compression
CN104813633B (en) Method for transmitting video-frequency flow
CN102263942A (en) Scalable video transcoding device and method
CN110474867A (en) A kind of transmission method of multi-medium data, system and equipment
CN105635188B (en) A kind of visual content distribution method and system
CN111263160A (en) Video coding processing method and device adaptive to wireless transmission dynamic change
CN105635738B (en) Video flowing providing method and system and relay
CN117121480A (en) High level syntax for signaling neural networks within a media bitstream
CN108540745A (en) Transmission method, transmitting terminal, receiving terminal and the Transmission system of high definition double fluid video
CN104854872A (en) Transmission device, transmission method, reception device, and reception method
CN110324669A (en) Transmission method, the apparatus and system of thumbnail
EP4161072A1 (en) High-level syntax for signaling neural networks within a media bitstream
WO2017108573A1 (en) Devices for video encoding and reconstruction with adaptive quantization
CN105611387B (en) Video image method for previewing and system
CN109561119A (en) A kind of data transmission method for uplink, data receiver method and equipment
EP2786586B1 (en) Processing device for the generation of 3d content versions and associated device for obtaining content
CN106534137B (en) Media stream 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191011