CN113794911A - Video program processing method and device and computer equipment - Google Patents

Video program processing method and device and computer equipment Download PDF

Info

Publication number
CN113794911A
CN113794911A CN202110959018.4A CN202110959018A CN113794911A CN 113794911 A CN113794911 A CN 113794911A CN 202110959018 A CN202110959018 A CN 202110959018A CN 113794911 A CN113794911 A CN 113794911A
Authority
CN
China
Prior art keywords
program
command
video
preloading
server
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
CN202110959018.4A
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.)
Beijing Jingqi Chuangzhi Technology Co ltd
China Media Group
Original Assignee
Beijing Jingqi Chuangzhi Technology Co ltd
China Media Group
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 Beijing Jingqi Chuangzhi Technology Co ltd, China Media Group filed Critical Beijing Jingqi Chuangzhi Technology Co ltd
Priority to CN202110959018.4A priority Critical patent/CN113794911A/en
Publication of CN113794911A publication Critical patent/CN113794911A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26283Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for associating distribution time parameters to content, e.g. to generate electronic program guide data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the application provides a video program processing method, a video program processing device and computer equipment, wherein the computer equipment and a video broadcasting server are both configured with a preset control protocol, by acquiring a program list to be played, judging the program type of a target program to be played under the condition that the system time reaches the preloading preparation time configured by the target program to be played, sending a multi-file preloading command or a multi-signal preloading command constructed according to a preset control protocol to a video playing server for a multi-file program or a multi-signal program based on the program type, so that the video broadcasting server can process the video data, and finally send the broadcasting command to the video broadcasting server, compared with the prior art that only a single file or signal can be processed, the scheme can complete the playing of multiple file programs or multiple signal programs.

Description

Video program processing method and device and computer equipment
Technical Field
The present application relates to a broadcast television technology, and in particular, to a method and an apparatus for processing a video program, and a computer device.
Background
As the state of the art advances and the user demand increases, many new functions are developed as the hardware level of the video broadcasting server increases, in addition to the basic playing and stopping functions. In the prior art, in order to adapt to the newly added function, a suitable protocol is often configured for the newly added function, so that the control end and the video playing server integrate multiple protocols, and the association and the difference between the protocols need to be considered, which is complex. Moreover, a conventional control protocol in the art, for example, a VDCP (video Disk Communications protocol) protocol, may control a video playing server to implement basic operations such as playing, but one command of the VDCP can only implement one operation function, and can only satisfy an application scenario for controlling a single file to play the video server, and the length of a VDCP character string is limited, and thus, the conventional control protocol lacks adaptation and response capabilities for a new scenario required by a currently playing video server and new requirements for IP and the like.
Disclosure of Invention
The embodiment of the application provides a video program processing method, a device computer equipment and a readable storage medium, which can realize multifunctional video program processing.
In a first aspect, an embodiment of the present application provides a video program processing method, which is applied to a computer device, where the computer device is in communication connection with a video broadcast server, the computer device and the video broadcast server are configured with a preset control protocol, the preset control protocol is constructed based on a preset length character code, the preset control protocol includes a multi-file preloading command and a multi-signal preloading command, and the method includes:
acquiring a program list to be broadcasted; the program list to be broadcast comprises a plurality of programs to be broadcast, and the programs to be broadcast are configured with preloading preparation time and program broadcasting time;
judging the program type of the target program to be broadcast under the condition that the system time reaches the pre-loading preparation time configured by the target program to be broadcast; the target program to be broadcast is any one of a plurality of programs to be broadcast, and the types of the programs to be broadcast comprise multi-file programs and multi-signal programs;
if the program type of the target program to be broadcasted is a multi-file program, sending a multi-file preloading command to a video broadcasting server so that the video broadcasting server performs a first preloading operation on a plurality of files to be broadcasted corresponding to the target program to be broadcasted;
if the program type of the target program to be broadcast is a multi-signal program, sending a multi-signal preloading command to a video broadcast server so that the video broadcast server performs second preloading operation on a plurality of signals to be broadcast corresponding to the target program to be broadcast;
and sending a broadcasting command to the video broadcasting server under the condition that the system time reaches the program broadcasting time configured by the target program to be broadcasted and the preloading completion feedback of the video broadcasting server is received, so that the video broadcasting server broadcasts the target program to be broadcasted.
In a second aspect of the continuously playing target, an embodiment of the present application provides a video program processing method, which is applied to a video playing server, where the video playing server is in communication connection with a computer device, the video playing server includes a file decoder and a signal decoder, the computer device and the video playing server are configured with a preset control protocol, the preset control protocol is constructed based on a preset length character code, the preset control protocol includes a multi-file preloading command and a multi-signal preloading command, and the method includes:
receiving a multi-file preloading command sent by computer equipment under the condition that the system time reaches the preloading preparation time configured by the target program to be played and the program type of the target program to be played is a multi-file program; the target program to be broadcast is any one of a plurality of programs to be broadcast which are acquired by the computer equipment and contained in the program list to be broadcast, and the types of the programs to be broadcast comprise multi-file programs and multi-signal programs;
according to the multi-file preloading command, performing first preloading operation on a plurality of files to be played corresponding to the target program to be played, and calling a file decoder;
receiving a multi-signal preloading command sent by computer equipment under the condition that the system time reaches the preloading preparation time configured by the target program to be broadcast and the program type of the target program to be broadcast is a multi-signal program;
according to the multi-signal preloading command, carrying out second preloading operation on a plurality of files to be played corresponding to the target program to be played, and calling a signal decoder;
when the first preloading operation or the second preloading operation is finished, sending preloading completion feedback to the computer equipment so that the computer equipment sends a broadcasting command under the condition that the system time reaches the program broadcasting time configured by the target program to be broadcasted;
and receiving a broadcasting command, and broadcasting the target program to be broadcasted.
In a third aspect, an embodiment of the present application provides a video program processing apparatus, which is applied to a computer device, where the computer device is in communication connection with a video broadcast server, the computer device and the video broadcast server are configured with a preset control protocol, the preset control protocol is constructed based on a preset length character code, the preset control protocol includes a multi-file preloading command and a multi-signal preloading command, and the apparatus includes:
the acquisition module is used for acquiring a program list to be broadcasted; the program list to be broadcast comprises a plurality of programs to be broadcast, and the programs to be broadcast are configured with preloading preparation time and program broadcasting time;
the judging module is used for judging the program type of the target program to be played under the condition that the system time reaches the pre-loading preparation time configured by the target program to be played; the target program to be broadcast is any one of a plurality of programs to be broadcast, and the types of the programs to be broadcast comprise multi-file programs and multi-signal programs;
the processing module is used for sending a multi-file preloading command to the video broadcasting server if the program type of the target program to be broadcasted is a multi-file program, so that the video broadcasting server performs a first preloading operation on a plurality of files to be broadcasted corresponding to the target program to be broadcasted; if the program type of the target program to be broadcast is a multi-signal program, sending a multi-signal preloading command to a video broadcast server so that the video broadcast server performs second preloading operation on a plurality of signals to be broadcast corresponding to the target program to be broadcast;
and the broadcasting module is used for sending a broadcasting command to the video broadcasting server under the condition that the system time reaches the program broadcasting time configured by the target program to be broadcasted and the preloading completion feedback of the video broadcasting server is received, so that the video broadcasting server broadcasts the target program to be broadcasted.
In a fourth aspect, an embodiment of the present application provides a computer device, where the computer device includes a processor and a non-volatile memory storing computer instructions, and when the computer instructions are executed by the processor, the computer device executes the video program processing method according to any one of the possible embodiments of the first aspect and the second aspect.
By adopting the video program processing method, the video program processing device and the computer equipment provided by the embodiment of the application, the program type of the target program to be played is judged by obtaining the program list to be played, and the multi-file preloading command or the multi-signal preloading command which is constructed according to the preset control protocol is sent to the video playing server for the multi-file program or the multi-signal program based on the program type so as to enable the video playing server to process the program list, and finally the playing command is sent to the video playing server so as to enable the video playing server to play the target program to be played.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic view of an interactive scene of a video program processing system according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating steps of a video program processing method according to an embodiment of the present application;
fig. 3 is a schematic view of another interactive scene of a video program processing system according to an embodiment of the present application;
fig. 4 is a schematic block diagram illustrating a structure of a video program processing apparatus for executing the video program processing method in fig. 2 according to an embodiment of the present application;
fig. 5 is a block diagram schematically illustrating a structure of a computer device for executing the video program processing method in fig. 2 according to an embodiment of the present application.
Detailed Description
In implementing the present application, the inventors found that the control protocol used in the related art can only perform some basic operations, and is not suitable for a scenario with multiple functions for the video playback server at present.
In view of the foregoing problems, embodiments of the present application provide a method and an apparatus for processing a video program, a computer device, and a readable storage medium, which can implement normal processing and broadcasting of multiple file-type programs and multiple signal-type programs by configuring a preset control protocol constructed by preset length character codes.
In order to make the technical solutions and advantages of the embodiments of the present application more apparent, the following further detailed description of the exemplary embodiments of the present application with reference to the accompanying drawings makes it clear that the described embodiments are only a part of the embodiments of the present application, and are not exhaustive of all embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Referring to fig. 1, fig. 1 is an interaction scene schematic diagram of a video program processing system according to an embodiment of the present application, where the video program processing system may include a computer device 100 and a video broadcast server 200 communicatively connected to the computer device 100, where the number of the computer device 100 and the video broadcast server 200 may be multiple, one computer device 100 may control one video broadcast server 200, or one computer device 100 may control multiple video broadcast servers 200, which is not limited herein. It is worth noting that the computer device 100 and the video playout server 200 are configured with a preset control protocol that is constructed based on preset length character encoding, the preset control protocol including a multi-file preload command and a multi-signal preload command.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a step of a video program processing method according to an embodiment of the present application, where the video program processing method can be implemented by the computer device 100 in fig. 1 as an execution main body, and the video program processing method is described in detail below.
Step S201, acquiring a program list to be broadcasted.
The program list to be broadcast comprises a plurality of programs to be broadcast, and the programs to be broadcast are configured with preloading preparation time and program broadcasting time.
Step S202, under the condition that the system time reaches the pre-loading preparation time configured by the target program to be broadcast, the program type of the target program to be broadcast is judged.
The target program to be broadcast is any one of a plurality of programs to be broadcast, and the program types of the programs to be broadcast comprise multi-file programs and multi-signal programs.
If the program type of the target program to be broadcast is a multi-file program, step S203 is executed.
Step S203, sending a multi-file preloading command to the video broadcast server 200, so that the video broadcast server 200 performs a first preloading operation on a plurality of files to be broadcast corresponding to the target program to be broadcast.
The first preloading operation is used for calling a file decoder of the video broadcasting server so as to decode a plurality of files to be broadcasted by using the file decoder.
If the program type of the target program to be broadcast is a multi-signal program, step S204 is executed.
Step S204, sending a multi-signal preloading command to the video broadcast server 200, so that the video broadcast server 200 performs a second preloading operation on a plurality of signals to be broadcast corresponding to the target program to be broadcast.
And the second preloading operation is used for calling a signal decoder of the video playing-out server so as to decode the plurality of signals to be played out by the signal decoder.
Step S205, when the system time reaches the program broadcasting time configured for the target program to be broadcasted and the preloading completion feedback of the video broadcasting server 200 is received, a broadcasting command is sent to the video broadcasting server 200, so that the video broadcasting server 200 broadcasts the target program to be broadcasted.
In the embodiment of the application, the preset control protocol is constructed based on UTF-8 (8-bit, Universal Character Set/Universal Transformation Format) coding, and the protocol constructed by the scheme has the characteristics of high flexibility, high safety, high compatibility and the like, and the length of the protocol Character string is not limited. Compared with the traditional VDCP limited byte instruction, the method is not suitable for complex instructions and scenes controlled by a network. The character length of the preset control protocol provided by the embodiment of the application is not limited, the protocol adopts network character strings, and the operation is flexible and convenient. Based on this, multi-file type programs or multi-signal type programs in the related art can be processed.
In order to more clearly describe the scheme provided by the embodiment of the present application, for example, the preset control protocol provided by the embodiment of the present application may be defined by the following command specification: 1) UTF-8 encoding; 2) each command takes the carriage return line feed character as a terminator; 3) the command does not distinguish case; 4) the command parameters are separated by spaces, and if a certain parameter contains a space, the parameter is included by a quotation mark; 5) the special sequence is as follows: the parameters are enclosed by quotation marks, and the quotation marks in the parameters are represented by escape sequences. The universal escape character is backslash. The commonly used escape sequence is suggested as follows (avoiding the use of special characters): \\ quotation mark; \ \ reverse slash; \\ n line feed; 6) comma separation is used between the command pending values.
Based on the command specification, the preset control protocol provided in the embodiment of the present application can implement processing of multiple file programs or multiple signal programs, and can implement operations only according to multiple file preloading commands or multiple signal preloading commands, without an additional protocol or sending commands multiple times, and only one command needs to be sent, so that the video broadcast server 200 can expand the processing function of multiple file programs or multiple signal programs. It should be understood that, when an actual program is broadcast, each program to be broadcast in the program list to be broadcast may be broadcast through the above scheme, and after the current target program to be broadcast is broadcast, the above steps may be repeated until the unicast of the whole program to be broadcast is completed.
In one possible embodiment, the video playout server 200 comprises a plurality of video playout channels, and the multi-file preload command comprises channel allocation rules;
the aforementioned step S203 may be implemented by performing the following detailed steps.
And a substep S203-1, sending a multi-file preloading command to the video broadcasting server 200, so that the video broadcasting server 200 caches a plurality of files to be broadcasted to a plurality of video broadcasting channels according to a channel allocation rule, and calling a file decoder.
The aforementioned step S204 may be implemented by performing the following detailed steps.
And a substep S204-1, sending a multi-signal preloading command to the video broadcasting server 200, so that the video broadcasting server 200 performs signal address acquisition on a plurality of signals to be broadcasted in a plurality of video broadcasting channels according to a channel allocation rule, and calls a signal decoder.
In order to more clearly describe the scheme provided by the embodiment of the present application, the multi-file preloading command and the multi-signal preloading command included in the preset control protocol may be referred to as preload command LOADBG, and the syntax structure may be as follows:
LOADBG[channel:int]{-[layer:int]}[clip:string]{SEEK[frame:int]}{LENGTH[frames:int]}{[loop:LOOP]}
[ channel: int ] { [ layer: int ] } channel: a channel number;
[ clip: string ]: name of material
Based on this, taking the program to be broadcast as an 8K program as an example, the multi-file preloading command may be represented by the following form:
LOADBG 1 layers{10:xxxx;11:xxxx;12:xxxx;13:xxxx}list
wherein xxxx is 4K file names. Therefore, the aim of caching a plurality of files to be played to a plurality of video playing channels is fulfilled.
The multi-signal preload command may be represented by the following form:
Loadbg 1-10 matrox xxxx
Loadbg 1-11 matrox xxxx
Loadbg 1-12 matrox xxxx
Loadbg 1-13 matrox xxxx
wherein xxxx is specific parameter information, including an output card, an IP address, a port number, and the like, and examples are as follows:
card 0 sdi 02110 vbitecount 10 depth-frames 6 igmpv3 inclusion duplication retry 0 srcap 192.168.0.10 video objects "multiaddress 238.0.1.1 port 10000" audioareas "multiaddress 238.0.1.2 port 10000 aupktdur 1 usertkcnt false trkcnt 2" ancars "multiaddress 238.0.1.3 port 10000" ratio 16: 9 format 2160p5000 channel _ layout 8ch redundancy true srcap _ r 192.168.0.20 video areas _ r "multiaddress 238.1.1.1 port 10000" audioareas _ r "multiaddress 238.1.1.2 port 10000" ancargs _ r "multiaddress 238.1.1.3 port 10000. Therefore, the aim of acquiring the signal addresses of a plurality of signals to be played in a plurality of video playing channels is fulfilled.
In a possible implementation manner, the preset control protocol further includes a single file preloading command and a single signal preloading command, and the program types of the programs to be broadcast further include single file type programs and single signal type programs.
Step S206, if the program type of the target program to be broadcast is a single file program, sending a single file preloading command to the video broadcast server 200, so that the video broadcast server 200 performs a first preloading operation on the file to be broadcast corresponding to the target program to be broadcast.
Step S207, if the program type of the target program to be broadcast is a single signal program, sending a single signal preloading command to the video broadcast server 200, so that the video broadcast server 200 performs a second preloading operation on the signal to be broadcast corresponding to the target program to be broadcast.
In this embodiment of the application, the preset control protocol constructed in the foregoing may also implement processing of a single file type program or a single signal type program, and on the basis of the foregoing command rule, taking an example that a program to be played is an 8K program, a single file preloading command may be represented in the following form:
LOADBG 1-10:xxxx
wherein xxxx is the name of the 8K file. Therefore, the aim of caching the file to be played in the video playing channel is fulfilled.
The single signal preload command may be represented by the following form:
LOADBG 1-10 matrox xxxx
where xxxx represents the specific parameter information required such as:
card 0 sdi 02110 vbitecount 10 depth-frames 6 igmpv3 inclusion duplication retry 0 srcap 192.168.0.10 video objects "multiaddress 238.0.1.1 port 10000" audioareas "multiaddress 238.0.1.2 port 10000 aupktdur 1 usertkcnt false trkcnt 2" ancars "multiaddress 238.0.1.3 port 10000" ratio 16: 9 format 2160p5000 channel _ layout 8ch redundancy true srcap _ r 192.168.0.20 video areas _ r "multiaddress 238.1.1.1 port 10000" audioareas _ r "multiaddress 238.1.1.2 port 10000" ancargs _ r "multiaddress 238.1.1.3 port 10000. Therefore, the aim of acquiring the signal address of the signal to be played in the video playing channel is fulfilled.
In a possible implementation manner, the preset control protocol further includes a teletext rendering command and a teletext clearing command, and the following implementation manner is further provided in an embodiment of the present application.
And step S208, obtaining the image-text rendering file.
The image-text rendering file comprises rendering parameters and images and texts to be rendered.
Step S209, sending an image-text rendering command to the video broadcast server 200 when the first preset condition is met, so that the video broadcast server 200 renders the image-text to be rendered into the display frame of the target program to be broadcast according to the rendering parameter.
Step S210, sending an image-text clearing command to the video broadcasting server 200 when a second preset condition is met, so that the video broadcasting server 200 clears the image-text to be rendered from the display picture of the target program to be broadcasted according to the image-text to be rendered.
In the functions that the video broadcasting server 200 needs to expand at present, the image-text rendering is a relatively important function, and when the image-text display needs to be additionally performed in the display picture of the target program to be broadcasted, for example, the image-text of a certain television station logo or an advertisement of a certain sponsor can be realized by utilizing the image-text rendering command and the image-text clearing command which are included in the preset control protocol. On the basis of the aforementioned command specification, the syntax structure of the teletext rendering command CG and the teletext clear command CG may refer to:
CG[video_channel:int]{-[layer:int]}[add|remove]
[layer:int][parament:string]
it should be understood that the teletext rendering commands CG in the embodiments of the application can be directly validated without performing the aforementioned preloading and playing operations of the program to be broadcast. In order to more clearly describe the scheme provided by the embodiment of the present application, the following describes the use of the graphics-text rendering command CG in detail.
(1) And (3) making the prepared html5 page and all the related files used by the page into a picture-text rendering file, (the name of the picture-text rendering file is the same as that of the html5 page), and putting the picture-text rendering file into a template directory of the integrated video server, for example: the folders of cctv8klogo, shizhong and the like respectively comprise corresponding html5 pages and reference files thereof. In other embodiments of the embodiment of the present application, the production of the image-text rendering file may also be completed on the computer device 100, and the manner of obtaining the image-text rendering file is not limited herein.
(2) Sending a graphics rendering command CG to a video server, for example, there may be a command CG 1-100add 1 "cctv 8klogo/cctv8 klogo" 1, where the command sends a graphics rendering command to the all-in-one broadcast video server 2001, and indicates that html5 page CG 1-100add 2 "shizhong/shizhong" 1, which is the html 8klogo rendered on the first layer of CEF of 100 layers of video, sends a graphics rendering command to the all-in-one broadcast video server 2001, and indicates that html5 page shizhong is rendered on the second layer of CEF of 100 layers of video, and other pages are the same and are not described herein again.
For the teletext command CG, reference is instead made to the following example:
CG 1-100remove 1 (or 2)
The instruction clears the html5 page rendering for that layer.
STOP 1-100
The command stops the video layer where the entire teletext is located and all teletext is removed.
For the above-mentioned teletext and teletext command, where 1 denotes the first video broadcast channel, 100 is the video layer, the layer number can be customized, add denotes the upper teletext layer, 1 denotes that the layer number of the html5 page in CEF can be filled in freely but is unique (it is suggested to increase in order from 1), "the content is html5 page name (including folder and file name without suffix). For CG 1-100remove 1, where remove represents the lower teletext layer, the others are as above. For STOP 1-100 it is actually the STOP play-out command in the set of play-out commands. For teletext commands, which all start with a CG and take effect immediately, there is no preload and playout logic.
Through the grammar structure, the image-text rendering can be realized when a user needs to add the trademark of the sponsor of the program on the display picture of the target playing program being played (a first preset condition), and the image-text clearing can be realized when the user switches to the next program and needs to remove the trademark of the sponsor of the previous program (a second preset condition).
In a possible implementation manner, the preset control protocol further includes a pause playback command and a resume playback command, and the following implementation manner is further provided in an embodiment of the present application.
Step S211, when the third preset condition is satisfied, sends a pause playing command to the video broadcast server 200, so that the video broadcast server 200 pauses the display screen of the target program to be broadcast.
In step S212, when the fourth preset condition is satisfied, a continue playing command is sent to the video broadcast server 200, so that the video broadcast server 200 continues to play the display picture of the target program to be broadcast.
On the basis of the foregoing, the syntax structure of the preset control protocol further including the PAUSE playback command PAUSE and the RESUME playback command RESUME provided in the embodiment of the present application may refer to the following example.
PAUSE[video_channel:int]{-[layer:int]|-0}。
RESUME[video_channel:int]{-[layer:int]|-0}。
In the embodiment of the present application, when a user needs to pause a program being played, for example, the playing content needs to be confirmed (a third preset condition), or resume playing from a paused state, for example, the playing content is determined to be correct (a fourth preset condition), the above syntax structure can be used to implement the method.
In a possible implementation manner, the preset control protocol further includes a clear program command, and the following implementation manner is further provided in an embodiment of the present application.
Step S213, sending a program clearing command to the video broadcast server 200 when the fifth preset condition is met, so that the video broadcast server 200 clears the relevant data of the target program to be broadcast.
On the basis of the foregoing, the syntax structure of the preset control protocol including CLEAR program command CLEAR may be as follows:
CLEAR[video_channel:int]{-[layer:int]}
for example, when the video channel 1 of the video playout server 200 needs to be cleared (fifth preset condition), "CLEAR 1" may be configured, which enables removing foreground and background material of all layers of the channel 1. More elaborate operations can be implemented, for example, CLEAR 1-10 can only remove all material at layer 10 of channel 1, which is not possible with the existing control protocol for the video playback server.
In a possible implementation manner, the preset control protocol further includes a server status query command, a media file query command, and a program status query command, and the following implementation manners are further provided in an embodiment of the present application.
In step S214, when the sixth preset condition is satisfied, a server status query command is sent to the video broadcast server 200, so that the video broadcast server 200 feeds back the channel status of the video broadcast server 200.
Step S215, sending a media file query command to the video broadcast server 200 when a seventh preset condition is met, so that the video broadcast server 200 feeds back multimedia information of a program to be broadcast;
in step S216, when the eighth preset condition is met, a program status query command is sent to the video broadcast server 200, so that the video broadcast server 200 feeds back whether the program to be broadcast is ready for preloading.
In addition to the commands included in the preset control protocol provided above, the embodiments of the present application also provide a server status query command INFO, a media file query command CLS, and a program status query command CINF, and the following examples may be referred to for syntax structures of the three.
INFO [ video _ channel: int ] { [ layer: int ] }, through the syntax structure, the channel of the video broadcast server 200 or the information of the channel-designated layer can be obtained, and if the layer is not designated, the information of the whole channel is returned.
CLS { [ sub _ direction: string ] }, through the syntax structure, all media file information under the media path of the video broadcast server 200 can be acquired, and if a sub _ direction is specified, only the media file information under the sub _ direction is returned.
CINF [ filename: string ], through this syntax structure, all file information named file under the media path of the video playout server 200 can be obtained, and the file information format is: filename material type file size file modify time material duration time _ bas.
In addition, the preset control protocol provided in the embodiment of the present application can also complete the basic PLAY command PLAY and the STOP PLAY command STOP, and the following examples can be referred to for syntax structures of the two commands.
PLAY [ video _ channel: int ] { [ layer: int ] | -0} { [ clip: string ] } { "additional parameters" } through the syntax structure, the material, i.e. the program to be broadcast, can be played.
STOP [ video _ channel: int ] { [ layer: int ] | -0}, and through the grammar structure, the foreground playing material of the specified layer can be removed, namely, the playing is stopped.
In order to more clearly describe the scheme provided in the embodiment of the present application, please refer to fig. 3, and fig. 3 is a schematic diagram of an overall structure of the video program processing system provided in the embodiment of the present application, where the computer device 100 may be an integrated broadcast controller 1001, the video broadcast server 200 may be an integrated broadcast video server 2001, the two are communicatively connected through a broadcast Control switch 300, the MIXER is a modulator, the Stream is a signal Stream, the file is a file, the OUTPUT is a video OUTPUT unit, the ge is a coordination unit, the consum is a user allocation unit, and the Frame Rate Control is a Rate controller.
After the integrated broadcast controller 1001 and the integrated broadcast video server 2001 are configured with the preset control protocol provided in the embodiment of the present application, the preload command LOADBG can be executed: a media file, live signal, IP stream, etc. is loaded in the background. PLAY command PLAY: and playing the appointed material and signal. PAUSE command PAUSE: and pausing the playing of the foreground material of the specified layer. RESUME command RESUME: the playback is started from the PAUSE position commanded by PAUSE. STOP play command STOP: and removing the foreground playing material of the specified layer, namely stopping playing. CLEAR program command CLEAR: all material (foreground and background material) at the specified level is removed. If no layer is specified, all layers of the channel l are clear. Program status query command CINF: and acquiring all file information named filename under the server media path. The file information format is as follows: file name material type file size file modification time material duration. Media file query command CLS: and acquiring all media file information under the media path of the server. Server status query command INFO: a list of available channels is retrieved. Program VERSION query command VERSION: version information of a specified program component is acquired. Graphics rendering command CG: and broadcasting the pictures and texts. After the all-in-one broadcast video server 2001 receives various commands issued by the all-in-one broadcast controller 1001, the following command return values may be returned to the all-in-one broadcast video server 2001 as feedback. 100 action event information. 101 action-event information, a line of description information is returned. 200[ command ] OK-the command is executed successfully and multiple lines of description information are returned (separated by \ r \ n and ending with \ r \ n). 201[ command ] OK-the command executes successfully and returns description information (ending with \ r \ n). 202[ command ] OK-command successfully executes. 400 ERROR-the command cannot be recognized and description information is returned (ending with \ r \ n). 401[ command ] ERROR-video _ channel is illegal. 402[ command ] ERROR-parameter lost. Other command return values are possible and are not described in detail herein.
Through the above design, the integrated broadcast controller 1001 can implement deployment of broadcast control software that integrates the advanced media control protocol AMCP of the present invention to control file decoding, external signal switching, and graphics context of the integrated broadcast server. The integrated video server can play HD, 4K or 8K signals. For 8K playout, 8K playout can be achieved by four files in parallel (four 4K). The integrated broadcast server integrates the preset control protocol of the embodiment of the application, receives the protocol command corresponding to the preset control protocol sent by the integrated broadcast controller 1001, analyzes the protocol command, and controls the file decoding module, the external signal processing module, the signal switching module and the image-text module in the integrated broadcast server to perform corresponding signal processing, so as to finally form signal stream broadcast. In this embodiment of the present application, the preset Control protocol may be referred to as advanced Media Control protocol amcp (advanced Media Control protocol).
Besides, the embodiment of the present application provides another example of a video program processing method, which may be implemented by the video broadcast server 200 in fig. 1 as an execution subject, where the video broadcast server 200 is communicatively connected to the computer device 100, the video broadcast server 200 includes a file decoder and a signal decoder, the computer device 100 and the video broadcast server 200 are configured with a preset control protocol, the preset control protocol is constructed based on a preset length character code, and the preset control protocol includes a multi-file preloading command and a multi-signal preloading command.
The following describes the video program processing method in detail.
Step S301, receiving a multi-file preloading command sent by the computer device 100 when the system time reaches the preloading preparation time configured for the target program to be broadcast and the program type of the target program to be broadcast is a multi-file program.
The target program to be broadcast is any one of a plurality of programs to be broadcast included in the program list to be broadcast acquired by the computer device 100, and the program types of the programs to be broadcast include multi-file programs and multi-signal programs.
Step S302, according to the multi-file preloading command, performing first preloading operation on a plurality of files to be played corresponding to the target program to be played, and calling a file decoder.
Step S303, receiving a multi-signal preloading command sent by the computer device 100 when the system time reaches the preloading preparation time configured for the target program to be broadcast and the program type of the target program to be broadcast is the multi-signal type program.
And step S304, carrying out second preloading operation on a plurality of files to be played corresponding to the target program to be played according to the multi-signal preloading command, and calling a signal decoder.
Step S305, when the first preloading operation or the second preloading operation is completed, sending a preloading completion feedback to the computer device 100, so that the computer device 100 sends a broadcast command under the condition that the system time reaches the program broadcast time configured for the target program to be broadcast.
And step S306, receiving a broadcasting command, and broadcasting the target program to be broadcasted.
In one possible embodiment, the video playout server 200 comprises a plurality of video playout channels, and the multi-file preload command comprises channel allocation rules;
the aforementioned step S302 may be implemented by performing the following detailed steps.
And a substep S302-1, receiving a multi-file preloading command, caching a plurality of files to be played to a plurality of video playing channels according to a channel distribution rule, and calling a file decoder.
Accordingly, the aforementioned step S304 may be implemented by performing the following slim steps.
And receiving a multi-signal preloading command, acquiring signal addresses of a plurality of signals to be played in a plurality of video playing channels according to a channel allocation rule, and calling a signal decoder.
In a possible implementation manner, the preset control protocol further includes a single file preloading command and a single signal preloading command, the program types of the programs to be broadcast further include a single file type program and a single signal type program, and the method further includes:
step S307, receiving a single file preloading command, performing a first preloading operation on a file to be played corresponding to a target program to be played, and calling a file decoder.
And step S308, receiving a single signal preloading command, performing second preloading operation on the signal to be played corresponding to the target program to be played, and calling a signal decoder.
In one possible embodiment, the preset control protocol further includes a teletext rendering command and a teletext clear command, and the method further includes:
and step S309, acquiring the image-text rendering file.
The image-text rendering file comprises rendering parameters and images and texts to be rendered.
Step S310, receiving a graphics context rendering command, and rendering the graphics context to be rendered to the display picture of the target program to be broadcast.
Wherein the graphics rendering command is transmitted by the computer device 100 if a first preset condition is satisfied.
And step S311, receiving an image-text clearing command, and clearing the image-text to be rendered from the display picture of the target program to be broadcast.
Wherein, the teletext clear command is sent by the computer device 100 if a second preset condition is met.
In a possible embodiment, the preset control protocol further includes a pause play command and a continue play command, and the method further includes:
step S312, receiving a pause command, and pausing the display frame of the target program to be played.
Wherein the pause playback command is sent by the computer apparatus 100 when the third preset condition is satisfied.
Step S313, receiving a continue playing command, and continuing to play the display picture of the target program to be played.
Wherein the continuous playing command is sent by the computer device 100 under the condition that a fourth preset condition is met.
In one possible implementation, the preset control protocol further includes a clear program command, and the method further includes:
step S314, receiving the program clearing command, and clearing the relevant data of the target program to be broadcast.
Wherein the clear program command is sent by the computer apparatus 100 if a fifth preset condition is satisfied.
In a possible implementation manner, the preset control protocol further includes a server status query command, a media file query command, and a program status query command, and the method further includes:
step S315, receiving the server status query command, and feeding back the channel status of the video broadcast server 200.
Wherein, the server status query command is sent by the computer device 100 when the sixth preset condition is met.
Step S316, receiving a media file query command, and feeding back multimedia information of the program to be broadcast.
Wherein the media file query command is sent by the computer device 100 when the sixth preset condition is met.
Step S317, receiving a program status query command, and feeding back whether the program to be broadcasted is ready for preloading.
Wherein, the program status query command is sent by the computer apparatus 100 when the eighth preset condition is satisfied.
The implementation manner of the above scheme when the video broadcast server 200 is used as the execution subject corresponds to the implementation manner when the computer device 100 is used as the execution subject, and details thereof are not repeated here.
The embodiment of the present application provides a video program processing apparatus 110, which is applied to a computer device 100, the computer device 100 is in communication connection with a video broadcast server 200, the computer device 100 and the video broadcast server 200 are configured with a preset control protocol, the preset control protocol is constructed based on a preset length character code, the preset control protocol includes a multi-file preloading command and a multi-signal preloading command, please refer to fig. 4 collectively, and the apparatus includes:
an obtaining module 1101, configured to obtain a program to be broadcasted; the program list to be broadcast comprises a plurality of programs to be broadcast, and the programs to be broadcast are configured with preloading preparation time and program broadcasting time.
The determining module 1102 is configured to determine a program type of a target program to be broadcast on the condition that the system time reaches a pre-loading preparation time configured for the target program to be broadcast; the target program to be broadcast is any one of a plurality of programs to be broadcast, and the types of the programs to be broadcast comprise multi-file programs and multi-signal programs.
The processing module 1103 is configured to send a multi-file preloading command to the video broadcast server 200 if the program type of the target program to be broadcast is a multi-file program, so that the video broadcast server 200 performs a first preloading operation on a plurality of files to be broadcast corresponding to the target program to be broadcast; and if the program type of the target program to be played is a multi-signal program, sending a multi-signal preloading command to the video playing server 200, so that the video playing server 200 performs a second preloading operation on a plurality of signals to be played corresponding to the target program to be played.
And the broadcasting module 1104 is configured to send a broadcasting command to the video broadcasting server 200 so that the video broadcasting server 200 broadcasts the target program to be broadcasted under the condition that the system time reaches the program broadcasting time configured for the target program to be broadcasted and the preloading completion feedback of the video broadcasting server 200 is received.
In one possible embodiment, the video playout server 200 comprises a plurality of video playout channels, and the multi-file preload command comprises channel allocation rules; the processing module 1103 is specifically configured to:
sending a multi-file preloading command to the video broadcasting server 200, so that the video broadcasting server 200 caches a plurality of files to be broadcasted to a plurality of video broadcasting channels according to a channel distribution rule; and sending a multi-signal preloading command to the video broadcasting server 200, so that the video broadcasting server 200 acquires signal addresses of a plurality of signals to be broadcasted in a plurality of video broadcasting channels according to the channel allocation rule.
In a possible implementation manner, the preset control protocol further includes a single file preloading command and a single signal preloading command, the program types of the programs to be broadcast further include a single file type program and a single signal type program, and the processing module 1103 is further configured to:
if the program type of the target program to be broadcasted is a single file type program, sending a single file preloading command to the video broadcasting server 200 so that the video broadcasting server 200 performs a first preloading operation on the file to be broadcasted corresponding to the target program to be broadcasted; and if the program type of the target program to be played is the single-signal program, sending a single-signal preloading command to the video playing server 200, so that the video playing server 200 performs a second preloading operation on the signal to be played corresponding to the target program to be played.
In a possible implementation, the preset control protocol further includes a teletext rendering command and a teletext clear command, and the processing module 1103 is further configured to:
acquiring a picture-text rendering file; the image-text rendering file comprises rendering parameters and images and texts to be rendered; under the condition that a first preset condition is met, sending a graphic rendering command to the video broadcasting server 200, so that the video broadcasting server 200 renders the graphic to be rendered into a display picture of a target program to be broadcasted according to the rendering parameter; and under the condition that a second preset condition is met, sending an image-text clearing command to the video broadcasting server 200, so that the video broadcasting server 200 clears the image-text to be rendered from the display picture of the target program to be broadcasted according to the image-text to be rendered.
In a possible implementation, the preset control protocol further includes a pause playback command and a resume playback command, and the processing module 1103 is further configured to:
under the condition that a third preset condition is met, sending a play pause command to the video broadcasting server 200 so that the video broadcasting server 200 pauses the display picture of the target program to be broadcasted; and under the condition that the fourth preset condition is met, sending a continuous playing command to the video broadcasting server 200 so that the video broadcasting server 200 continuously plays the display picture of the target program to be broadcasted.
In a possible implementation, the preset control protocol further includes a clear program command, and the processing module 1103 is further configured to:
and under the condition that a fifth preset condition is met, sending a program clearing command to the video broadcasting server 200 so that the video broadcasting server 200 clears the related data of the target program to be broadcasted.
In a possible implementation manner, the preset control protocol further includes a server status query command, a media file query command, and a program status query command, and the processing module 1103 is further configured to:
under the condition that a sixth preset condition is met, sending a server state query command to the video broadcasting server 200 so that the video broadcasting server 200 feeds back the channel state of the video broadcasting server 200; under the condition that a seventh preset condition is met, sending a media file query command to the video broadcasting server 200 so that the video broadcasting server 200 feeds back multimedia information of a program to be broadcasted; and under the condition that the eighth preset condition is met, sending a program state query command to the video broadcasting server 200 so that the video broadcasting server 200 feeds back whether the program to be broadcasted is ready for preloading.
It should be noted that, for the implementation principle of the video program processing apparatus 110, reference may be made to the implementation principle of the video program processing method, which is not described herein again. It should be understood that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the obtaining module 1101 may be a processing element separately set up, or may be implemented by being integrated into a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and the processing element of the apparatus calls and executes the functions of the obtaining module 1101. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when some of the above modules are implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor that can call program code. As another example, these modules may be integrated together, implemented in the form of a system-on-a-chip (SOC).
The embodiment of the present invention provides a computer device 100, where the computer device 100 includes a processor and a non-volatile memory storing computer instructions, and when the computer instructions are executed by the processor, the computer device 100 executes the video program processing apparatus 110. As shown in fig. 5, fig. 5 is a block diagram of a computer device 100 according to an embodiment of the present invention. The computer device 100 includes a video program processing apparatus 110, a memory 111, a processor 112, and a communication unit 113.
In summary, the embodiments of the present application provide a video program processing method and apparatus, and a computer device, for solving the problem that the conventional protocol control mode is single and only one of file decoding, external signal switching, or graphics and text can be implemented. The video program processing method includes providing preset control protocol, and the instruction set, command specification, syntax structure, return value, etc. of the protocol. Based on the method, the multifunctional multi-instruction networked novel control of the 8K broadcasting video server can be realized. The method can realize control operations of file query, file cue, file play, external signal switching, image-text superposition and the like, and greatly reduces the complexity of upper-layer broadcast control application integration through a set of control protocols. The preset control protocol supports synchronous playing of multiple files and synchronous switching control of multiple signals, can realize parallel synchronous control playing of multiple files and multiple signal streams in an ultra-high definition (such as 8K) playing video server, and is flexible and convenient to operate.
To facilitate the transfer or interaction of data, the elements of the memory 111, the processor 112 and the communication unit 113 are electrically connected to each other, directly or indirectly. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The video program processing apparatus 110 includes at least one software functional module which can be stored in the memory 111 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the computer device 100. The processor 112 is configured to execute software functions included in the video program processing apparatus 110, such as the video program processing apparatus 110, stored in the memory 111.
An embodiment of the present application provides a readable storage medium, where the readable storage medium includes a computer program, and the computer program controls, when running, a computer device in the readable storage medium to execute the video program processing method in at least one possible implementation manner described above.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A video program processing method is applied to a computer device, the computer device is in communication connection with a video broadcasting server, the computer device and the video broadcasting server are configured with a preset control protocol, the preset control protocol is constructed based on preset length character codes, the preset control protocol comprises a multi-file preloading command and a multi-signal preloading command, and the method comprises the following steps:
acquiring a program list to be broadcasted; the program list to be broadcast comprises a plurality of programs to be broadcast, and the programs to be broadcast are configured with preloading preparation time and program broadcasting time;
judging the program type of a target program to be played under the condition that the system time reaches the pre-loading preparation time configured by the target program to be played; the target program to be broadcast is any one of the plurality of programs to be broadcast, and the program types of the programs to be broadcast comprise multi-file programs and multi-signal programs;
if the program type of the target program to be broadcasted is a multi-file program, sending the multi-file preloading command to the video broadcasting server so that the video broadcasting server performs a first preloading operation on a plurality of files to be broadcasted corresponding to the target program to be broadcasted;
if the program type of the target program to be played is a multi-signal program, sending the multi-signal preloading command to the video playing server so that the video playing server performs second preloading operation on a plurality of signals to be played corresponding to the target program to be played;
and sending a broadcasting command to the video broadcasting server under the condition that the system time reaches the program broadcasting time configured by the target program to be broadcasted and the preloading completion feedback of the video broadcasting server is received, so that the video broadcasting server broadcasts the target program to be broadcasted.
2. The method of claim 1, wherein the video playout server comprises a plurality of video playout channels, and wherein the multi-file preload command comprises channel allocation rules;
the sending the multi-file preloading command to the video broadcasting server so that the video broadcasting server performs a first preloading operation on a plurality of files to be broadcasted corresponding to the target program to be broadcasted, includes:
sending the multi-file preloading command to the video broadcasting server so that the video broadcasting server caches the multiple files to be broadcasted to the multiple video broadcasting channels according to the channel distribution rule and calls the file decoder;
the sending of the multi-signal preloading command to the video broadcasting server so that the video broadcasting server performs a second preloading operation on a plurality of to-be-broadcast signals corresponding to the target to-be-broadcast program includes:
and sending the multi-signal preloading command to the video broadcasting server so that the video broadcasting server performs signal address acquisition on the multiple signals to be broadcasted in the multiple video broadcasting channels according to the channel distribution rule and calls the signal decoder.
3. The method of claim 1, wherein the preset control protocol further comprises a single file preloading command and a single signal preloading command, wherein the program types of the programs to be broadcast further comprise a single file type program and a single signal type program, and wherein the method further comprises:
if the program type of the target program to be played is a single file type program, sending a single file preloading command to the video playing server so that the video playing server performs the first preloading operation on the file to be played corresponding to the target program to be played;
and if the program type of the target program to be played is a single-signal program, sending the single-signal preloading command to the video playing server so that the video playing server performs the second preloading operation on the signal to be played corresponding to the target program to be played.
4. The method of claim 1, wherein the preset control protocol further comprises a teletext rendering command and a teletext clear command, the method further comprising:
acquiring a picture-text rendering file; the image-text rendering file comprises rendering parameters and images and texts to be rendered;
under the condition that a first preset condition is met, sending the image-text rendering command to the video broadcasting server so that the video broadcasting server renders the image-text to be rendered into the display picture of the target program to be broadcasted according to the rendering parameter;
and under the condition that a second preset condition is met, sending the image-text clearing command to the video broadcasting server so that the video broadcasting server clears the image-text to be rendered from the display picture of the target program to be broadcasted according to the image-text to be rendered.
5. The method of claim 1, wherein the preset control protocol further comprises a pause play command and a continue play command, the method further comprising:
under the condition that a third preset condition is met, sending the playing pause command to the video playing server so that the video playing server pauses the display picture of the target program to be played;
and under the condition that a fourth preset condition is met, sending the continuous playing command to the video playing server so that the video playing server continuously plays the display picture of the target program to be played.
6. The method of claim 1, wherein the preset control protocol further comprises a clear program command, the method further comprising:
and under the condition that a fifth preset condition is met, sending the program clearing command to the video broadcasting server so that the video broadcasting server clears the related data of the target program to be broadcasted.
7. The method of claim 1, wherein the preset control protocol further comprises a server status query command, a media file query command, and a program status query command, the method further comprising:
under the condition that a sixth preset condition is met, sending the server state query command to the video broadcasting server so that the video broadcasting server feeds back the channel state of the video broadcasting server;
under the condition that a seventh preset condition is met, sending the media file query command to the video broadcasting server so that the video broadcasting server feeds back the multimedia information of the program to be broadcasted;
and under the condition that an eighth preset condition is met, sending the program state query command to the video broadcasting server so that the video broadcasting server feeds back whether the program to be broadcasted is ready for preloading.
8. A video program processing method is applied to a video broadcasting server, the video broadcasting server is in communication connection with a computer device, the video broadcasting server comprises a file decoder and a signal decoder, the computer device and the video broadcasting server are configured with a preset control protocol, the preset control protocol is constructed based on preset length character codes, the preset control protocol comprises a multi-file preloading command and a multi-signal preloading command, and the method comprises the following steps:
receiving the multi-file preloading command sent by the computer equipment under the condition that the system time reaches the preloading preparation time configured by the target program to be broadcasted and the program type of the target program to be broadcasted is the multi-file program; the target program to be broadcast is any one of a plurality of programs to be broadcast included in a program list to be broadcast acquired by the computer equipment, and the program types of the programs to be broadcast include multi-file programs and multi-signal programs;
according to the multi-file preloading command, performing first preloading operation on a plurality of files to be played corresponding to the target program to be played;
receiving the multi-signal preloading command sent by the computer equipment under the condition that the system time reaches the preloading preparation time configured by the target program to be broadcasted and the program type of the target program to be broadcasted is the multi-signal program;
according to the multi-signal preloading command, performing second preloading operation on a plurality of files to be played corresponding to the target program to be played;
when the first preloading operation or the second preloading operation is completed, sending preloading completion feedback to the computer equipment so that the computer equipment sends a broadcasting command under the condition that the system time reaches the program broadcasting time configured by the target program to be broadcasted;
and receiving the broadcasting command, and broadcasting the target program to be broadcasted.
9. A video program processing apparatus, applied to a computer device, the computer device being in communication connection with a video broadcast server, the computer device and the video broadcast server being configured with a preset control protocol, the preset control protocol being constructed based on preset length character codes, the preset control protocol including a multi-file preload command and a multi-signal preload command, the apparatus comprising:
the acquisition module is used for acquiring a program list to be broadcasted; the program list to be broadcast comprises a plurality of programs to be broadcast, and the programs to be broadcast are configured with preloading preparation time and program broadcasting time;
the judging module is used for judging the program type of the target program to be played under the condition that the system time reaches the pre-loading preparation time configured by the target program to be played; the target program to be broadcast is any one of the plurality of programs to be broadcast, and the program types of the programs to be broadcast comprise multi-file programs and multi-signal programs;
the processing module is used for sending the multi-file preloading command to the video broadcasting server if the program type of the target program to be broadcasted is a multi-file program, so that the video broadcasting server performs a first preloading operation on a plurality of files to be broadcasted corresponding to the target program to be broadcasted; if the program type of the target program to be played is a multi-signal program, sending the multi-signal preloading command to the video playing server so that the video playing server performs second preloading operation on a plurality of signals to be played corresponding to the target program to be played;
and the broadcasting module is used for sending a broadcasting command to the video broadcasting server under the condition that the system time reaches the program broadcasting time configured by the target program to be broadcasted and the preloading completion feedback of the video broadcasting server is received, so that the video broadcasting server broadcasts the target program to be broadcasted.
10. A computer device comprising a processor and a non-volatile memory having computer instructions stored thereon, wherein the computer instructions, when executed by the processor, cause the computer device to perform the video program processing method of any of claims 1-8.
CN202110959018.4A 2021-08-20 2021-08-20 Video program processing method and device and computer equipment Pending CN113794911A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110959018.4A CN113794911A (en) 2021-08-20 2021-08-20 Video program processing method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110959018.4A CN113794911A (en) 2021-08-20 2021-08-20 Video program processing method and device and computer equipment

Publications (1)

Publication Number Publication Date
CN113794911A true CN113794911A (en) 2021-12-14

Family

ID=79182055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110959018.4A Pending CN113794911A (en) 2021-08-20 2021-08-20 Video program processing method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN113794911A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873739A (en) * 2014-03-14 2014-06-18 中央电视台 Multi-equipment cooperative control method and equipment
WO2017128595A1 (en) * 2016-01-28 2017-08-03 深圳国微技术有限公司 Live broadcasting method and system for high-definition video transmission of digital television
CN111405213A (en) * 2020-03-24 2020-07-10 京东方科技集团股份有限公司 Interface access method, display device and electronic equipment
CN111447394A (en) * 2020-03-05 2020-07-24 视联动力信息技术股份有限公司 Video data processing method, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873739A (en) * 2014-03-14 2014-06-18 中央电视台 Multi-equipment cooperative control method and equipment
WO2017128595A1 (en) * 2016-01-28 2017-08-03 深圳国微技术有限公司 Live broadcasting method and system for high-definition video transmission of digital television
CN111447394A (en) * 2020-03-05 2020-07-24 视联动力信息技术股份有限公司 Video data processing method, electronic equipment and storage medium
CN111405213A (en) * 2020-03-24 2020-07-10 京东方科技集团股份有限公司 Interface access method, display device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张娟: "8K 超高清播出试验***设计与应用" *

Similar Documents

Publication Publication Date Title
CN109168078B (en) Video definition switching method and device
JP6549605B2 (en) Audiovisual content item data stream
US7860996B2 (en) Media streaming with seamless ad insertion
JP4393591B2 (en) Object-oriented audio-visual terminal and bitstream structure
US20170163992A1 (en) Video compressing and playing method and device
US11863801B2 (en) Method and device for generating live streaming video data and method and device for playing live streaming video
CN103118302B (en) The method and relevant device of digital content version switching
US11438645B2 (en) Media information processing method, related device, and computer storage medium
CA3083039A1 (en) Method and apparatus for efficient delivery and usage of audio messages for high quality of experience
EP3866481A1 (en) Audio/video switching method and apparatus, and computer device and readable storage medium
CN111510755A (en) Audio and video switching method and device, computer equipment and readable storage medium
CN106792152A (en) A kind of image synthesizing method and terminal
CN109905749B (en) Video playing method and device, storage medium and electronic device
CN110662116A (en) Web player based on WebAssembly technology and playing method
CN105898370A (en) Multi-camera video player, playing system and playing method
CN113225585A (en) Video definition switching method and device, electronic equipment and storage medium
CN112929730A (en) Bullet screen processing method and device, electronic equipment, storage medium and system
JP2024048339A (en) Server, terminal and computer program
CN112087642A (en) Cloud director playing method, cloud director server and remote management terminal
CN106385627B (en) video encoding method and apparatus
CN103747280A (en) Method for creating a program and device thereof
CN113794911A (en) Video program processing method and device and computer equipment
CN116261008A (en) Audio processing method and audio processing device
CN112188256B (en) Information processing method, information providing device, electronic device, and storage medium
CN114422840A (en) Audio track switching 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