Summary of the invention
In view of this, be necessary not access for above-mentioned AP module the problem that public network can not realize the input of advertisement page, a kind of advertisement placement method based on Set Top Box and system are provided.
The invention provides a kind of advertisement placement method based on Set Top Box, comprise the steps:
S10: create Web server and the built-in advertising page in Set Top Box, when the AP module of user terminal access Set Top Box, is in Web server and user terminal in same local area network (LAN);
S20: judge whether AP module is connected into public network, if do not have, is then redirected the access of user terminal, and the page reorientation will accessed by user terminal, to the advertisement page of Web server, throws in advertisement page to user terminal;
S30: set up feedback mechanism, user terminal is carried out be redirected after feed back to AP module, this user terminal is redirected excessively by AP module record;
S40: when there being user terminal to be connected into AP module, judge whether AP module records excessively to be redirected this user terminal, if record, no longer this user terminal is redirected, no longer throws in advertisement page, if do not record, this user terminal is redirected.
Preferably, the built-in advertisement page of described Web server regularly can be upgraded by connecting public network by Set Top Box, or sends code stream by front-end server and upgrade.
Preferably, described step S30 is specially: AP module sets up MAC list, user terminal is carried out be redirected after feed back to AP module, AP module is recorded among MAC list.
Preferably, described step S40 is specially: when there being user terminal to be connected into AP module, judge whether AP module records excessively to be redirected this user terminal, if record, judge whether the time that user terminal accessed AP module last time exceedes predetermined period, if do not exceeded, no longer this user terminal is redirected, if exceeded, again this user terminal is redirected.
The present invention also provides a kind of advertisement delivery system based on Set Top Box, comprising:
Web server creating unit, creates Web server and the built-in advertising page in Set Top Box, when the AP module of user terminal access Set Top Box, Web server and user terminal is in same local area network (LAN);
Be redirected unit, judge whether AP module is connected into public network, if do not have, be then redirected the access of user terminal, the page reorientation will accessed by user terminal, to the advertisement page of Web server, throws in advertisement page to user terminal;
Feedback unit, sets up feedback mechanism, user terminal is carried out be redirected after feed back to AP module, this user terminal is redirected excessively by AP module record;
Be redirected administrative unit, when there being user terminal to be connected into AP module, judging whether AP module records and this user terminal being redirected excessively, if record, no longer this user terminal is redirected, no longer throws in advertisement page.
Preferably, the built-in advertisement page of described Web server regularly can be upgraded by connecting public network by Set Top Box, or sends code stream by front-end server and upgrade.
Preferably, described feedback unit control AP module sets up MAC list, user terminal is carried out be redirected after feed back to AP module, control AP module is recorded among MAC list.
Preferably, described redirected administrative unit is when there being user terminal to be connected into AP module, judge whether AP module records excessively to be redirected this user terminal, if record, judge whether the time that user terminal accessed AP module last time exceedes predetermined period, if do not exceeded, no longer this user terminal is redirected, if exceeded, again this user terminal is redirected.
The present invention is based on advertisement placement method and the system of Set Top Box, create Web server on the set-top box and the built-in advertising page, if AP module does not connect public network, when user terminal is connected into AP module, the access of user terminal is redirected, the page reorientation will accessed by user terminal is to the advertisement page of Web server, advertisement page is thrown in user terminal, consider user behavior and state simultaneously, only just be redirected when user accesses AP module for the first time, advertisement page is thrown in user terminal, if user terminal identical is afterwards connected into AP module again, no longer carry out the input of advertisement page, thus make also to throw in advertisement page for user terminal when not having public network to connect, user is made again to have good use and experience sense, greatly promote the application of Set Top Box and AP module, for user provides valuable advertising message.
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.
Fig. 1 is the flow chart of the advertisement placement method based on Set Top Box in an embodiment, and as shown in Figure 1, the method comprises the steps:
S10: create Web server and the built-in advertising page in Set Top Box, when the AP module of user terminal access Set Top Box, is in Web server and user terminal in same local area network (LAN).
Along with the development of Intelligent set top box, the function of Set Top Box gets more and more, and wherein, Set Top Box can create server and conduct interviews for various user terminal.In this embodiment, Web server and the built-in advertising page is created on the set-top box.When the AP module of user terminal access Set Top Box, Web server and user terminal are in same local area network (LAN), like this because Web server and user terminal are in common local area network (LAN), thus can communicate mutually, realize based on the advertisement page that Set Top Box is built-in the input carrying out advertisement page to user terminal.
In further implementing, the built-in advertisement page of Web server regularly can be upgraded by connecting public network by Set Top Box, or is upgraded by front-end server transmission code stream.
S20: judge whether AP module is connected into public network, if do not have, is then redirected the access of user terminal, and the page reorientation will accessed by user terminal, to the advertisement page of Web server, throws in advertisement page to user terminal.
After the AP module of user terminal access Set Top Box, judge whether AP module is connected into public network, if be connected into public network, then AP module carries out advertisement turn function by public network, the page that user terminal will be accessed is redirected to advertisement page by public network, directly carries out the input of advertisement page.If be not connected into public network, then AP module can not be carried out advertisement turn function and cannot be carried out advertisement page input.Web server is had to be built-in with advertisement page because Set Top Box creates, and be in same local area network (LAN) with user terminal, therefore in this embodiment, if AP module is not connected into public network, the page reorientation then will accessed by user terminal is to the advertisement page of Web server, thus when there is no public network, realized the input of advertisement page by the advertisement page that Web server is built-in.
S30: set up feedback mechanism, user terminal is carried out be redirected after feed back to AP module, this user terminal is redirected excessively by AP module record.
Because Web server and user terminal are in common local area network (LAN), the page reorientation will accessed by user terminal can not be learnt to the behavior AP module of the advertisement page of Web server, can not to whether carrying out redirected monitoring, therefore in this embodiment, need establishment feedback mechanism, after user terminal is redirected, feeds back to AP module, carries out record by AP module counterweight orientation behaviour, thus redirected the carrying out of subtend user terminal can record and monitor.
In further execution mode, this step is specially: AP module sets up MAC list (MediaAccess Control or Medium Access Control), user terminal is carried out be redirected after feed back to AP module, AP module is recorded among MAC list.So just the redirected of user terminal is monitored and record.
S40: when there being user terminal to be connected into AP module, judge whether AP module records excessively to be redirected this user terminal, if record, no longer this user terminal is redirected, no longer throws in advertisement page, if do not record, this user terminal is redirected.
Consider if each user terminal access AP module all carries out advertisement page input to user, for bringing worry and inconvenience to user, good use and experience sense is had for making user, in this embodiment, when there being user terminal to be connected into AP module, increase judgment mechanism, judge whether AP module records excessively to be redirected this user terminal, if record, is no longer redirected this user terminal, no longer throw in advertisement page, namely be only just redirected when user accesses AP module for the first time, advertisement page is thrown in user terminal, if user terminal identical is afterwards connected into AP module again, no longer carry out the input of advertisement page, thus make user have good use and experience sense.
Further, consider that user may not be connected into AP module the permanent time, throw in advertisement page to user also can not bring too large inconvenience if again accessed, again can throw in advertisement page to user terminal this moment, therefore this step is further: when there being user terminal to be connected into AP module, judge whether AP module records excessively to be redirected this user terminal, if record, judge whether the time that user terminal accessed AP module last time exceedes predetermined period, if do not exceeded, no longer this user terminal is redirected, if exceeded, again this user terminal is redirected.Like this by the detection to user's access state, according to the analysis to user behavior, come to carry out advertisement putting to user terminal targetedly, effectively improve the effect of advertisement putting, can not make troubles to user again.
Should based on the advertisement placement method of Set Top Box, create Web server on the set-top box and the built-in advertising page, if AP module does not connect public network, when user terminal is connected into AP module, the access of user terminal is redirected, the page reorientation will accessed by user terminal is to the advertisement page of Web server, advertisement page is thrown in user terminal, consider user behavior and state simultaneously, only just be redirected when user accesses AP module for the first time, advertisement page is thrown in user terminal, if user terminal identical is afterwards connected into AP module again, no longer carry out the input of advertisement page, thus make also to throw in advertisement page for user terminal when not having public network to connect, user is made again to have good use and experience sense, greatly promote the application of Set Top Box and AP module, for user provides valuable advertising message.
Meanwhile, the present invention also provides a kind of advertisement delivery system based on Set Top Box, comprising:
Web server creating unit, creates Web server and the built-in advertising page in Set Top Box, when the AP module of user terminal access Set Top Box, Web server and user terminal is in same local area network (LAN).
Along with the development of Intelligent set top box, the function of Set Top Box gets more and more, and wherein, Set Top Box can create server and conduct interviews for various user terminal.In this embodiment, Web server creating unit creates Web server and the built-in advertising page on the set-top box.When the AP module of user terminal access Set Top Box, Web server and user terminal are in same local area network (LAN), like this because Web server and user terminal are in common local area network (LAN), thus can communicate mutually, realize based on the advertisement page that Set Top Box is built-in the input carrying out advertisement page to user terminal.
In further implementing, the built-in advertisement page of Web server regularly can be upgraded by connecting public network by Set Top Box, or is upgraded by front-end server transmission code stream.
Be redirected unit, judge whether AP module is connected into public network, if do not have, be then redirected the access of user terminal, the page reorientation will accessed by user terminal, to the advertisement page of Web server, throws in advertisement page to user terminal.
After the AP module of user terminal access Set Top Box, judge whether AP module is connected into public network, if be connected into public network, then AP module carries out advertisement turn function by public network, the page that user terminal will be accessed is redirected to advertisement page by public network, directly carries out the input of advertisement page.If be not connected into public network, then AP module can not be carried out advertisement turn function and cannot be carried out advertisement page input.Web server is had to be built-in with advertisement page because Set Top Box creates, and be in same local area network (LAN) with user terminal, therefore in this embodiment, if AP module is not connected into public network, the page reorientation that then will be accessed by user terminal of redirected unit is to the advertisement page of Web server, thus when there is no public network, realized the input of advertisement page by the advertisement page that Web server is built-in.
Feedback unit, sets up feedback mechanism, user terminal is carried out be redirected after feed back to AP module, this user terminal is redirected excessively by AP module record.
Because Web server and user terminal are in common local area network (LAN), the page reorientation will accessed by user terminal can not be learnt to the behavior AP module of the advertisement page of Web server, can not to whether carrying out redirected monitoring, therefore in this embodiment, feedback unit creates a feedback mechanism, after user terminal is redirected, feeds back to AP module, carries out record by AP module counterweight orientation behaviour, thus redirected the carrying out of subtend user terminal can record and monitor.
In further execution mode, this step is specially: feedback unit control AP module sets up MAC list (Media Access Control or Medium Access Control), user terminal is carried out be redirected after feed back to AP module, control AP module is recorded among MAC list.So just the redirected of user terminal is monitored and record.
Be redirected administrative unit, when there being user terminal to be connected into AP module, judging whether AP module records and this user terminal being redirected excessively, if record, no longer this user terminal is redirected, no longer throw in advertisement page, if do not record, this user terminal is redirected.
Consider if each user terminal access AP module all carries out advertisement page input to user, for bringing worry and inconvenience to user, good use and experience sense is had for making user, in this embodiment, be redirected administrative unit when there being user terminal to be connected into AP module, increase judgment mechanism, judge whether AP module records excessively to be redirected this user terminal, if record, is no longer redirected this user terminal, no longer throw in advertisement page, namely be only just redirected when user accesses AP module for the first time, advertisement page is thrown in user terminal, if user terminal identical is afterwards connected into AP module again, no longer carry out the input of advertisement page, thus make user have good use and experience sense.
Further, consider that user may not be connected into AP module the permanent time, throw in advertisement page to user also can not bring too large inconvenience if again accessed, again can throw in advertisement page to user terminal this moment, therefore be redirected administrative unit when there being user terminal to be connected into AP module, judge whether AP module records excessively to be redirected this user terminal, if record, judge whether the time that user terminal accessed AP module last time exceedes predetermined period, if do not exceeded, no longer this user terminal is redirected, if exceeded, again this user terminal is redirected.Like this by the detection to user's access state, according to the analysis to user behavior, come to carry out advertisement putting to user terminal targetedly, effectively improve the effect of advertisement putting, can not make troubles to user again.
Should based on the advertisement delivery system of Set Top Box, create Web server on the set-top box and the built-in advertising page, if AP module does not connect public network, when user terminal is connected into AP module, the access of user terminal is redirected, the page reorientation will accessed by user terminal is to the advertisement page of Web server, advertisement page is thrown in user terminal, consider user behavior and state simultaneously, only just be redirected when user accesses AP module for the first time, advertisement page is thrown in user terminal, if user terminal identical is afterwards connected into AP module again, no longer carry out the input of advertisement page, thus make also to throw in advertisement page for user terminal when not having public network to connect, user is made again to have good use and experience sense, greatly promote the application of Set Top Box and AP module, for user provides valuable advertising message.
The present invention is based on advertisement placement method and the system of Set Top Box, create Web server on the set-top box and the built-in advertising page, if AP module does not connect public network, when user terminal is connected into AP module, the access of user terminal is redirected, the page reorientation will accessed by user terminal is to the advertisement page of Web server, advertisement page is thrown in user terminal, consider user behavior and state simultaneously, only just be redirected when user accesses AP module for the first time, advertisement page is thrown in user terminal, if user terminal identical is afterwards connected into AP module again, no longer carry out the input of advertisement page, thus make also to throw in advertisement page for user terminal when not having public network to connect, user is made again to have good use and experience sense, greatly promote the application of Set Top Box and AP module, for user provides valuable advertising message.
These are 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.