WO2017091994A1 - 数据发送方法、装置和终端 - Google Patents
数据发送方法、装置和终端 Download PDFInfo
- Publication number
- WO2017091994A1 WO2017091994A1 PCT/CN2015/096247 CN2015096247W WO2017091994A1 WO 2017091994 A1 WO2017091994 A1 WO 2017091994A1 CN 2015096247 W CN2015096247 W CN 2015096247W WO 2017091994 A1 WO2017091994 A1 WO 2017091994A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- service
- data transmission
- data
- sent
- transmission mode
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/18—Selecting a network or a communication service
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/90—Services for handling of emergency or hazardous situations, e.g. earthquake and tsunami warning systems [ETWS]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present invention relates to the field of wireless communications, and in particular, to a data transmission method, apparatus, and terminal.
- BLE Bluetooth Low Energy
- the BLE protocol and the traditional Bluetooth protocol are independent in terms of protocol content and implementation.
- the BLE protocol is applicable to a case where the amount of data transmitted by the terminal is not large, such as a control command that only transmits a few bytes, and the transmission rate of the terminal is not high in this case.
- the transmission rate of the terminal is required to be high, and for such rate-sensitive services.
- the BLE protocol greatly reduces the user experience.
- connection event interval A certain number of packets are sent.
- an application Application, APP
- L2CAP Logical Link Control and Adaptation Protocol
- LL Layer LL datagrams
- the 3 data shown in Figure 1 requires 24 LL_Data for transmission, and one connection event interval for 6 transmissions.
- LL_Data that is, 6 packets (packet) Interaction, the entire process needs to go through 4 connection event intervals.
- the embodiment of the invention provides a data transmission method, device and terminal, which can effectively improve the data transmission rate under the premise of reducing the power consumption of the terminal.
- a data sending method in which the fixed data sending mode is not adopted, but when the data transmission service is performed by using the BLE protocol, the data is determined according to the service type and/or user indication of the service.
- the data transmission mode of the transmission service performs the data transmission service by using the determined data transmission mode.
- the connection event interval is the time interval between two connection events.
- the connection event interval is in units of 1.25 ms, and the value of the connection event interval is 6 to 3200, that is, a connection event interval is 7.5 ms to 4 s.
- the data transmission mode of the data transmission service when it is determined that the data transmission mode of the data transmission service is the first transmission mode, it is determined whether there is a data message to be sent in each connection event interval; if it is determined that there is current data If the packet is to be sent, the data packet is sent; if it is determined that there is no data packet to be sent, an empty packet is sent. This sends an empty report when there is no data message to send.
- the text mode ensures that the terminal does not enter the sleep state when there is no data message to be sent in a connection event interval. When a data message is sent, the data message can continue to be sent within the connection event interval. Instead of waiting for the next connection event interval, the transmission time in each connection event interval is effectively utilized, and the data transmission rate is increased.
- the service type of the service and/or the user indicates that the service belongs to the non-emergency service
- the second transmission mode is A data transmission mode in which a predetermined number of messages are transmitted within a connection event interval
- the connection event interval is a time interval between two connection events.
- each connection event interval when it is determined that the data transmission mode of the data transmission service is the second transmission mode, in each connection event interval, it is first determined whether the number of messages sent in the connection event interval is less than the foregoing reservation. Number, when the result of the judgment is that the number of currently transmitted packets is less than the predetermined number, it is determined whether there is a data packet to be sent currently; if it is determined that a data packet is currently to be sent, the data packet is sent; If no data message is to be sent, an empty message is sent.
- This data transmission mode using a fixed number of messages in each connection event interval can effectively reduce power consumption.
- the data transmission mode of the data transmission service is the second transmission mode
- the message is sent; if it is determined that there is a data message to be sent, the data message is sent; if it is determined that there is no data message to be sent, the message is stopped during the connection event interval.
- This data transmission mode is equivalent to setting the maximum number of packets that can be sent during each connection event interval. When no data message is to be sent, the message is stopped, which can further reduce power consumption.
- the third transmission mode is The data transmission mode for continuously transmitting data packets during the connection event interval.
- the connection event interval is the time interval between two connection events.
- This data transmission mode is in each company The number of packets sent during the interval is not fixed, and the maximum number of packets sent is not set.
- the data transmission rate is faster than the second transmission mode. However, since only data packets are transmitted, the terminal does not have data packets. Will enter the sleep state, the data transmission rate is not as fast as the first transmission mode.
- each connection event interval it is determined whether there is currently a data message to be sent; if it is determined that there is currently a datagram If the text is to be sent, the data message is sent; if it is determined that there is no data message to be sent, the message is stopped during the connection event interval.
- an embodiment of the present invention provides a terminal, which has a function of realizing terminal behavior in the actual method.
- the functions may be implemented by hardware or by corresponding software implemented by hardware.
- the hardware or software includes one or more modules corresponding to the functions described above.
- the structure of the terminal includes a processor and a Bluetooth communication interface, the processor being configured to support the terminal to perform corresponding functions in the above methods.
- the Bluetooth communication interface is used to support communication between the terminal and another terminal, and to transmit information or instructions or data involved in the above method to another terminal.
- the terminal can also include a memory for coupling with the processor that retains program instructions and data necessary for the terminal.
- an embodiment of the present invention provides a terminal, where the terminal has a function of implementing a behavior of a data receiver terminal in the design of the foregoing method.
- the functions may be implemented by hardware or by corresponding software implemented by hardware.
- the hardware or software includes one or more modules corresponding to the functions described above.
- the modules can be software and/or hardware.
- the structure of the terminal includes a Bluetooth communication interface and a processor, and the Bluetooth communication interface is configured to support the terminal to receive various instructions and service data sent by the data sender terminal to the terminal.
- the processor controls the terminal to receive service data through the Bluetooth communication interface.
- an embodiment of the present invention provides a data sending apparatus, where the apparatus includes: a determining unit, configured to determine, according to a service type of the service and/or a user indication, data when the data transmission service is performed by using the BLE protocol. Data transmission mode of the transmission service; transmission unit for adoption The data transmission mode determined by the determining unit performs a data transmission service.
- the determining unit is specifically configured to determine the data of the data transmission service when the service type of the service and/or the user indicates that the service belongs to the emergency service when the data transmission service is performed by using the BLE protocol.
- the sending mode is a first sending mode, wherein the first sending mode is a data sending mode in which a message is continuously sent within each connection event interval, and the connection event interval is a time interval between two connection events.
- the sending unit includes: a determining subunit, configured to determine, in each connection event interval, whether there is currently a data message to be sent; and a sending subunit, configured to determine the current in the determining subunit When there is a data message to be sent, the data message is sent; and when the determining subunit determines that there is no data message to be sent, the empty message is sent.
- the determining unit is specifically configured to: when the data transmission service is performed by using the BLE protocol, when the service type of the service and/or the user indication that the service belongs to the non-emergency service, determining to perform the The data transmission mode of the data transmission service is a second transmission mode, and the second transmission mode is a data transmission mode for transmitting a predetermined number of messages in each connection event interval, where the connection event interval is between two connection events. Interval.
- the sending unit includes: a determining subunit, configured to determine, within each connection event interval, that the number of currently sent packets is less than the predetermined number; and the determining subunit, configured to determine whether there is currently a datagram The message is to be sent; the sending subunit is configured to: when the determining subunit determines that the current data message is to be sent, send the data message; and, when the determining subunit determines that there is no data message to be sent yet , send an empty message.
- the sending unit includes: a determining subunit, configured to determine, within each connection event interval, that the number of currently sent packets is less than the predetermined number; and the determining subunit, configured to determine whether there is currently a datagram The message is to be sent; the sending subunit is configured to: when the determining subunit determines that the current data message is to be sent, send the data message; and, when the determining subunit determines that there is no data message to be sent yet Stops sending messages during this connection event interval.
- the determining unit is specifically used for data transmission using the BLE protocol.
- the service type of the service and/or the user indicates that the service belongs to the non-emergency service
- determining that the data transmission mode of the data transmission service is the third transmission mode the third transmission mode A data transmission mode for continuously transmitting data messages during each connection event interval, the connection event interval being a time interval between two connection events.
- the sending unit includes: a determining subunit, configured to determine, in each connection event interval, whether there is currently a data message to be sent; and a sending subunit, configured to determine the current in the determining subunit When there is a data message to be sent, the data message is sent; and when the determining subunit determines that there is no data message to be sent, the message is stopped during the connection event interval.
- an embodiment of the present invention provides a terminal, where the terminal includes: a memory, a processor, and a Bluetooth communication interface;
- the memory is configured to store program instructions
- the processor is configured to perform, according to the program instruction stored in the memory, when the data transmission service is performed by using the BLE protocol, determining to perform the data transmission service according to a service type of the service and/or a user indication.
- Data transmission mode performing the data transmission service through the Bluetooth communication interface by using the determined data transmission mode.
- the processor performs the operation of performing the data transmission mode of the data transmission service according to the service type and/or the user indication of the service, including: when the service type of the service And determining, by the user, that the service belongs to the emergency service, determining that the data transmission mode of the data transmission service is the first transmission mode, where the first transmission mode is continuously sending in each connection event interval.
- the data transmission mode of the message, the connection event interval is a time interval between two connection events.
- the processor performs the operation of performing the data transmission service by using the determined data transmission mode by using the Bluetooth communication interface, including: determining whether there is currently The data message is to be sent; if it is determined that there is currently a data message to be sent, the data message is sent through the Bluetooth communication interface; if it is determined that there is no data message currently Sending, the empty message is sent through the Bluetooth communication interface.
- the processor performs the operation of performing the data transmission mode of the data transmission service according to the service type and/or the user indication of the service, including: when the service type of the service And/or the user indicates that the service belongs to the non-emergency service, determining that the data transmission mode of the data transmission service is the second transmission mode, and the second transmission mode is to send the predetermined number in each connection event interval.
- the data transmission mode of the message, the connection event interval is the time interval between two connection events.
- the processor performs the operation of performing the data transmission service by using the determined data transmission mode by using the Bluetooth communication interface, including: determining, during each connection event interval, the currently sent The number of packets is less than the predetermined number; whether it is currently data packets to be sent; if it is determined that a data packet is to be sent, the data packet is sent through the Bluetooth communication interface; if it is determined that there is no data packet at present To send, an empty message is sent through the Bluetooth communication interface.
- the processor performs the operation of performing the data transmission service by using the determined data transmission mode by using the Bluetooth communication interface, including: determining, during each connection event interval, the currently sent The number of packets is less than the predetermined number; whether it is currently data packets to be sent; if it is determined that a data packet is to be sent, the data packet is sent through the Bluetooth communication interface; if it is determined that there is no data packet at present To send, the message is stopped during the connection event interval.
- the processor performs the operation of performing the data transmission mode of the data transmission service according to the service type and/or the user indication of the service, including: when the service type of the service And when the user indicates that the service belongs to the non-emergency service, determining that the data transmission mode of the data transmission service is a third transmission mode, and the third transmission mode is to continuously send data during each connection event interval.
- the data transmission mode of the message, the connection event interval is a time interval between two connection events.
- the processor performs the determined data transmission mode
- the operation of the data transmission service by using the Bluetooth communication interface includes: determining, within each connection event interval, whether a data message is currently to be sent; if it is determined that a current data message is to be sent, The Bluetooth communication interface sends a data packet; if it is determined that there is no data packet to be sent, the packet is stopped during the connection event interval.
- an embodiment of the present invention provides a communication system, including the data sender terminal and the data receiver terminal according to the above aspect.
- an embodiment of the present invention provides a computer storage medium for storing computer software instructions for use in the terminal, including a program designed to perform the above aspects.
- the solution provided by the present invention can select an appropriate data transmission mode according to the service type and/or the user indication, so that the data transmission rate can be effectively improved under the premise of reducing the power consumption of the terminal.
- FIG. 1 is a schematic diagram of a typical application scenario of a data transmission method in the prior art
- FIG. 2 is a flowchart of a data sending method according to an embodiment of the present invention.
- FIG. 3 is a flowchart of processing an infinite transmission mode according to an embodiment of the present invention.
- FIG. 5 is a flowchart of a best effort sending mode process according to an embodiment of the present invention.
- FIG. 6 is a flowchart of a data sending method according to another embodiment of the present invention.
- FIG. 7 is a schematic diagram of a transmission process according to an embodiment of the present invention.
- FIG. 8 is a flowchart of a data sending method according to another embodiment of the present invention.
- FIG. 9 is a structural diagram of a data sending apparatus according to an embodiment of the present invention.
- FIG. 10 is a structural diagram of a terminal according to an embodiment of the present invention.
- the transmission rate of the BLE is optimized according to different service requirements to improve the user experience.
- three modes of event transmission in the connection event interval are proposed.
- the connection event interval is the time interval between two connection events.
- the connection event interval is in units of 1.25ms, and the value of the connection event interval is 6 to 3200, that is, a connection event interval is 7.5ms to 4s.
- connection event interval the transmission of events within the connection event interval is divided into three modes:
- the first transmission mode is an infinite transmission mode, that is, an infinite transmission connection event can be set, and even if there is no data, an empty message can be sent, and the MD flag bit in the packet header is set to 1, indicating that there is still data to be sent later. This prepares the subsequent data for immediate transmission until a connection event interval is filled.
- the second transmission mode is a fixed transmission mode, that is, setting a message that is sent a fixed number of times within the connection event interval, and limiting the data that can be sent in each connection event interval.
- the number of times a message is sent in each connection event interval cannot be greater than the fixed number of times.
- the third transmission mode is the best effort transmission mode, that is, the number of times the message sent in the connection event interval is not set at this time. In this mode, as long as the BLE device has data, it will continue to send until the connection event interval expires. Different from the infinite transmission mode, when the BLE device has no data, it does not send an empty message, ends the event transmission within a connection event interval, and waits for the next connection event interval to arrive.
- the basic rate of the transmission mode using the traditional Bluetooth is started. (Basic Rate, BR) mode transmission service, if the pre-configured service using BR mode for data transmission has higher priority than data transmission using BLE protocol The lost service immediately ends the event transmission within a connection event interval and starts calling the service that uses the BR mode for data transmission.
- Base Rate Base Rate
- the method may be performed by a terminal that supports the BLE protocol.
- the terminal may also be referred to as a BLE device. Referring to FIG. 2, the method includes:
- Step 201 When the data transmission service is performed by using the BLE protocol, determine whether the service belongs to an emergency service.
- the following two methods may be used to determine whether the service belongs to an emergency service: according to the service type of the service, determine whether the service belongs to an emergency service; or prompt the user to select a transmission mode, and determine according to a transmission mode selected by the user. Whether the business is an emergency business.
- At least one service type corresponding to the emergency service may be preset, and when the service type of the service is identified as the service type corresponding to the emergency service, it is determined that the service belongs to the emergency service.
- the service type of the service may be identified according to the name of the data transmission service, or the name and extension of the file transmitted by the service, or the service type field carried in the packet header of the data packet transmitted by the service.
- Step 202 When it is determined that the service belongs to an emergency service, determine whether the current transmission mode is an infinite transmission mode.
- Step 203 If the current transmission mode is not the infinite transmission mode, set the current transmission mode to the infinite transmission mode.
- Step 204 In each connection event interval, determine whether there is currently user data to be sent.
- Step 205 If it is determined that there is currently user data to be sent, the user data is sent, and the flag bit in the packet header is set to 1, and the flag bit is 1 to indicate that there is still data to be sent later.
- Step 206 If it is determined that there is no user data to be sent yet, an empty message is sent, and the flag bit in the header is set to 1.
- the current transmission mode when the data transmission service is completed, the current transmission mode may be restored from the infinite transmission mode to the preset transmission mode.
- the preset transmission mode is set for non-emergency services, and thus includes both a fixed transmission mode and a best effort transmission mode.
- step 201 when it is determined in step 201 that the service belongs to a non-emergency service, the user data is sent in the current transmission mode, and it is not necessary to reset the transmission mode at this time.
- the current transmission mode may be any one of an infinite transmission mode, a fixed transmission mode, and a best effort transmission mode.
- the user data is transmitted by the method of steps 204 to 206.
- the processing flow shown in FIG. 3 is adopted. Referring to FIG. 3, it is determined whether the connection interval is infinite before the start of each connection event interval.
- the transmission mode avoids unnecessary power consumption by always using the infinite transmission mode.
- the current transmission mode is the fixed transmission mode
- the user data is transmitted through the data transmission method shown in FIG. 4. Referring to FIG. 4, the method includes:
- Step 401 When the current transmission mode is the fixed transmission mode, determine, in each connection event interval, whether the number of transmissions remaining in each connection event interval is greater than 1 according to the fixed transmission number of the fixed transmission mode.
- Step 402 When it is determined that the remaining number of transmissions is greater than 1, it is determined whether there is currently user data to be sent.
- Step 403 If it is determined that there is currently user data to be sent, the user data is sent, and the flag bit in the packet header is set to 1.
- Step 404 If it is determined that there is no user data to be sent yet, an empty message is sent, and the flag bit in the header is set to 1.
- the method further includes:
- Step 405 when it is determined that the remaining number of transmissions is equal to 1, it is determined whether there is currently user data to be sent;
- Step 406 If it is determined that there is currently user data to be sent, the user data is sent, and the flag bit in the packet header is set to 0, and the flag bit is 0 to indicate that there is no data to be sent subsequently.
- Step 407 If it is determined that there is no user data to be sent yet, an empty message is sent, and the flag bit in the packet header is set to 0.
- step 404 when no user data is to be sent, the flag bit is set to 0 in the header of the last data packet, and/or the current data may be directly The fixed number of times to be sent in the connection event interval is set to 0, which saves the action of sending empty messages.
- the method includes:
- Step 501 When the current transmission mode is the best effort transmission mode, in each connection event interval, according to the best effort transmission mode, it is determined whether there is currently user data to be transmitted.
- Step 502 If it is determined that there is currently user data to be sent, the user data is sent, and the flag bit in the packet header is set to 1.
- Step 503 If it is determined that there is no user data to be sent yet, wait for the next connection time interval.
- the embodiment of the present invention provides a data sending method.
- the service belonging to the emergency service is sent by using the infinite transmission mode, even if there is no data, by determining whether the service belongs to the emergency service.
- the flag bit in the header is set to 1, and the flag bit is 1 to indicate that there is still data to be sent later, in order to prepare for subsequent data transmission immediately, until a connection event interval It is full, so it can effectively increase the data transmission rate while reducing the power consumption of the terminal.
- the event sending mode can be automatically selected according to different service types, wherein the event sending mode has the same meaning as the data sending mode, and the service type partitioning can be appropriately divided by the product developer for different product requirements. For example, dividing the business into an emergency And non-emergency business.
- Emergency service upgrade packet transmission service; self-contained APP preset configuration file transmission service; general data file size greater than 5M data transmission service.
- Non-emergency business other business than emergency business.
- FIG. 6 is a flowchart of a data sending method according to an embodiment of the present invention.
- an event sending mode is automatically selected according to different service types.
- an upgrade package is sent as an example, because sending an upgrade package is a special purpose.
- the data is transmitted, so the transmission rate is required to be high.
- the APP can identify the type of service of the service and identify the service as an emergency service based on the identified service type. For this type of service, the transmission mode is directly set to the infinite transmission mode. After the upgrade package is transferred, it will be restored to the previous send mode.
- FIG. 6 For the specific transmission process, reference may be made to the transmission process diagram shown in FIG.
- 24 represents 24 user valid data
- 1 represents an empty message.
- 1.2slot indicates the time required to send a data (including the response confirmation message of the other device), and 0.625 indicates the length of time (in ms) of a slot.
- Figure 7 shows only the connection event interval in a connection event interval. In practice, depending on the amount of data, multiple connection event intervals may be required to complete the data transmission.
- FIG. 8 is a flowchart of a data sending method according to an embodiment of the present invention.
- a user may select an event sending mode according to a service requirement.
- an embodiment of the present invention provides an interface for a user to select different sending modes, and the performance is performed.
- the user selects, it can only have the high speed mode and the low speed mode, and the internal map is mapped to different transmission modes, for example, when the user selects the high speed mode, The data is transmitted in the infinite transmission mode.
- the data is transmitted in the current transmission mode, where the current transmission mode may be any one of an infinite transmission mode, a fixed transmission mode, and a best effort transmission mode.
- the Bluetooth device According to the role of the Bluetooth device in the network, it can be divided into a master device (Slave) and a slave device (Slave).
- the above describes the case where the master sends data to the slave, but the slave sends the data to the master, as long as the slave sends the data.
- the same effect can be achieved by using different transmission modes.
- the HCI command is used to perform the handover.
- the switching may be implemented in other manners, which is not specifically limited in this embodiment of the present invention.
- a Vendor-specific (VS) debug command HCI command is used to notify the controller to enter a certain transmission mode for operation.
- the current transmission mode can be changed at any time by the HCI command to enter another transmission mode.
- the format of the VS command is given below:
- OCF OpCode Command Field, which indicates the command number of the HCI command
- Command parameter indicates the parameter carried when the HCI command is sent.
- Return parameter indicates the return parameter of the HCI command.
- the areas of the custom HCI command are as follows:
- the OGF: OpCode Group Field indicates the command group number of the HCI command.
- Bitx indicates the value of each bit in the HCI command.
- the command return event in the embodiment of the present invention is a reply to the processing status of the custom command HCI_LE_Set_Event_Mode, indicating that the command has been processed. Use the standard command complete event.
- the terminal when the terminal needs to set the transmission mode, the terminal sends the command to set the transmission mode. After the business is completed, you can revert to the previous delivery mode.
- the data sending method provided by the embodiment of the present invention can increase or decrease the BLE data transmission rate according to different service requirements, so that key services can obtain a higher rate and improve the user experience; and a flexible rate adjustment method that can be customized is provided, and each is sent.
- the modes can be switched freely.
- the data transmission mode can be changed according to the user's instruction; when there are multiple numbers
- the simultaneous transmission service as long as there is an emergency service, the data transmission service can be determined by using the infinite transmission mode according to the service type or the user indication; the automatic and user participation rate setting mechanism is provided, and the user is more selected. Let users get closer to the Bluetooth transmission characteristics and provide a good user experience.
- FIG. 9 is a structural diagram of a data transmitting apparatus according to an embodiment of the present invention.
- the apparatus is used to perform a data sending method according to an embodiment of the present invention.
- the apparatus includes: a determining unit 901 and a sending unit 902;
- the determining unit 901 is configured to determine, according to the service type of the service and/or the user indication, a data transmission mode for performing the data transmission service when the data transmission service is performed by using the BLE protocol;
- the sending unit 902 is configured to perform the data transmission service by using a data transmission mode determined by the determining unit 901.
- the determining unit 901 is specifically configured to: when the data transmission service is performed by using the BLE protocol, when the service type of the service and/or the user indicates that the service belongs to an emergency service, determining to perform the data.
- the data transmission mode of the transmission service is a first transmission mode, where the first transmission mode is a data transmission mode for continuously transmitting a message within each connection event interval, where the connection event interval is between two connection events. time interval.
- the sending unit 902 includes:
- a determining subunit configured to determine, at each connection event interval, whether a data message is currently to be sent
- a sending subunit configured to: when the determining subunit determines that a current data message is to be sent, send a data message; and, when the determining subunit determines that there is no data message to be sent yet, send a null report Text.
- the determining unit 901 is specifically configured to: when the data transmission service is performed by using the BLE protocol, when the service type of the service and/or the user indicates that the service belongs to a non-emergency service, determining to perform the The data transmission mode of the data transmission service is a second transmission mode, and the second transmission mode is a data transmission mode for transmitting a predetermined number of messages in each connection event interval.
- the connection event interval is the time interval between two connection events.
- the sending unit 902 includes:
- Determining a subunit configured to determine, during each connection event interval, that the number of currently sent packets is less than the predetermined number
- a sending subunit configured to: when the determining subunit determines that a current data message is to be sent, send a data message; and, when the determining subunit determines that there is no data message to be sent yet, send a null report Text.
- the sending unit 902 includes:
- Determining a subunit configured to determine, during each connection event interval, that the number of currently sent packets is less than the predetermined number
- a sending subunit configured to: when the determining subunit determines that a current data message is to be sent, send a data message; and, when the determining subunit determines that there is no data message to be sent, the connection is The message is stopped during the event interval.
- the determining unit 901 is specifically configured to: when the data transmission service is performed by using the BLE protocol, when the service type of the service and/or the user indicates that the service belongs to a non-emergency service, determining to perform the The data transmission mode of the data transmission service is a third transmission mode, and the third transmission mode is a data transmission mode for continuously transmitting data messages in each connection event interval, where the connection event interval is between two connection events. time interval.
- the sending unit 902 includes:
- a determining subunit configured to determine, at each connection event interval, whether a data message is currently to be sent
- a sending subunit configured to: when the determining subunit determines that a current data message is to be sent, send a data message; and, when the determining subunit determines that there is no data message to be sent, the connection is The message is stopped during the event interval.
- FIG. 10 is a structural diagram of a terminal according to an embodiment of the present invention.
- the terminal is configured to perform a data sending method according to an embodiment of the present invention.
- the terminal includes: a memory 1001, a processor 1002, and a Bluetooth communication interface 1003.
- the memory 1001 is configured to store program instructions
- the processor 1002 is configured to perform the following operations according to the program instructions stored in the memory 1001:
- the data transmission service is performed by the Bluetooth communication interface 1003 using the determined data transmission mode.
- the processor 1002 performs the operation of determining a data transmission mode of the data transmission service according to the service type and/or the user indication of the service, including:
- the data transmission mode of the data transmission service is the first transmission mode, where the first transmission mode is A data transmission mode in which a message is continuously transmitted within a connection event interval, and the connection event interval is a time interval between two connection events.
- the processor 1002 performs the operation of performing the data transmission service by using the determined data transmission mode by using the Bluetooth communication interface 1003, including:
- connection event interval it is determined whether there is currently a data message to be sent
- the data message is sent through the Bluetooth communication interface 1003;
- the empty message is sent through the Bluetooth communication interface 1003.
- the processor 1002 performs the operation of determining a data transmission mode of the data transmission service according to the service type and/or the user indication of the service, including:
- the service type and/or user indication of the service indicates that the service belongs to a non-emergency service Determining that the data transmission mode of the data transmission service is a second transmission mode, where the second transmission mode is a data transmission mode for transmitting a predetermined number of messages within each connection event interval, where the connection event interval is The time interval between two connection events.
- the processor 1002 performs the operation of performing the data transmission service by using the determined data transmission mode by using the Bluetooth communication interface 1003, including:
- the data message is sent through the Bluetooth communication interface 1003;
- the empty message is sent through the Bluetooth communication interface 1003.
- the processor 1002 performs the operation of performing the data transmission service by using the determined data transmission mode by using the Bluetooth communication interface 1003, including:
- the data message is sent through the Bluetooth communication interface 1003;
- the message is stopped during the connection event interval.
- the processor 1002 performs the operation of determining a data transmission mode of the data transmission service according to the service type and/or the user indication of the service, including:
- the data transmission mode of the data transmission service is a third transmission mode, where the third transmission mode is A data transmission mode for continuously transmitting data messages during a connection event interval, the connection event interval being a time interval between two connection events.
- the processor 1002 performs the adopting the determined data transmission mode by using the The Bluetooth communication interface performs the operation of the data transmission service, including:
- connection event interval it is determined whether there is currently a data message to be sent
- the data message is sent through the Bluetooth communication interface 1003;
- the message is stopped during the connection event interval.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Communication Control (AREA)
Abstract
本发明实施例涉及数据发送方法、装置和终端,该方法包括:当采用低功耗蓝牙BLE协议进行数据传输业务时,根据所述业务的业务类型和/或用户指示,确定进行所述数据传输业务的数据发送模式;采用确定出的数据发送模式进行所述数据传输业务。由上可见,本发明提供的方案可以根据业务类型和/或用户指示,选取合适的数据发送模式,因此能够在降低终端功耗的前提下,有效的提高数据传输速率。
Description
本发明涉及无线通信领域,尤其涉及数据发送方法、装置和终端。
随着无线通信技术的发展,提供蓝牙通信功能的终端逐渐普及,比如戴式终端、手机、车载终端等大多提供蓝牙通信功能。相对于传统蓝牙协议,新的蓝牙低功耗(Bluetooth Low Energy,BLE)协议的制定为功耗要求较高的终端产品提供了有效的解决方案。BLE协议和传统蓝牙协议在协议内容和实现方式上面都是独立的。一般来说,BLE协议适用于终端传输的数据量不大的情况,比如只传输几个字节的控制命令等,这种情况下对终端的传输速率要求不高。而当终端传输的数据量较大时,例如要从手机端向手环产品传送一个手环的升级包,这种情况下对终端的传输速率要求较高,对于这类速率敏感的业务来说,采用BLE协议极大地降低了用户体验。
为了在降低终端功耗的前提下,有效的提高数据传输速率,现有技术的数据发送方法中采用了如下的解决方案:当采用BLE协议进行数据传输时,在一个连接事件间隔(connection event interval)里进行一定数目的报文(packet)的发送。例如,在图1所示的一个典型的应用场景中,应用程序(Application,APP)基于逻辑链路控制和适配协议(Logical Link Control and Adaptation Protocol,L2CAP)不断的将用户数据(Data)发送给链路层(Link Layer,LL),假设一个Data需要分为8个LL数据报(LL_Data)进行传输,图1中展示的3个Data需要24个LL_Data进行传输,一个connection event interval传输6个LL_Data,即进行6次报文(packet)的
交互,整个过程需要经历4个connection event interval。
由上可见,现有技术的数据发送方法中,数据不断的发送给LL,但LL在一个connection event interval里面只进行了少量的数据传输,例如,图1中只进行了6次,这样导致大量的空口资源被浪费掉,平均的传输速率低下,无法有效的提高数据传输速率,从而导致用户体验差,甚至导致一些业务无法正常进行。
发明内容
本发明实施例提供了数据发送方法、装置和终端,能够在降低终端功耗的前提下,有效的提高数据传输速率。
一方面,提供了一种数据发送方法,该方法中不是采用固定的数据发送模式,而是当采用BLE协议进行数据传输业务时,根据该业务的业务类型和/或用户指示,确定进行该数据传输业务的数据发送模式,采用确定出的数据发送模式进行该数据传输业务。通过该方法可以根据数据传输业务的紧急程度,灵活选取高速的数据发送模式或者低速的数据发送模式,从而达到降低终端功耗与提高数据传输速率之间的有效平衡。
在一个可能的设计中,当业务的业务类型和/或用户指示标识出该业务属于紧急业务时,确定进行数据传输业务的数据发送模式为第一发送模式,其中,第一发送模式为在每个连接事件间隔内持续发送报文的数据发送模式,连接事件间隔为两个连接事件之间的时间间隔。其中,连接事件间隔以1.25ms为单位,连接事件间隔的值为6至3200,即一个连接事件间隔为7.5ms至4s的时间。
在一个可能的设计中,当确定出进行数据传输业务的数据发送模式为上述第一发送模式时,在每个连接事件间隔内,判断当前是否有数据报文要发送;若判断出当前有数据报文要发送,则发送数据报文;若判断出当前没有数据报文要发送,则发送空报文。这种在没有数据报文要发送时,发送空报
文的方式,可以确保在一个连接事件间隔内,当没有数据报文要发送时,终端不会进入休眠态,后续有数据报文要发送时,能够继续在该连接事件间隔内发送数据报文,而不必等到下一个连接事件间隔,从而有效利用了每个连接事件间隔内的传输时间,提高了数据传输速率。
在一个可能的设计中,当业务的业务类型和/或用户指示标识出该业务属于非紧急业务时,确定进行数据传输业务的数据发送模式为第二发送模式,第二发送模式为在每个连接事件间隔内发送预定数目个报文的数据发送模式,连接事件间隔为两个连接事件之间的时间间隔。
在一个可能的设计中,当确定出进行数据传输业务的数据发送模式为第二发送模式时,在每个连接事件间隔内,先判断在该连接事件间隔内发送的报文数目是否小于上述预定数目,当判断结果为当前发送的报文数目小于上述预定数目时,再判断当前是否有数据报文要发送;若判断出当前有数据报文要发送,则发送数据报文;若判断出当前没有数据报文要发送,则发送空报文。这种采用在每个连接事件间隔内发送固定数目个报文的数据发送模式可以有效降低功耗。
在一个可能的设计中,当确定出进行数据传输业务的数据发送模式为第二发送模式时,在每个连接事件间隔内,确定当前发送的报文数目小于上述预定数目;判断当前是否有数据报文要发送;若判断出当前有数据报文要发送,则发送数据报文;若判断出当前没有数据报文要发送,则在该连接事件间隔内停止发送报文。这种数据发送模式相当于设定了在每个连接事件间隔内能够发送的最大报文数目,当没有数据报文要发送时,停止发送报文,能够进一步有效降低功耗。
在一个可能的设计中,当业务的业务类型和/或用户指示标识出该业务属于非紧急业务时,确定进行数据传输业务的数据发送模式为第三发送模式,第三发送模式为在每个连接事件间隔内持续发送数据报文的数据发送模式,连接事件间隔为两个连接事件之间的时间间隔。这种数据发送模式在每个连
接事件间隔内发送报文的数目不固定,也未设定最大报文发送数目,数据传输速率较第二发送模式快,但是由于只传输数据报文,因此在当前没有数据报文时,终端会进入休眠态,数据传输速率不如第一发送模式快。
在一个可能的设计中,当确定出进行数据传输业务的数据发送模式为第三发送模式时,在每个连接事件间隔内,判断当前是否有数据报文要发送;若判断出当前有数据报文要发送,则发送数据报文;若判断出当前没有数据报文要发送,则在该连接事件间隔内停止发送报文。
另一方面,本发明实施例提供了一种终端,该终端具有实现上述方法实际中终端行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。
在一个可能的设计中,终端的结构中包括处理器和蓝牙通信接口,所述处理器被配置为支持终端执行上述方法中相应的功能。所述蓝牙通信接口用于支持该终端与另一个终端之间的通信,向另一个终端发送上述方法中所涉及的信息或者指令或者数据。所述终端还可以包括存储器,所述存储器用于与处理器耦合,其保存终端必要的程序指令和数据。
又一方面,本发明实施例提供了一种终端,该终端具有实现上述方法设计中数据接收方终端行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。所述模块可以是软件和/或硬件。
在一个可能的设计中,终端的结构中包括蓝牙通信接口和处理器,所述蓝牙通信接口被配置为支持终端接收上述数据发送方终端向该终端发送的各种指令和业务数据。所述处理器控制终端通过所述蓝牙通信接口接收业务数据。
另一方面,本发明实施例提供了一种数据发送装置,该装置包括:确定单元,用于在采用BLE协议进行数据传输业务时,根据该业务的业务类型和/或用户指示,确定进行数据传输业务的数据发送模式;发送单元,用于采用
确定单元确定出的数据发送模式进行数据传输业务。
在一个可能的设计中,确定单元,具体用于在采用BLE协议进行数据传输业务时,当该业务的业务类型和/或用户指示标识出该业务属于紧急业务时,确定进行数据传输业务的数据发送模式为第一发送模式,其中,第一发送模式为在每个连接事件间隔内持续发送报文的数据发送模式,连接事件间隔为两个连接事件之间的时间间隔。
在一个可能的设计中,发送单元包括:判断子单元,用于在每个连接事件间隔内,判断当前是否有数据报文要发送;发送子单元,用于在所述判断子单元判断出当前有数据报文要发送时,发送数据报文;以及,在所述判断子单元判断出当前没有数据报文要发送时,发送空报文。
在一个可能的设计中,确定单元,具体用于在采用BLE协议进行数据传输业务时,当所述业务的业务类型和/或用户指示标识出所述业务属于非紧急业务时,确定进行所述数据传输业务的数据发送模式为第二发送模式,所述第二发送模式为在每个连接事件间隔内发送预定数目个报文的数据发送模式,所述连接事件间隔为两个连接事件之间的时间间隔。
在一个可能的设计中,发送单元包括:确定子单元,用于在每个连接事件间隔内,确定当前发送的报文数目小于所述预定数目;判断子单元,用于判断当前是否有数据报文要发送;发送子单元,用于在所述判断子单元判断出当前有数据报文要发送时,发送数据报文;以及,在所述判断子单元判断出当前没有数据报文要发送时,发送空报文。
在一个可能的设计中,发送单元包括:确定子单元,用于在每个连接事件间隔内,确定当前发送的报文数目小于所述预定数目;判断子单元,用于判断当前是否有数据报文要发送;发送子单元,用于在所述判断子单元判断出当前有数据报文要发送时,发送数据报文;以及,在所述判断子单元判断出当前没有数据报文要发送时,在该连接事件间隔内停止发送报文。
在一个可能的设计中,确定单元,具体用于在采用BLE协议进行数据传
输业务时,当所述业务的业务类型和/或用户指示标识出所述业务属于非紧急业务时,确定进行所述数据传输业务的数据发送模式为第三发送模式,所述第三发送模式为在每个连接事件间隔内持续发送数据报文的数据发送模式,所述连接事件间隔为两个连接事件之间的时间间隔。
在一个可能的设计中,发送单元包括:判断子单元,用于在每个连接事件间隔内,判断当前是否有数据报文要发送;发送子单元,用于在所述判断子单元判断出当前有数据报文要发送时,发送数据报文;以及,在所述判断子单元判断出当前没有数据报文要发送时,在该连接事件间隔内停止发送报文。
另一方面,本发明实施例提供了一种终端,所述终端包括:存储器、处理器和蓝牙通信接口;
所述存储器,用于存储程序指令;
所述处理器,用于根据所述存储器中存储的程序指令执行以下操作:当采用BLE协议进行数据传输业务时,根据所述业务的业务类型和/或用户指示,确定进行所述数据传输业务的数据发送模式;采用确定出的数据发送模式通过所述蓝牙通信接口进行所述数据传输业务。
在一个可能的设计中,所述处理器执行所述根据所述业务的业务类型和/或用户指示,确定进行所述数据传输业务的数据发送模式的操作,包括:当所述业务的业务类型和/或用户指示标识出所述业务属于紧急业务时,确定进行所述数据传输业务的数据发送模式为第一发送模式,其中,所述第一发送模式为在每个连接事件间隔内持续发送报文的数据发送模式,所述连接事件间隔为两个连接事件之间的时间间隔。
在一个可能的设计中,所述处理器执行所述采用确定出的数据发送模式通过所述蓝牙通信接口进行所述数据传输业务的操作,包括:在每个连接事件间隔内,判断当前是否有数据报文要发送;若判断出当前有数据报文要发送,则通过所述蓝牙通信接口发送数据报文;若判断出当前没有数据报文要
发送,则通过所述蓝牙通信接口发送空报文。
在一个可能的设计中,所述处理器执行所述根据所述业务的业务类型和/或用户指示,确定进行所述数据传输业务的数据发送模式的操作,包括:当所述业务的业务类型和/或用户指示标识出所述业务属于非紧急业务时,确定进行所述数据传输业务的数据发送模式为第二发送模式,所述第二发送模式为在每个连接事件间隔内发送预定数目个报文的数据发送模式,所述连接事件间隔为两个连接事件之间的时间间隔。
在一个可能的设计中,所述处理器执行所述采用确定出的数据发送模式通过所述蓝牙通信接口进行所述数据传输业务的操作,包括:在每个连接事件间隔内,确定当前发送的报文数目小于所述预定数目;判断当前是否有数据报文要发送;若判断出当前有数据报文要发送,则通过所述蓝牙通信接口发送数据报文;若判断出当前没有数据报文要发送,则通过所述蓝牙通信接口发送空报文。
在一个可能的设计中,所述处理器执行所述采用确定出的数据发送模式通过所述蓝牙通信接口进行所述数据传输业务的操作,包括:在每个连接事件间隔内,确定当前发送的报文数目小于所述预定数目;判断当前是否有数据报文要发送;若判断出当前有数据报文要发送,则通过所述蓝牙通信接口发送数据报文;若判断出当前没有数据报文要发送,则在该连接事件间隔内停止发送报文。
在一个可能的设计中,所述处理器执行所述根据所述业务的业务类型和/或用户指示,确定进行所述数据传输业务的数据发送模式的操作,包括:当所述业务的业务类型和/或用户指示标识出所述业务属于非紧急业务时,确定进行所述数据传输业务的数据发送模式为第三发送模式,所述第三发送模式为在每个连接事件间隔内持续发送数据报文的数据发送模式,所述连接事件间隔为两个连接事件之间的时间间隔。
在一个可能的设计中,所述处理器执行所述采用确定出的数据发送模式
通过所述蓝牙通信接口进行所述数据传输业务的操作,包括:在每个连接事件间隔内,判断当前是否有数据报文要发送;若判断出当前有数据报文要发送,则通过所述蓝牙通信接口发送数据报文;若判断出当前没有数据报文要发送,则在该连接事件间隔内停止发送报文。
又一方面,本发明实施例提供了一种通信系统,该系统包括上述方面所述的数据发送方终端和数据接收方终端。
再一方面,本发明实施例提供了一种计算机存储介质,用于储存为上述终端所用的计算机软件指令,其包含用于执行上述方面所设计的程序。
相较于现有技术,本发明提供的方案可以根据业务类型和/或用户指示,选取合适的数据发送模式,因此能够在降低终端功耗的前提下,有效的提高数据传输速率。
图1为现有技术中的数据发送方法典型应用场景示意图;
图2为本发明一个实施例提供的数据发送方法流程图;
图3为本发明实施例提供的无限发送模式处理流程图;
图4为本发明实施例提供的固定发送模式处理流程图;
图5为本发明实施例提供的尽力而为发送模式处理流程图;
图6为本发明另一个实施例提供的数据发送方法流程图;
图7为本发明实施例提供的传输过程示意图;
图8为本发明另一个实施例提供的数据发送方法流程图;
图9为本发明实施例提供的数据发送装置结构图;
图10为本发明实施例提供的终端结构图。
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发
明实施例中的附图,对本发明实施例中的技术方案进行描述。
本发明实施例中,按照不同的业务需求优化BLE的传输速率,以提高用户体验。为了实现可以定制的灵活的速率调整方法,提出连接事件间隔内事件发送的三种模式。提供自动的和用户参与的速率设置机制。由于在两个BLE设备的连接中使用跳频机制,两个设备使用特定的信道收发数据,然后过一段时间后再使用新的信道,两个设备在信道切换后收发数据称之为连接事件。连接事件间隔就是两个连接事件之间的时间间隔,连接事件间隔以1.25ms为单位,连接事件间隔的值为6至3200,即一个连接事件间隔为7.5ms至4s的时间。
其中,将连接事件间隔内事件的发送分为三种模式:
第一发送模式为无限发送模式,即可以设置为无限发送连接事件,即使没有数据,也可以发送空报文,将包头中的MD标志位设置为1,用来表示后续还有数据要发送,从而为后续数据立即可以发送做准备,直到一个连接事件间隔被占满。
第二发送模式为固定发送模式,即设置连接事件间隔内发送固定次数的报文,限制每一个连接事件间隔内可以发送的数据。每个连接事件间隔中发送报文的次数不能大于该固定次数。
第三发送模式为尽力而为发送模式,即此时不设置连接事件间隔内发送的报文的次数。这种模式下只要BLE设备有数据,就不停的发送,直到连接事件间隔到期。与无限发送模式不同的是,当BLE设备没有数据时,不发送空报文,结束一个连接事件间隔内的事件发送,等待下一个连接事件间隔到来。
本发明实施例中,由于可能有多个业务需要并发处理,因此当有高优先级的业务时,例如,当采用BLE协议进行数据传输业务时,开始了采用传统蓝牙的传输模式之一基础速率(Basic Rate,BR)模式传输的业务,若预先配置采用BR模式进行数据传输的业务的优先级高于采用BLE协议进行数据传
输的业务,则立刻结束一个连接事件间隔内的事件发送,开始调用采用BR模式进行数据传输的业务。
图2为本发明实施例提供的数据发送方法流程图,该方法可以由支持BLE协议的终端执行,其中,该终端也可称为BLE设备,参照图2,该方法包括:
步骤201,当采用BLE协议进行数据传输业务时,判断该业务是否属于紧急业务。
其中,可以但不限于采用下面两种方式判断该业务是否属于紧急业务:根据该业务的业务类型,判断该业务是否属于紧急业务;或者,提示用户选择传输模式,根据用户选择的传输模式,判断该业务是否属于紧急业务。
本发明实施例中,可以预先设定紧急业务对应的至少一个业务类型,当识别出该业务的业务类型属于紧急业务对应的业务类型时,确定该业务属于紧急业务。其中,可以根据数据传输业务的名称,或者该业务传输的文件的名称及扩展名,或者该业务传输的数据包的包头中携带的业务类型字段,识别该业务的业务类型。
步骤202,当判断出该业务属于紧急业务时,判断当前发送模式是否为无限发送模式。
步骤203,若当前发送模式不为无限发送模式时,将当前发送模式设置为无限发送模式。
步骤204,在每个连接事件间隔内,判断当前是否有用户数据要发送。
步骤205,若判断出当前有用户数据要发送,则发送用户数据,并将数据包包头中的标志位设置为1,该标志位为1用于指示后续还有数据要发送。
步骤206,若判断出当前没有用户数据要发送,则发送空报文,并将包头中的标志位设置为1。
本发明实施例中,当数据传输业务完成时,可以将当前发送模式由无限发送模式恢复为预设发送模式。通常地,预设发送模式是针对非紧急业务设定的,因此包括固定发送模式和尽力而为发送模式两种。
此外,当步骤201中判断出该业务属于非紧急业务时,采用当前发送模式发送用户数据,此时无需重新设置发送模式。
其中,当前发送模式可能为无限发送模式、固定发送模式和尽力而为发送模式中的任意一种。
若当前发送模式为无限发送模式,则通过步骤204至步骤206的方法来发送用户数据。
为了更清楚地描述无限发送模式的处理过程,在本发明的一个具体的实施例中,采用图3所示的处理流程,参照图3,每个连接事件间隔开始前,均要判断是否为无限发送模式,避免一直采用无限发送模式而浪费不必要的功耗。
若当前发送模式为固定发送模式,则通过图4所示的数据发送方法来发送用户数据,参照图4,该方法包括:
步骤401,当当前发送模式为固定发送模式时,在每个连接事件间隔内,根据固定发送模式的固定发送次数判断每个连接事件间隔内剩余的发送次数是否大于1。
步骤402,当判断出剩余的发送次数大于1时,判断当前是否有用户数据要发送。
步骤403,若判断出当前有用户数据要发送,则发送用户数据,并将数据包包头中的标志位设置为1。
步骤404,若判断出当前没有用户数据要发送,则发送空报文,并将包头中的标志位设置为1。
可选地,该方法还包括:
步骤405,当判断出剩余的发送次数等于1时,判断当前是否有用户数据要发送;
步骤406,若判断出当前有用户数据要发送,则发送用户数据,并将数据包包头中的标志位设置为0,所述标志位为0用于指示后续没有数据要发送。
步骤407,若判断出当前没有用户数据要发送,则发送空报文,并将数据包包头中的标志位设置为0。
其中,可以采用其他的处理方式来代替步骤404的处理方式,比如发现没有用户数据要发送时,在最后一个数据报文的包头中将标志位设置为0,和/或,可以直接将本次connection event interval里面要发送的固定次数设置为0,这样可以省去发送空报文的动作。
若当前发送模式为尽力而为发送模式,则通过图5所示的数据发送方法来发送用户数据,参照图5,该方法包括:
步骤501,当当前发送模式为尽力而为发送模式时,在每个连接事件间隔内,根据尽力而为发送模式,判断当前是否有用户数据要发送。
步骤502,若判断出当前有用户数据要发送,则发送用户数据,并将数据包包头中的标志位设置为1。
步骤503,若判断出当前没有用户数据要发送,则等待下一个连接时间间隔。
在此需要说明,图5为处理概要图,图中椭圆形标注的部分表示只要后续还有数据发送就将设置MD=1;如果后续没有数据要发送,那么最后一个数据的MD=0。
本发明实施例提供了一种数据发送方法,当采用BLE协议进行数据传输业务时,通过判断该业务是否属于紧急业务,从而将属于紧急业务的业务,采用无限发送模式来发送数据,即使没有数据时,也要发送空报文,并将包头中的标志位设置为1,该标志位为1用于指示后续还有数据要发送,以便为后续数据立即可以发送做准备,直到一个连接事件间隔被占满,因此能够在降低终端功耗的前提下,有效的提高数据传输速率。
本发明实施例中,可以根据不同的业务类型,自动选择event发送模式,其中,event发送模式与数据发送模式含义等同,业务类型的划分可以由产品开发人员针对不同的产品需求进行适当的划分。例如,将业务划分为紧急业
务和非紧急业务。(1)紧急业务:升级包传输业务;自带APP预置配置文件传输业务;一般的数据文件大小大于5M的数据传输业务等。(2)非紧急业务:除了紧急业务之外的其它业务。
图6为本发明实施例提供的数据发送方法流程图,该方法中根据不同的业务类型,自动选择event发送模式,参照图6,以发送一个升级包为例,由于发送升级包为一个专用目的的数据传输,因此对传输速率要求较高。APP能够识别此种业务的业务类型,根据识别的业务类型,将该业务确认为紧急业务。针对此种业务,直接将发送模式设置为无限发送模式。等升级包传输完毕后,再恢复到之前的发送模式。其具体传输过程可以参照图7所示的传输过程示意图。
参照图7,其中给出了传输所需时间的一个计算公式:(24+1)*1.2slot(1slot=0.625ms)=18.75ms。该公式中24表示24个用户有效数据,1表示一个空报文。1.2slot表示发送一个数据(包括对方设备的应答确认消息)所需要的时间,0.625表示一个slot的时间长度(单位为ms),这是一个概要计算公式,只是为了表明使用本发明之后取得的效果,实际当中可能因为产品的实现的不同,而产生不同的结果。图7仅展示了一个connection event interval里面就将数据发送完毕的情况。实际当中根据数据量的不同,可能需要多个connection event interval来完成数据的发送。图7中当数据发送完成,但connection event interval还没有到期时,会发送Empty报文给对方,直到该interval到期为止,但需要说明的是,如果当前模式已经改变为其他模式(比如尽力而为模式),那么就会停止Empty报文(将当前Empty报文中的MD设置为0)的发送,而不必一直发送Empty报文。
图8为本发明实施例提供的数据发送方法流程图,该方法中用户可以根据业务需求,自行选择event发送模式,参照图8,本发明实施例提供接口供用户选择不同的发送模式,表现给用户选择时,可以只有高速模式和低速模式,内部映射到不同的发送模式上面,例如,当用户选择高速模式时,采用
无限发送模式发送数据,当用户选择低速模式时,采用当前发送模式发送数据,其中,当前发送模式可以为无限发送模式、固定发送模式、尽力而为发送模式中的任意一种。
根据蓝牙设备在网络中的角色可分为主设备(Master)和从设备(Slave),上面描述的是Master发送数据给Slave的情况,但由Slave发送数据给Master的情况,只要Slave发送数据时使用不同的发送模式就可以实现同样的效果。
为了实现三种发送模式直接的切换,在此提出使用HCI命令的方式进行切换,当然也可以使用其他方式实现切换,本发明实施例对此不做具体限定。在本发明的一个具体的实施例中,使用厂商特定(Vendor-specific,VS)的调试命令HCI命令通知控制器(controller)进入某一种发送模式进行工作。通过HCI命令可以随时改变当前的发送模式,进入另一种发送模式。
作为例子,下面给出该VS命令的格式:
其中,Command:表示HCI命令的名称;
OCF:OpCode Command Field,表示HCI命令的命令编号;
Command parameter:表示HCI命令下发时携带的参数;
Return parameter:表示HCI命令的返回参数。
自定义的HCI命令各区域如下:
其中,OGF:OpCode Group Field,表示HCI命令的命令组编号。
bitx:表示HCI命令中各bit位的值。
命令返回事件:本发明实施例中的命令返回事件是对自定义命令HCI_LE_Set_Event_Mode的处理状态回复,表示命令已处理完。采用标准的command complete event。
综上,终端在需要设置发送模式的时候,下发该命令进行发送模式的设置。业务完毕之后,可以恢复到之前的发送模式。
本发明实施例提供的数据发送方法,可以根据不同的业务需求增加或减小BLE数据传输速率,使关键业务得到更高的速率,提高用户体验;提供可以定制的灵活的速率调整方法,各发送模式之间可以自由切换,当进行一个数据传输业务的过程中,可以根据用户指示更改数据发送模式;当有多个数
据传输业务同时进行时,只要其中存在一个紧急业务,就可以根据业务类型或用户指示确定采用无限发送模式进行数据传输业务;提供自动的和用户参与的速率设置机制,给用户更多的选择,让用户更近的去感知蓝牙传输特性,提供好的用户体验。
图9为本发明实施例提供的数据发送装置结构图,该装置用于执行本发明实施例提供的数据发送方法,参照图9,该装置包括:确定单元901和发送单元902;
确定单元901,用于在采用BLE协议进行数据传输业务时,根据所述业务的业务类型和/或用户指示,确定进行所述数据传输业务的数据发送模式;
发送单元902,用于采用所述确定单元901确定出的数据发送模式进行所述数据传输业务。
可选地,所述确定单元901,具体用于在采用BLE协议进行数据传输业务时,当所述业务的业务类型和/或用户指示标识出所述业务属于紧急业务时,确定进行所述数据传输业务的数据发送模式为第一发送模式,其中,所述第一发送模式为在每个连接事件间隔内持续发送报文的数据发送模式,所述连接事件间隔为两个连接事件之间的时间间隔。
可选地,所述发送单元902包括:
判断子单元,用于在每个连接事件间隔内,判断当前是否有数据报文要发送;
发送子单元,用于在所述判断子单元判断出当前有数据报文要发送时,发送数据报文;以及,在所述判断子单元判断出当前没有数据报文要发送时,发送空报文。
可选地,所述确定单元901,具体用于在采用BLE协议进行数据传输业务时,当所述业务的业务类型和/或用户指示标识出所述业务属于非紧急业务时,确定进行所述数据传输业务的数据发送模式为第二发送模式,所述第二发送模式为在每个连接事件间隔内发送预定数目个报文的数据发送模式,所
述连接事件间隔为两个连接事件之间的时间间隔。
可选地,所述发送单元902包括:
确定子单元,用于在每个连接事件间隔内,确定当前发送的报文数目小于所述预定数目;
判断子单元,用于判断当前是否有数据报文要发送;
发送子单元,用于在所述判断子单元判断出当前有数据报文要发送时,发送数据报文;以及,在所述判断子单元判断出当前没有数据报文要发送时,发送空报文。
可选地,所述发送单元902包括:
确定子单元,用于在每个连接事件间隔内,确定当前发送的报文数目小于所述预定数目;
判断子单元,用于判断当前是否有数据报文要发送;
发送子单元,用于在所述判断子单元判断出当前有数据报文要发送时,发送数据报文;以及,在所述判断子单元判断出当前没有数据报文要发送时,在该连接事件间隔内停止发送报文。
可选地,所述确定单元901,具体用于在采用BLE协议进行数据传输业务时,当所述业务的业务类型和/或用户指示标识出所述业务属于非紧急业务时,确定进行所述数据传输业务的数据发送模式为第三发送模式,所述第三发送模式为在每个连接事件间隔内持续发送数据报文的数据发送模式,所述连接事件间隔为两个连接事件之间的时间间隔。
可选地,所述发送单元902包括:
判断子单元,用于在每个连接事件间隔内,判断当前是否有数据报文要发送;
发送子单元,用于在所述判断子单元判断出当前有数据报文要发送时,发送数据报文;以及,在所述判断子单元判断出当前没有数据报文要发送时,在该连接事件间隔内停止发送报文。
图10为本发明实施例提供的终端结构图,该终端用于执行本发明实施例提供的数据发送方法,参照图10,该终端包括:存储器1001、处理器1002和蓝牙通信接口1003;
所述存储器1001,用于存储程序指令;
所述处理器1002,用于根据所述存储器1001中存储的程序指令执行以下操作:
当采用BLE协议进行数据传输业务时,根据所述业务的业务类型和/或用户指示,确定进行所述数据传输业务的数据发送模式;
采用确定出的数据发送模式通过所述蓝牙通信接口1003进行所述数据传输业务。
可选地,所述处理器1002执行所述根据所述业务的业务类型和/或用户指示,确定进行所述数据传输业务的数据发送模式的操作,包括:
当所述业务的业务类型和/或用户指示标识出所述业务属于紧急业务时,确定进行所述数据传输业务的数据发送模式为第一发送模式,其中,所述第一发送模式为在每个连接事件间隔内持续发送报文的数据发送模式,所述连接事件间隔为两个连接事件之间的时间间隔。
可选地,所述处理器1002执行所述采用确定出的数据发送模式通过所述蓝牙通信接口1003进行所述数据传输业务的操作,包括:
在每个连接事件间隔内,判断当前是否有数据报文要发送;
若判断出当前有数据报文要发送,则通过所述蓝牙通信接口1003发送数据报文;
若判断出当前没有数据报文要发送,则通过所述蓝牙通信接口1003发送空报文。
可选地,所述处理器1002执行所述根据所述业务的业务类型和/或用户指示,确定进行所述数据传输业务的数据发送模式的操作,包括:
当所述业务的业务类型和/或用户指示标识出所述业务属于非紧急业务
时,确定进行所述数据传输业务的数据发送模式为第二发送模式,所述第二发送模式为在每个连接事件间隔内发送预定数目个报文的数据发送模式,所述连接事件间隔为两个连接事件之间的时间间隔。
可选地,所述处理器1002执行所述采用确定出的数据发送模式通过所述蓝牙通信接口1003进行所述数据传输业务的操作,包括:
在每个连接事件间隔内,确定当前发送的报文数目小于所述预定数目;
判断当前是否有数据报文要发送;
若判断出当前有数据报文要发送,则通过所述蓝牙通信接口1003发送数据报文;
若判断出当前没有数据报文要发送,则通过所述蓝牙通信接口1003发送空报文。
可选地,所述处理器1002执行所述采用确定出的数据发送模式通过所述蓝牙通信接口1003进行所述数据传输业务的操作,包括:
在每个连接事件间隔内,确定当前发送的报文数目小于所述预定数目;
判断当前是否有数据报文要发送;
若判断出当前有数据报文要发送,则通过所述蓝牙通信接口1003发送数据报文;
若判断出当前没有数据报文要发送,则在该连接事件间隔内停止发送报文。
可选地,所述处理器1002执行所述根据所述业务的业务类型和/或用户指示,确定进行所述数据传输业务的数据发送模式的操作,包括:
当所述业务的业务类型和/或用户指示标识出所述业务属于非紧急业务时,确定进行所述数据传输业务的数据发送模式为第三发送模式,所述第三发送模式为在每个连接事件间隔内持续发送数据报文的数据发送模式,所述连接事件间隔为两个连接事件之间的时间间隔。
可选地,所述处理器1002执行所述采用确定出的数据发送模式通过所述
蓝牙通信接口进行所述数据传输业务的操作,包括:
在每个连接事件间隔内,判断当前是否有数据报文要发送;
若判断出当前有数据报文要发送,则通过所述蓝牙通信接口1003发送数据报文;
若判断出当前没有数据报文要发送,则在该连接事件间隔内停止发送报文。
专业人员应该还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令处理器完成,所述的程序可以存储于计算机可读存储介质中,所述存储介质是非短暂性(英文:non-transitory)介质,例如随机存取存储器,只读存储器,快闪存储器,硬盘,固态硬盘,磁带(英文:magnetic tape),软盘(英文:floppy disk),光盘(英文:optical disc)及其任意组合。
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。
Claims (24)
- 一种数据发送方法,其特征在于,所述方法包括:当采用低功耗蓝牙BLE协议进行数据传输业务时,根据所述业务的业务类型和/或用户指示,确定进行所述数据传输业务的数据发送模式;采用确定出的数据发送模式进行所述数据传输业务。
- 如权利要求1所述的方法,其特征在于,所述根据所述业务的业务类型和/或用户指示,确定进行所述数据传输业务的数据发送模式,包括:当所述业务的业务类型和/或用户指示标识出所述业务属于紧急业务时,确定进行所述数据传输业务的数据发送模式为第一发送模式,其中,所述第一发送模式为在每个连接事件间隔内持续发送报文的数据发送模式,所述连接事件间隔为两个连接事件之间的时间间隔。
- 如权利要求2所述的方法,其特征在于,所述采用确定出的数据发送模式进行所述数据传输业务,包括:在每个连接事件间隔内,判断当前是否有数据报文要发送;若判断出当前有数据报文要发送,则发送数据报文;若判断出当前没有数据报文要发送,则发送空报文。
- 如权利要求1所述的方法,其特征在于,所述根据所述业务的业务类型和/或用户指示,确定进行所述数据传输业务的数据发送模式,包括:当所述业务的业务类型和/或用户指示标识出所述业务属于非紧急业务时,确定进行所述数据传输业务的数据发送模式为第二发送模式,所述第二发送模式为在每个连接事件间隔内发送预定数目个报文的数据发送模式,所述连接事件间隔为两个连接事件之间的时间间隔。
- 如权利要求4所述的方法,其特征在于,所述采用确定出的数据发送模式进行所述数据传输业务,包括:在每个连接事件间隔内,确定当前发送的报文数目小于所述预定数目;判断当前是否有数据报文要发送;若判断出当前有数据报文要发送,则发送数据报文;若判断出当前没有数据报文要发送,则发送空报文。
- 如权利要求4所述的方法,其特征在于,所述采用确定出的数据发送模式进行所述数据传输业务,包括:在每个连接事件间隔内,确定当前发送的报文数目小于所述预定数目;判断当前是否有数据报文要发送;若判断出当前有数据报文要发送,则发送数据报文;若判断出当前没有数据报文要发送,则在该连接事件间隔内停止发送报文。
- 如权利要求1所述的方法,其特征在于,所述根据所述业务的业务类型和/或用户指示,确定进行所述数据传输业务的数据发送模式,包括:当所述业务的业务类型和/或用户指示标识出所述业务属于非紧急业务时,确定进行所述数据传输业务的数据发送模式为第三发送模式,所述第三发送模式为在每个连接事件间隔内持续发送数据报文的数据发送模式,所述连接事件间隔为两个连接事件之间的时间间隔。
- 如权利要求7所述的方法,其特征在于,所述采用确定出的数据发送模式进行所述数据传输业务,包括:在每个连接事件间隔内,判断当前是否有数据报文要发送;若判断出当前有数据报文要发送,则发送数据报文;若判断出当前没有数据报文要发送,则在该连接事件间隔内停止发送报文。
- 一种数据发送装置,其特征在于,所述装置包括:确定单元,用于在采用低功耗蓝牙BLE协议进行数据传输业务时,根据所述业务的业务类型和/或用户指示,确定进行所述数据传输业务的数据发送模式;发送单元,用于采用所述确定单元确定出的数据发送模式进行所述数据 传输业务。
- 如权利要求9所述的装置,其特征在于,所述确定单元,具体用于在采用BLE协议进行数据传输业务时,当所述业务的业务类型和/或用户指示标识出所述业务属于紧急业务时,确定进行所述数据传输业务的数据发送模式为第一发送模式,其中,所述第一发送模式为在每个连接事件间隔内持续发送报文的数据发送模式,所述连接事件间隔为两个连接事件之间的时间间隔。
- 如权利要求10所述的装置,其特征在于,所述发送单元包括:判断子单元,用于在每个连接事件间隔内,判断当前是否有数据报文要发送;发送子单元,用于在所述判断子单元判断出当前有数据报文要发送时,发送数据报文;以及,在所述判断子单元判断出当前没有数据报文要发送时,发送空报文。
- 如权利要求9所述的装置,其特征在于,所述确定单元,具体用于在采用BLE协议进行数据传输业务时,当所述业务的业务类型和/或用户指示标识出所述业务属于非紧急业务时,确定进行所述数据传输业务的数据发送模式为第二发送模式,所述第二发送模式为在每个连接事件间隔内发送预定数目个报文的数据发送模式,所述连接事件间隔为两个连接事件之间的时间间隔。
- 如权利要求12所述的装置,其特征在于,所述发送单元包括:确定子单元,用于在每个连接事件间隔内,确定当前发送的报文数目小于所述预定数目;判断子单元,用于判断当前是否有数据报文要发送;发送子单元,用于在所述判断子单元判断出当前有数据报文要发送时,发送数据报文;以及,在所述判断子单元判断出当前没有数据报文要发送时,发送空报文。
- 如权利要求12所述的装置,其特征在于,所述发送单元包括:确定子单元,用于在每个连接事件间隔内,确定当前发送的报文数目小于所述预定数目;判断子单元,用于判断当前是否有数据报文要发送;发送子单元,用于在所述判断子单元判断出当前有数据报文要发送时,发送数据报文;以及,在所述判断子单元判断出当前没有数据报文要发送时,在该连接事件间隔内停止发送报文。
- 如权利要求9所述的装置,其特征在于,所述确定单元,具体用于在采用BLE协议进行数据传输业务时,当所述业务的业务类型和/或用户指示标识出所述业务属于非紧急业务时,确定进行所述数据传输业务的数据发送模式为第三发送模式,所述第三发送模式为在每个连接事件间隔内持续发送数据报文的数据发送模式,所述连接事件间隔为两个连接事件之间的时间间隔。
- 如权利要求15所述的装置,其特征在于,所述发送单元包括:判断子单元,用于在每个连接事件间隔内,判断当前是否有数据报文要发送;发送子单元,用于在所述判断子单元判断出当前有数据报文要发送时,发送数据报文;以及,在所述判断子单元判断出当前没有数据报文要发送时,在该连接事件间隔内停止发送报文。
- 一种终端,其特征在于,所述终端包括:存储器、处理器和蓝牙通信接口;所述存储器,用于存储程序指令;所述处理器,用于根据所述存储器中存储的程序指令执行以下操作:当采用低功耗蓝牙BLE协议进行数据传输业务时,根据所述业务的业务类型和/或用户指示,确定进行所述数据传输业务的数据发送模式;采用确定出的数据发送模式通过所述蓝牙通信接口进行所述数据传输业 务。
- 如权利要求17所述的终端,其特征在于,所述处理器执行所述根据所述业务的业务类型和/或用户指示,确定进行所述数据传输业务的数据发送模式的操作,包括:当所述业务的业务类型和/或用户指示标识出所述业务属于紧急业务时,确定进行所述数据传输业务的数据发送模式为第一发送模式,其中,所述第一发送模式为在每个连接事件间隔内持续发送报文的数据发送模式,所述连接事件间隔为两个连接事件之间的时间间隔。
- 如权利要求18所述的终端,其特征在于,所述处理器执行所述采用确定出的数据发送模式通过所述蓝牙通信接口进行所述数据传输业务的操作,包括:在每个连接事件间隔内,判断当前是否有数据报文要发送;若判断出当前有数据报文要发送,则通过所述蓝牙通信接口发送数据报文;若判断出当前没有数据报文要发送,则通过所述蓝牙通信接口发送空报文。
- 如权利要求17所述的终端,其特征在于,所述处理器执行所述根据所述业务的业务类型和/或用户指示,确定进行所述数据传输业务的数据发送模式的操作,包括:当所述业务的业务类型和/或用户指示标识出所述业务属于非紧急业务时,确定进行所述数据传输业务的数据发送模式为第二发送模式,所述第二发送模式为在每个连接事件间隔内发送预定数目个报文的数据发送模式,所述连接事件间隔为两个连接事件之间的时间间隔。
- 如权利要求20所述的终端,其特征在于,所述处理器执行所述采用确定出的数据发送模式通过所述蓝牙通信接口进行所述数据传输业务的操作,包括:在每个连接事件间隔内,确定当前发送的报文数目小于所述预定数目;判断当前是否有数据报文要发送;若判断出当前有数据报文要发送,则通过所述蓝牙通信接口发送数据报文;若判断出当前没有数据报文要发送,则通过所述蓝牙通信接口发送空报文。
- 如权利要求20所述的终端,其特征在于,所述处理器执行所述采用确定出的数据发送模式通过所述蓝牙通信接口进行所述数据传输业务的操作,包括:在每个连接事件间隔内,确定当前发送的报文数目小于所述预定数目;判断当前是否有数据报文要发送;若判断出当前有数据报文要发送,则通过所述蓝牙通信接口发送数据报文;若判断出当前没有数据报文要发送,则在该连接事件间隔内停止发送报文。
- 如权利要求17所述的终端,其特征在于,所述处理器执行所述根据所述业务的业务类型和/或用户指示,确定进行所述数据传输业务的数据发送模式的操作,包括:当所述业务的业务类型和/或用户指示标识出所述业务属于非紧急业务时,确定进行所述数据传输业务的数据发送模式为第三发送模式,所述第三发送模式为在每个连接事件间隔内持续发送数据报文的数据发送模式,所述连接事件间隔为两个连接事件之间的时间间隔。
- 如权利要求23所述的终端,其特征在于,所述处理器执行所述采用确定出的数据发送模式通过所述蓝牙通信接口进行所述数据传输业务的操作,包括:在每个连接事件间隔内,判断当前是否有数据报文要发送;若判断出当前有数据报文要发送,则通过所述蓝牙通信接口发送数据报文;若判断出当前没有数据报文要发送,则在该连接事件间隔内停止发送报文。
Priority Applications (5)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018528633A JP6595112B2 (ja) | 2015-12-03 | 2015-12-03 | データ送信方法及び装置並びに端末 |
| EP15909511.6A EP3376782B1 (en) | 2015-12-03 | 2015-12-03 | Data transmission method, device and terminal |
| PCT/CN2015/096247 WO2017091994A1 (zh) | 2015-12-03 | 2015-12-03 | 数据发送方法、装置和终端 |
| CN201580068413.6A CN107041170B (zh) | 2015-12-03 | 2015-12-03 | 数据发送方法、装置和终端 |
| US15/780,950 US10791521B2 (en) | 2015-12-03 | 2015-12-03 | Data sending method and apparatus, and terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2015/096247 WO2017091994A1 (zh) | 2015-12-03 | 2015-12-03 | 数据发送方法、装置和终端 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017091994A1 true WO2017091994A1 (zh) | 2017-06-08 |
Family
ID=58795998
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/096247 Ceased WO2017091994A1 (zh) | 2015-12-03 | 2015-12-03 | 数据发送方法、装置和终端 |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US10791521B2 (zh) |
| EP (1) | EP3376782B1 (zh) |
| JP (1) | JP6595112B2 (zh) |
| CN (1) | CN107041170B (zh) |
| WO (1) | WO2017091994A1 (zh) |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9980222B2 (en) * | 2015-12-15 | 2018-05-22 | Itron, Inc. | High data low latency communications with minimized power consumption |
| DE102018206785A1 (de) * | 2018-05-03 | 2019-11-07 | Audi Ag | Datenübertragung mittels des Bluetooth Low Energy (BLE)-Standards |
| CN110855463B (zh) * | 2018-08-21 | 2022-04-08 | 中兴通讯股份有限公司 | 一种空中固件升级方法、装置、设备及计算机可读介质 |
| CN112640505B (zh) * | 2018-12-22 | 2022-04-26 | 华为技术有限公司 | 一种传输速率的控制方法及设备 |
| US11582827B2 (en) | 2020-08-18 | 2023-02-14 | Texas Instruments Incorporated | Accelerating control procedures over BLE connection oriented services |
| CN113765766B (zh) * | 2021-09-07 | 2022-11-15 | 北京天融信网络安全技术有限公司 | 虚拟专用网络的会话控制方法、装置及设备 |
| US12610000B2 (en) * | 2021-11-30 | 2026-04-21 | Texas Instruments Incorporated | Bluetooth low energy connection power consumption |
| WO2024045010A1 (en) * | 2022-08-31 | 2024-03-07 | Qualcomm Incorporated | Event-based initiation of a more data mode for a wireless personal area network low energy connection |
| EP4738715A1 (en) * | 2024-11-01 | 2026-05-06 | Nokia Technologies Oy | Apparatus and method for self-interference mitigation in bluetooth systems |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103414983A (zh) * | 2013-08-09 | 2013-11-27 | 广州番禺巨大汽车音响设备有限公司 | 一种基于蓝牙通信在音响中实现多位传输的方法及系统 |
| CN104184553A (zh) * | 2014-09-02 | 2014-12-03 | 广东欧珀移动通信有限公司 | 低功耗蓝牙数据传输方法、装置以及设备 |
| CN104184946A (zh) * | 2014-08-22 | 2014-12-03 | 惠州Tcl移动通信有限公司 | 利用蓝牙技术实现远程控制拍照设备拍照的方法及系统 |
| CN104601203A (zh) * | 2014-12-23 | 2015-05-06 | 广东欧珀移动通信有限公司 | 一种低功耗蓝牙设备动态调整连接参数的方法及装置 |
| IN2013CH05632A (zh) * | 2013-12-06 | 2015-08-07 | Samsung R & D Inst India Bangalore Private Ltd |
Family Cites Families (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1102510A1 (en) * | 1999-10-12 | 2001-05-23 | Taskin Sakarya | Location system for mobile telephones |
| JP2001127762A (ja) * | 1999-10-25 | 2001-05-11 | Matsushita Electric Ind Co Ltd | 通信制御方法および装置 |
| CN101043438A (zh) * | 2006-03-24 | 2007-09-26 | 华为技术有限公司 | 数据包传输系统和方法 |
| US20100302979A1 (en) * | 2009-05-28 | 2010-12-02 | Nokia Corporation | Power saving in wireless communication |
| GB201115791D0 (en) * | 2011-09-13 | 2011-10-26 | Nordic Semiconductor Asa | Wireless data communication |
| GB201209042D0 (en) | 2012-05-22 | 2012-07-04 | Nec Corp | Apparatus and method for transmitting messages |
| KR101947652B1 (ko) * | 2012-09-28 | 2019-04-25 | 삼성전자 주식회사 | 휴대 단말기의 저전력 근거리 통신 기능 운용 방법 및 장치 |
| US9119087B2 (en) * | 2012-09-28 | 2015-08-25 | Intel Corporation | Systems and methods for hybrid wireless content delivery |
| CN104039016B (zh) | 2013-03-08 | 2019-08-13 | 中兴通讯股份有限公司 | 业务数据的传输处理、传输方法及装置 |
| US9119185B2 (en) * | 2013-03-29 | 2015-08-25 | Olympus Corporation | Power-saving hub messages in wireless body area networks |
| EP3066846B1 (en) * | 2013-11-04 | 2019-02-20 | Telefonaktiebolaget LM Ericsson (publ) | Mode selection for a communications session |
| US9813815B2 (en) | 2014-05-20 | 2017-11-07 | Gn Hearing A/S | Method of wireless transmission of digital audio |
| US20150350811A1 (en) * | 2014-06-02 | 2015-12-03 | Antonio Fernandez | Bluetooth Broadcasting System and Method |
| US10136429B2 (en) * | 2014-07-03 | 2018-11-20 | Lg Electronics Inc. | Method for transmitting and receiving audio data in wireless communication system supporting bluetooth communication and device therefor |
| US20160014550A1 (en) * | 2014-07-09 | 2016-01-14 | Samsung Electronics Co., Ltd. | Method of dynamically managing ble communications in wireless communication network and system thereof |
| CN104318741B (zh) | 2014-10-20 | 2018-02-02 | 小米科技有限责任公司 | 蓝牙设备控制方法及装置 |
| US9380144B1 (en) * | 2015-01-30 | 2016-06-28 | Lenovo Enterprise Solutions (Singapore) Pte. Ltd. | Mobile wireless communication device emergency mode |
-
2015
- 2015-12-03 WO PCT/CN2015/096247 patent/WO2017091994A1/zh not_active Ceased
- 2015-12-03 EP EP15909511.6A patent/EP3376782B1/en active Active
- 2015-12-03 US US15/780,950 patent/US10791521B2/en active Active
- 2015-12-03 CN CN201580068413.6A patent/CN107041170B/zh active Active
- 2015-12-03 JP JP2018528633A patent/JP6595112B2/ja active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103414983A (zh) * | 2013-08-09 | 2013-11-27 | 广州番禺巨大汽车音响设备有限公司 | 一种基于蓝牙通信在音响中实现多位传输的方法及系统 |
| IN2013CH05632A (zh) * | 2013-12-06 | 2015-08-07 | Samsung R & D Inst India Bangalore Private Ltd | |
| CN104184946A (zh) * | 2014-08-22 | 2014-12-03 | 惠州Tcl移动通信有限公司 | 利用蓝牙技术实现远程控制拍照设备拍照的方法及系统 |
| CN104184553A (zh) * | 2014-09-02 | 2014-12-03 | 广东欧珀移动通信有限公司 | 低功耗蓝牙数据传输方法、装置以及设备 |
| CN104601203A (zh) * | 2014-12-23 | 2015-05-06 | 广东欧珀移动通信有限公司 | 一种低功耗蓝牙设备动态调整连接参数的方法及装置 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP3376782A4 * |
Also Published As
| Publication number | Publication date |
|---|---|
| EP3376782B1 (en) | 2020-10-28 |
| US10791521B2 (en) | 2020-09-29 |
| US20180376425A1 (en) | 2018-12-27 |
| JP6595112B2 (ja) | 2019-10-23 |
| JP2019506769A (ja) | 2019-03-07 |
| CN107041170A (zh) | 2017-08-11 |
| EP3376782A1 (en) | 2018-09-19 |
| CN107041170B (zh) | 2020-11-03 |
| EP3376782A4 (en) | 2018-09-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107041170B (zh) | 数据发送方法、装置和终端 | |
| US11895589B2 (en) | Power-efficient communication of group-addressed frames | |
| CN102474817B (zh) | 休眠模式操作的更新方法和装置 | |
| KR102286208B1 (ko) | 컴퓨팅 디바이스들에서의 전력 절약 기술들 | |
| CN103200653A (zh) | 非连续接收的方法及装置 | |
| CN101360106B (zh) | 无线通讯系统改善连续封包连通功能的方法及其相关装置 | |
| US9811374B1 (en) | Partial resume for operating system modules | |
| JP4629773B2 (ja) | スリープモードにおけるトラフィック・インディケーション・メッセージを転送するための方法及びその装置 | |
| CN110312282A (zh) | 数据传输的方法和装置 | |
| CN103581885A (zh) | 用户设备辅助信息上报方法、装置和系统 | |
| WO2021012928A1 (zh) | 载波聚合参数配置方法、设备及系统 | |
| JP2008289150A (ja) | 無線通信システムにおいて待ち行列機能を管理する方法及び装置 | |
| CN108811146A (zh) | 上行调度请求处理方法及装置 | |
| WO2021012281A1 (zh) | 唤醒信号的变更处理、监听方法、通信设备及存储介质 | |
| CN110192407B (zh) | 一种数据传输方法及设备 | |
| WO2023179357A1 (zh) | 一种通信方法及装置 | |
| WO2020074003A1 (zh) | 一种移动终端共享网络连接的方法及移动终端 | |
| CN111294899A (zh) | 用于drx的不活动定时器控制方法及装置、存储介质、终端、基站 | |
| TW201735711A (zh) | 基於設備到設備的通訊方法和終端 | |
| CN106576382A (zh) | 一种终端、基站、系统及传输应用数据的方法 | |
| WO2022257910A1 (zh) | QoS的控制方法及装置 | |
| CN115696460A (zh) | 推荐比特率确定方法、装置及相关设备 | |
| WO2024239487A1 (zh) | 用户面数据到达的通知方法及相关设备 | |
| HK1240741B (zh) | 数据发送方法、装置和终端 | |
| CN116017494A (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: 15909511 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2018528633 Country of ref document: JP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2015909511 Country of ref document: EP |



