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 PDFInfo
- 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
- address
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content 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/26291—Content 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
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.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810196006.9A CN108174253B (en) | 2018-03-09 | 2018-03-09 | Internet Protocol Television (IPTV) terminal upgrading method without Internet Protocol (IP) address |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810196006.9A CN108174253B (en) | 2018-03-09 | 2018-03-09 | Internet Protocol Television (IPTV) terminal upgrading method without Internet Protocol (IP) address |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108174253A true CN108174253A (en) | 2018-06-15 |
CN108174253B CN108174253B (en) | 2020-10-20 |
Family
ID=62510973
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810196006.9A Active CN108174253B (en) | 2018-03-09 | 2018-03-09 | Internet Protocol Television (IPTV) terminal upgrading method without Internet Protocol (IP) address |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108174253B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115086441A (en) * | 2022-06-09 | 2022-09-20 | 北京百度网讯科技有限公司 | Information transmission method and device, electronic equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1414740A (en) * | 2002-03-28 | 2003-04-30 | 华为技术有限公司 | Centralized management method of local net exchange equipment |
CN1770105A (en) * | 2004-11-05 | 2006-05-10 | 乐金电子(昆山)电脑有限公司 | Apparatus and method for updating software of target system by means of wireless local area network |
CN101753535A (en) * | 2008-12-11 | 2010-06-23 | 深圳市科陆电子科技股份有限公司 | Method and system for upgrading terminal in electric power system |
CN101957764A (en) * | 2010-08-02 | 2011-01-26 | 珠海许继电气有限公司 | Method for remotely updating remote terminal program |
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 of 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 |
WO2015157937A1 (en) * | 2014-04-16 | 2015-10-22 | 华为技术有限公司 | Software upgrade method and terminal |
CN107181971A (en) * | 2017-05-22 | 2017-09-19 | 华为软件技术有限公司 | The upgrade method and relevant device of a kind of IPTV terminal |
-
2018
- 2018-03-09 CN CN201810196006.9A patent/CN108174253B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1414740A (en) * | 2002-03-28 | 2003-04-30 | 华为技术有限公司 | Centralized management method of local net exchange equipment |
CN1770105A (en) * | 2004-11-05 | 2006-05-10 | 乐金电子(昆山)电脑有限公司 | Apparatus and method for updating software of target system by means of wireless local area network |
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 |
CN101957764A (en) * | 2010-08-02 | 2011-01-26 | 珠海许继电气有限公司 | Method for remotely updating remote terminal program |
CN102364891A (en) * | 2011-09-13 | 2012-02-29 | 杭州华三通信技术有限公司 | Method for upgrading software of 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 |
WO2015157937A1 (en) * | 2014-04-16 | 2015-10-22 | 华为技术有限公司 | Software upgrade method and terminal |
CN103984577A (en) * | 2014-05-29 | 2014-08-13 | 深圳市华信天线技术有限公司 | Data radio software updating method and system |
CN107181971A (en) * | 2017-05-22 | 2017-09-19 | 华为软件技术有限公司 | The upgrade method and relevant device of a kind of IPTV terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115086441A (en) * | 2022-06-09 | 2022-09-20 | 北京百度网讯科技有限公司 | Information transmission method and device, electronic equipment and storage medium |
CN115086441B (en) * | 2022-06-09 | 2024-03-19 | 北京百度网讯科技有限公司 | Information transmission method, device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108174253B (en) | 2020-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6938047B2 (en) | Methods, data structures, and systems for processing media data streams | |
US8621108B2 (en) | System and method for monitoring user interface connectivity state | |
JP2005209195A (en) | Embedded system using binary position information and remote software downloading method therein | |
EP1746767A1 (en) | A method for configuration management to the customer premises equipment and the system thereof | |
US11907700B2 (en) | Upgrading method and system, server, and terminal device | |
JP2008117405A (en) | Method for remotely upgrading software over network | |
JPH05509430A (en) | Downloading the operating system over the network | |
WO2011076146A1 (en) | Method for downloading application data, digital television reception terminal and system | |
CN111309279A (en) | Multi-screen interactive display method and device | |
CN111273924B (en) | Software updating method and device | |
US20080016150A1 (en) | System and method for downloading information | |
CN110069288B (en) | USB equipment sharing method, device and system | |
CN106549789A (en) | A kind of method and system for realizing that server is installed | |
CN104580376A (en) | Method, device and system for constructing connection between terminals in local area network | |
CN108174253A (en) | A kind of IPTV terminal upgrade method of no IP address | |
CN109756754B (en) | Video playing method and device, storage medium and electronic device | |
EP2557755B1 (en) | Securely Performing Commands from a Remote Source | |
CN101360009A (en) | Set-top box application management method and system | |
CN112035135A (en) | Method, apparatus and storage medium for updating firmware program of slave station apparatus | |
KR101451851B1 (en) | Web server and web service method thereof | |
US9678736B2 (en) | Method and system for updating a software image at a client device | |
CN107733979B (en) | Data pushing method, server and system | |
WO2011084844A1 (en) | Method and apparatus for interface to layer 2 of an open systems interconnection (osi) communication protocol | |
CN114374456A (en) | Outdoor LED screen adaptation method, device and medium | |
CN113285920A (en) | Service access method, device, equipment and storage medium |
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 |