CN113556583A - Set top box starting advertisement playing method - Google Patents

Set top box starting advertisement playing method Download PDF

Info

Publication number
CN113556583A
CN113556583A CN202110813721.4A CN202110813721A CN113556583A CN 113556583 A CN113556583 A CN 113556583A CN 202110813721 A CN202110813721 A CN 202110813721A CN 113556583 A CN113556583 A CN 113556583A
Authority
CN
China
Prior art keywords
data
advertisement
top box
starting
main program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110813721.4A
Other languages
Chinese (zh)
Other versions
CN113556583B (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.)
Hangzhou Nationalchip Science & Technology Co ltd
Original Assignee
Hangzhou Nationalchip Science & Technology 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 Hangzhou Nationalchip Science & Technology Co ltd filed Critical Hangzhou Nationalchip Science & Technology Co ltd
Priority to CN202110813721.4A priority Critical patent/CN113556583B/en
Publication of CN113556583A publication Critical patent/CN113556583A/en
Application granted granted Critical
Publication of CN113556583B publication Critical patent/CN113556583B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/237Communication with additional data server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4436Power management, e.g. shutting down unused components of the receiver

Abstract

The invention discloses a method for playing start-up advertisements of a set top box. The existing method for playing the boot advertisements from the network server by the set top box has poor user experience and is not suitable for the set top box with small-capacity flash. After sending a standby instruction, the set-top box firstly only closes the video data output module, downloads the starting-up advertisement data from the network server to the specified DDR address, and adds the checking data and the self-defined head and tail data to the starting-up advertisement data to be used as complete advertisement data; then entering a low-power-consumption deep standby state, after the computer is started again, the main program module retrieves complete advertisement data, sequentially verifies the self-defined head data, the self-defined tail data and the verification data, and determines to play the starting advertisement or directly enters a normal starting state. The method saves and optimizes the flash storage space of the set-top box, reduces the starting waiting time and has good user experience.

Description

Set top box starting advertisement playing method
Technical Field
The invention belongs to the technical field of digital set-top boxes, and particularly relates to a method for playing start-up advertisements of a set-top box.
Background
At present, the set top box plays the boot advertisements mainly has two types according to the advertisement source: broadcasting the boot advertisement from the front ts stream; and playing the starting-up advertisement from the network server.
The front-end ts stream is supported by a front-end operator when the boot-up advertisement is played, and related expenses need to be paid if a common set-top box manufacturer needs to use the function, so that the number of the adopted advertisements is small. Most set-top boxes adopt a free mode, namely, a starting advertisement is played after data is downloaded from a network server, and the following two methods are mainly adopted:
1. the method has the main problems that the starting time is long, the set top box is required to download data from the network server for playing after the starting and the networking are finished, and the user experience is poor;
2. when the user uses the set-top box, the background downloads the advertisement data and stores the advertisement data in the flash of the set-top box, and the advertisement is directly played from the flash when the user starts the set-top box next time. But this method is not suitable for low-cost set-top boxes with small-capacity flash.
Disclosure of Invention
The invention aims to provide a method for playing the boot advertisements of the set top box aiming at the situation that the boot advertisements are played from a network server.
Aiming at the condition that the flash capacity of the low-cost set top box is insufficient, the data are downloaded from the network server when the set top box is in a standby state, the data are stored in a DDR (memory) designated position and are verified, the DDR is ensured not to be powered off in a standby state on hardware, the data are read from the DDR designated position and are verified when the set top box is started, and the starting advertisement is played when the verification is successful.
The method specifically comprises the following steps:
step (1) after the user finishes normal use of the set top box, a standby instruction is sent, the set top box enters a preliminary standby state, and a video data output module is closed;
step (2) the set-top box downloads the boot advertising data from the network server to the designated DDR address, the main program module calculates the verification data according to the boot advertising data, then adds the verification data and the self-defined head and tail data to the boot advertising data as complete advertising data, and stores the complete advertising data in the designated DDR address;
the structure of the complete advertisement data is: the method comprises the steps of self-defining head data, advertisement length data, verification data, starting advertisement data and self-defining tail data; the length of the custom header data is N bytes, and the length of the custom tail data is M bytes;
closing the rest modules of the set top box, and enabling the set top box to enter a low-power-consumption deep standby state;
step (4) the set-top box in a deep standby state is started after receiving a starting instruction of a user, a main program module of the set-top box is initialized, the main program module calls complete advertisement data from a specified DDR address, and a first starting initialization stage is entered;
step (5), the main program module reads the initial N bytes of data of the complete advertisement data: if the initial N bytes of data are consistent with the custom header data, executing the step (6); if not, ignoring the retrieved complete advertisement data, and executing the remaining stage of startup initialization until the normal startup state;
and (6) continuously reading the advertisement length data by the main program module, and determining the last M bytes of data of the complete advertisement data: if the last M bytes of data are consistent with the custom tail data, executing the step (7); if not, ignoring the retrieved complete advertisement data, and executing the remaining stage of startup initialization until the normal startup state;
and (7) continuously reading the verification data and the starting advertisement data by the main program module, calculating a verification value for the starting advertisement data by the main program module, and comparing the verification value with the verification data: if yes, starting to play the starting-up advertisement, and then executing the step (8); if not, neglecting the called complete advertisement data, executing the rest stage of the startup initialization until the normal startup state;
step (8) the background of the main program executes the remaining stage of the startup initialization, and simultaneously the foreground plays the startup advertisement; and after all initialization is completed and the start-up advertisement is played, entering a normal start-up state.
The main program module in the step (2) calculates the check data according to the boot advertisement data and calculates the check value in the step (7) by the same method, which is a mature prior art, such as CRC check.
The method stores the boot advertising data in the appointed DDR (memory), so that the flash storage space is saved and optimized. Meanwhile, the starting-up advertisement data is downloaded in the standby state of the set-top box and is directly played when the set-top box is started up, so that the phenomenon of starting-up pause is avoided, and the user experience is improved. Moreover, if the boot advertisement does not exist, namely the three-time verification fails, the boot initialization stage is directly entered, and the boot waiting time is reduced. The main program background executes the starting initialization residual stage and the foreground plays the starting advertisement at the same time, thereby further saving the starting waiting time.
Detailed Description
A method for playing start-up advertisement of set-top box includes:
step (1) after the user finishes normal use of the set top box, a standby instruction is sent, the set top box enters a preliminary standby state, and a video data output module is closed;
step (2) the set-top box downloads the boot advertising data from the network server to the appointed DDR address, the main program module calculates the check data through a CRC (cyclic redundancy check) method according to the boot advertising data, then adds the check data and the self-defined head and tail data to the boot advertising data to serve as complete advertising data, and stores the complete advertising data in the appointed DDR address; the structure of the complete advertisement data is: 4-byte-length custom header data, 4-byte-length advertisement length data, 4-byte-length check data, startup advertisement data and 4-byte-length custom tail data;
closing the rest modules of the set top box, and enabling the set top box to enter a low-power-consumption deep standby state;
step (4) the set-top box in a deep standby state is started after receiving a starting instruction of a user, a main program module of the set-top box is initialized, the main program module calls complete advertisement data from a specified DDR address, and a first starting initialization stage is entered;
step (5), the main program module reads the first 4 bytes data of the complete advertisement data: if the initial 4 bytes of data are consistent with the custom header data, executing the step (6); if not, ignoring the retrieved complete advertisement data, and executing the remaining stage of startup initialization until the normal startup state;
and (6) continuously reading the advertisement length data by the main program module, and determining the last 4 bytes of data of the complete advertisement data: if the last 4 bytes of data are consistent with the custom tail data, executing the step (7); if not, ignoring the retrieved complete advertisement data, and executing the remaining stage of startup initialization until the normal startup state;
and (7) continuously reading the check data and the starting advertisement data by the main program module, calculating a check value of the starting advertisement data by the main program module through a CRC (cyclic redundancy check) method, and comparing the check value with the check data: if yes, playing the boot advertisement, and then executing the step (8); if not, neglecting the called complete advertisement data, executing the rest stage of the startup initialization until the normal startup state;
step (8) the background of the main program executes the remaining stage of the startup initialization, and simultaneously the foreground plays the startup advertisement; and after all initialization is completed and the start-up advertisement is played, entering a normal start-up state.

Claims (5)

1. A method for playing start-up advertisement of set-top box is characterized in that the method specifically comprises the following steps:
step (1) after the user finishes normal use of the set top box, a standby instruction is sent, the set top box enters a preliminary standby state, and a video data output module is closed;
step (2) the set-top box downloads the boot advertising data from the network server to the designated DDR address, the main program module calculates the verification data according to the boot advertising data, then adds the verification data and the self-defined head and tail data to the boot advertising data as complete advertising data, and stores the complete advertising data in the designated DDR address;
the structure of the complete advertisement data is: the method comprises the steps of self-defining head data, advertisement length data, verification data, starting advertisement data and self-defining tail data; the length of the custom header data is N bytes, and the length of the custom tail data is M bytes;
closing the rest modules of the set top box, and enabling the set top box to enter a low-power-consumption deep standby state;
step (4) the set-top box in a deep standby state is started after receiving a starting instruction of a user, a main program module of the set-top box is initialized, the main program module calls complete advertisement data from a specified DDR address, and a first starting initialization stage is entered;
step (5), the main program module reads the initial N bytes of data of the complete advertisement data: if the initial N bytes of data are consistent with the custom header data, executing the step (6); if not, ignoring the retrieved complete advertisement data, and executing the remaining stage of startup initialization until the normal startup state;
and (6) continuously reading the advertisement length data by the main program module, and determining the last M bytes of data of the complete advertisement data: if the last M bytes of data are consistent with the custom tail data, executing the step (7); if not, ignoring the retrieved complete advertisement data, and executing the remaining stage of startup initialization until the normal startup state;
and (7) continuously reading the verification data and the starting advertisement data by the main program module, calculating a verification value for the starting advertisement data by the main program module, and comparing the verification value with the verification data: if yes, starting to play the starting-up advertisement, and then executing the step (8); if not, neglecting the called complete advertisement data, executing the rest stage of the startup initialization until the normal startup state;
step (8) the background of the main program executes the remaining stage of the startup initialization, and simultaneously the foreground plays the startup advertisement; and after all initialization is completed and the start-up advertisement is played, entering a normal start-up state.
2. The set-top box boot advertisement playing method of claim 1, wherein: the length of the self-defined head data and the length of the defined tail data are 4 bytes.
3. The set-top box boot advertisement playing method of claim 1, wherein: the length of the advertisement length data and the check data is 4 bytes.
4. The set-top box boot advertisement playing method of claim 1, wherein: and (3) adopting the same method for calculating the check data in the step (2) and calculating the check value in the step (7) to carry out CRC check.
5. The set-top box boot advertisement playing method of claim 4, wherein: and (3) calculating the check data in the step (2) and calculating the check value in the step (7) by adopting a CRC (cyclic redundancy check) method.
CN202110813721.4A 2021-07-19 2021-07-19 Set top box starting advertisement playing method Active CN113556583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110813721.4A CN113556583B (en) 2021-07-19 2021-07-19 Set top box starting advertisement playing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110813721.4A CN113556583B (en) 2021-07-19 2021-07-19 Set top box starting advertisement playing method

Publications (2)

Publication Number Publication Date
CN113556583A true CN113556583A (en) 2021-10-26
CN113556583B CN113556583B (en) 2023-03-31

Family

ID=78132041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110813721.4A Active CN113556583B (en) 2021-07-19 2021-07-19 Set top box starting advertisement playing method

Country Status (1)

Country Link
CN (1) CN113556583B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1509080A (en) * 2002-12-19 2004-06-30 北京中视联数字系统有限公司 Modulized digital television set top box
CN1917571A (en) * 2006-09-15 2007-02-21 中辉世纪传媒发展有限公司 Digital broadcast television system, set top box, and method of displaying image of starting up TV
US20070174471A1 (en) * 2003-04-30 2007-07-26 Cedric Van Rossum Secure, continous, proxy-optimized, device-to-device data download reception system and method of use
CN201307884Y (en) * 2008-10-28 2009-09-09 福建新大陆通信科技有限公司 Multi-function double-direction interactive digital television set-top box
CN101562686A (en) * 2009-04-29 2009-10-21 山东泰信电子有限公司 Method for downloading software of universal set-top box (STB) platform
CN103731748A (en) * 2013-12-13 2014-04-16 乐视致新电子科技(天津)有限公司 Starting-up advertisement playing method and device and set top box
CN105704550A (en) * 2016-02-02 2016-06-22 四川长虹电器股份有限公司 Method for realizing rapid wireless network connection upon power-on of intelligent television
CN105791948A (en) * 2016-05-30 2016-07-20 Tcl集团股份有限公司 Method and system for realizing starting video of smart television
CN105869005A (en) * 2015-11-23 2016-08-17 乐视网信息技术(北京)股份有限公司 APP startup advertisement pre-loading method, apparatus and system
WO2017035786A1 (en) * 2015-09-01 2017-03-09 深圳好视网络科技有限公司 Method, device, and system for playing and checking streaming media file
CN108810631A (en) * 2018-06-22 2018-11-13 青岛海信电器股份有限公司 Playback method, device, electronic equipment and the computer storage media of startup advertisement
CN110738975A (en) * 2019-11-11 2020-01-31 延锋伟世通电子科技(南京)有限公司 method for quickly displaying boot animation of full liquid crystal instrument

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1509080A (en) * 2002-12-19 2004-06-30 北京中视联数字系统有限公司 Modulized digital television set top box
US20070174471A1 (en) * 2003-04-30 2007-07-26 Cedric Van Rossum Secure, continous, proxy-optimized, device-to-device data download reception system and method of use
CN1917571A (en) * 2006-09-15 2007-02-21 中辉世纪传媒发展有限公司 Digital broadcast television system, set top box, and method of displaying image of starting up TV
CN201307884Y (en) * 2008-10-28 2009-09-09 福建新大陆通信科技有限公司 Multi-function double-direction interactive digital television set-top box
CN101562686A (en) * 2009-04-29 2009-10-21 山东泰信电子有限公司 Method for downloading software of universal set-top box (STB) platform
CN103731748A (en) * 2013-12-13 2014-04-16 乐视致新电子科技(天津)有限公司 Starting-up advertisement playing method and device and set top box
WO2017035786A1 (en) * 2015-09-01 2017-03-09 深圳好视网络科技有限公司 Method, device, and system for playing and checking streaming media file
CN105869005A (en) * 2015-11-23 2016-08-17 乐视网信息技术(北京)股份有限公司 APP startup advertisement pre-loading method, apparatus and system
US20180253503A1 (en) * 2015-11-23 2018-09-06 Le Holdings (Beijing) Co., Ltd. Method, Apparatus and System for Preloading of APP Launch Advertising
CN105704550A (en) * 2016-02-02 2016-06-22 四川长虹电器股份有限公司 Method for realizing rapid wireless network connection upon power-on of intelligent television
CN105791948A (en) * 2016-05-30 2016-07-20 Tcl集团股份有限公司 Method and system for realizing starting video of smart television
CN108810631A (en) * 2018-06-22 2018-11-13 青岛海信电器股份有限公司 Playback method, device, electronic equipment and the computer storage media of startup advertisement
CN110738975A (en) * 2019-11-11 2020-01-31 延锋伟世通电子科技(南京)有限公司 method for quickly displaying boot animation of full liquid crystal instrument

Also Published As

Publication number Publication date
CN113556583B (en) 2023-03-31

Similar Documents

Publication Publication Date Title
US6761635B2 (en) Remote-control signal receiver
CN102724585B (en) A kind of method and device playing prestrain for terminal equipment Internet video
CN105681874A (en) Network video online playing method and device
US20170163992A1 (en) Video compressing and playing method and device
CN106406935A (en) OTA upgrading method for Bluetooth chip and Bluetooth chip
WO2010034217A1 (en) Method for controlling game system by speech and game system
CN113556583B (en) Set top box starting advertisement playing method
WO2007094120A1 (en) Game device, game device control method, and information storage medium
JP2007167564A (en) Game device, and control method and program for game device
US11457289B2 (en) Low latency broadcasting of game engine frames
JP3442366B2 (en) Character display method and entertainment apparatus
CN109407986A (en) Method, system, server and the storage medium of real-time update equipment operating parameter
US8030563B2 (en) Electronic audio playing apparatus and method
JP2012196554A (en) Game machine
CN107454447A (en) A kind of plug-in loading method of player, device and television set
CN102281363A (en) Terminal and method for realizing value added service in startup process
CN110225279B (en) Video production system and video production method of mobile terminal
CN107197367A (en) A kind of player method, device and the terminal device of startup advertisement sound
US7925962B2 (en) DVB-H system and method for performing forward error correction
CN102088449B (en) Playing method and device of network video file
CN104506931B (en) A kind of method and system for supporting CAM card online upgradings
CN102037449A (en) Method and system for error correction of a storage media
KR20120026052A (en) System and method for sharing memory
CN202285403U (en) Karaoke data transmission system
JP4772909B1 (en) Information processing apparatus and information processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant