Summary of the invention
The object of this invention is to provide a kind of changing method of Web TV wireless network, the technology that solve is askedTopic is the complexity that reduction Web TV obtains wireless network operations, is convenient for people to use.
The present invention is by the following technical solutions: a kind of changing method of Web TV wireless network, comprises followingStep:
One, Web TV start;
Two, user clicks network settings, starts WLAN (WLAN) network settings module;
Three, processor starts wireless network card, the WAP (AP) of search current region;
Four, wlan network arrange module by the WAP searching (AP) and cipher mode through networkThe display unit of TV shows;
Five, user selects WAP, and processor is configured selected wireless access dot information,Enter configuration interface, manual configuration, described WAP information comprises WAP title, SSID (clothesBusiness set identifier), cipher mode, password, MAC Address and IP address, by these Information generation radio configurationFile is also kept in memory cell;
Six, processor is opened WLANDHCP (DynamicHost arranges agreement) client, WLANDHCPClient is scanned and in user-selected WAP, is arranged in the first WAP by wireless network cardDynamic Host Configuration Protocol server, obtain wireless SSID and cipher mode and send out to this first Dynamic Host Configuration Protocol serverSend WLANDHCP client to obtain the request of the network ip address of this Dynamic Host Configuration Protocol server distribution;
Seven, Dynamic Host Configuration Protocol server receives after this request, to WLANDHCP client distribution network IP groundLocation;
Eight, user changes wireless network;
Nine, processor, according to the putting in order of radio configuration file, is ask in order successively on display unitAsk the WAP in radio configuration file, processor judges whether user changes WAP, isEnter next step, whether change wireless network otherwise continue in order inquiry user;
Ten, processor sends and changes wireless network order, WLANDHCP to WLANDHCP clientClient to order after, cancel the current WAP having obtained Dynamic Host Configuration Protocol server distributeNetwork ip address, wireless network card interrupts wireless network;
11, processor provides user that processor sends to change to WLANDHCP clientWireless access dot information, WLANDHCP client rescans by wireless network card that user need to changeThe Dynamic Host Configuration Protocol server of WAP, and obtain to this Dynamic Host Configuration Protocol server transmission WLANDHCP clientThe request of the network ip address of must this Dynamic Host Configuration Protocol server distributing;
12, Dynamic Host Configuration Protocol server receives after request, to WLANDHCP client distribution network IP groundLocation.
WAP information of the present invention comprise WAP title, SSID (service set),Cipher mode, password, MAC Address and IP address.
Radio configuration file of the present invention adopts the form of list to arrange.
The present invention compared with prior art, adopts wireless DHCP services all found current networkThe server info of device, and information is kept in a configuration file being stored in memory, user worked asKeep thinking about while redistributing, processor is taken turns inquiry according to the server info in configuration file, automatically ignoresThe Dynamic Host Configuration Protocol server of current connection, makes user to obtain easily next Dynamic Host Configuration Protocol server and dividesThe IP address of joining, reduces the complexity that television set operates, and is convenient for people to use.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention is described in further detail.
As shown in Figure 1, Web TV wireless network dhcp client of the present invention switches Dynamic Host Configuration Protocol serverNetwork environment schematic diagram, described Web TV obtains all DHCP in current network by wireless network cardServer, and by the WLAN title of all Dynamic Host Configuration Protocol server, SSID (service set), encryptionCertification, MAC Address and IP address are kept at the network profile being stored in Web TV memoryIn, when user clicks while redistributing, dhcp client is according to Dynamic Host Configuration Protocol server in configuration filePoll is carried out in list, ignores the current Dynamic Host Configuration Protocol server having connected, and dhcp client just can obtainThe IP address that next Dynamic Host Configuration Protocol server distributes.
As shown in 2, the changing method of Web TV wireless network of the present invention, comprises the following steps: one,Web TV start; Two, user clicks network settings, starts wlan network module is set; Three, processDevice starts wireless network card, the wireless access point AP of search current region; Four, wlan network arranges module generalThe wireless access point AP searching and cipher mode show through the display unit of Web TV; Five, user selectsWAP, processor is configured selected wireless access dot information, enters configuration interface, handMoving configuration, described WAP information comprises WAP title, SSID (service set), encryptsMode, password, MAC Address and IP address, by these Information generation radio configuration files and be kept at storageIn unit; Six, processor is opened WLANDHCP client, and WLANDHCP client is by wirelessNetwork interface card scans the Dynamic Host Configuration Protocol server that is arranged in the first WAP in user-selected WAP,Obtain wireless SSID and cipher mode and send WLANDHCP visitor to this first Dynamic Host Configuration Protocol serverFamily end obtains the request of the network ip address of this Dynamic Host Configuration Protocol server distribution; Seven, Dynamic Host Configuration Protocol server receivesAfter this request, to WLANDHCP client distribution network IP address; Eight, user changes wireless network;Nine, processor, according to the putting in order of radio configuration file, is inquired nothing in order successively on display unitWAP in line configuration file, processor judges whether user changes WAP, is to enterWhether next step, change wireless network otherwise continue in order inquiry user; Ten, processor is to WLANDhcp client sends changes wireless network order, and WLANDHCP client, after order, is removedSell the network ip address that the current Dynamic Host Configuration Protocol server having obtained distributes, wireless network card interrupts wireless network;11, processor provides to WLANDHCP client wireless that user that processor sends need to changeAccess-in point information, WLANDHCP client rescans by wireless network card wireless that user need to changeThe Dynamic Host Configuration Protocol server of access point, and obtain and be somebody's turn to do to this Dynamic Host Configuration Protocol server transmission WLANDHCP clientThe request of the network ip address that Dynamic Host Configuration Protocol server distributes; 12, Dynamic Host Configuration Protocol server receives after request,To WLANDHCP client distribution network IP address.
Radio configuration file of the present invention adopts the form of list to arrange.
Wireless network communication agreement of the present invention adopts 802.11 standard communications protocol.