CN104135670B - A kind of video broadcasting method and device - Google Patents

A kind of video broadcasting method and device Download PDF

Info

Publication number
CN104135670B
CN104135670B CN201410350485.7A CN201410350485A CN104135670B CN 104135670 B CN104135670 B CN 104135670B CN 201410350485 A CN201410350485 A CN 201410350485A CN 104135670 B CN104135670 B CN 104135670B
Authority
CN
China
Prior art keywords
video
information
video data
watermark
video playback
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.)
Expired - Fee Related
Application number
CN201410350485.7A
Other languages
Chinese (zh)
Other versions
CN104135670A (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.)
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Information Technology Beijing 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 LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to CN201410350485.7A priority Critical patent/CN104135670B/en
Publication of CN104135670A publication Critical patent/CN104135670A/en
Application granted granted Critical
Publication of CN104135670B publication Critical patent/CN104135670B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Systems (AREA)

Abstract

The invention discloses a kind of video broadcasting method and device, method is the watermark relevant information of the video data sent according to server, generates the watermark information of the video data;During above-mentioned video data is played, the watermark information of above-mentioned video data is presented in video playback interface.Using technical solution of the present invention, server only needs to send a watermark information to client, so as to improve the efficiency of transmission of video data;And, the watermark relevant information that client is sent according to server generates watermark information, added to just at the video playback interface of playing video data, watermark information need not be added in each data fragmentation of video data, so as to effectively increase the efficiency of Video coding, the complexity of the watermark information change to video data is reduced.

Description

A kind of video broadcasting method and device
Technical field
The present invention relates to multimedia technology field, more particularly to a kind of video broadcasting method and device.
Background technology
With the rapid development of the communication technology, have been obtained for generally should by all kinds client terminal playing video data With.
Such as video playback time information, video are included in video display process, in the video playback interface of client to broadcast Put the watermark informations such as station symbol.At present, it is typically employed in during video data encoding, watermark information is added into video data In mode ensure that watermark information can be presented in video playback interface.Specifically, watermark information is added by staff Preserved after among to video data to server;When the video data that server receives client transmission obtains request, clothes The video data transmitting for adding watermark information is delivered to client by business device;Client parses the video counts of above-mentioned addition watermark information According to, and the watermark information of the video data played will be presented in video playback interface.
Because video data is made up of multiple data fragmentations, and video data is played in units of data fragmentation, because This, in order to ensure in video display process, can be presented the water of the video data played always in video playback interface Official seal is ceased, it is necessary to add watermark information in each data fragmentation in video data.As can be seen here, using above-mentioned technical side Case, it is required to add watermark information in each data fragmentation of video data, causes video data and take memory space Greatly, efficiency of transmission is low, and the waste of human resource during video data encoding, improves the cost of video data encoding Problem;Also, after the watermark information of video data determines, if desired change the watermark information, it would be desirable to which staff enters Row manual operation, add watermark information change difficulty.
In summary, at present in video display process, there is that video data transmission efficiency is low, and video coding efficiency is low, And watermark information changes the problem of complexity is high.
The content of the invention
The embodiment of the present invention provides a kind of video broadcasting method and device, video data biography be present to solve prior art The problem of defeated efficiency is low, and video coding efficiency is low, and watermark information change complexity is high.
Concrete technical scheme provided in an embodiment of the present invention is as follows:
A kind of video broadcasting method, including:
Video acquisition request message is sent to server;
Video data and the video that the server is generated based on the video acquisition request message are received respectively The watermark relevant information of data;
According to the watermark relevant information, the watermark information of the video data is generated;
While playing the video data at video playback interface, the video data is presented at video playback interface Watermark information.
Optionally, the watermark relevant information include video playback time started and video playback end time, flag, Source address information, any one or any combination in video name information.
Using above-mentioned technical proposal, watermark relevant information is sent to client, added watermark information so as to avoid Into each data fragmentation of video data, video data takes the problem of memory space is larger, improves video data Efficiency of transmission.
Optionally, when the watermark relevant information includes video playback time started and video playback end time, root According to the video playback time started and video playback end time, the temporal information of the video data is obtained;When the water When print pass information includes video playback time started and video playback end time and flag, by the video playback Time started and video playback end time compared with current time, and according to comparative result and the flag, give birth to Into the video broadcasting condition information of the video data;When the watermark relevant information includes source address information, according to described The source address information of video data, obtain the station symbol information of the video data;When the watermark relevant information includes video name When claiming information, according to the video name information, the video name of the video data is obtained.
Optionally, when the video playback time started is earlier than the current time, and the video playback end time When being later than the current time, the video broadcasting condition information of the video data is live state;When the video playback knot The beam time earlier than the current time, and when the flag is the first mark, the video broadcasting condition letter of the video data Cease for playback state;When the video playback end time is earlier than the current time, and the flag is the second mark, The video broadcasting condition information of the video data is recorded broadcast state.
Using above-mentioned technical proposal, according to video playback time started, video playback end time and current time, energy Enough accurate acquisition video broadcasting condition information.
Optionally, according to the address carried in the source address information of the video data, access and taken corresponding to the address It is engaged in device, and the station symbol information of the video data is obtained from the server;Or parse the source address letter of the video data Breath, obtains the station symbol information carried in the source address information;Wherein, the station symbol information includes at least one station symbol.
Optionally, the resolution information of the video data is obtained, and according to the resolution information, the watermark is set The display size of information;And obtain the positional information of the watermark information;A hyaline layer, root are created on video playback interface Display location of the watermark information on the hyaline layer is set according to the positional information, and shown according to the display size The watermark information.
Using above-mentioned technical proposal, according to the resolution information at video playback interface, the size of watermark information is set, so as to The problem of watermark information deformation is presented caused by when watermark information size is fixed is avoided, watermark information is improved and effect is presented Fruit.
Optionally, when the station symbol information includes at least two station symbols, according to preset order, in video playback circle The display location of the station symbol information set in face, is presented at least two station symbol successively;Wherein, each described station symbol The when a length of preset duration presented in the video playback interface.
Using above-mentioned technical proposal, set according to user, display portion or whole watermarks letter in video playback interface Breath, so as to improve the flexibility that watermark information is shown.
A kind of video play device, including:
Transmitting element, for sending video acquisition request message to server;
Receiving unit, the video data generated for receiving the server respectively based on the video acquisition request message And the watermark relevant information of the video data;
Generation unit, for according to the watermark relevant information, generating the watermark information of the video data;
Broadcast unit, for while the broadcasting video data of video playback interface, being presented at video playback interface The watermark information of the video data.
Optionally, the receiving unit is used for:Receive video playback time started and video playback end time, mark Position, source address information, any one or any combination in video name information.
Using above-mentioned technical proposal, watermark relevant information is sent to client, added watermark information so as to avoid Into each data fragmentation of video data, video data takes the problem of memory space is larger, improves video data Efficiency of transmission.
Optionally, the broadcast unit, is specifically used for:The resolution information of the video data is obtained, and according to described Resolution information, the display size of the watermark information is set and obtains the positional information of the watermark information;In video playback A hyaline layer is created on interface, display position of the watermark information on the hyaline layer is set according to the positional information Put, and the watermark information is shown according to the display size.
Using above-mentioned technical proposal, according to the resolution information at video playback interface, the size of watermark information is set, so as to The problem of watermark information deformation is presented caused by when watermark information size is fixed is avoided, watermark information is improved and effect is presented Fruit.
Optionally, when the station symbol information includes at least two station symbols, the broadcast unit, it is specifically used for:According to pre- If order, the display location of the station symbol information set in the video playback interface, is presented described at least two successively Station symbol;Wherein, when a length of preset duration that each described station symbol is presented in the video playback interface.
Using above-mentioned technical proposal, set according to user, display portion or whole watermarks letter in video playback interface Breath, so as to improve the flexibility that watermark information is shown.
In the embodiment of the present invention, the reception server is sent respectively video data and watermark relevant information, according to video The watermark relevant information of data, generate the watermark information of the video data;During above-mentioned video data is played, in video The watermark information of above-mentioned video data is presented in broadcast interface.Using technical solution of the present invention, server is only needed a watermark Information is sent to client, so as to improve the efficiency of transmission of video data;Also, the watermark that client is sent according to server Relevant information generates watermark information, added to just at the video playback interface of playing video data, without in the every of video data Watermark information is added in one data fragmentation, so as to effectively increase the efficiency of Video coding, reduces the water to video data The complexity of official seal breath change.
Brief description of the drawings
Fig. 1 is communication system architecture schematic diagram in the embodiment of the present invention;
Fig. 2 is video playback flow chart one in the embodiment of the present invention;
Fig. 3 is video playback interfacial effect figure in the embodiment of the present invention;
Fig. 4 is video playback flowchart 2 in the embodiment of the present invention;
Fig. 5 is video play device structural representation in the embodiment of the present invention.
Embodiment
Have that video data transmission efficiency is low, and video coding efficiency is low to solve prior art, and watermark information is more Change the problem of complexity is high.In the embodiment of the present invention, the reception server is sent respectively video data and watermark relevant information, According to the watermark relevant information of video data, the watermark information of the video data is generated;Playing the process of above-mentioned video data In, the watermark information of above-mentioned video data is presented in video playback interface.Using technical solution of the present invention, server only need by A watermark information is sent to client, so as to improve the efficiency of transmission of video data;Also, client is sent out according to server The watermark relevant information generation watermark information sent, added to just at the video playback interface of playing video data, without in video Watermark information is added in each data fragmentation of data, so as to effectively increase the efficiency of Video coding, is reduced to video The complexity of the watermark information change of data.
As shown in fig.1, be communication system architecture schematic diagram in the embodiment of the present invention, wherein, included in the communication system Server, and multiple client, below exemplified by including a server and a client in communication system, with reference to accompanying drawing The preferred embodiment of the present invention is described in detail.
As shown in fig.2, in the embodiment of the present invention, the detailed process for carrying out video playback is:
Step 200:Video acquisition request message is sent to server.
In the embodiment of the present invention, after client terminal start-up, video acquisition request message is sent to server;Or client Hold after starting, the video labeling to be played selected according to user, generation video acquisition request message is sent to server.Its In, above-mentioned client is computer, mobile terminal, or TV.
Optionally, when client is mobile terminal or computer, the client access server provide webpage or The client-side program for the server that person's operation is locally stored, server detect the web page access or client-side program of client After operation, i.e., video play lists are sent to client;The video play lists are presented in client in local interface;Client The video labeling to be played selected according to user is held, generates video acquisition request message;When client is TV, the client After startup, i.e., video acquisition request message can be sent to server, with acquisition request video play lists and video data.
Optionally, the video acquisition request message that client is sent can be to meet HTTP (Hyper Text Transport Protocol;Hypertext Transfer Protocol) type message.
Step 210:The reception server is generated based on above-mentioned video acquisition request message respectively video data and this regard The watermark relevant information of frequency evidence.
In the embodiment of the present invention, in above-mentioned video acquisition request message, the client of acquisition request video is also carried Device type.After server receives the video acquisition request message that above-mentioned client is sent, disappeared according to video acquisition request The device type carried in breath, when judge the client for TV when, according to the video acquisition request message, generate preset time The video data of current time in video play lists and the video play lists in section;Wherein, preset time period by with Family is pre-set as the case may be, is such as arranged to 24 hours.
Optionally, above-mentioned watermark relevant information include video playback time started and video playback end time, flag, Any one in the source address information and video name information of video data or any combination.
Using above-mentioned technical proposal, watermark relevant information is sent to client, added watermark information so as to avoid Into each data fragmentation of video data, video data takes the problem of memory space is larger, improves video data Efficiency of transmission.
Step 220:According to above-mentioned watermark relevant information, the watermark information of above-mentioned video data is generated.
In the embodiment of the present invention, respectively according to the video playback time started and video included in above-mentioned watermark relevant information End time, flag, the source address information of video data, and video name information are played, generates corresponding watermark information. Specifically, different according to the content included in watermark relevant information, the watermark information of generation is different, therefore, corresponding to watermark phase Information is closed, watermark information can only include temporal information, either video broadcasting condition or station symbol information, or video name, Above-mentioned every any combination can also be included.
Optionally, when watermark relevant information includes video playback time started and video playback end time, according to upper The video playback time started and video playback end time included in watermark relevant information is stated, obtains the time letter of video data Breath.Specifically, temporal information that can be directly using video playback time started and video playback end time as video data, For example, when the video playback time started of video data is 14:00, the video playback end time is 16:When 00, the video data Temporal information be 14:00-16:00;It can also calculate between video playback time started and video playback end time Time difference, and using the time difference as temporal information, for example, when the video playback time started of video data is 14:00, video It is 16 to play the end time:When 00, the temporal information of the video data is 2 hours;Above-mentioned video playback can also be started Time and video playback end time, and temporal information of the time difference as video data.
Optionally, when watermark relevant information includes video playback time started and video playback end time, during flag, It is raw according to the video playback time started and video playback end time included in above-mentioned watermark relevant information, and flag Into the video broadcasting condition of video data, specifically include:By video playback time started and video playback end time and currently Time is compared;When the video playback time started is earlier than current time, and the video playback end time is later than current Between when, that is, it is in the video data played to represent the video data, and now, the video broadcasting condition of video data is believed Cease for live state;When the video playback end time is earlier than current time, that is, it is non-live state to represent the video data, Now, the video broadcasting condition of video data is identified according to flag, when flag is the first mark, represents the video data Video broadcasting condition information be playback state;When the video playback end time is earlier than current time, and flag is the second mark During knowledge, that is, the video broadcasting condition information for representing above-mentioned video data is recorded broadcast state.Wherein, above-mentioned flag is to set in advance Put, be such as arranged to binary code, i.e., first is identified as 0, and second is identified as 1;Or when the video playback end time is earlier than current During the time, flag only can be added in video data is played back, the video of the flag will not be included in watermark relevant information The video broadcasting condition of data only can also add flag, by watermark correlation as recorded broadcast state in recorded broadcast video data The video broadcasting condition of the video data not comprising the flag is as playback state in information.Wherein, above-mentioned flag can be with Carried by isRecord fields, client judges the information represented by flag by parsing the isRecord fields.
Using above-mentioned technical proposal, according to video playback time started, video playback end time and current time, energy Enough accurate acquisition video broadcasting condition information.
Optionally, when watermark relevant information includes source address information, regarded according to what is included in above-mentioned watermark relevant information The source address information of frequency evidence, the station symbol information of video data is generated, is specifically included:First way, according to above-mentioned video counts According to source address information in the address that carries, access server corresponding to the address, and above-mentioned video data is obtained from server Station symbol information, wherein, client can from server directly obtain video data station symbol information, can also be from server The upper station symbol picture for obtaining video data, parses the station symbol picture, according to analysis result, obtains the station symbol information of video data; The second way, the source address information of above-mentioned video data is parsed, obtain the station symbol information carried in the source address information.Upper During stating, station symbol information includes at least one station symbol, and station symbol information, and the station symbol packet are obtained when using first way When including at least two station symbols, client obtains multiple station symbol pictures of video data from server, respectively to each station symbol Picture is parsed, and according to analysis result, obtains the station symbol information of each station symbol picture respectively.Compared to the second way, Although obtain the station symbol information of video data using first way, the Signalling exchange increase between client and server, But by station symbol picture and video data and its watermark relevant information separately transmit, data transmission period can be shortened, reduced The waiting time of video playback.
Optionally, when watermark relevant information includes video name information, regarded to what is included in above-mentioned watermark relevant information Frequency name information is parsed, and obtains the video name of the video data carried in the video name information.
Further, according to user's needs, other information can also be increased in watermark relevant information, as video type is believed Breath;Client generates corresponding watermark information, presented according to increased watermark relevant information.
Step 230:While playing above-mentioned video data at video playback interface, above-mentioned regard is presented at video playback interface The watermark information of frequency evidence.
In the embodiment of the present invention, after the watermark information of video data is obtained, as watermark information sets corresponding display Size and positional information, and in video display process, in one hyaline layer of video playback interface creating, believed according to the position Breath sets display location of the watermark information on above-mentioned hyaline layer, and shows the watermark information according to the display size.
Optionally, the resolution information of the video data of client is obtained, and according to the resolution information, is set respectively The display size of the temporal information of video data, the display size of the video broadcasting condition of video data are stated, video name shows Show size, and the display size of the station symbol information of video data;And the positional information of the temporal information of video data is obtained, The station symbol information of the positional information of the video broadcasting condition of video data, the positional information of video name, and video data Positional information;According to the positional information and display size of above-mentioned temporal information, it is at the local video playback interface of client The temporal information of existing video data;According to the positional information and display size of video broadcasting condition, in regarding for client local The video broadcasting condition of video data is presented in frequency broadcast interface;According to the positional information and display size of station symbol information, in client The station symbol information of video data is presented in the local video playback interface in end.
Optionally, the positional information of the positional information of above-mentioned temporal information and video name can with identical, now, according to Preset order, above-mentioned temporal information and video name is presented in video playback interface successively.Further, when above-mentioned watermark When video playback time started and video playback end time are only included in relevant information, when only being presented in video playback interface Between information;When only including video name information in above-mentioned watermark relevant information, video name is presented only in video playback interface Claim.Using above-mentioned technical proposal, set according to user, display portion or whole watermark informations in video playback interface, from And improve the flexibility that watermark information is shown.
Optionally, according to the resolution information of the local video data of client, the aobvious of above-mentioned watermark information is set respectively Show size, specifically include:The resolution information of the local video data of client is obtained, according to the resolution information, according to pre- If ratio, the display size of watermark information is set.For example, when the resolution information of video data is 1920*820, ratio is preset Example is arranged to 1/1000, and the display size of watermark information is arranged into 1920* (1/1000) centimetres and 820* (1/1000) li Rice.Using above-mentioned technical proposal, according to the resolution information of video data, the display size of watermark information is set, so as to avoid The problem of watermark information deformation is presented caused by when watermark information display size is fixed, improves watermark information presentation and imitate Fruit.
Optionally, as shown in fig.3, when client uses Android system, client is locally passing through SurfaceView Control realizes the broadcasting of video data, and realizes the presentation of watermark information by RelativeLayout controls;Wherein, The video data of SurfaceView controls is located at bottom level, and the watermark information level of RelativeLayout controls is located at On the video data level of SurfaceView controls, and the watermark information level of RelativeLayout controls is the transparent back of the body Scape;Wherein, the transparent background effect of watermark information is realized using Android View controls;And by ImageView controls and TextView controls realize the presentation of picture and word respectively., will by two kinds of different controls using above-mentioned technical proposal Video data and watermark information are placed in different levels and handled, and are independent of each other between two levels, so as to ensure While smooth playing video data, the watermark information of the video data is presented;Also, working as needs to change watermark information When, directly level is modified where watermark information, avoids and video data is recompiled, and improves watermark letter Breath change efficiency.
Optionally, when above-mentioned station symbol information includes at least two station symbols, according to preset order, successively in the video Above-mentioned at least two station symbol is presented in broadcast interface;Wherein, the duration that each station symbol is presented in above-mentioned video playback interface For preset duration.For example, when being respectively station symbol A in the presence of three station symbols, when station symbol B, station symbol C, in the opening position of station symbol information, the Station symbol A is presented in one preset duration, station symbol B is presented in the second preset duration, station symbol C is presented in the 3rd preset duration, according to upper Order circulation display successively is stated, until the video data of above-mentioned station symbol information finishes.In addition, when client uses Android system During system, Android Handler controls can be used, the show/hide functions of Android ImageView controls, reach according to The purpose of secondary all station symbols of display.
Further, the watermark relevant information obtained from server is watermark information, and client is in video display process In, above-mentioned watermark relevant information is directly presented on video playback interface.
Further, when the watermark information for the video data that video playback interface is presented is more is unsatisfactory for user's request, User voluntarily can be configured in terminal, specifically include:The setting instruction that user sends is received, by some or all of water Official seal breath is arranged to hidden state.For example, when user sets and do not show station symbol information, will not be presented in video playback interface Station symbol information.Optionally, when client uses Android system, the show/ of Android ImageView controls can be used Hide functions, display or hiding all or part of watermark information.
Based on above-mentioned technical proposal, as shown in fig.4, with reference to concrete application scene, so that client is TV as an example, Video display process is described in detail:
Step 400:After client terminal start-up, video acquisition request message is sent to server.
Step 401:The related letter of watermark for the video data and the video data that client difference the reception server is sent Breath.
Step 402:Client will include video playback time started t1 and end time t2 with working as in watermark relevant information Preceding time t is compared.
Step 403:As t1 < t < t2, the video broadcasting condition for judging video data is live state.
Step 404:As t > t2, judge whether that special identifier accords with information, if in the presence of, step 405 is performed, it is no Then, step 406 is performed.
Step 405:The video broadcasting condition for judging video data is recorded broadcast state.
Step 406:The video broadcasting condition for judging video data is playback state.
Step 407:Client according to video playback time started and video playback end time, obtain video data when Between information.
Step 408:Client obtains the video of video data according to the video name information included in watermark relevant information Title.
Step 409:Client according to the source address information included in watermark relevant information, believe by the station symbol for obtaining video data Breath.
Step 410:Whether the station symbol quantity that client judges to include in station symbol information is more than one, if so, performing step 411;Otherwise, step 412 is directly performed.
Step 411:Duration is presented in client setting table target presentation order and each station symbol.
In the embodiment of the present invention, between above-mentioned steps 402, step 407, step 408 and step 409 in no particular order sequentially, Client can perform above-mentioned each step simultaneously.
Step 412:Client is respectively above-mentioned temporal information, video name, station symbol information, video broadcasting condition configuration bit Confidence ceases and display size.
Step 413:Client is while playing video data, according to the positional information of every watermark information and display Size, above-mentioned temporal information, video name, station symbol information, video broadcasting condition is presented at video playback interface.
Based on above-mentioned technical proposal, as shown in fig.5, the present invention provides a kind of video play device, including transmitting element 50, receiving unit 51, generation unit 52, and broadcast unit 53, wherein:
Transmitting element 50, for sending video acquisition request message to server;
Receiving unit 51, the video counts generated for receiving the server respectively based on the video acquisition request message According to this and the video data watermark relevant information;
Generation unit 52, for according to the watermark relevant information, generating the watermark information of the video data;
Broadcast unit 53, for while the broadcasting video data of video playback interface, being at video playback interface The watermark information of the existing video data;
Optionally, receiving unit 51 is used for:Receive video playback time started and video playback end time, flag, Source address information, any one or any combination in video name information.
Optionally, generation unit 52, it is specifically used for:When the watermark relevant information includes the video playback time started and regards When frequency plays the end time, according to the video playback time started and video playback end time, the video data is obtained Temporal information;When the watermark relevant information includes video playback time started and video playback end time and mark During position, by the video playback time started and video playback end time compared with current time, and tied according to comparing Fruit and the flag, generate the video broadcasting condition information of the video data;When the watermark relevant information includes source During address information, according to the source address information of the video data, the station symbol information of the video data is obtained;When the watermark When relevant information includes video name information, according to the video name information, the video name of the video data is obtained.
Optionally, generation unit 52, it is specifically used for:When the video playback time started is earlier than the current time, and When the video playback end time is later than the current time, the video broadcasting condition information of the video data is live shape State;When the video playback end time is earlier than the current time, and the flag is the first mark, the video counts According to video broadcasting condition information be playback state;When the video playback end time is earlier than the current time, and it is described When flag is the second mark, the video broadcasting condition information of the video data is recorded broadcast state.
Optionally, generation unit 52, it is specifically used for:According to the address carried in the source address information of the video data, Server corresponding to the address is accessed, and the station symbol information of the video data is obtained from the server;Or parsing institute The source address information of video data is stated, obtains the station symbol information carried in the source address information;Wherein, the station symbol packet Include at least one station symbol.
Optionally, broadcast unit 53, it is specifically used for:The resolution information of the video data is obtained, and according to described point Resolution information, the display size of the watermark information is set and obtains the positional information of the watermark information;In video playback circle A hyaline layer is created on face, display location of the watermark information on the hyaline layer is set according to the positional information, And show the watermark information according to the display size.
Optionally, when the station symbol information includes at least two station symbols, the broadcast unit 53, it is specifically used for:According to Preset order, the display location of the station symbol information set in the video playback interface, successively at least two described in presentation Individual station symbol;Wherein, when a length of preset duration that each described station symbol is presented in the video playback interface.
In summary, in the embodiment of the present invention, video acquisition request message is sent to server;The reception server base respectively In the video data of above-mentioned video acquisition request message generation and the watermark relevant information of the video data;According to above-mentioned watermark Relevant information, generate the watermark information of above-mentioned video data;Video playback interface play above-mentioned video data while, regarding The watermark information of above-mentioned video data is presented in frequency broadcast interface.Using technical solution of the present invention, server is only needed a watermark Information is sent to client, so as to improve the efficiency of transmission of video data;Also, the watermark that client is sent according to server Relevant information generates watermark information, added to just at the video playback interface of playing video data, without in the every of video data Watermark information is added in one data fragmentation, so as to effectively increase the efficiency of Video coding, reduces the water to video data The complexity of official seal breath change.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without departing from this hair to the embodiment of the present invention The spirit and scope of bright embodiment.So, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to comprising including these changes and modification.

Claims (7)

  1. A kind of 1. video broadcasting method, it is characterised in that including:
    Video acquisition request message is sent to server;
    Video data and the video data that the server is generated based on the video acquisition request message are received respectively Watermark relevant information;
    According to the watermark relevant information, the watermark information of the video data is generated;
    While playing the video data at video playback interface, the watermark of the video data is presented at video playback interface Information;
    Wherein, the watermark relevant information includes:Video playback time started and video playback end time, flag, source Location information, any one or any combination in video name information;
    Wherein, according to the watermark relevant information, the watermark information of the video data is generated, is specifically included:
    When the watermark relevant information includes video playback time started and video playback end time, broadcast according to the video Time started and video playback end time are put, obtains the temporal information of the video data;
    , will when the watermark relevant information includes video playback time started and video playback end time and flag The video playback time started and video playback end time compared with current time, and according to comparative result and institute Flag is stated, generates the video broadcasting condition information of the video data;
    When the watermark relevant information includes source address information, according to the source address information of the video data, described in acquisition The station symbol information of video data;
    When the watermark relevant information includes video name information, according to the video name information, the video counts are obtained According to video name.
  2. 2. the method as described in claim 1, it is characterised in that according to comparative result and the flag, regarded described in generation The video broadcasting condition information of frequency evidence, is specifically included:
    When the video playback time started is earlier than the current time, and the video playback end time be later than it is described current During the time, the video broadcasting condition information of the video data is live state;
    When the video playback end time is earlier than the current time, and the flag is the first mark, the video The video broadcasting condition information of data is playback state;
    When the video playback end time is earlier than the current time, and the flag is the second mark, the video The video broadcasting condition information of data is recorded broadcast state.
  3. 3. the method as described in claim 1, it is characterised in that according to the source address information of the video data, described in acquisition The station symbol information of video data, is specifically included:
    According to the address carried in the source address information of the video data, server corresponding to the address is accessed, and from institute State the station symbol information that server obtains the video data;Or
    The source address information of the video data is parsed, obtains the station symbol information carried in the source address information;
    Wherein, the station symbol information includes at least one station symbol.
  4. 4. method as claimed in claim 3, it is characterised in that when the station symbol information includes at least two station symbols, in institute The station symbol information that the video data is presented in video playback interface is stated, is specifically included:
    According to preset order, the display location of the station symbol information set in the video playback interface, institute is presented successively State at least two station symbols;Wherein, when a length of preset duration that each described station symbol is presented in the video playback interface.
  5. 5. the method as described in claim any one of 1-4, it is characterised in that play the video data at video playback interface While, the watermark information of the video data is presented at video playback interface, including:
    Obtain the resolution information of the video data, and according to the resolution information, the display size of watermark information is set; And
    Obtain the positional information of the watermark information;
    A hyaline layer is created on video playback interface, the watermark information is set described transparent according to the positional information Display location on layer, and show the watermark information according to the display size.
  6. A kind of 6. video play device, it is characterised in that including:
    Transmitting element, for sending video acquisition request message to server;
    Receiving unit, for receive respectively video data that the server generated based on the video acquisition request message and The watermark relevant information of the video data;
    Generation unit, for according to the watermark relevant information, generating the watermark information of the video data;
    Broadcast unit, described in while the broadcasting video data of video playback interface, being presented at video playback interface The watermark information of video data;
    Wherein, the receiving unit, for receiving video playback time started and video playback end time, flag, source Location information, any one or any combination in video name information;
    Wherein, the generation unit, is specifically used for:
    When the watermark relevant information includes video playback time started and video playback end time, broadcast according to the video Time started and video playback end time are put, obtains the temporal information of the video data;
    , will when the watermark relevant information includes video playback time started and video playback end time and flag The video playback time started and video playback end time compared with current time, and according to comparative result and institute Flag is stated, generates the video broadcasting condition information of the video data;
    When the watermark relevant information includes source address information, according to the source address information of the video data, described in acquisition The station symbol information of video data;
    When the watermark relevant information includes video name information, according to the video name information, the video counts are obtained According to video name.
  7. 7. device as claimed in claim 6, it is characterised in that the broadcast unit is used for:
    Obtain the resolution information of the video data, and according to the resolution information, the display size of watermark information is set; And obtain the positional information of the watermark information;A hyaline layer is created on video playback interface, according to the positional information Display location of the watermark information on the hyaline layer is set, and the watermark information is shown according to the display size.
CN201410350485.7A 2014-07-22 2014-07-22 A kind of video broadcasting method and device Expired - Fee Related CN104135670B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410350485.7A CN104135670B (en) 2014-07-22 2014-07-22 A kind of video broadcasting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410350485.7A CN104135670B (en) 2014-07-22 2014-07-22 A kind of video broadcasting method and device

Publications (2)

Publication Number Publication Date
CN104135670A CN104135670A (en) 2014-11-05
CN104135670B true CN104135670B (en) 2018-01-19

Family

ID=51808180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410350485.7A Expired - Fee Related CN104135670B (en) 2014-07-22 2014-07-22 A kind of video broadcasting method and device

Country Status (1)

Country Link
CN (1) CN104135670B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811814B (en) * 2015-04-28 2019-01-29 腾讯科技(北京)有限公司 Information processing method and system, client and server based on video playing
CN104918135B (en) * 2015-06-01 2018-05-08 无锡天脉聚源传媒科技有限公司 A kind of video station symbol generation method and device
CN105451035A (en) * 2015-11-13 2016-03-30 北京光慧鸿途科技股份有限公司 Video display method and video display system for preventing video copyright protection icons from being deleted or modified
CN105872854A (en) * 2015-12-14 2016-08-17 乐视网信息技术(北京)股份有限公司 Watermark showing method and device
CN105872704A (en) * 2015-12-15 2016-08-17 乐视网信息技术(北京)股份有限公司 Video playing control method and device
US20190069043A1 (en) * 2016-03-01 2019-02-28 Sharp Kabushiki Kaisha Systems and methods for signaling resource identifiers using watermarks
CN105848009A (en) * 2016-03-31 2016-08-10 乐视控股(北京)有限公司 Video living broadcast method and device
CN105812958A (en) * 2016-04-11 2016-07-27 天脉聚源(北京)传媒科技有限公司 Video playing method and device
CN106060588A (en) * 2016-06-19 2016-10-26 杭州阔知网络科技有限公司 Video fingerprint generation method and system
CN106060654A (en) * 2016-06-29 2016-10-26 乐视控股(北京)有限公司 Home cinema live broadcast security code increasing methods and apparatuses
CN109413508A (en) * 2018-10-26 2019-03-01 广州虎牙信息科技有限公司 Method, apparatus, equipment, plug-flow method and the live broadcast system of image blend
CN109743641A (en) * 2019-01-23 2019-05-10 武汉烽火众智智慧之星科技有限公司 The method and system of monitor video superposition watermark
CN115866356A (en) * 2019-04-28 2023-03-28 腾讯科技(深圳)有限公司 Video watermark adding method, device, equipment and storage medium
CN111698574A (en) * 2020-05-26 2020-09-22 北京字节跳动网络技术有限公司 Video watermark processing method and device, electronic equipment and storage medium
CN112351323A (en) * 2020-08-21 2021-02-09 海信视像科技股份有限公司 Display device and video collection file generation method
CN112040168A (en) * 2020-09-04 2020-12-04 苏州科达科技股份有限公司 Station caption processing method, electronic device and storage medium
CN112637681B (en) * 2020-12-22 2022-02-22 新华三大数据技术有限公司 Video redirection method and device
CN113596392A (en) * 2021-06-30 2021-11-02 海南视联通信技术有限公司 Watermark processing method, device, terminal equipment and storage medium
CN113672837A (en) * 2021-08-25 2021-11-19 北京三快在线科技有限公司 Webpage watermark adding method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299176A (en) * 2008-06-27 2008-11-05 广东威创视讯科技股份有限公司 Method and system for displaying additional information in main viewfinder
CN103686407A (en) * 2013-12-04 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and system for alternate broadcast watermark display

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE60232840D1 (en) * 2001-06-06 2009-08-20 Thomson Licensing Video signal processing system capable of processing additional information
CN101431635A (en) * 2008-12-09 2009-05-13 四川长虹电器股份有限公司 Display method for channel auxiliary information of digital television

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299176A (en) * 2008-06-27 2008-11-05 广东威创视讯科技股份有限公司 Method and system for displaying additional information in main viewfinder
CN103686407A (en) * 2013-12-04 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and system for alternate broadcast watermark display

Also Published As

Publication number Publication date
CN104135670A (en) 2014-11-05

Similar Documents

Publication Publication Date Title
CN104135670B (en) A kind of video broadcasting method and device
CN110784759B (en) Bullet screen information processing method and device, electronic equipment and storage medium
CN110418151B (en) Bullet screen information sending and processing method, device, equipment and medium in live game
CN105635764B (en) Method and device for playing push information in live video
CN110475150A (en) The rendering method and device of virtual present special efficacy, live broadcast system
CN103763626B (en) A kind of information-pushing method, equipment and system
WO2019144949A1 (en) Internet-based live interaction
CN110933467B (en) Live broadcast data processing method and device and computer readable storage medium
EP4184921A1 (en) Methods and systems for determining a video player playback position
WO2017101423A1 (en) Advertisement push method and apparatus, video server and terminal device
CN104980500B (en) A kind of information display method and terminal
CN103416073B (en) For providing the method and apparatus of the feedback about the process to video content
CN104394126A (en) Information recommendation method, server, client side and system
CN109089128A (en) A kind of method for processing video frequency, device, equipment and medium
CN104463631B (en) A kind of advertisement demonstration method based on Quick Response Code, system and mobile terminal
CN106791988A (en) Multi-medium data carousel method and terminal
JP2012231383A (en) Information display control apparatus employing iptv services, display information providing server, information display control method, information distribution method, information display control program, and information distribution program
CN107743271A (en) A kind of processing method of barrage, electronic equipment and computer-readable recording medium
CN111202980B (en) Information transmission method, streaming media cloud platform and computer readable storage medium
JP2016522916A (en) HTML page presentation apparatus and method
CN107529075B (en) Cross-screen continuous playing method, system, server, equipment and cross-screen continuous playing equipment
CN108833983A (en) Played data acquisition methods, device, equipment and storage medium
CN108810575B (en) Method and device for sending target video
CN105335682B (en) A kind of source synchronous playback method, system and server
CN115576611B (en) Service processing method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180119

Termination date: 20180722