[0019] In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following further describes the embodiments of the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the embodiments of the present invention, and are not used to limit the embodiments of the present invention.
[0020] One of the advertising requirements for live online TV programs is to use designated advertising programs to cover the live programs in a specific time period to achieve the purpose of shielding the live programs and publishing advertisements.
[0021] Referring to Fig. 1, the method for inserting advertisements in a live web TV program according to the first embodiment of the present invention includes the following steps:
[0022] A1. Generate an advertising program stream;
[0023] A2. Receive a switch request for switching a live program to an advertisement program, obtain the data of the advertisement program stream, and replace the broadcasted live program media stream with the advertisement program stream, and save the data of the media stream played by the live program at the same time information;
[0024] A3. Receive a switch request for switching the currently played program back to the original live program, and switch the currently played program back to the original live program.
[0025] In the method for inserting advertisements in live web TV programs in the first embodiment of the present invention, when the advertisement needs to be inserted immediately, the operator can also control the start and end of the advertisement program immediately, that is to say, the immediate reception control ends the advertisement program and ends. The instruction of the advertisement program, instead of judging whether the advertisement start time and advertisement end time specified by the advertisement demand have been reached.
[0026] Referring to Fig. 2, the system for inserting advertisements in live web TV programs according to the first embodiment of the present invention includes:
[0027] Advertisement program stream generating module, used to generate advertisement program stream;
[0028] The switching request receiving module is used for receiving a switching request for switching a live program to an advertisement program, and also for receiving a switching request for switching the currently played program back to the original live program;
[0029] An advertisement program stream acquisition module, configured to acquire data of the advertisement program stream;
[0030] The switching module is used to change the media stream of the played live program to the advertising program stream, and is also used to switch the currently played program back to the original live program;
[0031] The storage module is used to store the information of the media stream played by the live program.
[0032] Referring to FIG. 3, the method for inserting advertisements in live web TV programs according to the second embodiment of the present invention includes the following steps:
[0033] B1. Send a request to generate an advertisement program stream;
[0034] B2. Receive the request, read the advertisement file of the advertisement program, and generate an advertisement program stream, assuming that the name of the advertisement program stream is advertisement stream 1;
[0035] B3. Determine whether the advertisement start time specified by the preset advertisement demand has been reached, and if the advertisement start time is reached, send a request to switch the live program to the advertisement demand of the advertisement stream;
[0036] B4. Receive the request and check whether the advertisement stream 1 exists, and if so, send a switch request to switch the live program to the advertisement stream;
[0037] B5. Obtain the data of advertising stream 1;
[0038] B6. Replace the live program with an advertisement program, that is, replace the media stream of the broadcast program with advertisement stream 1. At the same time, save the information of the media stream played by the live program, and mark the current program as a non-original live program;
[0039] B7. Determine whether the advertisement end time specified by the preset advertisement requirement has been reached, and if the advertisement end time is reached, send a request to delete the advertisement requirement to switch the advertisement program back to the original live broadcast program;
[0040] B8. Receive the request, and send a switch request to switch the advertising program back to the original live program;
[0041] B9. Check whether the currently played program is a non-original live program, if so, switch the currently played program back to the original live program, and if not, do nothing.
[0042] In the second embodiment of the present invention, in the method for inserting advertisements in live web TV programs, when the advertisement needs to be inserted immediately, the operator can also control the start and end of the advertisement program immediately, that is to say, the immediate reception control ends the advertisement program and ends. The instruction of the advertisement program, instead of judging whether the advertisement start time and advertisement end time specified by the advertisement demand have been reached.
[0043] Referring to Fig. 4, the system for inserting advertisements in live web TV programs according to the second embodiment of the present invention includes:
[0044] Advertisement program stream generating module, used to generate advertisement program stream;
[0045] The switching request receiving module is used for receiving a switching request for switching a live program to an advertisement program, and also for receiving a switching request for switching the currently played program back to the original live program;
[0046] An advertisement program stream acquisition module, configured to acquire data of the advertisement program stream;
[0047] The switching module is used to change the media stream of the played live program to the advertising program stream, and is also used to switch the currently played program back to the original live program;
[0048] The storage module is used to save the information of the media stream played by the live program;
[0049] The marking module is used to mark the current broadcast program as a non-original live broadcast program;
[0050] The checking module is used to check whether the currently played program is a non-original live program, and if so, control the switching module to switch the currently played program back to the original live program;
[0051] The switching request sending module is used to send a switching request for switching the live program to an advertisement program, and also for sending a switching request for switching the currently played program back to the original live program;
[0052] The advertising time judging module is used to judge whether the advertising start time specified by the preset advertising demand has been reached, and if the advertising start time is reached, control the switching request sending module to send a request for switching the live program to the advertising program stream; It is used to determine whether the advertisement end time specified by the preset advertisement demand has been reached, and if the advertisement end time is reached, the switching request sending module is controlled to send a request to switch the advertisement program back to the original live program.
[0053] The method and system for inserting advertisements in a live network television program in the embodiment of the present invention can also be understood as all interrupted news, announcements, advertisements and other information.
[0054] The method and system of the embodiment of the present invention can complete the shielding and advertisement placement requirements of live online TV programs. The increase and deletion of such advertisement requirements can be automated or processed by the operator in real time. For automated processing, It can greatly improve the efficiency and accuracy of processing the demand for interstitial advertisements, and reduce the possibility of errors. For the immediate control and processing by the operator, it can flexibly intersect the advertisements in real time as needed.
[0055] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modification, equivalent replacement and improvement made within the spirit and principle of the present invention shall be included in the protection of the present invention. Within range.