CN107529125B - Bluetooth device communication method and communication device - Google Patents

Bluetooth device communication method and communication device Download PDF

Info

Publication number
CN107529125B
CN107529125B CN201610455082.8A CN201610455082A CN107529125B CN 107529125 B CN107529125 B CN 107529125B CN 201610455082 A CN201610455082 A CN 201610455082A CN 107529125 B CN107529125 B CN 107529125B
Authority
CN
China
Prior art keywords
equipment
bluetooth
module
bluetooth device
pairing
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
CN201610455082.8A
Other languages
Chinese (zh)
Other versions
CN107529125A (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.)
Midea Group Co Ltd
Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd
Original Assignee
Midea Group Co Ltd
Foshan Shunde Midea Electrical Heating Appliances Manufacturing 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 Midea Group Co Ltd, Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201610455082.8A priority Critical patent/CN107529125B/en
Publication of CN107529125A publication Critical patent/CN107529125A/en
Application granted granted Critical
Publication of CN107529125B publication Critical patent/CN107529125B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • H04W84/20Master-slave selection or change arrangements

Abstract

The invention discloses a communication method and a communication device of Bluetooth equipment, wherein the communication method comprises the following steps: controlling a Bluetooth device serving as an intermediate device to switch master and slave modes by using a preset switching frequency, wherein the preset switching frequency is greater than human eye vision delay frequency, and the intermediate device is provided with a Bluetooth module; if the intermediate equipment is switched to the host mode, communicating with the controlled electric equipment serving as the slave end equipment to send a control instruction to the controlled electric equipment; and if the slave mode is switched, communicating with a control terminal as a master device. The equipment communication method of the embodiment of the invention can solve the problem that one Bluetooth equipment cannot be used as a master machine and a slave machine at the same time by periodically switching the master machine mode and the slave machine mode, improves the communication efficiency and is simple and convenient.

Description

Bluetooth device communication method and communication device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a communication method and a communication apparatus for a bluetooth device.
Background
The communication control system of the internet of things can adopt WIFI, Zigbee or Bluetooth for communication, but the WIFI or Bluetooth can be usually selected for scenes needing to be communicated with a mobile phone, and because the WIFI is high in cost and large in power consumption, the scenes needing to be communicated with the mobile phone generally adopt Bluetooth communication. As shown in fig. 1, for example, both class a devices and class B devices use bluetooth communication, when there is a mobile phone, the mobile phone is connected to device No. 1B, and device No. 1B is connected to device No. 1 a, so that real-time communication of 200 milliseconds is satisfied between communications. In addition, the requirement is that the A device number 1 can only communicate with the B device number 1, and the A device number 2 can only communicate with the B device number 2.
However, when bluetooth communication is performed between each pair of devices, one device must be a master device and the other device must be a slave device to perform the communication. That is, the same bluetooth device cannot be used as a master and a slave at the same time, and only the master and the slave can communicate with each other, for example, the B device No. 1 can only communicate with the a device No. 1, or the B device No. 1 can only communicate with a mobile phone, so that it cannot be ensured that the B device can stably communicate with both the a device and the mobile phone. Therefore, there is a need for an improvement in the device communication method in the related art.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, an object of the present invention is to provide a communication method for bluetooth devices, which can improve communication efficiency and is simple and convenient.
Another object of the present invention is to provide a bluetooth device communication apparatus.
In order to achieve the above object, an embodiment of an aspect of the present invention provides a bluetooth device communication method, including the following steps: controlling an intermediate device to switch a master mode and a slave mode by using a preset switching frequency, wherein the preset switching frequency is greater than a human eye vision delay frequency, and the intermediate device is provided with a Bluetooth module; if the intermediate equipment is switched to a host mode, communicating with controlled electric equipment serving as slave end equipment to send a control instruction to the controlled electric equipment; and if the intermediate equipment is switched to the slave mode, the intermediate equipment communicates with a control terminal serving as master equipment.
According to the communication method of the Bluetooth equipment, the master mode and the slave mode are switched by controlling the intermediate equipment at a certain switching frequency, so that the master mode and the slave mode are switched periodically, the stable communication between the intermediate equipment and the controlled electric equipment is ensured, the stable communication between the intermediate equipment and the control terminal is ensured, the problem that one Bluetooth equipment cannot be used as a master and a slave at the same time is solved, the communication efficiency is improved, and the method is simple and convenient.
In an embodiment of the present invention, the control instruction is obtained through the control terminal or the intermediate device.
Further, in an embodiment of the present invention, the method further includes: receiving pairing information broadcasted by the controlled electric equipment; judging whether the pairing information is correct or not; and if the pairing information is correct, sending a pairing request to the controlled electric equipment so as to communicate with the controlled electric equipment.
Further, in an embodiment of the present invention, before receiving the pairing information, the method further includes: receiving broadcast information of the controlled electric appliance equipment; judging whether the broadcast information is matched; and if the broadcast information is matched, sending the pairing information to the control electric equipment so as to enable the control electric equipment to broadcast the pairing information during pairing.
Alternatively, in one embodiment of the present invention, the human eye vision delay frequency may be 40 ms/time.
In order to achieve the above object, another embodiment of the present invention provides a bluetooth device communication apparatus, including: the switching module is used for controlling the intermediate equipment to switch between a master mode and a slave mode at a preset switching frequency, wherein the preset switching frequency is greater than human eye vision delay frequency, and the intermediate equipment is provided with a Bluetooth module; the first communication module is used for communicating with a controlled electric appliance device serving as a slave end device when the intermediate device is switched to a host mode so as to send a control instruction to the controlled electric appliance device; and the second communication module is used for communicating with the control terminal as the master end device when the intermediate device is switched to the slave mode.
According to the Bluetooth device communication device provided by the embodiment of the invention, the intermediate device is controlled to switch the master mode and the slave mode at a certain switching frequency, so that the master mode and the slave mode are periodically switched, the intermediate device is ensured to be stably communicated with the controlled electric appliance device, and is also ensured to be stably communicated with the control terminal, the problem that one Bluetooth device cannot be used as a master and a slave at the same time is solved, the communication efficiency is improved, and the Bluetooth device communication device is simple and convenient.
In an embodiment of the present invention, the apparatus further includes: and the generating module is used for generating the control instruction, so that the first communication module is also used for acquiring the control instruction through the control terminal or the generating module.
Further, in an embodiment of the present invention, the apparatus further includes: the first receiving module is used for receiving the pairing information broadcasted by the controlled electric equipment; the first judgment module is used for judging whether the pairing information is correct or not; and the first sending module is used for sending a pairing request to the controlled electric equipment to communicate with the controlled electric equipment when the pairing information is correct.
Further, in an embodiment of the present invention, the apparatus further includes: the second receiving module is used for receiving the broadcast information of the controlled electric appliance equipment; the second judgment module is used for judging whether the broadcast information is matched or not; and the second sending module is used for sending the pairing information to the control electric equipment when the broadcast information is matched, so that the control electric equipment broadcasts the pairing information when in pairing.
Alternatively, in one embodiment of the present invention, the human eye vision delay frequency may be 40 ms/time.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic view of an application scenario for communicating with a mobile phone in the related art;
FIG. 2 is a flow diagram of a method of device communication according to one embodiment of the invention;
FIG. 3 is a flow chart of a Bluetooth device B master slave mode switch according to one embodiment of the present invention;
fig. 4 is a flowchart of a control method of the bluetooth device a according to one embodiment of the present invention;
fig. 5 is a flowchart of a control method of the bluetooth device B according to an embodiment of the present invention;
FIG. 6 is a block diagram of a device communication apparatus according to one embodiment of the present invention;
FIG. 7 is a block schematic diagram of a device communication apparatus according to another embodiment of the present invention; and
fig. 8 is a block diagram of a device communication apparatus according to yet another embodiment of the present invention.
Reference numerals:
the device communication apparatus includes a device communication apparatus 100, a switching module 110, a first communication module 120, a second communication module 130, a first receiving module 140, a first determining module 150, a first sending module 160, a second receiving module 170, a second determining module 180, and a second sending module 190.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A communication method and a communication apparatus of a bluetooth device according to an embodiment of the present invention are described below with reference to the accompanying drawings.
Fig. 2 is a flow chart of a device communication method according to an embodiment of the present invention.
As shown in fig. 2, the device communication method includes the steps of:
in step S201, the intermediate device is controlled to perform master-slave mode switching at a preset switching frequency, wherein the preset switching frequency is greater than the human eye vision delay frequency, and the intermediate device has a bluetooth module.
Alternatively, in one embodiment of the present invention, the human eye vision delay frequency may be 40 milliseconds/time. It should be noted that the human eye visual delay frequency is only for illustrative purposes, and the frequency value is not limited thereto. Since the human eye visual delay is equal to that the bluetooth device simultaneously operates as the master and the slave when the switching frequency is higher than 40 ms/time, the human eye visual delay frequency is preferably 40 ms/time.
In step S202, if the intermediate device is switched to the master mode, communication is performed with the controlled electric appliance as the slave device to transmit a control instruction to the controlled electric appliance.
In one embodiment of the invention, the control instruction is obtained by the control terminal or the intermediate device.
For example, as shown in fig. 3, if the intermediate device, such as the bluetooth device B, is switched to the master mode, the controlled electrical device, such as the bluetooth device a, as the slave device enters the slave mode, and at this time, the bluetooth device a provides its own data to the bluetooth device B, and may receive a control instruction (which may be a control instruction for controlling the bluetooth device a by the bluetooth device B itself, or a control instruction for controlling the bluetooth device a by the control terminal, such as a mobile phone, through the bluetooth device B).
In step S203, if the intermediate device is switched to the slave mode, communication is performed with the control terminal as the master device.
Further, as shown in fig. 3, if the bluetooth device B is switched to the slave mode, the control terminal serving as the master device, i.e., the mobile phone, enters the master mode, and the mobile phone can receive data of the bluetooth device B and issue a control command to the bluetooth device B.
It should be noted that step S201, step S202, and step S203 are only for facilitating understanding of those skilled in the art, and specific steps are not particularly limited.
Specifically, a bluetooth device a (equivalent to device a No. 1 in class a device in fig. 1) is only used as a slave of a data provider, a bluetooth device B (equivalent to device B No. 1 in class B device in fig. 1) switches a master-slave mode at a speed faster than human visual delay, and during the time when the bluetooth device B operates in the master mode, the bluetooth device B acquires broadcast data of the bluetooth device a and connects the bluetooth device a, so as to transmit a control instruction of its own control device a or a control instruction of a mobile phone control device a to the bluetooth device a; during the time when it is operating in the slave mode, the bluetooth device B stably communicates with the handset, thereby exchanging data. Because the mode switching frequency of the master-slave machine of the Bluetooth device B can be higher than 40 milliseconds/time, the Bluetooth device B is perceived to work as the master-slave machine at the same time due to the vision delay of human eyes, the problem that one Bluetooth device cannot be used as the master-slave machine at the same time is solved, the communication efficiency is improved, and the method is simple and convenient.
The above describes in detail how to solve the problem that a single bluetooth device cannot be used as a master and a slave at the same time, and the following describes in detail the problem of identification of two bluetooth devices in the case where there are many identical bluetooth devices.
Further, in an embodiment of the present invention, the method of an embodiment of the present invention further includes: receiving pairing information broadcasted by controlled electrical equipment; judging whether the pairing information is correct or not; and if the pairing information is correct, sending a pairing request to the controlled electric appliance device to communicate with the controlled electric appliance device.
In an embodiment of the present invention, before receiving the pairing information, the method of the embodiment of the present invention further includes: receiving broadcast information of controlled electrical equipment; judging whether the broadcast information is matched; and if the broadcast information is matched, sending pairing information to the control electric equipment so that the control electric equipment broadcasts the pairing information when in pairing.
It can be understood that, the bluetooth device a is used as a slave, that is, as a data provider, data is always broadcast, the bluetooth device B may switch between the master and the slave at a frequency higher than 40 ms/time, and during the time period when the bluetooth device B is used as the slave, the bluetooth device B may be connected to the mobile phone (master) to exchange data; in the time period when the bluetooth device B is used as the master, the bluetooth device B and the bluetooth device a (slave) are connected to exchange data. Equivalently, the bluetooth device B may be a master and a slave, and simultaneously communicate with the bluetooth device a (slave) and the mobile phone (master).
Fig. 4 is a flowchart of a control method of the bluetooth device a according to an embodiment of the present invention. As shown in fig. 4, it includes the following steps:
in step S401, it is determined whether there is storage paired device information or key information. If so, go to step S403; if not, step S402 is performed.
If the pairing is not the first pairing, the bluetooth device a stores pairing information, and the pairing information may include pairing device information, key information, pairing address, and the like.
In step S402, data (without pairing information) is broadcast.
That is, if it is the first pairing, the bluetooth device a broadcasts data, and the bluetooth device B receives the broadcast data and performs the corresponding steps (described in detail below).
In step S403, data (carrying pairing information) is broadcast.
Fig. 5 is a flowchart of a control method of the bluetooth device B according to an embodiment of the present invention. As shown in fig. 5, it includes the following steps:
in step S501, it is determined whether broadcast data is received. If yes, go to step S502; if not, step S501 is continued.
That is, first, the bluetooth device B determines whether broadcast data, which may be transmitted by a plurality of bluetooth devices, is received, not necessarily the bluetooth device a, so that further determination is required.
In step S502, it is determined whether or not the pairing address is the own address.
It can be understood that, the data broadcast by the bluetooth device a may carry the pairing information, and then it may be determined whether the pairing information is correct, for example, whether the pairing address is the address of its own.
In step S503, a pairing request is transmitted.
That is, if the pairing information is correct, a pairing request is sent to the bluetooth device a to perform bluetooth communication with the bluetooth device a.
Specifically, as shown in fig. 4 and fig. 5, during the first pairing, the bluetooth device a may broadcast information carrying information such as "i want to pair" (push button to send out), and after getting the broadcast information, the bluetooth device B sends out a pairing request if it is clear that it is the device that is paired with it. If the Bluetooth device A detects that the Bluetooth device A is successfully paired with the Bluetooth device B, the pairing information of the paired Bluetooth device B is stored, so that if the Bluetooth device A needs to be connected with the Bluetooth device B, the Bluetooth device A firstly inquires the storage area of the Bluetooth device A to judge whether the pairing information of the Bluetooth device B needing to be paired exists, if the pairing information exists, the pairing information (which can contain the address information of the Bluetooth device B needing to be paired) is broadcasted, if the Bluetooth device B receives the broadcast information, if the pairing device information in the broadcast information points to the Bluetooth device A, a pairing request is sent, and if the pairing device information in the broadcast information points.
According to the equipment communication method provided by the embodiment of the invention, the master-slave mode switching of the intermediate equipment is controlled at a certain switching frequency, so that the master mode and the slave mode are periodically switched, the stable communication between the intermediate equipment and the controlled electric equipment is ensured, the stable communication between the intermediate equipment and the control terminal is ensured, the problem that one Bluetooth equipment cannot be used as a master and a slave simultaneously is solved, the communication efficiency is improved, and the identity identification can be accurately carried out under the condition that a plurality of Bluetooth equipment exist, so that the method is simple and convenient.
In order to implement the above embodiments, the present invention further provides an apparatus communication device.
Fig. 6 is a block schematic diagram of a device communication apparatus of an embodiment of the present invention. As shown in fig. 6, the device communication apparatus 100 according to the embodiment of the present invention includes: a switching module 110, a first communication module 120, and a second communication module 130.
The switching module 110 is configured to control the intermediate device to perform master-slave mode switching at a preset switching frequency, where the preset switching frequency is greater than a human eye vision delay frequency, and the intermediate device has a bluetooth module. When the intermediate device switches to the master mode, the first communication module 120 is configured to communicate with the controlled electrical device as a slave device to transmit the control instruction to the controlled electrical device. The second communication module 130 is used to communicate with the control terminal as a master device when the intermediate device is switched to the slave mode. The device communication apparatus 100 of the embodiment of the present invention can solve the problem that one bluetooth device cannot be used as a master device and a slave device at the same time by periodically switching the master mode and the slave mode, thereby improving the communication efficiency.
In one embodiment of the present invention, the apparatus 100 of the embodiment of the present invention further comprises: a generation module (not specifically identified in the figure). The generating module is configured to generate a control instruction, so that the first communication module 120 is further configured to obtain the control instruction through the control terminal or the generating module.
Further, in an embodiment of the present invention, as shown in fig. 7, the apparatus 100 of the embodiment of the present invention further includes: a first receiving module 140, a first judging module 150 and a first sending module 160.
The first receiving module 140 is configured to receive pairing information broadcast by the controlled electrical device. The first determining module 150 is configured to determine whether the pairing information is correct. When the pairing information is correct, the first sending module 160 is configured to send a pairing request to the controlled electrical device to communicate with the controlled electrical device.
Further, in an embodiment of the present invention, as shown in fig. 8, the apparatus 100 of the embodiment of the present invention further includes: a second receiving module 170, a second judging module 180 and a second sending module 190.
The second receiving module 170 is configured to receive broadcast information of the controlled electrical device. The second judging module 180 is used for judging whether the broadcast information is matched. When the broadcast information matches, the second sending module 190 is configured to send pairing information to the control electrical device, so that the control electrical device broadcasts the pairing information when pairing.
Alternatively, in one embodiment of the present invention, the human eye vision delay frequency may be 40 milliseconds/time.
It should be noted that the foregoing explanation on the embodiment of the device communication method is also applicable to the device communication apparatus of this embodiment, and details are not described here again.
According to the equipment communication device provided by the embodiment of the invention, the master-slave mode switching of the intermediate equipment is controlled at a certain switching frequency, so that the master mode and the slave mode are periodically switched, the stable communication between the intermediate equipment and the controlled electric equipment is ensured, the stable communication between the intermediate equipment and the control terminal is ensured, the problem that one Bluetooth equipment cannot be used as a master and a slave simultaneously is solved, the communication efficiency is improved, and the identity recognition can be accurately carried out under the condition that a plurality of Bluetooth equipment exist, so that the equipment communication device is simple and easy to realize.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the invention and to simplify the description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. A bluetooth device communication method, comprising the steps of:
controlling a Bluetooth device serving as an intermediate device to switch master and slave modes by using a preset switching frequency, wherein the preset switching frequency is greater than human eye vision delay frequency, and the intermediate device is provided with a Bluetooth module;
if the intermediate equipment is switched to a host mode, communicating with controlled electric equipment serving as slave end equipment to send a control instruction to the controlled electric equipment; and
and if the intermediate equipment is switched to the slave mode, the intermediate equipment communicates with a control terminal serving as master equipment.
2. The bluetooth device communication method according to claim 1, wherein the control instruction is acquired by the control terminal or the intermediate device.
3. The bluetooth device communication method of claim 1, further comprising:
receiving pairing information broadcasted by the controlled electric equipment;
judging whether the pairing information is correct or not;
and if the pairing information is correct, sending a pairing request to the controlled electric equipment so as to communicate with the controlled electric equipment.
4. The bluetooth device communication method of claim 3, further comprising, before receiving the pairing information:
receiving broadcast information of the controlled electric appliance equipment;
judging whether the broadcast information is matched;
and if the broadcast information is matched, sending the pairing information to the control electric equipment so as to enable the control electric equipment to broadcast the pairing information during pairing.
5. The bluetooth device communication method according to claim 1, wherein the human eye vision delay frequency is 40 msec/time.
6. A bluetooth device communication apparatus, comprising:
the switching module is used for controlling the Bluetooth equipment serving as the intermediate equipment to switch between a master mode and a slave mode by using a preset switching frequency, wherein the preset switching frequency is greater than human eye vision delay frequency, and the intermediate equipment is provided with a Bluetooth module;
the first communication module is used for communicating with a controlled electric appliance device serving as a slave end device when the intermediate device is switched to a host mode so as to send a control instruction to the controlled electric appliance device; and
and the second communication module is used for communicating with the control terminal as the master end device when the intermediate device is switched to the slave mode.
7. The bluetooth device communication apparatus of claim 6, further comprising:
and the generating module is used for generating the control instruction, so that the first communication module is also used for acquiring the control instruction through the control terminal or the generating module.
8. The bluetooth device communication apparatus of claim 6, further comprising:
the first receiving module is used for receiving the pairing information broadcasted by the controlled electric equipment;
the first judgment module is used for judging whether the pairing information is correct or not;
and the first sending module is used for sending a pairing request to the controlled electric equipment to communicate with the controlled electric equipment when the pairing information is correct.
9. The bluetooth device communication apparatus of claim 8, further comprising:
the second receiving module is used for receiving the broadcast information of the controlled electric appliance equipment;
the second judgment module is used for judging whether the broadcast information is matched or not;
and the second sending module is used for sending the pairing information to the control electric equipment when the broadcast information is matched, so that the control electric equipment broadcasts the pairing information when in pairing.
10. The bluetooth device communication apparatus according to claim 6, wherein the human eye vision delay frequency is 40 msec/time.
CN201610455082.8A 2016-06-20 2016-06-20 Bluetooth device communication method and communication device Active CN107529125B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610455082.8A CN107529125B (en) 2016-06-20 2016-06-20 Bluetooth device communication method and communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610455082.8A CN107529125B (en) 2016-06-20 2016-06-20 Bluetooth device communication method and communication device

Publications (2)

Publication Number Publication Date
CN107529125A CN107529125A (en) 2017-12-29
CN107529125B true CN107529125B (en) 2021-05-25

Family

ID=60734072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610455082.8A Active CN107529125B (en) 2016-06-20 2016-06-20 Bluetooth device communication method and communication device

Country Status (1)

Country Link
CN (1) CN107529125B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7197991B2 (en) * 2018-04-02 2022-12-28 富士通コンポーネント株式会社 Communication systems and printers
CN111083746A (en) * 2018-10-18 2020-04-28 北京轩辕联科技有限公司 Mode-switchable Bluetooth device, Bluetooth connection system and Bluetooth connection method
CN109951833B (en) * 2019-03-26 2021-04-13 佛山市顺德区美的洗涤电器制造有限公司 Intelligent control device, household appliance and networking control method and system thereof
CN109921968B (en) * 2019-03-26 2021-02-02 佛山市顺德区美的洗涤电器制造有限公司 Intelligent control device, and networking control method and system of household electrical appliance
CN111948962B (en) * 2020-07-14 2022-02-22 深圳市优必选科技股份有限公司 Robot synchronization control method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1107522B1 (en) * 1999-12-06 2010-06-16 Telefonaktiebolaget LM Ericsson (publ) Intelligent piconet forming
CN103518418A (en) * 2012-09-27 2014-01-15 华为终端有限公司 Connecting method between Bluetooth devices and device
CN105119844A (en) * 2015-09-07 2015-12-02 中国联合网络通信集团有限公司 Method and device for controlling working mode of built-in WIFI module
CN105120499A (en) * 2015-08-21 2015-12-02 深圳Tcl数字技术有限公司 Bluetooth master-slave mode automatic switching method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030060222A1 (en) * 2001-09-25 2003-03-27 Johan Rune Network access point with auxiliary transceiver
US20020159401A1 (en) * 2001-04-25 2002-10-31 Brightcom Technologies Ltd. Masterless slave / master role switch in a bluetooth piconet
CN105101362A (en) * 2014-05-05 2015-11-25 刘洪明 Method of reducing signal transmitting radiation of Bluetooth low-power consumption equipment and system
CN104581617A (en) * 2015-01-22 2015-04-29 小米科技有限责任公司 Wireless communication method and intelligent equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1107522B1 (en) * 1999-12-06 2010-06-16 Telefonaktiebolaget LM Ericsson (publ) Intelligent piconet forming
CN103518418A (en) * 2012-09-27 2014-01-15 华为终端有限公司 Connecting method between Bluetooth devices and device
CN105120499A (en) * 2015-08-21 2015-12-02 深圳Tcl数字技术有限公司 Bluetooth master-slave mode automatic switching method and system
CN105119844A (en) * 2015-09-07 2015-12-02 中国联合网络通信集团有限公司 Method and device for controlling working mode of built-in WIFI module

Also Published As

Publication number Publication date
CN107529125A (en) 2017-12-29

Similar Documents

Publication Publication Date Title
CN107529125B (en) Bluetooth device communication method and communication device
JP5976521B2 (en) Frame-based wireless energy transmission method and transmission / reception apparatus
EP2203966B1 (en) Method of controlling a power transfer system and power transfer system
KR101742985B1 (en) The method of determining group owner in peer to peer network and the device thereof
JP6408753B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
CN108767954B (en) Remote wireless charging system, control system and method for smart home
EP3920572B1 (en) Measurement gap configuration method, apparatus, device, terminal and system
CN103686674A (en) Network access method, intelligent terminal and WiFi access equipment
CN112752239B (en) Direct connection communication method and device
CN111490915A (en) Method and system for controlling intelligent household electrical appliance through voice
EP3110074B1 (en) Method for controlling electronic device, control terminal, and system
CN105830503A (en) Connection method for smart home device and apparatus thereof
CN103781016A (en) Method and device for selecting communication mode and terminal
CN110557327A (en) Independent IoT gateway capable of directly linking with user terminal by using short-range communication technology
JP2014079091A (en) Communication system, receiver, transmitter, control method, and program
CN105069875A (en) Electronic key, electronic devices and electronic device networking/pairing method
CN105338472A (en) Wireless routing equipment, wireless routing system and communication method
CN105471983A (en) Method and system for establishing internet-of-things communication
CN104486174A (en) Networking method and networking device for intelligent terminals
JP6272066B2 (en) Communication device, control method, and program
CN104822167A (en) Selecting method for switching NFC carriers, device and system thereof
CN104602281A (en) Control method, device and system for mobile terminals and mobile terminals
EP3093954B1 (en) Method and device for starting near field communication (nfc) wireless charging service
EP3554003B1 (en) Network system
CN105307267A (en) Paging method and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant