CN104796790B - The method that television equipment accesses IPTV and internet simultaneously - Google Patents
The method that television equipment accesses IPTV and internet simultaneously Download PDFInfo
- Publication number
- CN104796790B CN104796790B CN201510124782.4A CN201510124782A CN104796790B CN 104796790 B CN104796790 B CN 104796790B CN 201510124782 A CN201510124782 A CN 201510124782A CN 104796790 B CN104796790 B CN 104796790B
- Authority
- CN
- China
- Prior art keywords
- iptv
- television equipment
- address
- equipment
- internet
- 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.)
- Active
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Small-Scale Networks (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention relates to television equipment technology.If the problem of complex networking is needed when thinking the present invention is to solve existing television equipment and access IPTV and internet simultaneously, there is provided a kind of method that television equipment accesses IPTV and internet simultaneously, its technical scheme can be summarized as:Using WIFI wireless connections, by the multiple addresses of network card configuration in systems, two IP address (the first IP address and the second IP address) possessed simultaneously in wlan0 equipment respectively, one will be used to receive and dispatch internet data, and another will be used to receive and dispatch IPTV network datas.The invention has the advantages that networking and the line of complexity are avoided, suitable for television equipment.
Description
Technical field
The present invention relates to television equipment technology, the more particularly to technology of television equipment access IPTV and internet.
Background technology
Telecommunications IPTV wideband videos are a kind of by TV accessing to wide band network, can enjoy live, program request and review program
Service, is a kind of good service of program definition.Telecommunications IPTV is in transmitting procedure in order to ensure video quality, video flowing speed
Do not influenced each other with common online, used private network multicast mode, under normal conditions, user needs a netting twine access electricity
On the particular port for believing modern, telecommunications IPTV resource contents are received from this port.Generally if IPTV user needs
Watching IPTV videos needs, specially individually a piece netting twine of extraction is connected to set top box/TV (i.e. from modern ITV interfaces
Television equipment) on, if user's set top box/TV needs to watch internet program, that is also needed to from modern LAN mouths in addition
A netting twine access is drawn, for its connected mode referring to Fig. 1, such connected mode causes network layout difficult, management inconvenience etc.
Problem.Most of intelligent television also only has a network interface, needs to pull out back and forth when connecting internet or IPTV networks
Handover network interface is inserted, such occupation mode is very not humane.At present, in general telecommunications IPTV set top box or integrated machine television
Linux system and Android system are all used, therefore following technology is also mainly used on both systems and similar system.
The content of the invention
It is more multiple the invention aims to solve to need when if existing television equipment is thought and accesses IPTV and internet simultaneously
The shortcomings that miscellaneous networking, there is provided a kind of method that television equipment accesses IPTV and internet simultaneously.
The present invention solves its technical problem, and the technical scheme of use is, television equipment accesses IPTV and internet simultaneously
Method, it is characterised in that comprise the following steps:
Wireless network is accessed by WIFI after step 1, television equipment startup, enables a device to access internet, it is now electric
Depending on having the first IP address in the wlan0 equipment of equipment, system configuration has the first subnet mask and default route;
Step 2, television equipment start IPTV applications, call the distinctive DHCP+ programs of telecommunications to obtain in start-up course
The second IP address, the second subnet mask and the second default route of IPTV server distribution;
Step 3, television equipment write the second IP address and the second subnet mask in wlan0 equipment, now wlan0 equipment
In there is the first IP address and the second IP address, also there is the first subnet mask and the second subnet mask accordingly;
Step 4, television equipment add an IPTV routing table, and the default route for configuring the routing table is the second acquiescence road
By;
Step 5, television equipment add a routing rule, and the routing rule is to get IP address from IPTV server
Rule, the routing rule is associated with IPTV routing tables;
IPTV application programs are bound the second IP address by step 6, television equipment.
Specifically, step 1 is specially:Television equipment opens WIFI, and the standard DHCP of execution system acquiescence after starting
(Dynamic Host Configuration Protocol, DHCP), gets the first IP address and writes
Wlan0 equipment, while configured the first subnet mask of system and default route, television equipment access wireless network by WIFI
Network.
Further, in step 3, the second IP address and the second subnet mask are write wlan0 equipment by the television equipment
In method be:Television equipment program is by calling the IP command functions in iproute2, by the second IP address and the second subnet
Mask writes wlan0 equipment.
Specifically, in step 4, the method that the television equipment adds an IPTV routing table is:Added by IP route
Add an IPTV routing table.
Further, in step 5, the method that the television equipment adds a routing rule is:Added by IP rule
Add a routing rule.
It is specifically, further comprising the steps of:
Step 7, in use, due to IPTV application programs binding the second IP address, can directly pass through the second default route
IPTV network datas are received and dispatched, and other applications are then given tacit consent to due to unbound second IP address using the first of system default
Route transmitting-receiving internet data.
Further, the television equipment is set top box or integrated machine television.
The invention has the advantages that in the present invention program, IPTV and interconnection are accessed by above-mentioned television equipment simultaneously
The method of net, television set can be made only can to access internet and IPTV simultaneously by WIFI connections, avoid the networking of complexity
And line, facilitate user.
Brief description of the drawings
Fig. 1 accesses system block diagram when IPTV and internet for television equipment in the prior art simultaneously.
Fig. 2 is system block diagram television equipment of the embodiment of the present invention accesses IPTV and internet simultaneously when.
Embodiment
Below in conjunction with the accompanying drawings and embodiment, technical scheme is described in detail.
The television equipment of the present invention accesses IPTV simultaneously and the method for internet is:Television equipment passes through after starting first
WIFI accesses wireless network, enables a device to access internet, now with having the first IP in the wlan0 equipment of television equipment
Location, system configuration have the first subnet mask and default route, and then television equipment starts IPTV applications, is called in start-up course
The distinctive DHCP+ programs of telecommunications obtain the second IP address, the second subnet mask and the second default route of IPTV server distribution,
To now have the first IP address and the in wlan0 equipment in the second IP address and the second subnet mask write-in wlan0 equipment again
Two IP address, also there is the first subnet mask and the second subnet mask accordingly, and add an IPTV routing table, and configure and be somebody's turn to do
The default route of routing table is the second default route, then adds a routing rule again, and the routing rule is from IPTV service
Device gets the rule of IP address, and the routing rule is associated with IPTV routing tables, finally by IPTV application programs binding the
Two IP address.
Embodiment
The television equipment of the embodiment of the present invention is accessed in the method for IPTV and internet simultaneously, and television equipment can be machine top
Box or integrated machine television, the system block diagram it accesses IPTV and internet simultaneously when is as shown in figure 1, specific processing includes following step
Suddenly:
Wireless network is accessed by WIFI after step 1, television equipment startup, enables a device to access internet, it is now electric
Depending on having the first IP address in the wlan0 equipment of equipment, system configuration has the first subnet mask and default route.
This step can be specially:Television equipment opens WIFI, and the standard DHCP of execution system acquiescence after starting
(Dynamic Host Configuration Protocol, DHCP), gets the first IP address and writes
Wlan0 equipment, while configured the first subnet mask of system and default route, television equipment access wireless network by WIFI
Network.
Step 2, television equipment start IPTV applications, call the distinctive DHCP+ programs of telecommunications to obtain in start-up course
The second IP address, the second subnet mask and the second default route of IPTV server distribution.
Step 3, television equipment write the second IP address and the second subnet mask in wlan0 equipment, now wlan0 equipment
In there is the first IP address and the second IP address, also there is the first subnet mask and the second subnet mask accordingly.
In this step, the method in the second IP address and the second subnet mask write-in wlan0 equipment is by television equipment:Electricity
Depending on device program by calling the IP command functions in iproute2, the second IP address and the second subnet mask are write into wlan0
Equipment.Because the multiple addresses of network card configuration are feasible, then now possessing in wlan0 equipment two in systems simultaneously
IP address (the first IP address and the second IP address), one will be used to receive and dispatch internet data, and another will be used to receive and dispatch IPTV
Network data, due to being to create an IP address in Internet, therefore bottom kernel module addition more multi-option is not needed to support.
Step 4, television equipment add an IPTV routing table, and the default route for configuring the routing table is the second acquiescence road
By.
In this step, the method that television equipment adds an IPTV routing table is:One IPTV is added by IP route
Routing table.
Step 5, television equipment add a routing rule, and the routing rule is to get IP address from IPTV server
Rule, the routing rule is associated with IPTV routing tables.
In this step, the method that television equipment adds a routing rule is:One route rule is added by IP rule
Then.
IPTV application programs are bound the second IP address by step 6, television equipment.
When in use, due to the second IP address of IPTV application programs binding, directly can be received and dispatched by the second default route
IPTV network datas, and other applications are due to unbound second IP address, then using the first default route of system default
Receive and dispatch internet data.
Thus accomplished that the television equipment is seamless while accesses IPTV and internet.
Claims (7)
1. the method that television equipment accesses IPTV and internet simultaneously, it is characterised in that comprise the following steps:
Wireless network is accessed by WIFI after step 1, television equipment startup, enables a device to access internet, now TV is set
There is the first IP address, system configuration has the first subnet mask and default route in standby wlan0 equipment;
Step 2, television equipment start IPTV applications, call the distinctive DHCP+ programs of telecommunications to obtain IPTV clothes in start-up course
The second IP address, the second subnet mask and the second default route of business device distribution;
Step 3, television equipment now have in the second IP address and the second subnet mask write-in wlan0 equipment in wlan0 equipment
There are the first IP address and the second IP address, also there is the first subnet mask and the second subnet mask accordingly;
Step 4, television equipment add an IPTV routing table, and the default route for configuring the routing table is the second default route;
Step 5, television equipment add a routing rule, and the routing rule is the rule that IP address is got from IPTV server
Then, it is the routing rule is associated with IPTV routing tables;
IPTV application programs are bound the second IP address by step 6, television equipment.
2. the method that television equipment as claimed in claim 1 accesses IPTV and internet simultaneously, it is characterised in that step 1 has
Body is:Television equipment opens WIFI, and the standard DHCP of execution system acquiescence after starting, get the first IP address and write
Wlan0 equipment, while configured the first subnet mask of system and default route, television equipment access wireless network by WIFI
Network.
3. the method that television equipment as claimed in claim 1 accesses IPTV and internet simultaneously, it is characterised in that in step 3,
The television equipment by the second IP address and the second subnet mask write-in wlan0 equipment in method be:Television equipment program is led to
The IP command functions called in iproute2 are crossed, the second IP address and the second subnet mask are write into wlan0 equipment.
4. the method that television equipment as claimed in claim 1 accesses IPTV and internet simultaneously, it is characterised in that in step 4,
The method that the television equipment adds an IPTV routing table is:One IPTV routing table is added by IP route.
5. the method that television equipment as claimed in claim 1 accesses IPTV and internet simultaneously, it is characterised in that in step 5,
The method that the television equipment adds a routing rule is:One routing rule is added by IP rule.
6. television equipment as claimed in claim 1 simultaneously access IPTV and internet method, it is characterised in that also include with
Lower step:
Step 7, in use, due to IPTV application programs binding the second IP address, can directly pass through the second default route receive and dispatch
IPTV network datas, and other applications are due to unbound second IP address, then using the first default route of system default
Receive and dispatch internet data.
7. the method that the television equipment as described in claim 1 or 2 or 3 or 4 or 5 or 6 accesses IPTV and internet simultaneously, it is special
Sign is that the television equipment is set top box or integrated machine television.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510124782.4A CN104796790B (en) | 2015-03-20 | 2015-03-20 | The method that television equipment accesses IPTV and internet simultaneously |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510124782.4A CN104796790B (en) | 2015-03-20 | 2015-03-20 | The method that television equipment accesses IPTV and internet simultaneously |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104796790A CN104796790A (en) | 2015-07-22 |
CN104796790B true CN104796790B (en) | 2018-02-23 |
Family
ID=53561241
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510124782.4A Active CN104796790B (en) | 2015-03-20 | 2015-03-20 | The method that television equipment accesses IPTV and internet simultaneously |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104796790B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105471915A (en) * | 2016-01-13 | 2016-04-06 | 青岛海信宽带多媒体技术有限公司 | Network access control method and network terminal |
CN105656674B (en) * | 2016-01-19 | 2019-07-12 | 成都卓影科技股份有限公司 | A kind of double net access methods of IPTV private network and internet |
CN105681330A (en) * | 2016-02-29 | 2016-06-15 | 四川长虹电器股份有限公司 | Telecommunication internal network remote access method |
CN106604075A (en) * | 2016-12-26 | 2017-04-26 | 深圳创维数字技术有限公司 | Set top box configuration method and system |
CN109155797B (en) * | 2017-03-08 | 2020-12-15 | 华为技术有限公司 | Communication method and device |
CN107493518B (en) * | 2017-08-15 | 2020-12-15 | 深圳创维数字技术有限公司 | IPTV terminal network outlet switching method, device and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102802063A (en) * | 2012-08-31 | 2012-11-28 | 博视联(苏州)信息科技有限公司 | Set top box device with WIFI (Wireless Fidelity) hot spots |
CN103118090A (en) * | 2013-01-18 | 2013-05-22 | 福建升腾资讯有限公司 | Household fusion cloud computer terminal realizing method based on public network |
CN103312599A (en) * | 2013-05-09 | 2013-09-18 | 李冰 | Multi-network routing gateway system |
CN103475950A (en) * | 2013-09-17 | 2013-12-25 | 广东九联科技股份有限公司 | Method for enabling set top box to have access to Internet and IPTV network simultaneously |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
IL209140A0 (en) * | 2010-11-04 | 2011-01-31 | Tangotec Ltd | A passive adapter for home networks |
-
2015
- 2015-03-20 CN CN201510124782.4A patent/CN104796790B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102802063A (en) * | 2012-08-31 | 2012-11-28 | 博视联(苏州)信息科技有限公司 | Set top box device with WIFI (Wireless Fidelity) hot spots |
CN103118090A (en) * | 2013-01-18 | 2013-05-22 | 福建升腾资讯有限公司 | Household fusion cloud computer terminal realizing method based on public network |
CN103312599A (en) * | 2013-05-09 | 2013-09-18 | 李冰 | Multi-network routing gateway system |
CN103475950A (en) * | 2013-09-17 | 2013-12-25 | 广东九联科技股份有限公司 | Method for enabling set top box to have access to Internet and IPTV network simultaneously |
Also Published As
Publication number | Publication date |
---|---|
CN104796790A (en) | 2015-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104796790B (en) | The method that television equipment accesses IPTV and internet simultaneously | |
CN103621024B (en) | There is the Ethernet tree using two kinds of pseudo-wires between edge router strengthening retransmission method and system | |
CN105025387B (en) | The method and system of IPTV intelligent terminal progress IPTV service and Internet service | |
CN103118090B (en) | Based on the implementation method of the household fusion cloud computer terminal of public network | |
CN104506807B (en) | A kind of automatic configuration method for devices in wide area network video monitoring system | |
CN102882876B (en) | Hotel's intellectuality housekeeping service method and system | |
CN101202822B (en) | Digital TV set-top box system | |
CN103685547A (en) | Download server dispatching method, download server dispatching system and terminal device | |
CN108989264A (en) | A kind of live broadcasting method, system and relevant device | |
CN104581419A (en) | Dual-network realizing method based on android intelligent set-top box | |
CN113625589B (en) | Equipment control method and device, electronic equipment and storage medium | |
CN102025792A (en) | Router and IP address setting method thereof | |
CN105681879B (en) | The method and system of set-top box program request are realized in private network network | |
CN105450767A (en) | Network connection method and apparatus for intelligent device and intelligent device | |
CN103841466A (en) | Screen projection method, computer end and mobile terminal | |
CN109391520A (en) | Deep message detection method, device and system based on pattern of fusion home gateway | |
CN105827443A (en) | Network device discovery method and device | |
CN107333184B (en) | A kind of live broadcasting method and live streaming equipment based on remote desktop | |
CN108494895A (en) | Interactive intelligent panel, network domain conflict control method, device and medium | |
EP3267655A1 (en) | Multi-terminal interaction relation maintenance system and method | |
CN107547517A (en) | Audio/video program method for recording and the network equipment and computer installation | |
CN104539752B (en) | Access method and system between multilevel field platform | |
CN108322835A (en) | A kind of method and set-top box introducing broadband services on the set-top box | |
CN102946555B (en) | A kind of control method and system of directional reception data broadcast service | |
US10587569B2 (en) | Streaming service providing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |