Summary of the invention
The changing method that the purpose of this invention is to provide a kind of Web TV wireless network, the technical problem that solve are to reduce the complexity that Web TV obtains wireless network operations, are convenient for people to use.
The present invention adopts following technical scheme: a kind of changing method of Web TV wireless network may further comprise the steps:
One, Web TV start;
Two, the user clicks network settings, starts WLAN (WLAN) network settings module;
Three, processor starts wireless network card, the WAP (wireless access point) (AP) of search current region;
Four, wlan network is provided with module the WAP (wireless access point) (AP) that searches and cipher mode is shown through the display unit of Web TV;
Five, the user selects WAP (wireless access point); Processor is configured selected wireless access dot information; Get into configuration interface; Manual configuration; Said WAP (wireless access point) information comprises WAP (wireless access point) title, SSID (service set), cipher mode, password, MAC Address and IP address, these information are generated radio configuration files and is kept in the memory cell;
Six, processor is opened WLAN DHCP (DynamicHost is provided with agreement) client; The WLAN dhcp client obtains wireless SSID and cipher mode and sends the request that the WLAN dhcp client obtains the network ip address of this Dynamic Host Configuration Protocol server distribution to this first Dynamic Host Configuration Protocol server through being arranged in the Dynamic Host Configuration Protocol server of the first WAP (wireless access point) in the user-selected WAP (wireless access point) of wireless network card scanning;
Seven, after Dynamic Host Configuration Protocol server receives this request, to WLAN dhcp client distribution network IP address;
Eight, the user changes wireless network;
Nine, processor putting in order according to the radio configuration file; On display unit, inquire the WAP (wireless access point) in the radio configuration file in order successively; Whether the processor judges changes WAP (wireless access point); Be then to get into next step, whether change wireless network otherwise continue the inquiry user in order;
Ten, processor sends to the WLAN dhcp client and changes the wireless network order, after the WLAN dhcp client receives order, cancels the network ip address of the Dynamic Host Configuration Protocol server distribution of the current WAP (wireless access point) that has obtained, and wireless network card interrupts wireless network;
11, the wireless access dot information that need change of the processor user that provides processor to send to the WLAN dhcp client; The WLAN dhcp client rescans the Dynamic Host Configuration Protocol server of the WAP (wireless access point) that the user need change through wireless network card, and sends the request that the WLAN dhcp client obtains the network ip address that this Dynamic Host Configuration Protocol server distributes to this Dynamic Host Configuration Protocol server;
12, after Dynamic Host Configuration Protocol server receives request, to WLAN dhcp client distribution network IP address.
WAP (wireless access point) information of the present invention comprises WAP (wireless access point) title, SSID (service set), cipher mode, password, MAC Address and IP address.
Radio configuration file of the present invention adopts the form of tabulation to arrange.
The present invention compared with prior art; The server info of the wireless Dynamic Host Configuration Protocol server that employing is all with the current network of being found; And information is kept in the configuration file that is stored in the memory; When the user keeps thinking about when redistributing; Processor is taken turns inquiry according to the server info in the configuration file; Automatically the Dynamic Host Configuration Protocol server of ignoring current connection; Make the user can obtain next Dynamic Host Configuration Protocol server institute IP address allocated easily; Reduce the television set operation complexity, be convenient for people to use.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is done further explain.
As shown in Figure 1; Web TV wireless network dhcp client of the present invention switches the network environment sketch map of Dynamic Host Configuration Protocol server; Said Web TV obtains all Dynamic Host Configuration Protocol server in the current network through wireless network card; And with the WLAN title of all Dynamic Host Configuration Protocol server; SSID (service set); Encrypting and authenticating; MAC Address and IP address are kept in the network profile that is stored in the Web TV memory; When user's click is redistributed; Dhcp client carries out poll according to the tabulation of Dynamic Host Configuration Protocol server in the configuration file; Ignore the current Dynamic Host Configuration Protocol server that has connected, dhcp client just can obtain next Dynamic Host Configuration Protocol server institute IP address allocated.
Shown in 2, the changing method of Web TV wireless network of the present invention may further comprise the steps: one, Web TV start; Two, the user clicks network settings, starts wlan network module is set; Three, processor starts wireless network card, the wireless access point AP of search current region; Four, wlan network is provided with module the wireless access point AP that searches and cipher mode is shown through the display unit of Web TV; Five, the user selects WAP (wireless access point); Processor is configured selected wireless access dot information; Get into configuration interface; Manual configuration; Said WAP (wireless access point) information comprises WAP (wireless access point) title, SSID (service set), cipher mode, password, MAC Address and IP address, these information are generated radio configuration files and is kept in the memory cell; Six, processor is opened the WLAN dhcp client; The WLAN dhcp client obtains wireless SSID and cipher mode and sends the request that the WLAN dhcp client obtains the network ip address of this Dynamic Host Configuration Protocol server distribution to this first Dynamic Host Configuration Protocol server through being arranged in the Dynamic Host Configuration Protocol server of the first WAP (wireless access point) in the user-selected WAP (wireless access point) of wireless network card scanning; Seven, after Dynamic Host Configuration Protocol server receives this request, to WLAN dhcp client distribution network IP address; Eight, the user changes wireless network; Nine, processor putting in order according to the radio configuration file; On display unit, inquire the WAP (wireless access point) in the radio configuration file in order successively; Whether the processor judges changes WAP (wireless access point); Be then to get into next step, whether change wireless network otherwise continue the inquiry user in order; Ten, processor sends to the WLANDHCP client and changes the wireless network order, after the WLAN dhcp client receives order, cancels the network ip address that the current Dynamic Host Configuration Protocol server that has obtained distributes, and wireless network card interrupts wireless network; 11, the wireless access dot information that need change of the processor user that provides processor to send to the WLAN dhcp client; The WLAN dhcp client rescans the Dynamic Host Configuration Protocol server of the WAP (wireless access point) that the user need change through wireless network card, and sends the request that the WLAN dhcp client obtains the network ip address that this Dynamic Host Configuration Protocol server distributes to this Dynamic Host Configuration Protocol server; 12, after Dynamic Host Configuration Protocol server receives request, to WLAN dhcp client distribution network IP address.
Radio configuration file of the present invention adopts the form of tabulation to arrange.
Wireless network communication agreement of the present invention adopts 802.11 standard communications protocol.