CN109640181A - A method of home gateway is upgraded by set-top box - Google Patents

A method of home gateway is upgraded by set-top box Download PDF

Info

Publication number
CN109640181A
CN109640181A CN201811534465.XA CN201811534465A CN109640181A CN 109640181 A CN109640181 A CN 109640181A CN 201811534465 A CN201811534465 A CN 201811534465A CN 109640181 A CN109640181 A CN 109640181A
Authority
CN
China
Prior art keywords
top box
home gateway
upgrade
address
gateway
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.)
Granted
Application number
CN201811534465.XA
Other languages
Chinese (zh)
Other versions
CN109640181B (en
Inventor
龙文艳
陈文锦
杨太
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Tianyi Comheart Telecom Co Ltd
Original Assignee
Sichuan Tianyi Comheart Telecom Co Ltd
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 Sichuan Tianyi Comheart Telecom Co Ltd filed Critical Sichuan Tianyi Comheart Telecom Co Ltd
Priority to CN201811534465.XA priority Critical patent/CN109640181B/en
Publication of CN109640181A publication Critical patent/CN109640181A/en
Application granted granted Critical
Publication of CN109640181B publication Critical patent/CN109640181B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6408Unicasting

Abstract

The present invention provides a kind of methods that user can select upgraded home gateway on set-top box interface, user clicks the upgrade button on IPTV set top box interface, set-top box downloads upgrade package from carrier server, set-top box is communicated with home gateway by the customized two-layer protocol of 802.3ah agreement, set-top box initiates upgrade request to home gateway, and front yard gateway executes upgrading process after receiving the upgrade request that set-top box is initiated.There is prompt when upgrading, user will not be allowed to be thought as failure, visual operation greatly improves user experience, facilitates the operation of maintenance personnel, greatly facilitates operator and manage and maintain to equipment.

Description

A method of home gateway is upgraded by set-top box
Technical field
The present invention relates to the software upgrading technologies in network communication, more particularly to a kind of set-top box that passes through is to home gateway liter The method of grade.
Background technique
During bandwidth operator is now netted, IPTV set top box accesses home gateway LAN mouthfuls, and user is watched by IPTV set top box IPTV program.Under normal circumstances, user can select upgrading set top box on set-top box interface, and the upgrading of home gateway then needs Operator related technical personnel by other means upgrade home gateway, and user can not be on machine top when upgraded home gateway See upgrade status in box interface.
Summary of the invention
The purpose of the present invention is to overcome the shortcomings of the existing technology, provides one kind and is risen by set-top box to home gateway The method of grade.
The purpose of the present invention is achieved through the following technical solutions: one kind rises home gateway by set-top box The method of grade, it includes the following steps:
S1: user clicks the upgrade button on IPTV set top box interface, and set-top box downloads upgrade package from carrier server;
S2: set-top box is communicated with home gateway by the customized two-layer protocol of 802.3ah agreement, and set-top box is to home gateway Initiate upgrade request;
S3: home gateway executes upgrading process after receiving the upgrade request that set-top box is initiated.
It includes judging whether upgrade package is compound upgrade package that set-top box downloads upgrade package from carrier server, if upgrading Packet is compound upgrade package, and upgrade package is downloaded under temporary path, then unzips to and use under corresponding catalogue by set-top box;If rising Grade packet only includes the upgrade package of household gateway update, then set-top box, which can be directly downloaded under specified directory, executes the behaviour such as downloading decompression Make.
The set-top box and the home gateway in the step S2 pass through the customized two-layer protocol of 802.3ah agreement Carrying out communication includes following sub-step:
S21: set-top box is connected to the side home gateway lan, and set-top box initiates 9211 broadcast packets comprising itself address mac;
S22: if home gateway receives 9211 broadcast packets, learn the address set-top box mac, and replying to set-top box includes itself 9211 unicast packets of the address mac, set-top box receive the unicast packet of home gateway reply, and set-top box learns the home gateway The address mac;
If home gateway does not receive 9211 broadcast packets, itself initiates 9212 broadcast packets, detects the address domestic set-top box mac, etc. 9212 unicast packets are replied to the same mechanism of set-top box, learn the address other side mac;
S23: set-top box calling interface function initiates upgrade request: initiating 9211 unitcast requests to home gateway, request data is The self defined interface function of json format;
S24: home gateway receives the upgrade request, replys home gateway gateway address and home gateway distributes to set-top box The address lan;
S25: post upgrading is initiated to home gateway gateway address in the side the lan address that set-top box is distributed with the home gateway asks It asks, request header includes customized check field.
Household gateway update process includes: that home gateway judges that the whether described set-top box of upgrade request is sent, if sentencing It is yes for breaking, and home gateway responds post request, and clearance data packet needs not move through home gateway http certification;
Home gateway calling system upgrade api interface function, execute upgrading process, and home gateway page prompts system Upgrading;
Whether front yard gateway judges whether the upgrade request is that the method that the set-top box is sent is: wrapping on verifying upgrade request head FROM containing specific field;
Whether verifying upgrade request IP is IP address that home gateway distributes to set-top box;
If meeting two above condition, home gateway responds post request, and clearance data packet needs not move through home gateway http Certification.
Home gateway calling system upgrades api interface function, executes upgrading process, and in home gateway page prompts system Upgrading.
If upgrading successfully, system restarting;
If upgrading failure, returns to status of fail.
The beneficial effects of the present invention are: the present invention provides a kind of users can select upgraded home net on set-top box interface , there are prompt in the method for pass, upgrading when, user will not be allowed to be thought as failure, and visual operation greatly improves user's body It tests, facilitates the operation of maintenance personnel, greatly facilitate operator and equipment is managed and maintained.
Detailed description of the invention
Fig. 1 is the technical program networking diagram.
Fig. 2 is the flow chart of IPTV set top box downloading upgrade package module.
Fig. 3 is set-top box and home gateway communication module timing explanatory diagram.
Specific embodiment
Technical solution of the present invention is described in further detail with reference to the accompanying drawing, but protection scope of the present invention is not limited to
It is as described below.
Attached drawing 1 is the technical program networking diagram, and IPTV set top box accesses home gateway LAN mouthfuls, and home gateway passes through LAN mouthfuls It is communicated with IPTV set top box, user realizes operation by IPTV set top box interface.
When user clicks the upgrade button on IPTV set top box interface, set-top box is downloaded first from carrier server to be risen Grade packet, if upgrade package is compound upgrade package, the upgrade package of upgrade package and household gateway update comprising set top box upgrading, due to machine Top box often uses directory space limited, and set-top box is needed to download under temporary path, then unzips to and uses under corresponding catalogue.If Upgrade package only includes the upgrade package of household gateway update, then set-top box, which can be directly downloaded under specified directory, executes downloading decompression etc. Operation.
The process that IPTV set top box downloads upgrade package module is as shown in Fig. 2.
Set-top box and home gateway are communicated by the customized two-layer protocol of 802.3ah agreement.Custom protocol head Include protocol identification field and the address mac.Set-top box initiates request, and custom protocol type is 9211, and home gateway initiation is asked It asks, custom protocol type is 9212.
Firstly, set-top box and home gateway mutually learn the address other side mac:
Set-top box is connected to the side home gateway lan, and set-top box initiates 9211 broadcast packets comprising itself address mac.
If home gateway receives 9211 broadcast packets, learn the address set-top box mac.Home gateway is replied to set-top box 9211 unicast packets of itself address mac.Set-top box receives the unicast packet of home gateway reply, learns the address mac of home gateway.
If home gateway does not receive 9211 broadcast packets, itself initiates 9212 broadcast packets, with detecting domestic set-top box mac Location waits the same mechanism of set-top box to reply 9212 unicast packets, learns the address other side mac.
Secondly, set-top box calling interface function initiates upgrade request.
Set-top box initiates 9211 unitcast requests to home gateway, and request data is the self defined interface function of json format. Home gateway receives upgrade request, replys home gateway gateway address and home gateway distributes to the address lan of set-top box.
Finally, the side the lan address that set-top box is distributed with home gateway is initiated post upgrading to home gateway gateway address and is asked It asks, request header includes customized check field.
Set-top box and home gateway communication module timing are as shown in Fig. 3.
Home gateway receives post request, verifies whether it is upgrade request that set-top box is sent by following two mode.
1) head includes specific field FROM;
2) request IP is the IP address that home gateway distributes to set-top box;
If meeting two above condition, home gateway responds post request, and clearance data packet needs not move through home gateway http Certification.
Home gateway calling system upgrades api interface function, executes upgrading process, and in home gateway page prompts system Upgrading.
If upgrading successfully, system restarting, if upgrading failure, returns to status of fail.

Claims (6)

1. a kind of method upgraded by set-top box to home gateway, which is characterized in that the described method comprises the following steps:
S1: the set-top box downloads upgrade package from carrier server;
S2: the set-top box is communicated with the home gateway by the customized two-layer protocol of 802.3ah, the set-top box to The home gateway initiates upgrade request;
S3: the home gateway executes upgrading process after receiving the upgrade request that the set-top box is initiated.
2. the method upgraded as described in claim 1 by set-top box to home gateway, which is characterized in that the machine top Box downloads upgrade package, including following sub-step from carrier server:
The set-top box judges whether the upgrade package is compound upgrade package;
If the upgrade package is compound upgrade package, the upgrade package is downloaded under temporary path, is then decompressed by the set-top box It is used under to corresponding catalogue;
If the upgrade package only includes the upgrade package of household gateway update, the set-top box can be directly downloaded under specified directory Execute downloading decompression operations.
3. the method upgraded as described in claim 1 by set-top box to home gateway, which is characterized in that the step The set-top box in rapid S2 communicate including following sub-step by the customized two-layer protocol of 802.3ah with the home gateway It is rapid:
S21: the set-top box is connected to the side the home gateway lan, and the set-top box initiates to include the 9211 of itself address mac Broadcast packet;
S22: if the home gateway receives 9211 broadcast packets, learn the address the set-top box mac, and return to the set-top box It again include 9211 unicast packets of itself address mac, the set-top box receives the unicast packet that the home gateway is replied, the machine top Box learns the address mac of the home gateway;
If the home gateway does not receive 9211 broadcast packets, itself initiates 9212 broadcast packets, detects the domestic set-top box mac Address waits the same mechanism of the set-top box to reply 9212 unicast packets, learns the address other side mac;
S23: the set-top box calling interface function initiates upgrade request: initiating 9211 unitcast requests, number of request to home gateway According to the self defined interface function for json format;
S24: the home gateway receives the upgrade request, replys the home gateway gateway address and the home gateway Distribute to the address lan of the set-top box;
S25: the set-top box initiates post to the home gateway gateway address with the side the lan address that the home gateway distributes Upgrade request, request header include customized check field.
4. the method upgraded as described in claim 1 by set-top box to home gateway, which is characterized in that the upgrading Process includes following sub-step:
The home gateway judges that the whether described set-top box of the upgrade request is sent, if being judged as YES, the home network It closes and responds the upgrade request, clearance data packet needs not move through home gateway http certification;
The home gateway calling system upgrades api interface function, executes upgrading process, and in the home gateway page prompts System is upgrading.
5. the method upgraded as claimed in claim 4 by set-top box to home gateway, which is characterized in that the family Gateway judges whether the upgrade request is that the set-top box is sent, comprising the following steps:
Verify whether the upgrade request head includes specific field FROM;
Verify whether the upgrade request IP is IP address that the home gateway distributes to the set-top box;
If meeting two above condition, the home gateway response post request, clearance data packet needs not move through home gateway Http certification.
6. the method upgraded as described in claim 1 by set-top box to home gateway, which is characterized in that the upgrading Process further includes following sub-step:
The home gateway judges whether upgrading succeeds;
If upgrading successfully, the home gateway restarting;
If upgrading failure, the home gateway return to status of fail.
CN201811534465.XA 2018-12-14 2018-12-14 Method for upgrading home gateway through set top box Active CN109640181B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811534465.XA CN109640181B (en) 2018-12-14 2018-12-14 Method for upgrading home gateway through set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811534465.XA CN109640181B (en) 2018-12-14 2018-12-14 Method for upgrading home gateway through set top box

Publications (2)

Publication Number Publication Date
CN109640181A true CN109640181A (en) 2019-04-16
CN109640181B CN109640181B (en) 2020-10-09

Family

ID=66074265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811534465.XA Active CN109640181B (en) 2018-12-14 2018-12-14 Method for upgrading home gateway through set top box

Country Status (1)

Country Link
CN (1) CN109640181B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110855470A (en) * 2019-09-30 2020-02-28 视联动力信息技术股份有限公司 Upgrading method and device
CN112650520A (en) * 2020-12-31 2021-04-13 威胜集团有限公司 Ammeter upgrading method and system, intelligent ammeter and storage medium
CN112667272A (en) * 2020-12-31 2021-04-16 威胜集团有限公司 Ammeter upgrading method and system, intelligent ammeter and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009764A (en) * 2006-01-27 2007-08-01 中国科学院声学研究所 A network upgrade method of the TFTP-based IPTV STB software
US20110019684A1 (en) * 2008-03-17 2011-01-27 Mickael Allain Multimedia Content Sharing Via Audio-Video Communication
CN107395394A (en) * 2017-06-19 2017-11-24 上海斐讯数据通信技术有限公司 A kind of method and system by updating mobile terminal router

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009764A (en) * 2006-01-27 2007-08-01 中国科学院声学研究所 A network upgrade method of the TFTP-based IPTV STB software
US20110019684A1 (en) * 2008-03-17 2011-01-27 Mickael Allain Multimedia Content Sharing Via Audio-Video Communication
CN107395394A (en) * 2017-06-19 2017-11-24 上海斐讯数据通信技术有限公司 A kind of method and system by updating mobile terminal router

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110855470A (en) * 2019-09-30 2020-02-28 视联动力信息技术股份有限公司 Upgrading method and device
CN112650520A (en) * 2020-12-31 2021-04-13 威胜集团有限公司 Ammeter upgrading method and system, intelligent ammeter and storage medium
CN112667272A (en) * 2020-12-31 2021-04-16 威胜集团有限公司 Ammeter upgrading method and system, intelligent ammeter and storage medium

Also Published As

Publication number Publication date
CN109640181B (en) 2020-10-09

Similar Documents

Publication Publication Date Title
CN110446201B (en) Communication module, communication method and system for realizing eSIM remote configuration
CN106533813A (en) Method for remotely controlling upgrade of intelligent device
EP3163796B1 (en) Terminal upgrade method and related device
US8782181B2 (en) Method and system for upgrading network device
CN106911502B (en) A kind of upgrade method and system of intelligent home gateway equipment
CN100407644C (en) Method for displaying real-time data in web network management system
CN107342933B (en) Activation and binding method and device for intelligent equipment
CN109640181A (en) A method of home gateway is upgraded by set-top box
US9282422B2 (en) Method and system for parameter configuration of mobile terminal
EP2755412A1 (en) Method and system for upgrading firmware of user side device
CN101222519A (en) Remote activation of home devices
CN107426233A (en) Data communication system, method, Web server and monitoring system based on B/S frameworks
WO2018086478A1 (en) Method and device for upgrading wifi module in set top box, set top box and system
CN105049888B (en) A kind of wechat remotely pushes the implementation method of set top box program source
CN103957117A (en) System and method for achieving intelligent installation of network equipment
WO2012092818A1 (en) File downloading method and system for terminal
WO2017107389A1 (en) Data transmission method, device and system
CN108874437A (en) A kind of online cloud update method of android application program
EP1953957B1 (en) A remote load system of network device and method thereof
CN107968725B (en) Method and device for returning and configuring configuration information of home gateway unit type terminal device
CN109587210A (en) A kind of implementation method of the information push of more browser-safes
CN109245974A (en) Household electrical appliance distribution method, apparatus and computer readable storage medium
CN113396600B (en) Information verification method, device, equipment and storage medium
CN103138961B (en) server control method, controlled server and central control server
CN102685113A (en) Self-configuration method for IMS terminal based on UPnP

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant