CN103687065B - Method for pairing and connecting intelligent terminal and wireless network sound equipment - Google Patents

Method for pairing and connecting intelligent terminal and wireless network sound equipment Download PDF

Info

Publication number
CN103687065B
CN103687065B CN201310723711.7A CN201310723711A CN103687065B CN 103687065 B CN103687065 B CN 103687065B CN 201310723711 A CN201310723711 A CN 201310723711A CN 103687065 B CN103687065 B CN 103687065B
Authority
CN
China
Prior art keywords
wireless network
intelligent terminal
stereo set
pairing
sound equipment
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.)
Active
Application number
CN201310723711.7A
Other languages
Chinese (zh)
Other versions
CN103687065A (en
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.)
GUANGZHOU AIDE INFORMATION TECHNOLOGY Co Ltd
iMusic Culture and Technology Co Ltd
Original Assignee
GUANGZHOU AIDE INFORMATION TECHNOLOGY Co Ltd
iMusic Culture and 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 GUANGZHOU AIDE INFORMATION TECHNOLOGY Co Ltd, iMusic Culture and Technology Co Ltd filed Critical GUANGZHOU AIDE INFORMATION TECHNOLOGY Co Ltd
Priority to CN201310723711.7A priority Critical patent/CN103687065B/en
Publication of CN103687065A publication Critical patent/CN103687065A/en
Application granted granted Critical
Publication of CN103687065B publication Critical patent/CN103687065B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for pairing and connecting an intelligent terminal and wireless network sound equipment. The method comprises the following steps: firstly connecting the intelligent terminal and the wireless network sound equipment to a same wireless local area network hotspot; then sending pairing request information to a local area network by the intelligent terminal, wherein the pairing request information comprises a text key, and the wireless network sound equipment is used for monitoring the pairing request information; then after the wireless network sound equipment receives the paring request information of the intelligent terminal, sending feedback information to the intelligent terminal to prompt a user whether the pairing is carried out at a human-computer interaction interface, and after the user clicks for confirmation, sending a Media Access Control (MAC) address of the wireless network sound equipment by the wireless network sound equipment so as to begin to communicate with the intelligent terminal; finally after the connection between the intelligent terminal and the wireless network sound equipment is established, playing and controlling the wireless network sound equipment, and synchronizing music playing progress with the intelligent terminal by the wireless network sound equipment. According to the method, the pairing and connecting function can be realized on equipment for supporting the local area network, and the adaptability range is wider.

Description

A kind of intelligent terminal and the pairing method of attachment of wireless network stereo set
Technical field
The present invention relates to the technical field of cordless communication network, refer in particular to a kind of intelligent terminal and set with wireless network sound equipment Standby pairing method of attachment.
Background technology
With intelligent terminal development, can be attached realizing control, data friendship by communication protocol between multiple equipment The application such as change.Therefore for the wireless network stereo set being similarly smart machine, it is controlled also being one using intelligent terminal Plant control mode easily and effectively.
At present, between existing intelligent terminal, interconnection technique has:
1st, Bluetooth pairing connects: a kind of radiotechnics of holding equipment short haul connection (in general 10m);With bluetooth The intelligent terminal of chip can mutually carry out data information exchange.
2nd, wifi direct: this agreement is based on protocol of wireless local area network 802.11 it is allowed to the equipment in wireless network is direct Carry out point-to-point connection, carry out data exchange;This agreement needs the support of the wireless network chip of intelligent terminal.
Bluetooth protocol has the shortcomings that apart from short, and needs intelligent terminal and stereo set to be equipped with the proprietary core of supported protocol Piece;Wifi direct needs intelligent terminal and the wireless network module of stereo set to support this agreement, and existing most of wireless Mixed-media network modules mixed-media does not all support this agreement.Therefore, the intelligent terminal's range of fit using above two agreement is less.
Content of the invention
It is an object of the invention to overcoming the deficiencies in the prior art, provide a kind of intelligent terminal and wireless network stereo set Pairing method of attachment, can all support WLAN ieee802.11 agreements intelligent terminal on realize to wireless network The control of stereo set.
For achieving the above object, technical scheme provided by the present invention is: a kind of intelligent terminal is set with wireless network sound equipment Standby pairing method of attachment, comprises the following steps:
1) intelligent terminal and wireless network stereo set are connected to identical wireless local by respective wireless network module Net focus;
2) described intelligent terminal sends pairing request information to LAN, and it is close that described pairing request packet contains one section of text Key, described wireless network stereo set begins listening for pairing request information;
3) after described wireless network stereo set receives the pairing request information of described intelligent terminal, to described intelligence eventually End send feedback information, prompts the user whether to be matched in human-computer interaction interface simultaneously, after user clicks on and determines, described nothing Gauze network stereo set will send the Media Access Control address mac of oneself, and starts to be communicated with described intelligent terminal;
4), after described intelligent terminal is set up with wireless network stereo set and is connected, wireless network stereo set can be broadcast Put control, wireless network stereo set is to intelligent terminal's synchronization music playing progress rate simultaneously.
When being attached again with wireless network stereo set through the intelligent terminal of pairing, comprise the following steps:
1) described intelligent terminal sends tcp connection request, described ip ground to the wireless network stereo set of specified ip address Location is the local net network address of wireless network stereo set, and described tcp connection request comprises the mac address of tcp;
2), after described wireless network stereo set receives tcp connection request, the mac address comprising in request and the machine are contrasted Whether mac address is identical, if identical, begin setting up tcp with described intelligent terminal and is connected.
In step 1), the wireless network module of described intelligent terminal and wireless network stereo set all supports wireless local Net ieee802.11 agreement.
In step 2) in, described pairing request information uses the User Datagram Protocol udp of transport network layer in described intelligence Can be broadcasted in the LAN of terminal connection;Udp listening port opened by described wireless network stereo set, monitors in LAN All udp broadcast comprising described text key information.
In step 3), described wireless network stereo set uses transmission control protocol tcp of transport network layer to described Intelligent terminal's send feedback information, after user determines pairing, the mac address that described wireless network stereo set sends, using as The authentication information that next time connects, is stored in described intelligent terminal.
In step 4), the tcp that described intelligent terminal is set up with wireless network stereo set in LAN is connected, and passes through Tcp agreement sends packet to wireless network stereo set, realize the broadcasting of wireless network stereo set being controlled and playing into Degree is synchronous.
Described play control includes playing suspend, upper next, volume, switching broadcasting music list.
The present invention compared with prior art, has the advantage that and beneficial effect:
1st, it is based on to search between udp agreement and tcp/ip protocol realization equipment and connects, equipment is realized by key mode Pairing;
2nd, pairing linkage function can be realized on all equipment supporting WLAN, the range of fit of this method is more Extensively.
Brief description
Fig. 1 is the workflow diagram of the present invention.
Fig. 2 is the flow chart being attached again with wireless network stereo set through the intelligent terminal matching.
Specific embodiment
With reference to specific embodiment, the invention will be further described.
Shown in Figure 1, the pairing method of attachment of intelligent terminal described in the present embodiment and wireless network stereo set, its Concrete condition is as follows:
1) intelligent terminal and wireless network stereo set are connected to identical wireless local by respective wireless network module Net focus;
2) described intelligent terminal sends pairing request information to LAN, and it is close that described pairing request packet contains one section of text Key, described wireless network stereo set begins listening for pairing request information;
3) after described wireless network stereo set receives the pairing request information of described intelligent terminal, to described intelligence eventually End send feedback information, prompts the user whether to be matched in human-computer interaction interface simultaneously, after user clicks on and determines, described nothing Gauze network stereo set will send the Media Access Control address (mac:media access control) of oneself, and start with Described intelligent terminal is communicated;
4), after described intelligent terminal is set up with wireless network stereo set and is connected, wireless network stereo set can be broadcast Put control (play suspend, upper next, volume, switching play music list), wireless network stereo set is to intelligent end simultaneously The synchronous music playing progress rate in end.
Wherein, in step 1), the wireless network module of described intelligent terminal and wireless network stereo set is all supported no Line LAN ieee802.11 agreement.
In step 2) in, described pairing request information uses the User Datagram Protocol (udp:user of transport network layer Datagram protocol) broadcasted in the LAN that described intelligent terminal connects;Described wireless network stereo set is beaten Open udp listening port, monitor all udp broadcast comprising described text key information in LAN.
In step 3), described wireless network stereo set use transport network layer transmission control protocol (tcp: Transmission control protocol) to described intelligent terminal's send feedback information, after user determines pairing, described The mac address that wireless network stereo set sends, the authentication information that will connect as next time, it is stored in described intelligent terminal.
In step 4), the tcp that described intelligent terminal is set up with wireless network stereo set in LAN is connected, and passes through Tcp agreement sends packet to wireless network stereo set, realizes the broadcasting control of wireless network stereo set (is play temporarily Stop, upper next, volume, switching play music list) and playing progress rate is synchronously.
Additionally, when being attached again with wireless network stereo set through the intelligent terminal of pairing, referring to Fig. 2 institute Show, its concrete condition is as follows:
1) described intelligent terminal sends tcp connection request, described ip ground to the wireless network stereo set of specified ip address Location is the local net network address of wireless network stereo set, and described tcp connection request comprises the mac address of tcp;
2), after described wireless network stereo set receives tcp connection request, the mac address comprising in request and the machine are contrasted Whether mac address is identical, if identical, begin setting up tcp with described intelligent terminal and is connected.
In a word, after using above scheme, the inventive method is broadcasted by network bottom layer udp agreement and is monitored, base Search between udp agreement and tcp/ip protocol realization equipment and connect, and effectively realize the pairing of equipment by key mode.This Compared to existing technology, the inventive method can realize pairing linkage function on all equipment supporting WLAN, its adaptation Scope is wider, is worthy to be popularized.
The examples of implementation of the above are only the preferred embodiments of the invention, not limit the enforcement model of the present invention with this Enclose, therefore the change that all shapes according to the present invention, principle are made, all should cover within the scope of the present invention.

Claims (2)

1. a kind of intelligent terminal and the pairing method of attachment of wireless network stereo set are it is characterised in that comprise the following steps:
1) intelligent terminal and wireless network stereo set are connected to identical WLAN heat by respective wireless network module Point;The wireless network module of described intelligent terminal and wireless network stereo set all supports that WLAN ieee802.11 assists View;
2) described intelligent terminal sends pairing request information to LAN, and described pairing request packet contains one section of text key, Described wireless network stereo set begins listening for pairing request information;Described pairing request information uses the user of transport network layer Data pack protocol udp is broadcasted in the LAN that described intelligent terminal connects;Udp opened by described wireless network stereo set Listening port, monitors all udp broadcast comprising described text key information in LAN;
3), after described wireless network stereo set receives the pairing request information of described intelligent terminal, send out to described intelligent terminal Send feedback information, prompt the user whether to be matched in human-computer interaction interface simultaneously, after user clicks on and determines, described wireless network Network stereo set will send the Media Access Control address mac of oneself, and starts to be communicated with described intelligent terminal;Described nothing Gauze network stereo set uses transmission control protocol tcp of transport network layer to described intelligent terminal's send feedback information, user After determining pairing, the mac address that described wireless network stereo set sends, the authentication information that will connect as next time, it is stored in Described intelligent terminal;
4), after described intelligent terminal is set up with wireless network stereo set and is connected, control can be played out to wireless network stereo set System, wireless network stereo set is to intelligent terminal's synchronization music playing progress rate simultaneously;Described intelligent terminal and wireless network sound equipment The tcp that equipment is set up in LAN connects, and sends packet by tcp agreement to wireless network stereo set, realizes to wireless The broadcasting control of network sound equipment and playing progress rate are synchronous;
When being attached again with wireless network stereo set through the intelligent terminal of pairing, comprise the following steps:
1) described intelligent terminal sends tcp connection request to the wireless network stereo set of specified ip address, and described ip address is The local net network address of wireless network stereo set, described tcp connection request comprises the mac address of tcp;
2), after described wireless network stereo set receives tcp connection request, the mac address comprising in request and the machine mac are contrasted Whether address is identical, if identical, begin setting up tcp with described intelligent terminal and is connected.
2. the pairing method of attachment of a kind of intelligent terminal according to claim 1 and wireless network stereo set, its feature Be: described play control includes playing suspend, upper next, volume, switching broadcasting music list.
CN201310723711.7A 2013-12-24 2013-12-24 Method for pairing and connecting intelligent terminal and wireless network sound equipment Active CN103687065B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310723711.7A CN103687065B (en) 2013-12-24 2013-12-24 Method for pairing and connecting intelligent terminal and wireless network sound equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310723711.7A CN103687065B (en) 2013-12-24 2013-12-24 Method for pairing and connecting intelligent terminal and wireless network sound equipment

Publications (2)

Publication Number Publication Date
CN103687065A CN103687065A (en) 2014-03-26
CN103687065B true CN103687065B (en) 2017-01-25

Family

ID=50323001

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310723711.7A Active CN103687065B (en) 2013-12-24 2013-12-24 Method for pairing and connecting intelligent terminal and wireless network sound equipment

Country Status (1)

Country Link
CN (1) CN103687065B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997692A (en) * 2014-04-22 2014-08-20 深圳创维-Rgb电子有限公司 Method and system for enabling smart television to be in seamless connection with wireless router
CN106856563A (en) * 2015-12-09 2017-06-16 中兴通讯股份有限公司 A kind of projection terminal and its method for realizing the same screen projection in multiple terminals
EP3445002B1 (en) * 2016-01-08 2019-07-24 Apple Inc. Secure wireless communication between controllers and accessories
CN107302763B (en) * 2017-05-26 2019-11-08 北京小鸟看看科技有限公司 Realize method, client terminal device and the system for wearing display equipment and accessory binding
CN108323246B (en) * 2018-01-25 2021-11-12 深圳市为通博科技有限责任公司 Networking method, chip and wireless network system
CN113225837A (en) * 2021-04-23 2021-08-06 深圳创维-Rgb电子有限公司 Wireless sound box connection method and device, communication terminal and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079257A (en) * 2012-12-11 2013-05-01 杭州联汇数字科技有限公司 Method for connecting audio device into WIFI (Wireless Fidelity) network
CN103298146A (en) * 2013-05-27 2013-09-11 深圳Tcl新技术有限公司 Terminal pairing method and terminal based on wireless communication
CN103401790A (en) * 2013-08-05 2013-11-20 深圳市华讯方舟科技有限公司 Method for accessing wireless router in AP (Access Point) mode or relay mode by intelligent equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003152731A (en) * 2001-11-16 2003-05-23 Mitsumi Electric Co Ltd Communication device, ip address acquisition method, and roaming method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079257A (en) * 2012-12-11 2013-05-01 杭州联汇数字科技有限公司 Method for connecting audio device into WIFI (Wireless Fidelity) network
CN103298146A (en) * 2013-05-27 2013-09-11 深圳Tcl新技术有限公司 Terminal pairing method and terminal based on wireless communication
CN103401790A (en) * 2013-08-05 2013-11-20 深圳市华讯方舟科技有限公司 Method for accessing wireless router in AP (Access Point) mode or relay mode by intelligent equipment

Also Published As

Publication number Publication date
CN103687065A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN103687065B (en) Method for pairing and connecting intelligent terminal and wireless network sound equipment
CN105161124B (en) A kind of audio frequency playing method and device of more playback equipments
CN103747391B (en) Audio amplifier and its control method with double wireless modes
CN105139877B (en) Connection method, main equipment, control terminal and the system of multimedia play equipment
CN102104839B (en) Carry out the equipment, the system and method that communicate with one group of wireless communication unit simultaneously
CN110121902B (en) Communication establishment method and terminal
CN108029078A (en) For optimizing the intelligent coordinated processor of the service discovery power consumption in wireless service platform
JP2015513288A5 (en) Computer program and device providing device-to-device communication
CN108093495A (en) DRX cycle collocation method, terminal, access network equipment and storage medium
CN105230029A (en) Set up and show with control Wi-Fi the audio frequency and voice backward channel that are connected
CN106341782A (en) Mobile terminal and household electric appliance communication method and system
CN110149568A (en) A kind of bluetooth headset and communication means, system, electronic equipment, computer media
CN104320158B (en) A kind of music player devices and system
TW200713907A (en) Mobile communication device and method for downloading configuration files thereof and wireless communication system
CN102364979A (en) Method and system for connecting mobile terminal into network
CN202261497U (en) Wireless telephone with wireless routing function
CN202818560U (en) Bluetooth headset, mobile terminal and voice control system
CN103096306A (en) Audio playing method and system
CN103533669A (en) Mobile terminal multi-APN (access point name) network concurrent system and networking method of mobile terminal multi-APN network concurrent system
WO2014015730A1 (en) Device and service discovery method, and device middleware
CN105025390B (en) A kind of broadcasting scene store method, system, playback terminal and controlling terminal
CN105122933B (en) For realizing the method and apparatus of the application in discontinuous reception (DRX) period
CN106792472A (en) The Wi Fi of intelligent hardware devices match somebody with somebody network method
CN104640122A (en) Wireless networking method of router and trunk equipment
CN108989940A (en) Bluetooth headset function is compatible with implementation method, device, bluetooth headset and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: TIANYI LOVE MUSIC CULTURE TECHNOLOGY CO., LTD.

Effective date: 20140610

C41 Transfer of patent application or patent right or utility model
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Xu Jing

Inventor after: Zhu Yingbo

Inventor after: Zeng Qingyu

Inventor after: Zheng Yuekui

Inventor after: Cao Ming

Inventor before: Zeng Qingyu

Inventor before: Xu Jing

Inventor before: Cao Ming

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: CENG QINGYU XU JING CAO MING TO: XU JING ZHU YINGBO CENG QINGYU ZHENG YUEKUI CAO MING

TA01 Transfer of patent application right

Effective date of registration: 20140610

Address after: 510080 No. two, 34 Zhongshan Road, Yuexiu District, Guangdong, Guangzhou 404

Applicant after: GUANGZHOU AIDE INFORMATION TECHNOLOGY CO., LTD.

Applicant after: ESURFING IMUSIC CULTURE TECHNOLOGY CO., LTD.

Address before: 510080 No. two, 34 Zhongshan Road, Yuexiu District, Guangdong, Guangzhou 404

Applicant before: GUANGZHOU AIDE INFORMATION TECHNOLOGY CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant