CN107889092B - Bluetooth device communication control method, device, terminal device and storage medium - Google Patents
Bluetooth device communication control method, device, terminal device and storage medium Download PDFInfo
- Publication number
- CN107889092B CN107889092B CN201711241167.7A CN201711241167A CN107889092B CN 107889092 B CN107889092 B CN 107889092B CN 201711241167 A CN201711241167 A CN 201711241167A CN 107889092 B CN107889092 B CN 107889092B
- Authority
- CN
- China
- Prior art keywords
- bluetooth device
- transmission protocol
- bluetooth
- transmission
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/24—Negotiation of communication capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the application discloses a communication control method and device of Bluetooth equipment, terminal equipment and a storage medium, wherein the method comprises the steps that first Bluetooth equipment receives an information inquiry request sent by second Bluetooth equipment, the first Bluetooth equipment selects a used transmission protocol version according to the information inquiry request and sends the transmission protocol version model to the second Bluetooth equipment, the second Bluetooth equipment determines a corresponding transmission protocol type according to the transmission protocol version model, and communication connection based on the transmission protocol type is established between the first Bluetooth equipment and the second Bluetooth equipment, so that the stability and the transmission efficiency of information transmission between the Bluetooth equipment are improved.
Description
Technical Field
The embodiment of the application relates to computer technologies, and in particular, to a communication control method and apparatus for a bluetooth device, a terminal device, and a storage medium.
Background
Bluetooth is a wireless technology standard that enables short-range data exchange between fixed devices, mobile devices and building personal area networks, and generally uses UHF radio waves in the ISM band for data transmission. Bluetooth technology was originally created by telecommunications grand ericsson in 1994 as an alternative to RS232 data lines.
In the prior art, a communication connection establishing mode of the bluetooth device has defects, so that a transmission link is unstable and is frequently disconnected, and the use of a user is influenced.
Disclosure of Invention
The invention provides a communication control method and device for Bluetooth equipment, terminal equipment and a storage medium, which improve the stability and transmission efficiency of information transmission between the Bluetooth equipment.
In a first aspect, an embodiment of the present application provides a bluetooth device communication control method, including:
a first Bluetooth device receives an information inquiry request sent by a second Bluetooth device;
the first Bluetooth device selects a used transmission protocol version according to the information inquiry request, and sends the transmission protocol version model to the second Bluetooth device, so that the second Bluetooth device determines a corresponding transmission protocol type according to the transmission protocol version model;
the first Bluetooth device and the second Bluetooth device establish a communication connection based on the transmission protocol type.
In a second aspect, an embodiment of the present application further provides a bluetooth device communication control apparatus, including:
the information inquiry receiving module is used for receiving an information inquiry request sent by the second Bluetooth equipment;
the link transmission processing module is used for selecting a used transmission protocol version according to the information inquiry request, sending the transmission protocol version model to the second Bluetooth equipment and determining the corresponding transmission protocol type by the second Bluetooth equipment according to the transmission protocol version model;
a link establishing module for establishing a communication connection with the second Bluetooth device based on the transmission protocol type.
In a third aspect, an embodiment of the present application further provides a terminal device, including: the bluetooth device communication control method comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the bluetooth device communication control method according to the embodiment of the application.
In a fourth aspect, the present application further provides a storage medium containing terminal device executable instructions, where the terminal device executable instructions are executed by a terminal device processor to perform the bluetooth device communication control method according to the present application.
In the scheme, a first Bluetooth device receives an information inquiry request sent by a second Bluetooth device, the first Bluetooth device selects a used transmission protocol version according to the information inquiry request and sends a transmission protocol version model to the second Bluetooth device, the second Bluetooth device determines a corresponding transmission protocol type according to the transmission protocol version model, the first Bluetooth device and the second Bluetooth device establish communication connection based on the transmission protocol type, the determination of the transmission protocol during communication between the Bluetooth devices is increased, the communication mechanism of the Bluetooth devices is perfected, and the subsequent communication efficiency and stability are obviously improved.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a flowchart of a communication control method for a bluetooth device according to an embodiment of the present disclosure;
fig. 2 is a flowchart of another communication control method for a bluetooth device according to an embodiment of the present invention;
fig. 3 is a flowchart of another communication control method for a bluetooth device according to an embodiment of the present application;
fig. 4 is a flowchart of another communication control method for a bluetooth device according to an embodiment of the present application;
fig. 5 is a flowchart of another communication control method for a bluetooth device according to an embodiment of the present application;
fig. 6 is a block diagram of a bluetooth device communication control apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are for purposes of illustration and not limitation. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a flowchart of a bluetooth device communication control method provided in an embodiment of the present application, which is applicable to control of communication between bluetooth devices, and the method may be executed by a terminal device provided in an embodiment of the present application, and a bluetooth device communication control apparatus of the terminal device may be implemented in a software and/or hardware manner, as shown in fig. 1, a specific solution provided in this embodiment is as follows:
step S101, the first Bluetooth device receives an information inquiry request sent by the second Bluetooth device.
The Bluetooth device can be a device with a Bluetooth module integrated inside, and the Bluetooth module can be used for short-distance wireless communication, namely, the first Bluetooth device and the second Bluetooth device can realize a communication function through the Bluetooth modules which are respectively and integrally installed. In one embodiment, the first bluetooth device may be a mobile terminal device used by a user, such as a mobile phone, and the second bluetooth device may be a bluetooth in-vehicle device. Wherein the information query request may be an SDP query sent by the second bluetooth device, wherein the SDP query may be used to query the first bluetooth device for services having specific service attributes or simply browse through all available services.
The first bluetooth device may receive the information inquiry request sent by the second bluetooth device, where before the first bluetooth device and the second bluetooth device establish bluetooth communication, the second bluetooth device initiates the information inquiry request. In one embodiment, the request may be a request sent by the second bluetooth device to query PBAP information of the first bluetooth device, where PBAP is a set of protocols specifically defined for the bluetooth onboard device to automatically download a phonebook in the handset. The first bluetooth device may receive the information inquiry request sent by the second bluetooth device, where the second bluetooth device may monitor an information transmission rate of the communication link, and send the information inquiry request to the first bluetooth device when the information transmission rate satisfies a certain condition (e.g., the information transmission rate is less than 50% of a nominal or normal transmission rate).
And S102, the first Bluetooth device selects a used transmission protocol version according to the information inquiry request, and sends the transmission protocol version model to the second Bluetooth device, so that the second Bluetooth device determines the corresponding transmission protocol type according to the transmission protocol version model.
In one embodiment, the first bluetooth device analyzes the information query request sent by the second terminal device to obtain identification information of the second bluetooth device, compares the identification information with identification information of bluetooth devices in a locally stored blacklist, and determines a transmission version protocol to be used according to a comparison result. Taking a PBAP protocol as an example, the highest version currently used is v1.2, when PBAP versions of the first bluetooth device and the second bluetooth device are both v1.2, a transmission mode of L2cap Channel may be used for bluetooth communication connection, and when the PBAP version of one of the first bluetooth device and the second bluetooth device is v1.1, performing bluetooth communication connection using the transmission mode of L2cap Channel may cause a bluetooth physical link to be unstable, and a transmission mode of RFCOMM Channel needs to be used for bluetooth communication connection. The second bluetooth device will automatically initiate bluetooth communication connection based on L2cap Channel transmission mode, and at this time, if there are other connected bluetooth devices with PBAP version v1.1, the bluetooth physical link will be interrupted in the information transmission process. Optionally, when the first bluetooth device communicates with another bluetooth device, the first bluetooth device monitors an information transmission state of a communication link, and when the information transmission state satisfies a preset condition (e.g. the information transmission rate is less than 50% of a nominal or normal transmission rate), records an identifier of the bluetooth device connected to the first bluetooth device in a locally stored blacklist, for example, when the second bluetooth device and the first bluetooth device adopt a bluetooth communication connection based on an L2cap Channel transmission mode, if the first bluetooth device monitors that the information transmission state satisfies the preset condition, records the identifier of the second bluetooth device in the blacklist, and when the first bluetooth device is connected to the second bluetooth device again and receives an information query request sent by the second bluetooth device, analyzes the identifier information of the second bluetooth device, and compares the identifier information to obtain the identifier information with which the blacklist has consistency, and then selecting to use the PBAP version v1.1, sending the version model of the transmission protocol to the second Bluetooth equipment, and initiating Bluetooth communication connection based on an RFCOMM channel transmission mode after the second Bluetooth equipment confirms that the PBAP version used by the first Bluetooth equipment is v1.1 so as to ensure that the first Bluetooth equipment and the second Bluetooth equipment can stably carry out data communication.
Step S103, the first Bluetooth device and the second Bluetooth device establish communication connection based on the transmission protocol type.
In one embodiment, the first bluetooth device and the second bluetooth device have two different communication connection modes based on different transmission protocols, when the first bluetooth device and the second bluetooth device perform connection communication based on a default transmission protocol, the first bluetooth device can monitor the information transmission state of a communication link, when the transmission state is determined to be abnormal (such as abnormal communication interruption or continuous interruption for more than 2 times within 10 seconds), the identifier of the second bluetooth device is recorded in a created blacklist, when the first bluetooth device and the second bluetooth device are connected again, an information inquiry request sent by the second bluetooth device is received, if the identifier of the second bluetooth device carried by the information inquiry request is determined to be recorded in the blacklist, a transmission protocol version corresponding to the other transmission protocol communication connection mode is selected, and the transmission protocol version is sent to the second bluetooth device so that the first bluetooth device and the second bluetooth device establish connection based on the second bluetooth device I.e. a communication connection of the transport protocol in a non-default form. For example, the first bluetooth device and the second bluetooth device may establish a communication connection based on an L2cap Channel and an RFCOMM Channel, and the second bluetooth device initiates the communication connection based on the L2cap Channel by default, and records the identifier of the second bluetooth device in a blacklist when the first bluetooth device detects that there is a connection abnormality, and establishes a communication connection based on the RFCOMM Channel and the second bluetooth device when the second bluetooth device can establish a communication connection with the first bluetooth device again. Wherein, RFCOMM is a serial linear simulation protocol based on the european telecommunications standards institute ETSI07.10 specification, which provides RS232 control and status signals, such as damage, CTS, and data signals on baseband, and provides a transmission capability for upper layer services; the L2cap is a short name of Logical Link Control and Adaptation Protocol, that is, a Logical Link Control and Adaptation Protocol, and is a core Protocol in the bluetooth system, and is responsible for adapting an upper layer Protocol in a baseband. It should be noted that, the above-mentioned switching and use of two protocols are only used as examples, and the present solution is applicable to automatic switching between bluetooth devices in which two or more transmission protocols exist.
According to the above, in the communication process of the bluetooth device, the bluetooth device selects a reasonable transmission protocol type according to the information inquiry request sent by the connected device, and establishes a communication connection based on the transmission protocol type, so that the communication between the bluetooth devices is more stable, and the information transmission is more efficient.
Fig. 2 is a flowchart of another communication control method for a bluetooth device according to an embodiment of the present application, where optionally, the selecting, by the first bluetooth device, a transmission protocol version to be used according to the information inquiry request includes: the first bluetooth device selects a transmission protocol version to be used according to a stored blacklist and an identifier of the second bluetooth device carried in the information query request, and before the first bluetooth device selects the transmission protocol version to be used according to the information query request, the method further includes: in the communication process, the first Bluetooth device monitors the information transmission state of a communication link, and when the information transmission state meets a first preset condition, the identifier of the Bluetooth device connected with the first Bluetooth device is recorded in a locally stored blacklist. As shown in fig. 2, the technical solution is as follows:
step S201, the first bluetooth device and the second bluetooth device establish a communication connection based on a default first transmission protocol.
The second bluetooth device may automatically initiate a communication connection based on a default first transmission protocol for data transmission with the first bluetooth device. Illustratively, the communication transmission link can be based on L2 cap.
Step S202, the first Bluetooth device monitors the information transmission state of the communication link, judges that the information transmission state meets a first preset condition, if so, executes step S203, and if not, executes step S209.
In the communication process of the first Bluetooth device and the second Bluetooth device, the first Bluetooth device can monitor the information transmission state of the communication link, including monitoring parameters such as transmission rate, interruption times and the like. Optionally, when the first bluetooth device and the second bluetooth device are connected for communication for the first time, the first bluetooth device monitors the information transmission state of the communication link. Wherein, the first preset condition may be: the information transmission rate is less than 50% of the nominal or normal transmission rate or the communication is abnormally interrupted.
Step S203, recording the identification of the second Bluetooth device connected with the first Bluetooth device in a locally stored blacklist.
The black list is stored in the database of the first bluetooth device, or may be a record maintained in the server. The blacklist records identification information of the bluetooth device, which is used for representing that a default communication link has a problem when the corresponding bluetooth device is connected with the current device.
Step S204, when the first Bluetooth device and the second Bluetooth device are in communication connection again, the first Bluetooth device receives an information inquiry request sent by the second Bluetooth device.
Step S205, the first Bluetooth device analyzes the information inquiry request to obtain the identifier of the second Bluetooth device.
Step S206, judging whether the identification is recorded in the blacklist, if so, executing step S207, and if not, executing step S209.
Step S207, the first bluetooth device sends the version model corresponding to the second transmission protocol to the second bluetooth device.
For example, the second transmission protocol may be an RFCOMM transmission protocol, and a version model that the corresponding bluetooth device can stably transmit may be a v1.1 model of PBAP, when the first bluetooth device determines to establish a communication connection of the RFCOMM transmission protocol, the v1.1 model of PBAP is selected to be used and sent to the second bluetooth device, and after the second bluetooth device receives the used version model sent by the first bluetooth device, the second bluetooth device correspondingly initiates a communication connection based on the second transmission protocol type, that is, the RFCOMM transmission protocol.
Step S208, the first Bluetooth device and the second Bluetooth device establish communication connection based on the second transmission protocol type.
And step S209, carrying out subsequent data communication based on the first transmission protocol.
Therefore, when the first Bluetooth device and the second Bluetooth device perform Bluetooth communication, if the information transmission has the condition of low efficiency, a communication link is correspondingly established based on other transmission protocols, so that the problem that the information transmission rate is low or abnormally interrupted due to poor protocol compatibility of one party or other reasons in the Bluetooth devices which are in mutual communication is solved, and the stability and the transmission efficiency of the information transmission between the Bluetooth devices are improved.
Fig. 3 is a flowchart of another communication control method for a bluetooth device according to an embodiment of the present application, where optionally, the selecting, by the first bluetooth device, a transmission protocol version to be used according to the information inquiry request includes: the first Bluetooth device analyzes the information inquiry request, determines a second transmission protocol version model used by the second Bluetooth device according to an analysis result, and selects a first transmission protocol version used according to the second transmission protocol version model. As shown in fig. 3, the technical solution is as follows:
step S301, the first Bluetooth device and the second Bluetooth device establish communication connection based on a default first transmission protocol.
The second bluetooth device may automatically initiate a communication connection based on a default first transmission protocol for data transmission with the first bluetooth device. Illustratively, the communication transmission link may be based on RFCOMM, and the PBAP protocol version used by the second bluetooth device may be v1.2 or v 1.1.
Step S302, the first Bluetooth device receives an information inquiry request sent by the second Bluetooth device.
Step S303, the first Bluetooth device analyzes the information inquiry request, and determines the version model of the second transmission protocol used by the second Bluetooth device according to the analysis result.
When the second bluetooth device sends an information query request, the information query request carries the version model of the second transmission protocol. And when receiving the information inquiry request, the first Bluetooth equipment analyzes the information inquiry request to obtain the version model of the second transmission protocol. For example, taking the PBAP protocol version as an example, it is possible to define the version v1.2 as a high version protocol, and the version v1.1 and below as a low version protocol.
Step S304, judging whether the version model of the second transmission protocol is a high version protocol, if so, executing step S305, and if not, executing step S306.
In an embodiment, the determining whether the second transmission protocol version model is a high version protocol may be determining whether a PBAP protocol version model of the second bluetooth device is v 1.2.
Step S305, judging whether the first transmission protocol version model of the first Bluetooth device is a high version protocol, if so, executing step S307, otherwise, executing step S306.
Similarly, whether the PBAP protocol version model of the first Bluetooth device is v1.2 is judged.
And S306, carrying out subsequent data communication based on the first transmission protocol.
Step S307, determining a first transmission protocol version, and sending the first transmission protocol version identification to a second Bluetooth device.
And when the PBAP protocol version model of the first Bluetooth device is determined to be v1.2, the version identification is sent to the second Bluetooth device.
Step S308, the first Bluetooth device and the second Bluetooth device establish communication connection based on the second transmission protocol type.
Illustratively, the second transmission protocol may be an L2cap type transmission protocol, and the first bluetooth device and the second bluetooth device establish a communication connection based on the L2cap type transmission protocol. The L2cap type transmission protocol has a faster response speed than the RFCOMM type transmission protocol.
Therefore, when the bluetooth devices communicate with each other, the first bluetooth device determines the type of the transmission protocol used in the final information transmission according to the protocol version supported by the first bluetooth device and the protocol version of the second bluetooth device, and when the second bluetooth device and the first bluetooth device both support the high protocol version, the corresponding transmission protocol with higher transmission efficiency matched with the high protocol version is used to improve the communication stability and the transmission rate between the bluetooth devices.
Fig. 4 is a flowchart of another bluetooth device communication control method provided in an embodiment of the present application, where optionally, the receiving, by the first bluetooth device, an information inquiry request sent by a second bluetooth device includes: the second Bluetooth device monitors the information transmission rate of a communication link, and when the information transmission rate meets a second preset condition, the second Bluetooth device sends an information inquiry request to the first Bluetooth device, and the first Bluetooth device receives the information inquiry request, wherein the first Bluetooth device is connected with the second Bluetooth device through a Bluetooth network. As shown in fig. 4, the technical solution is as follows:
step S401, the first bluetooth device and the second bluetooth device establish a communication connection based on a default first transmission protocol.
The second bluetooth device may automatically initiate a communication connection based on a default first transmission protocol for data transmission with the first bluetooth device. Illustratively, the communication transmission link can be based on RFCOMM, and can also be based on L2 cap.
Step S402, the second Bluetooth device monitors the information transmission rate of the communication link, and when the information transmission rate meets a second preset condition, the second Bluetooth device sends an information inquiry request to the first Bluetooth device.
The second preset condition may be that the information transmission rate between the bluetooth devices is less than 50% of the nominal or normal transmission rate or the number of abnormal communication interruptions is greater than 2 times/minute.
Step S403, the first bluetooth device receives the information query request sent by the second bluetooth device, determines that the type of the used transmission protocol is the second transmission protocol, and sends the version type of the transmission protocol corresponding to the second transmission protocol to the second bluetooth device.
In one embodiment, when the first transmission protocol is an RFCOMM protocol, the second transmission protocol is correspondingly an L2cap protocol, and the corresponding transmission protocol version model sent to the second bluetooth device may be PBAP version v 1.2; in another embodiment, when the first transmission protocol is L2cap protocol, the second transmission protocol is RFCOMM protocol, and the corresponding transmission protocol version model sent to the second bluetooth device may be PBAP version v 1.1.
Step S404, after receiving the transmission protocol version signal sent by the first bluetooth device, the second bluetooth device establishes a communication connection with the first bluetooth device based on the second transmission protocol.
Illustratively, the first bluetooth device and the second bluetooth device may be communicatively connected via two different transmission protocols, such as a communication connection based on an L2cap protocol and a communication connection based on an RFCOMM protocol, and when the first bluetooth device and the second bluetooth device are connected and communicate based on a default first transmission protocol (which may be the L2cap protocol or the RFCOMM protocol), and when it is detected that there is an abnormal interruption or a transmission rate of the communication link is low, another protocol is selected and a communication connection based on the protocol is established.
Therefore, when the Bluetooth devices communicate with each other, the problem of information transmission is caused by the possible problem of compatibility of the transmission protocol between the first Bluetooth device and the second Bluetooth device, and at the moment, after the transmission problem is detected, the communication connection based on another transmission protocol is automatically switched to improve the communication efficiency, so that the problem of unmatched compatibility is solved.
Fig. 5 is a flowchart of another communication control method for a bluetooth device according to an embodiment of the present application, and optionally, after the first bluetooth device establishes a communication connection based on the transmission protocol type, the method further includes: and if the first Bluetooth device determines that the transmission protocol type meets a third preset condition, sending a firmware program to the second Bluetooth device for the second Bluetooth device to repair or upgrade the firmware. As shown in fig. 5, the technical solution is as follows:
step S501, the first bluetooth device and the second bluetooth device establish a communication connection based on a default first transmission protocol.
Step S502, the first Bluetooth device monitors the information transmission state of the communication link, judges whether the information transmission state meets a first preset condition, if so, executes step S503, and if not, ends the process.
In the communication process of the first Bluetooth device and the second Bluetooth device, the first Bluetooth device can monitor the information transmission state of the communication link, including monitoring parameters such as transmission rate, interruption times and the like. Optionally, when the first bluetooth device and the second bluetooth device are connected for communication for the first time, the first bluetooth device monitors the information transmission state of the communication link. Wherein, the first preset condition may be: the information transmission rate is less than 50% of the nominal or normal transmission rate or the communication is abnormally interrupted.
Step S503, recording the identifier of the second bluetooth device connected to the first bluetooth device in a locally stored blacklist.
Step S504, when the first Bluetooth device and the second Bluetooth device are in communication connection again, the first Bluetooth device receives an information inquiry request sent by the second Bluetooth device.
And step S505, the first Bluetooth device analyzes the information inquiry request to obtain the identifier of the second Bluetooth device.
And step S506, judging whether the identifier is recorded in a blacklist, if so, executing step S507, and if not, ending the process.
Step S507, the first bluetooth device sends the version model corresponding to the second transmission protocol to the second bluetooth device.
Step S508, the first bluetooth device and the second bluetooth device establish a communication connection based on the second transmission protocol type.
Step S509, determining whether the second transport protocol type satisfies a third preset condition, if yes, executing step S510, and if no, ending the process.
For example, the first bluetooth device and the second bluetooth device may perform communication connection based on two different transmission protocol types (e.g., an L2cap type and an RFCOMM type), where one is a high version type (L2cap type) and the other is a low version type (RFCOMM type), and the third preset condition may be that the second transmission protocol type is the RFCOMM type, that is, it is detected that a communication connection is established between the first bluetooth device and the second bluetooth device using the low version protocol type, then step S510 is performed.
Step S510, the first bluetooth device sends a firmware program to the second bluetooth device, so that the second bluetooth device performs firmware repair or upgrade.
In one embodiment, after receiving the firmware program, the second bluetooth device acquires the firmware program through the integrated MCU, extracts the hex file for firmware upgrade, forms a new firmware when it is determined that the upgrade operation is completed by 100%, and re-upgrades the firmware if the upgrade process fails.
Therefore, when the Bluetooth devices communicate with each other, and after the low-version transmission protocol is adopted due to the detection of the compatibility problem or the link instability problem, the Bluetooth devices can be automatically upgraded to support the high-version protocol, so that the information transmission efficiency and the link stability are improved.
Fig. 6 is a block diagram of a bluetooth device communication control apparatus according to an embodiment of the present application, where the apparatus is configured to execute a bluetooth device communication control method according to the foregoing embodiment, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 6, the apparatus specifically includes: information query receiving module 101, link transmission processing module 102, and link establishment module 103, wherein,
and an information query receiving module 101, configured to receive an information query request sent by a second bluetooth device.
The Bluetooth device can be a device with a Bluetooth module integrated inside, and the Bluetooth module can be used for short-distance wireless communication, namely, the first Bluetooth device and the second Bluetooth device can realize a communication function through the Bluetooth modules which are respectively and integrally installed. In one embodiment, the first bluetooth device may be a mobile terminal device used by a user, such as a mobile phone, and the second bluetooth device may be a bluetooth in-vehicle device. Wherein the information query request may be an SDP query sent by the second bluetooth device, wherein the SDP query may be used to query the first bluetooth device for services having specific service attributes or simply browse through all available services.
The first bluetooth device may receive the information inquiry request sent by the second bluetooth device, where before the first bluetooth device and the second bluetooth device establish bluetooth communication, the second bluetooth device initiates the information inquiry request. In one embodiment, the request may be a request sent by the second bluetooth device to query PBAP information of the first bluetooth device, where PBAP is a set of protocols specifically defined for the bluetooth onboard device to automatically download a phonebook in the handset. The first bluetooth device may receive the information inquiry request sent by the second bluetooth device, where the second bluetooth device may monitor an information transmission rate of the communication link, and send the information inquiry request to the first bluetooth device when the information transmission rate satisfies a certain condition (e.g., the information transmission rate is less than 50% of a nominal or normal transmission rate).
And the link transmission processing module 102 is configured to select a transmission protocol version to be used according to the information query request, send the transmission protocol version model to the second bluetooth device, and determine, by the second bluetooth device, a corresponding transmission protocol type according to the transmission protocol version model.
In one embodiment, the first bluetooth device analyzes the information query request sent by the second terminal device to obtain identification information of the second bluetooth device, compares the identification information with identification information of bluetooth devices in a locally stored blacklist, and determines a transmission version protocol to be used according to a comparison result. Taking a PBAP protocol as an example, the highest version currently used is v1.2, when PBAP versions of the first bluetooth device and the second bluetooth device are both v1.2, a transmission mode of L2cap Channel may be used for bluetooth communication connection, and when the PBAP version of one of the first bluetooth device and the second bluetooth device is v1.1, performing bluetooth communication connection using the transmission mode of L2cap Channel may cause a bluetooth physical link to be unstable, and a transmission mode of RFCOMM Channel needs to be used for bluetooth communication connection. The second bluetooth device will automatically initiate bluetooth communication connection based on L2cap Channel transmission mode, and at this time, if there are other connected bluetooth devices with PBAP version v1.1, the bluetooth physical link will be interrupted in the information transmission process. Optionally, when the first bluetooth device communicates with another bluetooth device, the first bluetooth device monitors an information transmission state of a communication link, and when the information transmission state satisfies a preset condition (e.g. the information transmission rate is less than 50% of a nominal or normal transmission rate), records an identifier of the bluetooth device connected to the first bluetooth device in a locally stored blacklist, for example, when the second bluetooth device and the first bluetooth device adopt a bluetooth communication connection based on an L2cap Channel transmission mode, if the first bluetooth device monitors that the information transmission state satisfies the preset condition, records the identifier of the second bluetooth device in the blacklist, and when the first bluetooth device is connected to the second bluetooth device again and receives an information query request sent by the second bluetooth device, analyzes the identifier information of the second bluetooth device, and compares the identifier information to obtain the identifier information with which the blacklist has consistency, and then selecting to use the PBAP version v1.1, sending the version model of the transmission protocol to the second Bluetooth equipment, and initiating Bluetooth communication connection based on an RFCOMM channel transmission mode after the second Bluetooth equipment confirms that the PBAP version used by the first Bluetooth equipment is v1.1 so as to ensure that the first Bluetooth equipment and the second Bluetooth equipment can stably carry out data communication.
A link establishing module 103, configured to establish a communication connection with the second bluetooth device based on the transmission protocol type.
In one embodiment, the first bluetooth device and the second bluetooth device have two different communication connection modes based on different transmission protocols, when the first bluetooth device and the second bluetooth device perform connection communication based on a default transmission protocol, the first bluetooth device can monitor the information transmission state of a communication link, when the transmission state is determined to be abnormal (such as abnormal communication interruption or continuous interruption for more than 2 times within 10 seconds), the identifier of the second bluetooth device is recorded in a created blacklist, when the first bluetooth device and the second bluetooth device are connected again, an information inquiry request sent by the second bluetooth device is received, if the identifier of the second bluetooth device carried by the information inquiry request is determined to be recorded in the blacklist, a transmission protocol version corresponding to the other transmission protocol communication connection mode is selected, and the transmission protocol version is sent to the second bluetooth device so that the first bluetooth device and the second bluetooth device establish connection based on the second bluetooth device I.e. a communication connection of the transport protocol in a non-default form. For example, the first bluetooth device and the second bluetooth device may establish a communication connection based on an L2cap Channel and an RFCOMM Channel, and the second bluetooth device initiates the communication connection based on the L2cap Channel by default, and records the identifier of the second bluetooth device in a blacklist when the first bluetooth device detects that there is a connection abnormality, and establishes a communication connection based on the RFCOMM Channel and the second bluetooth device when the second bluetooth device can establish a communication connection with the first bluetooth device again. Wherein, RFCOMM is a serial linear simulation protocol based on the european telecommunications standards institute ETSI07.10 specification, which provides RS232 control and status signals, such as damage, CTS, and data signals on baseband, and provides a transmission capability for upper layer services; the L2cap is a short name of Logical Link Control and Adaptation Protocol, that is, a Logical Link Control and Adaptation Protocol, and is a core Protocol in the bluetooth system, and is responsible for adapting an upper layer Protocol in a baseband. It should be noted that, the above-mentioned switching and use of two protocols are only used as examples, and the present solution is applicable to automatic switching between bluetooth devices in which two or more transmission protocols exist.
According to the above, in the communication process of the bluetooth device, the bluetooth device selects a reasonable transmission protocol type according to the information inquiry request sent by the connected device, and establishes a communication connection based on the transmission protocol type, so that the communication between the bluetooth devices is more stable, and the information transmission is more efficient.
In a possible embodiment, the link transmission processing module 102 is specifically configured to:
and selecting the used transmission protocol version according to the stored blacklist and the identifier of the second Bluetooth device carried in the information inquiry request.
In a possible embodiment, the exception handling module 104 is configured to monitor an information transmission state of a communication link during a communication process, and record an identifier of a bluetooth device connected to the first bluetooth device in a locally stored blacklist when the information transmission state meets a first preset condition;
the link transmission processing module 102 is specifically configured to:
and selecting the used transmission protocol version according to the blacklist and the identification of the second Bluetooth equipment carried in the information inquiry request.
In a possible embodiment, the link transmission processing module 102 is specifically configured to:
the first Bluetooth device analyzes the information inquiry request, determines a second transmission protocol version model used by the second Bluetooth device according to an analysis result, and selects a first transmission protocol version used according to the second transmission protocol version model.
In a possible embodiment, the information query receiving module 101 is specifically configured to:
receiving an information inquiry request sent by a second Bluetooth device, wherein the information inquiry request is that the second Bluetooth device monitors the information transmission rate of a communication link, and the information inquiry request is sent when the information transmission rate meets a second preset condition, and the first Bluetooth device is connected with the second Bluetooth device through a Bluetooth network.
In one possible embodiment, the apparatus further comprises an upgrade module 105 for:
after the first Bluetooth device establishes the communication connection based on the transmission protocol type, if the first Bluetooth device determines that the transmission protocol type meets a third preset condition, a firmware program is sent to the second Bluetooth device, and the firmware program is used for the second Bluetooth device to repair or upgrade the firmware.
In this embodiment, a terminal device is provided on the basis of the foregoing embodiments, and fig. 7 is a schematic structural diagram of a terminal device provided in an embodiment of the present application, and as shown in fig. 7, the terminal device 200 includes: memory 201, processor (CPU) 202, peripheral interfaces 203, RF (Radio Frequency) circuitry 205, audio circuitry 206, speaker 211, power management chip 208, input/output (I/O) subsystem 209, touch screen 212, bluetooth module 213, other input/control devices 210, and external port 204, which communicate via one or more communication buses or signal lines 207.
It should be understood that the illustrated terminal device 200 is only one example of a terminal device, and that the terminal device 200 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail a terminal device for rights management of multi-open applications provided in this embodiment, where the terminal device is a smart phone as an example.
A memory 201, the memory 201 being accessible by the CPU202, the peripheral interface 203, and the like, the memory 201 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 203, said peripheral interface 203 may connect input and output peripherals of the device to the CPU202 and the memory 201.
A bluetooth module 213, said bluetooth module 213 being accessible by the CPU202 for network communication connection with bluetooth modules of other devices.
An I/O subsystem 209, the I/O subsystem 209 may connect input and output peripherals on the device, such as a touch screen 212 and other input/control devices 210, to the peripheral interface 203. The I/O subsystem 209 may include a display controller 2091 and one or more input controllers 2092 for controlling the other input/control devices 210. Where one or more input controllers 2092 receive electrical signals from or transmit electrical signals to other input/control devices 210, the other input/control devices 210 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is noted that the input controller 2092 may be coupled to any one of: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 212, the touch screen 212 being an input interface and an output interface between the user terminal and the user, displaying visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 2091 within the I/O subsystem 209 receives electrical signals from the touch screen 212 or transmits electrical signals to the touch screen 212. The touch screen 212 detects a contact on the touch screen, and the display controller 2091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 212, i.e., implements a human-machine interaction, and the user interface object displayed on the touch screen 212 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 205 is mainly used to establish communication between the mobile phone and the wireless network (i.e., network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, the RF circuitry 205 receives and transmits RF signals, also referred to as electromagnetic signals, through which the RF circuitry 205 converts electrical signals to or from electromagnetic signals and communicates with communication networks and other devices. RF circuitry 205 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 206 is mainly used to receive audio data from the peripheral interface 203, convert the audio data into an electric signal, and transmit the electric signal to the speaker 211.
And a speaker 211 for reproducing the voice signal received by the handset from the wireless network through the RF circuit 205 into sound and playing the sound to the user.
And the power management chip 208 is used for supplying power and managing power to the hardware connected with the CPU202, the I/O subsystem and the peripheral interface.
The bluetooth device communication control apparatus of a terminal device and the terminal device provided in the foregoing embodiments may execute the bluetooth device communication control method of a terminal device provided in any embodiment of the present invention, and have corresponding functional modules and beneficial effects for executing the method. For details of the bluetooth device communication control method of the terminal device, reference may be made to any embodiment of the present invention without detailed description in the above embodiments.
Embodiments of the present application further provide a storage medium containing terminal device executable instructions, which when executed by a terminal device processor, are configured to perform a bluetooth device communication control method, where the method includes:
a first Bluetooth device receives an information inquiry request sent by a second Bluetooth device;
the first Bluetooth device selects a used transmission protocol version according to the information inquiry request, and sends the transmission protocol version model to the second Bluetooth device, so that the second Bluetooth device determines a corresponding transmission protocol type according to the transmission protocol version model;
the first Bluetooth device and the second Bluetooth device establish a communication connection based on the transmission protocol type.
In one possible embodiment, the selecting, by the first bluetooth device, the transmission protocol version to use according to the information inquiry request includes:
and the first Bluetooth equipment selects the used transmission protocol version according to the stored blacklist and the identification of the second Bluetooth equipment carried in the information inquiry request.
In one possible embodiment, before the first bluetooth device selects the transmission protocol version to be used according to the information inquiry request, the method further includes:
in the communication process, the first Bluetooth device monitors the information transmission state of a communication link, and when the information transmission state meets a first preset condition, the identifier of the Bluetooth device connected with the first Bluetooth device is recorded in a locally stored blacklist.
In one possible embodiment, the selecting, by the first bluetooth device, the transmission protocol version to use according to the information inquiry request includes:
the first Bluetooth device analyzes the information inquiry request, determines a second transmission protocol version model used by the second Bluetooth device according to an analysis result, and selects a first transmission protocol version used according to the second transmission protocol version model.
In one possible embodiment, the receiving, by the first bluetooth device, the information inquiry request sent by the second bluetooth device includes:
the second Bluetooth device monitors the information transmission rate of a communication link, and when the information transmission rate meets a second preset condition, the second Bluetooth device sends an information inquiry request to the first Bluetooth device, and the first Bluetooth device receives the information inquiry request, wherein the first Bluetooth device is connected with the second Bluetooth device through a Bluetooth network.
In one possible embodiment, after the first bluetooth device establishes the communication connection based on the transmission protocol type, the method further includes:
and if the first Bluetooth device determines that the transmission protocol type meets a third preset condition, sending a firmware program to the second Bluetooth device for the second Bluetooth device to repair or upgrade the firmware.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the bluetooth device communication control method described above, and may also perform related operations in the bluetooth device communication control method provided in any embodiment of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (8)
1. A communication control method for a bluetooth device, comprising:
a first Bluetooth device receives an information inquiry request sent by a second Bluetooth device;
the first Bluetooth device selects a used transmission protocol version according to the information inquiry request, and sends the transmission protocol version model to the second Bluetooth device, so that the second Bluetooth device determines a corresponding transmission protocol type according to the transmission protocol version model;
the first Bluetooth device and the second Bluetooth device establish a communication connection based on the transmission protocol type;
the selecting, by the first bluetooth device, the transmission protocol version to use according to the information inquiry request includes:
the first Bluetooth device selects a used transmission protocol version according to a stored blacklist and the identification of the second Bluetooth device carried in the information inquiry request;
after the first bluetooth device establishes the communication connection based on the transmission protocol type, the method further includes:
and if the first Bluetooth device determines that the transmission protocol type meets a third preset condition, sending a firmware program to the second Bluetooth device for the second Bluetooth device to repair or upgrade the firmware.
2. The method of claim 1, further comprising, before the first bluetooth device selects the transmission protocol version to use according to the information inquiry request:
in the communication process, the first Bluetooth device monitors the information transmission state of a communication link, and when the information transmission state meets a first preset condition, the identifier of the Bluetooth device connected with the first Bluetooth device is recorded in a locally stored blacklist.
3. The method of claim 1, wherein selecting, by the first bluetooth device, a transmission protocol version to use based on the information query request comprises:
the first Bluetooth device analyzes the information inquiry request, determines a second transmission protocol version model used by the second Bluetooth device according to an analysis result, and selects a first transmission protocol version used according to the second transmission protocol version model.
4. The method of any of claims 1-3, wherein receiving, by the first Bluetooth device, an information query request sent by a second Bluetooth device comprises:
the second Bluetooth device monitors the information transmission rate of a communication link, and when the information transmission rate meets a second preset condition, the second Bluetooth device sends an information inquiry request to the first Bluetooth device, and the first Bluetooth device receives the information inquiry request, wherein the first Bluetooth device is connected with the second Bluetooth device through a Bluetooth network.
5. Bluetooth equipment communication control device, its characterized in that sets up in first bluetooth equipment, includes:
the information inquiry receiving module is used for receiving an information inquiry request sent by the second Bluetooth equipment;
the link transmission processing module is used for selecting a used transmission protocol version according to the stored blacklist and the identifier of the second Bluetooth device carried in the information inquiry request, sending the transmission protocol version model to the second Bluetooth device and determining a corresponding transmission protocol type by the second Bluetooth device according to the transmission protocol version model;
a link establishing module for establishing a communication connection with the second Bluetooth device based on the transmission protocol type;
and the upgrading module is used for sending a firmware program to the second Bluetooth equipment for the second Bluetooth equipment to repair or upgrade the firmware if the transmission protocol type is determined to meet a third preset condition after the communication connection based on the transmission protocol type is established.
6. The apparatus of claim 5, further comprising:
and the exception handling module is used for monitoring the information transmission state of a communication link in the communication process, and recording the identifier of the Bluetooth equipment connected with the first Bluetooth equipment in a locally stored blacklist when the information transmission state meets a first preset condition.
7. A terminal device, comprising: a processor, a memory, and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program implements:
receiving an information inquiry request sent by second Bluetooth equipment;
selecting a transmission protocol version to be used according to the information query request, and sending the transmission protocol version model to the second Bluetooth equipment, so that the second Bluetooth equipment determines a corresponding transmission protocol type according to the transmission protocol version model;
establishing a communication connection with the second Bluetooth device based on the transmission protocol type;
the selecting the transmission protocol version to be used according to the information query request comprises:
selecting a used transmission protocol version according to the stored blacklist and the identifier of the second Bluetooth device carried in the information inquiry request;
after the establishing of the communication connection based on the transmission protocol type, the method further includes:
and if the transmission protocol type is determined to meet a third preset condition, sending a firmware program to the second Bluetooth equipment for the second Bluetooth equipment to repair or upgrade the firmware.
8. A storage medium containing terminal device-executable instructions, which when executed by a terminal device processor, are configured to perform:
receiving an information inquiry request sent by second Bluetooth equipment;
selecting a transmission protocol version to be used according to the information query request, and sending the transmission protocol version model to the second Bluetooth equipment, so that the second Bluetooth equipment determines a corresponding transmission protocol type according to the transmission protocol version model;
establishing a communication connection with the second Bluetooth device based on the transmission protocol type;
the selecting the transmission protocol version to be used according to the information query request comprises:
selecting a used transmission protocol version according to the stored blacklist and the identifier of the second Bluetooth device carried in the information inquiry request;
after the establishing of the communication connection based on the transmission protocol type, the method further includes:
and if the transmission protocol type is determined to meet a third preset condition, sending a firmware program to the second Bluetooth equipment for the second Bluetooth equipment to repair or upgrade the firmware.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711241167.7A CN107889092B (en) | 2017-11-30 | 2017-11-30 | Bluetooth device communication control method, device, terminal device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711241167.7A CN107889092B (en) | 2017-11-30 | 2017-11-30 | Bluetooth device communication control method, device, terminal device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107889092A CN107889092A (en) | 2018-04-06 |
CN107889092B true CN107889092B (en) | 2021-03-12 |
Family
ID=61776349
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711241167.7A Active CN107889092B (en) | 2017-11-30 | 2017-11-30 | Bluetooth device communication control method, device, terminal device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107889092B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108833225A (en) * | 2018-06-01 | 2018-11-16 | 广东美的制冷设备有限公司 | Household appliance and its means of communication, device and computer readable storage medium |
CN109495871B (en) * | 2018-12-20 | 2022-02-18 | Oppo广东移动通信有限公司 | Bluetooth connection control method, electronic device and computer readable storage medium |
CN110213789B (en) * | 2019-05-09 | 2022-06-07 | Oppo广东移动通信有限公司 | Bluetooth connection method, terminal device, Bluetooth device, and computer storage medium |
CN110730439B (en) * | 2019-09-02 | 2022-09-20 | 苏宁智能终端有限公司 | Method and device for dynamically connecting Bluetooth equipment |
CN110636526B (en) * | 2019-09-27 | 2023-10-24 | Tcl移动通信科技(宁波)有限公司 | NFC communication detection method, NFC communication detection device, computer-readable storage medium and terminal |
CN111542098B (en) * | 2020-05-20 | 2022-08-26 | 青岛海信智慧生活科技股份有限公司 | Communication connection method of ZigBee device and related device |
CN111741457B (en) * | 2020-07-16 | 2023-06-09 | Oppo广东移动通信有限公司 | Bluetooth communication method and device and computer readable storage medium |
CN114339696A (en) * | 2020-09-30 | 2022-04-12 | 华为技术有限公司 | Bluetooth communication system, Bluetooth connection method, electronic device, and storage medium |
CN112616119B (en) * | 2021-01-25 | 2022-09-02 | 国网浙江省电力有限公司营销服务中心 | Bluetooth mode uplink communication method for electric energy meter |
CN113301113B (en) * | 2021-04-12 | 2022-06-10 | 荣耀终端有限公司 | Profile version determination method, system, electronic equipment and computer storage medium |
CN113518333B (en) * | 2021-05-12 | 2024-02-13 | 珠海极海半导体有限公司 | Data transparent transmission method and device, bluetooth device and BLE chip |
CN113490194B (en) * | 2021-08-02 | 2024-07-30 | Oppo广东移动通信有限公司 | Bluetooth-based device connection method and device, electronic device and storage medium |
CN113645599B (en) * | 2021-08-13 | 2024-10-22 | 联想(北京)有限公司 | Information processing method based on electronic equipment interaction and first electronic equipment |
CN114827166A (en) * | 2022-02-28 | 2022-07-29 | 锐捷网络股份有限公司 | Device control method, device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104298527A (en) * | 2014-09-30 | 2015-01-21 | 小米科技有限责任公司 | Processing method and derive of application updating |
CN106211361A (en) * | 2016-08-01 | 2016-12-07 | 惠州Tcl移动通信有限公司 | A kind of mobile terminal bluetooth compatibility processing method and system |
CN106681774A (en) * | 2016-12-30 | 2017-05-17 | Tcl通力电子(惠州)有限公司 | Software upgrading method of Bluetooth loudspeaker and intelligent terminal |
CN107404705A (en) * | 2017-08-14 | 2017-11-28 | 拉卡拉支付股份有限公司 | Automatically determine the method, equipment and storage medium of Bluetooth communication parameter |
CN107404340A (en) * | 2017-08-29 | 2017-11-28 | 广东欧珀移动通信有限公司 | Transmission method, device, terminal and the storage medium of Bluetooth audio frequency data |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7673066B2 (en) * | 2003-11-07 | 2010-03-02 | Sony Corporation | File transfer protocol for mobile computer |
-
2017
- 2017-11-30 CN CN201711241167.7A patent/CN107889092B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104298527A (en) * | 2014-09-30 | 2015-01-21 | 小米科技有限责任公司 | Processing method and derive of application updating |
CN106211361A (en) * | 2016-08-01 | 2016-12-07 | 惠州Tcl移动通信有限公司 | A kind of mobile terminal bluetooth compatibility processing method and system |
CN106681774A (en) * | 2016-12-30 | 2017-05-17 | Tcl通力电子(惠州)有限公司 | Software upgrading method of Bluetooth loudspeaker and intelligent terminal |
CN107404705A (en) * | 2017-08-14 | 2017-11-28 | 拉卡拉支付股份有限公司 | Automatically determine the method, equipment and storage medium of Bluetooth communication parameter |
CN107404340A (en) * | 2017-08-29 | 2017-11-28 | 广东欧珀移动通信有限公司 | Transmission method, device, terminal and the storage medium of Bluetooth audio frequency data |
Also Published As
Publication number | Publication date |
---|---|
CN107889092A (en) | 2018-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107889092B (en) | Bluetooth device communication control method, device, terminal device and storage medium | |
US20210243831A1 (en) | Method for establishing classic bluetooth connection between dual-mode bluetooth devices, and dual-mode bluetooth device | |
US9510163B2 (en) | Method and apparatus for managing a group profile in a Wi-Fi direct communication system | |
EP2649859B1 (en) | Automatically enabling wireless communication | |
CN110278550B (en) | Portable device, portable apparatus, and computer-readable medium | |
CN107770759B (en) | Bluetooth voice link establishing method and device, storage medium and mobile terminal | |
US9369858B2 (en) | Wi-Fi P2P communication terminal device and communication method thereof | |
US20130058310A1 (en) | Apparatus and method for setting channel in wireless network | |
CN108024128B (en) | Control method and device for Bluetooth music playing, terminal equipment and storage medium | |
CN116719423A (en) | Peripheral computing device | |
CN108347719B (en) | Bluetooth device connection method, device, storage medium, mobile terminal and server | |
US10863559B2 (en) | Method and apparatus for communicating in a wireless communication network | |
US9258672B2 (en) | Short-range wireless communication device | |
CN108093451B (en) | Random access control method, device, storage medium and mobile terminal | |
WO2021022720A1 (en) | Bluetooth-based data transmission method, storage medium and terminal | |
WO2021239032A1 (en) | Bluetooth protocol connection method and apparatus, storage medium, and related device | |
CN107885588B (en) | Application service control method and device, storage medium and mobile terminal | |
WO2018120032A1 (en) | Cell switching method and terminal device | |
CN108449787B (en) | Connection control method and device and electronic equipment | |
CN108307485B (en) | Wireless network scanning method and device, terminal equipment and storage medium | |
CN113840269A (en) | Multimedia data transmission method and device, electronic equipment and storage medium | |
CN111885591A (en) | Network connection method, device, storage medium and terminal | |
CN108337715B (en) | Wireless network connection method, device, terminal equipment and storage medium | |
CN114173321B (en) | Equipment communication connection establishment method and equipment communication system | |
CN108989576B (en) | Variable value adjustment method and device, storage medium and mobile terminal |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |