CN113157300A - Data processing method, device and storage medium - Google Patents
Data processing method, device and storage medium Download PDFInfo
- Publication number
- CN113157300A CN113157300A CN202110548012.8A CN202110548012A CN113157300A CN 113157300 A CN113157300 A CN 113157300A CN 202110548012 A CN202110548012 A CN 202110548012A CN 113157300 A CN113157300 A CN 113157300A
- Authority
- CN
- China
- Prior art keywords
- bluetooth device
- data transmission
- bluetooth
- transmission interval
- configuration information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 25
- 230000005540 biological transmission Effects 0.000 claims abstract description 324
- 238000000034 method Methods 0.000 claims abstract description 33
- 230000004044 response Effects 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000005452 bending Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
- H04L63/101—Access control lists [ACL]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application discloses a data processing method, a device and a storage medium, comprising the following steps: the method comprises the steps that a first Bluetooth device obtains an upgrade file of a second Bluetooth device; the first Bluetooth equipment sends the upgrade file to the second Bluetooth equipment according to the transmission configuration information, so that the second Bluetooth equipment can be upgraded according to the upgrade file; the transmission configuration information is determined by negotiation between the first Bluetooth device and the second Bluetooth device, and the transmission configuration information comprises at least one of a target data transmission interval and a target maximum transmission unit. According to the technical scheme of the embodiment of the application, the data transmission rate can be improved, and the transmission time of the upgrade file is shortened.
Description
Technical Field
The present disclosure relates to the field of wireless communications, and in particular, to a data processing method, an apparatus, and a storage medium.
Background
At present, common mainstream remote controllers on smart televisions and network set top boxes almost relate to two remote control modes, namely infrared remote control mode and Bluetooth remote control mode. In recent years, bluetooth remote controllers have been increasingly appreciated by television manufacturers and consumers due to their advantages of "alignment free", "control by bending", and "long control distance".
With the continuous update and iteration of the bluetooth technology, the bluetooth remote controller is already the standard configuration of the smart television. When a problem occurs in the bluetooth remote controller in the hand of the user, the best solution is to update the firmware of the bluetooth remote controller through the network by means of the television. When the existing television sends the upgrade file to the Bluetooth remote controller, the time consumption of the sending process is long, the upgrade efficiency of the Bluetooth remote controller is low, and every liter of primary firmware needs nearly 3 minutes.
Disclosure of Invention
The embodiment of the application provides a data processing method, a data processing device and a storage medium, which can reduce the data transmission time among Bluetooth devices and improve the upgrading efficiency of the Bluetooth devices.
In a first aspect, an embodiment of the present application provides a data processing method, where the method includes:
the method comprises the steps that a first Bluetooth device obtains an upgrade file of a second Bluetooth device;
the first Bluetooth device sends the upgrade file to the second Bluetooth device according to the transmission configuration information, so that the second Bluetooth device can be upgraded according to the upgrade file;
wherein the transmission configuration information is determined by negotiation between the first bluetooth device and the second bluetooth device, and the transmission configuration information includes at least one of a target data transmission interval and a target maximum transmission unit.
Optionally, the preset data transmission interval of the first bluetooth device is a first data transmission interval, where the first data transmission interval is smaller than a standard data transmission interval of a generic attribute protocol GATT, and when the transmission configuration information includes the target data transmission interval, before the first bluetooth device acquires the upgrade file of the second bluetooth device, the method further includes:
the first Bluetooth device receives a connection parameter updating request sent by the second Bluetooth device, wherein the connection parameter updating request comprises a second data transmission interval of the second Bluetooth device;
the first Bluetooth device judges whether the second data transmission interval is smaller than or equal to the first data transmission interval;
and when the second data transmission interval is smaller than or equal to the first data transmission interval, determining the first data transmission interval as the target data transmission interval.
Optionally, the target data transmission interval is smaller than a standard data transmission interval of the generic attribute protocol GATT.
Optionally, the preset maximum transmission unit of the first bluetooth device is a first maximum transmission unit, where the first maximum transmission unit is greater than a standard maximum transmission unit of a generic attribute protocol GATT, and when the transmission configuration information includes the target maximum transmission unit, before the first bluetooth device acquires the upgrade file of the second bluetooth device, the method further includes:
the first Bluetooth device acquires a second maximum transmission unit of the second Bluetooth device;
and the first Bluetooth equipment determines the maximum transmission unit with the minimum value in the first maximum transmission unit and the second maximum transmission unit as the target maximum transmission unit.
Optionally, when the transmission configuration information further includes an unanswered transmission mode, before the first bluetooth device acquires the upgrade file of the second bluetooth device, the method further includes:
and the first Bluetooth equipment sets the data transmission mode to be an unacknowledged transmission mode.
Optionally, after the first bluetooth device sends the upgrade file to the second bluetooth device according to the transmission configuration information, the method further includes:
the first Bluetooth device sets a white list according to the second Bluetooth device, wherein the white list comprises identification information of the second Bluetooth device;
the first Bluetooth device receives target data sent by a third Bluetooth device;
the first Bluetooth device judges whether the third Bluetooth device belongs to the white list or not according to the target data;
and when the target data does not belong to the preset storage queue, the first Bluetooth device stores the target data into the preset storage queue through a protocol stack.
Optionally, after the first bluetooth device stores the target data in a preset storage queue through a protocol stack, the method further includes:
the first Bluetooth device receives an upgrade completion instruction sent by the second Bluetooth device;
the first Bluetooth device removes the white list according to the upgrading completion instruction, so that the first Bluetooth device obtains the target data from the preset storage queue;
and the first Bluetooth device sends response information to the third Bluetooth device according to the target data.
In a second aspect, an embodiment of the present application further provides a data processing apparatus, where the apparatus includes:
the acquisition module is used for acquiring an upgrade file of the second Bluetooth device;
the sending module is used for sending the upgrade file acquired by the acquiring module to the second Bluetooth device according to the transmission configuration information so as to upgrade the second Bluetooth device according to the upgrade file;
wherein the transmission configuration information is determined by negotiation between the first bluetooth device and the second bluetooth device, and the transmission configuration information includes at least one of a target data transmission interval and a target maximum transmission unit.
In a third aspect, an embodiment of the present application further provides a bluetooth device, where the bluetooth device includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors execute the programs to implement the data processing method provided by any embodiment of the present application.
In a fourth aspect, the present application further provides a computer-readable storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the computer program implements the data processing method provided in any embodiment of the present application.
According to the technical scheme of the embodiment of the application, the upgrading file of the second Bluetooth device is obtained through the first Bluetooth device, the first Bluetooth device sends the upgrading file to the second Bluetooth device according to the transmission configuration information determined by negotiation with the second Bluetooth device, so that the second Bluetooth device can upgrade according to the upgrading file, the data transmission rate can be improved, and the transmission time of the upgrading file is shortened.
Drawings
FIG. 1 is a system architecture diagram provided by an embodiment of the present application;
fig. 2 is a schematic diagram of an embodiment of a data processing method provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of an embodiment of another data processing method provided in an embodiment of the present application;
FIG. 4 is a schematic diagram of an embodiment of another data processing method provided in an embodiment of the present application;
fig. 5 is a block diagram of a data processing apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a bluetooth device according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a data processing method, data processing equipment and a storage medium, which can reduce the data transmission time among Bluetooth equipment and improve the upgrading efficiency of the Bluetooth equipment.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and in the claims of the present application and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a schematic architecture diagram of a system 10 according to an embodiment of the present disclosure.
Referring to fig. 1, the system 10 in the embodiment of the present application includes a first bluetooth device 101 and a second bluetooth device 102. The first bluetooth device 101 and the second bluetooth device 102 may be connected directly through Bluetooth Low Energy (BLE) technology or WiFi.
The first bluetooth device 101 may be an intelligent terminal device such as a smart television that includes a bluetooth function and a network function. The second bluetooth device 102 may be a bluetooth-enabled mobile device, such as an electronic device like a bluetooth remote controller, a bluetooth headset, etc. The bluetooth remote controller is not limited to the bluetooth remote controller matched with the first bluetooth device 101, and may also be a mobile phone or tablet or other terminal device with a bluetooth function and equipped with a remote controller application.
Based on the system architecture in fig. 1, fig. 2 is a schematic diagram illustrating an embodiment of a data processing method according to an embodiment of the present application. Referring to fig. 2, an embodiment of the data processing method provided in the embodiment of the present application may specifically include the contents of step 210 to step 220.
210. The first Bluetooth device acquires an upgrade file of the second Bluetooth device.
In the embodiment of the application, when detecting that the second bluetooth device meets the upgrade condition, the first bluetooth device acquires the upgrade file matched with the second bluetooth device.
Optionally, in this embodiment of the application, when detecting that an upgrade file matched with the second bluetooth device is locally stored, or when receiving an upgrade waiting instruction corresponding to the second bluetooth device, the first bluetooth device may determine that the second bluetooth device meets an upgrade condition. The instruction for waiting for upgrade may be sent by the second bluetooth device, or may be sent by the server.
Optionally, in this embodiment of the present application, when it is detected that the second bluetooth device meets the upgrade condition, if the first bluetooth device locally stores the upgrade file matched with the second bluetooth device, the upgrade file is directly acquired from the local storage. If the first Bluetooth device does not locally store the upgrade file matched with the second Bluetooth device, the first Bluetooth device may send an upgrade instruction to the server, so that the server sends the upgrade file matched with the second Bluetooth device to the first Bluetooth device according to the upgrade instruction.
220. And the first Bluetooth equipment sends the upgrade file to the second Bluetooth equipment according to the transmission configuration information so that the second Bluetooth equipment can upgrade according to the upgrade file.
In this embodiment of the present application, the transmission configuration information refers to data transmission parameters and specific values in a data transmission process between the first bluetooth device and the second bluetooth device. It should be noted that, in this embodiment of the application, the data transmission parameter that the first bluetooth device and the second bluetooth device need to negotiate to determine includes at least one of a Maximum Transmission Unit (MTU) and a data transmission interval (connection interval min) of a network protocol. The maximum transmission unit is the maximum length of a single data packet in the data transmission process of the first Bluetooth device and the second Bluetooth device; the data transmission interval is the interval of the transmission time corresponding to each adjacent data packet in the data transmission process of the first Bluetooth device and the second Bluetooth device. The data transmission parameters and the specific values are determined by the first Bluetooth device and the second Bluetooth device through negotiation in advance. In this embodiment of the application, when the data transmission parameter negotiated in advance by the first bluetooth device and the second bluetooth device includes a maximum transmission unit, a value of the maximum transmission unit determined by negotiation in advance is a target maximum transmission unit. In this embodiment, the target maximum transfer unit negotiated and determined by the first bluetooth device and the second bluetooth device is greater than the default standard maximum transfer unit in the GATT protocol. In this embodiment of the application, when the data transmission parameter negotiated and determined in advance by the first bluetooth device and the second bluetooth device includes a data transmission interval, a value of the negotiated and determined data transmission interval is a target data transmission interval. Wherein the target data transmission interval is smaller than a default standard transmission interval in the GATT protocol. Optionally, in this embodiment of the present application, the transmission configuration information may be determined by negotiation between the first bluetooth device and the second bluetooth device when the first bluetooth device and the second bluetooth device establish a communication connection for the first time.
It should be noted that, in this embodiment of the present application, the data transmission parameter that the first bluetooth device and the second bluetooth device need to negotiate and determine includes at least one of a maximum transmission unit of a network protocol and a data transmission interval, and may further include other data transmission parameters, for example, a data response method, and the like, which is not limited in this embodiment of the present application. In this embodiment of the application, the first bluetooth device and the second bluetooth device determine a specific value of the data transmission parameter through negotiation, so that a transmission rate after negotiation between the first bluetooth device and the second bluetooth device can be greater than a default transmission rate in a GATT protocol.
In this embodiment of the application, the first bluetooth device and the second bluetooth device negotiate in advance about transmission configuration information in a data transmission process, that is, a specific value of a data transmission parameter, and after the first bluetooth device acquires an upgrade file of the second bluetooth, the upgrade file is sent to the second bluetooth device according to the transmission configuration information negotiated in advance.
Specifically, when the transmission configuration information negotiated in advance by the first bluetooth device and the second bluetooth device includes a target maximum transmission unit, the first bluetooth device splits the upgrade file into a plurality of data packets according to the negotiated target maximum transmission unit, and respectively sends the data packets to the second bluetooth device, wherein the size of each data packet is equal to or smaller than the target maximum transmission unit; when the transmission configuration information negotiated in advance by the first Bluetooth device and the second Bluetooth device comprises a target data transmission interval, the first Bluetooth device sequentially sends a plurality of data packets split by the upgrade file to the second Bluetooth device respectively according to the negotiated target data transmission interval.
In the embodiment of the application, the transmission configuration information in the data transmission process negotiated in advance by the first bluetooth device and the second bluetooth device, that is, the specific value of the data transmission parameter, includes the target maximum transmission unit or the target data transmission interval, so that the transmission rate corresponding to the negotiated transmission configuration information is greater than the default transmission rate of the GATT protocol, when the second bluetooth device needs to be upgraded, the first bluetooth device sends the upgrade file to the second bluetooth device through the transmission configuration information determined by the negotiation in advance with the second bluetooth device, instead of directly sending the upgrade file to the second bluetooth device according to the default data transmission interval or the maximum transmission unit in the GATT protocol, thereby improving the data transmission rate, reducing the transmission time of the upgrade file, and further improving the upgrade efficiency.
Fig. 3 is a schematic diagram of an embodiment of another data processing method according to an embodiment of the present application. Referring to fig. 3, another embodiment of the data processing method provided in the embodiment of the present application may specifically include the contents of step 301 to step 310.
As shown in fig. 3, the method provided in the embodiment of the present application may further include:
301. the first bluetooth device modifies the standard data transmission interval to a first data transmission interval.
In this embodiment, in the GATT connection parameter of the first bluetooth device, the original default data transmission interval is a standard data transmission interval, and the standard data transmission interval is an interval of transmission time corresponding to each adjacent data packet in a transmission process that is default in the GATT protocol. In the embodiment of the application, when the first bluetooth device establishes communication connection with the second bluetooth device for the first time, the default standard data transmission interval is modified to the first data transmission interval. The first bluetooth device may call the HCI _ LE _ Connection _ Update interface to modify the standard data transmission interval to obtain the first time interval. The first data transmission interval is smaller than a standard data transmission interval of the GATT protocol. For example, the first time interval may be 7.5 ms. It should be noted that, the specific value of the first time interval is preset in practical situations, and the embodiment of the present application does not limit this.
302. The first Bluetooth device receives a connection parameter updating request sent by the second Bluetooth device, wherein the connection parameter updating request comprises a data transmission interval of the second Bluetooth device.
In this embodiment of the present application, after the first bluetooth device modifies the standard data transmission interval to the first data transmission interval, a connection parameter update request sent by the second bluetooth device is also received. The first bluetooth device may obtain a value of a data transmission interval of the second bluetooth device as a second data transmission interval according to the connection parameter update request sent by the second bluetooth device. The second data transmission interval is an interval of transmission time corresponding to each adjacent data packet supported by the data transmission process of the second bluetooth device.
303. The first bluetooth device determines whether the second data transmission interval is less than or equal to the first data transmission interval. If yes, go to step 304; if not, go to step 305.
304. And if the second data transmission interval is smaller than or equal to the first data transmission interval, the first Bluetooth device determines that the first data transmission interval is a target data transmission interval.
In this embodiment of the application, if the second data transmission interval is less than or equal to the first data transmission interval, it indicates that the second bluetooth device supports the transmission time interval corresponding to each adjacent data packet to be the first data transmission interval, and at this time, the first bluetooth device may use the first data transmission interval as a target data transmission interval, that is, the first bluetooth device may send the upgrade file to the second bluetooth device according to the target data transmission interval.
305. And if the second data transmission interval is larger than the first data transmission interval, the first Bluetooth device modifies the first data transmission interval into a standard data transmission interval.
In this embodiment of the present application, if the second data transmission interval is greater than the first data transmission interval, it indicates that the second bluetooth device does not support the transmission time interval corresponding to each adjacent data packet as the first data transmission interval, at this time, the first bluetooth device modifies the first data transmission interval into the standard data transmission interval again, and the first bluetooth device sends the upgrade file to the second bluetooth device according to the standard data transmission interval.
306. The first Bluetooth device acquires a second maximum transmission unit of the second Bluetooth device.
In this embodiment of the present application, an originally default maximum transmission unit of the first bluetooth device is taken as a default standard maximum transmission unit in the GATT protocol, and in this embodiment of the present application, the first bluetooth device first modifies the default standard maximum transmission unit into a first maximum transmission unit, where the first maximum transmission unit is greater than the standard maximum transmission unit.
After the above step 304 or step 305, the first bluetooth device obtains the second maximum transmission unit of the second bluetooth device, where the second maximum transmission unit is the maximum length of the data packet that can be transmitted by the second bluetooth device.
Optionally, in this embodiment of the application, the first bluetooth device and the second bluetooth device may send a first instruction for indicating the first maximum transmission unit to the second bluetooth device, and after receiving the first instruction, the second bluetooth device feeds back a second instruction for indicating the second maximum transmission unit to the first bluetooth device. And the first Bluetooth device determines a second maximum transmission unit supported by the second Bluetooth device according to the second instruction. The first bluetooth device may call the ATT _ EXCHANGE _ MTU _ REQ interface, send the first instruction to the second bluetooth device, and receive the second instruction fed back by the second bluetooth device.
Optionally, in this embodiment of the application, the connection parameter update request in step 302 may include the second data transmission interval and the second maximum transmission unit of the second bluetooth device at the same time, and the first bluetooth device may determine the second data transmission interval and the second maximum transmission unit of the second bluetooth device at the same time according to the connection parameter update request.
Optionally, in this embodiment of the application, the first bluetooth device may determine the second maximum transmission unit before or after determining the second data transmission interval, and the specific execution sequence is preset according to an actual situation, which is not limited in this embodiment of the application.
307. The first Bluetooth device determines the minimum maximum transmission unit as the target maximum transmission unit from the first maximum transmission unit and the second maximum transmission unit.
In this embodiment of the present application, after acquiring a second maximum transmission unit of a second bluetooth device, a first bluetooth device determines a minimum value in the first maximum transmission unit and the second maximum transmission unit, and determines the minimum value in the first maximum transmission unit and the second maximum transmission unit as a target maximum transmission unit.
308. The first Bluetooth device sets the data transmission mode to an unacknowledged transmission mode.
The default data transmission mode in the existing GATT protocol is an acknowledgement transmission mode, that is, after a first bluetooth device transmits a data packet to a second bluetooth device, the first bluetooth device needs to wait for the second bluetooth device to feed back an acknowledgement message. In this embodiment of the present application, the first bluetooth device sets the data transmission mode to the non-acknowledgement transmission mode, that is, after the first bluetooth device transmits one data packet to the second bluetooth device, the next data packet can be sent without waiting for the second bluetooth device to feed back the acknowledgement information. Specifically, the first bluetooth device may modify a default data transmission mode (i.e., an acknowledgement transmission mode) in the GATT protocol to a no-acknowledgement transmission mode (write without response), and send configuration information indicating the no-acknowledgement transmission mode to the second bluetooth device, so that the second bluetooth device transmits data with the first bluetooth device in the no-acknowledgement transmission mode.
It should be noted that, in the embodiment of the present application, step 308 may be executed simultaneously with or before or after execution of any one of steps 301 to 307, and the execution time of step 308 is not limited in the embodiment of the present application.
309. The first Bluetooth device acquires an upgrade file of the second Bluetooth device.
The embodiment of the present application can be understood with reference to step 210 in fig. 2, and is not described herein again.
310. And the first Bluetooth equipment sends the upgrade file to the second Bluetooth equipment according to the transmission configuration information so that the second Bluetooth equipment can upgrade according to the upgrade file.
In this embodiment of the application, the first bluetooth device and the second bluetooth device negotiate in advance about transmission configuration information in a data transmission process, that is, a specific value of a data transmission parameter, and after the first bluetooth device acquires an upgrade file of the second bluetooth, the upgrade file is sent to the second bluetooth device according to the transmission configuration information negotiated in advance.
Specifically, the first bluetooth device first splits the upgrade file into a plurality of upgrade data packets according to the negotiated target maximum transmission unit, where the size of each data packet is equal to the target maximum transmission unit. And then, the first Bluetooth device sequentially sends the plurality of data packets split by the upgrade file to the second Bluetooth device according to the negotiated target data transmission interval. For example, the target data transmission interval is 7.5ms, and the first bluetooth device sends an upgrade data packet to the second bluetooth device every 7.5 ms. And the first Bluetooth equipment can send the next upgrading data packet to the second Bluetooth equipment without waiting for the response information fed back by the second Bluetooth equipment when sending one upgrading data packet to the second Bluetooth equipment.
In the embodiment of the application, the first Bluetooth device and the second Bluetooth device negotiate in advance about the transmission configuration information in the data transmission process, i.e. the specific values of the data transmission parameters, the transmission configuration information comprises the target maximum transmission unit, the target data transmission interval, the transmission rate corresponding to the negotiated transmission configuration information is larger than the default transmission rate of the GATT protocol, and a non-response data transmission mode is adopted, when the second Bluetooth device needs to be upgraded, the first Bluetooth device sends the upgrade file to the second Bluetooth device through the transmission configuration information determined by the pre-negotiation with the second Bluetooth device, rather than directly transmitting the upgrade file to the second bluetooth device according to the default data transmission interval and maximum transmission unit in the GATT protocol, therefore, the data transmission rate is improved, the transmission time of the upgrade file is reduced, and the upgrade efficiency is improved.
In the prior art, when the smart television sends the upgrade file to the bluetooth remote controller, the smart television may also receive requests of other bluetooth devices (such as bluetooth headsets, etc.), which results in a high bluetooth bandwidth occupancy rate of the smart television, a slow response speed of the smart television to the bluetooth remote controller, an obvious bluetooth remote controller jam, and a poor user experience. Therefore, in order to solve the above problem, the embodiment of the present application is based on the embodiments in fig. 2 and fig. 3, and further provides another embodiment of a data processing method, please refer to fig. 4.
Fig. 4 is a schematic diagram of an embodiment of another data processing method provided in the embodiment of the present application.
Referring to fig. 4, another embodiment of the data processing method provided in the embodiment of the present application may include the following steps 410 to 470.
410. The first Bluetooth device acquires an upgrade file of the second Bluetooth device.
The embodiment of the present application can be understood with reference to step 210 in fig. 2 or step 309 in fig. 3, and is not described herein again.
420. And the first Bluetooth equipment sends the upgrade file to the second Bluetooth equipment according to the transmission configuration information so that the second Bluetooth equipment can upgrade according to the upgrade file.
The embodiment of the present application can be understood with reference to step 220 in fig. 2 or step 310 in fig. 3, and is not described herein again.
430. And when detecting that all the upgrading data packets corresponding to the upgrading files are completely sent, the first Bluetooth device sets a white list according to the second Bluetooth device, and configures the security module according to the white list.
In this embodiment of the application, the first bluetooth device may determine whether all the data packets corresponding to the upgrade file are completely sent by detecting whether the lengths of all the upgrade data packets sent are equal to the length of the upgrade file, or detecting whether the number of the upgrade data packets sent is equal to the number of all the upgrade data packets after the upgrade file is split. And when all the upgrading data packets corresponding to the upgrading files are completely sent, the first Bluetooth device sets a white list according to the second Bluetooth device. Optionally, the white list may include identification information of the second bluetooth device, as well as other data associated with the second bluetooth device.
In the embodiment of the application, when it is detected that all upgrade data packets corresponding to the upgrade file are completely sent, the first bluetooth device exits the data packet sending process except for setting a white list according to the second bluetooth device, and sends the upgrade starting instruction to the second bluetooth device, after receiving the upgrade starting instruction, the second bluetooth device firstly checks whether all the upgrade data packets are successfully received, and if all the upgrade data packets are successfully received, the second bluetooth device starts the upgrade process.
440. And after receiving the target data sent by the third Bluetooth device, the first Bluetooth device judges whether the third Bluetooth device belongs to the white list or not through the safety module.
In the embodiment of the application, after the first bluetooth device sets a white list according to the second bluetooth device and configures the security module according to the white list, if target data sent by a third bluetooth device is received, the security module judges whether the third bluetooth device belongs to the white list according to the target data.
450. And when the third Bluetooth equipment does not belong to the white list, the Bluetooth module of the first Bluetooth equipment stores the target data into a preset storage queue through a protocol stack.
In this embodiment of the application, when the security module determines that the third bluetooth device does not belong to the white list, the protocol stack stores the target data into a preset storage queue, and the target data is shielded first, so that the target data is not lost, rather than being reported to the CPU of the first bluetooth device.
460. And when the first Bluetooth equipment receives the upgrading completion instruction sent by the second Bluetooth equipment, the white list is removed.
In the embodiment of the application, when the second bluetooth device finishes upgrading according to the upgrading file, the second bluetooth device sends an upgrading finishing instruction to the first bluetooth device. And when the first Bluetooth equipment receives the upgrading completion instruction sent by the second Bluetooth equipment, the upgrading completion instruction is sent to the safety module, so that the safety module can remove the white list under the upgrading completion instruction.
470. The first Bluetooth device acquires target data from a preset storage queue and responds to the third Bluetooth device according to the target data.
In the embodiment of the application, after the second bluetooth device finishes upgrading, the first bluetooth device removes the white list, obtains the target data from the preset storage queue, and responds to the third bluetooth device.
In the embodiment of the application, the first bluetooth device and the second bluetooth device negotiate transmission configuration information in advance, the transmission rate corresponding to the transmission configuration information is greater than the default transmission rate of the GATT protocol, when the second bluetooth device needs to be upgraded, the first bluetooth device sends the upgrade file to the second bluetooth device through the transmission configuration information determined by the pre-negotiation with the second bluetooth device, instead of directly sending the upgrade file to the second bluetooth device according to the default data transmission interval or the maximum transmission unit in the GATT protocol, so that the data transmission rate can be improved, the transmission time of the upgrade file is shortened, and the upgrade efficiency is improved. Further, in the upgrading process of the second Bluetooth device, the first Bluetooth device sets a white list according to the second Bluetooth device, the first Bluetooth device configures the security module according to the white list, and storing the target data except the white list into a preset storage queue through a protocol stack, so that the security module suspends reporting the received target data except the white list to the first Bluetooth device, and when the first Bluetooth device receives the upgrade completion instruction sent by the second Bluetooth device, the white list is released, the first Bluetooth device obtains target data except the white list from the storage queue and responds to the target data, data transmission time between the bluetooth equipment can be reduced, the upgrading efficiency of the bluetooth equipment is improved, the problem that the bluetooth equipment is stuck and unsmooth obviously in the upgrading process is solved, and the experience of a user is improved.
Fig. 5 is a structural diagram of a data processing apparatus according to an embodiment of the present application, where the data processing apparatus includes: an acquisition module 510 and a sending module 520.
The obtaining module 510 is configured to obtain an upgrade file of a second bluetooth device;
a sending module 520, configured to send the upgrade file acquired by the acquiring module to the second bluetooth device according to the transmission configuration information, so that the second bluetooth device performs upgrade according to the upgrade file;
wherein the transmission configuration information is determined by negotiation between the first bluetooth device and the second bluetooth device, and the transmission configuration information includes at least one of a target data transmission interval and a target maximum transmission unit.
In the technical scheme of the embodiment of the application, the first bluetooth device and the second bluetooth device negotiate transmission configuration information in a data transmission process in advance, and the transmission configuration information comprises a target maximum transmission unit or a target data transmission interval, so that the transmission rate corresponding to the negotiated transmission configuration information is greater than the default transmission rate of the GATT protocol, when the second bluetooth device needs to be upgraded, the first bluetooth device sends the upgrade file to the second bluetooth device through the transmission configuration information determined by the negotiation with the second bluetooth device in advance, instead of directly sending the upgrade file to the second bluetooth device according to the default data transmission interval or the maximum transmission unit in the GATT protocol, and therefore the data transmission rate can be improved, the transmission time of the upgrade file is shortened, and the upgrade efficiency is improved.
On the basis of the foregoing embodiments, the preset data transmission interval corresponding to the data processing apparatus is a first data transmission interval, where the first data transmission interval is smaller than a standard data transmission interval of a generic attribute protocol GATT, and when the transmission configuration information includes the target data transmission interval, the apparatus further includes:
a receiving module, configured to receive a connection parameter update request sent by the second bluetooth device before the obtaining module 510 obtains the upgrade file of the second bluetooth device, where the connection parameter update request includes a second data transmission interval of the second bluetooth device;
a determining module, configured to determine whether the second data transmission interval obtained by the receiving module is smaller than or equal to the first data transmission interval;
a determining module, configured to determine that the first data transmission interval is the target data transmission interval when the determining module determines that the second data transmission interval is smaller than or equal to the first data transmission interval.
The target data transmission interval is smaller than a standard data transmission interval of the generic attribute protocol GATT.
The maximum transmission unit preset by the data processing apparatus is a first maximum transmission unit, the first maximum transmission unit is larger than a standard maximum transmission unit of a generic attribute protocol GATT, and when the transmission configuration information includes the target maximum transmission unit, the apparatus further includes:
the transmission unit acquisition module is used for acquiring a second maximum transmission unit of the second Bluetooth device before the acquisition module acquires the upgrade file of the second Bluetooth device;
and a transmission unit determining module, configured to determine a maximum transmission unit with a smallest value among the first maximum transmission unit and the second maximum transmission unit as the target maximum transmission unit.
When the transmission configuration information further includes an unacknowledged transmission mode, the apparatus further includes:
and the transmission mode setting module is used for setting the data transmission mode to be a no-response transmission mode before the acquisition module acquires the upgrade file of the second Bluetooth device.
The device further comprises:
the white list setting module is used for setting a white list according to the second Bluetooth device after the sending module sends the upgrade file acquired by the acquisition module to the second Bluetooth device according to the transmission configuration information, wherein the white list comprises the identification information of the second Bluetooth device;
the target data receiving module is used for receiving target data sent by the third Bluetooth equipment;
the third Bluetooth device judging module is used for judging whether the third Bluetooth device belongs to the white list or not according to the target data;
and the storage module is used for storing the target data into a preset storage queue through a protocol stack when the third Bluetooth device judging module judges that the third Bluetooth device does not belong to the white list according to the target data.
The device further comprises:
the instruction receiving module is used for receiving an upgrade completion instruction sent by the second Bluetooth device after the storage module stores the target data into a preset storage queue through a protocol stack;
a removing module, configured to remove the white list according to the upgrade completing instruction, so that the data processing apparatus obtains the target data from the preset storage queue;
and the information sending module is used for sending response information to the third Bluetooth equipment according to the target data.
Fig. 6 is a schematic structural diagram of a bluetooth apparatus according to an embodiment of the present application, and as shown in fig. 6, the bluetooth apparatus includes a processor 610, a memory 620, an input device 630, and an output device 640; the number of processors 610 in the bluetooth device may be one or more, and one processor 810 is taken as an example in fig. 6; the processor 610, the memory 620, the input device 630 and the output device 640 in the bluetooth apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 6. The memory 620 is used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to a data processing method in any embodiment of the present application (for example, the obtaining module 510 and the sending module 520 in a data processing apparatus). The processor 610 executes various functional applications and data processing of the bluetooth device by executing software programs, instructions and modules stored in the memory 620, that is, implements one of the data processing methods described above. That is, the program when executed by the processor implements:
the method comprises the steps that a first Bluetooth device obtains an upgrade file of a second Bluetooth device;
the first Bluetooth device sends the upgrade file to the second Bluetooth device according to the transmission configuration information, so that the second Bluetooth device can be upgraded according to the upgrade file;
wherein the transmission configuration information is determined by negotiation between the first bluetooth device and the second bluetooth device, and the transmission configuration information includes at least one of a target data transmission interval and a target maximum transmission unit.
The memory 620 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 620 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 620 may further include memory located remotely from the processor 610, which may be connected to a bluetooth device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The input means 630 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the bluetooth device, and may include a keyboard and a mouse, etc. The output device 640 may include a display terminal such as a display screen.
Embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method according to any of the embodiments of the present application. Of course, a computer-readable storage medium provided in this embodiment of the present application may perform related operations in a data processing method provided in any embodiment of the present application. That is, the program when executed by the processor implements:
the method comprises the steps that a first Bluetooth device obtains an upgrade file of a second Bluetooth device;
the first Bluetooth device sends the upgrade file to the second Bluetooth device according to the transmission configuration information, so that the second Bluetooth device can be upgraded according to the upgrade file;
wherein the transmission configuration information is determined by negotiation between the first bluetooth device and the second bluetooth device, and the transmission configuration information includes at least one of a target data transmission interval and a target maximum transmission unit.
From the above description of the embodiments, it is obvious for those skilled in the art that the present application can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a bluetooth device (which may be a personal computer, a server, or a network device) to execute the methods described in the embodiments of the present application.
It should be noted that, in the above embodiment of the data processing apparatus, the included units and modules are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims (10)
1. A data processing method, comprising:
the method comprises the steps that a first Bluetooth device obtains an upgrade file of a second Bluetooth device;
the first Bluetooth device sends the upgrade file to the second Bluetooth device according to the transmission configuration information, so that the second Bluetooth device can be upgraded according to the upgrade file;
wherein the transmission configuration information is determined by negotiation between the first bluetooth device and the second bluetooth device, and the transmission configuration information includes at least one of a target data transmission interval and a target maximum transmission unit.
2. The method of claim 1, wherein the preset data transmission interval of the first bluetooth device is a first data transmission interval, the first data transmission interval is smaller than a standard data transmission interval of generic attribute protocol GATT, and when the transmission configuration information includes the target data transmission interval, before the first bluetooth device acquires the upgrade file of the second bluetooth device, the method further comprises:
the first Bluetooth device receives a connection parameter updating request sent by the second Bluetooth device, wherein the connection parameter updating request comprises a second data transmission interval of the second Bluetooth device;
the first Bluetooth device judges whether the second data transmission interval is smaller than or equal to the first data transmission interval;
and when the second data transmission interval is smaller than or equal to the first data transmission interval, determining the first data transmission interval as the target data transmission interval.
3. The method according to claim 1 or 2, wherein the target data transmission interval is smaller than a standard data transmission interval of the generic attribute protocol GATT.
4. The method of claim 1, wherein the predetermined MTU of the first Bluetooth device is a first MTU, and the first MTU is larger than a standard MTU of a generic Attribute protocol (GATT), and when the transmission configuration information includes the target MTU, the method further comprises, before the first Bluetooth device obtains the upgrade file of the second Bluetooth device:
the first Bluetooth device acquires a second maximum transmission unit of the second Bluetooth device;
and the first Bluetooth equipment determines the maximum transmission unit with the minimum value in the first maximum transmission unit and the second maximum transmission unit as the target maximum transmission unit.
5. The method according to any one of claims 1, 2 and 4, wherein when the transmission configuration information further includes an unacknowledged transmission mode, before the first bluetooth device acquires the upgrade file of the second bluetooth device, further comprising:
and the first Bluetooth equipment sets the data transmission mode to be an unacknowledged transmission mode.
6. The method of any of claims 1, 2 and 4, further comprising, after the first Bluetooth device sends the upgrade file to the second Bluetooth device according to transmission configuration information:
the first Bluetooth device sets a white list according to the second Bluetooth device, wherein the white list comprises identification information of the second Bluetooth device;
the first Bluetooth device receives target data sent by a third Bluetooth device;
the first Bluetooth device judges whether the third Bluetooth device belongs to the white list or not according to the target data;
and when the target data does not belong to the preset storage queue, the first Bluetooth device stores the target data into the preset storage queue through a protocol stack.
7. The method of claim 6, wherein after the first bluetooth device stores the target data in a preset storage queue through a protocol stack, the method further comprises:
the first Bluetooth device receives an upgrade completion instruction sent by the second Bluetooth device;
the first Bluetooth device removes the white list according to the upgrading completion instruction, so that the first Bluetooth device obtains the target data from the preset storage queue;
and the first Bluetooth device sends response information to the third Bluetooth device according to the target data.
8. A data processing apparatus, comprising:
the acquisition module is used for acquiring an upgrade file of the second Bluetooth device;
the sending module is used for sending the upgrade file acquired by the acquiring module to the second Bluetooth device according to the transmission configuration information so as to upgrade the second Bluetooth device according to the upgrade file;
wherein the transmission configuration information is determined by negotiation between the first bluetooth device and the second bluetooth device, and the transmission configuration information includes at least one of a target data transmission interval and a target maximum transmission unit.
9. A bluetooth device, comprising:
one or more processors;
storage means for storing one or more programs;
the one or more programs when executed by the one or more processors cause the one or more processors to perform the data processing method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the data processing method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110548012.8A CN113157300A (en) | 2021-05-19 | 2021-05-19 | Data processing method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110548012.8A CN113157300A (en) | 2021-05-19 | 2021-05-19 | Data processing method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113157300A true CN113157300A (en) | 2021-07-23 |
Family
ID=76876557
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110548012.8A Pending CN113157300A (en) | 2021-05-19 | 2021-05-19 | Data processing method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113157300A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114007209A (en) * | 2021-10-28 | 2022-02-01 | 歌尔光学科技有限公司 | BLE-based data transmission method and device and BLE master equipment |
CN114640595A (en) * | 2022-03-11 | 2022-06-17 | 杭州数梦工场科技有限公司 | Cascading method, device, electronic equipment and storage medium |
CN114866526A (en) * | 2022-07-08 | 2022-08-05 | 荣耀终端有限公司 | Earphone upgrading method and wireless earphone |
CN115019418A (en) * | 2021-11-26 | 2022-09-06 | 荣耀终端有限公司 | Bluetooth vehicle key control method, device and storage medium |
CN115276907A (en) * | 2022-07-25 | 2022-11-01 | 哲库科技(上海)有限公司 | Data frame transmission method, device, chip, storage medium and Bluetooth device |
CN116737193A (en) * | 2022-09-23 | 2023-09-12 | 荣耀终端有限公司 | Software upgrading method, electronic equipment and communication system |
CN117202143A (en) * | 2022-12-20 | 2023-12-08 | 荣耀终端有限公司 | Connection parameter updating method, bluetooth device and readable storage medium |
CN117992091A (en) * | 2024-04-02 | 2024-05-07 | 深圳朗田亩半导体科技有限公司 | Firmware upgrading method and system based on file feature description |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546784A (en) * | 2011-12-29 | 2012-07-04 | 深圳市迈进科技有限公司 | Method based on controller area network (CAN) bus and used for conducting batch upgrading for device firmware |
CN103916440A (en) * | 2013-01-05 | 2014-07-09 | 尼尔森网联媒介数据服务有限公司 | Remote upgrade method and device |
CN104135339A (en) * | 2014-07-08 | 2014-11-05 | 福建联迪商用设备有限公司 | Bluetooth low-power-consumption communication method, Bluetooth equipment and system |
CN106851622A (en) * | 2016-12-28 | 2017-06-13 | 歌尔科技有限公司 | A kind of over-the-air upgrade method, device, central apparatus and ancillary equipment |
CN108768709A (en) * | 2018-05-18 | 2018-11-06 | 深圳国人通信股份有限公司 | A kind of serial ports remote upgrade method of the network equipment |
CN109479270A (en) * | 2016-07-21 | 2019-03-15 | Oppo广东移动通信有限公司 | Transmit method, terminal device and the network equipment of signal |
CN109542485A (en) * | 2018-11-20 | 2019-03-29 | 北京千丁互联科技有限公司 | A kind of firmware upgrade method and its device based on bluetooth BLE equipment end |
CN109996335A (en) * | 2017-12-29 | 2019-07-09 | 华为技术有限公司 | A kind of transmission time processing method and relevant device |
CN110417511A (en) * | 2019-07-11 | 2019-11-05 | 深圳前海达闼云端智能科技有限公司 | Data transmission method, calculates equipment and computer storage medium at device |
CN110621011A (en) * | 2019-09-12 | 2019-12-27 | 北京方研矩行科技有限公司 | OTA firmware upgrading method and system based on Bluetooth device end |
CN111277987A (en) * | 2020-03-17 | 2020-06-12 | 北京百瑞互联技术有限公司 | Method for dynamically negotiating Bluetooth connection interval |
CN111314895A (en) * | 2020-01-17 | 2020-06-19 | 杭州涂鸦信息技术有限公司 | Bluetooth-based wireless upgrading method and device, server and electronic equipment |
CN111328059A (en) * | 2020-02-25 | 2020-06-23 | Oppo广东移动通信有限公司 | Data transmission method, data transmission device and electronic equipment |
CN111510899A (en) * | 2020-04-17 | 2020-08-07 | 昆腾微电子股份有限公司 | Bluetooth transmission method and device |
-
2021
- 2021-05-19 CN CN202110548012.8A patent/CN113157300A/en active Pending
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546784A (en) * | 2011-12-29 | 2012-07-04 | 深圳市迈进科技有限公司 | Method based on controller area network (CAN) bus and used for conducting batch upgrading for device firmware |
CN103916440A (en) * | 2013-01-05 | 2014-07-09 | 尼尔森网联媒介数据服务有限公司 | Remote upgrade method and device |
CN104135339A (en) * | 2014-07-08 | 2014-11-05 | 福建联迪商用设备有限公司 | Bluetooth low-power-consumption communication method, Bluetooth equipment and system |
CN109479270A (en) * | 2016-07-21 | 2019-03-15 | Oppo广东移动通信有限公司 | Transmit method, terminal device and the network equipment of signal |
CN106851622A (en) * | 2016-12-28 | 2017-06-13 | 歌尔科技有限公司 | A kind of over-the-air upgrade method, device, central apparatus and ancillary equipment |
CN109996335A (en) * | 2017-12-29 | 2019-07-09 | 华为技术有限公司 | A kind of transmission time processing method and relevant device |
CN108768709A (en) * | 2018-05-18 | 2018-11-06 | 深圳国人通信股份有限公司 | A kind of serial ports remote upgrade method of the network equipment |
CN109542485A (en) * | 2018-11-20 | 2019-03-29 | 北京千丁互联科技有限公司 | A kind of firmware upgrade method and its device based on bluetooth BLE equipment end |
CN110417511A (en) * | 2019-07-11 | 2019-11-05 | 深圳前海达闼云端智能科技有限公司 | Data transmission method, calculates equipment and computer storage medium at device |
CN110621011A (en) * | 2019-09-12 | 2019-12-27 | 北京方研矩行科技有限公司 | OTA firmware upgrading method and system based on Bluetooth device end |
CN111314895A (en) * | 2020-01-17 | 2020-06-19 | 杭州涂鸦信息技术有限公司 | Bluetooth-based wireless upgrading method and device, server and electronic equipment |
CN111328059A (en) * | 2020-02-25 | 2020-06-23 | Oppo广东移动通信有限公司 | Data transmission method, data transmission device and electronic equipment |
CN111277987A (en) * | 2020-03-17 | 2020-06-12 | 北京百瑞互联技术有限公司 | Method for dynamically negotiating Bluetooth connection interval |
CN111510899A (en) * | 2020-04-17 | 2020-08-07 | 昆腾微电子股份有限公司 | Bluetooth transmission method and device |
Non-Patent Citations (2)
Title |
---|
金纯,李娅萍,曾伟,马金辉,岳宗田编著: "BLE低功耗蓝牙技术开发指南", 31 January 2016, 国防工业出版社, pages: 1 * |
陈灿峰编著: "低功耗蓝牙技术原理与应用", 30 September 2013, 北京航空航天大学出版社 , pages: 1 * |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114007209B (en) * | 2021-10-28 | 2024-09-27 | 歌尔科技有限公司 | BLE-based data transmission method and device and BLE master device |
CN114007209A (en) * | 2021-10-28 | 2022-02-01 | 歌尔光学科技有限公司 | BLE-based data transmission method and device and BLE master equipment |
CN115019418A (en) * | 2021-11-26 | 2022-09-06 | 荣耀终端有限公司 | Bluetooth vehicle key control method, device and storage medium |
CN115019418B (en) * | 2021-11-26 | 2023-09-05 | 荣耀终端有限公司 | Bluetooth car key car control method, device and storage medium |
WO2023093222A1 (en) * | 2021-11-26 | 2023-06-01 | 荣耀终端有限公司 | Method and device for controlling vehicle by using bluetooth vehicle key, and storage medium |
CN114640595B (en) * | 2022-03-11 | 2023-08-18 | 杭州数梦工场科技有限公司 | Cascading method, device, electronic equipment and storage medium |
CN114640595A (en) * | 2022-03-11 | 2022-06-17 | 杭州数梦工场科技有限公司 | Cascading method, device, electronic equipment and storage medium |
CN116208882B (en) * | 2022-07-08 | 2023-12-19 | 荣耀终端有限公司 | Earphone upgrading method and wireless earphone |
CN116208882A (en) * | 2022-07-08 | 2023-06-02 | 荣耀终端有限公司 | Earphone upgrading method and wireless earphone |
CN114866526B (en) * | 2022-07-08 | 2022-12-27 | 荣耀终端有限公司 | Earphone upgrading method and wireless earphone |
CN114866526A (en) * | 2022-07-08 | 2022-08-05 | 荣耀终端有限公司 | Earphone upgrading method and wireless earphone |
CN115276907A (en) * | 2022-07-25 | 2022-11-01 | 哲库科技(上海)有限公司 | Data frame transmission method, device, chip, storage medium and Bluetooth device |
CN115276907B (en) * | 2022-07-25 | 2024-02-06 | 哲库科技(上海)有限公司 | Data frame transmission method, device, chip, storage medium and Bluetooth equipment |
CN116737193A (en) * | 2022-09-23 | 2023-09-12 | 荣耀终端有限公司 | Software upgrading method, electronic equipment and communication system |
CN116737193B (en) * | 2022-09-23 | 2024-10-18 | 荣耀终端有限公司 | Software upgrading method, electronic equipment and communication system |
CN117202143A (en) * | 2022-12-20 | 2023-12-08 | 荣耀终端有限公司 | Connection parameter updating method, bluetooth device and readable storage medium |
CN117992091A (en) * | 2024-04-02 | 2024-05-07 | 深圳朗田亩半导体科技有限公司 | Firmware upgrading method and system based on file feature description |
CN117992091B (en) * | 2024-04-02 | 2024-06-07 | 深圳朗田亩半导体科技有限公司 | Firmware upgrading method and system based on file feature description |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113157300A (en) | Data processing method, device and storage medium | |
US10993166B2 (en) | Data transmission method, electronic device, and computer readable storage medium | |
CN110459221B (en) | Method and device for multi-device cooperative voice interaction | |
CN110996376B (en) | Service data transmission method, device, storage medium and terminal | |
WO2017050015A1 (en) | Data transmission method and device and terminal | |
CN105847168B (en) | data transmission method, network server, user terminal and system | |
EP3955694B1 (en) | Method and apparatus for back-connecting bluetooth device, terminal and computer-readable storage medium | |
WO2013182128A1 (en) | Service processing method and device | |
CN103326749B (en) | A kind of control method of NFC radio frequency communication, Apparatus and system | |
CN115278615A (en) | Method and device for controlling transmission of Bluetooth equipment and electronic equipment | |
CN109445806B (en) | Ble-based multi-device upgrading method, device, system and terminal | |
CN110602683A (en) | Bluetooth control method, device, mobile terminal and storage medium | |
WO2021052128A1 (en) | Notification message control method and related apparatus | |
CN107608711A (en) | Upgrade method, device, system and electronic equipment | |
CN113825123A (en) | Communication method, communication device, electronic equipment and computer storage medium | |
CN112333849A (en) | Equipment connection disconnection processing method and device, mobile terminal and storage medium | |
US20240048990A1 (en) | Bluetooth connection method and system, intelligent terminal, and computer storage medium | |
US20210400411A1 (en) | Audio output apparatus for wirelessly receiving data from electronic device and method of operating the same | |
CN112866133B (en) | Method and device for acquiring MSS (maximum segment size) | |
CN112423280A (en) | Wireless communication method, system and medium based on Bluetooth private protocol | |
CN110856162A (en) | Network configuration method and related device | |
CN112866966B (en) | Wireless communication and information processing method, system, equipment and storage medium | |
WO2024098933A9 (en) | Policy coordination method and apparatus, device, medium, and program product | |
WO2018010420A1 (en) | Wireless network access method, device, terminal, system, and storage medium | |
CN109040443B (en) | Wireless earphone control method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |