CN108174253A - A kind of IPTV terminal upgrade method of no IP address - Google Patents

A kind of IPTV terminal upgrade method of no IP address Download PDF

Info

Publication number
CN108174253A
CN108174253A CN201810196006.9A CN201810196006A CN108174253A CN 108174253 A CN108174253 A CN 108174253A CN 201810196006 A CN201810196006 A CN 201810196006A CN 108174253 A CN108174253 A CN 108174253A
Authority
CN
China
Prior art keywords
terminal
upgrade
file
frame
ip address
Prior art date
Application number
CN201810196006.9A
Other languages
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 四川天邑康和通信股份有限公司
Priority to CN201810196006.9A priority Critical patent/CN108174253A/en
Publication of CN108174253A publication Critical patent/CN108174253A/en

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, synchronizing 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
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client

Abstract

The invention discloses a kind of IPTV terminal upgrade methods of no IP address, include the following steps:Terminal accesses cable, and powers on booting;Terminal monitoring ethernet broadcasting frame parses the frame of specific format;Terminal receives upgrade file by parsing frame;Client checks upgrade file;If verification does not pass through, upgrade file is deleted, continues to monitor and parse the frame of specific format;Verification starts to upgrade flow by then representing that terminal gets correct upgrade file.The present invention, which makes the upgrading of terminal no longer need to configure IP address, just can get upgrade file, escalation process be allowed to become simple and general, while the method can be carried out large batch of while be upgraded, and the speed and efficiency of software upgrading greatly improved.

Description

A kind of IPTV terminal upgrade method of no IP address

Technical field

The present invention relates to the broadcasting and TV communications field more particularly to a kind of IPTV terminal upgrade methods of no IP address.

Background technology

In IPTV escalation process, it usually needs carry out remote upgrade by network.Under normal circumstances, network upgrade must After condition is wanted normally to get IP address for equipment, the request of Connection Service device starts to upgrade after downloading upgrade file success.But It is under many scenes, there are following a variety of possibility, cause to upgrade unsuccessful.

1st, terminal is added in dhcp discover, the verification of dhcp offer causes according to the requirement of province network customization Device IP can not be configured in general DHCP server side.

2nd, current environment causes to obtain IP address failure without Dynamic Host Configuration Protocol server.

3rd, the address in upgrade server address and equipment is inconsistent, and equipment is caused to access upgrade server failure.

Exactly there is more than drawback, cause under certain feature scenes, e.g., production plant, warehouse can not pass through LAN Network carries out 1 to IPTV device:N(N>100) quick upgrading.In order to which unified general solution can not obtain IP and need to pass through net Network carries out the problem of high-volume upgrades, we proposes a kind of cable that need to only be inserted into interchanger, then carries out network liter without IP The method of grade.

To solve the above-mentioned problems, the present invention proposes a kind of IPTV terminal upgrade method of no IP address.This method makes IP address need not be configured in IPTV terminal, with regard to that can get upgrade file.Simultaneously by the method for this broadcast, high-volume can be carried out Upgrading, the speed and efficiency of software upgrading greatly improved.

Filec descriptor:Filec descriptor is a nonnegative integer in form.In fact, it is an index value, refer to The record sheet of file is opened for the process that each process is safeguarded to kernel.When program opens an existing file or wound When building a new file, kernel returns to a filec descriptor to process.In programming, some programs for being related to bottom are compiled It writes and is often unfolded around filec descriptor.

File handle:In file I/O, data are read from a file, application program first has to call operation system Function simultaneously transmits filename, and selects a path to this document to open file.The function fetches a serial number, i.e. file Handle(file handle), this document handle is unique basis of characterization for open file.

Invention content

To solve the above-mentioned problems, the present invention proposes a kind of IPTV terminal upgrade method of no IP address.

Specifically, a kind of IPTV terminal upgrade method of no IP address, includes the following steps:

S1, terminal access cable, and power on booting;

S2, terminal monitoring ethernet broadcasting frame parse the frame of specific format;

S3, terminal receive upgrade file by parsing frame;

S4, client checks upgrade file;If verification does not pass through, upgrade file is deleted, turns S2;Verification is by then turning in next step;

S5, terminal get correct upgrade file, start to upgrade flow.

Preferably, the specific format described in S2 refers to that " type " field in the frame header fields of the frame is selected in advance Particular value.

Preferably, upgrade file is received described in S3 and includes following sub-step:

S31, terminal receive upgrade command request, create corresponding filec descriptor or file handle by parsing frame;

S32, terminal receive subsequent upgrading data, upgrading data are written the filec descriptor or file by parsing frame Handle;

S33, terminal receive upgrade file and send and terminate order, close the filec descriptor or file handle by parsing frame.

Preferably, what is created in S31 is the operating system that filec descriptor or file handle depend on the terminal loads; For file handle under Windows operating system, UNIX be filec descriptor under LINUX operating systems and its flavor.

Preferably, upgrade file is verified described in S4, includes following sub-step:

S41, terminal receive check code by parsing frame;

S42, terminal verification code check upgrade file.

Preferably, the check code is MD5 check codes.

The beneficial effects of the present invention are:On the one hand can cannot obtain IP to avoid terminal, caused by can not upgrade Problem;Still further aspect can mitigate server end pressure again, achieve the purpose that efficiently to upgrade IPTV terminal.This method has logical With property, and the speed and efficiency of equipment software upgrading can be greatly improved.

Description of the drawings

Fig. 1 is the system flow chart of the present invention.

Specific embodiment

For a clearer understanding of the technical characteristics, objects and effects of the present invention, now control illustrates this hair Bright specific embodiment.

Specifically, a kind of IPTV terminal upgrade method of no IP address, includes the following steps:

S1, terminal access cable, and power on booting;Terminal system is run according to the network configuration of acquiescence at this time.Due to not having Dynamic Host Configuration Protocol server or PPOE servers, therefore the terminal can not normally get IP address.

S2, terminal monitoring ethernet broadcasting frame parse the frame of specific format;The specific format refers to the frame of the frame " type " field in head file is particular value selected in advance.By taking common 802.3 ethernet frame formats of IEEE as an example, Frame head includes following field:Lead code(7 bytes), frame start delimiter(1 byte), target MAC (Media Access Control) address(6 bytes), source MAC Location(6 bytes), type/length(2 bytes), data(46 ~ 1500 bytes), Frame Check Sequence(4 bytes)[MAC Address can be used 2-6 bytes represent, are essentially in this way, practical is all 6 bytes].Its " type/length(2 bytes)" can be set as it is special Character, so that terminal receives and parses through, such as be set as 0x7788.

S3, terminal receive upgrade file by parsing frame;Include following sub-step:

S31, terminal receive upgrade command request, create corresponding filec descriptor or file handle by parsing frame;

S32, terminal receive subsequent upgrading data, upgrading data are written the filec descriptor or file by parsing frame Handle;

S33, terminal receive upgrade file and send and terminate order, close the filec descriptor or file handle by parsing frame.

Wherein, what is created in S31 is the operating system that filec descriptor or file handle depend on the terminal loads; For file handle under Windows operating system, UNIX be filec descriptor under LINUX operating systems and its flavor, spread out Raw system refers to the flavors such as the operating system and millet based on LINUX such as Android, kylin, EMUI.

S4, client checks upgrade file;If verification does not pass through, upgrade file is deleted, turns S2;Verification is by then turning next Step;The verification upgrade file, includes following sub-step:

S41, terminal receive check code by parsing frame;

S42, terminal verification code check upgrade file.

Common file verification mode can be chosen herein.By taking common MD5 as an example, then what is received in S41 is for MD5 Check code, and terminal verifies whether code check upgrade file normally receives with this MD5.

S5, terminal get correct upgrade file, start to upgrade flow.

In practical operation, when most of, terminal is not necessarily the hair of certain upgrade file after upper be electrically accessed Initial time is sent, terminal parses ethernet frame always at this time, just starts to receive upgrade file until receiving upgrade command request.

It should be noted that for aforementioned each embodiment of the method, in order to be briefly described, therefore it is all expressed as to a system The combination of actions of row, but those skilled in the art should know, the application is not limited by described sequence of movement, because For according to the application, certain some step may be used other sequences or be carried out at the same time.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, involved action and unit not necessarily this Shen It please be necessary.

In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in some embodiment Part, may refer to the associated description of other embodiment.

One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, ROM, RAM etc..

The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent variations made according to the claims of the present invention, is still within the scope of the present invention.

Claims (6)

1. a kind of IPTV terminal upgrade method of no IP address, which is characterized in that include the following steps:
S1, terminal access cable, and power on booting;
S2, terminal monitoring ethernet broadcasting frame parse the frame of specific format;
S3, terminal receive upgrade file by parsing frame;
S4, client checks upgrade file;If verification does not pass through, upgrade file is deleted, turns S2;Verification is by then turning in next step;
S5, terminal get correct upgrade file, start to upgrade flow.
A kind of 2. IPTV terminal upgrade method of no IP address as described in claim 1, which is characterized in that the spy described in S2 The formula of fixing refers to that " type " field in the frame header fields of the frame is particular value selected in advance.
3. a kind of IPTV terminal upgrade method of no IP address as described in claim 1, which is characterized in that received described in S3 Upgrade file includes following sub-step:
S31, terminal receive upgrade command request, create corresponding filec descriptor or file handle by parsing frame;
S32, terminal receive subsequent upgrading data, upgrading data are written the filec descriptor or file by parsing frame Handle;
S33, terminal receive upgrade file and send and terminate order, close the filec descriptor or file handle by parsing frame.
4. a kind of IPTV terminal upgrade method of no IP address as claimed in claim 3, which is characterized in that created in S31 It is the operating system that filec descriptor or file handle depend on the terminal loads;It is file sentence under Windows operating system Handle, UNIX be filec descriptor under LINUX operating systems and its flavor.
5. a kind of IPTV terminal upgrade method of no IP address as claimed in claim 4, which is characterized in that verified described in S4 Upgrade file includes following sub-step:
S41, terminal receive check code by parsing frame;
S42, terminal verification code check upgrade file.
6. a kind of IPTV terminal upgrade method of no IP address as claimed in claim 5, which is characterized in that the check code is MD5 check codes.
CN201810196006.9A 2018-03-09 2018-03-09 A kind of IPTV terminal upgrade method of no IP address CN108174253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810196006.9A CN108174253A (en) 2018-03-09 2018-03-09 A kind of IPTV terminal upgrade method of no IP address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810196006.9A CN108174253A (en) 2018-03-09 2018-03-09 A kind of IPTV terminal upgrade method of no IP address

Publications (1)

Publication Number Publication Date
CN108174253A true CN108174253A (en) 2018-06-15

Family

ID=62510973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810196006.9A CN108174253A (en) 2018-03-09 2018-03-09 A kind of IPTV terminal upgrade method of no IP address

Country Status (1)

Country Link
CN (1) CN108174253A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753535A (en) * 2008-12-11 2010-06-23 深圳市科陆电子科技股份有限公司 Method and system for upgrading terminal in electric power system
CN102098590A (en) * 2009-12-15 2011-06-15 中兴通讯股份有限公司 Automatic upgrading method and system of firmware version of optical network unit
CN102364891A (en) * 2011-09-13 2012-02-29 杭州华三通信技术有限公司 Method for upgrading software for embedded Ethernet equipment and embedded Ethernet equipment
CN103984577A (en) * 2014-05-29 2014-08-13 深圳市华信天线技术有限公司 Data radio software updating method and system
WO2015060690A1 (en) * 2013-10-24 2015-04-30 Samsung Electronics Co., Ltd. Method and apparatus for upgrading operating system of electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753535A (en) * 2008-12-11 2010-06-23 深圳市科陆电子科技股份有限公司 Method and system for upgrading terminal in electric power system
CN102098590A (en) * 2009-12-15 2011-06-15 中兴通讯股份有限公司 Automatic upgrading method and system of firmware version of optical network unit
CN102364891A (en) * 2011-09-13 2012-02-29 杭州华三通信技术有限公司 Method for upgrading software for embedded Ethernet equipment and embedded Ethernet equipment
WO2015060690A1 (en) * 2013-10-24 2015-04-30 Samsung Electronics Co., Ltd. Method and apparatus for upgrading operating system of electronic device
CN103984577A (en) * 2014-05-29 2014-08-13 深圳市华信天线技术有限公司 Data radio software updating method and system

Similar Documents

Publication Publication Date Title
US6144992A (en) Method and system for client/server and peer-to-peer disk imaging
CN100561957C (en) Network exchanger configuration method and system
US5974461A (en) Method for automatically regenerating information at a client system in the event of power or communication disruption between the client system and the server
KR100607217B1 (en) Method and system for device to device command and control in a network
US6839070B2 (en) Real-time display of bandwidth utilization in a transport multiplexer
US7278002B2 (en) Method and system for reducing storage requirements for program code in a communication device
US9479812B2 (en) User selection of software components in a television set-top box
CN100432980C (en) Automated bulk configuration of network devices
JP2009530694A (en) Method and system for updating multiple devices
US6289370B1 (en) Platform independent enhanced help system for an internet enabled embedded system
US10104432B2 (en) Methods and apparatus for software provisioning of a network device
US7305460B2 (en) Initialization file downloading apparatus and method of cable modem
US7203940B2 (en) Automated installation of an application
US6522654B1 (en) Method for hosting the internet protocol suite on the IEEE-1394 high speed serial bus
US20090125958A1 (en) Method of upgrading a platform in a subscriber gateway device
US5577210A (en) Remote booting of an operating system by a network
KR100794800B1 (en) Software update method and software update apparatus thereof
US8326953B2 (en) Configuration management method and system for customer premises equipment
US20130013593A1 (en) Information processing device, method and server for determining type of electric appliance
WO2002017560A2 (en) Autonomous local area distributed network
WO1998023059A2 (en) Remote upgrade of software over a network
EP2840455B1 (en) Method, apparatus and system for intelligently controlling device, and plug-and-play device
KR100453824B1 (en) XML based network management system and method for configuration management of heterogeneous network devices
US20050228888A1 (en) Automatic firmware image recovery
US9596501B2 (en) Remote control processing method, device and system

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