CN104751617A - Remote controller and main machine connecting method and remote control device - Google Patents

Remote controller and main machine connecting method and remote control device Download PDF

Info

Publication number
CN104751617A
CN104751617A CN201510164897.6A CN201510164897A CN104751617A CN 104751617 A CN104751617 A CN 104751617A CN 201510164897 A CN201510164897 A CN 201510164897A CN 104751617 A CN104751617 A CN 104751617A
Authority
CN
China
Prior art keywords
main frame
telepilot
directional
directional broadcasting
attachment
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
CN201510164897.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.)
Jiangsu Huitong Group Co Ltd
Original Assignee
Jiangsu Huitong Group 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 Jiangsu Huitong Group Co Ltd filed Critical Jiangsu Huitong Group Co Ltd
Priority to CN201510164897.6A priority Critical patent/CN104751617A/en
Publication of CN104751617A publication Critical patent/CN104751617A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a remote controller and main machine connecting method and a remote control device. The remote controller and main machine connecting method comprises the steps of sending directional broadcasting, wherein the directional broadcasting contains a device identifier of a target main machine connected virtually; building connection with the target main machine if receiving the connecting request of the target main machine within a first preset time period; and sending non-directional broadcasting if the connection request of the target main machine is not received within the first preset time period. The remote controller and main machine connecting method and the remote control device can improve the connecting building efficiency of the remote controller and the main machine.

Description

The method of attachment of a kind of telepilot and main frame and telechiric device
Technical field
The present invention relates to pairing field, particularly relate to method of attachment and the telechiric device of a kind of telepilot and main frame.
Background technology
Along with the development of telecontrol engineering, telepilot becomes the standard configuration of plurality of devices gradually, and how remote control equipment establishes a connection with remotely-controlled equipment becomes a problem of telecontrol engineering.In existing matching technology, telepilot need need the long period to connect with main frame, and telepilot needs the efficiency connected between main frame to have much room for improvement.
Summary of the invention
The problem that the present invention solves how to improve the efficiency that telepilot and main frame connect.
For solving the problem, the invention provides the method for attachment of a kind of telepilot and main frame, comprising:
Send directional broadcasting, comprise in described directional broadcasting and the device identification intending the destination host be connected;
If receive the connection request from described destination host in the first Preset Time, then connect with described destination host;
If do not receive the connection request from described destination host in described first Preset Time, then send non-directional broadcast.
Optionally, the method for attachment of described telepilot and main frame also comprises:
After described transmission non-directional broadcast, if receive the connection request from arbitrary main frame in the second Preset Time, then connect with described arbitrary main frame.
Optionally, the method for attachment of described telepilot and main frame also comprises:
If do not receive the connection request from arbitrary main frame in described second Preset Time, then enter sleep state.
Optionally, the method for attachment of described telepilot and main frame also comprises:
Before described transmission non-directional broadcast, remove the described device identification stored.
Optionally, the condition of described transmission directional broadcasting is: have key-press status to change.
Optionally, described directional broadcasting meets BLE agreement.
Optionally, described first Preset Time is BLE agreement prescribed time-limit.
Optionally, described device identification is device mac address.
The embodiment of the present invention also provides a kind of telechiric device, stores the device identification of described destination host in described telechiric device, and described telechiric device comprises:
Transmitting element, is suitable for sending directional broadcasting to main frame, comprises the device identification of described main frame in described directional broadcasting;
Receiving element, is suitable within the stand-by period, receive the connection request from described main frame, connects.
Optionally, described remote control unit also comprises:
Key-press status judging unit, is suitable for judging key-press status, if there is key-press status to change, then sends described directional broadcasting by transmitting element.
Compared with prior art, the technical scheme of the embodiment of the present invention has following beneficial effect:
By sending directional broadcasting, the main frame comprising device identification in directional broadcasting receives described directional broadcasting, and described main frame sends connection request after receiving directional broadcasting, connects.Because directional broadcasting transmission frequency is high, and in directional broadcasting, comprise the device identification intending linking objective main frame, just connection request is initiated when only having destination host to receive described directional broadcasting, the time shorten needed when telepilot and main frame are connected, thus the efficiency that real raising telepilot and main frame connect.
Accompanying drawing explanation
Fig. 1 is the method for attachment process flow diagram of a kind of telepilot and main frame in the embodiment of the present invention.
Fig. 2 is the process flow diagram of the method for attachment of another kind of telepilot and main frame in the embodiment of the present invention;
Fig. 3 is the schematic diagram of a kind of telechiric device in the embodiment of the present invention;
Fig. 4 is another kind of telechiric device schematic diagram in the embodiment of the present invention.
Embodiment
As previously mentioned, along with the development of telecontrol engineering, telepilot becomes the standard configuration of plurality of devices gradually, and how remote control equipment establishes a connection with remotely-controlled equipment becomes a problem of telecontrol engineering.In existing matching technology, telepilot need need the long period to connect with main frame, and telepilot needs the efficiency connected between main frame to have much room for improvement.
By sending directional broadcasting, the main frame comprising device identification in directional broadcasting receives described directional broadcasting, and described main frame sends connection request after receiving directional broadcasting, connects.Because directional broadcasting transmission frequency is high, and in directional broadcasting, comprise the device identification intending linking objective main frame, just connection request is initiated when only having destination host to receive described directional broadcasting, the time shorten needed when telepilot and main frame are connected, thus the efficiency that real raising telepilot and main frame connect.
For enabling above-mentioned purpose of the present invention, feature and advantage more become apparent, and are described in detail specific embodiments of the invention below in conjunction with accompanying drawing.
Fig. 1 is the method for attachment process flow diagram of a kind of telepilot and main frame in the embodiment of the present invention.
S11, sends directional broadcasting, comprises and the device identification intending the destination host be connected in described directional broadcasting.
In the connection procedure of telepilot and main frame, the transmission frequency of directional broadcasting is greater than the transmission frequency of non-directional broadcast, that is at the number of times of unit interval interior orientation broadcast transmission more than the number of times of non-directional broadcast transmission.The reception of destination host to directional broadcasting or non-directional broadcast is general not disposablely to be completed.So concerning the destination host intending connecting, the efficiency receiving directional broadcasting is higher than the efficiency receiving non-directional broadcast.
In concrete enforcement, the device identification intending the destination host connected is: the MAC Address of destination host.MAC (Media Access Control or Medium Access Control) address, free translation is that media interviews control, or is called physical address, hardware address, is used for the position of define grid equipment.
In an embodiment of the present invention, described directional broadcasting meets BLE agreement.BLE predecessor is the Wibree technology of NOKIA exploitation, be mainly used in realizing continuing between mobile intelligent terminal with periphery accessory to be connected, it is the short-distance wireless communication technology that power consumption is extremely low, and effective propagation path has been thus lifted to more than 100 meters, only need a button cell just can work several years, above many technical advantages make the development prospect of BLE considerable simultaneously.
Define two kinds of broadcast data packet in BLE agreement, one is non-directional broadcasting, and one is directional broadcasting.The former can Portable device title, and the information such as the service of support, do not comprise the MAC Address of object host, and any host receiving broadcast can initiate inquiry to this equipment or connect; The latter comprises MAC Address and the machine MAC Address of object destination host, do not comprise any other effective information, receive the main frame of described directional broadcasting, the target MAC (Media Access Control) address in contrast broadcast is needed to be whether oneself address, if it is directly connection request can be initiated to this equipment, otherwise any response should not be done.
What current telepilot generally adopted when broadcast is non-directional broadcasting.If telepilot and multiple main frame carried out connection, carried out pairing in other words, and saved the facility information of multiple main frame, telepilot is when sending broadcast, and any one main frame once connected can initiate to connect and successful connection to this equipment.But, in the practical application of telepilot, general can control an equipment, only need the MAC Address of a preservation equipment, telepilot other equipment when broadcasting also should not initiate to connect to this telepilot, thus by using the mode of directional broadcasting at telepilot end, telepilot can be realized and be connected with the quick of main frame.
In an embodiment of the present invention, the condition sending directional broadcasting is: have key-press status to change.Only when the button generation state change of telepilot, just send directional broadcasting to the destination host intending connecting.
S12, if the connection request receiving from described destination host in the first Preset Time, then connects with described destination host.
In concrete enforcement, the first Preset Time is BLE agreement prescribed time-limit.As previously mentioned, MAC Address and the machine MAC Address of object destination host is comprised in directional broadcasting, do not comprise any other effective information, receive the main frame of described directional broadcasting, the target MAC (Media Access Control) address in contrast broadcast is needed to be whether oneself address, if it is directly connection request can be initiated to this equipment, otherwise any response should not be done.In BLE agreement, the first Preset Time more than 1.2 seconds, must not can be set to 1.2 seconds at this by the time that telepilot sends directional broadcasting.
Be understandable that, user also can according to the first Preset Time described in demand sets itself, and the scope of setting need within the scope that communication protocol specifies between telepilot and main frame.Such as, when meeting BLE agreement to broadcast, user can set described first Preset Time within 1.2 seconds.
S13, if the connection request not receiving from described destination host in described first Preset Time, then sends non-directional broadcast.
In concrete enforcement, if receive the connection request from arbitrary main frame in the second Preset Time, then connect with described arbitrary main frame.
In an embodiment of the present invention, if do not receive the connection request from arbitrary main frame in described second Preset Time, then sleep state is entered.
In concrete enforcement, before sending non-directional broadcast, remove the described device identification stored.
Owing to only storing the device identification that is intended connecting main frame in the telepilot in the embodiment of the present invention, when not receiving connection request in the first Preset Time, is not then intending being connected main frame connect with described, transmission non-directional is broadcasted.Now can remove the described device identification intending connecting main frame, because after sending non-directional broadcast, the main frame receiving arbitrarily broadcast all can send linking request, and telepilot can preserve the device identification of the main frame now sending connection request, as the destination host sending directional broadcasting next time.
Fig. 2 is the process flow diagram of the method for attachment of another kind of telepilot and main frame in the embodiment of the present invention.
S201, telepilot is normally connected with main frame.Normal connection can carry out in several ways herein, and the MAC Address of the main frame be now normally connected with telepilot is stored in telepilot.
S202, disconnecting.Disconnecting can be the connection of active break telepilot and main frame, also can be the accidental interruption that external cause causes.
S203, judges whether key-press status changes, if key-press status changes, then enters step S204, if key-press status does not change, then continues to judge key-press status.
S204, telepilot sends directional broadcasting.The device identification of the plan linking objective main frame comprised in the directional broadcasting that telepilot sends is the device identification carrying out in step S201 storing.
S205, judges whether the connection request receiving destination host, if receive connection request, then enters step S211, if do not receive connection request, then enters step S206.
S206, judges whether the transmitting time of directional broadcasting reaches the first Preset Time, if arrived the first Preset Time, then enters step S207, if do not reach the first Preset Time, then enters step S204, continues to send directional broadcasting.
S207, telepilot sends non-directional broadcast.
S208, judges whether the connection request receiving arbitrary main frame, if receive connection request, then enters step S211, if do not receive connection request, then enter step S209.
S209, judges whether the non-directional broadcast transmission time reaches the second Preset Time, if reached the second Preset Time, then enters step S210, if do not reach the second Preset Time, then enter step S207, continues to send non-directional broadcast.
S210, enters sleep state.Sleep state can be a kind of low power consumpting state.
S211, connects main frame.
The embodiment of the present invention is by sending directional broadcasting, and the main frame comprising device identification in directional broadcasting receives described directional broadcasting, and described main frame sends connection request after receiving directional broadcasting, connects.Because directional broadcasting transmission frequency is high, and in directional broadcasting, comprise the device identification intending linking objective main frame, just connection request is initiated when only having destination host to receive described directional broadcasting, the time shorten needed when telepilot and main frame are connected, thus the efficiency that real raising telepilot and main frame connect.
The embodiment of the present invention also provides a kind of telechiric device, and Fig. 3 is the schematic diagram of a kind of telechiric device in the embodiment of the present invention.Telechiric device 30 comprises transmitting element 301 and receiving element 302.
The device identification of described destination host is stored in telechiric device 30.
Transmitting element 301, is suitable for sending directional broadcasting to main frame, comprises the device identification of described main frame in described directional broadcasting;
Receiving element 302, is suitable within the stand-by period, receive the connection request from described main frame, connects.
In concrete enforcement, telechiric device also comprises key-press status judging unit.Fig. 4 is another kind of telechiric device schematic diagram in the embodiment of the present invention.Telechiric device 40 comprises key-press status judging unit 403, transmitting element 401, receiving element 402.
Wherein, key-press status judging unit 403 is suitable for judging key-press status, if there is key-press status to change, then sends described directional broadcasting by transmitting element.The function of transmitting element 401, receiving element 402 does not repeat them here.
The embodiment of the present invention is by sending directional broadcasting, and the main frame comprising device identification in directional broadcasting receives described directional broadcasting, and described main frame sends connection request after receiving directional broadcasting, connects.Because directional broadcasting transmission frequency is high, and in directional broadcasting, comprise the device identification intending linking objective main frame, just connection request is initiated when only having destination host to receive described directional broadcasting, the time shorten needed when telepilot and main frame are connected, thus the efficiency that real raising telepilot and main frame connect.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
Although the present invention discloses as above, the present invention is not defined in this.Any those skilled in the art, without departing from the spirit and scope of the present invention, all can make various changes or modifications, and therefore protection scope of the present invention should be as the criterion with claim limited range.

Claims (10)

1. a method of attachment for telepilot and main frame, is characterized in that, comprising:
Send directional broadcasting, comprise in described directional broadcasting and the device identification intending the destination host be connected;
If receive the connection request from described destination host in the first Preset Time, then connect with described destination host;
If do not receive the connection request from described destination host in described first Preset Time, then send non-directional broadcast.
2. the method for attachment of telepilot according to claim 1 and main frame, is characterized in that, also comprises:
After described transmission non-directional broadcast, if receive the connection request from arbitrary main frame in the second Preset Time, then connect with described arbitrary main frame.
3. the method for attachment of telepilot according to claim 2 and main frame, is characterized in that, also comprises:
If do not receive the connection request from arbitrary main frame in described second Preset Time, then enter sleep state.
4. the method for attachment of telepilot according to claim 1 and main frame, is characterized in that, also comprises:
Before described transmission non-directional broadcast, remove the described device identification stored.
5. the method for attachment of telepilot according to claim 1 and main frame, is characterized in that, the condition of described transmission directional broadcasting is: have key-press status to change.
6. the method for attachment of telepilot according to claim 1 and main frame, is characterized in that, described directional broadcasting meets BLE agreement.
7. the method for attachment of telepilot according to claim 1 and main frame, is characterized in that, described first Preset Time is BLE agreement prescribed time-limit.
8. the method for attachment of telepilot according to claim 1 and main frame, is characterized in that, described device identification is device mac address.
9. a telechiric device, is characterized in that, stores the device identification of described destination host, comprising in described telechiric device:
Transmitting element, is suitable for sending directional broadcasting to main frame, comprises the device identification of described main frame in described directional broadcasting;
Receiving element, is suitable within the stand-by period, receive the connection request from described main frame, connects.
10. telechiric device according to claim 9, is characterized in that, also comprises:
Key-press status judging unit, is suitable for judging key-press status, if there is key-press status to change, then sends described directional broadcasting by transmitting element.
CN201510164897.6A 2015-04-08 2015-04-08 Remote controller and main machine connecting method and remote control device Pending CN104751617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510164897.6A CN104751617A (en) 2015-04-08 2015-04-08 Remote controller and main machine connecting method and remote control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510164897.6A CN104751617A (en) 2015-04-08 2015-04-08 Remote controller and main machine connecting method and remote control device

Publications (1)

Publication Number Publication Date
CN104751617A true CN104751617A (en) 2015-07-01

Family

ID=53591228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510164897.6A Pending CN104751617A (en) 2015-04-08 2015-04-08 Remote controller and main machine connecting method and remote control device

Country Status (1)

Country Link
CN (1) CN104751617A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611358A (en) * 2015-12-26 2016-05-25 小米科技有限责任公司 Control method and device of smart devices
CN105974803A (en) * 2016-04-29 2016-09-28 镇江惠通电子有限公司 Control method of terminal device, device and control terminal
CN106658661A (en) * 2016-11-10 2017-05-10 江苏惠通集团有限责任公司 Master device, slave device and method for rebuilding connection
CN108933804A (en) * 2017-05-26 2018-12-04 中移物联网有限公司 A kind of peer-to-peer network construction method and device
CN110288820A (en) * 2019-07-31 2019-09-27 歌尔股份有限公司 A kind of connection method of remote control equipment and host
CN113271214A (en) * 2021-07-20 2021-08-17 杭州控客信息技术有限公司 Communication method for equipment test in automatic production line

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050266798A1 (en) * 2004-05-31 2005-12-01 Seamus Moloney Linking security association to entries in a contact directory of a wireless device
CN102594987A (en) * 2012-02-09 2012-07-18 深圳市中兴移动通信有限公司 Method for realizing safe and quick Bluetooth pairing connection
CN102780513A (en) * 2011-05-13 2012-11-14 希姆通信息技术(上海)有限公司 Mobile terminal and method for realizing Bluetooth communication between mobile terminals
CN103985234A (en) * 2014-04-23 2014-08-13 杭州微纳科技有限公司 Remote control method based on bluetooth broadcast packet
CN104036628A (en) * 2014-05-22 2014-09-10 杭州微纳科技有限公司 Intelligent remote controller based on Bluetooth and quick pairing method
CN104318741A (en) * 2014-10-20 2015-01-28 小米科技有限责任公司 Bluetooth device control method and device
CN104469980A (en) * 2014-11-21 2015-03-25 广东欧珀移动通信有限公司 Bluetooth connecting method and Bluetooth equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050266798A1 (en) * 2004-05-31 2005-12-01 Seamus Moloney Linking security association to entries in a contact directory of a wireless device
CN102780513A (en) * 2011-05-13 2012-11-14 希姆通信息技术(上海)有限公司 Mobile terminal and method for realizing Bluetooth communication between mobile terminals
CN102594987A (en) * 2012-02-09 2012-07-18 深圳市中兴移动通信有限公司 Method for realizing safe and quick Bluetooth pairing connection
CN103985234A (en) * 2014-04-23 2014-08-13 杭州微纳科技有限公司 Remote control method based on bluetooth broadcast packet
CN104036628A (en) * 2014-05-22 2014-09-10 杭州微纳科技有限公司 Intelligent remote controller based on Bluetooth and quick pairing method
CN104318741A (en) * 2014-10-20 2015-01-28 小米科技有限责任公司 Bluetooth device control method and device
CN104469980A (en) * 2014-11-21 2015-03-25 广东欧珀移动通信有限公司 Bluetooth connecting method and Bluetooth equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611358A (en) * 2015-12-26 2016-05-25 小米科技有限责任公司 Control method and device of smart devices
CN105974803A (en) * 2016-04-29 2016-09-28 镇江惠通电子有限公司 Control method of terminal device, device and control terminal
CN106658661A (en) * 2016-11-10 2017-05-10 江苏惠通集团有限责任公司 Master device, slave device and method for rebuilding connection
CN108933804A (en) * 2017-05-26 2018-12-04 中移物联网有限公司 A kind of peer-to-peer network construction method and device
CN108933804B (en) * 2017-05-26 2021-12-10 中移物联网有限公司 Peer-to-peer network construction method and device
CN110288820A (en) * 2019-07-31 2019-09-27 歌尔股份有限公司 A kind of connection method of remote control equipment and host
WO2021017156A1 (en) * 2019-07-31 2021-02-04 歌尔股份有限公司 Method for connecting remote control device and host
CN113271214A (en) * 2021-07-20 2021-08-17 杭州控客信息技术有限公司 Communication method for equipment test in automatic production line

Similar Documents

Publication Publication Date Title
CN104751617A (en) Remote controller and main machine connecting method and remote control device
US10045181B2 (en) Method and apparatus for Bluetooth connection
WO2015081884A1 (en) Management method for embedded universal integrated circuit card, related device and system
US10560929B2 (en) Resource request method and system, device, and network side node
CN105208583B (en) Method and device for configuring intelligent household electrical appliance to access network and intelligent equipment
EP3920572B1 (en) Measurement gap configuration method, apparatus, device, terminal and system
CN103068066A (en) Intelligent mobile communication terminal and wireless network access method and system thereof
US20160323826A1 (en) Multimode and power-saving method of multimedia transmission and system thereof
JP2016054525A5 (en) User terminal
CN101754296B (en) Method, system and network equipment for realizing the management of wireless access network information
CN103209089A (en) Method for obtaining heart beat period, terminal and server
CN104581331A (en) Pairing method and device
KR20130142394A (en) Connecting method between terminals in wi-fi p2p network and terminal thereof
WO2013103010A1 (en) Base station, wireless terminal, wireless communication system, and wireless communication method
CN105323824A (en) WIFI equipment, electronic device and method for assisting WIFI equipment access to network
CN109842919A (en) A kind of communication of terminal and base station, terminal method of network entry and device
KR20200138646A (en) RRC state control method, apparatus and computer storage medium
US20120134309A1 (en) Access point and control method thereof
US9025448B2 (en) Methods and apparatuses for accessing internet
WO2013185717A2 (en) Wireless communication method and system
KR20190047598A (en) Method and device of transmitting data
EP3349509B1 (en) Methods for acquiring context information of user equipment, and related devices
CN105430597A (en) Bluetooth device, and Bluetooth Scatternet networking method and device thereof
CN105227627A (en) A kind of playback equipment packet control process and user terminal
WO2015196698A1 (en) Paging method, system and device, and computer storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150701

RJ01 Rejection of invention patent application after publication