CN111752579A - Bluetooth terminal upgrading method and device, storage medium and electronic equipment - Google Patents

Bluetooth terminal upgrading method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111752579A
CN111752579A CN201910990369.4A CN201910990369A CN111752579A CN 111752579 A CN111752579 A CN 111752579A CN 201910990369 A CN201910990369 A CN 201910990369A CN 111752579 A CN111752579 A CN 111752579A
Authority
CN
China
Prior art keywords
bluetooth
data
terminal
packet
bluetooth terminal
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
Application number
CN201910990369.4A
Other languages
Chinese (zh)
Inventor
侯伟浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201910990369.4A priority Critical patent/CN111752579A/en
Publication of CN111752579A publication Critical patent/CN111752579A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/40Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
    • H04B5/48Transceivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure provides a Bluetooth terminal upgrading method, a Bluetooth terminal upgrading device, a computer readable storage medium and an electronic device, and belongs to the technical field of communication and computers. The method is applied to the intelligent terminal; the method comprises the following steps: establishing a low-power Bluetooth connection with a Bluetooth terminal to be upgraded; acquiring the address of the Bluetooth terminal to be upgraded through the low-power Bluetooth connection; establishing a traditional Bluetooth connection with the Bluetooth terminal by scanning the address of the Bluetooth terminal; and sending an upgrading data packet to the Bluetooth terminal according to preset data specification information under the traditional Bluetooth connection, so that the Bluetooth terminal adopts the upgrading data packet to upgrade. This openly data transmission rate when can improve bluetooth terminal upgrading promotes bluetooth terminal's upgrading efficiency, and possesses better suitability.

Description

Bluetooth terminal upgrading method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of communications and computer technologies, and in particular, to a bluetooth terminal upgrading method, a bluetooth terminal upgrading apparatus, a computer-readable storage medium, and an electronic device.
Background
Bluetooth is a wireless communication technology standard that enables short-range data exchange between fixed devices, mobile devices, and personal area networks. The bluetooth terminal is a bluetooth device, such as a bluetooth headset, a smart band, a bluetooth printer, etc., that can receive and execute a specific task based on bluetooth technology standards.
In practical applications, in order to improve the performance of the bluetooth terminal, the system or application of the bluetooth terminal needs to be upgraded. At present, some bluetooth terminals do not have the function of directly connecting the Internet, and the operation interface is not convenient enough, so the bluetooth terminals cannot be directly upgraded, and are usually connected to a computer by means of a USB, and are upgraded by related software on the computer.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure provides a bluetooth terminal upgrading method, a bluetooth terminal upgrading apparatus, a computer-readable storage medium, and an electronic device, thereby improving the problem of relying on USB connection when a bluetooth terminal is upgraded in the prior art at least to a certain extent.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to a first aspect of the present disclosure, a bluetooth terminal upgrading method is provided, which is applied to an intelligent terminal, and the method includes: establishing a low-power Bluetooth connection with a Bluetooth terminal to be upgraded; acquiring the address of the Bluetooth terminal to be upgraded through the low-power Bluetooth connection; establishing a traditional Bluetooth connection with the Bluetooth terminal by scanning the address of the Bluetooth terminal; and sending an upgrading data packet to the Bluetooth terminal according to preset data specification information under the traditional Bluetooth connection, so that the Bluetooth terminal adopts the upgrading data packet to upgrade.
In an exemplary embodiment of the present disclosure, the establishing a legacy bluetooth connection with the bluetooth terminal by scanning an address of the bluetooth terminal includes: sending a data transmission instruction to the Bluetooth terminal through the low-power Bluetooth connection; after receiving the confirmation information of the Bluetooth terminal to the data transmission instruction, scanning a Bluetooth signal; and when the Bluetooth signal transmitted from the address of the Bluetooth terminal is scanned, establishing a traditional Bluetooth connection with the Bluetooth terminal.
In an exemplary embodiment of the present disclosure, the data specification information includes a size of a standard data packet; the sending of the upgrade data packet to the bluetooth terminal according to the preset data specification information includes: sending the data specification information to the Bluetooth terminal; according to the data specification information, dividing the upgrading data packet into a plurality of data sub-packets, wherein the size of each data sub-packet is consistent with that of the standard data packet; and sequentially sending the data sub-packets to the Bluetooth terminal, so that the Bluetooth terminal analyzes the data sub-packets according to the data specification information.
In an exemplary embodiment of the present disclosure, the sequentially transmitting the data packets to the bluetooth terminal includes: after each data sub-packet is sent, monitoring whether the receiving confirmation information which is fed back by the Bluetooth terminal and is related to the data sub-packet is received or not; when receiving the confirmation receiving information about the data sub-packet, sending the next data sub-packet; and when the confirmation receiving information about the data sub-packet is not received, retransmitting the data sub-packet.
In an exemplary embodiment of the present disclosure, the method further comprises: after n data sub-packets are sent, sending check values related to the n data sub-packets to the Bluetooth terminal, and enabling the Bluetooth terminal to check the n data sub-packets according to the check values, wherein n is a preset positive integer; receiving the check result of the n data sub-packets fed back by the Bluetooth terminal; if the check result of the n data sub-packets is passed, continuing to send the subsequent data sub-packets; and if the check result of the n data sub-packets is failed, retransmitting the n data sub-packets.
In an exemplary embodiment of the present disclosure, the data specification information further includes a whole package check value; the method further comprises the following steps: after all the data sub-packets are sent, receiving a check result of the Bluetooth terminal on the check value of the whole packet; if the check result of the whole packet of check values is passed, determining that the upgrade data packet is successfully sent; and if the verification result of the whole packet of verification values is failed, determining that the upgrade data packet is unsuccessfully transmitted.
In an exemplary embodiment of the present disclosure, when the upgrade data packet is transmitted to the bluetooth terminal, the upgrade data packet is transmitted using an over-the-air technology.
According to a second aspect of the present disclosure, there is provided a bluetooth terminal upgrading method applied to a bluetooth terminal to be upgraded, the method including: establishing a low-power-consumption Bluetooth connection with an intelligent terminal; sending the address of the Bluetooth terminal to the intelligent terminal through the low-power Bluetooth connection; responding to the intelligent terminal to scan the address, and establishing a traditional Bluetooth connection with the intelligent terminal; receiving an upgrade data packet sent by the intelligent terminal according to preset data specification information under the traditional Bluetooth connection; and upgrading by adopting the upgrading data packet.
In an exemplary embodiment of the present disclosure, the establishing of the legacy bluetooth connection with the smart terminal includes: receiving a data transmission instruction sent by the intelligent terminal under the low-power Bluetooth connection; sending confirmation information of the data transmission instruction to the intelligent terminal, and broadcasting a Bluetooth signal through the address; and responding to the Bluetooth signal scanned by the intelligent terminal, and establishing a traditional Bluetooth connection with the intelligent terminal.
In an exemplary embodiment of the present disclosure, the data specification information includes a size of a standard data packet; the receiving of the upgrade data packet sent by the intelligent terminal according to the preset data specification information includes: receiving the data specification information sent by the intelligent terminal; sequentially receiving the data sub-packets sent by the intelligent terminal, wherein the data sub-packets are obtained by splitting the upgrading data packets by the intelligent terminal according to the size of the standard data packets; and analyzing the data sub-package according to the data specification information.
In an exemplary embodiment of the present disclosure, the sequentially receiving the data packets transmitted by the intelligent terminal includes: and when each data sub-packet is received, feeding back the receiving confirmation information about the data sub-packet to the intelligent terminal, so that the intelligent terminal sends the next data sub-packet after receiving the receiving confirmation information.
In an exemplary embodiment of the present disclosure, the method further comprises: receiving check values of the n data sub-packets sent by the intelligent terminal after receiving the n data sub-packets; and checking the n data sub-packets according to the check value, and feeding back the check result to the intelligent terminal.
In an exemplary embodiment of the present disclosure, the data specification information further includes a whole package check value; the method further comprises the following steps: and after receiving all the data sub-packets, checking the whole packet check value, and feeding back a check result to the intelligent terminal.
According to a third aspect of the present disclosure, there is provided a bluetooth terminal upgrading apparatus configured in an intelligent terminal, the apparatus including: the first connection module is used for establishing low-power Bluetooth connection with a Bluetooth terminal to be upgraded; the address acquisition module is used for acquiring the address of the Bluetooth terminal to be upgraded through the low-power Bluetooth connection; the second connection module is used for establishing the traditional Bluetooth connection with the Bluetooth terminal by scanning the address of the Bluetooth terminal; and the data sending module is used for sending an upgrading data packet to the Bluetooth terminal according to preset data specification information under the traditional Bluetooth connection, so that the Bluetooth terminal adopts the upgrading data packet for upgrading.
In an exemplary embodiment of the present disclosure, the second connection module includes: the data transmission instruction sending unit is used for sending a data transmission instruction to the Bluetooth terminal through the low-power Bluetooth connection; the Bluetooth signal scanning unit is used for scanning Bluetooth signals after receiving the confirmation information of the Bluetooth terminal for the data transmission instruction; and the traditional Bluetooth connection unit is used for establishing traditional Bluetooth connection with the Bluetooth terminal when a Bluetooth signal transmitted from the address of the Bluetooth terminal is scanned.
In an exemplary embodiment of the present disclosure, the data specification information includes a size of a standard data packet; the data transmission module comprises: the first sending unit is used for sending the data specification information to the Bluetooth terminal; the splitting unit is used for splitting the upgrading data packet into a plurality of data sub-packets according to the data specification information, and the size of each data sub-packet is consistent with that of the standard data packet; and the second sending unit is used for sequentially sending the data sub-packets to the Bluetooth terminal so that the Bluetooth terminal analyzes the data sub-packets according to the data specification information.
In an exemplary embodiment of the disclosure, the data sending module is configured to monitor whether acknowledgement receipt information about the data sub-packet fed back by the bluetooth terminal is received after sending each data sub-packet, send a next data sub-packet when the acknowledgement receipt information about the data sub-packet is received, and resend the data sub-packet when the acknowledgement receipt information about the data sub-packet is not received.
In an exemplary embodiment of the present disclosure, the data sending module is further configured to send, to the bluetooth terminal, a check value related to n data packets each time n data packets are sent, so that the bluetooth terminal checks the n data packets according to the check value, where n is a preset positive integer; the data transmission module further comprises: the check receiving unit is used for receiving the check result of the n data sub-packets fed back by the Bluetooth terminal; if the check result of the n data sub-packets is passed, the data sending module continues to send the subsequent data sub-packets; and if the check result of the n data sub-packets is failed, the data sending module resends the n data sub-packets.
In an exemplary embodiment of the present disclosure, the data specification information further includes a whole package check value; the apparatus further comprises a verification module comprising: the whole packet check receiving unit is used for receiving a check result of the Bluetooth terminal on the whole packet check value after all the data sub packets are sent; and the determining unit is used for determining that the upgrade data packet is successfully transmitted if the check result of the whole packet of check values is passed, and determining that the upgrade data packet is unsuccessfully transmitted if the check result of the whole packet of check values is not passed.
In an exemplary embodiment of the present disclosure, when the upgrade data packet is transmitted to the bluetooth terminal, the upgrade data packet is transmitted using an over-the-air technology.
According to a fourth aspect of the present disclosure, there is provided a bluetooth terminal upgrading apparatus configured to a bluetooth terminal to be upgraded, the apparatus comprising: the first connection module is used for establishing low-power-consumption Bluetooth connection with the intelligent terminal; the address sending module is used for sending the address of the Bluetooth terminal to the intelligent terminal through the low-power Bluetooth connection; the second connection module is used for responding to the address scanned by the intelligent terminal and establishing the traditional Bluetooth connection with the intelligent terminal; the data receiving module is used for receiving an upgrading data packet sent by the intelligent terminal according to preset data specification information under the traditional Bluetooth connection; and the upgrading module is used for upgrading by adopting the upgrading data packet.
In an exemplary embodiment of the present disclosure, the second connection module includes: the data transmission instruction receiving unit is used for receiving a data transmission instruction sent by the intelligent terminal under the low-power-consumption Bluetooth connection; the broadcasting unit is used for sending confirmation information of the data transmission instruction to the intelligent terminal and broadcasting the Bluetooth signal through the address; and the traditional Bluetooth connection unit is used for responding to the Bluetooth signal scanned by the intelligent terminal and establishing traditional Bluetooth connection with the intelligent terminal.
In an exemplary embodiment of the present disclosure, the data specification information includes a size of a standard data packet; the data receiving module is used for receiving the data specification information sent by the intelligent terminal, sequentially receiving the data sub-packets sent by the intelligent terminal, splitting the upgrading data packets by the intelligent terminal according to the size of the standard data packets to obtain the data sub-packets, and analyzing the data sub-packets according to the data specification information.
In an exemplary embodiment of the disclosure, the data receiving module is further configured to, when receiving each data sub-packet, feed back acknowledgement receipt information about the data sub-packet to the intelligent terminal, so that the intelligent terminal sends a next data sub-packet after receiving the acknowledgement receipt information.
In an exemplary embodiment of the present disclosure, the data receiving module is configured to receive, every time n data packets are received, check values of the n data packets sent by the intelligent terminal; the data receiving module further comprises: and the feedback unit is used for checking the n data sub-packets according to the check value and feeding back the check result to the intelligent terminal.
In an exemplary embodiment of the present disclosure, the data specification information further includes a whole package check value; and the data receiving module is also used for verifying the whole packet check value after receiving all the data sub packets, and feeding back the verification result to the intelligent terminal.
According to a fifth aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements any of the above-described bluetooth terminal upgrade methods.
According to a sixth aspect of the present disclosure, there is provided an electronic device comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform any of the above bluetooth terminal upgrade methods via execution of the executable instructions.
The present disclosure has the following beneficial effects:
according to the Bluetooth terminal upgrading method, the Bluetooth terminal upgrading device, the computer readable storage medium and the electronic equipment, a low-power Bluetooth mode is adopted when the intelligent terminal is connected with the Bluetooth terminal, under the connection, the Bluetooth terminal enters a state to be upgraded through interaction of the intelligent terminal and the Bluetooth terminal, and traditional Bluetooth connection is established with the intelligent terminal; and under the traditional Bluetooth connection, the upgrading data of the Bluetooth terminal is transmitted. On one hand, the low-power-consumption Bluetooth connection is adopted in the process of establishing the connection between the intelligent terminal and the Bluetooth terminal, and the traditional Bluetooth connection mode is adopted in the data transmission stage, so that the connection speed of the two interactive parties is increased, the energy consumption of the terminal for establishing the connection is reduced, and the transmission rate of the upgrade data packet is increased through the traditional Bluetooth connection, so that the advantages of the low-power-consumption Bluetooth and the traditional Bluetooth are integrated, and the upgrade efficiency of the Bluetooth terminal is improved; on the other hand, the rapid adaptation of data formats and the like can be realized between the intelligent terminal and the Bluetooth terminal through the data specification information, so that the Bluetooth terminal does not need to perform conversion processing after receiving an upgrade data packet, the data transmission requirement is met, the Bluetooth terminal can be applied to Bluetooth terminals of different types and different models, and the Bluetooth terminal has higher practicability; on the other hand, the technical scheme of the present disclosure realizes a higher degree of automation, the upgrading process is simple, the user does not need to perform complicated operations, and the user experience is better.
In some embodiments of the present disclosure, in the data transmission process of the conventional bluetooth connection, by increasing the security check and the failure retransmission mechanism of the data packet, the reliability of data transmission between the two interactive parties is improved, and the transmission success rate of the upgrade data packet is increased.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is apparent that the drawings in the following description are only some embodiments of the present disclosure, and that other drawings can be obtained from those drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram illustrating an exemplary system architecture to which the bluetooth terminal upgrade method and apparatus of the present exemplary embodiment may be applied
Fig. 2 is a flowchart illustrating a bluetooth terminal upgrade method according to the exemplary embodiment;
fig. 3 shows a sub-flowchart of a bluetooth terminal upgrade method in the present exemplary embodiment;
FIG. 4 illustrates a flow chart of a method of upgrade data packet verification in the exemplary embodiment;
fig. 5 is a flowchart illustrating another bluetooth terminal upgrade method in the exemplary embodiment;
fig. 6 shows a sub-flowchart of another bluetooth terminal upgrade method in the present exemplary embodiment;
fig. 7 shows an interaction diagram of a bluetooth terminal upgrade method in the present exemplary embodiment;
fig. 8 is a block diagram showing the configuration of a bluetooth terminal upgrade apparatus in the present exemplary embodiment;
fig. 9 is a block diagram showing the configuration of another bluetooth terminal upgrade apparatus in the present exemplary embodiment;
FIG. 10 illustrates a computer-readable storage medium for implementing the above-described method in the present exemplary embodiment;
fig. 11 shows an electronic device for implementing the above method in the present exemplary embodiment.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In the related art, a computer or a smart phone is connected with a bluetooth terminal to be upgraded via bluetooth to transmit data to the bluetooth terminal and upgrade the bluetooth terminal. Bluetooth connection usually adopts Bluetooth Low Energy (BLE) connection or traditional Bluetooth connection (BT, or Classic Bluetooth connection), wherein Bluetooth low energy is a Bluetooth technology standard developed on the basis of traditional Bluetooth, and Bluetooth after 4.0 is taken as the main point, and the Bluetooth low energy connection is characterized by low cost, low power consumption and strong reliability, and is mostly applied to applications with higher real-time requirement but lower data transmission rate, and during the upgrade process of a Bluetooth terminal, the data volume of upgrade data is usually larger, so the Bluetooth connection mode makes the upgrade of the Bluetooth terminal need more time consumption, and the user experience is poor; the traditional bluetooth is a generic name of bluetooth technology before bluetooth 4.0, and is used for data transmission with large data volume, for example: voice, music, video and other data, but for the upgrade of the bluetooth terminal, the bluetooth technology has no security verification mechanism, so the reliability of data transmission is not high.
In view of one or more of the above-described problems, exemplary embodiments of the present disclosure provide a bluetooth terminal upgrade method. Fig. 1 shows a system architecture diagram of an environment in which the method operates. As shown in fig. 1, the system architecture 100 may include a smart terminal 110 and a bluetooth terminal 120, wherein the smart terminal 110 may be a smart phone, a personal computer, a tablet computer, or the like having a bluetooth connection function; the bluetooth terminal 120 is a terminal device using bluetooth connection as a main interactive mode, and may be a bluetooth headset, an electronic scale, an intelligent bracelet, a bluetooth mouse, and the like; the intelligent terminal 110 may be connected to the bluetooth terminal 120 in a bluetooth manner to perform data transmission.
The following describes the bluetooth terminal upgrading method with the smart terminal 110 and the bluetooth terminal 120 as executing entities.
Fig. 2 shows a flowchart of a bluetooth terminal upgrading method performed by the smart terminal 110, which may include the following steps S210 to S240:
and S210, establishing the low-power Bluetooth connection with the Bluetooth terminal to be upgraded.
In the initial stage of establishing connection with the bluetooth terminal 120, the interaction can be performed through the bluetooth low energy connection, and this way can improve the connection rate and success rate of the intelligent terminal 110 and the bluetooth terminal 120, and simultaneously, energy consumption is saved.
In an alternative embodiment, when a bluetooth low energy connection is first established with the bluetooth terminal 120, the intelligent terminal 110 starts a bluetooth scanning state, searches connectable bluetooth terminals within a connection range, and simultaneously, connectable bluetooth terminals can transmit connection information of the bluetooth terminals through broadcast signals; when receiving the broadcast signal of the bluetooth terminal 120, the intelligent terminal reads the connection information to obtain a corresponding address, and sends a connection request to the bluetooth terminal 120 where the address is located, thereby establishing a bluetooth low energy connection with the bluetooth terminal 120.
In an optional implementation manner, when the intelligent terminal 110 and the bluetooth terminal 120 do not establish a connection for the first time, when the intelligent terminal 110 scans multiple bluetooth terminals, the bluetooth terminal 120 is automatically selected and establishes a bluetooth low energy connection with the bluetooth terminal, and meanwhile, when there is no data exchange between the intelligent terminal 110 and the bluetooth terminal 120, the bluetooth low energy connection may be in a "half-connection" state, that is, both communication parties only "know" each other, and only when there is data transmission, the connection is opened, and the connection is immediately closed after the data transmission is completed.
By adopting the low-power Bluetooth connection mode in the information interaction process before the data packet is sent, the energy consumption of both interaction parties can be further reduced on the basis of ensuring the reliability of data transmission.
And S220, acquiring the address of the Bluetooth terminal to be upgraded through low-power Bluetooth connection.
The Address of the bluetooth terminal refers to a character for uniquely identifying the bluetooth terminal, and may be used to establish a connection with an external device, for example, a Media Access Control (MAC) Address.
Under the bluetooth low energy connection, intelligent terminal 110 is in the address scanning state, in order to discover the bluetooth terminal serial ports of joinable, when the traditional bluetooth connection serial ports of bluetooth terminal 120 are scanned, can receive the address data package that corresponds about this serial ports that this bluetooth terminal serial ports sent, the transmission of address data package is based on the bluetooth low energy connection, consequently, the transmission reliability of address data package is higher, so receive bluetooth terminal 120 serial ports address's exactness also higher, efficiency and success rate when having promoted follow-up traditional bluetooth connection of establishing.
Step S230, traditional Bluetooth connection with the Bluetooth terminal is established by scanning the address of the Bluetooth terminal.
After receiving the address of the bluetooth terminal 120, the intelligent terminal 110 may automatically resolve correct address information according to the received address data packet, where the address information is a serial address of the bluetooth terminal corresponding to the establishment of the conventional bluetooth connection, and if the address cannot be resolved correctly, the subsequent connection cannot be established. After the address of the serial port corresponding to the bluetooth terminal 120 is analyzed, a serial port connection request is sent to the bluetooth terminal corresponding to the address, and after the bluetooth terminal 120 receives the connection request, a traditional bluetooth connection is established with the intelligent terminal 110.
In an alternative embodiment, step S230 may be implemented by:
sending a data transmission instruction to the bluetooth terminal 120 through the low power bluetooth connection;
after receiving the confirmation information of the bluetooth terminal 120 for the data transmission instruction, scanning the bluetooth signal;
when a bluetooth signal transmitted from the address of the bluetooth terminal 120 is scanned, a conventional bluetooth connection is established with the bluetooth terminal 120.
The data transmission instruction refers to an instruction for the intelligent terminal 110 to send a data packet, and the data transmission instruction may include data information to be transmitted, for example: and when the size of the data is larger than a certain threshold value, establishing a corresponding transmission link for data transmission.
When the traditional bluetooth connection is established, the intelligent terminal 110 sends a data transmission instruction to the bluetooth terminal 120, where the data transmission instruction may be an instruction for the intelligent terminal 110 to send an upgrade data packet, and the bluetooth terminal 120 automatically enters an upgrade data packet download mode when receiving the data transmission instruction through the process; after receiving the confirmation information for the data transmission instruction sent by the bluetooth terminal 120, the connectable bluetooth signal is scanned through the device scanning status, and since the data volume of the upgrade data packet is generally large, the connectable conventional bluetooth address information may be included in the bluetooth signal, and the bluetooth address information is generally composed of a 17-bit character string, for example: "00: 43: A8:23:10: F0"; when the smart terminal 110 scans a bluetooth signal transmitted from an address corresponding to the bluetooth terminal 120, a conventional bluetooth connection is established with the bluetooth terminal 120.
And S240, sending an upgrading data packet to the Bluetooth terminal according to the preset data specification information under the traditional Bluetooth connection, so that the Bluetooth terminal adopts the upgrading data packet for upgrading.
The data specification information is specification information of an upgrade data packet that can be received by the bluetooth terminal 120, for example: size, format, etc.; the upgrade data packet is data information for upgrading the system and repairing bugs of the bluetooth terminal 120, and the data volume of the upgrade data packet is usually large and usually mainly in the form of a compressed file.
Under the conventional bluetooth connection, the data transmission rate is high, so the intelligent terminal 110 can complete the transmission of the upgrade data packet in a short time. In the data transmission process, the intelligent terminal 110 converts the upgrade data packet into a specification that can be received by the bluetooth terminal 120 according to preset data specification information, and then sends the upgrade data packet to the bluetooth terminal 120 through the conventional bluetooth connection.
In an alternative embodiment, the data specification information may include a data size of an upgrade data packet received by the bluetooth terminal 120 once during transmission, and a data packet conforming to the data size is set as a standard data packet, so that step S240 may be implemented by steps S310 to S330 as follows:
and S310, sending the data specification information to the Bluetooth terminal.
The data specification information, that is, the size of each data packet to be received by the bluetooth terminal 120, is sent to the bluetooth terminal 120, so that the bluetooth terminal 120 receives each data packet corresponding to the upgrade data packet in the subsequent data packet transmission process.
And S320, dividing the upgrading data packet into a plurality of data sub-packets according to the data specification information, wherein the size of each data sub-packet is consistent with that of the standard data packet.
Since the size of data that can be received by the bluetooth terminal 120 at a time is limited during data reception, and the size of the data is generally smaller than the size of the upgrade data packet, the upgrade data packet is split into a plurality of data packets having the size consistent with the size of the standard data packet according to the data specification information, and the data packets can be received by the bluetooth terminal 120 in one transmission.
In an optional implementation manner, when the data size of the last split data packet is smaller than that of the standard data packet, the data packet may be directly sent to the bluetooth terminal 120, or may be sent by supplementing a null bit by "0".
And S330, sequentially sending the data sub-packages to the Bluetooth terminal, so that the Bluetooth terminal analyzes the data sub-packages according to the data specification information.
According to the sequence of splitting, send each data packet to bluetooth terminal 120 in proper order, bluetooth terminal 120 can analyze the data packet that is received according to preset analytic mode, for example: the header of the data packet contains the tag information of the data packet, such as: the sequence number of the data packet, the data length, etc., and the tail portion includes the tag information of the next data packet, during parsing, the bluetooth terminal 120 may read the data packet according to the header portion of each data packet, and read the next data packet according to the tag information of the tail portion of the data packet until all data packets are read.
In an optional implementation manner, the data specification information may further include data format information of the upgrade data packet received by the bluetooth terminal 120, where the format information may be sent to the intelligent terminal 110 by the bluetooth terminal 120 in advance, and the intelligent terminal 110 converts the data packet into a data packet conforming to the data format information before sending the data packet, and sends the data packet to the bluetooth terminal 120 in sequence.
In an alternative embodiment, to ensure that the data packets are all received by the bluetooth terminal 120, step S330 may also be implemented by:
after each data sub-packet is sent, monitoring whether the acknowledgement receiving information about the data sub-packet fed back by the bluetooth terminal 120 is received;
transmitting a next data packetization when receiving acknowledgment receipt information on the data packetization;
and when the confirmation receiving information about the data sub-packet is not received, retransmitting the data sub-packet.
After the bluetooth terminal 120 receives the data sub-packet, it may be determined whether the data sub-packet is received according to a preset rule, for example: the intelligent terminal 110 may additionally transmit an acknowledgement number of a fixed byte when transmitting each data packet, and if the bluetooth terminal receives the acknowledgement number, it determines that the data packet is received and transmits acknowledgement information to the intelligent terminal 110, otherwise, it determines that the data packet is not successfully received.
After each data sub-packet is sent, the intelligent terminal 110 may monitor whether receiving the acknowledgement receiving information about the data sub-packet fed back by the bluetooth terminal 120 within a certain time interval, send the next data sub-packet when determining to receive the information, and resend the data sub-packet to the bluetooth terminal if receiving no acknowledgement receiving information fed back by the bluetooth terminal 120 within the time interval indicates that the bluetooth terminal 120 does not receive the data sub-packet.
In an optional embodiment, when the bluetooth terminal 120 receives the data sub-packets, it may be verified whether each data sub-packet is correctly received, and the bluetooth terminal 120 may correctly parse the data sub-packet only when the verification passes.
In an exemplary embodiment of the present disclosure, the correct receipt of the data packetization may be verified by:
after n data sub-packets are sent, sending check values related to the n data sub-packets to the Bluetooth terminal 120, so that the Bluetooth terminal 120 checks the n data sub-packets according to the check values, wherein n is a preset positive integer;
receiving the check result of the n data packets fed back by the bluetooth terminal 120;
if the check result of the n data sub-packets is passed, continuing to send the subsequent data sub-packets;
and if the check result of the n data sub-packets is failed, retransmitting the n data sub-packets.
In an exemplary embodiment of the present disclosure, the Check value may be obtained by a Cyclic Redundancy Check (CRC) method, the method divides a sequence corresponding to the data packet by a "modulo 2 division method" to obtain the Check value, the Check value obtained by the Check method corresponds to the n data packets, and the bluetooth terminal 120 may Check the received n data packets according to the Check value and send the Check result to the intelligent terminal 110. If the returned check result is passed, it indicates that the corresponding n data packets have been correctly received by the bluetooth terminal 120, and continues to send the subsequent data packets; if the returned check result is that the data packet is not received correctly, it indicates that the corresponding n data packets are not received correctly by the bluetooth terminal 120, and the intelligent terminal 110 may immediately resend the n data packets, or resend the n data packets after all the data packets are sent.
After sending all the data packets, the bluetooth terminal 120 may check the analyzed upgrade data packet to determine that the upgrade data packet is correctly analyzed.
In an optional implementation manner, the data specification information may further include a whole package check value of the upgrade data package, and thus, after receiving all data sub-packages, the correctness of the upgrade data package obtained through analysis may be implemented in the following manner:
after all data packets are sent, receiving a check result of the whole packet check value of the bluetooth terminal 120;
if the check result of the check value of the whole packet is passed, the upgrade data packet is determined to be successfully sent;
and if the check result of the check value of the whole packet is failed, determining that the upgrade data packet is unsuccessfully transmitted.
Wherein, the whole packet check value is the check value about the upgrade data packet sent by the intelligent terminal 110, and the bluetooth terminal 120 may check whether the upgrade data packet obtained by parsing each data packet is correct according to the whole packet check value, if: whether the connection order of the data sub-packets is correct or not, whether the data sub-packets are missing or not, and the like.
In an alternative embodiment, the way that the bluetooth terminal 120 parses the received data packet may be determined by a protocol that the bluetooth terminal 120 interacts with the intelligent terminal 110, for example, under a conventional bluetooth connection, a communication protocol between the bluetooth terminal 120 and the intelligent terminal 110 is an SPP (Serial Port Profile), under which the bluetooth terminal 120 may read and write the data packet through a register, for example: and reading data with each byte length according to the format of the received data packet, and performing conversion, encoding and other operations on the data of the information data segment to obtain corresponding information content.
In an alternative embodiment, when the upgrade data packet is unsuccessfully transmitted, the intelligent terminal 110 may retransmit each data sub-packet in sequence.
It should be noted that, when the data sub-packet and the upgrade data packet are verified, the verification may be performed in other manners, for example: a forward error correction coding method, which is a method for checking a data error value at a receiving end by adding a redundancy code and its check information at a transmitting end, and checking and correcting an error code by decoding if the value is within a correctable range, an exemplary embodiment of the present disclosure is explained only in terms of a cyclic redundancy check method.
Fig. 4 shows a flow of data transmission in bluetooth terminal upgrade, which may include the following steps S401 to S413:
step S401, the intelligent terminal 110 sends a data transmission instruction about the upgrade data packet to the Bluetooth terminal 120.
Step s402, after the bluetooth terminal 120 receives the data transmission instruction, establishing a conventional bluetooth connection with the intelligent terminal 110.
Step s403, under the above conventional bluetooth connection, the intelligent terminal 110 sequentially sends data packets to the bluetooth terminal 120.
Step S404, after the intelligent terminal 110 finishes sending each data packet, it is determined whether the receiving confirmation information sent by the bluetooth terminal 120 is received, if the receiving confirmation information is received, step S405 is executed, and if the receiving confirmation information is not received, the data packet is retransmitted, that is, step S403 is executed to retransmit the data packet.
Step S405, the intelligent terminal 110 determines whether the data sub-packets are sent completely, if the data sub-packets are sent completely, step S410 is executed, and if the data sub-packets are not sent completely, step S406 is executed, and whether the number of the sent data sub-packets reaches n is determined.
Step S406, the intelligent terminal 110 determines whether the number of the transmitted data packets reaches n, if so, step S407 is executed, and if not, step S403 is executed to continue transmitting the data packets.
Step 407, the intelligent terminal 110 sends the check values of the n data packets.
Step S408, the intelligent terminal 110 determines whether the verification of the n data packets passes by receiving the verification result information sent by the bluetooth terminal 120, if so, step S403 is executed, the subsequent data packets are sent in sequence, and if not, step S409 is executed.
Step S409, the intelligent terminal 110 retransmits the n data packets, and step S404 is executed to confirm that each data packet is received by the bluetooth terminal 120.
Step S410, the intelligent terminal 110 sends the whole package check value about the upgrade data package.
Step s411, it is determined whether the whole packet check passes, that is, the intelligent terminal 110 receives the whole packet check result about the upgrade data packet sent by the bluetooth terminal 120, and if the check result is correct, it is determined that the whole packet check is successful, otherwise, it is unsuccessful.
Step 412, the intelligent terminal 110 confirms that the upgrade data packet is successfully sent.
Step s413, the intelligent terminal 110 confirms that the transmission of the upgrade data packet is unsuccessful, and at this time, the intelligent terminal 110 may retransmit each data packet.
In steps S401 to S413, the smart terminal 110 receives the confirmation receipt information of the bluetooth terminal 120 after transmitting each data packet, performs a check on n data packets after the number of transmitted data packets reaches n, and performs a whole packet check on the analyzed upgrade data packet after transmitting a complete data packet, thereby ensuring reliability of transmission of the upgrade data.
In an optional implementation manner, when the upgrade data packet is sent to the bluetooth terminal 120, the data sub-packet corresponding to the upgrade data packet may be sent by using an over-the-air technology. The Over-the-Air Technology (Over-the-Air Technology) is a Technology for remotely managing a terminal and an application through an Air interface of mobile communication, and the Technology can enable the terminal device to receive upgrade data of the system or the application, so as to upgrade the system or the application.
Fig. 5 shows a flow of a bluetooth terminal upgrade method performed by the bluetooth terminal 120, which may include the following steps S510 to S550:
and step S510, establishing the low-power Bluetooth connection with the intelligent terminal 110.
When no device is connected, the bluetooth terminal 120 is in a connection waiting state, and a bluetooth low energy connection can be established with the intelligent terminal 110 by broadcasting the address information of the bluetooth terminal 120.
In an alternative embodiment, when the bluetooth low energy connection is first established with the intelligent terminal 110, the bluetooth terminal 120 may broadcast a signal to the intelligent terminal 110 at a certain time interval, and each time the broadcast signal is sent, the connection event is a broadcast connectable event, and the connection event refers to a process of sending a data packet between the master device and the slave device, and when the intelligent terminal 110 receives the broadcast signal and sends a connection request, the bluetooth low energy connection is established with the intelligent terminal 110 in response to the connection request.
In an alternative embodiment, the bluetooth terminal 120 may record history data of connected devices, and if a connection request is sent by a device in the history data in the above process, when establishing a connection, the bluetooth terminal preferentially connects to the device.
And S520, sending the address of the Bluetooth terminal to the intelligent terminal through the low-power Bluetooth connection.
Under the bluetooth low energy connection, the smart terminal 110 may detect the connectable bluetooth terminal 120 by scanning an external device, and when the bluetooth terminal is scanned, the bluetooth terminal 120 may transmit address information corresponding to the bluetooth terminal to the smart terminal in response to a connection request of the smart terminal 110, the address information being used to establish a conventional bluetooth connection with the smart terminal 110.
And S530, responding to the address scanned by the intelligent terminal, and establishing the traditional Bluetooth connection with the intelligent terminal.
Under the low-power Bluetooth connection, a connection request sent by the intelligent terminal 110 is received, and a traditional Bluetooth connection is established with the intelligent terminal 110 in response to the request.
In an alternative embodiment, step S330 may be implemented by:
receiving a data transmission instruction sent by the intelligent terminal 110 under the connection of the low-power-consumption Bluetooth;
sending confirmation information of the data transmission instruction to the intelligent terminal 110, and broadcasting a bluetooth signal through an address;
in response to the smart terminal 110 scanning for bluetooth signals, a conventional bluetooth connection is established with the smart terminal 110.
The confirmation information is confirmation that the bluetooth terminal 120 receives the data transmission instruction sent by the intelligent terminal 110.
After receiving the data transmission instruction sent by the intelligent terminal 110, the bluetooth terminal 120 enters a data receiving waiting state, sends confirmation information about the data transmission instruction to the intelligent terminal 110, and broadcasts a connectable signal through the bluetooth terminal 120, where the connectable signal may be a signal waiting for the intelligent terminal 110 to establish a conventional bluetooth connection, and may include address information of a conventional bluetooth connection serial port corresponding to the bluetooth terminal 120, and when the intelligent terminal 110 receives the address information, establishes a conventional bluetooth connection with the intelligent terminal 110.
And S540, receiving an upgrading data packet sent by the intelligent terminal according to the preset data specification information under the traditional Bluetooth connection.
According to the preset data specification information, an upgrade data packet sent by the intelligent terminal 110 is received, the upgrade data packet may include check information, analysis information and the like about the upgrade data packet, and the bluetooth terminal 120 may correctly receive the upgrade data packet according to the check information and the analysis information, so as to perform system or application upgrade.
In an alternative embodiment, the data specification information may include a size of a standard data packet, and as shown in fig. 6, step S540 may be implemented by steps S610 to S630 as follows:
and S610, receiving data specification information sent by the intelligent terminal.
Under the conventional bluetooth connection, data specification information sent by the intelligent terminal 110 is received, and the data specification information may include the size of a standard data packet.
And S620, sequentially receiving data sub-packets sent by the intelligent terminal, wherein the data sub-packets are obtained by splitting the upgrading data packets by the intelligent terminal according to the size of the standard data packets.
When receiving the data packets sent by the intelligent terminal 110, in order to enable the intelligent terminal 110 to determine that the data packets are all received, and to improve the reliability of the data packets, step S620 may be implemented by:
when each data sub-packet is received, the receiving confirmation information about the data sub-packet is fed back to the intelligent terminal 110, so that the intelligent terminal 110 sends the next data sub-packet after receiving the receiving confirmation information.
In an alternative embodiment, to further verify the correct receipt of the data sub-package, this may be achieved by:
receiving the check values of the n data packets sent by the intelligent terminal 110 after receiving the n data packets each time;
and checking the n data sub-packets according to the check value, and feeding the check result back to the intelligent terminal 110.
When receiving n data sub-packets and the check values related to the n data sub-packets, the bluetooth terminal 120 calculates the check values of the n data sub-packets according to a check method, and when the check values are consistent with the received check values sent by the intelligent terminal 110, it indicates that the check result is passed; when the check value is inconsistent with the received check value, it indicates that the check result is failed, and the check result is fed back to the intelligent terminal 110, so that the intelligent terminal 110 resends the n data packets.
After receiving all the data packets, the bluetooth terminal 120 may check the analyzed complete upgrade data packet to determine whether the upgrade data packet is analyzed correctly.
In an optional implementation manner, the data specification information may further include a whole package check value of the upgrade data package, and thus, the check of the bluetooth terminal 120 on the whole upgrade data package may be implemented by:
after receiving all the data packets, the whole packet check value is checked, and the check result is fed back to the intelligent terminal 110.
After receiving all the data sub-packets, the bluetooth terminal 120 obtains the check values related to all the data sub-packets by calculating the check values corresponding to all the data sub-packets, compares the check values with the received check values of the whole packet, and if the check values are consistent, the data sub-packets are correctly received; if the data sub-packets are inconsistent, the situation that the data sub-packets are not correctly received is indicated, namely the upgrade data packets corresponding to the data sub-packets are not successfully received.
And S630, analyzing the data sub-package according to the data specification information.
Analyzing the received data sub-packets according to the received data specification information, i.e. the size of the standard data packet, and the analyzing mode can be implemented according to a certain rule, for example: and the head of the data sub-packet contains the serial number of the data sub-packet, and the received data sub-packets are combined according to the serial number to obtain a complete upgrading data packet.
And S550, upgrading by adopting the upgrading data packet.
After the parsing of the data sub-package is completed, an upgrade data package related to the bluetooth terminal 120 is obtained, and the upgrade data package is adopted to upgrade the system or the application of the bluetooth terminal 120.
Fig. 7 shows an interaction flowchart of a bluetooth terminal upgrading method, which is applied to the intelligent terminal 110 and the bluetooth terminal 120, and includes the following steps S701 to S711:
step s701, the intelligent terminal 110 sends a bluetooth low energy connection request to the bluetooth terminal 120, at this time, the bluetooth terminal 120 may send address information to an external device through a broadcast event, and after receiving the address information, the intelligent terminal 110 establishes a bluetooth low energy connection with the bluetooth terminal 120.
Step S702, the intelligent terminal 110 sends a data transmission instruction to the Bluetooth terminal 120, and after receiving the instruction, the Bluetooth terminal 120 enters a data transmission waiting state.
Step s703, the intelligent terminal 110 scans an address signal of the bluetooth terminal 120, where the address signal includes traditional bluetooth serial port address information of the bluetooth terminal 120, and establishes a traditional bluetooth connection with the address signal of the bluetooth terminal 120 after the address signal is scanned.
Step S704, the intelligent terminal 110 sequentially sends the data sub-packages formed by splitting the upgrade data packages to the Bluetooth terminal 120.
Step s705, the bluetooth terminal 120 receives the data packet.
Step S706, the intelligent terminal 110 sends the check values of the data packets to the Bluetooth terminal 120, where the check values may include the check values of n data packets.
And S707, the Bluetooth terminal 120 checks the n data sub-packets according to the received check values of the n data sub-packets to obtain a check result.
Step S708, the Bluetooth terminal 120 sends the verification result to the intelligent terminal 110.
Step s709, the intelligent terminal 110 sends the whole verification value of the upgrade data packet to the bluetooth terminal 120.
Step S710, the Bluetooth terminal 120 checks the upgrade data packet according to the received whole packet check value.
Step S711, the Bluetooth terminal 120 sends the verification result of the upgrade data packet to the intelligent terminal 110, if the verification result is passed, it is determined that the upgrade data packet is successfully sent, and if the verification result is not passed, it is determined that the upgrade data packet is unsuccessfully sent, and steps S702-S711 are executed again to resend the upgrade data packet.
In summary, the exemplary embodiments of the present disclosure provide a bluetooth terminal upgrading method, where a low power consumption bluetooth mode is used when an intelligent terminal establishes a connection with a bluetooth terminal, and under the connection, the bluetooth terminal enters a to-be-upgraded state through interaction between the intelligent terminal and the bluetooth terminal, and establishes a conventional bluetooth connection with the intelligent terminal; and under the traditional Bluetooth connection, the upgrading data of the Bluetooth terminal is transmitted. On one hand, the low-power-consumption Bluetooth connection is adopted in the process of establishing the connection between the intelligent terminal and the Bluetooth terminal, and the traditional Bluetooth connection mode is adopted in the data transmission stage, so that the connection speed of the two interactive parties is increased, the energy consumption of the terminal for establishing the connection is reduced, and the transmission rate of the upgrade data packet is increased through the traditional Bluetooth connection, so that the advantages of the low-power-consumption Bluetooth and the traditional Bluetooth are integrated, and the upgrade efficiency of the Bluetooth terminal is improved; on the other hand, the rapid adaptation of data formats and the like can be realized between the intelligent terminal and the Bluetooth terminal through the data specification information, so that the Bluetooth terminal does not need to perform conversion processing after receiving an upgrade data packet, the data transmission requirement is met, the Bluetooth terminal can be applied to Bluetooth terminals of different types and different models, and the Bluetooth terminal has higher practicability; on the other hand, the technical scheme of the present disclosure realizes a higher degree of automation, the upgrading process is simple, the user does not need to perform complicated operations, and the user experience is better.
In some embodiments of the present disclosure, in the data transmission process of the conventional bluetooth connection, by increasing the security check and the failure retransmission mechanism of the data packet, the reliability of data transmission between the two interactive parties is improved, and the transmission success rate of the upgrade data packet is increased.
Further, in an exemplary embodiment of the present disclosure, there is also provided a bluetooth terminal upgrading apparatus, which may be configured in the intelligent terminal in fig. 1. Referring to fig. 8, the bluetooth terminal upgrading apparatus 800 may include: the first connection module 810 may be configured to establish a bluetooth low energy connection with a bluetooth terminal to be upgraded; an address obtaining module 820, configured to obtain an address of a bluetooth terminal to be upgraded through a low power consumption bluetooth connection; the second connection module 830 may be configured to establish a conventional bluetooth connection with the bluetooth terminal by scanning an address of the bluetooth terminal; the data sending module 840 may be configured to send an upgrade data packet to the bluetooth terminal according to the preset data specification information under the conventional bluetooth connection, so that the bluetooth terminal is upgraded by using the upgrade data packet.
In an exemplary embodiment of the present disclosure, the second connection module 830 may include: the data transmission instruction sending unit is used for sending a data transmission instruction to the Bluetooth terminal through the low-power Bluetooth connection; the Bluetooth signal scanning unit is used for scanning Bluetooth signals after receiving confirmation information of the Bluetooth terminal for the data transmission instruction; and a conventional bluetooth connection unit for establishing a conventional bluetooth connection with the bluetooth terminal when a bluetooth signal transmitted from an address of the bluetooth terminal is scanned.
In an exemplary embodiment of the present disclosure, the data specification information includes a size of a standard data packet; the data transmitting module 840 may include: the first sending unit is used for sending the data specification information to the Bluetooth terminal; the splitting unit is used for splitting the upgrading data packet into a plurality of data sub-packets according to the data specification information, and the size of each data sub-packet is consistent with that of the standard data packet; and the second sending unit is used for sending the data sub-packages to the Bluetooth terminal in sequence, so that the Bluetooth terminal analyzes the data sub-packages according to the data specification information.
In an exemplary embodiment of the disclosure, the data transmitting module 840 may be further configured to listen to whether acknowledgement receipt information regarding each data sub-packet fed back by the bluetooth terminal is received after transmitting each data sub-packet, transmit a next data sub-packet when the acknowledgement receipt information regarding the data sub-packet is received, and retransmit the data sub-packet when the acknowledgement receipt information regarding the data sub-packet is not received.
In an exemplary embodiment of the present disclosure, the data sending module 840 may be further configured to send, to the bluetooth terminal, a check value about n data packets each time after the n data packets are sent, so that the bluetooth terminal checks the n data packets according to the check value, where n is a preset positive integer; the data transmitting module 840 may further include: the check receiving unit is used for receiving the check result of the n data sub-packets fed back by the Bluetooth terminal; if the check result of the n data sub-packets is passed, the data sending module 840 continues to send the subsequent data sub-packets; if the check result of the n data packets is failed, the data sending module 840 resends the n data packets.
In an exemplary embodiment of the present disclosure, the data specification information further includes a whole package check value; the bluetooth terminal upgrading apparatus 800 may further include: a verification module, the verification module comprising: the whole packet checking and receiving unit is used for receiving a checking result of the whole packet checking value from the Bluetooth terminal after all data packets are sent; and the determining unit is used for determining that the transmission of the upgrade data packet is successful if the verification result of the verification value of the whole packet is passed, and determining that the transmission of the upgrade data packet is unsuccessful if the verification result of the verification value of the whole packet is not passed.
In an exemplary embodiment of the present disclosure, when the upgrade data packet is transmitted to the bluetooth terminal, the upgrade data packet is transmitted using an over-the-air technology.
Still further, in an exemplary embodiment of the present disclosure, another bluetooth terminal upgrading apparatus is further provided, configured to a bluetooth terminal to be upgraded. Referring to fig. 9, the bluetooth terminal upgrading apparatus 900 may include: the first connection module 910 may be configured to establish a bluetooth low energy connection with the smart terminal; the address sending module 920 may be configured to send an address of the bluetooth terminal to the intelligent terminal through the low power consumption bluetooth connection; a second connection module 930, which may be configured to establish a conventional bluetooth connection with the smart terminal in response to the smart terminal scanning the address; the data receiving module 940 may be configured to receive an upgrade data packet sent by the intelligent terminal according to preset data specification information under the conventional bluetooth connection; the upgrade module 950 may be configured to perform an upgrade using the upgrade data packet.
In an exemplary embodiment of the present disclosure, the second connection module 930 may include: the data transmission instruction receiving unit is used for receiving a data transmission instruction sent by the intelligent terminal under the low-power-consumption Bluetooth connection; the broadcasting unit is used for sending confirmation information of the data transmission instruction to the intelligent terminal and broadcasting the Bluetooth signal through the address; and the traditional Bluetooth connection unit is used for responding to the Bluetooth signal scanned by the intelligent terminal and establishing traditional Bluetooth connection with the intelligent terminal.
In an exemplary embodiment of the present disclosure, the data specification information includes a size of a standard data packet; the data receiving module 940 may be configured to receive data specification information sent by the intelligent terminal, sequentially receive data sub-packets sent by the intelligent terminal, split the upgrade data packet by the intelligent terminal according to the size of the standard data packet, and analyze the data sub-packets according to the data specification information.
In an exemplary embodiment of the disclosure, the data receiving module 940 may be further configured to, when each data sub-packet is received, feed back acknowledgement receipt information about the data sub-packet to the intelligent terminal, so that the intelligent terminal sends the next data sub-packet after receiving the acknowledgement receipt information.
In an exemplary embodiment of the present disclosure, the data receiving module 940 may be further configured to receive, every time after receiving n data packets, check values of the n data packets sent by the intelligent terminal; the data receiving module 940 may further include: and the feedback unit is used for checking the n data sub-packets according to the check value and feeding back the check result to the intelligent terminal.
In an exemplary embodiment of the present disclosure, the data specification information further includes a whole package check value; the data receiving module 940 may also be configured to check the entire packet check value after receiving all the data packets, and feed back the check result to the intelligent terminal.
The specific details of each module in the above apparatus have been described in detail in the method section, and details of an undisclosed scheme may refer to the method section, and thus are not described again.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
Exemplary embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, various aspects of the disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the disclosure described in the above-mentioned "exemplary methods" section of this specification, when the program product is run on the terminal device.
Referring to fig. 10, a program product 1000 for implementing the above method according to an exemplary embodiment of the present disclosure is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The exemplary embodiment of the present disclosure also provides an electronic device, which may be the smart terminal 110 or the bluetooth terminal 120 in fig. 1, capable of implementing the above method. An electronic device 1100 according to such an exemplary embodiment of the present disclosure is described below with reference to fig. 11. The electronic device 1100 shown in fig. 11 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present disclosure.
As shown in fig. 11, electronic device 1100 may take the form of a general-purpose computing device. The components of the electronic device 1100 may include, but are not limited to: at least one processing unit 1110, at least one memory unit 1120, a bus 1130 connecting the various system components including the memory unit 1120 and the processing unit 1110, and a display unit 1140.
The memory unit 1120 stores program code that may be executed by the processing unit 1110 to cause the processing unit 1110 to perform steps according to various exemplary embodiments of the present disclosure as described in the "exemplary methods" section above in this specification. For example, processing unit 1110 may perform any one or more of the method steps shown in fig. 2-7, and/or the like.
The storage unit 1120 may include readable media in the form of volatile storage units, such as a random access memory unit (RAM)1121 and/or a cache memory unit 1122, and may further include a read-only memory unit (ROM) 1123.
The storage unit 1120 may also include a program/utility 1124 having a set (at least one) of program modules 1125, such program modules 1125 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 1130 may be representative of one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 1100 may also communicate with one or more external devices 1200 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 1100, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 1100 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 1150. Also, the electronic device 1100 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 1160. As shown, the network adapter 1160 communicates with the other modules of the electronic device 1100 over the bus 1130. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 1100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the exemplary embodiments of the present disclosure.
Furthermore, the above-described figures are merely schematic illustrations of processes included in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit, according to exemplary embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (17)

1. A Bluetooth terminal upgrading method is applied to an intelligent terminal and is characterized by comprising the following steps:
establishing a low-power Bluetooth connection with a Bluetooth terminal to be upgraded;
acquiring the address of the Bluetooth terminal to be upgraded through the low-power Bluetooth connection;
establishing a traditional Bluetooth connection with the Bluetooth terminal by scanning the address of the Bluetooth terminal;
and sending an upgrading data packet to the Bluetooth terminal according to preset data specification information under the traditional Bluetooth connection, so that the Bluetooth terminal adopts the upgrading data packet to upgrade.
2. The upgrading method of claim 1, wherein the establishing of the conventional bluetooth connection with the bluetooth terminal by scanning the address of the bluetooth terminal comprises:
sending a data transmission instruction to the Bluetooth terminal through the low-power Bluetooth connection;
after receiving the confirmation information of the Bluetooth terminal to the data transmission instruction, scanning a Bluetooth signal;
and when the Bluetooth signal transmitted from the address of the Bluetooth terminal is scanned, establishing a traditional Bluetooth connection with the Bluetooth terminal.
3. The upgrading method of a bluetooth terminal according to claim 1, wherein the data specification information includes a size of a standard data packet;
the sending of the upgrade data packet to the bluetooth terminal according to the preset data specification information includes:
sending the data specification information to the Bluetooth terminal;
according to the data specification information, dividing the upgrading data packet into a plurality of data sub-packets, wherein the size of each data sub-packet is consistent with that of the standard data packet;
and sequentially sending the data sub-packets to the Bluetooth terminal, so that the Bluetooth terminal analyzes the data sub-packets according to the data specification information.
4. The upgrading method of the bluetooth terminal according to claim 3, wherein the sending the data sub-packets to the bluetooth terminal in sequence comprises:
after each data sub-packet is sent, monitoring whether the receiving confirmation information which is fed back by the Bluetooth terminal and is related to the data sub-packet is received or not;
when receiving the confirmation receiving information about the data sub-packet, sending the next data sub-packet;
and when the confirmation receiving information about the data sub-packet is not received, retransmitting the data sub-packet.
5. The bluetooth terminal upgrade method according to claim 3, further comprising:
after n data sub-packets are sent, sending check values related to the n data sub-packets to the Bluetooth terminal, and enabling the Bluetooth terminal to check the n data sub-packets according to the check values, wherein n is a preset positive integer;
receiving the check result of the n data sub-packets fed back by the Bluetooth terminal;
if the check result of the n data sub-packets is passed, continuing to send the subsequent data sub-packets;
and if the check result of the n data sub-packets is failed, retransmitting the n data sub-packets.
6. The upgrading method for a bluetooth terminal according to claim 5, wherein the data specification information further includes a whole package check value; the method further comprises the following steps:
after all the data sub-packets are sent, receiving a check result of the Bluetooth terminal on the check value of the whole packet;
if the check result of the whole packet of check values is passed, determining that the upgrade data packet is successfully sent;
and if the verification result of the whole packet of verification values is failed, determining that the upgrade data packet is unsuccessfully transmitted.
7. The upgrading method for the bluetooth terminal according to claim 1, wherein the upgrading data package is transmitted by using an over-the-air technology when the upgrading data package is transmitted to the bluetooth terminal.
8. A Bluetooth terminal upgrading method is applied to a Bluetooth terminal to be upgraded and is characterized by comprising the following steps:
establishing a low-power-consumption Bluetooth connection with an intelligent terminal;
sending the address of the Bluetooth terminal to the intelligent terminal through the low-power Bluetooth connection;
responding to the intelligent terminal to scan the address, and establishing a traditional Bluetooth connection with the intelligent terminal;
receiving an upgrade data packet sent by the intelligent terminal according to preset data specification information under the traditional Bluetooth connection;
and upgrading by adopting the upgrading data packet.
9. The upgrading method for the bluetooth terminal according to claim 8, wherein the establishing the conventional bluetooth connection with the smart terminal comprises:
receiving a data transmission instruction sent by the intelligent terminal under the low-power Bluetooth connection;
sending confirmation information of the data transmission instruction to the intelligent terminal, and broadcasting a Bluetooth signal through the address;
and responding to the Bluetooth signal scanned by the intelligent terminal, and establishing a traditional Bluetooth connection with the intelligent terminal.
10. The upgrading method for bluetooth terminal according to claim 8, wherein the data specification information includes a size of a standard data packet;
the receiving of the upgrade data packet sent by the intelligent terminal according to the preset data specification information includes:
receiving the data specification information sent by the intelligent terminal;
sequentially receiving the data sub-packets sent by the intelligent terminal, wherein the data sub-packets are obtained by splitting the upgrading data packets by the intelligent terminal according to the size of the standard data packets;
and analyzing the data sub-package according to the data specification information.
11. The upgrading method for the bluetooth terminal according to claim 10, wherein the sequentially receiving the data packets sent by the intelligent terminal includes:
and when each data sub-packet is received, feeding back the receiving confirmation information about the data sub-packet to the intelligent terminal, so that the intelligent terminal sends the next data sub-packet after receiving the receiving confirmation information.
12. The bluetooth terminal upgrade method according to claim 10, further comprising:
receiving check values of the n data sub-packets sent by the intelligent terminal after receiving the n data sub-packets;
and checking the n data sub-packets according to the check value, and feeding back the check result to the intelligent terminal.
13. The upgrading method for bluetooth terminal according to claim 12, wherein the data specification information further includes a whole package check value; the method further comprises the following steps:
and after receiving all the data sub-packets, checking the whole packet check value, and feeding back a check result to the intelligent terminal.
14. The utility model provides a bluetooth terminal upgrading device, disposes in intelligent terminal, its characterized in that, the device includes:
the first connection module is used for establishing low-power Bluetooth connection with a Bluetooth terminal to be upgraded;
the address acquisition module is used for acquiring the address of the Bluetooth terminal to be upgraded through the low-power Bluetooth connection;
the second connection module is used for establishing the traditional Bluetooth connection with the Bluetooth terminal by scanning the address of the Bluetooth terminal;
and the data sending module is used for sending an upgrading data packet to the Bluetooth terminal according to preset data specification information under the traditional Bluetooth connection, so that the Bluetooth terminal adopts the upgrading data packet for upgrading.
15. An upgrade apparatus for a bluetooth terminal, configured in a bluetooth terminal to be upgraded, the apparatus comprising:
the first connection module is used for establishing low-power-consumption Bluetooth connection with the intelligent terminal;
the address sending module is used for sending the address of the Bluetooth terminal to the intelligent terminal through the low-power Bluetooth connection;
the second connection module is used for responding to the address scanned by the intelligent terminal and establishing the traditional Bluetooth connection with the intelligent terminal;
the data receiving module is used for receiving an upgrading data packet sent by the intelligent terminal according to preset data specification information under the traditional Bluetooth connection;
and the upgrading module is used for upgrading by adopting the upgrading data packet.
16. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1-7 or 8-13.
17. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any of claims 1-7 or 8-13 via execution of the executable instructions.
CN201910990369.4A 2019-10-17 2019-10-17 Bluetooth terminal upgrading method and device, storage medium and electronic equipment Pending CN111752579A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910990369.4A CN111752579A (en) 2019-10-17 2019-10-17 Bluetooth terminal upgrading method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910990369.4A CN111752579A (en) 2019-10-17 2019-10-17 Bluetooth terminal upgrading method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN111752579A true CN111752579A (en) 2020-10-09

Family

ID=72672903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910990369.4A Pending CN111752579A (en) 2019-10-17 2019-10-17 Bluetooth terminal upgrading method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111752579A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112527367A (en) * 2020-11-27 2021-03-19 广东美的制冷设备有限公司 Household appliance and upgrading method thereof, mobile terminal and computer readable storage medium
CN114553328A (en) * 2022-02-22 2022-05-27 深圳市冠旭电子股份有限公司 Bluetooth device testing method and device, electronic device and storage medium
CN114679439A (en) * 2021-12-31 2022-06-28 诺领科技(南京)有限公司 Bluetooth BLE-based auxiliary upgrade package downloading method for Internet of things
CN116132975A (en) * 2023-01-17 2023-05-16 青岛海尔智能家电科技有限公司 Method, device and storage medium for over-the-air downloading in a network of node devices

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184553A (en) * 2014-09-02 2014-12-03 广东欧珀移动通信有限公司 Low-power-dissipation Bluetooth data transmission method, device and equipment
CN104915237A (en) * 2015-06-24 2015-09-16 深圳市兰丁科技有限公司 Upgrading method and upgrading control method of Bluetooth device firmware program, and equipment
US20160149669A1 (en) * 2014-11-24 2016-05-26 Mark Meyers Data Transfer System
CN105898490A (en) * 2016-06-22 2016-08-24 青岛海信电器股份有限公司 Upgrading method for remote controller, television and remote controller
CN106210102A (en) * 2016-07-20 2016-12-07 广州小鸡快跑网络科技有限公司 The method and device of radio upgrade handle firmware based on bluetooth BLE
CN106488383A (en) * 2015-08-28 2017-03-08 宇龙计算机通信科技(深圳)有限公司 A kind of method and device connecting bluetooth equipment
CN106851625A (en) * 2016-12-23 2017-06-13 安普德(天津)科技股份有限公司 A kind of blue tooth productses OTA upgrade methods
CN107085525A (en) * 2017-03-17 2017-08-22 深圳市战音科技有限公司 Method for upgrading software and device based on Bluetooth electronic devices
CN107277754A (en) * 2017-07-12 2017-10-20 深圳市冠旭电子股份有限公司 The method and Bluetooth peripheral of a kind of bluetooth connection
CN109542485A (en) * 2018-11-20 2019-03-29 北京千丁互联科技有限公司 A kind of firmware upgrade method and its device based on bluetooth BLE equipment end
CN109788461A (en) * 2017-11-15 2019-05-21 深圳市优必选科技有限公司 Bluetooth dual mode data communication means and device
CN109862549A (en) * 2019-03-28 2019-06-07 南昌黑鲨科技有限公司 Bluetooth connecting method, device, readable storage medium storing program for executing and mobile device
CN109951842A (en) * 2019-03-19 2019-06-28 厦门市思芯微科技有限公司 A kind of bluetooth firmware method during upgrading for retaining BLE title and MAC Address
CN110149568A (en) * 2019-05-30 2019-08-20 歌尔科技有限公司 A kind of bluetooth headset and communication means, system, electronic equipment, computer media

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184553A (en) * 2014-09-02 2014-12-03 广东欧珀移动通信有限公司 Low-power-dissipation Bluetooth data transmission method, device and equipment
US20160149669A1 (en) * 2014-11-24 2016-05-26 Mark Meyers Data Transfer System
CN104915237A (en) * 2015-06-24 2015-09-16 深圳市兰丁科技有限公司 Upgrading method and upgrading control method of Bluetooth device firmware program, and equipment
CN106488383A (en) * 2015-08-28 2017-03-08 宇龙计算机通信科技(深圳)有限公司 A kind of method and device connecting bluetooth equipment
CN105898490A (en) * 2016-06-22 2016-08-24 青岛海信电器股份有限公司 Upgrading method for remote controller, television and remote controller
CN106210102A (en) * 2016-07-20 2016-12-07 广州小鸡快跑网络科技有限公司 The method and device of radio upgrade handle firmware based on bluetooth BLE
CN106851625A (en) * 2016-12-23 2017-06-13 安普德(天津)科技股份有限公司 A kind of blue tooth productses OTA upgrade methods
CN107085525A (en) * 2017-03-17 2017-08-22 深圳市战音科技有限公司 Method for upgrading software and device based on Bluetooth electronic devices
CN107277754A (en) * 2017-07-12 2017-10-20 深圳市冠旭电子股份有限公司 The method and Bluetooth peripheral of a kind of bluetooth connection
CN109788461A (en) * 2017-11-15 2019-05-21 深圳市优必选科技有限公司 Bluetooth dual mode data communication means and device
CN109542485A (en) * 2018-11-20 2019-03-29 北京千丁互联科技有限公司 A kind of firmware upgrade method and its device based on bluetooth BLE equipment end
CN109951842A (en) * 2019-03-19 2019-06-28 厦门市思芯微科技有限公司 A kind of bluetooth firmware method during upgrading for retaining BLE title and MAC Address
CN109862549A (en) * 2019-03-28 2019-06-07 南昌黑鲨科技有限公司 Bluetooth connecting method, device, readable storage medium storing program for executing and mobile device
CN110149568A (en) * 2019-05-30 2019-08-20 歌尔科技有限公司 A kind of bluetooth headset and communication means, system, electronic equipment, computer media

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨洁;刘聪锋;: "模式匹配与校验和相结合的IP协议识别方法", 西安电子科技大学学报, no. 03, 5 January 2012 (2012-01-05) *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112527367A (en) * 2020-11-27 2021-03-19 广东美的制冷设备有限公司 Household appliance and upgrading method thereof, mobile terminal and computer readable storage medium
CN114679439A (en) * 2021-12-31 2022-06-28 诺领科技(南京)有限公司 Bluetooth BLE-based auxiliary upgrade package downloading method for Internet of things
CN114553328A (en) * 2022-02-22 2022-05-27 深圳市冠旭电子股份有限公司 Bluetooth device testing method and device, electronic device and storage medium
CN114553328B (en) * 2022-02-22 2023-10-20 深圳市冠旭电子股份有限公司 Bluetooth device testing method and device, electronic device and storage medium
CN116132975A (en) * 2023-01-17 2023-05-16 青岛海尔智能家电科技有限公司 Method, device and storage medium for over-the-air downloading in a network of node devices

Similar Documents

Publication Publication Date Title
CN111752579A (en) Bluetooth terminal upgrading method and device, storage medium and electronic equipment
US10986670B2 (en) Random access feedback method, random access processing method, base station and terminal
CN112217599B (en) Data frame receiving method and device, and communication method and system
US7003710B2 (en) Communications method, communications apparatus and communications system using same communications apparatus
CN102281121A (en) Method, equipment and system for transmitting and verifying data file
US8751708B2 (en) Method for transmitting touch panel data
RU2011108113A (en) DEVICE AND METHOD FOR FORMING MAS DATA PROTOCOL MODULE IN WIRELESS COMMUNICATION SYSTEM
WO2018171455A1 (en) Method and device for sending feedback information
CN111711609A (en) Protocol design method in serial port communication
CN113746892B (en) Remote upgrading method and wireless terminal equipment
US20220209894A1 (en) Multi-Bit Feedback Protocol Systems and Methods
WO2011137640A1 (en) File transmission method, file transmission apparatus and file reception apparatus
CN112770312A (en) Data transmission method and device, computer readable medium and electronic equipment
US8009694B2 (en) Wireless services provider network system and method
US7571374B2 (en) Method for transmitting and processing command and data
CN112286556A (en) Communication equipment and remote upgrading method of MCU thereof
CN113645600A (en) Data transmission method, device, terminal and storage medium
CN104601299A (en) Data transmission system and method based on two-way acknowledgment
EP3764576A1 (en) System and method for implementing a hybrid automatic repeat request process
CN113452603A (en) Data transmission method and related device
CN114138542A (en) Data configuration method of electric energy meter, electric energy meter and readable storage medium
JPH1127243A (en) Radio communication equipment
CN112217600A (en) Data frame receiving method and device, and communication method and system
CN117785247A (en) Equipment upgrading method, device and system of energy storage system
CN111309347A (en) Data transmission method and related equipment

Legal Events

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