CN112055342B - Connection-based Bluetooth communication method, system and main equipment - Google Patents

Connection-based Bluetooth communication method, system and main equipment Download PDF

Info

Publication number
CN112055342B
CN112055342B CN201910818604.XA CN201910818604A CN112055342B CN 112055342 B CN112055342 B CN 112055342B CN 201910818604 A CN201910818604 A CN 201910818604A CN 112055342 B CN112055342 B CN 112055342B
Authority
CN
China
Prior art keywords
data packet
current data
packet
received
slave device
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
CN201910818604.XA
Other languages
Chinese (zh)
Other versions
CN112055342A (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.)
Hefei Torch Core Intelligent Technology Co ltd
Original Assignee
Hefei Torch Core Intelligent 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 Hefei Torch Core Intelligent Technology Co ltd filed Critical Hefei Torch Core Intelligent Technology Co ltd
Priority to CN201910818604.XA priority Critical patent/CN112055342B/en
Publication of CN112055342A publication Critical patent/CN112055342A/en
Application granted granted Critical
Publication of CN112055342B publication Critical patent/CN112055342B/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/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention relates to a connection-based Bluetooth communication method, a system and a master device, wherein the connection-based Bluetooth communication method comprises the following steps: a state judgment step: judging whether the slave equipment is currently in a receiving state of a connection channel established with the master equipment; a transmitting step: and if the slave equipment is in the receiving state, transmitting the current data packet to the slave equipment. By implementing the technical scheme of the invention, the times of transmitting the data packet by the main equipment can be reduced, thereby reducing the starting times and time of the Bluetooth transceiver module, and effectively reducing the power consumption of the main equipment.

Description

Connection-based Bluetooth communication method, system and main equipment
Technical Field
The present invention relates to the field of bluetooth communication, and in particular, to a bluetooth communication method, system and host device based on connection.
Background
In recent years, with the popularization of smart phones, bluetooth wireless communication technology has been widely used, and among them, portable audio devices such as bluetooth speakers and earphones, which are centered around mobile phones, are more popular among consumers.
The Bluetooth technology is divided into two types, one is Classic Bluetooth technology (Classic Bluetooth), and the other is Bluetooth Low energy technology ble (Bluetooth Low energy). Classic bluetooth is applied to the transmission of closely big data volume, like audio and video, and BLE then is used for the transmission of a little data of a little distance, like heartbeat count, temperature measurement etc. obviously, because the data bulk that bluetooth equipment who applies classic bluetooth technique transmits is more, so, the power consumption level of classic bluetooth will be higher than BLE a lot.
Because of the high power consumption of classic bluetooth, portable devices using classic bluetooth are generally devices equipped with large capacity batteries, such as mobile phones and speakers. However, some devices such as in-ear headphones and micro microphones cannot be placed in a large-capacity battery due to the limitation of body types, and therefore, higher requirements are also put on the power consumption of the classic bluetooth. Then, how to reduce the power consumption of the classical bluetooth devices has been the direction of research by manufacturers.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a bluetooth communication method, system and host device based on connection, aiming at the defect of high power consumption of bluetooth devices in the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: a connection-based Bluetooth communication method is constructed, applied to a main device, and comprises the following steps:
a state judgment step: judging whether the slave equipment is currently in a receiving state of a connection channel established with the master equipment;
a transmitting step: and if the slave equipment is in the receiving state, transmitting the current data packet to the slave equipment.
Preferably, the determining whether the slave device is currently in a receiving state of the connection channel established with the master device includes:
and transmitting a query packet to the slave equipment, detecting whether a first response packet transmitted by the slave equipment is received, if so, determining to be in a receiving state, otherwise, determining not to be in the receiving state.
Preferably, if the mobile terminal is not in the receiving state, the state determining step is executed again after waiting for a first preset time.
Preferably, after transmitting the current data packet to the slave device, the method further includes:
detecting whether a second response packet transmitted by the slave device is received;
if the second response packet is received, judging whether the slave equipment correctly receives the current data packet or not through the second response packet, if not, retransmitting the current data packet to the slave equipment, and if so, replacing the current data packet and then transmitting a new current data packet to the slave equipment; and/or the presence of a gas in the gas,
and if the second response packet is not received, waiting for a second preset time and then executing the state judgment step again.
Preferably, after transmitting the current data packet to the slave device, the method further includes:
detecting whether a second response packet transmitted by the slave device is received;
if the second response packet is not received, after waiting for a third preset time, transmitting all or part of data packets to be transmitted by adopting a standard Bluetooth transmitting mode; and/or the presence of a gas in the gas,
if the second response packet is received, judging whether the slave equipment correctly receives the current data packet or not through the second response packet, and if the current data packet is not correctly received, retransmitting the current data packet to the slave equipment; and if the data packet is correctly received, transmitting a new current data packet to the slave equipment after the current data packet is replaced.
Preferably, after transmitting the current data packet to the slave device, the method further includes:
detecting whether a second response packet transmitted by the slave device is received;
if the second response packet is not received, adding a mark, judging whether the value of the mark reaches a preset value N, wherein N is an integer greater than 0, and when the value of the mark reaches the preset value N, after waiting for a third preset time, transmitting all or part of data packets to be transmitted in a standard Bluetooth transmitting mode, and clearing the mark; when the marked numerical value does not reach a preset value N, executing the state judgment step; and/or the presence of a gas in the gas,
and if the second response packet is received, clearing the mark, judging whether the slave equipment correctly receives the current data packet or not through the second response packet, if not, retransmitting the current data packet to the slave equipment, and if so, replacing the current data packet and then transmitting a new current data packet to the slave equipment.
Preferably, after retransmitting the current data packet to the slave device or transmitting a new current data packet to the slave device, the method further comprises:
detecting whether a third response packet transmitted by the slave equipment is received;
if the third response packet is received, judging whether the slave equipment correctly receives the current data packet or not through the third response packet, and if the current data packet is not correctly received, retransmitting the current data packet to the slave equipment; if the data packet is correctly received, the current data packet is replaced, and then a new current data packet is transmitted to the slave equipment; and/or the presence of a gas in the gas,
and if the third response packet is not received, executing the state judgment step after waiting for a fourth preset time.
Preferably, the current data packet is obtained from a storage queue, and is a first data packet to be read in the storage queue;
the storage queue is a first-in first-out (FIFO) queue.
Preferably, before the step of judging the state, the method further comprises:
judging whether the number of the data packets in the FIFO queue is smaller than a preset value M, if so, executing the state judgment step; if not, transmitting part or all of the data packets in the storage queue by adopting a standard Bluetooth transmission mode.
The invention also relates to a master device of a connection-based bluetooth communication system, comprising a processor which, when running a stored computer program, carries out the steps of the connection-based bluetooth communication method described above.
The present invention also constructs a master device of a connection-based bluetooth communication system, comprising:
the first state judgment module is used for judging whether the slave equipment is currently in a receiving state of a connection channel established with the master equipment;
and the transmitting module is used for transmitting the current data packet to the slave equipment when the receiving module is in a receiving state.
Preferably, the method further comprises the following steps: the device comprises a second state judgment module, a third state judgment module, a fourth state judgment module and a quantity judgment module;
the first state judgment module is used for transmitting a query packet to the slave device, detecting whether a first response packet transmitted by the slave device is received, determining that the slave device is in a receiving state if the first response packet is received, otherwise determining that the slave device is not in the receiving state, and executing the first state judgment module again after waiting for a first preset time when the slave device is not in the receiving state;
a second state judgment module, configured to detect whether a second response packet transmitted by the slave device is received after a current data packet is transmitted to the slave device, if the second response packet is received, judge whether the slave device correctly receives the current data packet through the second response packet, if the current data packet is incorrectly received, retransmit the current data packet to the slave device, if the current data packet is correctly received, replace the current data packet, and then transmit a new current data packet to the slave device, and/or, if the second response packet is not received, wait for a second preset time and then execute the first state judgment module again;
the third state judgment module is used for detecting whether a second response packet transmitted by the slave equipment is received or not after the current data packet is transmitted to the slave equipment, and transmitting part or all of the data packets to be transmitted by adopting a standard Bluetooth transmission mode after waiting for a third preset time if the second response packet is not received; and/or, if the second response packet is received, judging whether the slave device correctly receives the current data packet or not through the second response packet, if not, retransmitting the current data packet to the slave device, and if so, replacing the current data packet and then transmitting a new current data packet to the slave device;
the fourth state determining module is configured to detect whether a third response packet transmitted by the slave device is received after the current data packet is retransmitted to the slave device or a new current data packet is transmitted to the slave device, determine whether the slave device correctly receives the current data packet according to the third response packet if the third response packet is received, and retransmit the current data packet to the slave device if the current data packet is not correctly received; if the data packet is correctly received, the current data packet is replaced, and then a new current data packet is transmitted to the slave equipment; and/or, if the third response packet is not received, executing the first state judgment module after waiting for a fourth preset time;
the current data packet is obtained from a storage queue and is the first data packet to be read in the storage queue; the storage queue is a first-in first-out (FIFO) queue;
the number judgment module is used for judging whether the number of the data packets in the FIFO queue is smaller than a preset value M or not before the first state judgment module is executed, and if so, executing the first state judgment module; if not, transmitting part or all of the data packets in the storage queue by adopting a standard Bluetooth transmission mode;
or, the third state judgment module is configured to detect whether a second response packet transmitted by the slave device is received after transmitting the current data packet to the slave device, add a flag if the second response packet is not received, and judge whether a flag value reaches a preset value N, where N is an integer greater than 0, and when the flag value reaches the preset value N, after waiting for a third preset time, transmit a part or all of the data packets to be transmitted in a standard bluetooth transmission mode, and clear the flag; when the marking numerical value does not reach the preset value N, executing a first state judgment module; and/or clearing the mark if the second response packet is received, judging whether the slave equipment correctly receives the current data packet or not through the second response packet, retransmitting the current data packet to the slave equipment if the current data packet is not correctly received, and transmitting a new current data packet to the slave equipment after replacing the current data packet if the current data packet is correctly received.
The present invention also constructs a connection-based bluetooth communication system comprising:
the master device described above;
and a slave device.
By implementing the technical scheme of the invention, the master device determines whether to transmit the data packet according to the detection condition by detecting whether the slave device is in the receiving state currently, so that the times of transmitting the data packet by the master device can be reduced, the starting times and time of the Bluetooth transceiver module can be reduced, and the power consumption of the master device can be effectively reduced.
Drawings
In order to illustrate the embodiments of the invention more clearly, the drawings that are needed in the description of the embodiments will be briefly described below, it being apparent that the drawings in the following description are only some embodiments of the invention, and that other drawings may be derived from those drawings by a person skilled in the art without inventive effort. In the drawings:
FIG. 1 is an aerial image captured in a standard Bluetooth transmission mode;
FIG. 2A is an aerial view of a master device being grasped in one prior art scenario;
FIG. 2B is an aerial view of a master device being grabbed under another existing scenario;
FIG. 3 is a flow chart of a first embodiment of a connection-based Bluetooth communication method of the present invention;
FIG. 4 is a flowchart of a second embodiment of the connection-based Bluetooth communication method of the present invention;
FIG. 5A is an aerial view of a master device being grasped in a first aspect of the invention;
FIG. 5B is an aerial view of a master device being grasped in a second scenario of the invention;
FIG. 5C is an aerial view of a master device being grabbed under a third scenario of the present invention;
FIG. 5D is an aerial view of a master device being grasped in a fourth scenario of the present invention;
FIG. 6 is a flow chart of a third embodiment of the connection-based Bluetooth communication method of the present invention;
fig. 7 is a flowchart of a fourth embodiment of the connection-based bluetooth communication method of the present invention.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings.
The embodiments/examples described herein are specific embodiments of the present invention, are intended to be illustrative of the concepts of the present invention, are intended to be illustrative and exemplary, and should not be construed as limiting the embodiments and scope of the invention. In addition to the embodiments described herein, those skilled in the art will be able to employ other technical solutions which are obvious based on the disclosure of the claims and the specification of the present application, and these technical solutions include those which make any obvious replacement or modification of the embodiments described herein, and all of which are within the scope of the present invention. In addition, without conflict, the embodiments and features in the embodiments in the present application may be combined with each other, and the order of steps in the following embodiments may be adjusted without conflict.
It is noted that, in the classic bluetooth technology, since a bluetooth slave generally supports multiple bluetooth masters and maintains connection and transmission simultaneously, or supports only one bluetooth master connection while allowing discovery by other bluetooth masters, the air bandwidth of such a bluetooth slave is actually time-multiplexed, and the bluetooth slave may not respond to a request from the bluetooth master in time, whereas the existing bluetooth master (i.e. in the standard bluetooth transmission mode) does not know whether the non-response of the bluetooth slave is caused by air interference or is using a connection channel established with other masters to listen to air transmissions of other piconets, etc., i.e. the bluetooth slave is not currently in an active (receiving) state in the piconet in which the master is located. In this case, the master device can only retransmit the data packet continuously until receiving the response packet of the bluetooth slave device, as shown in fig. 1, after the master device finishes transmitting the data packet D carrying valid data, if the response packet a returned by the slave device is not received in the response slot, the data packet D will be retransmitted continuously, and only when the response packet a returned by the slave device is received and the correct reception is determined, the transmission of the data will be ended. For the bluetooth master device, each retransmission requires turning on its bluetooth transceiver module, and the power consumption of the bluetooth master device mainly comes from the transmission and reception of the bluetooth transceiver module, so the power consumption of the bluetooth master device using the existing classical bluetooth protocol is larger. Therefore, the power consumption of the Bluetooth master device can be effectively reduced as long as the starting times and time of the Bluetooth transceiver module are effectively controlled.
In addition, in the bluetooth protocol, two packets, namely, the poll packet and the null packet, consume the shortest time of the bluetooth transceiver module, and only have the header and no payload, so that the time consumption is the shortest and the transmission power consumption is the smallest when the bluetooth transceiver module transmits the data. In the standard bluetooth protocol, the poll packet is an inquiry packet that the bluetooth master device regularly transmits to the bluetooth slave device when there is no effective data to transmit, and if the bluetooth slave device has no data to transmit to the bluetooth master device, a null packet will be transmitted to the master device in a response slot following the poll packet, which indicates that there is no data to transmit, as shown in fig. 2A; if the bluetooth slave has data to send to the bluetooth master, a data reply packet DM1 is transmitted to the bluetooth master in the response slot following the poll packet, as shown in fig. 2B.
Fig. 3 is a flowchart of a first embodiment of the connection-based bluetooth communication method of the present invention, which is applied in a master device and includes the following steps:
state determination step S10: judging whether the slave equipment is currently in a receiving state of a connection channel established with the master equipment;
transmission step S20: and if the slave equipment is in the receiving state, transmitting the current data packet to the slave equipment.
In the technical solution of this embodiment, the master device determines whether to transmit a packet according to a detection condition by detecting whether the slave device is currently in a receiving state, so as to reduce the number of times that the master device transmits the packet, thereby reducing the number of times and time that the bluetooth transceiver module is turned on.
Further, the connection-based bluetooth communication method of the present invention further comprises: if the slave device is not in the receiving state, which means that the slave device is not ready, the state determination step S10 is executed again after waiting for the first preset time. The first predetermined time is waited to avoid a possible non-receiving state, and to reduce useless transmission and thus power consumption.
Further, the state judgment step S10 includes:
transmitting a query packet (such as a poll packet) to the slave device, detecting whether a first response packet transmitted by the slave device is received, and determining that the slave device is in a receiving state if the first response packet is received, otherwise determining that the slave device is not in the receiving state. It should be understood that the first reply packet is a reply packet of the slave device, not just a null packet, but also all types of packets of bluetooth.
In one embodiment, the state determination step S10 includes: the method comprises the steps that a Bluetooth transceiver module of a master device is arranged to enable the Bluetooth transceiver module to transmit a query packet to a slave device in an upcoming first transmission time slot, whether a first response packet transmitted by the slave device is received in a response time slot after the first transmission time slot is judged, if yes, the Bluetooth transceiver module is determined to be in a receiving state, and if not, the Bluetooth transceiver module is determined not to be in the receiving state. The transmitting step S20 includes: and when the master device is determined to be in the receiving state, the Bluetooth transceiver module of the master device is set to enable the Bluetooth transceiver module of the master device to transmit the current data packet to the slave device in a second transmission time slot after the first transmission time slot.
Further, after the transmitting step S20, that is, after the master device has transmitted the current packet to the slave device, the connection-based bluetooth communication method of the present invention further includes:
detecting whether a second response packet transmitted by the slave device is received, wherein the second response packet is understood to be a response packet of the slave device to the current data packet;
if the second response packet is received, judging whether the slave equipment correctly receives the current data packet or not through the second response packet, if not, retransmitting the current data packet to the slave equipment, and if so, replacing the current data packet and then transmitting a new current data packet to the slave equipment; and/or the presence of a gas in the gas,
if the second response packet is not received, the state determination step S10 is executed again after waiting for a second preset time.
In a specific embodiment, if the master device transmits the current data packet to the slave device in the second transmission time slot, the response time slot after the second transmission time slot detects whether the second response packet transmitted by the slave device is received, and if the second response packet is not received, it is determined that the slave device is not currently in the receiving state of the connection channel established with the master device, at this time, the current data packet is not retransmitted in the upcoming third transmission time slot, but the state determination step S10 is executed again after waiting for the second preset time. If the second response packet is received, the slave device is determined to be in a receiving state, and at this time, a data packet carrying valid data can be transmitted in the third upcoming transmission time slot. Whether the current packet or the next packet is transmitted at the end of the third time slot may be determined by whether the current packet is transmitted successfully and/or a preset number of transmissions.
First, the method for determining whether the current data packet is successfully transmitted may be, in one implementation,: after receiving the current data packet, the slave device determines whether the current data packet is correctly received, for example, whether the current data packet is correctly received may be determined by performing a whole packet check and/or a segment check on the received data packet, and if the current data packet is not correctly received, the acknowledgement character in the generated second response packet is set as NAK and sent to the master device; if the acknowledgement is correctly received, the acknowledgement character in the generated second acknowledgement packet is set to ACK. In this way, the master device can confirm whether the current data packet is correctly received by the slave device according to the confirmation character in the received second response packet.
Secondly, as to which data packet is transmitted at the third time slot, in one implementation, if the master device determines that the slave device correctly receives the current data packet, the next data packet may be set as a new current data packet, and then the new current data packet is transmitted at the third time slot; if the master device determines that the slave device does not correctly receive the current data packet, the master device may retransmit the current data packet at the third transmission timeslot. In another implementation manner, the master device retransmits the current data packet in a third transmission time slot when determining that the transmission frequency of the current data packet does not reach the preset transmission frequency according to the preset transmission frequency; and when the sending times of the current data packet reach the preset sending times, setting the next data packet as a new current data packet, and then transmitting the new current data packet in the third transmitting time slot.
Fig. 4 is a flowchart of a second embodiment of the connection-based bluetooth communication method according to the present invention, where the bluetooth communication method of this embodiment is applied to a main device, and the main device includes a processor and a bluetooth transceiver module, it should be understood that the working principle of the bluetooth transceiver module is the same as that of the existing bluetooth transceiver module, and details are not repeated here, and only the working process of the processor is described below:
after receiving a data packet to be transmitted from an application layer, the master device controls the bluetooth transceiver module to transmit a poll packet to the slave device before transmitting an effective data packet, controls the bluetooth transceiver module to listen to a response packet of the slave device in a response time slot, and then judges whether the response packet is received in the response time slot.
If no response packet is received, the slave equipment is not ready at the moment, the transmission of the round is finished, and after waiting for the specified time, the Bluetooth transceiver module is controlled to transmit the poll packet again.
If the answer packet is received, the Bluetooth transceiver module is controlled to transmit the data packet carrying the effective data, and the Bluetooth transceiver module is controlled again to listen to the answer packet of the slave device in the answer time slot, and then whether the answer packet is received in the answer time slot is judged.
If the response packet is received again, the slave device is considered to be still monitoring the air transmission of the current piconet, and at the moment, if the data packet to be transmitted is judged to be still remained, the Bluetooth transceiving module can be continuously controlled to transmit the data packet carrying the effective data until all the effective data packets are successfully transmitted.
If the response packet is not received, the receiving device is considered to be switched to other piconets at the moment, the data packet of the piconet where the main device is located is not received any more, at the moment, the main device immediately stops the transmission in the current round, and after waiting for the designated time, the Bluetooth transceiver module is controlled to transmit the poll packet again.
The processing manner of the master device in several cases is described below with reference to fig. 5A to 5D:
first, after receiving a data packet to be transmitted, which is transmitted by an application layer, a master device sends a poll packet (query packet) to a slave device before transmitting an effective data packet, and monitors whether the slave device has a reply response packet in a first response time slot.
In the first case, as shown in fig. 5A, the snoop results are: after receiving the response packet from the slave device in the first response time slot, and the type of the response packet is null packet, which indicates that the slave device is in the receiving state at the time and no data is sent to the master device, the master device sends a 2-DH5 packet carrying valid data to the slave device from the second transmission time slot (the number 2 indicates that the modulation frequency used for transmission is 2MHz, and the number 5 indicates that the data packet occupies 5 time slots), and detects the null packet returned by the slave device in the subsequent response time slot, but at this time, the master device stops the transmission because no new data needs to be transmitted and does not need to be retransmitted.
In the second case, as shown in fig. 5B, the snoop results are: after receiving the response packet from the slave device in the first response slot, and the type of the response packet is null packet, which indicates that the slave device is in the receiving state at the time and no data is sent to the master device, the master device sends the 2-DH5 packet carrying valid data to the slave device from the second transmission slot, and detects the null packet from the slave device in the subsequent response slot, at this time, the master device continues to transmit a 2-DH5 packet because there is still data to be transmitted or needs to be retransmitted, and detects the null packet from the slave device again in the subsequent response slot.
In the third case, as shown in fig. 5C, the snoop result is: and when the response packet returned by the slave device is not received in the first response time slot, the master device stops the transmission, waits for a first preset time, sends the poll packet again, receives the null packet returned by the slave device, then continues to transmit the 2-DH5 data packet, and detects the null packet returned by the slave device again in the subsequent response time slot.
In the fourth case, as shown in fig. 5D, the monitoring result is: and receiving a response packet returned by the slave device in the first response time slot, wherein the type of the response packet is null packet, then, the master device sends a 2-DH5 packet carrying valid data to the slave device from the second transmission time slot, and the null packet returned by the slave device is not detected in the subsequent response time slot, at this time, the master device stops the transmission, waits for the second preset time, sends the poll packet again, and receives the null packet returned by the slave device. Then, the master device transmits the last data again through the 2-DH5 data packet, and receives the null packet returned by the slave device, at this time, the master device stops transmitting the data since no new data needs to be transmitted and no retransmission is needed.
In addition, researches find that the way of switching the bluetooth slave devices of various manufacturers to the piconet is different, and the two ways are generally adopted: one is the method of switching the pickets by time slice, which is adopted by most manufacturers, that is, each picket is assigned a fixed time slice from the equipment, and each picket is forced to switch to another picket when the time slice of each picket is used up. The power consumption saving transmission method of the above embodiment has good compatibility with such slave devices because it determines whether to transmit a data packet by detecting the activity of the slave device; the other method is a method for switching the piconet on demand adopted by a very small part of manufacturers, namely, when a data packet transmitted by the master device is a data packet carrying valid data, the slave device continues to be kept in the piconet, and if the master device transmits a query packet (poll packet) without a payload and the slave device replies a null packet because no data needs to be replied, the slave device performs piconet switching and does not receive the data packet transmitted by the master device of the previous piconet. In the power-saving transmission method of the above embodiment, since the valid data packet needs to be transmitted after the response packet replied by the slave device is received, and at this time, the slave device may have already switched to another piconet, the valid data packet retransmitted by the master device after the null packet is received cannot be received by the slave device, which causes a compatibility problem. To cope with this situation, the present invention also provides a method of enabling compatibility of such slave devices, that is, constructing a connection-based bluetooth communication method applied to a master device having two transmission modes: one is a power consumption saving emission mode, and the other is a standard Bluetooth emission mode, and the power consumption saving emission mode and the standard emission mode can be automatically switched according to the way that the slave device switches the Pickering network. Specifically, an implementation manner, on the basis of the power consumption saving transmission method in the foregoing embodiment, after the master device transmits the current data packet to the slave device, further includes:
detecting whether a second response packet transmitted by the slave device is received;
if the second response packet is not received, after waiting for a third preset time, transmitting all or part of data packets to be transmitted by adopting a standard Bluetooth transmitting mode; and/or the presence of a gas in the gas,
if the second response packet is received, judging whether the slave equipment correctly receives the current data packet or not through the second response packet, and if the current data packet is not correctly received, retransmitting the current data packet to the slave equipment; and if the data packet is correctly received, transmitting a new current data packet to the slave equipment after the current data packet is replaced.
According to the technical scheme of the embodiment, whether the response packet is received or not is detected after the first effective data packet is transmitted, if the response packet is received, the fact that the slave device switches the picket network is that the slave device switches according to time slices is indicated, the power-saving transmission method is compatible with the power-saving transmission method of the embodiment, and at the moment, the power-saving transmission method can be continuously used for transmitting the remaining effective data packet; if the response packet is not received, it indicates that the basis for switching the slave device to the piconet is probably switching as required, and the power consumption saving transmission method in the above embodiment is incompatible, and at this time, after waiting for a third preset time, all or part of the data packets to be transmitted are transmitted in a standard bluetooth transmission mode. Therefore, the technical scheme of the embodiment solves the problem of incompatibility caused by switching the picket network on demand by a small part of manufacturers.
Optionally, for the slave device that switches the piconet according to the time slice, when it transmits the second response packet to the master device, the master device may not detect the second response packet due to the existence of the interference source or the distance being too far, and at this time, if the master device switches to the standard bluetooth transmission mode, unnecessary waste of power consumption may be caused. Specifically, in another embodiment, on the basis of the power consumption saving transmission method in the foregoing embodiment, after the master device transmits the current data packet to the slave device, the method further includes: detecting whether a second response packet transmitted by the slave device is received;
if the second response packet is not received, adding a mark, judging whether the value of the mark reaches a preset value N, wherein N is an integer greater than 0, and when the value of the mark reaches the preset value N, after waiting for a third preset time, transmitting all or part of data packets to be transmitted in a standard Bluetooth transmitting mode, and clearing the mark; when the marked value does not reach the preset value N, performing a state determination step S10;
further, if the second response packet is received, clearing a flag, and determining whether the slave device correctly receives the current data packet through the second response packet, if not, executing the first transmission step to retransmit the current data packet, and if correctly received, replacing the current data packet, and then executing the first transmission step to transmit a new current data packet.
It should be noted that, the data packet to be transmitted is: the data packets are ready at the present time and buffered in a storage queue (e.g., a FIFO queue). The sequence of judging whether the preset value N is reached and the sequence of waiting for the third preset time can be adjusted, namely, the third preset time is waited first and then whether the preset value N is reached is judged, so that the standard Bluetooth transmitting mode is selected to be switched or the power consumption saving transmitting mode is continuously entered; or whether the preset value N is reached or not can be judged firstly, then the standard Bluetooth transmitting mode is switched or the power-saving transmitting mode is continuously entered after the third preset time is waited, and the two modes are equivalent schemes. The selection of the preset value N needs to be balanced between accuracy and synchronization, because for a scene that the master device and the slave device need to synchronously play, an excessive value of N may affect the effect of synchronous play, for example, N is 1 time or 2 times, when N is 1, it is sufficient to indicate that there is a mark, and regardless of a specific form (not necessarily a numerical value) of the mark, the method is within the protection scope of the present application.
Fig. 6 is a flowchart of a third embodiment of the connection-based bluetooth communication method of the present invention, and similarly, the working principle of the bluetooth transceiver module in the main device is the same as that of the existing bluetooth transceiver module, which is not described herein again, and only the working process of the processor of the main device is described below:
firstly, before transmission, checking whether a mark exists, if the mark does not exist, entering a power-saving transmission mode, namely, the main equipment uses a power-saving transmission method, firstly transmitting a poll packet and then detecting a response packet 1, if the response packet 1 is received, transmitting a first effective data packet when a transmission time slot of the first effective data packet arrives, and detecting whether a corresponding response packet 2 is received in a response time slot after the transmission time slot; if the mark exists, the standard Bluetooth transmitting mode is entered for transmitting, and after part or all of the data to be transmitted is transmitted, the mark is cleared;
if receiving the response packet 2 of the slave device, continuing to send the remaining effective data packets in the power-saving transmission mode, and then ending the transmission in the current round. If the response packet 2 of the slave equipment is not received, the slave equipment is possibly equipment for switching the picket network as required, at the moment, a mark is set, the transmission of the current round is stopped, the transmission state is entered again after waiting for a specified time (third preset time), the mark is checked before the transmission, at the moment, the mark is set because the response packet 2 is not received after the first effective data packet is transmitted last time, the current round of transmission directly transmits the effective data packets and continuously retransmits the effective data packets according to a standard Bluetooth transmission mode until all or part of the effective data is successfully transmitted, the mark is cleared, the current round of transmission is finished, the power consumption saving mode is entered again after waiting for the specified time, the poll packet is restarted, and the response packet is detected.
Certainly, as described above, the standard bluetooth transmission mode may be directly entered after waiting for a preset time if no corresponding response feedback is received after the valid data is first sent after the poll packet is sent without setting the flag. An accumulated preset value of the flag may also be set, which may increase the accuracy of the compatibility determination.
A possible embodiment further includes, in the case that valid data is not transmitted for the first time after the query packet is transmitted, that is, after the current data packet is retransmitted to the slave device or a new current data packet is transmitted to the slave device:
detecting whether a third response packet transmitted by the slave equipment is received;
if the third response packet is received, judging whether the slave equipment correctly receives the current data packet or not through the third response packet, and if the current data packet is not correctly received, retransmitting the current data packet to the slave equipment; if the data packet is correctly received, the current data packet is replaced, and then a new current data packet is transmitted to the slave equipment; and/or the presence of a gas in the gas,
and if the third response packet is not received, executing the state judgment step after waiting for a fourth preset time.
The third acknowledgement packet is a feedback sent by the slave device for the receiving condition of the retransmitted current data packet or the new current data packet, if the third acknowledgement packet is received, valid data is continuously transmitted without entering the condition of transmitting the poll packet, and if the third acknowledgement packet is not received, the slave device waits for a preset time to enter the stage of transmitting the poll packet.
It can be seen that, in this embodiment, in the case that valid data is not first transmitted after transmitting a poll packet, if a corresponding response packet is received, the valid data is continuously transmitted, and no flag needs to be set or received, and the stage of transmitting the poll packet is directly started after waiting for a preset time.
In addition, research finds that when the distance between the master device and the slave device is long, the probability that the valid data packet transmitted by the master device cannot be received by the slave device and the probability that the response packet transmitted by the slave device cannot be received by the master device gradually increases with the distance, and the master device in the embodiment stops current transmission when the response packet of the slave device cannot be received, and detects transmission again after waiting for a period of time. Based on the method, the invention also provides a method for automatically switching between the power-saving mode and the standard Bluetooth transmitting mode according to the change of the transmission speed, so as to solve the problems that the transmission speed is reduced and audio and video are jammed when the distance is long and the interference is large in the power-saving mode. Moreover, since the current data packet is obtained from the storage queue, and the storage queue is a first-in first-out (FIFO) queue which is the first data packet to be read in the storage queue, the change of the transmission speed can be determined according to the number of the data packets in the FIFO queue. Specifically, on the basis of the power consumption saving transmission method of the above embodiment, before the step of determining the state, the method further includes:
judging whether the number of the data packets in the FIFO queue is smaller than a preset value M, if so, executing the state judgment step S10; if not, transmitting part or all of the data packets in the storage queue by adopting a standard Bluetooth transmission mode.
It should be noted that the valid data to be transmitted is stored in a storage queue (e.g., an FIFO queue), and the valid data is packaged and transmitted to the slave device through the bluetooth transceiving module in batches, for convenience of description, the valid data in the storage queue is divided in units of data packets in the present application, that is, the data packets in the storage queue are the valid data themselves, and finally, the data packets are packaged into transmission data packets by adding packet headers, whole packet check values, and the like in the bluetooth hardware for transmission.
Fig. 7 is a flowchart of a fourth embodiment of the connection-based bluetooth communication method of the present invention, and similarly, the working principle of the bluetooth transceiver module in the main device is the same as that of the existing bluetooth transceiver module, which is not described herein again, and only the working process of the processor of the main device is described below:
after receiving a data packet to be transmitted from an application layer, the master device buffers the data packet in a FIFO queue (first-in first-out queue). Then, waiting for the arrival of a transmission time slot, taking out a data packet to be transmitted from the FIFO queue as a current data packet, and judging whether the number of buffered data packets in the FIFO queue is less than M (M is an empirical value, and M <, which is the total number of FIFOs and is specified according to needs, such as 1/2 which is the total number of FIFOs), then transmitting by using a power-saving transmission method.
If the transmission speed in the air is reduced due to the long distance or the increased interference, so that the data packets to be transmitted are accumulated in the FIFO queue, and the number of the buffered data packets in the FIFO queue is more than or equal to M, at the moment, the data packets are transmitted by using a standard Bluetooth transmission method until the number of the buffered data packets in the FIFO queue is less than M, and then the power consumption-saving transmission method is switched back.
The invention also provides a master device of a connection-based bluetooth communication system, comprising a processor which, when running a stored computer program, carries out the steps of the connection-based bluetooth communication method described above.
The invention also constructs a master device of the connection-based Bluetooth communication system, wherein the master device comprises a first state judgment module and a transmitting module, and the first state judgment module is used for judging whether the slave device is currently in a receiving state of a connection channel established with the master device; the transmitting module is used for transmitting the current data packet to the slave equipment when the receiving module is in a receiving state.
Further, the main device further comprises a second state judgment module, a third state judgment module, a fourth state judgment module and a quantity judgment module. Wherein the content of the first and second substances,
the first state judgment module is used for transmitting a query packet to the slave equipment, detecting whether a first response packet transmitted by the slave equipment is received, determining that the slave equipment is in a receiving state if the first response packet is received, otherwise determining that the slave equipment is not in the receiving state, and executing the first state judgment module again after waiting for a first preset time when the slave equipment is not in the receiving state.
The second state judgment module is used for detecting whether a second response packet transmitted by the slave equipment is received or not after the current data packet is transmitted to the slave equipment, judging whether the current data packet is correctly received by the slave equipment or not through the second response packet if the second response packet is received, retransmitting the current data packet to the slave equipment if the current data packet is not correctly received, transmitting a new current data packet to the slave equipment after the current data packet is replaced if the current data packet is correctly received, and/or executing the first state judgment module again after waiting for a second preset time if the second response packet is not received.
The third state judgment module is used for detecting whether a second response packet transmitted by the slave equipment is received or not after the current data packet is transmitted to the slave equipment, and transmitting all or part of the data packet to be transmitted by adopting a standard Bluetooth transmission mode after waiting for a third preset time if the second response packet is not received; and/or if the second response packet is received, judging whether the slave equipment correctly receives the current data packet or not through the second response packet, if not, retransmitting the current data packet to the slave equipment, and if so, replacing the current data packet and then transmitting a new current data packet to the slave equipment.
The fourth state determining module is configured to detect whether a third response packet transmitted by the slave device is received after the current data packet is retransmitted to the slave device or a new current data packet is transmitted to the slave device, determine whether the slave device correctly receives the current data packet according to the third response packet if the third response packet is received, and retransmit the current data packet to the slave device if the current data packet is not correctly received; if the data packet is correctly received, the current data packet is replaced, and then a new current data packet is transmitted to the slave equipment; and/or if the third response packet is not received, executing the first state judgment module after waiting for a fourth preset time.
Moreover, the current data packet is obtained from a storage queue and is the first data packet to be read in the storage queue; the storage queue is a first-in first-out (FIFO) queue. The quantity judging module is used for judging whether the quantity of the data packets in the FIFO queue is smaller than a preset value M or not before the first state judging module is executed, and if so, the first state judging module is executed; if not, transmitting part or all of the data packets in the storage queue by adopting a standard Bluetooth transmission mode;
or, the third state judgment module is configured to detect whether a second response packet transmitted by the slave device is received after transmitting the current data packet to the slave device, add a flag if the second response packet is not received, and judge whether a flag value reaches a preset value N, where N is an integer greater than 0, and when the flag value reaches the preset value N, after waiting for a third preset time, transmit a part or all of the data packets to be transmitted in a standard bluetooth transmission mode, and clear the flag; when the marking numerical value does not reach the preset value N, executing a first state judgment module; and/or clearing the mark if the second response packet is received, judging whether the slave equipment correctly receives the current data packet or not through the second response packet, retransmitting the current data packet to the slave equipment if the current data packet is not correctly received, and transmitting a new current data packet to the slave equipment after replacing the current data packet if the current data packet is correctly received.
The invention also constructs a connection-based bluetooth communication system, which comprises the master device and the slave device.
It should be noted that waiting for the first preset time, the second preset time, the third preset time, and the fourth preset time in the present application may be the same or different, and may be specifically set according to the application requirement based on experience, and if the preset time is set to zero, that is, the waiting is not performed, which also belongs to the protection scope of the present application.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (12)

1. A connection-based Bluetooth communication method applied to a master device, the method comprising:
a state judgment step: judging whether the slave equipment is currently in a receiving state of a connection channel established with the master equipment;
a transmitting step: if the slave device is in the receiving state, transmitting a current data packet to the slave device;
after transmitting the current data packet to the slave device, further comprising:
detecting whether a second response packet transmitted by the slave device is received;
if the second response packet is not received, adding a mark, judging whether the value of the mark reaches a preset value N, wherein N is an integer greater than 0, and when the value of the mark reaches the preset value N, after waiting for a third preset time, transmitting all or part of data packets to be transmitted in a standard Bluetooth transmitting mode, and clearing the mark; when the marked numerical value does not reach a preset value N, executing the state judgment step; and if the second response packet is received, clearing the mark, judging whether the slave equipment correctly receives the current data packet or not through the second response packet, if not, retransmitting the current data packet to the slave equipment, and if so, replacing the current data packet and then transmitting a new current data packet to the slave equipment.
2. The connection-based Bluetooth communication method of claim 1,
the judging whether the slave device is currently in the receiving state of the connection channel established with the master device comprises:
and transmitting a query packet to the slave equipment, detecting whether a first response packet transmitted by the slave equipment is received, if so, determining to be in a receiving state, otherwise, determining not to be in the receiving state.
3. The connection-based Bluetooth communication method of claim 1,
and if the receiving state is not in the receiving state, the state judgment step is executed again after waiting for the first preset time.
4. The connection-based bluetooth communication method of claim 1, further comprising, after transmitting the current data packet to the slave device:
detecting whether a second response packet transmitted by the slave device is received;
if the second response packet is received, judging whether the slave equipment correctly receives the current data packet or not through the second response packet, if not, retransmitting the current data packet to the slave equipment, and if so, replacing the current data packet and then transmitting a new current data packet to the slave equipment; and/or the presence of a gas in the gas,
and if the second response packet is not received, waiting for a second preset time and then executing the state judgment step again.
5. The connection-based bluetooth communication method of claim 1, further comprising, after transmitting the current data packet to the slave device:
detecting whether a second response packet transmitted by the slave device is received;
and if the second response packet is not received, after waiting for a third preset time, transmitting all or part of the data packet to be transmitted by adopting a standard Bluetooth transmitting mode.
6. The connection-based Bluetooth communication method of any one of claims 4-5,
after retransmitting the current data packet to the slave device or transmitting a new current data packet to the slave device, further comprising:
detecting whether a third response packet transmitted by the slave equipment is received;
if the third response packet is received, judging whether the slave equipment correctly receives the current data packet or not through the third response packet, and if the current data packet is not correctly received, retransmitting the current data packet to the slave equipment; if the data packet is correctly received, the current data packet is replaced, and then a new current data packet is transmitted to the slave equipment; and/or the presence of a gas in the gas,
and if the third response packet is not received, executing the state judgment step after waiting for a fourth preset time.
7. The connection-based Bluetooth communication method of claim 1,
the current data packet is obtained from a storage queue and is the first data packet to be read in the storage queue;
the storage queue is a first-in first-out (FIFO) queue.
8. The connection-based bluetooth communication method according to claim 7, further comprising, before the state determining step:
judging whether the number of the data packets in the FIFO queue is smaller than a preset value M, if so, executing the state judgment step; if not, transmitting part or all of the data packets in the storage queue by adopting a standard Bluetooth transmission mode.
9. A master device of a connection-based bluetooth communication system, comprising a processor, characterized in that the processor, when running a stored computer program, implements the steps of the connection-based bluetooth communication method of any one of claims 1-8.
10. A master device of a connection-based bluetooth communication system, comprising:
the first state judgment module is used for judging whether the slave equipment is currently in a receiving state of a connection channel established with the master equipment;
a transmitting module, configured to transmit a current data packet to the slave device when the slave device is in a receiving state;
further comprising: a third state judgment module;
the third state judgment module is used for detecting whether a second response packet transmitted by the slave equipment is received or not after the current data packet is transmitted to the slave equipment, adding a mark if the second response packet is not received, judging whether a mark value reaches a preset value N, wherein N is an integer greater than 0, and transmitting all data packets to be transmitted in a standard Bluetooth transmission mode and clearing the mark after waiting for a third preset time when the mark value reaches the preset value N; when the marking numerical value does not reach the preset value N, executing a first state judgment module;
and if the second response packet is received, clearing the mark, judging whether the slave equipment correctly receives the current data packet or not through the second response packet, if not, retransmitting the current data packet to the slave equipment, and if so, replacing the current data packet and then transmitting a new current data packet to the slave equipment.
11. The master device of the connection-based bluetooth communication system of claim 10, further comprising: the second state judgment module, the fourth state judgment module and the quantity judgment module;
the first state judgment module is used for transmitting a query packet to the slave device, detecting whether a first response packet transmitted by the slave device is received, determining that the slave device is in a receiving state if the first response packet is received, otherwise determining that the slave device is not in the receiving state, and executing the first state judgment module again after waiting for a first preset time when the slave device is not in the receiving state;
a second state judgment module, configured to detect whether a second response packet transmitted by the slave device is received after a current data packet is transmitted to the slave device, if the second response packet is received, judge whether the slave device correctly receives the current data packet through the second response packet, if the current data packet is incorrectly received, retransmit the current data packet to the slave device, if the current data packet is correctly received, replace the current data packet, and then transmit a new current data packet to the slave device, and/or, if the second response packet is not received, wait for a second preset time and then execute the first state judgment module again;
or, the third state judgment module is configured to detect whether a second response packet transmitted by the slave device is received after transmitting the current data packet to the slave device, and if the second response packet is not received, transmit all or part of the data packet to be transmitted in a standard bluetooth transmission mode after waiting for a third preset time; and/or, if the second response packet is received, judging whether the slave device correctly receives the current data packet or not through the second response packet, if not, retransmitting the current data packet to the slave device, and if so, replacing the current data packet and then transmitting a new current data packet to the slave device;
the fourth state determining module is configured to detect whether a third response packet transmitted by the slave device is received after retransmitting the current data packet to the slave device or transmitting a new current data packet to the slave device, determine whether the slave device correctly receives the current data packet according to the third response packet if the third response packet is received, and retransmit the current data packet to the slave device if the current data packet is not correctly received; if the data packet is correctly received, the current data packet is replaced, and then a new current data packet is transmitted to the slave equipment; and/or, if the third response packet is not received, executing the first state judgment module after waiting for a fourth preset time;
the current data packet is obtained from a storage queue and is the first data packet to be read in the storage queue; the storage queue is a first-in first-out (FIFO) queue;
the number judgment module is used for judging whether the number of the data packets in the FIFO queue is smaller than a preset value M or not before the first state judgment module is executed, and if so, executing the first state judgment module; if not, transmitting part or all of the data packets in the storage queue by adopting a standard Bluetooth transmission mode.
12. A connection-based bluetooth communication system, comprising:
the master device of any one of claims 9-11;
and a slave device.
CN201910818604.XA 2019-08-30 2019-08-30 Connection-based Bluetooth communication method, system and main equipment Active CN112055342B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910818604.XA CN112055342B (en) 2019-08-30 2019-08-30 Connection-based Bluetooth communication method, system and main equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910818604.XA CN112055342B (en) 2019-08-30 2019-08-30 Connection-based Bluetooth communication method, system and main equipment

Publications (2)

Publication Number Publication Date
CN112055342A CN112055342A (en) 2020-12-08
CN112055342B true CN112055342B (en) 2021-09-24

Family

ID=73609138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910818604.XA Active CN112055342B (en) 2019-08-30 2019-08-30 Connection-based Bluetooth communication method, system and main equipment

Country Status (1)

Country Link
CN (1) CN112055342B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561479A (en) * 2013-10-17 2014-02-05 东软熙康健康科技有限公司 Bluetooth device communication method and device
CN104348522A (en) * 2013-07-23 2015-02-11 普天信息技术研究院有限公司 Method suitable for heartbeat keeping of low-power consumption Bluetooth device
CN105099526A (en) * 2015-06-24 2015-11-25 小米科技有限责任公司 Method and device for transmitting polling data package
CN106559736A (en) * 2015-09-28 2017-04-05 展讯通信(上海)有限公司 Bluetooth equipment connects control method and device
CN106559739A (en) * 2016-09-28 2017-04-05 深圳成谷科技有限公司 It is suitable to the lightweight data transmission method of Bluetooth Low Energy wireless communication system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9788351B2 (en) * 2015-03-08 2017-10-10 Apple Inc. Establishing a bluetooth classic connection using an existing bluetooth low energy connection
US9407624B1 (en) * 2015-05-14 2016-08-02 Delphian Systems, LLC User-selectable security modes for interconnected devices
CN106559737B (en) * 2015-09-28 2019-11-05 展讯通信(上海)有限公司 Bluetooth operating mode switching control method and device
US20170208639A1 (en) * 2016-01-15 2017-07-20 Lg Electronics Inc. Method and apparatus for controlling a device using bluetooth technology
US20180084484A1 (en) * 2016-09-20 2018-03-22 Apple Inc. Bluetooth Connection Establishment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348522A (en) * 2013-07-23 2015-02-11 普天信息技术研究院有限公司 Method suitable for heartbeat keeping of low-power consumption Bluetooth device
CN103561479A (en) * 2013-10-17 2014-02-05 东软熙康健康科技有限公司 Bluetooth device communication method and device
CN105099526A (en) * 2015-06-24 2015-11-25 小米科技有限责任公司 Method and device for transmitting polling data package
CN106559736A (en) * 2015-09-28 2017-04-05 展讯通信(上海)有限公司 Bluetooth equipment connects control method and device
CN106559739A (en) * 2016-09-28 2017-04-05 深圳成谷科技有限公司 It is suitable to the lightweight data transmission method of Bluetooth Low Energy wireless communication system

Also Published As

Publication number Publication date
CN112055342A (en) 2020-12-08

Similar Documents

Publication Publication Date Title
US11658843B2 (en) System and method for full-duplex media access control using request-to-send signaling
US10554373B2 (en) Data transmission method and data transmission device
US20170207851A1 (en) Data transmission method and apparatus
JP7081623B2 (en) Information processing equipment, communication systems, information processing methods and programs
WO2014130191A1 (en) Link verification in a wireless network
US10869218B2 (en) Information processing devices and communication system for controlling transmission of acknowledgement and data
US20230014777A1 (en) Transmission or reception configuration method and terminal
WO2023011430A1 (en) Data transmission method and apparatus and sending end device
KR20150070637A (en) Apparatus and Method for Stopping Transmitting Sensor Data in MAC Layer of Wireless Sensor Network
EP2587705A2 (en) Retransmission method and corresponding wireless station and communication system
WO2011006336A1 (en) Time division duplexing (tdd) style-based data transmission method and apparatus
CN111181706A (en) Method and terminal for sending hybrid automatic repeat request acknowledgement
CN110234101B (en) Wireless transmission method, equipment and system for reliably transmitting data
US10681625B1 (en) Single-user acknowledgement options for wireless communication in a multi-user environment
CN105379362A (en) Processor sleep mode communication handling
CN112055342B (en) Connection-based Bluetooth communication method, system and main equipment
CN110505039B (en) Data transmission control method, device, equipment and medium
US20220159500A1 (en) Sidelink measurement result obtaining method, sidelink measurement result sending method, and terminal
US9504045B2 (en) Bluetooth service estimation apparatus and bluetooth service estimation method thereof
CN107204824B (en) Data transmission method and system for low-speed channel
WO2022087929A1 (en) Data transmission method and apparatus
CN112367655B (en) Communication method and device for TWS equipment team formation and electronic equipment
WO2011080554A1 (en) Energy efficient integrated routing protocol
WO2016182632A1 (en) Aggregating targeted and exploration queries
EP3298840B1 (en) Supporting packet query-response transactions at lower layer

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