CN102118455B - A kind of method of Web TV configuration network address, device and the network equipment - Google Patents
A kind of method of Web TV configuration network address, device and the network equipment Download PDFInfo
- Publication number
- CN102118455B CN102118455B CN200910238824.1A CN200910238824A CN102118455B CN 102118455 B CN102118455 B CN 102118455B CN 200910238824 A CN200910238824 A CN 200910238824A CN 102118455 B CN102118455 B CN 102118455B
- Authority
- CN
- China
- Prior art keywords
- address
- network
- gateway
- subnet mask
- network 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 14
- 238000013507 mapping Methods 0.000 claims description 8
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 230000006855 networking Effects 0.000 abstract description 2
Landscapes
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention is applicable to networking technology area, provides a kind of method of Web TV configuration network address, device and the network equipment, and described method comprises the steps: by pre-configured network address information scan for networks, the gateway existed in requester network; When there is gateway, by network address translation protocol, the IP address in pre-configured network address information and subnet mask are converted to IP address and the subnet mask that can be connected external network by gateway.In the present invention, do not need the Web TV of user's configuration network address, all network configuration are all transparent for user, the existence of user's imperceptible network address configuration, the netting twine physical connection that only need connect outer net is normal, will click remote controller use heartily subsequently just, reduce the threshold that network television user uses, meet the use habit of layman, be particularly suitable for family and buy Web TV, user is the family of old man or child.
Description
Technical field
The invention belongs to networking technology area, particularly relate to a kind of method of Web TV configuration network address, device and the network equipment.
Background technology
At present, the network equipment, such as Web TV, the configuration of its network address is loaded down with trivial details, needs professional person to be configured.
Along with the listing of Web TV is promoted, its towards user scope more and more wider, the people of contacted IP information is not had to occupy user crowd greatly yet, but, the IP address of pure digi-tal, subnet mask, gateway and DNS, unprofessional user is greatly perplexed, because if once arrange mistake, these just mean that the most important function of Web TV cannot use.
Summary of the invention
The object of the present invention is to provide a kind of method of Web TV configuration network address, be intended to solve existing network equipment network configuration loaded down with trivial details, the problem that inconvenient layman uses.
The present invention is achieved in that a kind of method of Web TV configuration network address, and described method comprises the steps:
By pre-configured network address information scan for networks, the gateway existed in requester network;
When there is gateway, by network address translation protocol, the IP address in pre-configured network address information and subnet mask are converted to IP address and the subnet mask that can be connected external network by gateway.
Another object of the present invention is to the device providing a kind of Web TV configuration network address, described device comprises:
Gateway consults module, for by pre-configured network address information scan for networks, the gateway existed in requester network;
Address conversion module, for when there is gateway, is converted to IP address and the subnet mask that can be connected external network by gateway by the IP address in pre-configured network address information and subnet mask by network address translation protocol.
Another object of the present invention is to provide a kind of network television system, described network television system comprises the device of Web TV configuration network address as above.
In invention, first by pre-configured network address information scan for networks, when scan there is gateway time, by network address translation protocol, the IP address in pre-configured network address information and subnet mask are converted to IP address and the subnet mask that can be connected external network by gateway, do not need the Web TV of user's configuration network address, all network configuration are all transparent for user, the existence of user's imperceptible network address configuration, the netting twine physical connection that only need connect outer net is normal, remote controller use heartily to be clicked subsequently just, reduce the threshold that network television user uses, meet the use habit of layman, be particularly suitable for family and buy Web TV, user is the family of old man or child.
Accompanying drawing explanation
Fig. 1 is the FB(flow block) of the method for the Web TV configuration network address that the embodiment of the present invention provides;
Fig. 2 is the structured flowchart of the device of the Web TV configuration network address that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
In embodiments of the present invention, first by pre-configured network address information scan for networks, when scan there is gateway time, by network address translation protocol, the IP address in pre-configured network address information and subnet mask are converted to IP address and the subnet mask that can be connected external network by gateway, do not need the Web TV of user's configuration network address, reduce the threshold that network television user uses, meet the use habit of layman, be particularly suitable for family and buy Web TV, user is the family of old man or child.
Fig. 1 is the method for the Web TV configuration network address that the embodiment of the present invention provides, and details are as follows:
In step S101, receive the start-up command of input, opening network TV.
As one embodiment of the present of invention, user presses the shift knob on remote controller or Web TV, after Web TV receives this start-up command, starts to start.
In step s 102, when the physical connection of network cable and Web TV, opening network address configuration function, starts configuration network address.
In step s 103, pre-configured network address information is kept to immobilize.
As one embodiment of the present of invention, keep the network address information of Web TV, comprise IP address, subnet mask and dns address and immobilize, wherein, pre-set before this IP address, subnet mask and DNS dispatch from the factory, do not need change.
In step S104, by pre-configured network address information scan for networks, the gateway existed in requester network.
As one embodiment of the present of invention, by the IP address scan network information in pre-configured network address information, the gateway existed in requester network, if scanning result is gateway address information is empty, whether network physical connects normal then to point out user to check, every a scheduled time after the end of scan, within such as 5 seconds, rescan.
In step S105, when there is gateway address information in scanning result, by network address translation protocol, the IP address in pre-configured network address information and subnet mask are converted to IP address and the subnet mask that can be connected external network by gateway.
As one embodiment of the present of invention, when there is gateway address information in scanning result, according to the gateway in scanning result, utilize the list of network address translation (Network Address Translation) NAT protocol generation network address translation, the IP address in the network address information pre-set is stored in this translation lists, subnet mask and the IP address that can be connected external network by gateway, mapping relations between subnet mask, according to these mapping relations by the IP address in pre-configured network address information, the subnet mask gateway be converted to by scanning can connect IP address and the subnet mask of external network, be connected after external network by this IP address with subnet mask, network status icon on network television interface will be revised as the mark can going up outer net by the UI of Web TV, be shown to user.
The structure of the device of the Web TV configuration network address that Fig. 2 provides for the embodiment of the present invention, for convenience of explanation, illustrate only the part that the embodiment of the present invention is relevant.Wherein, the device of this Web TV configuration network address can be the software unit being built in network television system, the unit that hardware cell or soft or hard combine.In the present embodiment, this device comprises: gateway consults module 21, address conversion module 22.
Gateway consults module 21 by pre-configured network address information scan for networks, the gateway existed in requester network.
When there is gateway, the IP address in pre-configured network address information, subnet mask are converted to IP address and the subnet mask that can be connected external network by gateway by network address translation protocol by address conversion module 22.
Wherein, address conversion module 22 comprises: address information query unit 221,
Address information query unit 221, when there is gateway, inquires about the address information of described gateway;
Translation lists generation unit 222, according to the address information of the gateway that address information query unit 221 inquires, utilizes network address translation protocol generating network address translation lists; IP address in the network address information pre-set is stored and subnet mask can be connected the mapping relations between the IP address of external network and subnet mask with the gateway by scanning in this translation lists;
The mapping relations that address conversioning unit 223 generates according to translation lists generation unit 222 the IP address in pre-configured network address information and subnet mask are converted to by sweep anchor to gateway can be connected IP address and the subnet mask of external network.
As a preferred embodiment of the present invention, this device also comprises: physical connection prompting module 23.
Physical connection prompting module 23, when not inquiring gateway, prompting user checks that whether network physical connects normal, every a scheduled time after the end of scan, rescans for such as 5 seconds.
In embodiments of the present invention, first by pre-configured network address information scan for networks, when scan there is gateway time, by network address translation protocol, the IP address in pre-configured network address information and subnet mask are converted to IP address and the subnet mask that can be connected external network by gateway, do not need the Web TV of user's configuration network address, all network configuration are all transparent for user, the existence of user's imperceptible network address configuration, the netting twine physical connection that only need connect outer net is normal, remote controller use heartily to be clicked subsequently just, reduce the threshold that network television user uses, meet the use habit of layman, be particularly suitable for family and buy Web TV, user is the family of old man or child.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (5)
1. a method for Web TV configuration network address, is characterized in that, described method comprises the steps:
By pre-configured network address information scan for networks, the gateway existed in requester network;
When there is gateway, by network address translation protocol, the IP address in pre-configured network address information and subnet mask are converted to IP address and the subnet mask that can be connected external network by gateway;
Described when there is gateway, the step by network address translation protocol the IP address in pre-configured network address information and subnet mask being converted to the IP address and subnet mask that can be connected external network by gateway is specially:
When there is gateway, inquire about the address information of described gateway;
According to the address information of described gateway, utilize network address translation protocol generating network address translation lists;
IP address in the network address information pre-set is stored and subnet mask can be connected the mapping relations between the IP address of external network and subnet mask with the gateway by scanning in described translation lists;
According to described mapping relations, the IP address in pre-configured network address information and subnet mask are converted to IP address and the subnet mask that can be connected external network by gateway.
2. the method for claim 1, it is characterized in that, described when there is gateway, before IP address in pre-configured network address information and subnet mask being converted to and can being connected the IP address of external network and the step of subnet mask by network address translation protocol by gateway, described method also comprises the steps:
When not inquiring gateway, prompting user checks that whether network physical connects normal, rescans every a scheduled time after the end of scan.
3. a device for Web TV configuration network address, is characterized in that, described device comprises:
Gateway consults module, for by pre-configured network address information scan for networks, the gateway existed in requester network;
Address conversion module, for when there is gateway, is converted to IP address and the subnet mask that can be connected external network by gateway by the IP address in pre-configured network address information and subnet mask by network address translation protocol;
Described address conversion module comprises:
Address information query unit, for when there is gateway, inquires about the address information of described gateway;
Translation lists generation unit, for the address information according to described gateway, utilizes network address translation protocol generating network address translation lists;
IP address in the network address information pre-set is stored and subnet mask can be connected the mapping relations between the IP address of external network and subnet mask with the gateway by scanning in described translation lists;
Address conversioning unit, for being converted to IP address and the subnet mask that can be connected external network by gateway by the IP address in pre-configured network address information and subnet mask according to described mapping relations.
4. device as claimed in claim 3, it is characterized in that, described device comprises further:
Physical connection prompting module, for when not inquiring gateway, prompting user checks that whether network physical connects normal, rescans every a scheduled time after the end of scan.
5. a network television system, is characterized in that, described network television system comprises the device of the Web TV configuration network address as described in any one of claim 3 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910238824.1A CN102118455B (en) | 2009-12-30 | 2009-12-30 | A kind of method of Web TV configuration network address, device and the network equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910238824.1A CN102118455B (en) | 2009-12-30 | 2009-12-30 | A kind of method of Web TV configuration network address, device and the network equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102118455A CN102118455A (en) | 2011-07-06 |
CN102118455B true CN102118455B (en) | 2015-08-19 |
Family
ID=44217043
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910238824.1A Active CN102118455B (en) | 2009-12-30 | 2009-12-30 | A kind of method of Web TV configuration network address, device and the network equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102118455B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106027696A (en) * | 2016-07-20 | 2016-10-12 | 上海斐讯数据通信技术有限公司 | Method and WIFI device for providing spare IP address |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996945A (en) * | 2006-11-30 | 2007-07-11 | 中国科学院计算技术研究所 | A method for network address translation |
CN101087277A (en) * | 2007-06-14 | 2007-12-12 | 广东中大讯通软件科技有限公司 | A digital home gateway device and its processing method |
CN101442663A (en) * | 2007-11-22 | 2009-05-27 | 华为技术有限公司 | Method, apparatus and system for implementing network television business |
-
2009
- 2009-12-30 CN CN200910238824.1A patent/CN102118455B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996945A (en) * | 2006-11-30 | 2007-07-11 | 中国科学院计算技术研究所 | A method for network address translation |
CN101087277A (en) * | 2007-06-14 | 2007-12-12 | 广东中大讯通软件科技有限公司 | A digital home gateway device and its processing method |
CN101442663A (en) * | 2007-11-22 | 2009-05-27 | 华为技术有限公司 | Method, apparatus and system for implementing network television business |
Also Published As
Publication number | Publication date |
---|---|
CN102118455A (en) | 2011-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7912928B2 (en) | Network device and network device control method | |
US20080215668A1 (en) | Communication device, system and method for managing local network device remotely | |
CN103166814B (en) | A kind of intelligent home appliance remote control system based on Internet of Things | |
US20060184615A1 (en) | Service framework for home network | |
EP1545052A1 (en) | Method for waking up a sleeping device, a related network element, a related waking device and a related sleeping device | |
KR100637080B1 (en) | Service framework for A Home network | |
US20100070614A1 (en) | Unified device management method and system | |
EP1229688A2 (en) | Apparatus and method for controlling a device in a home network and a home network system employing the same | |
KR20050032313A (en) | Home network system | |
JP5448489B2 (en) | Information processing apparatus and control method thereof, information processing system, and program | |
CN107154877B (en) | Configuration management method of convergence terminal and convergence terminal | |
CN102118455B (en) | A kind of method of Web TV configuration network address, device and the network equipment | |
JP2005184805A (en) | Method for waking up sleeping device, related network element and related wake-up device | |
KR20050079480A (en) | Upnp based on rg system for home network service | |
US20110296480A1 (en) | System, terminal, server and method for providing rich application based multi-screen iptv service | |
JP2009284456A (en) | Communication control device and relay device | |
JP4779328B2 (en) | Image distribution system | |
CN109076111B (en) | Cable media converter management method, apparatus and system | |
EP2073440A1 (en) | Method, command converter and automatic configuration server for remote management of embedded devices | |
KR100638207B1 (en) | Server-Client system and its method for the same | |
CN101064886B (en) | Wireless equipment and method for transmitting data through wireless equipment | |
JP2005168009A (en) | Communication device providing extended service | |
JP2005045505A (en) | Communication controller and network associating method | |
KR100838694B1 (en) | System to service the home-network under the hnxml | |
JP2005321926A (en) | Home network system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |