WO2018000864A1 - Procédé pour routeur prenant en charge le téléchargement de tâche de flux rss et routeur - Google Patents

Procédé pour routeur prenant en charge le téléchargement de tâche de flux rss et routeur Download PDF

Info

Publication number
WO2018000864A1
WO2018000864A1 PCT/CN2017/077421 CN2017077421W WO2018000864A1 WO 2018000864 A1 WO2018000864 A1 WO 2018000864A1 CN 2017077421 W CN2017077421 W CN 2017077421W WO 2018000864 A1 WO2018000864 A1 WO 2018000864A1
Authority
WO
WIPO (PCT)
Prior art keywords
router
download
file
resource
rss
Prior art date
Application number
PCT/CN2017/077421
Other languages
English (en)
Chinese (zh)
Inventor
陶成军
Original Assignee
上海斐讯数据通信技术有限公司
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 上海斐讯数据通信技术有限公司 filed Critical 上海斐讯数据通信技术有限公司
Publication of WO2018000864A1 publication Critical patent/WO2018000864A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • the present invention relates to the field of router technologies, and in particular, to a method and a router for supporting a RSS subscription task download by a router.
  • some routers support the offline download function, but there is a common problem that only some download tasks can be manually added or deleted, and basically cannot support the automatic download of resources that like the network site.
  • Some users are fixed at a certain network site to download resources. Users need to download the corresponding BT, and then add them to the router one by one, or need to update the network resources frequently, and then manually add tasks, which makes it very inconvenient for users to download BT resources;
  • an object of the present invention is to provide a method and a router for supporting a RSS subscription task download by a router, so as to implement a router to support automatic downloading of a BT resource of a website.
  • the present invention provides a method for a router to support RSS subscription task downloading, and the router has an offline download function, and the method includes:
  • Step S1 the offline download page of the router sets the URL of the RSS subscription website to be downloaded, and the router sets the URL of the RSS subscription website to be downloaded in the configuration file;
  • Step S2 the router acquires and parses the corresponding XML file according to the URL of the RSS subscription website in the configuration file;
  • Step S3 obtaining a BT resource download path in the XML file and downloading a corresponding BT file, Saving the BT file to the BT file download directory of the router;
  • step S4 the router forms a BT download task into a queue file, and the router performs BT resource download according to the queue file.
  • the method further includes:
  • the router re-accesses the RSS subscription website at the update time point, and determines whether there is an updated BT resource, and if so, downloads the updated BT resource.
  • the determining process includes: obtaining and parsing a corresponding XML file according to the URL of the RSS subscription website, determining whether there is a new BT resource download path in the XML file, and if so, downloading the new BT resource path. Steps S3 and S4 are performed.
  • the method further includes:
  • the router re-accesses the RSS subscription website at the update time point, and determines whether there is an updated BT resource, and if so, downloads the updated BT resource.
  • the determining process includes: obtaining and parsing a corresponding XML file according to the URL of the RSS subscription website, determining whether there is a new BT resource download path in the XML file, and if so, downloading the new BT resource path. Steps S3 and S4 are performed.
  • the BT resource download path is obtained according to a keyword “enclosure” in the XML file.
  • the present invention further provides a router, the router comprising:
  • a configuration module configured to set a URL of the RSS subscription website to be downloaded, and the router sets a URL of the RSS subscription website to be downloaded in the configuration file;
  • a parsing module configured to acquire and parse a corresponding XML file according to a URL of an RSS subscription website in the configuration module, and obtain a BT resource download path in the XML file;
  • a downloading module configured to download a BT file according to the BT resource download path obtained by the parsing module, save the BT file to a BT file download directory of the router, and then form a BT download task into a queue file, and according to the queue file Download BT resources;
  • the storage module is configured to store the BT resource downloaded by the download module.
  • the router further includes:
  • a timing module configured for the router to re-access the update time of the RSS subscription website.
  • the router further includes:
  • the determining module is configured to determine whether there is a download path of the new BT resource in the XML file in the parsing module.
  • the method and the router for supporting the RSS subscription task downloading of the router have the following beneficial effects: the router can automatically download the BT resource of the user RSS subscription website, without manually adding the task sequence, which greatly facilitates the user. It can improve the user's network experience; it can also make better use of router offline resources, and will not waste the offline resources of the router.
  • FIG. 1 is a flowchart of a method for a router to support an RSS subscription task download according to an embodiment of the present invention
  • FIG. 2 is a system structural diagram of a router according to an embodiment of the present invention.
  • the present invention utilizes the RSS subscription function and the router offline download function, inputs the URL of the RSS subscription website to be downloaded on the offline download page of the router, and sets the URL of the RSS subscription site to be downloaded in the router configuration file, and the router according to the RSS
  • the URL of the subscription site acquires and parses the corresponding XML file, obtains the BT download path and downloads the BT file, and saves the BT download task to the BT download directory; the router forms the BT download task into a queue, and the router performs BT resource download according to the queue, thereby Realize the automatic download of BT resources of the user RSS subscription website.
  • RSS is the abbreviation of "Really Simple Syndication”. It is an easy way to share content between web sites and other web sites. It is also called aggregate content. It is a technology for describing and synchronizing website content.
  • the website uses a specific format.
  • the XML file provides a summary of the latest information and then reads it through client browsing or online RSS.
  • RSS is an easy way to share content online, using RSS feeds to get information quickly on time-sensitive content.
  • the RSS output is provided by the website.
  • the website content has the latest update, the user can quickly obtain the latest update content of the website.
  • the user can obtain the RSS subscription function by registering the website supporting the RSS function, or download the RSS reader tool to implement the RSS subscription.
  • FIG. 1 is a flowchart of a method for a router to support RSS reading task downloading according to an embodiment of the present invention. As shown in FIG. 1, the method specifically includes:
  • the router of the present invention is a router that has the above functions, and the function can be When the router leaves the factory, the related program software is burned into the control chip of the router, and the changes in the hardware of the router are involved. It should be known to those skilled in the art that the spirit of the invention is known.
  • the user Before this step, the user needs to complete the RSS subscription on the website where the BT resource is to be downloaded, and obtain the URL of the RSS subscription website. How to subscribe to RSS should also be known to those skilled in the art.
  • the offline download page of the router inputs the URL of the RSS subscription website to be downloaded.
  • the offline download page of the router includes at least one input box for inputting the URL of the RSS subscription website to be downloaded, and the user inputs in the input box.
  • the URL of the RSS subscription website to be downloaded The router obtains the URL of the RSS subscription website to be downloaded according to the URL of the RSS subscription website to be downloaded input by the user.
  • the router performs site configuration on the website that downloads the RSS subscription, in addition to supporting the RSS protocol in the configuration file.
  • the URL of the RSS subscription website to be downloaded is also set in the configuration file, and after the configuration is completed, the configuration file is saved.
  • Step S2 The router acquires and parses the corresponding XML file according to the URL of the RSS subscription website in the configuration file;
  • Step S3 Obtain a BT resource download path in the XML file and download the corresponding BT file, and save the BT file to the BT file download directory of the router;
  • step S4 the router forms a BT download task into a queue file, and the router performs BT resource download according to the queue file.
  • the router obtains the URL of the RSS subscription website to be downloaded in the configuration file according to the saved configuration file, and the router obtains and parses the XML file corresponding to the URL according to the obtained URL of the RSS subscription website to be downloaded.
  • the router composes the BT download task into a queue file, adds the queue file to the queue that the router downloads offline, and the router performs BT resource download according to the queue file.
  • the BT resources that the router downloads can be stored in the hardware memory of the router or the memory that it has.
  • the router revisits the RSS subscription website at the update time point and determines whether there is an updated BT resource, and if so, downloads the updated BT resource.
  • the determining process includes: obtaining and parsing the corresponding XML file according to the URL of the RSS subscription website, determining whether there is a new BT resource download path in the XML file, and if so, performing steps S3 and S4 on the new BT resource download path. .
  • the implementation manner further includes:
  • the router revisits the RSS subscription website at the update time point, and determines whether there is an updated BT resource, and if so, downloads the updated BT resource.
  • the determining process comprises: obtaining and parsing the corresponding XML according to the URL of the RSS subscription website
  • the file determines whether there is a new BT resource download path in the XML file, and if so, steps S3 and S4 are performed on the new BT resource download path.
  • the invention is described below in terms of specific embodiments.
  • the user wants to download the BT resource on the website of his RSS subscription, and log in to the offline download page of the router.
  • the offline download page includes at least one input box for inputting the URL of the RSS subscription website to be downloaded and an input for inputting the update time.
  • the user enters the URL and update time of the RSS subscription website to be downloaded in the input box, and then completes the input according to the prompt.
  • the router obtains the URL of the RSS subscription website to be downloaded by the user, and the router performs site interface configuration on the RSS subscription website.
  • the configuration file In addition to supporting the general configuration of the RSS protocol, the configuration file also sets the RSS subscription website to be downloaded in the configuration file. URL and update time. After the router is configured, save the configuration file.
  • the configuration file name is rss.config and save the file to the directory /etc/config/rss.conf.
  • the router obtains and parses the XML file corresponding to the URL according to the URL of the RSS subscription website to be downloaded in the configuration file rss.config, and obtains the keyword “enclosure” of the BT file download path in the XML file, thereby obtaining the download path of the BT file.
  • the router downloads the BT file and saves the BT file to the BT file directory that the router downloads offline.
  • the router composes the BT download task into a queue, and saves the save queue file name as rss.dat.
  • the rss.dat file includes a series of BT download tasks.
  • the router adds the queue file rss.dat to the router's offline download task.
  • the router can download BT resources according to the queue file.
  • the user input update time is 12 o'clock every night.
  • the router revisits the RSS subscription website and determines whether there is an updated BT resource. If so, the corresponding URL is obtained and parsed according to the URL of the RSS subscription website.
  • the XML file obtains the new BT resource download path in the XML file, downloads the BT file, and saves the BT file to the BT file directory that the router downloads offline.
  • the router groups the BT download tasks into a queue file and then downloads them according to the updated queue file.
  • the router offline download page of the present invention inputs the URL of the RSS subscription website to be downloaded, sets the URL of the RSS subscription site to be downloaded in the RSS site interface configuration file of the router, and the router acquires and parses the corresponding XML according to the URL of the RSS subscription site.
  • File obtain the BT download path according to the XML file and download the BT file, save the BT download task to the BT download directory; the router will download BT The service queue is formed, and the router downloads the BT resource according to the queue, so that the BT resource of the RSS subscription website can be automatically downloaded without manually adding the download task.
  • FIG. 2 is a block diagram of a router in accordance with an embodiment of the present invention.
  • a router specifically includes:
  • the configuration module 20 is configured to set a URL of the RSS subscription website to be downloaded, and the router sets a URL of the RSS subscription website to be downloaded in the configuration file;
  • the parsing module 21 is configured to obtain and parse the corresponding XML file according to the URL of the RSS subscription website in the configuration module 20, and obtain a BT resource download path in the XML file;
  • the downloading module 22 is configured to download the BT file according to the BT resource download path obtained by the parsing module 22, save the BT file to the BT file download directory of the router, and then form the BT download task into a queue file, and perform BT resource download according to the queue file. ;
  • the storage module 23 is configured to store the BT resource downloaded by the download module 22.
  • the timing module 24 is configured to set a time for the router to revisit the update time of the RSS subscription website.
  • the determining module 25 is configured to determine whether there is a download path of the new BT resource in the XML file in the parsing module 21.
  • the router sets the URL of the RSS subscription website to be downloaded by the user, the router obtains the URL of the RSS subscription website to be downloaded, and sets the URL of the RSS subscription website to be downloaded in the RSS subscription website interface configuration file.
  • the router is in the parsing module 22, and the router obtains and parses the corresponding XML file according to the URL of the RSS subscription website to be downloaded of the configuration module 20, and obtains the BT file download path in the XML file. Then, according to the BT resource download path acquired by the parsing module 22, the router downloads the BT file in the download module 23, saves the BT file to the BT download directory, and forms a BT download task into a queue, and the router performs BT resource download according to the queue.
  • the router stores the BT resources downloaded by the download module 22 in the storage module 24.
  • the storage module 24 may be a hardware storage external to the router, or may be a hardware storage of the router itself.
  • the router can set the update time for revisiting the RSS subscription website in the timing module 24. Then, at the update time point set by the timing module 24, the router determines the resolution in the determining module 25. Is there a download path for the new BT resource in the XML file in module 21.
  • the present invention provides a method and a router for supporting an RSS subscription download task, and can automatically download BT resources without manually adding tasks. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

L'invention concerne un procédé pour un routeur prenant en charge le téléchargement de tâche de flux RSS et un routeur, le routeur ayant une fonction de téléchargement hors ligne. Le procédé comprend les étapes suivantes : placer une URL d'un site Web de flux RSS à télécharger dans une page de téléchargement hors ligne d'un routeur ; placer, par le routeur, l'URL du site Web de flux RSS à télécharger dans un fichier de configuration ; obtenir et analyser, par le routeur, un fichier XML correspondant selon l'URL du site Web de flux RSS dans le fichier de configuration ; obtenir un chemin de téléchargement d'une ressource BT dans le fichier XML et télécharger un fichier BT correspondant, et sauvegarder le fichier BT dans un répertoire de téléchargement de fichier BT du routeur ; et former, par le routeur, un fichier de file d'attente avec la tâche de téléchargement de BT et effectuer, par le routeur, un téléchargement de ressource BT selon le fichier de file d'attente, de façon que le routeur prenne en charge le téléchargement automatique d'une ressource BT d'un site Web.
PCT/CN2017/077421 2016-06-30 2017-03-21 Procédé pour routeur prenant en charge le téléchargement de tâche de flux rss et routeur WO2018000864A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610498291.0A CN106209992A (zh) 2016-06-30 2016-06-30 一种路由器支持rss订阅任务下载的方法及路由器
CN201610498291.0 2016-06-30

Publications (1)

Publication Number Publication Date
WO2018000864A1 true WO2018000864A1 (fr) 2018-01-04

Family

ID=57464105

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/077421 WO2018000864A1 (fr) 2016-06-30 2017-03-21 Procédé pour routeur prenant en charge le téléchargement de tâche de flux rss et routeur

Country Status (2)

Country Link
CN (1) CN106209992A (fr)
WO (1) WO2018000864A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11274320B2 (en) 2019-02-25 2022-03-15 Ginkgo Bioworks, Inc. Biosynthesis of cannabinoids and cannabinoid precursors

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209992A (zh) * 2016-06-30 2016-12-07 上海斐讯数据通信技术有限公司 一种路由器支持rss订阅任务下载的方法及路由器
CN113612855A (zh) * 2021-08-18 2021-11-05 深圳鼎盛电脑科技有限公司 一种文件下载方法、装置、计算机设备和存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141454A (zh) * 2007-08-20 2008-03-12 阳术国 视频订阅工具系统及其使用该系统的方法
CN101246480A (zh) * 2007-02-16 2008-08-20 易搜比控股公司 简单联合供稿的频道更新方法及其系统
JP4480609B2 (ja) * 2005-03-23 2010-06-16 Necアクセステクニカ株式会社 ネットワーク機器、制御端末及びそれらに用いるユーティリティ自動更新方法並びにそのプログラム
US7814478B2 (en) * 2005-11-09 2010-10-12 Texas Instruments Norway As Methods and apparatus for use in updating application programs in memory of a network device
CN103997521A (zh) * 2014-05-15 2014-08-20 深圳大学 一种基于路由器的文件操作方法、装置及路由器
CN105681209A (zh) * 2016-03-28 2016-06-15 深圳市双赢伟业科技股份有限公司 基于路由器的指令处理方法及路由器
CN106209992A (zh) * 2016-06-30 2016-12-07 上海斐讯数据通信技术有限公司 一种路由器支持rss订阅任务下载的方法及路由器

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101692671A (zh) * 2009-09-28 2010-04-07 中兴通讯股份有限公司 数码相框、终端设备及数码相框的多媒体文件下载方法
CN103248641A (zh) * 2012-02-07 2013-08-14 腾讯科技(深圳)有限公司 网络下载方法、装置及系统
CN103389972B (zh) * 2013-07-26 2017-12-26 Tcl集团股份有限公司 一种基于简易信息聚合获取正文的方法及装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4480609B2 (ja) * 2005-03-23 2010-06-16 Necアクセステクニカ株式会社 ネットワーク機器、制御端末及びそれらに用いるユーティリティ自動更新方法並びにそのプログラム
US7814478B2 (en) * 2005-11-09 2010-10-12 Texas Instruments Norway As Methods and apparatus for use in updating application programs in memory of a network device
CN101246480A (zh) * 2007-02-16 2008-08-20 易搜比控股公司 简单联合供稿的频道更新方法及其系统
CN101141454A (zh) * 2007-08-20 2008-03-12 阳术国 视频订阅工具系统及其使用该系统的方法
CN103997521A (zh) * 2014-05-15 2014-08-20 深圳大学 一种基于路由器的文件操作方法、装置及路由器
CN105681209A (zh) * 2016-03-28 2016-06-15 深圳市双赢伟业科技股份有限公司 基于路由器的指令处理方法及路由器
CN106209992A (zh) * 2016-06-30 2016-12-07 上海斐讯数据通信技术有限公司 一种路由器支持rss订阅任务下载的方法及路由器

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11274320B2 (en) 2019-02-25 2022-03-15 Ginkgo Bioworks, Inc. Biosynthesis of cannabinoids and cannabinoid precursors

Also Published As

Publication number Publication date
CN106209992A (zh) 2016-12-07

Similar Documents

Publication Publication Date Title
US8185621B2 (en) Systems and methods for monitoring webpages
AU2016359508B2 (en) Page jumping method and apparatus
WO2017113060A1 (fr) Procédé et dispositif d'accès à un site web, et système de site web
CN108664613B (zh) 数据查询方法、装置、计算机设备及存储介质
US20140201617A1 (en) Method for Browsing Web Page on Mobile Terminal
WO2018000864A1 (fr) Procédé pour routeur prenant en charge le téléchargement de tâche de flux rss et routeur
WO2018001124A1 (fr) Procédé d'envoi de fichier de page web, procédé et appareil de rendu de page web, et système de rendu de page web
CN105095280A (zh) 一种浏览器缓存方法和装置
WO2012037793A1 (fr) Procédé et système de mise à niveau pour un système de gadget logiciel
WO2022206487A1 (fr) Procédé et appareil de mise à jour d'objet de cache, dispositif et support de stockage
WO2015051723A1 (fr) Procédé et dispositif de téléchargement aval de données
US20140096237A1 (en) Information processing system, access right management method, information processing apparatus and control method and control program therefor
WO2018157686A1 (fr) Procédé et appareil d'indexation de page web
US20180027355A1 (en) Data download method and apparatus
US20180321706A1 (en) Timestamp Alignment Across a Plurality Of Computing Devices
CN114461955A (zh) 一种基于web页面配置自动生成http接口的方法
CN108737252B (zh) 基于区块链的信息推送方法及装置
WO2017114169A1 (fr) Procédé et appareil de traitement de requête de liaison
CN105279156A (zh) 网络信息通信方法及网络信息浏览装置
CN110955460B (zh) 一种服务进程启动方法、装置、电子设备和存储介质
CN113067853A (zh) 一种数据推送方法、装置、电子设备及存储介质
JP5535184B2 (ja) ブラウザ実行スクリプト変換システムおよびブラウザ実行スクリプト変換プログラム
CN104079540A (zh) 应用更新方法、装置及系统、用户设备
CN103793459B (zh) 一种网页打开方法及装置
CN113454966B (zh) 一种影子设备的生成方法、设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17818863

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17818863

Country of ref document: EP

Kind code of ref document: A1