CN103401776B - Method for pushing information by utilizing router - Google Patents
Method for pushing information by utilizing router Download PDFInfo
- Publication number
- CN103401776B CN103401776B CN201310342467.XA CN201310342467A CN103401776B CN 103401776 B CN103401776 B CN 103401776B CN 201310342467 A CN201310342467 A CN 201310342467A CN 103401776 B CN103401776 B CN 103401776B
- Authority
- CN
- China
- Prior art keywords
- information
- router
- pushed
- user
- browser
- 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.)
- Expired - Fee Related
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
本发明公开了一种路由器的利用方法,尤其涉及一种利用路由器推送信息的方法,包括以下步骤:先在路由器的存储装置中存储待推送的信息内容和信息表现形式,所述信息表现形式为全页信息展示形式或区域信息展示形式;当用户通过路由器访问网络时,路由器通过HTTP代理功能,经过解析处理,加载待推送的信息脚本,推送到用户浏览器上,根据不同的信息表现形式展示;在信息展示时,路由器进行计时,当到达预设的时间时即向浏览器发出关闭命令,停止信息展示。本发明的作用是:可以实现将多样化的信息通过宽带路由器展示给用户,同时能方便快捷地更新信息和切换信息,以便与信息商签订更灵活的信息推送合约等;另外,还脱离了宽带路由器自身存储空间小的局限。
The present invention discloses a method for using a router, and in particular relates to a method for pushing information by using a router, which includes the following steps: first storing the information content and information expression form to be pushed in the storage device of the router, and the information expression form is Full-page information display form or regional information display form; when a user accesses the network through a router, the router uses the HTTP proxy function, after parsing and processing, loads the information script to be pushed, pushes it to the user's browser, and displays it according to different information expression forms ; When the information is displayed, the router will count the time, and when the preset time is reached, it will send a close command to the browser to stop the information display. The function of the present invention is: it can display diversified information to the user through the broadband router, at the same time, it can conveniently and quickly update information and switch information, so as to sign a more flexible information push contract with the information provider; in addition, it also breaks away from the broadband The router itself is limited by its small storage space.
Description
技术领域technical field
本发明涉及一种路由器的利用方法,尤其涉及一种利用路由器推送信息的方法。The invention relates to a method for using a router, in particular to a method for pushing information by using a router.
背景技术Background technique
随着互联网的普及,宽带路由器在家庭或商业企业中被广泛应用,各种应用功能的不断扩展和完善,对于宽带路由器的增值应用的要求也越来越高。为实现宽带路由器附加增值应用,为运营商和设备提供商提供一些更有价值的应用,目前已有做这样一些措施:With the popularity of the Internet, broadband routers are widely used in homes or commercial enterprises, and various application functions are continuously expanded and improved, and the requirements for value-added applications of broadband routers are also getting higher and higher. In order to realize the value-added application of broadband routers and provide some more valuable applications for operators and equipment providers, some measures have been taken at present:
Logo标志:这个是最为基本的,将其标示在宽带路由器外包装和管理页面,都能提升运营商或者设备提供商的品牌效应。Logo: This is the most basic. Marking it on the outer package and management page of the broadband router can enhance the brand effect of the operator or equipment provider.
强制门户:在用户打开浏览器上网时,首次链接时,强制跳转到指定的门户网站,以此来提高该门户网站的访问量和知名度。Captive portal: When the user opens the browser to surf the Internet, when the user connects for the first time, he will be forced to jump to the designated portal website, so as to increase the number of visits and popularity of the portal website.
离机下载:不用通过用户的电脑,可以直接将用户希望下载的资料存储到相应的存储设备中。Off-device download: without going through the user's computer, the data that the user wants to download can be directly stored in the corresponding storage device.
在线监控:通过网络摄像机家庭用户可以远程监控室内情况。Online monitoring: home users can remotely monitor the indoor situation through the network camera.
以上这些措施,并不能满足运营商对路由器应用的要求。The above measures cannot meet the operator's requirements for router applications.
发明内容Contents of the invention
本发明的目的在于提供一种利用路由器推送信息的方法,解决了目前路由器的增值利用有限的问题。The purpose of the present invention is to provide a method for pushing information by using a router, which solves the problem of limited value-added utilization of routers at present.
为解决上述问题,本发明所采取的技术方案是:In order to solve the problems referred to above, the technical scheme that the present invention takes is:
一种利用路由器推送信息的方法,包括以下步骤:A method for pushing information by using a router, comprising the following steps:
步骤一,先在路由器的存储装置中存储待推送的信息内容和信息表现形式,所述信息表现形式为全页信息展示形式或区域信息展示形式;Step 1, first store the information content and information expression form to be pushed in the storage device of the router, and the information expression form is a full-page information display form or an area information display form;
步骤二,当用户通过路由器访问网络时,路由器通过HTTP代理功能,经过解析处理,加载待推送的信息脚本,推送到用户浏览器上,根据不同的信息表现形式展示;Step 2, when the user accesses the network through the router, the router uses the HTTP proxy function, after parsing and processing, loads the information script to be pushed, pushes it to the user's browser, and displays it according to different information representation forms;
步骤三,在信息展示时,路由器进行计时,当到达预设的时间时即向浏览器发出关闭命令,停止信息展示。Step 3, when the information is displayed, the router performs timing, and when the preset time is reached, it sends a close command to the browser to stop the information display.
更进一步的技术方案是,所述当用户通过路由器访问网络时,路由器判断是否为首次上网,如果是则立即推送信息,并开始计时,在预设的时间后再次进行信息推送,该预设的时间大于停止信息展示的预设时间。A further technical solution is that when the user accesses the network through the router, the router judges whether it is the first time to access the Internet, and if so, immediately pushes the information and starts timing, and pushes the information again after the preset time. The time is greater than the preset time for stopping information display.
更进一步的技术方案是,所述路由器在用户首次访问网络时即联网更新存储装置中待推送的信息内容和信息表现形式。A further technical solution is that, when the user accesses the network for the first time, the router is connected to the Internet to update the information content and information presentation form to be pushed in the storage device.
更进一步的技术方案是,在用户访问路由器管理界面时,在路由器管理界面以全页信息展示的方式展示信息或在管理界面的特定区域展示信息。A further technical solution is, when the user accesses the router management interface, the information is displayed on the router management interface as a full-page information display or in a specific area of the management interface.
采用上述技术方案所产生的有益效果在于:可以实现将多样化的信息通过宽带路由器展示给用户,同时能方便快捷地更新信息和切换信息,以便与信息商签订更灵活的信息推送合约等;另外,还脱离了宽带路由器自身存储空间小的局限。The beneficial effect of adopting the above-mentioned technical solution is that it can display diversified information to users through the broadband router, and at the same time, it can conveniently and quickly update information and switch information, so as to sign more flexible information push contracts with information providers; in addition , It also breaks away from the limitation of the small storage space of the broadband router itself.
附图说明Description of drawings
图1是本发明一种利用路由器推送信息的方法一个实施例的流程示意图。Fig. 1 is a schematic flowchart of an embodiment of a method for pushing information by using a router in the present invention.
图2是本发明一种利用路由器推送信息的方法另一个实施例的流程示意图。Fig. 2 is a schematic flowchart of another embodiment of a method for pushing information by using a router in the present invention.
图3是本发明一种利用路由器推送信息的方法中信息在网络系统中的流向示意图。FIG. 3 is a schematic diagram of the flow of information in the network system in a method of using a router to push information according to the present invention.
图4是发明一种利用路由器推送信息的方法中信息页面脚本格式示意图。Fig. 4 is a schematic diagram of the script format of the information page in the invention of a method for pushing information by using a router.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
本发明一种利用路由器推送信息的方法的一个实施例:一种利用路由器推送信息的方法,包括以下步骤:An embodiment of a method of using a router to push information in the present invention: a method of using a router to push information includes the following steps:
步骤一,先在路由器的存储装置中存储待推送的信息内容和信息表现形式,所述信息表现形式为全页信息展示形式或区域信息展示形式;Step 1, first store the information content and information expression form to be pushed in the storage device of the router, and the information expression form is a full-page information display form or an area information display form;
步骤二,当用户通过路由器访问网络时,路由器通过HTTP代理功能,经过解析处理,加载待推送的信息脚本,推送到用户浏览器上,根据不同的信息表现形式展示;Step 2, when the user accesses the network through the router, the router uses the HTTP proxy function, after parsing and processing, loads the information script to be pushed, pushes it to the user's browser, and displays it according to different information representation forms;
步骤三,在信息展示时,路由器进行计时,当到达预设的时间时即向浏览器发出关闭命令,停止信息展示。Step 3, when the information is displayed, the router performs timing, and when the preset time is reached, it sends a close command to the browser to stop the information display.
根据本发明一种利用路由器推送信息的方法的一个优选实施例,所述当用户通过路由器访问网络时,路由器判断是否为首次上网,如果是则立即推送信息,并开始计时,在预设的时间后再次进行信息推送,该预设的时间大于停止信息展示的预设时间。According to a preferred embodiment of a method of using a router to push information in the present invention, when the user accesses the network through the router, the router judges whether it is the first time to go online, if so, immediately pushes the information, and starts counting, at the preset time After that, the information is pushed again, and the preset time is longer than the preset time for stopping information display.
根据本发明一种利用路由器推送信息的方法的另一个优选实施例,所述路由器在用户首次访问网络时即联网更新存储装置中待推送的信息内容和信息表现形式。According to another preferred embodiment of the method for pushing information by using a router in the present invention, the router is connected to the network to update the information content and information presentation form to be pushed in the storage device when the user accesses the network for the first time.
根据本发明一种利用路由器推送信息的方法的另一个优选实施例,在用户访问路由器管理界面时,在路由器管理界面以全页信息展示的方式展示信息或在管理界面的特定区域展示信息。According to another preferred embodiment of the method of using a router to push information in the present invention, when the user accesses the router management interface, the information is displayed on the router management interface in a full-page information display mode or in a specific area of the management interface.
本发明具体是两种方式推送信息:The present invention specifically pushes information in two ways:
一种是用户上网时进行信息推送,如图1所示:One is to push information when users surf the Internet, as shown in Figure 1:
在用户通过浏览器准备访问某网站时,路由器判断是否为首次上网,如果是,在浏览器页面上弹出信息页面,信息页面加载运营服务商服务器的信息内容,进行信息展示,然后一定时间后,判断信息展示时间是否到期,是则自动关闭该页面窗口,浏览器再打开用户原请求访问的网站供其浏览;如果不是首次上网,则直接访问请求访问的网站,在特定时间后浏览器弹出信息页面进行信息展示。When the user is about to visit a website through the browser, the router judges whether it is the first time to access the Internet. If so, an information page pops up on the browser page, and the information page loads the information content of the server of the operator service provider to display the information. After a certain period of time, Determine whether the information display time has expired, if so, the page window will be automatically closed, and the browser will open the website originally requested by the user for browsing; if it is not the first time to go online, directly access the requested website, and the browser will pop up after a certain time The information page displays information.
另外一种是在宽带路由器的系统管理页面时进行信息推送,如图2所示:The other is to push information on the system management page of the broadband router, as shown in Figure 2:
在用户准备通过浏览器登录访问宽带路由器的系统管理页面(包括登录认证页面)时,在这些页面上分出信息展示区域,判断宽带路由器是否已经成功连接上行网络,如果宽带路由器尚未成功连接上行网络,则加载存储在宽带路由器上的信息;如果宽带路由器已经成功连接上行网络,则加载更新后的信息内容。When the user is going to log in and access the system management page (including the login authentication page) of the broadband router through the browser, separate the information display area on these pages to judge whether the broadband router has successfully connected to the uplink network, if the broadband router has not successfully connected to the uplink network , then load the information stored on the broadband router; if the broadband router has successfully connected to the uplink network, then load the updated information content.
如图3所示,本发明的主要特征就是如何通过信息页面脚本将信息商的信息合并展示给用户。其中,信息页面脚本格式类似如图4所示,这个由指定服务器(AD DataServer)决定,也就是加载哪些信息以及信息源地址都由该服务器决定,即,运营商可以灵活更新信息以及信息类型。如图3所示,宽带路由器需要将运营商的服务器提供过来的信息页面脚本做解析,根据信息数量和形式,按照预定的编排方式生成页面(AD.html),显示给用户。这个生成过程的特征在于,运营商的服务器不需要编辑该页面,而只需要按照固定格式提供相应的信息页面脚本(AD.xml)即可。宽带路由器则需要根据所获得的信息页面脚本来解析:As shown in FIG. 3 , the main feature of the present invention is how to combine and display the information of the information provider to the user through the information page script. Among them, the script format of the information page is similar to that shown in Figure 4, which is determined by the designated server (AD DataServer), that is, which information to load and the source address of the information are determined by the server, that is, the operator can flexibly update information and information types. As shown in Figure 3, the broadband router needs to analyze the information page script provided by the operator's server, generate a page (AD.html) according to the predetermined layout method according to the amount and form of information, and display it to the user. This generation process is characterized in that the operator's server does not need to edit the page, but only needs to provide the corresponding information page script (AD.xml) in a fixed format. The broadband router needs to parse according to the obtained information page script:
1,通过解析layout参数获取运营商期望的信息铺排方式(如,Tile表示平铺,Roll表示滚动播放等),这里还可以添加更多的参数来细化信息铺排方式;1. Obtain the operator's expected information layout method by parsing the layout parameters (for example, Tile means tiling, Roll means scrolling playback, etc.), here you can also add more parameters to refine the information layout method;
2,通过解析objname参数,将其做为生成的信息页面(AD.html)中该信息对应标签的ID,同时通过统计该参数在信息页面脚本中出现的次数获得信息数量,还可以结合type参数来统计不同类型信息数量;2. By parsing the objname parameter, use it as the ID of the label corresponding to the information in the generated information page (AD.html), and at the same time obtain the number of information by counting the number of times this parameter appears in the information page script, and you can also combine the type parameter To count the number of different types of information;
3,每一个信息对象还可以设置一个时间戳,以此标注该信息可播放的时间段,而无需运营商要经常依据信息合约时间来频繁更新信息页面脚本(AD.html);3. Each information object can also set a time stamp to mark the time period when the information can be played, without the need for the operator to frequently update the information page script (AD.html) according to the information contract time;
4,通过解析到的这些参数数据以及其中的信息源地址,宽带路由器将自动生成信息页面(AD.html),传给浏览器,从而实现信息加载。4. Through the parsed parameter data and the information source address, the broadband router will automatically generate an information page (AD.html) and send it to the browser to realize information loading.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310342467.XA CN103401776B (en) | 2013-08-08 | 2013-08-08 | Method for pushing information by utilizing router |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310342467.XA CN103401776B (en) | 2013-08-08 | 2013-08-08 | Method for pushing information by utilizing router |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103401776A CN103401776A (en) | 2013-11-20 |
| CN103401776B true CN103401776B (en) | 2017-02-22 |
Family
ID=49565305
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310342467.XA Expired - Fee Related CN103401776B (en) | 2013-08-08 | 2013-08-08 | Method for pushing information by utilizing router |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103401776B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105721549A (en) * | 2016-01-20 | 2016-06-29 | 深圳创维数字技术有限公司 | Router advertisement pushing method and router advertisement pushing device |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101355530A (en) * | 2008-09-27 | 2009-01-28 | 张程 | System and method for publishing information based on wireless router |
| CN102710658A (en) * | 2012-06-20 | 2012-10-03 | 深圳市宏电技术股份有限公司 | Information push method and system |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7774821B2 (en) * | 2007-09-17 | 2010-08-10 | At&T Intellectual Property I, L.P. | System and method of installing a network device |
-
2013
- 2013-08-08 CN CN201310342467.XA patent/CN103401776B/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101355530A (en) * | 2008-09-27 | 2009-01-28 | 张程 | System and method for publishing information based on wireless router |
| CN102710658A (en) * | 2012-06-20 | 2012-10-03 | 深圳市宏电技术股份有限公司 | Information push method and system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103401776A (en) | 2013-11-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110020292B (en) | Webpage content extraction method and terminal equipment | |
| US10387521B2 (en) | Creation and delivery of pre-rendered web pages for accelerated browsing | |
| JP5230642B2 (en) | Web page display method and system | |
| US9360988B2 (en) | Browsing and quality of service features | |
| AU2011101576B4 (en) | Method and systems for generating and displaying a preview image of a content area | |
| CN102156709B (en) | Method for switching browser engine modes | |
| US8788711B2 (en) | Redacting content and inserting hypertext transfer protocol (HTTP) error codes in place thereof | |
| US20150370912A1 (en) | Method and system for displaying customized webpage on double webview | |
| CN106354877A (en) | Off-line browsing method and device for webpage | |
| JP2014515518A (en) | Application tile presentation format | |
| CN103618936A (en) | Smart television, as well as method and device for pre-downloading link pages in browser of smart television | |
| CN103353886A (en) | Method and system for previewing webpage | |
| CN103034517A (en) | Method and device for loading browser control tool | |
| US10205678B2 (en) | Systems and methods for client-side dynamic information resource activation and deactivation | |
| CN104025083A (en) | Method and apparatus for providing web pages | |
| CN110580318B (en) | Information display method, device and storage medium | |
| CN102750291A (en) | User customized analysis device, communication terminal, and method and system for internet access thereof | |
| WO2018072388A1 (en) | Method for pre-reading webpage, method and device for accessing webpage, and programmable device | |
| WO2015088996A1 (en) | Web page rendering on wireless devices | |
| CN105511754A (en) | A page jump method and device based on pull-down page | |
| WO2012122932A1 (en) | Method and system for web page rearrangement | |
| CN102750285B (en) | System and method for providing offline browsing | |
| CN102611930A (en) | Browser self-adaptive display method and device and TV set | |
| CN103401776B (en) | Method for pushing information by utilizing router | |
| JP5809099B2 (en) | Web browsing screen thumbnail generation system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170222 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |