Summary of the invention
For avoiding the wasting of resources at IPTV set-top-box opening initial stage; The present invention proposes a kind of IPTV system, comprises STB, videotex system, it is characterized in that; Said videotex system further comprises user's viewing information database, video storage server and statistic analysis server, wherein:
The start that powers on of said STB, start hardware device, starter motor top box operating system after, start player application immediately, play a video file that is stored in the STB memory device;
Said statistic analysis server obtains user's movie record of each STB feedback and is stored in said user's viewing information database;
Said statistic analysis server carries out data mining to user's viewing custom, analyzes the advertisement that this user possibly like and feeds back to the down load application program in the STB;
Said STB comprises the down load application program, and it downloads corresponding video media file to the memory device of STB from said video storage server after receiving said feedback.
Preferably, said video file is advertisement.
Further, said STB further comprises uploads application program, and the every broadcast of user is film first, said upload application program with the films types of said film, publish ground, popular score information is uploaded to said statistic analysis server.
Further; Said statistic analysis server carries out data mining to user's viewing custom; Analyze the video that this user possibly like and feed back to the down load application program in the STB; Down load application program in the STB removes to download corresponding video media file to the memory device of STB to the video storage server again, said viewing custom comprise the viewing time period or/and the viewing type or/and the viewing frequency.
In another execution mode, the file address that said statistic analysis server will be analyzed the user's interest video of gained feeds back to the down load application program in the STB; Video storage server in down load application program in the STB and the IPTV platform side videotex system connects, and according to the file address foradownloaded video file of the statistic analysis server in IPTV platform side videotex system feedback; The video file that down load application procedure stores in the STB is downloaded.
In the more detailed execution mode; A unidirectional round-robin queue is set in the said STB is used for managing advertisement broadcast order; And a formation that is used for eliminating expired video file, said unidirectional round-robin queue comprises that at least following content: MD5 representes the video file sign; Rank representes to be used for the value that sorts in formation; Location is used for indicating the memory location of video media file at the STB memory device; And pointer that points to next node.
The formation that is used for eliminating expired video file is for the video file deletion that is less than N at memory device access times in apart from the time period threshold value T of current time.Said time period threshold value T is 24 hours, perhaps 48 hours, perhaps 72 hours, and said times N is the positive integer less than 5.
Further, STB is configured to a node of described unidirectional circulation team with the video media file of each download, and fills MD5, Rank, the Location value of said node, according to its Rank value new node is inserted in the unidirectional round-robin queue.
In another execution mode, said video storage server has been deposited video media file and video media file corresponding metadata at least, and said metadata comprises adline, Rank value, the term of validity at least.
Practice shows; IPTV provided by the invention system can be at the very first time displaying video after the necessary hardware power-on self-test of set-top-box opening and operating system load; Make full use of resource, made start process vividly appear vividly simultaneously, had favorable user experience.
Embodiment
The flow chart of displaying video in the set-top-box opening process that combines at first that the present invention shown in Figure 1 proposes is explained a preferred implementation of the present invention.
Video described in the present invention is preferably an advertisement video file, and said video file is stored in the memory device of STB, should be appreciated that above-mentioned memory device can be on the storage mediums such as flash memory Flash, hard disk, SD card, USB flash disk.Video file can come from following approach: when STB dispatches from the factory, and some video files of on the memory device of STB, preserving in advance, the i.e. video file that carries of STB; Perhaps; Come from the video file (be preferably an advertisement video) of IPTV television content provider in the videotex system that the IPTV platform side is built; Through the video down load application program APP of operation in the STB, from videotex system foradownloaded video media file to the memory device of STB.
Referring to accompanying drawing 1, provided by the invention in IPTV set-top-box opening process the method for displaying video may further comprise the steps:
The start that powers on of step 1, STB starts hardware device;
Step 2, starter motor top box operating system;
Said operating system TVOS is preferably Android intelligent operating system, Windows CE 5.0 etc.;
Step 3, startup player application are play a video file that is stored in the STB memory device;
Step 4, other the application program of starting;
Step 5, entering STB initial interface are waited for user's operation.
The present invention further proposes a kind of video download policy, and the method for video media file management in a kind of STB, next combines accompanying drawing 2 further to set forth.
IPTV platform side videotex system is made up of video storage server and statistic analysis server.Preferably, the advertising media's file and the advertisements metadata (adline, Rank value, the term of validity etc.) that provide of video storage server repository advertiser;
Statistic analysis server is included the movie record of each set-top box users and is stored in the database; The every broadcast of user is film first; Upload the attribute that APP will be important with film in the STB, like films types, publish ground, popular scoring etc. and be uploaded to statistic analysis server.
Video in the STB is downloaded not direct foradownloaded video file in the video storage server of APP; And elder generation's visit statistic analysis server; Statistic analysis server carries out data mining to user's viewing custom (for example viewing time period or/and viewing type or/and behaviors such as the viewing frequencys); Analyze the advertisement that this user possibly like and feed back to the down load application program in the STB, the down load application program in the STB removes to download corresponding video media file to the memory device of STB to the video storage server again.Detailed process is following:
At first, STB reports the film attribute information to IPTV platform side videotex system;
Secondly, the statistic analysis server in the IPTV platform side videotex system carries out data mining to user's viewing custom (for example viewing time period or/and viewing type or/and behaviors such as the viewing frequencys), analyzes this user's interest video;
Once more, the file address that will analyze the user's interest video of gained of the statistic analysis server in the IPTV platform side videotex system feeds back to the down load application program in the STB;
The 4th, the video storage server in down load application program in the STB and the IPTV platform side videotex system connects, and according to the file address foradownloaded video file of the statistic analysis server in IPTV platform side videotex system feedback;
The 5th, the video file that the down load application procedure stores in the STB is downloaded.
Provided by the invention one more preferred embodiment in; The STB built-in system is the video file of effective managed storage at memory device; Used a unidirectional round-robin queue to be used for managing advertisement and play order, a formation that is used for eliminating expired video file also has been set simultaneously, in memory device in apart from the time period threshold value T of current time access times be less than the video file deletion of N; Above-mentioned time period threshold value can be provided with arbitrarily; But more excellent value is 24 hours, 48 hours, 72 hours, and above-mentioned times N also can be provided with arbitrarily, is preferably the positive integer less than 5.
Said unidirectional round-robin queue is used to be responsible for safeguarding the ad playing order, and its each node is as shown in Figure 3, and it comprises following content at least:
MD5 representes the video file sign;
Rank representes to be used for the value that sorts in formation;
Location is used for indicating the memory location of video media file at the STB memory device;
And pointer that points to next node.
After every then video media file downloads on the STB Flash storage medium, construct a node as shown in Figure 3 and fill MD5, Rank, Location, new node is inserted in the unidirectional round-robin queue according to its Rank value for it, as shown in Figure 4.Can also comprise following technical characterictic in the another kind of more detailed execution mode: after every then video (such as advertisement) is play, move after representing the pointer of current displaying video, point to the next node of formation.After STB start next time, player finds the correspondent advertisement media file to play according to the node of pointer indication.
In order to keep the real-time of video file (for example advertisement), need all be set certain storage period for every then video, expired video file needs deletion.After video media file downloads to STB,, be inserted into the formation (from nearest video of out-of-service time, its representation node is inserted into the formation head) that is used for eliminating expired video file according to its term of validity attribute.The expired detection application program of advertisement in the set-top-box system is responsible for checking that this is used for the head node of the formation of superseded expired video file; If find node inefficacy out of date; Then it is removed from formation; Simultaneously, the video media file of this node representative is deleted from memory device, and removed the respective nodes in the unidirectional round-robin queue.
Simultaneously, the present invention proposes a kind of IPTV system, comprises STB, videotex system, it is characterized in that said videotex system further comprises user's viewing information database, video storage server and statistic analysis server, wherein:
The start that powers on of said STB, start hardware device, starter motor top box operating system after, start player application immediately, play a video file that is stored in the STB memory device;
Said statistic analysis server obtains user's movie record of each STB feedback and is stored in said user's viewing information database;
Said statistic analysis server carries out data mining to user's viewing custom, analyzes the advertisement that this user possibly like and feeds back to the down load application program in the STB;
Said STB comprises the down load application program, and it downloads corresponding video media file to the memory device of STB from said video storage server after receiving said feedback.
Preferably, said video file is advertisement.
Further, said STB further comprises uploads application program, and the every broadcast of user is film first, said upload application program with the films types of said film, publish ground, popular score information is uploaded to said statistic analysis server.
Further; Said statistic analysis server carries out data mining to user's viewing custom; Analyze the video that this user possibly like and feed back to the down load application program in the STB; Down load application program in the STB removes to download corresponding video media file to the memory device of STB to the video storage server again, said viewing custom comprise the viewing time period or/and the viewing type or/and the viewing frequency.
In another execution mode, the file address that said statistic analysis server will be analyzed the user's interest video of gained feeds back to the down load application program in the STB; Video storage server in down load application program in the STB and the IPTV platform side videotex system connects, and according to the file address foradownloaded video file of the statistic analysis server in IPTV platform side videotex system feedback; The video file that down load application procedure stores in the STB is downloaded.
In the more detailed execution mode; A unidirectional round-robin queue is set in the said STB is used for managing advertisement broadcast order; And a formation that is used for eliminating expired video file, said unidirectional round-robin queue comprises that at least following content: MD5 representes the video file sign; Rank representes to be used for the value that sorts in formation; Location is used for indicating the memory location of video media file at the STB memory device; And pointer that points to next node.
The formation that is used for eliminating expired video file is for the video file deletion that is less than N at memory device access times in apart from the time period threshold value T of current time.Said time period threshold value T is 24 hours, perhaps 48 hours, perhaps 72 hours, and said times N is the positive integer less than 5.
Further, STB is configured to a node of described unidirectional circulation team with the video media file of each download, and fills MD5, Rank, the Location value of said node, according to its Rank value new node is inserted in the unidirectional round-robin queue.
In another execution mode, said video storage server has been deposited video media file and video media file corresponding metadata at least, and said metadata comprises adline, Rank value, the term of validity at least.
Practice shows; IPTV provided by the invention system can be at the very first time displaying video after the necessary hardware power-on self-test of set-top-box opening and operating system load; Make full use of resource, made start process vividly appear vividly simultaneously, had favorable user experience.
Scope of the present invention should not be limited to detail described herein and structure, and should be limited on described structure of claim and equivalent.