CN103501527A - Automatic connection system based on wifi-direct - Google Patents

Automatic connection system based on wifi-direct Download PDF

Info

Publication number
CN103501527A
CN103501527A CN201310410039.6A CN201310410039A CN103501527A CN 103501527 A CN103501527 A CN 103501527A CN 201310410039 A CN201310410039 A CN 201310410039A CN 103501527 A CN103501527 A CN 103501527A
Authority
CN
China
Prior art keywords
wifi
registrar
direct
equipment
main process
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
CN201310410039.6A
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.)
Fuzhou Rockchip Electronics Co Ltd
Original Assignee
Fuzhou Rockchip Electronics 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 Fuzhou Rockchip Electronics Co Ltd filed Critical Fuzhou Rockchip Electronics Co Ltd
Priority to CN201310410039.6A priority Critical patent/CN103501527A/en
Publication of CN103501527A publication Critical patent/CN103501527A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides an automatic connection system based on wifi-direct. The automatic connection system comprises a host device, a slave device and a register server, and the host device is connected with the register server. The host device is used for receiving and storing an MAC address sent from the register server and detecting whether an MAC address of the slave device is stored or not when the slave device carries out wifi-direct connection, and the host device accepts connection of the slave device if the MAC address of the slave device is stored. The slave device is used for being connected with the host device or the register server. The register server is used for sending the MAC address of the slave device to the host device when the slave device is connected successfully. The automatic connection system achieves wifi-direct automatic connection on the slave device by the host device, relieves pressure of the host device when a large number of slave devices are connected, and solves the problem that network jam can happen easily when the slave devices are in wifi-direct connection with the host device.

Description

A kind of automatic connecting system based on wifi-direct
Technical field
The present invention relates to a kind of automatic connecting system based on wifi-direct.
Background technology
Wifi be a kind of can be by terminals such as PC, mobile devices (as PDA, mobile phone) with the interconnected technology of wireless mode.Mobile device (as the Android mobile phone with wifi) with wifi starts all to support the wifi-direct technology at present.The wifi-direct technology is the wifi direct-connecting technology, is in the situation that there is no router, realizes between wifi equipment realizing direct-connected technology.The main process equipment (we are referred to as GO:Group Owner) of a wifi-direct of this technical support, connecting many from machine equipment (we are referred to as GC:Group Client), and every equipment wishes to be connected into this network to be become from machine equipment, all must initiate authorization requests to main process equipment, eject prompting frame by main process equipment, after the user clicks " agreement " button, should could connect and enter from machine equipment.So just have so a kind of problem, when a large amount of mobile devices wish to add this network to become GC, the user of the equipment of GO just must click frequently so, and is very easy to cause network blockage, causes the equipment connected to go offline.
Summary of the invention
The technical problem to be solved in the present invention, be to provide a kind of automatic connecting system based on wifi-direct, solves the problem that a plurality of ease of connections of from machine equipment and main process equipment, carrying out wifi-direct cause network blockage.
The present invention is achieved in that
A kind of automatic connecting system based on wifi-direct, comprise main process equipment, from machine equipment, and registrar, described main process equipment is connected with registrar, wherein:
The MAC Address that main process equipment sends for receiving and store registrar, and, when carrying out the wifi-direct connection from machine equipment, detect whether store the described MAC Address from machine equipment, if having accept the connection from machine equipment;
Be used for connecting main process equipment or registrar from machine equipment;
Registrar, for when successfully connecting from machine equipment, will send to main process equipment from the MAC Address of machine equipment.
Further, describedly carry out from machine equipment and main process equipment the concrete steps that wifi-direct is connected and be: first with registrar is connected be connected with main process equipment again.
Further, main process equipment, carrying out wifi-direct from machine equipment while connecting, detects whether store the described MAC Address from machine equipment, if not refuse the connection from machine equipment.
Further, main process equipment, carrying out wifi-direct from machine equipment while connecting, detects whether store the described MAC Address from machine equipment, if not point out the connection request of the described equipment of user.
Further, described registrar with from machine equipment be connected to the wifi encryption connection, describedly need to input correct encryption key from machine equipment and could successfully be connected with registrar.
Further, described main process equipment is connected to wifi-direct with registrar and is connected.
Further, described registrar comprises the first wireless network card and the second wireless network card, the first wireless network card is operated under the Soft-AP state, describedly from machine equipment, with registrar, be connected by the first wireless network card, the second wireless network card is operated in the Station state, and described main process equipment is connected with registrar by the second wireless network card.
Further, described registrar comprises a wireless network card, and described wireless network card is operated under Soft-AP state and Station state, describedly from machine equipment, with main process equipment, by described wireless network card, with registrar, is connected.
The present invention has following advantage: utilize the disposal ability of registrar to share the Bonding pressure of main process equipment, greatly reduced user's operation, network blockage problem while having avoided a plurality of slave equipment connection.
The accompanying drawing explanation
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is system configuration schematic diagram of the present invention.
Embodiment
Refer to shown in Fig. 1, below will be described in detail the present invention.
As shown in Figure 1, a kind of automatic connecting system based on wifi-direct, comprise main process equipment 1, from machine equipment 2, and registrar 3, main process equipment 1 is connected with registrar 3.Main process equipment 1 is opened wifi-direct and is connected, and from machine equipment 2, can with main process equipment 1, be connected by wifi-direct.MAC Address (the Media Access Control address that main process equipment 1 sends for receiving and store registrar 3, be the hardware address), and when carrying out the wifi-direct connection from machine equipment 2, detect whether store the described MAC Address from machine equipment 2, if having accept from the connection of machine equipment 2.From machine equipment 2 for connecting main process equipment 1 or registrar 3.Registrar 3, for when successfully connecting from machine equipment 2, will send to main process equipment from the MAC Address of machine equipment 2.By such main process equipment 1, can complete certainly being dynamically connected from machine equipment 2.
Carrying out from machine equipment 2 and main process equipment 1 concrete steps that wifi-direct is connected is: first with registrar 3, be connected and be connected with main process equipment 1.From machine equipment 2 first with registrar 3 is connected main process equipment just can have from the MAC Address of machine equipment 2, can complete certainly being dynamically connected from machine equipment 2.Can directly with main process equipment 1, carry out wifi-direct from machine equipment 2 and be connected, and needn't be connected with registrar 3 again.
Main process equipment 1, carrying out wifi-direct from machine equipment 2 while connecting, detects whether store the described MAC Address from machine equipment 2, if not refuse from the connection of machine equipment 2 or the connection request of the described equipment of prompting user.Refusal is suitable for the connection mechanism of strict main process equipment 1 from the connection of machine equipment 2, avoided not passing through the connection from machine equipment 2 of registrar 3, has avoided the obstruction of network.Also can point out the connection request of the described equipment of user, allow the user go to select whether to connect from machine equipment 2, be convenient to like this connection from machine equipment of not registered server 3.
Registrar 3 with from machine equipment 2 be connected to the wifi encryption connection, from machine equipment 2, need the correct encryption key of input successfully to be connected with registrar 3.Only known could successfully being connected with registrar 3 from machine equipment 2 of encryption key, registrar 3 just can get from the MAC Address of machine equipment 2, main process equipment 1 just can have from the MAC Address of machine equipment 2, can be with main process equipment 1 from being dynamically connected from machine equipment 2.And do not input can't being connected with registrar 3 from machine equipment of correct encryption key.Increased the fail safe of registrar by encryption key.
In some preferred embodiment, main process equipment 1 is connected to wifi-direct with registrar 3 and is connected.Because main process equipment 1 has been opened the wifi-direct connection, reduced like this Connection Step of main process equipment 1 with registrar 3.
In order to realize above-mentioned scheme, registrar 3 need to have can be with main process equipment 1 with from the wireless network card of machine equipment 2.Registrar 3 can include the first wireless network card 30 and the second wireless network card 31(as shown in Figure 1), the first wireless network card is operated under the Soft-AP state, from machine equipment 2, by the first wireless network card, with registrar 3, be connected, the second wireless network card is operated in the Station state, and described main process equipment 1 is connected with registrar 3 by the second wireless network card.
In some embodiment, registrar 3 can only comprise a wireless network card, and described wireless network card is operated in respectively under Soft-AP state and Station state.The Soft-AP state of wireless network card can realize with from being connected of machine equipment 2, the Station state of wireless network card can be realized and being connected of main process equipment 1.A wireless network card has reduced the equipment investment of system.
Soft-AP state in above-mentioned is soft AP state, and the hardware components that is it is exactly the wireless network card of a standard, but it makes it that functions such as the signal converting the same with AP, route are provided by driver.Normal operating conditions generally that the Station state is wireless network card, wireless network card can connect wireless router and carry out internet communication.
To sum up, main process equipment can complete from certainly being dynamically connected of machine equipment wifi-direct, and has greatly alleviated the Bonding pressure of main process equipment, has avoided the obstruction of network.
Although more than described the specific embodiment of the present invention; but being familiar with those skilled in the art is to be understood that; our described specific embodiment is illustrative; rather than for the restriction to scope of the present invention; those of ordinary skill in the art are in modification and the variation of the equivalence of doing according to spirit of the present invention, all should be encompassed in the scope that claim of the present invention protects.

Claims (8)

1. the automatic connecting system based on wifi-direct is characterized in that: comprise main process equipment, and from machine equipment, registrar, described main process equipment is connected with registrar, wherein:
The MAC Address that main process equipment sends for receiving and store registrar, and, when carrying out the wifi-direct connection from machine equipment, detect whether store the described MAC Address from machine equipment, if having accept the connection from machine equipment;
Be used for connecting main process equipment or registrar from machine equipment;
Registrar, for when successfully connecting from machine equipment, will send to main process equipment from the MAC Address of machine equipment.
2. a kind of automatic connecting system based on wifi-direct according to claim 1 is characterized in that: describedly carry out from machine equipment and main process equipment the concrete steps that wifi-direct is connected and be: first with registrar is connected with main process equipment, be connected again.
3. a kind of automatic connecting system based on wifi-direct according to claim 1, it is characterized in that: main process equipment is when carrying out the wifi-direct connection from machine equipment, detect whether to store the described MAC Address from machine equipment, if not refuse the connection from machine equipment.
4. a kind of automatic connecting system based on wifi-direct according to claim 1, it is characterized in that: main process equipment is when carrying out the wifi-direct connection from machine equipment, detect whether to store the described MAC Address from machine equipment, if not point out the connection request of the described equipment of user.
5. a kind of automatic connecting system based on wifi-direct according to claim 1, it is characterized in that: described registrar with from machine equipment be connected to the wifi encryption connection, describedly need to input correct encryption key from machine equipment and could successfully be connected with registrar.
6. a kind of automatic connecting system based on wifi-direct according to claim 1, it is characterized in that: described main process equipment is connected to wifi-direct with registrar and is connected.
7. according to the arbitrary described a kind of automatic connecting system based on wifi-direct of claim 1 to 6, it is characterized in that: described registrar comprises the first wireless network card and the second wireless network card, the first wireless network card is operated under the Soft-AP state, describedly from machine equipment, with registrar, be connected by the first wireless network card, the second wireless network card is operated in the Station state, and described main process equipment is connected with registrar by the second wireless network card.
8. according to the arbitrary described a kind of automatic connecting system based on wifi-direct of claim 1 to 6, it is characterized in that: described registrar comprises a wireless network card, described wireless network card is operated under Soft-AP state and Station state, describedly from machine equipment, with main process equipment, by described wireless network card, with registrar, is connected.
CN201310410039.6A 2013-09-10 2013-09-10 Automatic connection system based on wifi-direct Pending CN103501527A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310410039.6A CN103501527A (en) 2013-09-10 2013-09-10 Automatic connection system based on wifi-direct

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310410039.6A CN103501527A (en) 2013-09-10 2013-09-10 Automatic connection system based on wifi-direct

Publications (1)

Publication Number Publication Date
CN103501527A true CN103501527A (en) 2014-01-08

Family

ID=49866676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310410039.6A Pending CN103501527A (en) 2013-09-10 2013-09-10 Automatic connection system based on wifi-direct

Country Status (1)

Country Link
CN (1) CN103501527A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780589A (en) * 2014-01-13 2015-07-15 中兴通讯股份有限公司 Method, system and terminal for realizing Wifi access of network
CN104955170A (en) * 2015-06-19 2015-09-30 重庆市音乐一号科技有限公司 Method for improving experience of Wi-Fi (Wireless Fidelity) intelligent sound box
CN107172617A (en) * 2017-04-18 2017-09-15 鲁学敏 The wireless connection method and system of a kind of smart machine and intelligent terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202299A (en) * 2010-03-26 2011-09-28 谢德育 Realization method of end-to-end voice encryption system based on 3G/B3G
CN102572584A (en) * 2011-12-12 2012-07-11 青岛海信电器股份有限公司 Intelligent television system and intelligent television method capable of expanding cellphone

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202299A (en) * 2010-03-26 2011-09-28 谢德育 Realization method of end-to-end voice encryption system based on 3G/B3G
CN102572584A (en) * 2011-12-12 2012-07-11 青岛海信电器股份有限公司 Intelligent television system and intelligent television method capable of expanding cellphone

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780589A (en) * 2014-01-13 2015-07-15 中兴通讯股份有限公司 Method, system and terminal for realizing Wifi access of network
WO2015103848A1 (en) * 2014-01-13 2015-07-16 中兴通讯股份有限公司 Method, system and terminal for realizing network access via wifi
EP3096563A4 (en) * 2014-01-13 2017-01-04 ZTE Corporation Method, system and terminal for realizing network access via wifi
US9860931B2 (en) 2014-01-13 2018-01-02 Xi'an Zhongxing New Software Co., Ltd. Method, system and terminal for realizing network access via Wi-Fi®
CN104955170A (en) * 2015-06-19 2015-09-30 重庆市音乐一号科技有限公司 Method for improving experience of Wi-Fi (Wireless Fidelity) intelligent sound box
CN107172617A (en) * 2017-04-18 2017-09-15 鲁学敏 The wireless connection method and system of a kind of smart machine and intelligent terminal

Similar Documents

Publication Publication Date Title
US11172524B2 (en) Wireless local area communication method and terminal supporting the same
KR101488268B1 (en) Push message service system and method thereof
WO2014059813A1 (en) Data transmission method and terminal device
EP2941058B1 (en) Near field communication method and device
CN104158883A (en) Method, device, equipment and system for carrying out user login through cross-terminal equipment
KR20150091362A (en) Apparatus and methods for utilizing a wireless charger in a wireless docking environment
CN102916729A (en) Near-field communication method and system of touch panel terminal as well as touch panel terminal
CN102932439A (en) Method and device for synchronizing content
WO2013117048A1 (en) Wifi data transmission method and terminal
US20110117847A1 (en) Electronic apparatus and communication control method
CN103596152A (en) Short message delay sending system and method
CN103476027A (en) File transmission method for mobile terminal
EP3011717A1 (en) Managing data communications based on phone calls between mobile computing devices
CN103313430A (en) WiFi (wireless fidelity) connecting method using mobile terminal to configure network access equipment through WiFi and related equipment
CN103517451A (en) Device for achieving Bluetooth connecting request quick automatic sending and device for receiving connecting request
CN103731458A (en) Method and system for sharing files among terminals
WO2011116610A1 (en) Method, system and device for initializing internet device
CN103501527A (en) Automatic connection system based on wifi-direct
CN102594893A (en) Remote compelled method and system for mobile terminal equipment and computer
CN104023412A (en) Wireless terminal pairing method and device thereof
CN103167432A (en) System and method for achieving near-field information sending based on bluetooth transmission protocol
CN116192546A (en) Control method of intelligent equipment, control terminal and control system
US20120276850A1 (en) Electronic apparatus and communication control method
CN102968471A (en) Short message query system
US11575793B2 (en) Service system supporting voice call using digital assistant device, method thereof, and non-transitory computer readable medium having computer program recorded thereon

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 350000 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Applicant after: FUZHOU ROCKCHIP ELECTRONICS CO., LTD.

Address before: 350000 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Applicant before: Fuzhou Rockchip Semiconductor Co., Ltd.

COR Change of bibliographic data
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140108