CN102957615A - Switching method of network servers and terminal device - Google Patents
Switching method of network servers and terminal device Download PDFInfo
- Publication number
- CN102957615A CN102957615A CN2011102362200A CN201110236220A CN102957615A CN 102957615 A CN102957615 A CN 102957615A CN 2011102362200 A CN2011102362200 A CN 2011102362200A CN 201110236220 A CN201110236220 A CN 201110236220A CN 102957615 A CN102957615 A CN 102957615A
- Authority
- CN
- China
- Prior art keywords
- identification information
- webserver
- network
- dynamic host
- configuration protocol
- 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.)
- Pending
Links
Images
Abstract
The invention is suitable for the technical field of communication networks and provides a switching method of network servers. The switching method of the network servers includes: a network terminal is provided with internal identification information lists respectively corresponding to the network servers; and the network terminal polls the identification information lists, acquires another identification information different from identification information of the current network server, releases connection with the current network server and newly establishes connection with the network server corresponding to the another identification information. The invention further provides a terminal device applying the switching method. Therefore, the terminal device can simplify and automatically implement switching of connection of DHCP (dynamic host configuration protocol) servers. Switching process is simplified, and accordingly the terminal device can better meet the requirements of a user for seeking an excellent network path.
Description
Technical field
The invention belongs to the communication network technology field, relate in particular to a kind of changing method and terminal equipment of the webserver.
Background technology
Development along with society, network becomes all the more people and obtains the indispensable instrument of external information, the network egress of family or office space is more and more, may connect the network egress (such as router) of several DHCP of having (Dynamic Host Configure Protocol DHCP) service in the same local area network (LAN), also just say in user's the network environment at terminal equipment place, may there be simultaneously several Dynamic Host Configuration Protocol server, terminal equipment is realized the mutual of information in the middle of can just can being connected to other networks by one of them of this several Dynamic Host Configuration Protocol server, when yet terminal equipment is enabled dhcp client at access network, the Dynamic Host Configuration Protocol server that connects is unordered, terminal equipment connects corresponding Dynamic Host Configuration Protocol server according to the sequencing of Query Result, that is: which is found first which just connects, work as so the demand that the accessed IP address of user and network egress can not provide the network service of high-quality for the user better or can't satisfy the user fully, at this moment, because lease does not expire, if the user wants again to obtain new IP address, so again, the address that obtains remains that current Dynamic Host Configuration Protocol server distributes, the user can't realize switching that Dynamic Host Configuration Protocol server is connected by operation terminal device, and in the prior art, solve the switching problem that this type of connects Dynamic Host Configuration Protocol server, usually be to arrange to realize by manual change static IP, complex operation so not only, and very high to user's specialized capability requirement, so that the universal scope of this changing method is very limited.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of changing method and terminal equipment of the webserver, the switching that can make terminal equipment simplify and automatically realize Dynamic Host Configuration Protocol server is connected.
The embodiment of the invention is achieved in that the changing method of the webserver, may further comprise the steps:
101, the built-in list of identification information corresponding with each webserver of the network terminal;
102, the described list of identification information of network terminal poll, obtain the one other identification information not identical with the identification information of current network server, discharge itself and being connected of current network server, and the connection of the corresponding webserver of newly-built and described one other identification information.
The changing method of the described webserver, step 101 also comprises: the described network terminal when starting, each webserver in its place network of automatic scan, and obtain corresponding identification information.
The changing method of the described webserver, step 102 also comprises: when the network terminal discharges it with being connected of current network server, the sign of replying in the identification information that will be corresponding with the current network server is set to the sign that rejects response, with refusal replying the current network server.
The changing method of the described webserver, step 102 also comprises: the residue of described list of identification information is replied sign and all is set to when sign of rejecing response, will be described all reply the sign Change All and reply sign for reception.
The changing method of the described webserver, described identification information comprises: IP address information and the mac address information of the webserver.
The embodiment of the invention provides a kind of network terminal of using described method for solving this technical problem, comprising:
The memory module that is used for the storage list of identification information corresponding with each webserver;
Be used for inquiring about and obtaining the enquiry module of described identification information;
And for the change module of changing the list of identification information identification information.
The described network terminal is Web TV.
The embodiment of the invention is by the list of identification information of relevant Dynamic Host Configuration Protocol server in the storage network in terminal equipment, when the user need to be switched Dynamic Host Configuration Protocol server, the described list of identification information of terminal equipment autopolling, find out another Dynamic Host Configuration Protocol server that the identification information not identical with the identification information of current Dynamic Host Configuration Protocol server refer to and set up and being connected of this another Dynamic Host Configuration Protocol server, thereby reality is to the switching of Dynamic Host Configuration Protocol server, simplified the process of switching, made terminal equipment can better satisfy the user to seeking the demand of high-quality network path.
Description of drawings
Fig. 1 is the network environment schematic diagram of using the embodiment of the invention;
Fig. 2 is list of identification information schematic diagram one in the embodiment of the invention;
Fig. 3 is list of identification information schematic diagram two in the embodiment of the invention;
Fig. 4 is the switching flow figure of Dynamic Host Configuration Protocol server in the embodiment of the invention;
Fig. 5 is the network terminal structural representation that the embodiment of the invention provides.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, 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, is not intended to limit the present invention.
The embodiment of the invention is by the list of identification information of relevant Dynamic Host Configuration Protocol server in the storage network in terminal equipment, when the user need to be switched Dynamic Host Configuration Protocol server, the described list of identification information of terminal equipment autopolling, find out another Dynamic Host Configuration Protocol server that the identification information not identical with the identification information of current Dynamic Host Configuration Protocol server refer to and set up and being connected of this another Dynamic Host Configuration Protocol server, thereby reality is to the switching of Dynamic Host Configuration Protocol server, simplified the process of switching, made terminal equipment can better satisfy the user to seeking the demand of high-quality network path.
Below in conjunction with specific embodiment specific implementation of the present invention is described in detail:
Fig. 1 shows the network environment schematic diagram that the embodiment of the invention provides, intelligent television is as in the network terminal access lan network, can be by one of them and outer net realization internet transmission of three Dynamic Host Configuration Protocol server, each Dynamic Host Configuration Protocol server has the identification informations such as corresponding IP address information and mac address information, realize that the embodiment of the invention is to the automatic switchover of Dynamic Host Configuration Protocol server, need to be in the inner built-in list of identification information corresponding with each webserver of intelligent television, can be that intelligent television obtains by each Dynamic Host Configuration Protocol server that scans the place network, also can be that mode by artificial input obtains, this list of identification information schematic diagram is seen Fig. 2, the identification information that each Dynamic Host Configuration Protocol server is corresponding (dhcpserver.ini configuration file) comprises the sequence of this server, MAC Address, IP address and reply sign, in this tabulation, be shown as when no when replying sign, the expression intelligent television receives the acknowledges requests of Dynamic Host Configuration Protocol server, if replying sign is shown as when being, expression intelligent television refusal is to the acknowledges requests of this Dynamic Host Configuration Protocol server, that is, this replys sign and can be modified, see Fig. 3, to be modified be yes to the sign of replying of first Dynamic Host Configuration Protocol server, ignores replying first Dynamic Host Configuration Protocol server when being illustrated in intelligent television poll list of identification information.
For setting forth better the changing method of the webserver that the embodiment of the invention provides, be specifically described as an example of Fig. 4 example:
1, Web TV start;
2, select network settings, and in the IP configuration, select DHCP automatic acquisition option;
3, the Dynamic Host Configuration Protocol server that exists in dhcp client (network terminal) the automatic scan network, the identification information with each Dynamic Host Configuration Protocol server (comprising: 1, Dynamic Host Configuration Protocol server sequence (configuration file assignment) one by one; 2, DHCP SERVER MAC Address; 3, DHCP SERVER IP address) obtain, formation list of identification information (dhcpserver.ini configuration file) also is stored in wherein;
4, dhcp client obtains the IP address that first DHCP SERVER distributes;
5, when the user need to obtain another DHCP SERVER distribution address again, again click automatic acquisition, Web TV empties the lease of current IP address, discharge the current IP address that got access to, and in list of identification information, will whether reject and reply item and be set to "Yes", i.e. identification information is replied in change;
6, rescan Dynamic Host Configuration Protocol server, and transmission dhcp client request, when will whether rejecting to list of identification information reply a server that item is set to "Yes" and send when replying, the response message of the Dynamic Host Configuration Protocol server that rejection is labeled, the response message of the next Dynamic Host Configuration Protocol server of continuation poll;
7, obtain the IP address of getting the Dynamic Host Configuration Protocol server distribution that is not labeled in the network, set up dhcp client and be connected with the new of this Dynamic Host Configuration Protocol server, finish the handoff procedure to DHCP;
If DHCP SERVER all in 8 networks is polled, with whether rejecting in the list of identification information reply item and all be set to "No" so, prepare for switch next time, thereby the network terminal can be circulated to the switching of Dynamic Host Configuration Protocol server.
Here the embodiment of the invention adopts a kind of Dynamic Host Configuration Protocol server that current network exists that scans, the IP address of the Dynamic Host Configuration Protocol server that the current network of finding is all and MAC Address exist in the configuration file, when the user needs to redistribute to select the high-quality network path according to demand, poll is carried out in tabulation according to Dynamic Host Configuration Protocol server in the configuration file, automatically ignore replying of current Dynamic Host Configuration Protocol server, like this network terminal just can obtain the IP address that next Dynamic Host Configuration Protocol server distributes very easily, realizes the switching to Dynamic Host Configuration Protocol server.
For the network terminal that the embodiment of the invention is provided can be realized above-mentioned changing method to the webserver, the network terminal that the embodiment of the invention provides comprises, is used for the memory module of the storage list of identification information corresponding with each webserver; Be used for inquiring about and obtaining the enquiry module of described identification information; And for the change module of changing the list of identification information identification information.These modules are set in the network terminal will simplify the process of switching so that above-mentioned changing method is achieved, and makes terminal equipment can better satisfy the user to seeking the demand of high-quality network path.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (8)
1. the changing method of the webserver is characterized in that, may further comprise the steps:
101, the built-in list of identification information corresponding with each webserver of the network terminal;
102, the described list of identification information of network terminal poll, obtain the one other identification information not identical with the identification information of current network server, discharge itself and being connected of current network server, and the connection of the corresponding webserver of newly-built and described one other identification information.
2. the changing method of the webserver as claimed in claim 1 is characterized in that, step 101 also comprises: the described network terminal when starting, each webserver in its place network of automatic scan, and obtain corresponding identification information.
3. the changing method of the webserver as claimed in claim 1, it is characterized in that, step 102 also comprises: when the network terminal discharges it with being connected of current network server, the sign of replying in the identification information that will be corresponding with the current network server is set to the sign that rejects response, with refusal replying the current network server.
4. the changing method of the webserver as claimed in claim 3, it is characterized in that, step 102 also comprises: the residue of described list of identification information is replied sign and all is set to when sign of rejecing response, will be described all reply the sign Change All and reply sign for reception.
5. such as the changing method of the arbitrary described webserver of claim 1 to 4, it is characterized in that, described identification information comprises: IP address information and the mac address information of the webserver.
6. such as the changing method of the arbitrary described webserver of claim 1 to 4, it is characterized in that, the described webserver is Dynamic Host Configuration Protocol server.
7. use the network terminal such as the described method of claim 1 to 4, it is characterized in that, comprising:
The memory module that is used for the storage list of identification information corresponding with each webserver;
Be used for inquiring about and obtaining the enquiry module of described identification information;
And for the change module of changing the list of identification information identification information.
8. the network terminal as claimed in claim 7 is characterized in that, the described network terminal is Web TV.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011102362200A CN102957615A (en) | 2011-08-17 | 2011-08-17 | Switching method of network servers and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011102362200A CN102957615A (en) | 2011-08-17 | 2011-08-17 | Switching method of network servers and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102957615A true CN102957615A (en) | 2013-03-06 |
Family
ID=47765865
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011102362200A Pending CN102957615A (en) | 2011-08-17 | 2011-08-17 | Switching method of network servers and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102957615A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020099814A1 (en) * | 2001-01-24 | 2002-07-25 | International Business Machines Corporation | Method and apparatus for providing automatic discovery of network protocols, configurations and resources |
CN1438789A (en) * | 2002-02-10 | 2003-08-27 | 华为技术有限公司 | Method for swhiching over between swith-in points moving terminal in winefree local network |
CN1521972A (en) * | 2003-01-28 | 2004-08-18 | 华为技术有限公司 | A method for realizing controlling access terminal switching between different networks |
CN1522001A (en) * | 2003-01-28 | 2004-08-18 | 华为技术有限公司 | An implement method for controlling user terminal switching between different networks |
CN101668322A (en) * | 2009-09-17 | 2010-03-10 | 深圳华为通信技术有限公司 | Network switching method of terminal and terminal equipment |
-
2011
- 2011-08-17 CN CN2011102362200A patent/CN102957615A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020099814A1 (en) * | 2001-01-24 | 2002-07-25 | International Business Machines Corporation | Method and apparatus for providing automatic discovery of network protocols, configurations and resources |
CN1438789A (en) * | 2002-02-10 | 2003-08-27 | 华为技术有限公司 | Method for swhiching over between swith-in points moving terminal in winefree local network |
CN1521972A (en) * | 2003-01-28 | 2004-08-18 | 华为技术有限公司 | A method for realizing controlling access terminal switching between different networks |
CN1522001A (en) * | 2003-01-28 | 2004-08-18 | 华为技术有限公司 | An implement method for controlling user terminal switching between different networks |
CN101668322A (en) * | 2009-09-17 | 2010-03-10 | 深圳华为通信技术有限公司 | Network switching method of terminal and terminal equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106878923B (en) | Quick networking method for ultra-low power consumption intelligent equipment and intelligent home system | |
CN104980993B (en) | Network access method, mobile communication terminal, network server and network access system | |
EP3327992B1 (en) | Method of selecting network slice and system utilizing same | |
KR101702606B1 (en) | Method, device, and system for registering and discovering service | |
CN102307374B (en) | The changing method of Web TV wireless network | |
CN109996260B (en) | Configuration system, client device, embedded device configuration method and storage medium | |
CN101600001B (en) | Method and device for acquiring configuration information based on dynamic host configuration protocol | |
CN104902532A (en) | A method and system for automatically accessing wireless local area network | |
CN110752975B (en) | Network sharing method and device | |
CN101378347B (en) | Method for managing terminal roaming and multi-scene | |
EP2506498B1 (en) | Provisioning device, and method of setting network parameter in provisioning network | |
US20100157897A1 (en) | Mobile gateway apparatus and method of connecting ip based services using the same | |
CN105827443A (en) | Network device discovery method and device | |
CN106255089A (en) | A kind of method and apparatus of radio three layer roaming | |
CN105959188B (en) | Method and device for controlling user terminal to be on-line | |
CN107509176A (en) | Method for building up and device, the computer-readable storage medium of a kind of group | |
CN103259671B (en) | The method of automatic logging in chat room, device, electronic equipment and chat room server | |
KR100911284B1 (en) | Network connection apparatus, connection system, and network connection method | |
US20220158909A1 (en) | Hostname based management of features of a network device | |
US9585026B2 (en) | Method, apparatus and system for secondary system registering in database | |
CN104869665A (en) | Network connection control method, router and mobile equipment | |
CN108024306B (en) | TCP connection management method and gateway equipment | |
CN104581977B (en) | WLAN user management method, apparatus and system | |
CN108471440A (en) | A kind of digital intercom method and system | |
CN102685732A (en) | Method, terminal and system for connecting shake message terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130306 |
|
RJ01 | Rejection of invention patent application after publication |