WO2019191996A1 - Procédé et dispositif de transmission de données - Google Patents

Procédé et dispositif de transmission de données Download PDF

Info

Publication number
WO2019191996A1
WO2019191996A1 PCT/CN2018/082051 CN2018082051W WO2019191996A1 WO 2019191996 A1 WO2019191996 A1 WO 2019191996A1 CN 2018082051 W CN2018082051 W CN 2018082051W WO 2019191996 A1 WO2019191996 A1 WO 2019191996A1
Authority
WO
WIPO (PCT)
Prior art keywords
transmission period
data
transmission
data packet
message
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.)
Ceased
Application number
PCT/CN2018/082051
Other languages
English (en)
Chinese (zh)
Inventor
赵朋
刘华章
马汉卿
方平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to PCT/CN2018/082051 priority Critical patent/WO2019191996A1/fr
Priority to CN201880060395.0A priority patent/CN111149313B/zh
Publication of WO2019191996A1 publication Critical patent/WO2019191996A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/04Program control other than numerical control, i.e. in sequence controllers or logic controllers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/02Arrangements for detecting or preventing errors in the information received by diversity reception
    • H04L1/04Arrangements for detecting or preventing errors in the information received by diversity reception using frequency diversity

Definitions

  • the embodiments of the present invention relate to the field of terminals, and in particular, to a data transmission method and device.
  • Bluetooth technology is a radio technology that supports short-range communication between devices and operates in the 2.4 GHz wireless band available worldwide. With the continuous development of communication technology, the application of Bluetooth technology has become more and more extensive. For example, in recent years, Bluetooth Low Energy (BLE) technology has been widely used in mobile phones, notebook computers, wearable devices, smart homes and the like.
  • BLE Bluetooth Low Energy
  • connection event interval (hereinafter referred to as interval) and the slave device latency (connection Slave Latency, hereinafter referred to as Latency) are defined.
  • the interval determines the time interval between two connection events. Latency determines the number of consecutive connection events that the slave device is not allowed to listen to.
  • a point at which a connection event starts can be called an anchor point.
  • the master device can send a data packet from the anchor point to the slave device, and the slave device can listen to the data packet sent by the master device at the anchor point to implement data interaction between the devices. .
  • By setting the two parameters of interval and Latency you can reduce the power consumption of the device when transmitting data using the Bluetooth protocol.
  • the Bluetooth protocol for data transmission not only should the power consumption of the device be saved as much as possible, but also how to increase the rate of data transmission.
  • the data transmission rate can be increased by dynamically adjusting the interval and/or Latency.
  • the adjustment of interval and / or Latency can be initiated by the master device or by the slave device. For example, taking the adjustment of the slave-initiated interval as an example, and assuming that the master device and the slave device initially negotiate a configuration, the interval is 48.75 ms and the Latency is 0.
  • the slave device can send a Connection Parameter Update request to the master device.
  • the master device After receiving the connection parameter update request, the master device sends a connection update indication (LL_CONNECTION_UPDATE_REQ) message to the slave device to instruct the slave device to adjust the data transmission rate, and sends a connection parameter update response (Connection Parameter Update response) to the slave device.
  • LL_CONNECTION_UPDATE_REQ connection update indication
  • connection parameter update response Connection Parameter Update response
  • the current Bluetooth 4.0 protocol stipulates that the shortest time point at which the adjusted rate takes effect should be no less than 6 intervals from the time point when the connection update indication message is sent (here, the interval before adjustment), that is, the connection update indication After the six intervals after the message is sent, the data can be transmitted between the devices at high speed. Moreover, in order to save power consumption of the device, after the data transmission is completed, the above steps are also required to reversely adjust the data transmission rate, that is, the interval is adjusted from 12.5 ms to a low speed (for example, 48.75 ms). If there are subsequent data transmission requirements, the above process needs to be repeated again.
  • the embodiment of the present invention provides a data transmission method and device, which solves the problem that data cannot be quickly transmitted to the opposite end, and the power consumption of the device is wasted.
  • a first aspect of the present application provides a data transmission method, which may be applied to a first device, where the first device can send multiple data packets to a second device in one transmission cycle, and the data transmission method may include: The first device sends a data packet to the second device in the first transmission period, where the data packet includes an indication flag, where the indication flag is used to indicate whether the second device needs to be at least one time continuous with the first transmission period. The transmission cycle is monitored.
  • the first device sends a data packet carrying the indication flag to the second device in the first transmission period, where the indication flag is used to indicate whether the second device needs to be in the first transmission period. At least one transmission cycle that is continuous in time is monitored. In this way, by carrying an indication flag indicating whether the second device needs to monitor at least one transmission period that is temporally continuous with the transmission period in the transmission period, the first device is consecutive in time with the transmission period.
  • the second device determines that the monitoring needs to be continued according to the indication flag, and then receives the data transmitted by the first device in time, thereby achieving the purpose of quickly transmitting the data to the opposite end, and compared with the current.
  • the data transmission method may further include: the first device sending the first message to the second device, where The first message is used to indicate that the first device supports the first feature, the first feature is a feature that supports carrying an indication flag in the data packet to indicate whether the transmission period needs to be monitored; and the first device receives the second component from the second device.
  • the second message is used to indicate that the second device supports the first feature.
  • the first device when the first device communicates with the second device by using the Bluetooth protocol, since the second device monitors each transmission cycle when the latency of the slave device is 0, The first device may use the data transmission method provided by the embodiment of the present application to indicate whether the second device needs to monitor the next transmission cycle of the current transmission period, so as to implement fast data transmission to the pair. The purpose of the end.
  • a second aspect of the embodiments of the present application provides a data transmission method, where the method can be applied to a second device, where the second device can receive multiple data packets sent by the first device in one transmission cycle, and the foregoing data transmission method
  • the method may include: receiving, by the second device, a data packet from the first device in the first transmission period, where the data packet includes an indication flag, where the indication flag is used to indicate whether the second device needs to be consecutive in time with the first transmission period. At least one transmission period is monitored; when the indication flag is used to indicate that the second device needs to monitor at least one transmission period that is temporally continuous with the first transmission period, the second device monitors and the first transmission period is in time At least one transmission cycle in succession.
  • the data transmission method provided by the embodiment of the present application, by carrying an indication flag for indicating whether the second device needs to monitor at least one transmission period that is temporally continuous with the transmission period in the transmission period, so that the first device is in the
  • the second device determines that the monitoring needs to be continued according to the indication flag, and then receives the data transmitted by the first device in time, so as to quickly transmit the data to the peer end.
  • Purpose, and the method of data transmission by dynamically adjusting the interval and/or Latency compared to the prior art saves power consumption of the device.
  • the data transmission method may further include: when the indication flag is used to indicate that the second device does not need to monitor at least one transmission period that is consecutive in time with the first transmission period, the second The device determines the second transmission period and listens for the second transmission period. In this way, when it is determined that it is not necessary to monitor at least one transmission period that is temporally continuous with the first transmission period, the second device may determine the next transmission period that needs to be monitored, and enter a sleep state until the next transmission that needs to be monitored. The arrival of the cycle time saves the power consumption of the device.
  • the data transmission method may further include: the second device receiving the first message from the first device, where the first message is used to indicate that the first device supports the first feature, the first feature To support the feature that the indication flag is carried in the data packet to indicate whether the transmission period needs to be monitored, the second device sends a second message to the first device, where the second message is used to indicate that the second device supports the first feature.
  • a third aspect of the present application provides a data transmission method, which may be applied to a first device, where the first device can send multiple data packets to a second device in one transmission cycle, and the data transmission method may include: When the number of data packets that the first device can send to the second device is determined in one transmission period, the first device sends the first data packet to the second device in the first transmission period; wherein, in the first transmission period There is no data transmission after the first data packet; the first data packet includes an MD, and the MD is used to indicate that the first device has data transmission in the second transmission period; the second transmission period and the first transmission period are consecutive in time.
  • the data transmission method when the number of data packets that the first device can send to the second device is determined in one transmission period, the first device sends the first message to the second device in the first transmission period.
  • the data packet carries an MD, and the MD is used to indicate that the first device has data transmission in the second transmission period. There is no data transmission after the first data packet in the first transmission period, that is, the first data packet is the last data packet in the first transmission period, and the second transmission period is continuous with the first transmission period in time.
  • the second device can timely monitor the time-continuous transmission period with the transmission period, thereby enabling the first device to quickly transmit data to the second device, and dynamically adjusting the interval and/or compared to the prior art. Latency's method of data transmission saves power consumption of the device.
  • the first device when the number of data packets that the first device can send to the second device in one transmission period is determined, the first device sends the first device to the second device in the first transmission period.
  • the data transmission method may further include: the first device sends a first message to the second device, where the first message is used to negotiate with the second device that the first device can send to the second device in one transmission cycle.
  • the number of data packets; the first device receives a second message from the second device, the second message is used to confirm the number of data packets that the first device can send to the second device in one transmission cycle.
  • a fourth aspect of the present application provides a data transmission method, where the method can be applied to a second device, where the second device can receive multiple data packets sent by the first device in one transmission cycle, and the data transmission method can include : when the number of data packets that the first device can send to the second device is determined in one transmission period, the second device receives the first data packet from the first device in the first transmission period; There is no data transmission after the first data packet; the first data packet includes an MD, and the MD is used to indicate that the first device has data transmission in the second transmission period; the second transmission period and the first transmission period are continuous in time; The second device listens for the second transmission cycle.
  • the data transmission method provided by the embodiment of the present application indicates that the transmission period is continuous in time with the transmission period by using the MD in the last data packet transmitted in the transmission period when the number of transmission and reception times is determined. There is data transmission, so that the second device can timely monitor the transmission cycle with the transmission cycle in time, so that the first device can quickly transmit the data to the second device, and compared with the prior art
  • the method of dynamically adjusting the interval and/or Latency for data transmission saves power consumption of the device.
  • the second device when the number of data packets that the first device can send to the second device is determined in one transmission cycle, the second device receives the first packet from the first device in the first transmission cycle.
  • the data transmission method may further include: the second device receiving the first message from the first device, where the first message is used to negotiate with the second device, where the first device can send to the second device in one transmission cycle The number of data packets; the second device sends a second message to the first device, where the second message is used to confirm the number of data packets that the first device can send to the second device in one transmission period.
  • a fifth aspect of the present application provides a data receiving method, which may be applied to a second device, where the second device is capable of receiving a plurality of data packets in one transmission cycle, and the data receiving method may include: a second device pair All the transmission periods are monitored; the second device receives the Header portion of the data packet at the reception timing of the currently monitored transmission period; when the value of the length field in the Header portion is not 0, the second device determines that there is data in the reception timing.
  • the second device When the value of the MD field in the Header part is 0, the second device enters the sleep state after receiving the data in the receiving occasion, and when the value of the MD field in the Header part is 1, the second device Continue to monitor the current listening transmission period until the value of the MD field in the header portion of the received data packet is 0; when the value of the length field in the Header portion is 0, and the value of the MD field in the Header portion is 0, the second device enters a sleep state. When the value of the MD field in the Header part is 1, the second device continues to listen to the currently monitored transmission period until the received According to the MD field value in the packet header part is zero. When the data packet is not received in the above reception timing, the second device enters a sleep state.
  • the second device monitors all the transmission periods, so that the first device can quickly transmit the data to the second device. And when the second device monitors the current transmission period, determining whether there is data transmission in the receiving occasion according to the value of the length field in the header portion of the data packet in the receiving occasion of the current transmission period, and only determining the receiving When there is data transmission in the timing, the data part of the data packet is received at the receiving timing, and the length field in the Header part has a value of 0, and when the value of the MD field in the Header part is 0, the sleep state is entered. , saving power consumption of the device.
  • the receiving occasion is the first receiving occasion in the currently monitored transmission period.
  • a sixth aspect of the present application provides a data receiving method, which may be applied to a second device, where the second device is capable of receiving a plurality of data packets in one transmission cycle, and the data receiving method may include: the second device according to the second device Whether there is data transmission in the first transmission period, determining whether it is necessary to monitor the second transmission period; the first transmission period and the second transmission period are consecutive in time. Wherein, when there is data transmission in the first transmission period, the second device determines that the second transmission period needs to be monitored; when there is no data transmission in the first transmission period, the second device determines that the second transmission period does not need to be monitored. .
  • the second device when the second device has data transmission in the current transmission period, it predicts that there is data transmission in the next transmission period of the current transmission period, and monitors the next transmission period of the current transmission period. When there is no data transmission in the current transmission period, there is no data transmission in the next transmission period of the current transmission period, and the next transmission period of the current transmission period is not monitored, which not only enables the first device to quickly transmit data to the first transmission period.
  • the purpose of the two devices but also saves the power consumption of the device.
  • a seventh aspect of the present application provides a first device, which is capable of transmitting a plurality of data packets to a second device in a transmission cycle, where the first device may include: a sending unit, configured to be in the first transmission The data packet is sent to the second device in the period, and the data packet includes an indication flag, where the indication flag is used to indicate whether the second device needs to monitor at least one transmission period that is temporally consecutive with the first transmission period.
  • the sending unit is further configured to send, to the second device, a first message, where the first message is used to indicate that the first device supports the first feature, and the first feature is configured to be carried in the data packet.
  • An indicator to indicate whether a transmission period monitoring is required.
  • the first device may further include: a receiving unit, configured to receive a second message from the second device, where the second message is used to indicate that the second device supports the first feature.
  • the first device when the first device communicates with the second device by using the Bluetooth protocol, the first device further includes: a determining unit, configured to determine that the connection Slave Latency is not 0.
  • An eighth aspect of the present application provides a second device, where the second device can receive multiple data packets sent by the first device in one transmission cycle, and the second device can include: a receiving unit, configured to be in the first Receiving, in the transmission period, a data packet from the first device, where the data packet includes an indication flag, where the indication flag is used to indicate whether the second device needs to monitor at least one transmission period that is temporally consecutive with the first transmission period; And a unit, configured to: when the indication indicator is used to indicate that the second device needs to monitor at least one transmission period that is consecutive in time with the first transmission period, monitor at least one transmission period that is consecutive with the first transmission period in time.
  • the foregoing second device may further include: a determining unit, configured to: when the indication flag is used to indicate that the second device does not need to perform at least one transmission period that is temporally continuous with the first transmission period During the monitoring, the second transmission period is determined; the listening unit is also used to monitor the second transmission period.
  • a determining unit configured to: when the indication flag is used to indicate that the second device does not need to perform at least one transmission period that is temporally continuous with the first transmission period During the monitoring, the second transmission period is determined; the listening unit is also used to monitor the second transmission period.
  • the receiving unit is further configured to receive a first message from the first device, where the first message is used to indicate that the first device supports the first feature, where the first feature is supported in the data.
  • the packet carries an indication flag to indicate whether it is necessary to monitor the transmission period.
  • the foregoing second device may further include: a sending unit, configured to send a second message to the first device, where the second message is used to indicate that the second device supports the first feature.
  • a sending unit configured to send a second message to the first device, where the second message is used to indicate that the second device supports the first feature.
  • a first device is provided, where the first device is capable of transmitting a plurality of data packets to a second device in a transmission period
  • the first device may include: a sending unit, configured to be in a transmission cycle When the number of data packets that the first device can send to the second device is determined, the first data packet is sent to the second device in the first transmission period; wherein, there is no data after the first data packet in the first transmission period. Transmitting; the first data packet includes an MD, the MD is used to indicate that the first device has data transmission in the second transmission period; and the second transmission period is continuous with the first transmission period in time.
  • the sending unit is further configured to send, to the second device, a first message, where the first message is used to negotiate with the second device, where the first device can send to the second device in one transmission cycle.
  • the number of packets is further configured to send, to the second device, a first message, where the first message is used to negotiate with the second device, where the first device can send to the second device in one transmission cycle. The number of packets.
  • the first device may further include: a receiving unit, configured to receive a second message from the second device, where the second message is used to confirm the number of data packets that the first device can send to the second device in one transmission period .
  • a tenth aspect of the present application provides a second device, which is capable of receiving a plurality of data packets sent by a first device in one transmission cycle, and the second device may include: a receiving unit, configured to transmit in one transmission Receiving, when the number of data packets that the first device can send to the second device in the period, receiving the first data packet from the first device in the first transmission period; and having no data after the first data packet in the first transmission period Transmitting; the first data packet includes an MD, the MD is used to indicate that the first device has data transmission in the second transmission period; the second transmission period is continuous with the first transmission period in time; and the monitoring unit is configured to monitor the foregoing The second transmission period.
  • a receiving unit configured to transmit in one transmission Receiving, when the number of data packets that the first device can send to the second device in the period, receiving the first data packet from the first device in the first transmission period; and having no data after the first data packet in the first transmission period Transmitting; the first data packet includes an MD, the MD is used to
  • the receiving unit is further configured to receive a first message from the first device, where the first message is used to negotiate with the second device, where the first device can be used to the second device in one transmission cycle. The number of packets sent.
  • the foregoing second device may further include: a sending unit, configured to send, to the first device, a second message, where the second message is used to confirm the number of data packets that the first device can send to the second device in one transmission period.
  • a sending unit configured to send, to the first device, a second message, where the second message is used to confirm the number of data packets that the first device can send to the second device in one transmission period.
  • An eleventh aspect of the present application provides a second device, which is capable of receiving multiple data packets in one transmission cycle, and the second device may include: a monitoring unit, configured to monitor all transmission periods a receiving unit, configured to receive a header header portion of the data packet in a receiving timing of the currently monitored transmission period; and a determining unit, configured to determine, when the value of the length field in the header portion is not 0, determining that there is data transmission in the receiving timing, And the control unit is configured to control, when the value of the MD field in the header part is 0, to control the second device to enter a sleep state after receiving the data in the receiving timing, and the monitoring unit is further configured to use the value of the MD field in the header portion.
  • the control unit When it is 1, it continues to listen to the current listening transmission period until the value of the MD field in the header portion of the received data packet is 0; the control unit is also used to determine the length field in the header portion is 0, and the header When the value of the MD field in the part is 0, the second device is controlled to enter the sleep state, and the listening unit is further used to continue monitoring when the value of the MD field in the header portion is 1. Monitor current transmission period, the MD field value in the header portion of the packet until the receiver is 0; the control unit is further configured to, when a packet is not received in the receiving time, the control device enters the second sleep state.
  • the foregoing receiving occasion is the first receiving occasion in the currently monitored transmission period.
  • the twelfth aspect of the present application provides a second device, which is capable of receiving a plurality of data packets in one transmission cycle, and the second device may include: a determining unit, configured to determine whether according to the first transmission period There is data transmission to determine whether it is necessary to monitor the second transmission period; the first transmission period and the second transmission period are continuous in time.
  • the second device determines that the second transmission period needs to be monitored; when there is no data transmission in the first transmission period, the second device determines that the second device is not required.
  • the transmission cycle is monitored.
  • a thirteenth aspect of the present application provides a first device, which may include: one or more processors and a memory; the one or more processors and the memory are connected by one or more communication buses; One or more computer instructions are stored in the memory, the one or more computer instructions being configured to be executed by the one or more processors; the one or more computer instructions for performing the first aspect or the first aspect A data transmission method according to any of the possible implementations.
  • the processor is configured to control the communication bus to send a data packet to the second device in the first transmission period, where the data packet includes an indication flag, where the indication flag is used to indicate whether the second device needs to be paired with the first
  • the transmission period is monitored for at least one transmission period that is continuous in time.
  • the processor is further configured to control the communication bus to send a first message to the second device, where the first message is used to indicate that the first device supports the first feature, and the first feature is supported by
  • the data packet carries an indication flag to indicate whether the transmission period needs to be monitored.
  • the communication bus is further configured to receive a second message from the second device, where the second message is used to indicate that the second device supports the first feature.
  • the processor when the first device uses the Bluetooth protocol to communicate with the second device, the processor is further configured to determine that the connection Slave Latency is not 0.
  • a second device can include: one or more processors and a memory; the one or more processors and the memory are connected by one or more communication buses; One or more computer instructions are stored in the memory, the one or more computer instructions being configured to be executed by the one or more processors; the one or more computer instructions for performing the second or second aspect A data transmission method according to any of the possible implementations.
  • the processor is configured to control the communication bus to receive a data packet from the first device in the first transmission period, where the data packet includes an indication flag, where the indication flag is used to indicate whether the second device needs to be A transmission period is monitored by at least one transmission period that is consecutive in time; the processor is further configured to: when the indication flag is used to indicate that the second device needs to monitor at least one transmission period that is consecutive with the first transmission period in time At least one transmission period that is consecutive in time with the first transmission period is monitored.
  • the foregoing processor is further configured to: when the indicator is used to indicate that the second device does not need to monitor at least one transmission period that is consecutive in time with the first transmission period, determine the second The transmission period monitors the second transmission period.
  • the processor is further configured to control the communication bus to receive a first message from the first device, where the first message is used to indicate that the first device supports the first feature, the first feature To support the feature that the indication flag is carried in the data packet to indicate whether the transmission period needs to be monitored, the second message is sent to the first device, where the second message is used to indicate that the second device supports the first feature.
  • a fifteenth aspect of the present application provides a first device, which may include: one or more processors and a memory; the one or more processors and the memory are connected by one or more communication buses; One or more computer instructions are stored in the memory, the one or more computer instructions being configured to be executed by the one or more processors; the one or more computer instructions for performing the third or third aspect A data transmission method according to any of the possible implementations.
  • the processor is configured to: when the number of data packets that the first device can send to the second device in one transmission cycle is determined, send the first data to the second device in the first transmission period. a packet; wherein, in the first transmission period, there is no data transmission after the first data packet; the first data packet includes an MD, and the MD is used to indicate that the first device has data transmission in the second transmission period; the second transmission period is The first transmission period is continuous in time.
  • the processor is further configured to control the communication bus to send a first message to the second device, where the first message is used to negotiate with the second device, where the first device can The number of packets sent by the second device.
  • the processor is further configured to control the communication bus to receive a second message from the second device, the second message being used to confirm the number of data packets that the first device can send to the second device in one transmission cycle.
  • a second device can include: one or more processors and a memory; the one or more processors and the memory are connected by one or more communication buses; One or more computer instructions are stored in the memory, the one or more computer instructions being configured to be executed by the one or more processors; the one or more computer instructions for performing the fourth or fourth aspect A data transmission method according to any of the possible implementations.
  • the processor is configured to: when the number of data packets that the first device can send to the second device in one transmission cycle is determined, receive the first data from the first device in the first transmission period. a packet; there is no data transmission after the first data packet in the first transmission period; the first data packet includes an MD, the MD is used to indicate that the first device has data transmission in the second transmission period; the second transmission period is The first transmission period is continuous in time; the processor is further configured to monitor the second transmission period.
  • the processor is further configured to control the communication bus to receive a first message from the first device, where the first message is used to negotiate with the second device, where the first device can be in one transmission cycle. The number of packets sent to the second device.
  • the processor is further configured to control the communication bus to send a second message to the first device, where the second message is used to confirm the number of data packets that the first device can send to the second device in one transmission period.
  • a seventeenth aspect of the present application provides a second device, which may include: one or more processors and a memory; the one or more processors and the memory are connected by one or more communication buses; One or more computer instructions are stored in the memory, the one or more computer instructions being configured to be executed by the one or more processors; the one or more computer instructions for performing the fifth or fifth aspect A data receiving method according to any of the possible implementations.
  • the processor is configured to monitor all transmission periods; and the processor is further configured to control the header of the communication bus to receive a header in a receiving timing of a currently monitored transmission period; the processor, When the value of the length field in the header portion is not 0, it is determined that there is data transmission in the receiving occasion, and when the value of the MD field in the header portion is 0, the second device is controlled after the data reception is completed in the receiving timing.
  • the processor is also used for When the value of the length field in the header part is 0, and the value of the MD field in the header part is 0, the second device is controlled to enter a sleep state, and when the value of the MD field in the header part is 1, the continuation is continued. Listens to the current listening transmission period until the value of the MD field in the header portion of the received packet is 0.
  • the processor is further configured to control the second device to enter a sleep state when the data packet is not received in the receiving occasion.
  • the foregoing receiving occasion is the first receiving occasion in the currently monitored transmission period.
  • a second device can include: one or more processors and a memory; the one or more processors and the memory are connected by one or more communication buses; One or more computer instructions are stored in the memory, the one or more computer instructions being configured to be executed by the one or more processors; the one or more computer instructions for performing the data of the sixth aspect Receiving method.
  • the processor is configured to determine whether to monitor the second transmission period according to whether there is data transmission in the first transmission period; the first transmission period and the second transmission period are consecutive in time.
  • the second device determines that the second transmission period needs to be monitored; when there is no data transmission in the first transmission period, the second device determines that the second device is not required.
  • the transmission cycle is monitored.
  • a seventeenth aspect of the present application provides a computer storage medium comprising computer instructions that, when executed on a first device, cause the first device to perform a possible implementation as in the first aspect or the first aspect A data transmission method according to any one of the third aspect or the third aspect of the invention.
  • a nineteenth aspect of the present application provides a computer storage medium comprising computer instructions that, when executed on a second device, cause the second device to perform a possible implementation as in the second aspect or the second aspect
  • the method, or the data transmission method of any of the fourth aspect or the possible implementation of the fourth aspect, or the second device, the second device or the fifth aspect or the fifth aspect The data receiving method of any one of them.
  • a computer program product when the computer program product is run on a computer, causing the computer to perform a possible implementation of the first aspect or the first aspect, or the third aspect or the third A data transmission method according to any of the possible implementations of the invention.
  • a twenty-first aspect of the present application provides a computer program product, when the computer program product is run on a computer, causing the computer to perform a possible implementation of the second aspect or the second aspect, or the fourth aspect or The data transmission method of any one of the possible implementations of the fourth aspect, or the computer, the data receiving method of the fifth aspect or the fifth aspect or the data receiving method according to any one of the sixth aspects.
  • a chip system may include: one or more processors, a memory, a communication bus; the memory is configured to store one or more computer instructions, the one or more The processor is coupled to the memory via the communication bus, and when the chip system is in operation, the one or more processors execute the one or more computer instructions stored in the memory to cause the chip system to perform the first aspect or the A possible implementation of the aspect, or the data transmission method of any of the third aspect or the possible implementation of the third aspect.
  • a chip system may include: one or more processors, a memory, a communication bus; the memory is configured to store one or more computer instructions, the one or more The processor is coupled to the memory via the communication bus, and when the chip system is in operation, the one or more processors execute the one or more computer instructions stored in the memory to cause the chip system to perform the second aspect or the A possible implementation of the second aspect, or the data transmission method of any of the fourth aspect or the possible implementation of the fourth aspect, or the second device for performing the fifth aspect or the fifth aspect of the claim The data receiving method of any one of the sixth aspect.
  • a communication system comprising: the first device as described in the seventh aspect or the possible implementation of the seventh aspect, and the eighth aspect or the eighth A second device as described in a possible implementation of the aspect.
  • the communication system may comprise: the first device as described in the ninth aspect or the possible implementation of the ninth aspect, and the second device as described in the tenth aspect or the possible implementation manner of the tenth aspect .
  • 1 is a timing diagram of transmitting data according to an embodiment of the present application.
  • FIG. 2 is a schematic timing diagram of another transmission data according to an embodiment of the present disclosure.
  • FIG. 3 is a simplified schematic diagram of a system architecture provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a mobile phone according to an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a data transmission method according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a header of a data packet according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic timing diagram of another transmission data according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic flowchart diagram of another data transmission method according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic flowchart diagram of another data transmission method according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic flowchart diagram of another data transmission method according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic timing diagram of another transmission data according to an embodiment of the present application.
  • FIG. 12 is a schematic timing diagram of another transmission data according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of a first device according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of another first device according to an embodiment of the present disclosure.
  • FIG. 15 is a schematic structural diagram of a second device according to an embodiment of the present disclosure.
  • FIG. 16 is a schematic structural diagram of another second device according to an embodiment of the present disclosure.
  • first and second are used for descriptive purposes only, and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining “first” and “second” may include one or more of the features either explicitly or implicitly. In the description of the embodiments of the present application, “multiple” means two or more unless otherwise stated.
  • the words “exemplary” or “such as” are used to mean an example, illustration, or illustration. Any embodiment or design described as “exemplary” or “for example” in the embodiments of the present application should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of the words “exemplary” or “such as” is intended to present the concepts in a particular manner.
  • the present application can be applied to wireless communication protocols such as wireless fidelity (Wi-Fi) protocol, Bluetooth protocol, ZigBee protocol, and Near Field Communication (NFC) protocol.
  • Wi-Fi wireless fidelity
  • Bluetooth protocol in order to save power consumption of devices, data transmission is performed between devices with a certain transmission period (such as a connection event interval in the Bluetooth protocol).
  • the Bluetooth protocol is taken as an example for description.
  • the example in the embodiment of the present application is described by taking the Bluetooth 4.0 protocol as an example, but the embodiment of the present application is also applicable to other versions of the Bluetooth protocol, for example, the Bluetooth 4.1 protocol, the Bluetooth 4.2 protocol, and the like.
  • Connection events are usually separated by a connection event interval and do not overlap.
  • a point at which a connection event starts can be called an anchor point.
  • the master device can send a data packet from the anchor point to the slave device, and the slave device can listen to the data packet sent by the master device at the anchor point to implement data interaction between the devices.
  • the Bluetooth protocol stipulates that both devices can send and receive multiple times in one connection event, such as 4-6 times in a connection event, the only qualification condition is that the master device only needs to ensure that before the next connection event begins.
  • the current connection event can be closed at the time of T_IFS (eg 150us). Both devices may not perform data transmission and reception in the above connection event.
  • connection event interval which is simply referred to as the interval: it determines the time interval between two connection events.
  • connection event interval is the above transmission period.
  • the master device and the slave device From the anchor point of the connection event to the event shutdown, the master device and the slave device perform 4 times of transmission (TX) / 4 times of reception (RX). After the event is turned off, the master device and the slave device can enter the sleep state to save the device. Power consumption.
  • Latency which defines the number of consecutive connection events in which the slave device does not need to be constantly listening, ie, Latency determines the continuous connection event that allows the slave device to not listen. quantity.
  • the value of Latency can be an integer from 0 to (connSupervisionTimeout/(interval*2)-1) and should be less than 500.
  • the connSupervisionTimeout indicates the connection supervision timeout, that is, the maximum time interval between two data packets. If the time interval between two data packets received is greater than the value defined by connSupervisionTimeout, the current chain can be considered. The road has been disconnected.
  • the slave device can start listening at the anchor point of the connection event 1, and enter the sleep state after the event of the connection event 1 is closed, in the connection.
  • Event 2 - Connection event 5 does not listen, and starts listening at the anchor point of connection event 6, that is, the slave device wakes up from sleep state every 300ms to listen, so that when the master device starts from the anchor point of connection event 1 and connection event 6,
  • the slave can start listening at the anchor of connection event 1 and connection event 6 to receive the packet sent by the master.
  • the embodiment of the present application provides a data transmission method, where the basic principle is: the first device sends a carrying indication to the second device in the first transmission period.
  • a data packet of the flag, the indication flag is used to indicate whether the second device needs to monitor at least one transmission period that is temporally consecutive with the first transmission period.
  • the first device is continuously continuous with the transmission period in time.
  • the second device can determine that the monitoring needs to be continued according to the indication flag, and then receive the data transmitted by the first device in time, thereby achieving the purpose of quickly transmitting the data to the opposite end, and comparing
  • the prior art method of data transmission by dynamically adjusting interval and/or Latency saves power consumption of the device.
  • the system architecture may include: a master device 301 and a slave device 302.
  • the master device 301 and the slave device 302 all refer to devices that support the above wireless communication protocol, such as the Bluetooth protocol.
  • the master device 301 and the slave device 302 can establish a connection using the above-described wireless communication protocol to implement short-range communication.
  • the party that actively initiates the connection request may be referred to as a master device, and the party that passively receives the connection request may be referred to as a slave device.
  • the main device 301 can be a desktop type, a laptop, a tablet computer, a handheld computer, a mobile phone, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, and a cellular phone, an individual.
  • PDA Personal Digital Assistant
  • television VR device, AR device, wearable device, smart watch, keyboard, vehicle, vehicle tool, etc.
  • the main device 301 is a mobile phone as an example.
  • the slave device 302 can be a desktop, a laptop, a tablet, a handheld computer, a mobile phone, a laptop, an Ultra-mobile Personal Computer (UMPC), a netbook, and a cellular phone, personal digital. Assistant (Personal Digital Assistant, PDA), TV, VR device, AR device, wearable device, smart glasses, smart watch, keyboard, stereo, printer, smart home device, vehicle, car tool, inkcase, earphone, bracelet, etc. Wait.
  • the smart home device can be a water dispenser, an air conditioner, a refrigerator, and the like.
  • the slave device 302 in FIG. 3 is exemplified by a smart watch.
  • the first device may be the foregoing master device 301, and the second device is the slave device 302.
  • the first device is the foregoing slave device 302
  • the second device is the master device 301.
  • FIG. 4 is introduced by the master device 301 and/or the slave device 302 provided by the embodiments of the present application.
  • the mobile phone shown in FIG. 4 is merely an example and does not constitute a limitation on the mobile phone, and the mobile phone may have more or less components than those shown in the figure, and may be combined. Two or more components, or may have different component configurations.
  • the various components shown in FIG. 4 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the mobile phone may specifically include: a processor 401, a radio frequency (RF) circuit 402, a memory 403, a touch screen 404, a Bluetooth device 405, one or more sensors 406, and a wireless fidelity (WI).
  • RF radio frequency
  • WI wireless fidelity
  • -FI means 407, positioning means 408, audio circuit 409, peripheral interface 410, and power supply system 411. These components can communicate over one or more communication buses or signal lines (not shown in Figure 4).
  • the processor 401 is a control center of the mobile phone, and connects various parts of the mobile phone by using various interfaces and lines, by running or executing an application (Application, App) stored in the memory 403, and calling data and instructions stored in the memory 403. , perform various functions of the mobile phone and process data.
  • the processor 401 can include one or more processing units; the processor 401 can also integrate an application processor and a modem processor; wherein the application processor primarily processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 401.
  • the processor 401 may be a Kirin 960 chip manufactured by Huawei Technologies Co., Ltd.
  • the processor 401 may further include a fingerprint verification chip for verifying the collected fingerprint.
  • the radio frequency circuit 402 can be used to receive and transmit wireless signals during transmission or reception of information or calls. Specifically, the radio frequency circuit 402 can process the downlink data of the base station and then process the data to the processor 401. In addition, the data related to the uplink is sent to the base station.
  • radio frequency circuit 402 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency circuit 402 can also communicate with other devices through wireless communication.
  • the wireless communication can use any communication standard or protocol, including but not limited to global mobile communication systems, general packet radio services, code division multiple access, wideband code division multiple access, long term evolution, email, short message service, and the like.
  • the memory 403 is used to store applications and data, and the processor 401 executes various functions of the mobile phone and data processing by running applications and data stored in the memory 403.
  • the memory 403 mainly includes a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.); the storage data area can be stored according to the use of the mobile phone. Data created at the time (such as audio data, phone book, etc.).
  • the memory 403 may include a high speed random access memory, and may also include a nonvolatile memory such as a magnetic disk storage device, a flash memory device, or other volatile solid state storage device.
  • the memory 403 can store various operating systems, such as those developed by Apple. Operating system, developed by Google Inc. Operating system, etc.
  • Touch screen 404 can include touch-sensitive surface 404-1 and display 404-2.
  • the touch-sensitive surface 404-1 eg, a touch panel
  • the touch-sensitive surface 404-1 can capture a touch event on or near the user of the mobile phone (eg, the user uses a finger, a stylus, or the like on the touch-sensitive surface 404-1 or The operation in the vicinity of the touch-sensitive surface 404-1) and the collected touch information is transmitted to other devices such as the processor 401.
  • the touch event of the user in the vicinity of the touch-sensitive surface 404-1 may be referred to as a hovering touch; the hovering touch may mean that the user does not need to directly touch the touchpad in order to select, move or drag a target (eg, an icon, etc.) And only the user is located near the electronic device in order to perform the desired function.
  • a target eg, an icon, etc.
  • the touch-sensitive surface 404-1 capable of floating touch can be realized by capacitive, infrared light, ultrasonic, or the like.
  • the touch sensitive surface 404-1 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection device, and converts the touch information into contact coordinates, and then Sended to the processor 401, the touch controller can also receive and execute the instructions sent by the processor 401.
  • the touch sensitive surface 404-1 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • a display (also referred to as display screen) 404-2 can be used to display information entered by the user or information provided to the user as well as various menus of the mobile phone.
  • the display 404-2 can be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the touch sensitive surface 404-1 can be overlaid on the display 404-2, and when the touch sensitive surface 404-1 detects a touch event on or near it, is transmitted to the processor 401 to determine the type of touch event, followed by the processor 401 can provide a corresponding visual output on display 404-2 depending on the type of touch event.
  • touch-sensitive surface 404-1 and display screen 404-2 are implemented as two separate components to implement the input and output functions of the handset, in some embodiments, touch-sensitive surface 404-1 can be utilized. It is integrated with the display 404-2 to implement the input and output functions of the mobile phone.
  • the touch screen 404 is formed by stacking a plurality of layers of materials. In the embodiment of the present application, only the touch-sensitive surface (layer) and the display screen (layer) are shown, and other layers are not described in the embodiment of the present application.
  • the touch-sensitive surface 404-1 can be overlaid on the display 404-2, and the size of the touch-sensitive surface 404-1 is greater than the size of the display 404-2 such that the display 404- 2 is completely covered under the touch-sensitive surface 404-1, or the touch-sensitive surface 404-1 may be disposed on the front side of the mobile phone in the form of a full-board, that is, the user's touch on the front of the mobile phone can be sensed by the mobile phone, so that Achieve a full touch experience on the front of the phone.
  • the touch-sensitive surface 404-1 is disposed on the front side of the mobile phone in the form of a full-board
  • the display screen 404-2 can also be disposed on the front side of the mobile phone in the form of a full-board, so that the front side of the mobile phone can be realized. Borderless structure.
  • the mobile phone may also have a fingerprint recognition function.
  • the fingerprint reader 412 can be configured on the back of the handset (eg, below the rear camera) or on the front side of the handset (eg, below the touch screen 404).
  • the fingerprint recognition function can also be implemented by configuring the fingerprint identifier 412 in the touch screen 404, that is, the fingerprint identifier 412 can be integrated with the touch screen 404 to implement the fingerprint recognition function of the mobile phone.
  • the fingerprint identifier 412 can be configured in the touch screen 404, can be part of the touch screen 404, or can be otherwise configured in the touch screen 404.
  • the fingerprint identifier 412 can also be implemented as a full-board fingerprint reader, and thus the touch screen 404 can be viewed as a panel that can be fingerprinted at any location.
  • the fingerprint identifier 412 can send the collected fingerprint to the processor 401 for the processor 401 to process the fingerprint (eg, fingerprint verification, etc.).
  • the main component of the fingerprint identifier 412 in the embodiment of the present application is a fingerprint sensor, which can employ any type of sensing technology, including but not limited to optical, capacitive, piezoelectric or ultrasonic sensing technologies.
  • the mobile phone may also include a Bluetooth device 405 for enabling data exchange between the mobile phone and other short-range electronic devices (eg, the second device 302, such as a mobile phone, smart watch, etc.).
  • the Bluetooth device in the embodiment of the present application may be an integrated circuit or a Bluetooth chip or the like.
  • the handset may also include at least one type of sensor 406, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display of the touch screen 404 according to the brightness of the ambient light, and the proximity sensor may turn off the power of the display when the mobile phone moves to the ear.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile phone can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • the gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration
  • vibration recognition related functions such as pedometer, tapping
  • the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • the WI-FI device 407 is configured to provide the mobile phone with network access complying with the WI-FI related standard protocol, and the mobile phone can access the WI-FI access point through the WI-FI device 407, thereby helping the user to send and receive emails and browse the webpage. And access to streaming media, etc., it provides users with wireless broadband Internet access.
  • the WI-FI device 407 can also function as a WI-FI wireless access point, and can provide WI-FI network access for other electronic devices.
  • the positioning device 408 is configured to provide a geographic location for the mobile phone. It can be understood that the positioning device 408 can be specifically a receiver of a positioning system such as a Global Positioning System (GPS) or a Beidou satellite navigation system. After receiving the geographical location sent by the positioning system, the positioning device 408 sends the information to the processor 401 for processing, or sends it to the memory 403 for storage. In some other embodiments, the positioning device 408 can be an Assisted Global Positioning System (AGPS) receiver, and the AGPS is an operation mode for performing GPS positioning with certain assistance, which can be utilized.
  • AGPS Assisted Global Positioning System
  • the signal of the base station allows the mobile phone to be positioned faster; in the AGPS system, the positioning device 408 can obtain positioning assistance by communicating with an auxiliary positioning server (such as a mobile phone positioning server).
  • the AGPS system assists the positioning device 408 in performing the ranging and positioning services by acting as an auxiliary server, in which case the auxiliary positioning server provides positioning by communicating with an electronic device such as a positioning device 408 (ie, a GPS receiver) of the mobile device via a wireless communication network. assist.
  • the positioning device 408 can also be a WI-FI access point based positioning technology.
  • each WI-FI access point has a globally unique MAC address
  • the electronic device can scan and collect the broadcast signals of the surrounding WI-FI access points when WI-FI is turned on, so that the WI can be obtained.
  • the electronic device sends the data (such as the MAC address) capable of indicating the WI-FI access point to the location server through the wireless communication network, and each WI-FI interface is retrieved by the location server.
  • the geographic location of the entry point combined with the strength of the WI-FI broadcast signal, calculates the geographic location of the electronic device and sends it to the location device 408 of the electronic device.
  • Audio circuitry 409, speaker 413, microphone 414 can provide an audio interface between the user and the handset.
  • the audio circuit 409 can transmit the converted electrical data of the received audio data to the speaker 413, and convert it into a sound signal output by the speaker 413; on the other hand, the microphone 414 converts the collected sound signal into an electrical signal, and the audio circuit 409 After receiving, it is converted into audio data, and then the audio data is output to the RF circuit 402 for transmission to, for example, another mobile phone, or the audio data is output to the memory 403 for further processing.
  • Peripheral interface 410 for providing various interfaces to external input/output devices (eg, keyboard, mouse, external display, external memory, subscriber identity module card, etc.). For example, it is connected to the mouse through a universal serial bus interface, and is connected to a Subscriber Identity Module (SIM) card provided by a telecommunications carrier through a metal contact on the card slot of the subscriber identity module.
  • SIM Subscriber Identity Module
  • Peripheral interface 410 can be used to couple the external input/output peripherals described above to processor 401 and memory 403.
  • the mobile phone may further include a power supply device 411 (such as a battery and a power management chip) for supplying power to various components, and the battery may be logically connected to the processor 401 through the power management chip, thereby managing charging, discharging, power consumption management, etc. through the power supply device 411.
  • a power supply device 411 such as a battery and a power management chip
  • the battery may be logically connected to the processor 401 through the power management chip, thereby managing charging, discharging, power consumption management, etc. through the power supply device 411.
  • the mobile phone may further include a camera (front camera and/or rear camera), a flash, a micro projection device, an NFC device, and the like, and details are not described herein.
  • a camera front camera and/or rear camera
  • a flash may further include a camera (front camera and/or rear camera), a flash, a micro projection device, an NFC device, and the like, and details are not described herein.
  • FIG. 5 is a schematic flowchart diagram of a data transmission method according to an embodiment of the present application. The method is applied to the communication between the first device and the second device, wherein the first device and the second device can perform multiple times of transmitting and receiving in one transmission cycle. As shown in FIG. 5, the method may include the following steps: S501-S504.
  • the first device sends a data packet to the second device in the first transmission period, where the data packet includes an indication flag, where the indication flag is used to indicate whether the second device needs to be consecutive in time with the first transmission period. At least one transmission cycle is monitored.
  • the above indication flag may be included in a header of a data packet.
  • the data transmission is performed by using the Bluetooth protocol between the first device and the second device.
  • the indication flag may be represented by NCOMDD (Next Connection Event More Data), as shown in FIG. Schematic diagram of the header.
  • the header of the data packet includes: a Logical Link Identifier (LLID) field, a Next Expected Sequence Number (NESN) field, and a Sequence Number (Sequence Number, SN) field, More Data (MD) field, NCMMD field, Reserve (RFU), and Length field.
  • LLID Logical Link Identifier
  • NESN Next Expected Sequence Number
  • SN Sequence Number
  • MD More Data
  • NCMMD field More Data
  • RNU Reserve
  • Length field Length field.
  • the NCEMD field is a new field in the application, and the other fields are standard fields existing in the Bluetooth protocol. For detailed descriptions of other fields, refer to the Bluetooth protocol, which is not described herein.
  • the NCMMD field is used to indicate whether the second device needs to monitor at least one transmission period that is consecutive in time with the current transmission period.
  • the length of the NCEMD field is related to the number of transmission cycles that need to indicate whether the second device needs to be monitored.
  • the number of transmission periods that need to be instructed to be monitored by the second device is 1, that is, the first device needs to indicate whether the second device needs to monitor the next transmission period that is consecutive in time with the current transmission period.
  • the length of the NCMMD field may be 1 bit. For example, if the NCMMD field is 1, it indicates that the second device needs to monitor the next transmission period that is consecutive with the current transmission period. The NCMMD field is 0, indicating The second device does not need to listen to the next transmission cycle that is contiguous with the current transmission cycle.
  • the number of transmission periods that need to be instructed to be monitored by the second device is 2, that is, the first device needs to indicate whether the second device needs to monitor two transmission periods that are consecutive in time with the current transmission period.
  • the length of the NCMMD field can be 2 bits.
  • the NCMMD field is 11, indicating that the second device needs to listen to the next transmission cycle that is consecutive with the current transmission cycle and the next transmission cycle.
  • the NCEMD field is 10, indicating that the second device needs to monitor the next transmission period that is consecutive with the current transmission period, and does not need to monitor the next transmission period.
  • the NCMMD field is 00, indicating that the second device does not need to be current and current.
  • the next transmission period of the transmission cycle that is continuous in time and the next transmission cycle are monitored.
  • the indication flag is included in the header of the data packet as an example. In a specific implementation, the indication flag may also be included in other locations in the data packet.
  • the application examples are not specifically limited.
  • the length of the indication mark is not specifically limited in the embodiment of the present application.
  • the first device in the first transmission period, may carry an indication flag in the transmitted data packet, to indicate whether the second device needs to be at least temporally continuous with the first transmission period.
  • a transmission cycle is monitored.
  • the second device in a case where the first device transmits data in at least one transmission period that is continuous with the first transmission period in time, the second device can determine that the monitoring needs to be continued according to the indication flag, thereby being able to receive the information in time.
  • Data transmitted by a device in a case where the first device transmits data in at least one transmission period that is continuous with the first transmission period in time.
  • the data transmission between the first device and the second device by using the Bluetooth protocol is taken as an example.
  • the foregoing transmission period is referred to as a connection event interval in the Bluetooth protocol, and is simply referred to as interval.
  • interval 60ms
  • FIG. 7 (FIG. 7 is a timing diagram of the transmission data shown from the perspective of the transmitting device, that is, the first device), when the first device has a data transmission requirement, and it is assumed that the data needs to be divided into 7 data packets.
  • the first device can start data transmission in interval 1.
  • the first device can send up to 4 times of data in one connection event, the first device can start the first TX, the second TX, the third TX, and the anchor point of the connection event 1 corresponding to the interval 1 At the fourth TX, the data packet 1, the data packet 2, the data packet 3, and the data packet 4 are respectively transmitted.
  • the interval 1 is an interval that the second device needs to monitor according to the interval and the Latency
  • the second device does not monitor the interval 2 according to the provisions of the existing Bluetooth protocol.
  • the first device in order to ensure that the data of the first device can be transmitted to the second device in time, the first device may carry the indication flag in the data packet sent in the interval 1, and the indication flag is used at this time.
  • the first device may carry the indication flag in all data packets sent in the interval 1, that is, the data packet 1, the data packet 2, the data packet 3, and the data packet 4, or may be only in the interval 1.
  • the last transmitted packet, that is, the packet 4 carries the indication flag to save information overhead.
  • the first device carries an NCMMD field of value 1 in the header of the data packet 4 transmitted in the interval 1 to indicate that the second device needs to listen to the interval 2.
  • the first device may send the remaining data packets, that is, the data packet 5 and the data packet 6, respectively, at the first TX, the second TX, and the third TX starting from the anchor point of the connection event 2 corresponding to the interval 2.
  • the foregoing sending the data packet in the interval may specifically refer to the connection corresponding to the interval.
  • the packet is sent in the event.
  • the foregoing monitoring the interval may specifically refer to monitoring the connection event corresponding to the interval.
  • the foregoing sending a data packet in the interval 1 may specifically mean that the data packet is sent in the connection event 1 corresponding to the interval 1.
  • the monitoring of the interval 2 may be performed by monitoring the connection event 2 corresponding to the interval 2.
  • the second device receives the data packet from the first device in the first transmission period.
  • the second device may listen to the interval 1 to receive a data packet that the first device starts transmitting at the anchor point of the connection event 1 corresponding to the interval 1.
  • the second device After the second device receives the data packet sent by the first device in the first transmission period, it may determine, according to the indication flag included in the received data packet, whether at least one transmission period that is temporally consecutive with the first transmission period is needed. Monitor.
  • the indication flag is used to indicate that the second device needs to monitor at least one transmission period that is consecutive in time with the first transmission period
  • the second device pairs the at least one transmission that is consecutive in time with the first transmission period. The cycle is monitored.
  • the second device may consider that the first device is in time with the first transmission period Data transmission is performed in at least one consecutive transmission period, and at this time, the second device can monitor at least one transmission period that is temporally continuous with the first transmission period. For example, in conjunction with the example shown in FIG. 7, the second device may listen to the interval 2 to receive a data packet that the first device starts transmitting at the anchor point of the connection event 2 corresponding to the interval 2.
  • the first device may carry the indication in the data packet sent in the current transmission period.
  • the second device does not need to indicate the at least one transmission period that is consecutive in time with the current transmission period, so that the second device can enter the sleep state after receiving the completion data in the current transmission period, and can be configured according to the configuration.
  • the relevant parameters such as the interval and the Latency parameters in the Bluetooth protocol, determine the next transmission period that needs to be monitored, and then monitor the determined transmission period. For example, in conjunction with the example shown in FIG.
  • the second device may enter a sleep state, and since the first device has completely transmitted the data in the interval 2, That is, the indication flag included in the data packet in the connection event 2 corresponding to the interval 2 is used to indicate that the second device does not need to monitor the time interval 3 consecutively with the interval 2, so the second device can according to the data in the connection event 2.
  • the time point wakes up from sleep and listens to interval 6.
  • the second device when the indication flag is used to indicate that the second device does not need to monitor for some or some intervals, the second device may also monitor the intervals. That is, in the case that the indication flag is used to indicate that the second device does not need to monitor the interval, the second device may determine whether the interval needs to be monitored according to the configuration of the second device. There are no specific restrictions here.
  • the second device determines the second transmission period, and monitors the second transmission period.
  • the second device may determine, according to the configured related parameters, the next one that needs to be monitored.
  • the transmission period that is, the second transmission period, and the second transmission period is monitored. It should be noted that the specific implementation of determining the second transmission period may refer to the related description in S503, and the embodiments of the present application are not described in detail herein.
  • the method may further include the following steps: S505-S506.
  • the first device sends a first message to the second device, where the first message is used to indicate that the first device supports the first feature.
  • the first feature is to support the feature of carrying an indication flag in the data packet to indicate whether the transmission period needs to be monitored.
  • the second device sends a second message to the first device, where the second message is used to indicate that the second device supports the first feature.
  • the first message may be a logical link control protocol feature request (LLCP Feature Request), and the second message may be For the logical link control protocol feature response (LLCP Feature Response).
  • LLCP Feature Request logical link control protocol feature request
  • LLCP Feature Response For the logical link control protocol feature response
  • the first device may send a LLCCP Feature Request to the second device, and carry the LLC feature in the LLCP Feature Request when the first device supports the first feature.
  • the first characteristic is to indicate that the first device supports the first characteristic.
  • the second device After receiving the LLCP Feature Request, the second device replies to the first device with the first feature, and when the second device supports the first feature, the second device carries the first feature to indicate that the second device supports the first characteristic. After the first device and the second device obtain the feature list supported by the other party, if both the first feature is supported, the first device and the second device start the first feature. If one party does not support the first feature, the two devices can ignore the indicator carried in the data packet when interacting, and determine the transmission period to be monitored according to the existing protocol. Alternatively, if one party does not support the first feature, the two devices may not carry the indication flag when interacting, but determine the transmission period that needs to be monitored according to the existing protocol.
  • the first device sends a data packet carrying the indication flag to the second device in the first transmission period, where the indication flag is used to indicate whether the second device needs to be in the first transmission period. At least one transmission cycle that is continuous in time is monitored. In this way, by carrying an indication flag indicating whether the second device needs to monitor at least one transmission period that is temporally continuous with the transmission period in a transmission period, the first device is continuously continuous with the transmission period in time.
  • the second device determines that the monitoring needs to be continued according to the indication flag, and then receives the data transmitted by the first device in time, thereby achieving the purpose of quickly transmitting the data to the opposite end, and comparing
  • the prior art saves power consumption of the device by dynamically adjusting the interval and/or Latency for data transmission.
  • FIG. 9 is a schematic flowchart diagram of another data transmission method according to an embodiment of the present application.
  • the method is applied to the communication between the first device and the second device, wherein the first device and the second device can perform multiple times of transmitting and receiving in one transmission cycle.
  • the method may include the following steps: S901-S903.
  • the first device when the number of data packets that the first device can send to the second device is determined in one transmission period, the first device sends the first data packet to the second device in the first transmission period; There is no data transmission after the first data packet, the first data packet includes an MD, the MD is used to indicate that the first device has data transmission in the second transmission period, and the second transmission period and the first transmission period are in time. continuous.
  • the second device receives the first data packet from the first device in the first transmission period.
  • the second device monitors the second transmission period.
  • the MD field included in the header of the data packet is used to indicate whether there is still another data to be transmitted among the same connection event.
  • There will be no next data to be transmitted in the connection event ie the packet is the last packet of the connection event corresponding to the current transmission cycle.
  • the MD included in the other data packets except the last data packet of the connection event corresponding to the current transmission period is 1, and the last one of the connection events corresponding to the current transmission period.
  • the MD contained in the data packet is 0.
  • the first device may reuse the MD in the prior art, and set the MD included in the first data packet to 1, which is used to indicate The current transmission cycle will have data transmission during the second consecutive transmission cycle.
  • the first data packet is the last data packet of the current transmission period.
  • the second device receives the first data packet, when there is no data transmission after the first data packet in the current transmission period, that is, the first data packet is the last data packet of the current transmission period (in the current transmission cycle)
  • the first device and the second device end the connection event corresponding to the current transmission period.
  • the first device sets the MD in packet 4 to 1 to indicate that the first device will have data transmissions in interval 2 so that the second device can listen to interval 2.
  • the Header of the transmitted data packet does not include the NCMMD field shown in FIG. 6, but is included in the Header according to the provisions of the existing Bluetooth protocol.
  • the LLID field, the NESN field, the SN field, the MD field, the RFU, and the Length field may be used.
  • the method may further include the following steps: S904-S905.
  • the first device sends a first message to the second device, where the first message is used to negotiate, with the second device, the number of data packets that the first device can send to the second device in one transmission period.
  • the second device sends a second message to the first device, where the second message is used to confirm the number of data packets that the first device can send to the second device in one transmission period.
  • the first message may be a LLCP Feature Request
  • the second message may be a LLCP Feature Response, that is, the first device and the second device may pass the LLCP Feature Request and after establishing the physical layer connection.
  • the LLCP Feature Response negotiates the number of packets that the first device can send to the second device in one transmission cycle.
  • the foregoing sending the data packet in the transmission period may specifically mean that the transmission period corresponds to The packet is sent in the connection event.
  • the number of times of transmission and reception in the above transmission period may specifically refer to the number of times of connection and reception of the connection event corresponding to the transmission period.
  • the number of data packets that can be transmitted in the transmission cycle may specifically refer to the number of data packets that can be transmitted in the connection event corresponding to the transmission cycle.
  • the data transmission method when the number of data packets that the first device can send to the second device is determined in one transmission period, the first device sends the first message to the second device in the first transmission period.
  • the data packet carries an MD, and the MD is used to indicate that the first device has data transmission in the second transmission period. There is no data transmission after the first data packet in the first transmission period, that is, the first data packet is the last data packet in the first transmission period, and the second transmission period is continuous with the first transmission period in time.
  • the second device can timely monitor the time-continuous transmission period with the transmission period, thereby enabling the first device to quickly transmit data to the second device, and dynamically adjusting the interval and/or compared to the prior art. Latency's method of data transmission saves power consumption of the device.
  • the connection event corresponding to the interval is monitored. Therefore, in the embodiment of the present application, when using the data transmission methods shown in FIG. 5 and FIG. 8 and FIG. 9 and FIG. 10 of the embodiment of the present application, the first device may first determine the Latency. If the value of the value is 0, if the Latency is not equal to 0, the data transmission method provided by the embodiment of the present application may be used for data transmission.
  • the transmission rate may be adjusted between the first device and the second device by using a method in the prior art, such as a scheme for adjusting interval and/or Latency initiated by the device.
  • a scheme for adjusting interval and/or Latency initiated by the master device that is, the mechanism for transmitting data between the devices by using the above method, and the mechanism for adjusting the transmission rate between the devices in the prior art can coexist. The two will have no effect.
  • Another embodiment of the present application provides a data receiving method, which is applied to a process in which a first device communicates with a second device, where the first device and the second device can perform multiple times of transmitting and receiving in one transmission cycle.
  • the method may include the following process: when the first device has data to transmit, if all data transmission cannot be completed in one transmission cycle, the first device may perform data transmission in consecutive multiple transmission cycles.
  • the second device in order to receive the data sent by the first device as soon as possible, the second device can monitor all transmission periods. Moreover, in order to save power consumption of the device, when the second device monitors the current transmission period, the second device may first receive the Header portion of the data packet in the receiving occasion (such as RX) of the current transmission period, and according to the length field in the Header portion. The value is used to determine if there is data transmission in the receiving occasion. The length field can be used to indicate whether there is data transmission in the current receiving occasion. When the value of the length field is not 0, the second device may determine that there is data transmission in the current receiving occasion, and at this time, the data portion of the data packet may be received at the current receiving occasion.
  • the receiving occasion such as RX
  • the second device may determine that there is no data transmission in the current receiving occasion. The second device may further determine, according to the value of the MD field in the header part, whether there is still another data to be transmitted. If the value of the MD field in the Header part is 0, the second device may end the current connection event and enter the sleep state. status. If the value of the MD field in the Header part is 1, the second device may continue to listen to the current transmission period until the value of the MD field in the header portion of the received data packet is zero. In some embodiments of the present application, if the second device does not receive any packet in the receiving timing of the current transmission period, the second device may enter a dormant state, and the second device does not receive any packet, specifically, the second device. The device does not hear any Bluetooth signals.
  • the foregoing receiving occasion may be the first receiving occasion in the current transmission period.
  • the data transmission between the first device and the second device using the Bluetooth protocol is taken as an example.
  • the second device may not monitor the connection event corresponding to the connection event corresponding to the interval 2 to the interval 5.
  • the second device in order to complete the data transmission as soon as possible, the second device may be the connection event corresponding to the interval 2, the connection event 3 corresponding to the interval 3, the connection event 4 corresponding to the interval 4, and the interval 5 Connection event 5 is listening.
  • the second device Taking the second device to listen to the connection event 2 corresponding to the interval 2 as an example.
  • the second device starts from the anchor point of the connection event 2 corresponding to the interval 2, and when the first RX is monitored, the Header portion of the data packet can be received in the first RX, and can be received according to the first RX.
  • the value of the length field in the header portion of the packet determines whether there is data transmission in the first RX. If the second device determines that the length field in the header portion of the data packet received in the first RX is not 0 (not shown in FIG. 11), the second device may determine that there is data in the first RX. Transmit and receive data transmitted in the first RX.
  • the second device may determine, according to the value of the MD field in the Header part of the data packet received in the first RX, whether there is another data transmission in the connection event 2, when it is determined that there is a next data transmission, The second device can listen to the second RX until the value of the MD field in the header portion of the received data packet is zero. When it is determined that there is no next data transmission, the second device can enter a sleep state after the data reception in the first RX is completed.
  • the second device may also determine whether there is data transmission in the second RX according to the value of the MD field in the Header part of the data packet received in the first RX, but The second RX listens, and when listening to the second RX, determines whether there is data transmission in the second RX according to the value of the length field in the Header portion of the received packet in the second RX.
  • the second device may determine that there is no data transmission in the first RX. Moreover, the second device may close the current connection event and enter a sleep state (as shown in FIG. 11) when determining that the value of the MD field in the header portion of the data packet received in the first RX is 0. When the value of the MD field in the header portion of the received packet in the first RX is 1, the second device may continue to listen to the second RX until the MD field in the header portion of the received packet is taken. The value is 0.
  • the above method may be used to determine the reception in the transmission period. Whether there is data transmission at the timing or not, the method in the existing Bluetooth protocol can also be used to determine whether there is data transmission in the receiving occasion, which is not limited in this embodiment of the present application.
  • Another embodiment of the present application further provides another data receiving method, which is applied to a process in which a first device communicates with a second device, where the first device and the second device can perform multiple times of transmitting and receiving in one transmission cycle.
  • the second device may determine whether to monitor the next transmission period of the current transmission period according to whether there is data transmission in the current transmission period. For example, if there is data transmission in the current transmission cycle, the second device will listen to the next transmission cycle of the current transmission cycle, and when there is no data transmission in the current transmission cycle, the second device can consider the next transmission of the current transmission cycle.
  • the transmission period monitors the determined transmission period. For example, as shown in FIG. 12 (FIG. 12 is a timing diagram of transmission data shown from the perspective of a receiving device), data transmission using a Bluetooth protocol between the first device and the second device is taken as an example.
  • FIG. 12 FIG. 12 is a timing diagram of transmission data shown from the perspective of a receiving device
  • data transmission using a Bluetooth protocol between the first device and the second device is taken as an example.
  • the second device monitors the connection event 1 corresponding to the interval 1, it is determined that there is data transmission in the connection event 1 corresponding to the interval 1.
  • the second device may have data transmission according to the connection event 1 corresponding to the interval 1.
  • connection event 2 corresponding to the interval 2 may also have data transmission.
  • the second device monitors the connection event 2 corresponding to the interval 2. In this way, when the first device performs data transmission in the connection event 2 corresponding to the interval 2, the second device can receive the data transmitted by the first device in time, and achieve the purpose of quickly transmitting the data to the opposite end.
  • the second device may refer to the transmission of the data packet whose length field of the header part is not 0, that is, the second device only receives the data length not 0.
  • the next transmission period of the current transmission period is monitored; or, the second device may receive the data packet in the current transmission period (including the value of the length field of the header portion of the data packet). If the value is 0 or not 0, the second device will listen to the next transmission period of the current transmission period, and the actual implementation may be selected according to the requirements, which is not specifically limited in this embodiment.
  • the specific implementation may be that there is data transmission at the first RX in the connection event 1 corresponding to the interval 1, and it can be considered that there is data transmission in the current transmission period, and it is determined that the next transmission period for the current transmission period is required. Listening; or, there is data transmission at the last RX in connection event 1 corresponding to interval 1, it is considered that there is data transmission in the current transmission period, and it is determined that the next transmission period of the current transmission period needs to be monitored; or If there is data transmission at any RX in the connection event 1 corresponding to the interval 1, it is considered that there is data transmission in the current transmission period, and it is determined that the next transmission period of the current transmission period needs to be monitored, which are specific implementation aspects.
  • the embodiment of the present application is not limited herein.
  • the foregoing method embodiments may also be combined with each other to achieve the purpose of quickly transmitting data to the peer end.
  • the embodiment shown in FIG. 9 can be combined with the embodiment corresponding to FIG. 12, and when the number of data packets that the first device can send to the second device is determined in one transmission cycle, the second device is only determined.
  • the last receiving occasion of the current transmission period such as RX
  • the next transmission period of the current transmission period is monitored, and the MD included in the data packet is no longer judged whether it needs to be under the current transmission period.
  • a transmission cycle is monitored.
  • the first device and the second device include corresponding hardware structures and/or software modules for performing respective functions.
  • the embodiments of the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.
  • the embodiment of the present application further provides a first device and a second device that implement the foregoing method embodiments.
  • the first device and the second device may be divided into functional modules.
  • each function may be divided into Functional modules can also integrate two or more functions into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • FIG. 13 is a schematic diagram showing a possible structure of the first device 1300 involved in the foregoing embodiment, where the first device 1300 may include: a sending unit 1301.
  • the sending unit 1301 is configured to support the first device 1300 to perform S501, S505, S901, S904 and/or other processes for the techniques described herein in the foregoing method embodiments.
  • the first device 1300 may further include: a receiving unit 1302 and a determining unit 1303.
  • the receiving unit 1302 is configured to support the first device 1300 to perform the receiving operation in the foregoing method embodiments and/or other processes for the techniques described herein.
  • the determining unit 1303 is configured to support the electronic device to perform the determining operation in the above method embodiment and/or other processes for the techniques described herein.
  • the first device 1300 includes, but is not limited to, the unit modules enumerated above.
  • the first device 1300 may further include a display unit or the like for displaying content.
  • the specific functions that can be implemented by the foregoing functional units include, but are not limited to, the functions corresponding to the method steps described in the foregoing examples.
  • the application examples are not described herein.
  • FIG. 14 shows a possible structural diagram of the first device 1400 involved in the above embodiment.
  • the first device 1400 includes a processing module 1401, a storage module 1402, and a communication module 1403.
  • the processing module 1401 is configured to control and manage the actions of the first device 1400.
  • the storage module 1402 is configured to save program codes and data of the first device 1400.
  • the communication module 1403 is configured to support communication between the first device 1400 and other network entities to implement data interaction, Internet access, and the like of the first device.
  • the processing module 1401 can be a processor or a controller.
  • the communication module 1403 may be a transceiver, an RF circuit, a communication interface, or the like.
  • the storage module 1402 can be a memory.
  • the first device 1400 can also include a display module and an input module, which can be a screen or a display.
  • the input module can be a touch screen, a voice input device, or a fingerprint sensor.
  • the processing module 1401 is a processor
  • the communication module 1403 is an RF circuit
  • the storage module 1402 is a memory
  • the display module is a touch screen
  • the first device 1400 provided by the embodiment of the present application may be the mobile phone shown in FIG. 4 .
  • the communication module 1403 may include not only an RF circuit but also a WI-FI module, an NFC module, and a Bluetooth module. Communication modules such as RF circuits, NFC modules, WI-FI modules, and Bluetooth modules can be collectively referred to as communication interfaces.
  • the above processor, RF circuit, touch screen and memory can be coupled together by a bus.
  • FIG. 15 is a schematic diagram showing a possible structure of the second device 1500 involved in the foregoing embodiment.
  • the second device 1500 may include: a receiving unit 1501 and a monitoring device.
  • the receiving unit 1501 is configured to support the second device 1500 to perform S502, S902, and/or other processes for the techniques described herein in the foregoing method embodiments.
  • the monitoring unit 1502 is configured to support the second device 1500 to perform the operations of listening to the second transmission period in S503, S504 in the foregoing method embodiment, S903, and/or other processes for the techniques described herein.
  • the second device 1500 may further include: a determining unit 1503, a sending unit 1504, and a control unit 1505.
  • the determining unit 1503 is configured to support the second device 1500 to perform the operations of determining the second transmission period in S504 and/or other processes for the techniques described herein in the foregoing method embodiments.
  • the sending unit 1504 is configured to support the second device 1500 to perform S506, S905, and/or other processes for the techniques described herein in the foregoing method embodiments.
  • the control unit 1505 is configured to support the second device 1500 to perform the control operations in the above method embodiments and/or other processes for the techniques described herein.
  • the second device 1500 includes, but is not limited to, the unit modules enumerated above.
  • the second device 1500 may further include a display unit or the like for displaying content.
  • the specific functions that can be implemented by the foregoing functional units include, but are not limited to, the functions corresponding to the method steps described in the foregoing examples.
  • the application examples are not described herein.
  • FIG. 16 shows a possible structural diagram of the second device 1600 involved in the above embodiment.
  • the second device 1600 includes a processing module 1601, a storage module 1602, and a communication module 1603.
  • the processing module 1601 is configured to control and manage the actions of the second device 1600.
  • the storage module 1602 is configured to save program codes and data of the second device 1600.
  • the communication module 1603 is configured to support communication between the second device 1600 and other network entities to implement data interaction, Internet access, and the like of the second device.
  • the processing module 1601 can be a processor or a controller.
  • the communication module 1603 can be a transceiver, an RF circuit or a communication interface, or the like.
  • the storage module 1602 can be a memory.
  • the first device 1600 can also include a display module and an input module, which can be a screen or a display.
  • the input module can be a touch screen, a voice input device, or a fingerprint sensor.
  • the communication module 1603 may include not only an RF circuit but also a WI-FI module, an NFC module, and a Bluetooth module.
  • Communication modules such as RF circuits, NFC modules, WI-FI modules, and Bluetooth modules can be collectively referred to as communication interfaces.
  • the above processor, RF circuit, touch screen and memory can be coupled together by a bus.
  • Still other embodiments of the present application provide another computer storage medium comprising computer instructions that, when executed on a second device, cause the second device to perform as shown in FIG. 5, FIG. 8, FIG. 9, or FIG.
  • the related method steps in any of the figures implement the data transmission method in the above embodiments.
  • a chip system which may include: one or more processors, a memory, a communication bus; the memory is used to store one or more computer instructions, and the one or more processors and The memory is connected by the communication bus, and when the chip system is in operation, the one or more processors execute the one or more computer instructions stored in the memory, so that the chip system executes as shown in FIG. 5, FIG. 8, FIG. Or the related method steps in any of the figures of FIG. 10 implement the data transmission method in the above embodiment.
  • the chip system can be an integrated circuit IC or an on-chip system SOC.
  • the integrated circuit may be a general-purpose integrated circuit, a field programmable gate array FPGA, or an application specific integrated circuit ASIC.
  • the first device, the second device, the computer storage medium, the computer program product, or the chip system provided by the embodiments of the present application are all used to perform the corresponding method provided above. Therefore, the beneficial effects that can be achieved can be referred to. The beneficial effects in the corresponding methods provided above are not described herein again.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the embodiments of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the medium includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) or processor to perform all or part of the steps of the methods described in the various embodiments of the present application.
  • the foregoing storage medium includes: a flash memory, a mobile hard disk, a read only memory, a random access memory, a magnetic disk, or an optical disk, and the like, which can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Un mode de réalisation de la présente invention se rapporte au domaine des terminaux et concerne un procédé et un dispositif de transmission de données permettant de résoudre le problème selon lequel des données ne peuvent pas être rapidement transmises à une extrémité homologue et la consommation d'énergie d'un dispositif est gaspillée. Une solution spécifique est appliquée à un premier dispositif : le premier dispositif peut envoyer des paquets de données multiples à un second dispositif pendant un cycle de transmission, le premier dispositif envoyant des paquets de données au second dispositif pendant un premier cycle de transmission; les paquets de données comprennent un indicateur et l'indicateur est utilisé pour indiquer si le second dispositif doit surveiller au moins un cycle de transmission temporellement continu avec le premier cycle de transmission.
PCT/CN2018/082051 2018-04-04 2018-04-04 Procédé et dispositif de transmission de données Ceased WO2019191996A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/082051 WO2019191996A1 (fr) 2018-04-04 2018-04-04 Procédé et dispositif de transmission de données
CN201880060395.0A CN111149313B (zh) 2018-04-04 2018-04-04 一种数据传输方法及设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/082051 WO2019191996A1 (fr) 2018-04-04 2018-04-04 Procédé et dispositif de transmission de données

Publications (1)

Publication Number Publication Date
WO2019191996A1 true WO2019191996A1 (fr) 2019-10-10

Family

ID=68099820

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/082051 Ceased WO2019191996A1 (fr) 2018-04-04 2018-04-04 Procédé et dispositif de transmission de données

Country Status (2)

Country Link
CN (1) CN111149313B (fr)
WO (1) WO2019191996A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023272444A1 (fr) * 2021-06-28 2023-01-05 华为技术有限公司 Procédé de communication et appareil de communication associé
US12489577B2 (en) * 2021-02-05 2025-12-02 Lg Electronics Inc. Method for transmitting and receiving data in short-range wireless communication system, and apparatus therefor

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117220835A (zh) * 2020-09-17 2023-12-12 华为技术有限公司 一种基于内部集成电路的通信方法及装置
EP4262289A4 (fr) * 2021-01-29 2024-05-08 Huawei Technologies Co., Ltd. Procédé et appareil de configuration
CN113783758B (zh) * 2021-11-11 2022-04-15 荣耀终端有限公司 一种用于配置监听周期的方法及相应的电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104247321A (zh) * 2011-10-25 2014-12-24 苹果公司 利用蓝牙低功耗标准的数据传输
CN104615016A (zh) * 2014-12-08 2015-05-13 广东欧珀移动通信有限公司 一种基于低功耗蓝牙技术控制主机的方法及装置
CN106157021A (zh) * 2015-04-28 2016-11-23 中兴通讯股份有限公司 付款处理方法及装置
US20170041737A1 (en) * 2006-03-08 2017-02-09 Speed Demon Inc. Safe driving monitoring system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105706379B (zh) * 2013-11-11 2019-04-05 Lg电子株式会社 用于蓝牙连接的方法和设备
US9820135B2 (en) * 2014-12-22 2017-11-14 Google Inc. Systems and methods for reducing connection latency
US9503969B1 (en) * 2015-08-25 2016-11-22 Afero, Inc. Apparatus and method for a dynamic scan interval for a wireless device
CN107809756B (zh) * 2017-10-25 2020-05-19 深圳芯之联科技有限公司 蓝牙控制器、模块、终端、系统及蓝牙连接方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170041737A1 (en) * 2006-03-08 2017-02-09 Speed Demon Inc. Safe driving monitoring system
CN104247321A (zh) * 2011-10-25 2014-12-24 苹果公司 利用蓝牙低功耗标准的数据传输
CN104615016A (zh) * 2014-12-08 2015-05-13 广东欧珀移动通信有限公司 一种基于低功耗蓝牙技术控制主机的方法及装置
CN106157021A (zh) * 2015-04-28 2016-11-23 中兴通讯股份有限公司 付款处理方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12489577B2 (en) * 2021-02-05 2025-12-02 Lg Electronics Inc. Method for transmitting and receiving data in short-range wireless communication system, and apparatus therefor
WO2023272444A1 (fr) * 2021-06-28 2023-01-05 华为技术有限公司 Procédé de communication et appareil de communication associé

Also Published As

Publication number Publication date
CN111149313A (zh) 2020-05-12
CN111149313B (zh) 2021-05-18

Similar Documents

Publication Publication Date Title
CN110166192B (zh) 小区处理方法、终端设备及网络设备
EP3624404B1 (fr) Procédé et dispositif d'établissement de connexion de communication sans fil
CN110475364A (zh) 一种非周期跟踪参考信号的接收方法及终端
WO2016188260A1 (fr) Procédé et dispositif d'envoi de message de communication
WO2020155949A9 (fr) Procédé de positionnement d'utilisateur, éléments de réseau, système et support d'informations
WO2019191996A1 (fr) Procédé et dispositif de transmission de données
US11089539B2 (en) Data processing method, terminal, and base station
CN113382423B (zh) 信号传输方法、信息指示方法和相关设备
US12177702B2 (en) Measurement gap processing method, terminal, and network node
CN111600692B (zh) 一种信道监听方法、信息传输方法、终端及网络设备
WO2018033031A1 (fr) Procédé et dispositif de positionnement
WO2020063240A1 (fr) Procédé d'accès au canal, procédé de configuration, terminal et dispositif côté réseau
CN107439024A (zh) 来电处理方法、用户设备以及存储介质
CN110662277A (zh) 省电管理方法、图形用户界面以及终端
WO2021000778A1 (fr) Procédé de rejet de transmission en liaison montante, procédé de configuration de rejet de transmission en liaison montante et dispositif associé
CN111448825B (zh) 一种传输控制方法及设备
CN111642007B (zh) 一种终端设备同步接入网络的方法、系统及终端设备
CN113766638B (zh) 提醒方法、终端设备、网络设备及存储介质
CN111132187B (zh) 确定方法、终端设备及网络设备
WO2018201391A1 (fr) Procédé de synchronisation destiné à un bloc de signal de synchronisation, et produit associé
WO2018126407A1 (fr) Procédé et dispositif de transmission de données
WO2020029723A1 (fr) Procédé de positionnement, dispositif associé, et support de stockage lisible par ordinateur
CN108965042A (zh) 网络延迟的获取方法、装置、终端设备及存储介质
CN110621034A (zh) 一种传输控制方法、装置及系统
CN111277351B (zh) 一种信息处理方法、终端设备和网络侧设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18913707

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18913707

Country of ref document: EP

Kind code of ref document: A1