The data load method of Set Top Box and system
Technical field
The invention belongs to the communications field, particularly relate to a kind of data load method and system of Set Top Box.
Background technology
Set Top Box is existing common equipment in the family, existing Set Top Box has Intelligent set top box and non intelligent Set Top Box, existing Set Top Box is loaded by the mode downloaded in advance usually when playing, namely when displaying video, except the video file that download is being play, the also pre-loaded file do not play, although this kind of mode can make broadcasting very smooth, but higher for the requirement of its network speed, waste bandwidth.
Summary of the invention
The object of the embodiment of the present invention is the data load method providing a kind of Set Top Box, is intended to solve the requirement of existing technical scheme network speed high, the problem of waste bandwidth.
On the one hand, provide a kind of data load method of Set Top Box, described method comprises the steps:
101, the title of the video information that user clicks is determined;
102, the title of this video information and the title of historical record are compared determine whether relevant property;
103, if any relevance, then start the pre-loaded video information play, as not connection property, then only load the video information in the setting threshold time.
Optionally, described method also comprises after 103:
During as there is no a relevance, detecting the reproduction time of current video, as reproduction time exceedes broadcasting threshold value, then starting the pre-loaded video information play.This kind of setting is the loading carried out after regular hour section in advance seeing new program in order to work as user.
Optionally, the described title of this video information and the title of historical record being compared determines whether that relevant property specifically comprises:
Extract the principal name of this video information and the principal name of historical record, as principal name is consistent, then defines relevance, as principal name is inconsistent, determine onrelevant.
On the other hand, provide a kind of Set Top Box, described Set Top Box comprises:
Name cell, for determining the title of the video information that user clicks;
Comparing unit, compares the title of this video information and the title of historical record and determines whether relevant property;
Loading unit, if any relevance, then starts the pre-loaded video information play, and as not connection property, then only loads the video information in the setting threshold time.
Optionally, described Set Top Box also comprises:
Time quantum, during for such as not having a relevance, detecting the reproduction time of current video, as reproduction time exceedes broadcasting threshold value, then starting the pre-loaded video information play.
Optionally, described comparing unit, specifically for the principal name of the principal name and historical record of extracting this video information, as principal name is consistent, then defines relevance, as principal name is inconsistent, determines onrelevant.
In embodiments of the present invention, technical scheme provided by the invention provides a kind of data load method of Set Top Box, and whether it is often see that video determines whether start-up loading by prejudging it, so it has the advantage of not waste bandwidth.
Accompanying drawing explanation
Fig. 1 is the flow chart of the data load method of a kind of Set Top Box provided by the invention;
Fig. 2 is the structure chart of a kind of Set Top Box provided by the invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The specific embodiment of the invention provides a kind of data load method of Set Top Box, and the method as shown in Figure 1, comprises the steps:
101, the title of the video information that user clicks is determined;
102, the title of this video information and the title of historical record are compared determine whether relevant property;
103, if any relevance, then start the pre-loaded video information play, as not connection property, then only load the video information in the setting threshold time.
Method provided by the invention judges whether to carry out pre-loaded by the relevance of title and historical information, the effect reached like this is, when user selects video frequency program, can waste bandwidth unduly, thus reach the object of saving bandwidth.
Optionally, said method also can comprise after 103:
During as there is no a relevance, detecting the reproduction time of current video, as reproduction time exceedes broadcasting threshold value, then starting the pre-loaded video information play.This kind of setting is the loading carried out after regular hour section in advance seeing new program in order to work as user.
Optionally, the above-mentioned title of this video information and the title of historical record being compared determines whether that relevant property specifically can comprise:
Extract the principal name of this video information and the principal name of historical record, as principal name is consistent, then defines relevance, as principal name is inconsistent, determine onrelevant.
Illustrate have inside such as historical record, " transformer 2 " then its principal name is " transformer ", then judging that its principal name " transformer " is consistent, carrying out pre-loaded as play " transformer 4 ".
The specific embodiment of the invention also provides a kind of Set Top Box, and this Set Top Box as shown in Figure 2, comprising:
Name cell 201, for determining the title of the video information that user clicks;
Comparing unit 202, compares the title of this video information and the title of historical record and determines whether relevant property;
Loading unit 203, if any relevance, then starts the pre-loaded video information play, and as not connection property, then only loads the video information in the setting threshold time.
System provided by the invention judges whether to carry out pre-loaded by the relevance of title and historical information, the effect reached like this is, when user selects video frequency program, can waste bandwidth unduly, thus reach the object of saving bandwidth.
Time quantum, during for such as not having a relevance, detecting the reproduction time of current video, as reproduction time exceedes broadcasting threshold value, then starting the pre-loaded video information play.This kind of setting is the loading carried out after regular hour section in advance seeing new program in order to work as user.
Optionally, comparing unit 202, specifically for the principal name of the principal name and historical record of extracting this video information, as principal name is consistent, then defines relevance, as principal name is inconsistent, determines onrelevant.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.