CN103974386A - Set top box and method for realizing wireless AP (access point) sharing thereof - Google Patents

Set top box and method for realizing wireless AP (access point) sharing thereof Download PDF

Info

Publication number
CN103974386A
CN103974386A CN201410233200.1A CN201410233200A CN103974386A CN 103974386 A CN103974386 A CN 103974386A CN 201410233200 A CN201410233200 A CN 201410233200A CN 103974386 A CN103974386 A CN 103974386A
Authority
CN
China
Prior art keywords
wireless
top box
set top
program module
access point
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
Application number
CN201410233200.1A
Other languages
Chinese (zh)
Inventor
李超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZHUHAI GOTECH ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
ZHUHAI GOTECH ELECTRONIC TECHNOLOGY Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZHUHAI GOTECH ELECTRONIC TECHNOLOGY Co Ltd filed Critical ZHUHAI GOTECH ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN201410233200.1A priority Critical patent/CN103974386A/en
Publication of CN103974386A publication Critical patent/CN103974386A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a set top box and a method for realizing wireless AP (access point) sharing thereof. The method comprises the following steps: firstly, adding a wireless AP program module and a wireless local area network card into an intermediate layer of the set top box; then, with the wireless AP program module as an AP authentication server, controlling and managing access and authentication of a wireless terminal; and finally, switching the mode of the wireless local area network card to an AP mode by the wireless AP program module, carrying out parameter configuration, and driving network hardwire equipment to connect a network to provide wireless AP signals so as to establish an open type wireless network and realize wireless AP sharing. The set top box completely substitutes for a household router, a user can directly connect the wireless network by the set top box, and therefore, resources of the set top box with the network function are sufficiently utilized to the greatest extent; moreover, any equipment is not needed and no wiring is carried out, so that a wireless network structure is simplified, and the set top box is simple and convenient to install and use.

Description

A kind ofly realize method and the Set Top Box that Set Top Box wireless aps is shared
Technical field
The invention belongs to set-top box technique field, relate in particular to a kind of method and Set Top Box that Set Top Box wireless aps is shared that realize.
Background technology
WLAN, is the product that computer network combines with wireless communication technology, and WLAN has utilized a kind of effective method of wireless multiple access channel to support the communication between computer, for mobile, personalization and the multimedia application of communication provide possibility.
Along with the appearance of intelligent mobile terminal product (as smart mobile phone, panel computer), make WLAN gradually drop into the use of every household, but with time all must home wireless router be installed and realize the AP access point of WLAN, both increased expense, wiring, wiring again, install and use trouble, inconvenience.And, Set Top Box (Set Top Box the is called for short STB) major part that every household uses now has band network function, and be all the intelligent operating system adopting based on android OS, this intelligent operating system is compatible mutually with the operating system such as android OS and iOS that aforementioned intelligent mobile terminal carries; But the network function resource of these Set Top Box is never fully utilized, and has caused the waste of resource.
Summary of the invention
For solving the above-mentioned problems in the prior art, the invention provides and a kind of in band network function Set Top Box, realize wireless aps and share, make user can directly pass through Set Top Box connecting wireless network, allow the resource of Set Top Box obtain sufficient maximized utilization, and simplify the structure of wireless network, installed and used and realize simply and easily method and the Set Top Box that Set Top Box wireless aps is shared.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
A kind ofly realize the method that Set Top Box wireless aps is shared, first increase WAP (wireless access point) program module and wireless network card in the intermediate layer of Set Top Box, then the certificate server using WAP (wireless access point) program module as AP, the access of control and management wireless terminal and certification, finally by WAP (wireless access point) program module, wireless network card is switched to master pattern and carries out parameter configuration, and drive network hardware equipment that network is connected, wireless aps signal is provided, can set up an open wireless network, realize wireless aps and share.
Further, described " by WAP (wireless access point) program module, wireless network card switched to ap mode and carries out parameter configuration, and driving network hardware equipment that network is connected, wireless aps signal is provided ", specifically comprises the following steps:
A1. utilize the Wifi detection function in WAP (wireless access point) program module to carry out initialization detection to wireless network card in Set Top Box;
A2. when testing result is carried out the parameter setting of AP to wireless network card while being correct, otherwise restart wireless network card, and the initialization that re-starts wireless network card detects;
A3. detect and judge parameter configuration legitimacy, and legal parameters is saved as to configuration file and store in flash;
A4. the legal parameters of wireless network card is loaded and is configured in the interface initialization of hostapd principal function of WAP (wireless access point) program module;
A5. start WAP (wireless access point) program module, open wireless is encrypted, and wireless aps signal is provided.
There is the Set Top Box that wireless aps is shared, include:
Application layer, main coordinates user interactive portion,, is controlled the startup of this function/close, and data is imported into intermediate layer and preserved application layer software operation by user;
Intermediate layer, comprise WAP (wireless access point) program module, mainly use the mid portion structure that WAP (wireless access point) program module provides, the data of application layer being imported into by the procotol of enrolling are processed, wireless aps is encrypted, call the content that drives layer, and process lower one deck return data, realize two-way control;
Drive layer, the driver of required network device hardware is provided;
And network hardware equipment layer, described network hardware equipment layer includes Ethernet interface for being connected with external the Internet and for sending the wireless network card of wireless aps signal;
And application layer, intermediate layer, driving layer successively mutually communication connect.
The invention has the beneficial effects as follows:
The present invention passes through technique scheme, can realize the soft AP sharing function of WLAN on network function Set Top Box, substitute home router completely, make user can directly pass through Set Top Box connecting wireless network, allow the existing resource with network function Set Top Box obtain sufficient maximized utilization, can not cause the waste of resource, and without installing any equipment additional and carrying out any wiring, greatly simplify the structure of wireless network, installed and used simpler, more convenient.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of realizing the method that Set Top Box wireless aps shares of the present invention;
Fig. 2 is the schematic flow sheet that a kind of realize in the method that Set Top Box wireless aps shares of the present invention " switched to wireless network card ap mode and carry out parameter configuration by WAP (wireless access point) program module; and drive network hardware equipment that network is connected, wireless aps signal is provided ";
Fig. 3 is a kind of structural principle schematic block diagram of realizing the Set Top Box embodiment that wireless aps shares of the present invention.
Embodiment
In order to make object 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.
As shown in Figures 1 and 2,
Described in the embodiment of the present invention, realize the method that Set Top Box wireless aps is shared, comprise the following steps:
Steps A. the intermediate layer in Set Top Box increases WAP (wireless access point) program module and wireless network card.
The certificate server of step B. using WAP (wireless access point) program module as AP, access and the certification of control and management wireless terminal mobile phone or the panel computer of wireless Wifi function (as have) (comprise authentication, encryption function, processing variety of event etc.)。
Step C. switches to master pattern (the soft AP conventionally saying, simulation AP function by WAP (wireless access point) program module by wireless network card.) and carry out parameter configuration and (if comprise frequency, signal, the beacon bag time interval, whether send beacon bag response probe request, and mac address filtering condition etc. is set.), and drive network hardware equipment that network is connected, and wireless aps signal is provided, can set up an open wireless network, realize wireless aps and share.
Wherein, described " by WAP (wireless access point) program module, wireless network card switched to ap mode and carries out parameter configuration, and driving network hardware equipment that network is connected, wireless aps signal is provided ", specifically comprises the following steps:
Step C1. utilizes the Wifi detection function in WAP (wireless access point) program module to carry out initialization detection to wireless network card in Set Top Box.
Step C2. carries out AP(focus to wireless network card while being correct when testing result) parameter setting, otherwise restart wireless network card, and the initialization that re-starts wireless network card detects.
Step C3. detects and judges parameter configuration legitimacy, and legal parameters is saved as to configuration file and stores in flash.
Step C4. loads the legal parameters of wireless network card to be configured in the interface initialization of hostapd principal function of WAP (wireless access point) program module.
Step C5. starts WAP (wireless access point) program module, and open wireless is encrypted, and wireless aps signal is provided.
As shown in Figure 3, a kind of Set Top Box that realizes above-mentioned wireless aps sharing method, includes application layer 1, intermediate layer 2, drives layer 3 and network hardware equipment layer 4, and application layer 1, intermediate layer 2, drive layer 3 successively mutually communication connect.
Wherein, the main coordinates user interactive portion of described application layer 1,, is controlled the startup of this function/close, and data is imported into intermediate layer 2 and preserved application layer software operation by user.Described intermediate layer 2 comprises WAP (wireless access point) program module 21, the hostapd that described WAP (wireless access point) program module 21 is provided by open source linux Wireless builds, mainly use the mid portion structure that WAP (wireless access point) program module 21 provides, the data of application layer 1 being imported into by the procotol of enrolling are processed, wireless aps is encrypted, call the content that drives layer 3, and process lower one deck return data, realize two-way control.The described driver that drives layer 3 to be mainly to provide required network device hardware., described network hardware equipment layer 4 includes Ethernet interface 5 for being connected with external the Internet and for sending the wireless network card 6 of wireless aps signal.
Like this, can realize the soft AP sharing function of WLAN on network function Set Top Box by the present invention, substitute home router completely, make user can directly pass through Set Top Box connecting wireless network, allow the existing resource with network function Set Top Box obtain sufficient maximized utilization, can not cause the waste of resource, and without installing any equipment additional and carrying out any wiring, greatly simplify the structure of wireless network, installed and used simpler, more convenient.
In addition, for the user who is freely connected on Set Top Box AP by other deciphering approach after wireless aps is opened processes, in described WAP (wireless access point) program module 21, being also provided with user profile extraction module (does not show in figure, this user profile extraction module is identical with existing common user profile extraction module, no longer describes in detail at this.), to facilitate the user who checks that certification is accessed, realize and judge whether safety encipher of wireless network, if the access of discovery unknown device, can control access device be manually set by Set Top Box AP opening square and whether can use wireless network, effectively solve wireless network by the problem of rubbing.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications are also considered as protection scope of the present invention.

Claims (3)

1. realize the method that Set Top Box wireless aps is shared for one kind, it is characterized in that, first increase WAP (wireless access point) program module and wireless network card in the intermediate layer of Set Top Box, then the certificate server using WAP (wireless access point) program module as AP, the access of control and management wireless terminal and certification, finally by WAP (wireless access point) program module, wireless network card is switched to master pattern and carries out parameter configuration, and drive network hardware equipment that network is connected, wireless aps signal is provided, can set up an open wireless network, realize wireless aps and share.
2. according to claim 1ly realize the method that Set Top Box wireless aps is shared, it is characterized in that, described " by WAP (wireless access point) program module, wireless network card is switched to ap mode and carries out parameter configuration; and drive network hardware equipment that network is connected; wireless aps signal is provided ", specifically comprise the following steps:
A1. utilize the Wifi detection function in WAP (wireless access point) program module to carry out initialization detection to wireless network card in Set Top Box;
A2. when testing result is carried out the parameter setting of AP to wireless network card while being correct, otherwise restart wireless network card, and the initialization that re-starts wireless network card detects;
A3. detect and judge parameter configuration legitimacy, and legal parameters is saved as to configuration file and store in flash;
A4. the legal parameters of wireless network card is loaded and is configured in the interface initialization of hostapd principal function of WAP (wireless access point) program module;
A5. start WAP (wireless access point) program module, open wireless is encrypted, and wireless aps signal is provided.
3. a Set Top Box, is characterized in that, includes:
Application layer (1), main coordinates user interactive portion,, is controlled the startup of this function/close, and data is imported into intermediate layer (2) and preserved application layer software operation by user;
Intermediate layer (2), comprise WAP (wireless access point) program module (21), mainly use the mid portion structure that WAP (wireless access point) program module (21) provides, the data of application layer (1) being imported into by the procotol of enrolling are processed, wireless aps is encrypted, call the content that drives layer (3), and process lower one deck return data, realize two-way control;
Drive layer (3), the driver of required network device hardware is provided;
And network hardware equipment layer (4), described network hardware equipment layer (4) includes Ethernet interface (5) for being connected with external the Internet and for sending the wireless network card (6) of wireless aps signal;
And application layer (1), intermediate layer (2), drive layer (3) successively mutually communication connect.
CN201410233200.1A 2014-05-29 2014-05-29 Set top box and method for realizing wireless AP (access point) sharing thereof Pending CN103974386A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410233200.1A CN103974386A (en) 2014-05-29 2014-05-29 Set top box and method for realizing wireless AP (access point) sharing thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410233200.1A CN103974386A (en) 2014-05-29 2014-05-29 Set top box and method for realizing wireless AP (access point) sharing thereof

Publications (1)

Publication Number Publication Date
CN103974386A true CN103974386A (en) 2014-08-06

Family

ID=51243300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410233200.1A Pending CN103974386A (en) 2014-05-29 2014-05-29 Set top box and method for realizing wireless AP (access point) sharing thereof

Country Status (1)

Country Link
CN (1) CN103974386A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168666A (en) * 2014-08-28 2014-11-26 四川长虹电器股份有限公司 WiFi remote control intelligent household appliance system and method
CN104540189A (en) * 2014-12-24 2015-04-22 北京奇虎科技有限公司 Method for providing wireless network access for mobile device through web device and web device
WO2016155501A1 (en) * 2015-03-27 2016-10-06 深圳市九洲电器有限公司 Advertising method and system based on set-top box
CN107395297A (en) * 2017-07-07 2017-11-24 广州视源电子科技股份有限公司 A kind of channel selecting method of Wi-Fi hotspot, system and storage medium
CN108111460A (en) * 2016-11-24 2018-06-01 飞天联合(北京)系统技术有限公司 A kind of user authen method and system
CN112533038A (en) * 2020-11-27 2021-03-19 卡莱特(深圳)云科技有限公司 Playing box wireless connection switching method and playing box capable of automatically switching wireless connection
CN112566286A (en) * 2019-09-26 2021-03-26 中兴通讯股份有限公司 Set top box AP mode realization method and device, set top box and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202285423U (en) * 2011-09-15 2012-06-27 广州视源电子科技有限公司 Intelligent set top box
CN202435534U (en) * 2011-12-23 2012-09-12 北京佳视互动科技股份有限公司 Set-top box with wireless routing function
CN102724575A (en) * 2012-04-20 2012-10-10 苏州汉辰数字科技有限公司 Method for implementing WiFi AP function on bidirectional digital set-top box by using USB WiFi module
CN102917475A (en) * 2012-09-04 2013-02-06 苏州汉辰数字科技有限公司 Wireless fidelity (WiFi) wireless access point surfing method based on digital set top box
US20130308493A1 (en) * 2012-05-18 2013-11-21 Gainspan Corporation Convenient provisioning of embedded devices with wifi capability

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202285423U (en) * 2011-09-15 2012-06-27 广州视源电子科技有限公司 Intelligent set top box
CN202435534U (en) * 2011-12-23 2012-09-12 北京佳视互动科技股份有限公司 Set-top box with wireless routing function
CN102724575A (en) * 2012-04-20 2012-10-10 苏州汉辰数字科技有限公司 Method for implementing WiFi AP function on bidirectional digital set-top box by using USB WiFi module
US20130308493A1 (en) * 2012-05-18 2013-11-21 Gainspan Corporation Convenient provisioning of embedded devices with wifi capability
CN102917475A (en) * 2012-09-04 2013-02-06 苏州汉辰数字科技有限公司 Wireless fidelity (WiFi) wireless access point surfing method based on digital set top box

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168666A (en) * 2014-08-28 2014-11-26 四川长虹电器股份有限公司 WiFi remote control intelligent household appliance system and method
CN104540189A (en) * 2014-12-24 2015-04-22 北京奇虎科技有限公司 Method for providing wireless network access for mobile device through web device and web device
CN104540189B (en) * 2014-12-24 2016-09-21 北京奇虎科技有限公司 Equipment for surfing the net provides method and the equipment for surfing the net of wireless network access for mobile device
WO2016155501A1 (en) * 2015-03-27 2016-10-06 深圳市九洲电器有限公司 Advertising method and system based on set-top box
CN108111460A (en) * 2016-11-24 2018-06-01 飞天联合(北京)系统技术有限公司 A kind of user authen method and system
CN107395297A (en) * 2017-07-07 2017-11-24 广州视源电子科技股份有限公司 A kind of channel selecting method of Wi-Fi hotspot, system and storage medium
CN112566286A (en) * 2019-09-26 2021-03-26 中兴通讯股份有限公司 Set top box AP mode realization method and device, set top box and storage medium
WO2021057718A1 (en) * 2019-09-26 2021-04-01 中兴通讯股份有限公司 Set-top box ap mode realization method and apparatus, set-top box and storage medium
CN112533038A (en) * 2020-11-27 2021-03-19 卡莱特(深圳)云科技有限公司 Playing box wireless connection switching method and playing box capable of automatically switching wireless connection

Similar Documents

Publication Publication Date Title
CN103974386A (en) Set top box and method for realizing wireless AP (access point) sharing thereof
US11089476B2 (en) Network access control method and apparatus
US10292027B2 (en) Zero-touch Wi-Fi
US9420461B2 (en) Access authentication method and device for wireless local area network hotspot
CN104301891A (en) Method and system for interconnecting intelligent device and WiFi router
JP6254747B2 (en) Information providing method, apparatus, program, and recording medium
CN104394051A (en) Intelligent home control system and intelligent home router
CN105682093A (en) Wireless network access method and access device, and client
CN103716795A (en) Wireless network safe access method, apparatus and system
WO2014101531A1 (en) Creating method and device for virtual base station
CN103916855A (en) Method for enabling mobile phone to be connected to WiFi network
CN103428696A (en) Virtual SIM card achieving method and system and relevant device
US8631232B2 (en) Wireless personal area network accessing method
CN105635084A (en) Apparatus and method for authenticating terminal
CN104093164A (en) Wireless network access control method and system thereof
CN104093147A (en) Automatic connection and authorization method for close-range WIFI
CN103164260B (en) Application management system and method for mobile terminal
CN101621527B (en) Method, system and device for realizing safety certificate based on Portal in VPN
WO2017012204A1 (en) Wireless connection method, terminal, wireless access point and computer storage medium
CN102185840B (en) A kind of authentication method, equipment and system
WO2018113113A1 (en) Double-system terminal wifi sharing method and device
WO2016086544A1 (en) Network interface configuration method and apparatus for network device and storage medium
CN109257634B (en) Set top box and communication method thereof
CN105516179B (en) A kind of data safe transmission system and method for guarding against intrusion from network
CN103796206B (en) Roaming method and communication system applied to traffic system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 519000 Guangdong city in Zhuhai Province town of Red Bay Area Yongda Road No. 66 No. 2 building

Applicant after: ZHUHAI MAIKE INTELLIGENT TECHNOLOGY CO., LTD.

Address before: 519000 Guangdong city in Zhuhai Province town of Red Bay Area Yongda Road No. 66

Applicant before: Zhuhai Gotech Electronic Technology Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: ZHUHAI GOTECH ELECTRONIC TECHNOLOGY CO., LTD. TO: ZHUHAI MAIKE INTELLIGENT TECHNOLOGY CO., LTD.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140806