CN108347719B - Bluetooth device connection method, device, storage medium, mobile terminal and server - Google Patents

Bluetooth device connection method, device, storage medium, mobile terminal and server Download PDF

Info

Publication number
CN108347719B
CN108347719B CN201810117192.2A CN201810117192A CN108347719B CN 108347719 B CN108347719 B CN 108347719B CN 201810117192 A CN201810117192 A CN 201810117192A CN 108347719 B CN108347719 B CN 108347719B
Authority
CN
China
Prior art keywords
mobile terminal
bluetooth
preset
white list
target
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
Application number
CN201810117192.2A
Other languages
Chinese (zh)
Other versions
CN108347719A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810117192.2A priority Critical patent/CN108347719B/en
Publication of CN108347719A publication Critical patent/CN108347719A/en
Application granted granted Critical
Publication of CN108347719B publication Critical patent/CN108347719B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a Bluetooth device connection method, a Bluetooth device connection device, a storage medium, a mobile terminal and a server. The method comprises the following steps: acquiring a target device identification of a target Bluetooth device; when the target equipment identification is judged to be matched with the preset blacklist, reading the preset white list; and if the target equipment identification is matched with the preset white list, determining that the target equipment identification is matched with the preset black list to be invalid, and adopting the default connection strategy to carry out communication connection with the target Bluetooth equipment. By adopting the technical scheme, the problem of connection compatibility of the Bluetooth equipment caused by the fact that the preset blacklist cannot be changed after the mobile terminal leaves a factory can be solved, the mobile terminal and the target Bluetooth equipment can be connected in a better matching mode, and data interaction performance is improved.

Description

Bluetooth device connection method, device, storage medium, mobile terminal and server
Technical Field
The embodiment of the application relates to the technical field of Bluetooth, in particular to a Bluetooth device connection method, a Bluetooth device connection device, a storage medium, a mobile terminal and a server.
Background
Bluetooth (BT) is a low power consumption wireless connection technology, and can implement short-distance data exchange between fixed equipment, mobile equipment and a building personal area network, such as implementing transmission of audio and broadcast information across equipment.
Currently, Bluetooth is managed by the Bluetooth Special Interest Group (SIG for short). The bluetooth consortium has over 25,000 member companies worldwide, which are distributed in multiple areas of telecommunications, computers, networks, and consumer electronics. The manufacturer's devices must conform to the standards of the bluetooth alliance in order to enter the market under the name of "bluetooth devices".
With the rapid popularization of bluetooth technology, most of various electronic devices around people support bluetooth, such as mobile terminals like mobile phones and tablet computers, bluetooth headsets, vehicle-mounted bluetooth, bluetooth speakers, and the like. Different bluetooth devices may adopt different types of communication protocols, such as HFP (portable-free Profile) protocol, bluetooth Audio Distribution Profile (A2 DP) protocol, etc., and the same type of communication protocol may have different versions as the technology develops, so the communication connection between the bluetooth devices may have some compatibility problems and needs to be improved.
Disclosure of Invention
The embodiment of the application provides a Bluetooth device connection method, a Bluetooth device connection device, a storage medium, a mobile terminal and a server, and can optimize a connection scheme of the mobile terminal and the Bluetooth device.
In a first aspect, an embodiment of the present application provides a bluetooth device connection method, which is applied to a mobile terminal, and includes:
acquiring a target device identification of a target Bluetooth device;
when the target equipment identifier is judged to be matched with a preset blacklist, reading a preset white list; the preset blacklist comprises a blacklist of the Bluetooth equipment which is stored in the mobile terminal and is not changed after leaving a factory, when the equipment identification of the Bluetooth equipment to be connected is matched with the preset blacklist, a standby connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected, and otherwise, a default connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected; the preset white list comprises a Bluetooth device white list pushed to the mobile terminal by the server;
and if the target equipment identification is matched with the preset white list, determining that the target equipment identification is matched with the preset black list inefficiently, and adopting the default connection strategy to carry out communication connection with the target Bluetooth equipment.
In a second aspect, an embodiment of the present application provides a bluetooth device connection method, which is applied to a server, and includes:
receiving a problem report sent by a mobile terminal, wherein the problem report comprises a report generated by the mobile terminal according to problem feedback information input by a user, and the problem report comprises a device identifier of a Bluetooth device with a connection problem with the mobile terminal;
generating a preset white list according to the problem report;
pushing the preset white list to the mobile terminal; the preset white list is used for indicating the mobile terminal to determine that the matching of the target equipment identification and the preset black list is invalid when the mobile terminal judges that the target equipment identification of the target Bluetooth equipment is matched with the preset black list and is also matched with the preset white list, and a default connection strategy is adopted to carry out communication connection with the target Bluetooth equipment; the preset blacklist comprises a blacklist of the Bluetooth equipment which is stored in the mobile terminal and can not be changed after leaving a factory, when the equipment identification of the Bluetooth equipment to be connected is matched with the preset blacklist, a standby connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected, and otherwise, a default connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected.
In a third aspect, an embodiment of the present application provides a connection apparatus for a bluetooth device, configured in a mobile terminal, including:
the device identification acquisition module is used for acquiring a target device identification of the target Bluetooth device;
the white list reading module is used for reading a preset white list when the target equipment identifier is judged to be matched with the preset black list; the preset blacklist comprises a blacklist of the Bluetooth equipment which is stored in the mobile terminal and is not changed after leaving a factory, when the equipment identification of the Bluetooth equipment to be connected is matched with the preset blacklist, a standby connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected, and otherwise, a default connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected; the preset white list comprises a Bluetooth device white list pushed to the mobile terminal by the server;
and the connection control module is used for determining that the matching of the target equipment identifier and the preset blacklist is invalid when the target equipment identifier is matched with the preset white list, and performing communication connection with the target Bluetooth equipment by adopting the default connection strategy.
In a fourth aspect, an embodiment of the present application provides a connection apparatus for a bluetooth device, configured in a server, including:
the problem report receiving module is used for receiving a problem report sent by a mobile terminal, wherein the problem report comprises a report generated by the mobile terminal according to problem feedback information input by a user, and the problem feedback information comprises a device identifier of a Bluetooth device with a connection problem with the mobile terminal;
the white list generating module is used for generating a preset white list according to the problem report;
the white list pushing module is used for pushing the preset white list to the mobile terminal, wherein the preset white list is used for indicating that when the mobile terminal judges that the target equipment identifier of the target Bluetooth equipment is matched with a preset black list and is also matched with the preset white list, the matching failure of the target equipment identifier and the preset black list is determined, and a default connection strategy is adopted for carrying out communication connection with the target Bluetooth equipment; the preset blacklist comprises a blacklist of the Bluetooth equipment which is stored in the mobile terminal and can not be changed after leaving a factory, when the equipment identification of the Bluetooth equipment to be connected is matched with the preset blacklist, a standby connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected, and otherwise, a default connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected.
In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the bluetooth device connection method according to the first aspect of the embodiment of the present application.
In a sixth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the bluetooth device connection method according to the second aspect of the embodiments of the present application.
In a seventh aspect, an embodiment of the present application provides a mobile terminal, including a memory, a processor, and a computer program stored on the memory and executable by the processor, where the processor executes the computer program to implement the bluetooth device connection method according to the first aspect of the embodiment of the present application.
In an eighth aspect, an embodiment of the present application provides a server, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the bluetooth device connection method according to the second aspect of the embodiment of the present application.
According to the connection scheme of the Bluetooth device, when the mobile terminal needs to be in communication connection with the target Bluetooth device, the target device identification of the target Bluetooth device is obtained, when the target device identification is judged to be matched with the preset blacklist stored before the mobile terminal leaves a factory, the preset white list is read, if the target device identification is matched with the preset white list, the target device identification is determined to be invalid in matching with the preset blacklist, and a default connection strategy is adopted to be in communication connection with the target Bluetooth device. By adopting the technical scheme, the problem of connection compatibility of the Bluetooth equipment caused by the fact that the preset blacklist cannot be changed after the mobile terminal leaves a factory can be solved, the mobile terminal and the target Bluetooth equipment can be connected in a better matching mode, and data interaction performance is improved.
Drawings
Fig. 1 is a schematic flowchart of a bluetooth device connection method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another bluetooth device connection method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another bluetooth device connection method according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a method for connecting a bluetooth device according to an embodiment of the present application;
fig. 5 is a signaling diagram of interaction between a mobile terminal and a server according to an embodiment of the present application;
fig. 6 is a block diagram of a connection apparatus of a bluetooth device according to an embodiment of the present disclosure;
fig. 7 is a block diagram of another connection apparatus of a bluetooth device according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of another mobile terminal according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
The technical scheme of the application is further explained by the specific implementation mode in combination with the attached drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart illustrating a bluetooth device connection method according to an embodiment of the present disclosure, where the method may be performed by a connection apparatus of a bluetooth device, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in a mobile terminal. As shown in fig. 1, the method includes:
step 101, acquiring a target device identifier of a target Bluetooth device.
For example, the mobile terminal in the embodiment of the present application may include a mobile device with a bluetooth connection function, such as a mobile phone, a tablet computer, a smart watch, a smart speaker, and a media player. The Bluetooth device can comprise devices with Bluetooth connection functions, such as a mobile phone, a tablet computer, an intelligent watch, an intelligent sound box, a media player, a Bluetooth headset, vehicle-mounted Bluetooth and the like. The mobile terminal and the bluetooth device may be the same type of device or different types of devices, which is not limited in this embodiment of the application.
In this application, the target bluetooth device may be a bluetooth device with which the mobile terminal currently wants to establish a communication connection, for example, a bluetooth device successfully paired with the mobile terminal, and successful pairing may be understood as passing authentication. Generally, after the bluetooth function is turned on, the mobile terminal may find nearby discovered bluetooth devices, which may include a once connected bluetooth device and an unconnected bluetooth device, where the unconnected bluetooth device needs to be paired, and the once connected bluetooth device is generally a bluetooth device trusted by a user, and may be considered as successful pairing.
For example, the device id may be a bluetooth device address of a bluetooth device, which currently consists of 6 bytes (bytes), i.e. 48 bits (bit), for uniquely identifying the identity of a bluetooth device, wherein the high-byte 3 bytes (24 bits) are allocated by the bluetooth alliance to the bluetooth device manufacturer, and the low-byte 3 bytes (24 bits) are set by the bluetooth device manufacturer. Generally, a bluetooth device manufacturer will apply for the same 3byte from the bluetooth alliance for products of the same series or model, which is determined by the bluetooth device manufacturer, and the application is not limited. The low-byte 3byte can be set by a bluetooth device manufacturer according to its own needs, and specifically includes a product model, a product batch, a production date, product configuration parameters (such as a processor model, memory capacity, body color, and the like), and may further include some digital codes and the like, and finally obtains a unique bluetooth device address for identifying the unique bluetooth device.
And 102, reading a preset white list when the target equipment identifier is judged to be matched with the preset black list.
The preset blacklist comprises a blacklist of the Bluetooth equipment which is stored in the mobile terminal and is not changed after leaving a factory, when the equipment identification of the Bluetooth equipment to be connected is matched with the preset blacklist, a standby connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected, and otherwise, a default connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected; the preset white list comprises a Bluetooth device white list pushed to the mobile terminal by the server. The bluetooth device blacklist may include all or a portion of the device identification of the bluetooth device.
At present, the types of bluetooth devices supporting the bluetooth function are increasing, different bluetooth devices may adopt different types of communication protocols, and the same type of communication protocol may have different versions along with the technical development, so that the compatibility problem is very easy to occur between different bluetooth devices, and the compatibility problem may cause data transmission errors or even connection failures. By taking a smart phone and a vehicle-mounted bluetooth which support the bluetooth function as an example, when the smart phone and the vehicle-mounted bluetooth have compatibility problems, communication connection between the smart phone and the vehicle-mounted bluetooth cannot be established, and also, data transmitted due to mismatching of coding and decoding algorithms cannot be decoded normally, so that the problems that no sound exists during vehicle-mounted communication or music on the smart phone cannot be played through the vehicle-mounted bluetooth and the like occur. Mobile terminal manufacturers generally summarize and analyze known device compatibility problems before the mobile terminals leave factories, find out bluetooth devices having compatibility problems with bluetooth communication protocol versions adopted by the mobile terminals at home, determine corresponding solutions, namely, backup connection strategies, and finally form a bluetooth device blacklist. For example, when the bluetooth devices in the bluetooth device blacklist can solve the compatibility problem by using the same backup connection policy, the preset blacklist may include the bluetooth device blacklist; when the bluetooth devices in the bluetooth device blacklist need to adopt different backup connection strategies to solve the compatibility problem, the preset blacklist may also include a backup connection strategy corresponding to the bluetooth device in addition to the bluetooth device blacklist. For Bluetooth devices outside the Bluetooth device blacklist, a default connection strategy can be adopted for connection.
For example, the default connection policy may be to adopt a default version of a communication protocol in the mobile terminal to perform communication connection with the bluetooth device; and a default coding and decoding mode (generally higher coding and decoding efficiency and less information loss) in the mobile terminal can be adopted to transmit data. The standby connection strategy can be that after the communication protocol of the default version is adjusted, for example, the communication protocol of the default version is encapsulated into the communication protocol of a lower version or the extended function in the default version is shielded, and the communication is carried out with the Bluetooth device by adopting the adjusted communication protocol; alternative codec schemes (which may be relatively inefficient or have some information loss) may also be used to transmit data. Of course, the default connection policy and the backup connection policy may also include other contents, and those skilled in the art may set the connection policy according to the actual situation, and the above contents are only used as an illustrative description, and the present application does not limit this.
In the related art, the preset blacklist is configured in the mobile terminal before shipment and is not changeable after shipment. The inventor finds that some problems may occur, the bluetooth devices listed in the preset blacklist are generally different types of devices or devices of different manufacturers from the mobile terminal, the updating or upgrading and other conditions of the bluetooth devices are not mastered or known by the mobile terminal manufacturer, after the mobile terminal leaves the factory, the bluetooth devices in the preset blacklist may be upgraded after a period of time, the bluetooth communication version is changed, the connection with the mobile terminal is not suitable for a standby connection strategy, the compatibility problem may occur instead by adopting the standby connection strategy, the normal connection may occur by adopting the default connection strategy, and the compatibility problem may not occur. If the mobile terminal still adopts the original connection mode based on the preset blacklist mechanism, the compatibility problem may occur, and poor use experience is brought to the user.
In addition, the inventor has also found that the device identification generally includes the bluetooth device address of the bluetooth device, and the preset blacklist includes the first 24 bits, i.e. 3 bytes higher, of the bluetooth device address. The manufacturer of the bluetooth device may apply the same 3byte to the bluetooth alliance for the same series of products, and different models of products in the same series may be configured differently, for example, bluetooth chips from different manufacturers are used, so the bluetooth protocol versions may be different. For example, an automobile manufacturer applies the same 3 bytes as the upper 3 bytes in the address of the bluetooth device for the same series of automobiles, the first sold model X1 uses a bluetooth chip a, the corresponding bluetooth communication protocol version is a, the mobile terminal manufacturer lists the 3 bytes applied by the automobile manufacturer in a preset blacklist before leaving the factory, and connects with the same by using a backup connection strategy, and after leaving the factory, the automobile manufacturer sells the same series of automobiles with model X2, uses B bluetooth chip and B corresponding bluetooth communication protocol version, and the version B is not suitable for establishing connection with the mobile terminal by using the backup connection strategy, which may cause compatibility problems, but the preset blacklist in the mobile terminal cannot be changed, and the mobile terminal still uses the backup connection strategy to establish connection with the automobile with model X2, the user experience is also poor.
In order to overcome the problem that the preset blacklist cannot be changed after the mobile terminal leaves a factory, the preset white list is added, and the background server corresponding to the mobile terminal pushes the preset white list to the mobile terminal. The preset white list can be maintained by a mobile terminal manufacturer through a server, can be updated in time through user feedback or market research and other modes, and is pushed to a specific mobile terminal held by a specific user. And listing the Bluetooth equipment which has compatibility problems when a standby connection strategy is adopted in a preset blacklist in a preset white list. When the target device identification is judged to be matched with the preset blacklist, the standby connection strategy is not directly adopted to carry out communication connection with the target Bluetooth device, but the preset white list is read firstly, and after subsequent judgment, which connection strategy is adopted is determined.
For example, if it is determined that the target device identifier does not match the preset blacklist, a default connection policy may be adopted to perform communication connection with the target bluetooth device.
And 103, if the target equipment identification is matched with the preset white list, determining that the target equipment identification is matched with the preset black list inefficiently, and performing communication connection with the target Bluetooth equipment by adopting the default connection strategy.
In the embodiment of the application, if the target device identifier is matched with the preset white list, the previous matching with the preset black list is considered to be invalid, a standby connection strategy is not adopted to be in communication connection with the target bluetooth device, but a default connection strategy is adopted to be in communication connection with the target bluetooth device, so that the compatibility problem caused by the standby connection strategy is avoided.
Optionally, the preset blacklist includes the first 24 bits of the address of the bluetooth device, and the preset white list includes at least the first 24 bits of the address of the bluetooth device. For example, the default white list may include the first 24 bits of the bluetooth device address, or may include the first 25 bits or more. The advantage of this is that the preset white list can be set more specifically. Taking the above automobiles of the same series as an example, assuming that it is known that the automobile manufacturer uses the 25 th bit of the bluetooth device address to represent the automobile model, i.e., X1 and X2, the first 25 bits corresponding to X2 can be stored in the preset white list, so that the device identifier corresponding to X1 will not match the preset white list, the matching with the preset black list is still valid, the backup connection policy will be used for communication connection, and the compatibility is better when the backup connection policy is used.
According to the connection method of the Bluetooth device, when the mobile terminal needs to be in communication connection with the target Bluetooth device, the target device identification of the target Bluetooth device is obtained, when the target device identification is judged to be matched with the preset blacklist stored before the mobile terminal leaves a factory, the preset white list is read, if the target device identification is matched with the preset white list, it is determined that the matching of the target device identification and the preset blacklist is invalid, and a default connection strategy is adopted to be in communication connection with the target Bluetooth device. By adopting the technical scheme, the problem of connection compatibility of the Bluetooth equipment caused by the fact that the preset blacklist cannot be changed after the mobile terminal leaves a factory can be solved, the mobile terminal and the target Bluetooth equipment can be connected in a better matching mode, and data interaction performance is improved.
In some embodiments, before the obtaining the target device identifier of the target bluetooth device, the method further includes: and receiving a preset white list pushed by the server. The advantage of this arrangement is that the latest preset white list can be acquired before the communication connection with the target bluetooth device is established.
Further, before the receiving the preset white list pushed by the server, the method further includes: receiving question feedback information input by a user; and generating a problem report according to the problem feedback information and sending the problem report to the server, wherein the problem report comprises equipment identification information of Bluetooth equipment with a connection problem with the mobile terminal, and is used for indicating the server to generate a preset white list according to the problem report and pushing the preset white list to the mobile terminal. For some compatibility problems, the mobile terminal may not automatically detect the compatibility problem, or the mobile terminal is not provided with a compatibility detection function, or the compatibility detection function fails, or an unknown compatibility problem exists, and the like. For example, after a user uses the mobile terminal to establish connection with the vehicle-mounted bluetooth, a song in the mobile terminal is sent to the vehicle through the bluetooth, but in the playing process of the vehicle, the sound of the song is distorted or has no abnormal conditions such as sound, and at the moment, the user can enter a problem feedback interface in the mobile terminal and input problem feedback information in the interface, so that the mobile terminal can generate a problem report according to the problem feedback information and upload the problem report to the server. Illustratively, the question feedback information may include compatibility questions described by the user in natural language, such as distortion or absence of sound. After receiving the problem feedback information, the mobile terminal acquires the equipment identification information of the Bluetooth equipment with the connection problem between the mobile terminal and the current Bluetooth equipment, generates a problem report according to the equipment identification information and the problem feedback information, and sends the problem report to the server. Therefore, the server can automatically generate the preset white list according to the problem report, or the preset white list is generated by controlling the server after the problem report is analyzed by a worker, and finally the preset white list is pushed to the mobile terminal by the server. After receiving the preset white list, the mobile terminal detects that the Bluetooth device currently existing in the preset black list still exists in the preset white list, and then the mobile terminal adopts a default connection strategy to be in communication connection with the Bluetooth device, so that the compatibility problem caused by a preset black list mechanism can be quickly solved, and the user trouble can be effectively relieved in real time.
Fig. 2 is a schematic flowchart of another bluetooth device connection method according to an embodiment of the present application, where the method includes the following steps:
step 201, receiving question feedback information input by a user.
And step 202, generating a problem report according to the problem feedback information and sending the problem report to a server.
The problem report comprises equipment identification information of Bluetooth equipment with a connection problem with the mobile terminal, and is used for indicating the server to generate a preset white list according to the problem report and pushing the preset white list to the mobile terminal.
And 203, receiving a preset white list pushed by the server.
Illustratively, the preset white list may be saved in the form of a file.
And step 204, when the mobile terminal and the target Bluetooth device are interconnected, acquiring a target device identifier of the target Bluetooth device.
Step 205, judging whether the target device identifier is matched with a preset blacklist, if so, executing step 206; otherwise, step 208 is performed.
Step 206, reading the preset white list, judging whether the target device identifier is matched with the preset white list, if so, executing step 207; otherwise, executing the step
And step 207, determining that the matching of the target equipment identifier and the preset blacklist is invalid, and performing communication connection with the target Bluetooth equipment by adopting a default connection strategy.
And step 208, adopting a default connection strategy to perform communication connection with the target Bluetooth device.
And 209, adopting a standby connection strategy to perform communication connection with the Bluetooth equipment to be connected.
According to the Bluetooth device connection method, problem feedback information input by a user is received, a problem report is generated and uploaded to a server, the server generates a preset white list according to the problem report, after the preset white list pushed by the server is received, when a mobile terminal and a target Bluetooth device are interconnected, a target device identification of the target Bluetooth device is obtained, matching conditions of the target device identification, the preset black list and the preset white list are comprehensively considered, an optimal connection strategy is finally selected to be in communication connection with the target Bluetooth device, and compatibility problems are reduced.
Fig. 3 is a flowchart of another bluetooth device connection method according to an embodiment of the present disclosure, which may be performed by a connection apparatus of a bluetooth device, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in a server. As shown in fig. 3, the method includes:
and step 301, receiving a problem report sent by the mobile terminal.
The problem report comprises a report generated by the mobile terminal according to problem feedback information input by a user, and the problem report comprises a device identifier of a Bluetooth device with a connection problem with the mobile terminal.
And step 302, generating a preset white list according to the problem report.
Step 303, pushing the preset white list to the mobile terminal.
The preset white list is used for indicating the mobile terminal to determine that the matching of the target equipment identifier and the preset black list is invalid when the mobile terminal judges that the target equipment identifier of the target Bluetooth equipment is matched with the preset black list and is also matched with the preset white list, and the mobile terminal adopts a default connection strategy to carry out communication connection with the target Bluetooth equipment; the preset blacklist comprises a blacklist of the Bluetooth equipment which is stored in the mobile terminal and can not be changed after leaving a factory, when the equipment identification of the Bluetooth equipment to be connected is matched with the preset blacklist, a standby connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected, and otherwise, a default connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected.
According to the connection method of the Bluetooth equipment, the server receives a problem report generated by the mobile terminal according to problem feedback information which is input by a user and related to the connection compatibility problem of the Bluetooth equipment, generates a preset white list according to equipment identification of the Bluetooth equipment which has a connection problem with the mobile terminal and is contained in the problem report, then pushes the preset white list to the mobile terminal, and is used for guiding the mobile terminal to comprehensively consider the matching condition of the target equipment identification with the preset black list and the preset white list when the mobile terminal needs to be interconnected with the target Bluetooth equipment, and finally selects an optimal connection strategy to be in communication connection with the target Bluetooth equipment, so that the compatibility problem is reduced.
In some embodiments, after pushing the preset white list to the mobile terminal, the method further includes: and pushing the preset white list to other mobile terminals of the same type or batch as the mobile terminal. The advantage of setting up like this is, can in time update with the preset white list in the other mobile terminals of present mobile terminal the same model or same batch. When a current user finds that the connection compatibility problem exists between the current Bluetooth device and the mobile terminal of the current user, other users using the same type or the same batch of mobile terminals of the current user may not find the compatibility problem, because other users may not purchase the Bluetooth devices of the same type or purchase the Bluetooth devices but do not perform Bluetooth connection, the embodiment of the application can update the preset white list to related users in time after one user finds the compatibility problem, so that when the mobile terminal of the related user establishes Bluetooth connection with the Bluetooth devices of the same type, the preset black list rule can be ignored according to the preset white list, the default connection strategy is used for connecting with the Bluetooth device, and the compatibility problem is avoided.
Fig. 4 is a schematic flowchart of another bluetooth device connection method according to an embodiment of the present application, where the method includes:
step 401, the mobile terminal receives the question feedback information input by the user, and generates a question report according to the question feedback information.
Step 402, the mobile terminal sends the problem report to a server.
And step 403, the server generates a preset white list according to the problem report.
Step 404, the server pushes the preset white list to the mobile terminal and other mobile terminals of the same model or the same batch as the mobile terminal.
Step 405, when the mobile terminal is interconnected with the target bluetooth device, acquiring a target device identifier of the target bluetooth device, determining that the target device identifier of the target bluetooth device is matched with a preset blacklist and is also matched with a preset white list, determining that the matching of the target device identifier and the preset blacklist is invalid, and performing communication connection with the target bluetooth device by adopting a default connection strategy.
Fig. 5 is a signaling diagram of interaction between a mobile terminal and a server according to an embodiment of the present application, and the foregoing embodiment may be understood by referring to the signaling diagram.
According to the Bluetooth device connection method provided by the embodiment of the application, the mobile terminal receives problem feedback information input by a user, generates a problem report and uploads the problem report to the server, the server generates a preset white list according to the problem report and pushes the preset white list to the mobile terminal and other mobile terminals of the same type or the same batch of the mobile terminal, after receiving the preset white list pushed by the server, the mobile terminal obtains the target device identification of the target Bluetooth device when initiating interconnection with the target Bluetooth device, the matching condition of the target device identification, the preset black list and the preset white list is comprehensively considered, the optimal connection strategy is finally selected to be in communication connection with the target Bluetooth device, and the occurrence of compatibility problems is reduced.
Fig. 6 is a block diagram of a connection apparatus for a bluetooth device according to an embodiment of the present disclosure, where the connection apparatus may be implemented by software and/or hardware, and is generally integrated in a mobile terminal, and may perform a communication connection with the bluetooth device by performing a connection method for the bluetooth device. As shown in fig. 6, the apparatus includes:
an apparatus identifier obtaining module 601, configured to obtain a target apparatus identifier of a target bluetooth apparatus;
a white list reading module 602, configured to read a preset white list when it is determined that the target device identifier matches a preset black list; the preset blacklist comprises a blacklist of the Bluetooth equipment which is stored in the mobile terminal and is not changed after leaving a factory, when the equipment identification of the Bluetooth equipment to be connected is matched with the preset blacklist, a standby connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected, and otherwise, a default connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected; the preset white list comprises a Bluetooth device white list pushed to the mobile terminal by the server;
and the connection control module 603 is configured to determine that the matching between the target device identifier and the preset blacklist is invalid when the target device identifier is matched with the preset whitelist, and perform communication connection with the target bluetooth device by using the default connection policy.
According to the connecting device of the Bluetooth device, when the mobile terminal needs to be in communication connection with the target Bluetooth device, the target device identification of the target Bluetooth device is obtained, when the target device identification is judged to be matched with the preset blacklist stored before the mobile terminal leaves a factory, the preset white list is read, if the target device identification is matched with the preset white list, the target device identification is determined to be invalid in matching with the preset blacklist, and a default connection strategy is adopted to be in communication connection with the target Bluetooth device. By adopting the technical scheme, the problem of connection compatibility of the Bluetooth equipment caused by the fact that the preset blacklist cannot be changed after the mobile terminal leaves a factory can be solved, the mobile terminal and the target Bluetooth equipment can be connected in a better matching mode, and data interaction performance is improved.
Optionally, the apparatus further includes a white list receiving module, configured to receive a preset white list pushed by the server before the target device identifier of the target bluetooth device is obtained.
Optionally, the apparatus further includes a question feedback receiving module, configured to receive question feedback information input by a user before the receiving of the preset white list pushed by the server;
and the problem report sending module is used for generating a problem report according to the problem feedback information and sending the problem report to the server, wherein the problem report comprises equipment identification information of Bluetooth equipment with a connection problem with the mobile terminal, and is used for indicating the server to generate a preset white list according to the problem report and pushing the preset white list to the mobile terminal.
Optionally, the device identifier includes a bluetooth device address of the bluetooth device, the preset blacklist includes the first 24 bits of the bluetooth device address, and the preset whitelist includes at least the first 24 bits of the bluetooth device address.
Fig. 7 is a block diagram of another connection apparatus for a bluetooth device according to an embodiment of the present disclosure, where the connection apparatus may be implemented by software and/or hardware, and is generally integrated in a server, and may instruct a mobile terminal to perform a communication connection with the bluetooth device by performing a connection method for the bluetooth device. As shown in fig. 7, the apparatus includes:
a problem report receiving module 701, configured to receive a problem report sent by a mobile terminal, where the problem report includes a report generated by the mobile terminal according to problem feedback information input by a user, and the problem feedback information includes a device identifier of a bluetooth device having a connection problem with the mobile terminal;
a white list generating module 702, configured to generate a preset white list according to the problem report;
a white list pushing module 703, configured to push the preset white list to the mobile terminal, where the preset white list is used to indicate that when the mobile terminal determines that a target device identifier of a target bluetooth device matches a preset black list and also matches the preset white list, it determines that the target device identifier matches the preset black list inefficiently, and performs communication connection with the target bluetooth device by using a default connection policy; the preset blacklist comprises a blacklist of the Bluetooth equipment which is stored in the mobile terminal and can not be changed after leaving a factory, when the equipment identification of the Bluetooth equipment to be connected is matched with the preset blacklist, a standby connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected, and otherwise, a default connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected.
According to the connecting device of the Bluetooth equipment, the server receives a problem report generated by the mobile terminal according to problem feedback information which is input by a user and related to the connection compatibility problem of the Bluetooth equipment, generates a preset white list according to equipment identification of the Bluetooth equipment with the connection problem between the mobile terminal and the problem report, and then pushes the preset white list to the mobile terminal, so that when the mobile terminal needs to be interconnected with target Bluetooth equipment, the matching condition of the target equipment identification, the preset black list and the preset white list is comprehensively considered, and finally an optimal connection strategy is selected to be in communication connection with the target Bluetooth equipment, so that the compatibility problem is reduced.
Optionally, the white list pushing module may be further configured to: after the preset white list is pushed to the mobile terminal, the preset white list is pushed to other mobile terminals of the same type or batch with the mobile terminal.
Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a bluetooth device connection method, the method comprising:
acquiring a target device identification of a target Bluetooth device;
when the target equipment identifier is judged to be matched with a preset blacklist, reading a preset white list; the preset blacklist comprises a blacklist of the Bluetooth equipment which is stored in the mobile terminal and is not changed after leaving a factory, when the equipment identification of the Bluetooth equipment to be connected is matched with the preset blacklist, a standby connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected, and otherwise, a default connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected; the preset white list comprises a Bluetooth device white list pushed to the mobile terminal by the server;
and if the target equipment identification is matched with the preset white list, determining that the target equipment identification is matched with the preset black list inefficiently, and adopting the default connection strategy to carry out communication connection with the target Bluetooth equipment.
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, DDRRAM, SRAM, EDORAM, 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 this embodiment of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the connection operation of the bluetooth device described above, and may also perform related operations in the bluetooth device connection method provided in any embodiment of the present application.
Embodiments of the present application also provide another storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for displaying a page picture, the method including:
receiving a problem report sent by a mobile terminal, wherein the problem report comprises a report generated by the mobile terminal according to problem feedback information input by a user, and the problem report comprises a device identifier of a Bluetooth device with a connection problem with the mobile terminal;
generating a preset white list according to the problem report, pushing the preset white list to the mobile terminal, wherein the preset white list is used for indicating that when the mobile terminal judges that the target equipment identification of the target Bluetooth equipment is matched with a preset blacklist and is also matched with the preset white list, determining that the matching of the target equipment identification and the preset blacklist is invalid, and adopting a default connection strategy to carry out communication connection with the target Bluetooth equipment; the preset blacklist comprises a blacklist of the Bluetooth equipment which is stored in the mobile terminal and can not be changed after leaving a factory, when the equipment identification of the Bluetooth equipment to be connected is matched with the preset blacklist, a standby connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected, and otherwise, a default connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected.
The specific details of the computer storage medium of the embodiments of the present application are similar to those of the computer storage medium described above, and are not repeated here.
The embodiment of the application provides a mobile terminal, and the connecting device of the Bluetooth equipment provided by the embodiment of the application can be integrated in the mobile terminal. Fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application. The mobile terminal 800 may include: a memory 801, a processor 802 and a computer program stored on the memory 801 and executable by the processor 802, wherein the processor 802 implements the bluetooth device connection method according to the embodiment of the present application when executing the computer program.
The mobile terminal provided by the embodiment of the application can solve the problem of connection compatibility of the Bluetooth equipment caused by the fact that the preset blacklist cannot be changed after the mobile terminal leaves a factory, so that the mobile terminal and the target Bluetooth equipment can be connected in a better matching mode, and the data interaction performance is improved.
Fig. 9 is a schematic structural diagram of another mobile terminal according to an embodiment of the present application, where the mobile terminal may include: a casing (not shown), a memory 901, a Central Processing Unit (CPU) 902 (also called a processor, hereinafter referred to as CPU), a circuit board (not shown), and a power circuit (not shown). The circuit board is arranged in a space enclosed by the shell; the CPU902 and the memory 901 are disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory 901 is used for storing executable program codes; the CPU902 executes a computer program corresponding to the executable program code by reading the executable program code stored in the memory 901, so as to implement the following steps:
acquiring a target device identification of a target Bluetooth device;
when the target equipment identifier is judged to be matched with a preset blacklist, reading a preset white list; the preset blacklist comprises a blacklist of the Bluetooth equipment which is stored in the mobile terminal and is not changed after leaving a factory, when the equipment identification of the Bluetooth equipment to be connected is matched with the preset blacklist, a standby connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected, and otherwise, a default connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected; the preset white list comprises a Bluetooth device white list pushed to the mobile terminal by the server;
and if the target equipment identification is matched with the preset white list, determining that the target equipment identification is matched with the preset black list inefficiently, and adopting the default connection strategy to carry out communication connection with the target Bluetooth equipment.
The mobile terminal further includes: peripheral interface 903, RF (Radio Frequency) circuitry 905, audio circuitry 906, speakers 911, power management chip 908, input/output (I/O) subsystems 909, other input/control devices 910, touch screen 912, other input/control devices 910, and external port 904, which communicate through one or more communication buses or signal lines 907.
It should be understood that the illustrated mobile terminal 900 is merely one example of a mobile terminal and that the mobile terminal 900 may have more or fewer components than shown, 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 mobile terminal for connecting a bluetooth device provided in this embodiment, where the mobile terminal is a mobile phone as an example.
Memory 901, the memory 901 being accessible by the CPU902, the peripheral interface 903, etc., the memory 901 may comprise high speed random access memory, and may also comprise 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 903, the peripheral interface 903 may connect input and output peripherals of the device to the CPU902 and the memory 901.
An I/O subsystem 909, which I/O subsystem 909 may connect input and output peripherals on the device, such as a touch screen 912 and other input/control devices 910, to the peripheral interface 903. The I/O subsystem 909 may include a display controller 9091 and one or more input controllers 9092 for controlling other input/control devices 910. Where one or more input controllers 9092 receive electrical signals from or send electrical signals to other input/control devices 910, the other input/control devices 910 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 9092 may be connected with any one of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 912, which is an input interface and an output interface between the user's mobile terminal and the user, displays visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 9091 in the I/O subsystem 909 receives electrical signals from the touch screen 912 or transmits electrical signals to the touch screen 912. The touch screen 912 detects a contact on the touch screen, and the display controller 9091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 912, that is, to implement a human-computer interaction, where the user interface object displayed on the touch screen 912 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 905 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, RF circuitry 905 receives and transmits RF signals, also referred to as electromagnetic signals, through which RF circuitry 905 converts electrical signals to or from electromagnetic signals and communicates with a communication network and other devices. The RF circuitry 905 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 906 is mainly used to receive audio data from the peripheral interface 903, convert the audio data into an electric signal, and transmit the electric signal to the speaker 911.
The speaker 911 is used to convert the voice signal received by the mobile phone from the wireless network through the RF circuit 905 into sound and play the sound to the user.
And the power management chip 908 is used for supplying power and managing power to the hardware connected with the CPU902, the I/O subsystem and the peripheral interfaces.
The embodiment of the application also provides a server, and the connecting device of the Bluetooth equipment provided by the embodiment of the application can be integrated in the server. Fig. 10 is a schematic structural diagram of a server according to an embodiment of the present application. The mobile terminal 1000 may include: the bluetooth device connection method comprises a memory 1001, a processor 1002 and a computer program stored on the memory 1001 and executable by the processor 1002, wherein the processor 1002 executes the computer program to realize the bluetooth device connection method according to the embodiment of the application.
The server provided by the embodiment of the application can solve the problem of connection compatibility of the Bluetooth equipment caused by the fact that the preset blacklist cannot be changed after the mobile terminal leaves a factory, enables better matching connection between the mobile terminal and the target Bluetooth equipment, and improves data interaction performance.
The connecting device, the storage medium, and the server of the bluetooth device provided in the above embodiments may execute the corresponding bluetooth device connecting method provided in any embodiment of the present application with a mobile terminal, and have functional modules and beneficial effects corresponding to the execution method. For details of the bluetooth device connection method, reference may be made to the bluetooth device connection method provided in the corresponding embodiments of the present application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. A Bluetooth device connection method is applied to a mobile terminal and comprises the following steps:
receiving question feedback information input by a user;
generating a problem report according to the problem feedback information and sending the problem report to a server, wherein the problem report comprises equipment identification information of Bluetooth equipment with a connection problem with the mobile terminal, and is used for indicating the server to generate a preset white list according to the problem report and pushing the preset white list to the mobile terminal;
receiving the preset white list pushed by the server;
acquiring a target device identification of a target Bluetooth device;
when the target equipment identifier is judged to be matched with a preset blacklist, reading a preset white list; the preset blacklist comprises a blacklist of the Bluetooth equipment which is stored in the mobile terminal and is not changed after leaving a factory, when the equipment identification of the Bluetooth equipment to be connected is matched with the preset blacklist, a standby connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected, and otherwise, a default connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected; the preset white list comprises a Bluetooth device white list pushed to the mobile terminal by the server;
and if the target equipment identification is matched with the preset white list, determining that the target equipment identification is matched with the preset black list inefficiently, and adopting the default connection strategy to carry out communication connection with the target Bluetooth equipment.
2. The method of claim 1, wherein the device identifier comprises a bluetooth device address of the bluetooth device, the predefined blacklist comprises the first 24 bits of the bluetooth device address, and the predefined whitelist comprises at least the first 24 bits of the bluetooth device address.
3. A Bluetooth device connection method is applied to a server and comprises the following steps:
receiving a problem report sent by a mobile terminal, wherein the problem report comprises a report generated by the mobile terminal according to problem feedback information input by a user, and the problem report comprises a device identifier of a Bluetooth device with a connection problem with the mobile terminal;
generating a preset white list according to the problem report;
pushing the preset white list to the mobile terminal; the preset white list is used for indicating the mobile terminal to determine that the matching of the target equipment identification and the preset black list is invalid when the mobile terminal judges that the target equipment identification of the target Bluetooth equipment is matched with the preset black list and is also matched with the preset white list, and a default connection strategy is adopted to carry out communication connection with the target Bluetooth equipment; the preset blacklist comprises a blacklist of the Bluetooth equipment which is stored in the mobile terminal and can not be changed after leaving a factory, when the equipment identification of the Bluetooth equipment to be connected is matched with the preset blacklist, a standby connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected, and otherwise, a default connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected.
4. The method according to claim 3, further comprising, after pushing the preset white list to the mobile terminal:
and pushing the preset white list to other mobile terminals of the same type or batch as the mobile terminal.
5. A connecting device for a bluetooth device, configured in a mobile terminal, comprising:
the device identification acquisition module is used for acquiring a target device identification of the target Bluetooth device;
the white list reading module is used for reading a preset white list when the target equipment identifier is judged to be matched with the preset black list; the preset blacklist comprises a blacklist of the Bluetooth equipment which is stored in the mobile terminal and is not changed after leaving a factory, when the equipment identification of the Bluetooth equipment to be connected is matched with the preset blacklist, a standby connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected, and otherwise, a default connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected; the preset white list comprises a Bluetooth device white list pushed to the mobile terminal by the server;
the connection control module is used for determining that the matching of the target equipment identifier and the preset blacklist is invalid when the target equipment identifier is matched with the preset white list, and performing communication connection with the target Bluetooth equipment by adopting the default connection strategy;
the connecting device further comprises:
a white list receiving module, configured to receive a preset white list pushed by the server before the target device identifier of the target bluetooth device is obtained;
the problem feedback receiving module is used for receiving problem feedback information input by a user before receiving a preset white list pushed by the server;
and the problem report sending module is used for generating a problem report according to the problem feedback information and sending the problem report to the server, wherein the problem report comprises equipment identification information of Bluetooth equipment with a connection problem with the mobile terminal, and is used for indicating the server to generate a preset white list according to the problem report and pushing the preset white list to the mobile terminal.
6. A connecting device for a bluetooth device, configured to a server, comprising:
the problem report receiving module is used for receiving a problem report sent by a mobile terminal, wherein the problem report comprises a report generated by the mobile terminal according to problem feedback information input by a user, and the problem feedback information comprises a device identifier of a Bluetooth device with a connection problem with the mobile terminal;
the white list generating module is used for generating a preset white list according to the problem report;
the white list pushing module is used for pushing the preset white list to the mobile terminal, wherein the preset white list is used for indicating that when the mobile terminal judges that the target equipment identifier of the target Bluetooth equipment is matched with a preset black list and is also matched with the preset white list, the matching failure of the target equipment identifier and the preset black list is determined, and a default connection strategy is adopted for carrying out communication connection with the target Bluetooth equipment; the preset blacklist comprises a blacklist of the Bluetooth equipment which is stored in the mobile terminal and can not be changed after leaving a factory, when the equipment identification of the Bluetooth equipment to be connected is matched with the preset blacklist, a standby connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected, and otherwise, a default connection strategy is adopted to be in communication connection with the Bluetooth equipment to be connected.
7. A computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the bluetooth device connection method according to any one of claims 1-2.
8. A computer-readable storage medium on which a computer program is stored, which, when executed by a processor, implements the bluetooth device connection method according to any one of claims 3 to 4.
9. A mobile terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the bluetooth device connection method according to any one of claims 1-2 when executing the computer program.
10. A server comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the Bluetooth device connection method as claimed in any one of claims 3 to 4 when executing the computer program.
CN201810117192.2A 2018-02-06 2018-02-06 Bluetooth device connection method, device, storage medium, mobile terminal and server Active CN108347719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810117192.2A CN108347719B (en) 2018-02-06 2018-02-06 Bluetooth device connection method, device, storage medium, mobile terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810117192.2A CN108347719B (en) 2018-02-06 2018-02-06 Bluetooth device connection method, device, storage medium, mobile terminal and server

Publications (2)

Publication Number Publication Date
CN108347719A CN108347719A (en) 2018-07-31
CN108347719B true CN108347719B (en) 2021-02-02

Family

ID=62958506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810117192.2A Active CN108347719B (en) 2018-02-06 2018-02-06 Bluetooth device connection method, device, storage medium, mobile terminal and server

Country Status (1)

Country Link
CN (1) CN108347719B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495871B (en) * 2018-12-20 2022-02-18 Oppo广东移动通信有限公司 Bluetooth connection control method, electronic device and computer readable storage medium
CN110636403A (en) * 2019-10-25 2019-12-31 深圳市科奈信科技有限公司 Wireless earphone pairing method, system and storage medium
CN111212410B (en) * 2019-12-26 2023-07-21 无锡中感微电子股份有限公司 Bluetooth device intelligent optimization method and device and Bluetooth device
CN111314897A (en) * 2020-02-27 2020-06-19 科世达(上海)机电有限公司 Method for recording white list of vehicle Bluetooth keys
CN111290717A (en) * 2020-03-13 2020-06-16 成都互诚在线科技有限公司 Off-line data storage device based on Bluetooth communication
CN113573291A (en) * 2021-08-04 2021-10-29 杭州涂鸦信息技术有限公司 Bluetooth connection method, device, computer equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286770A (en) * 2007-04-09 2008-10-15 艾威梯软件技术(北京)有限公司 Method and system for automatically configuring audio encoding format transmitted by bluetooth A2DP
CN105553964A (en) * 2015-12-10 2016-05-04 小米科技有限责任公司 Method and apparatus for controlling Bluetooth device
CN105957160A (en) * 2016-04-25 2016-09-21 江苏东大金智信息系统有限公司 Parking lot entrance/exit control method and parking lot entrance/exit control system based on Bluetooth
CN106211361A (en) * 2016-08-01 2016-12-07 惠州Tcl移动通信有限公司 A kind of mobile terminal bluetooth compatibility processing method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8594627B2 (en) * 2008-10-06 2013-11-26 Telecommunications Systems, Inc. Remotely provisioned wirelessly proxy

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286770A (en) * 2007-04-09 2008-10-15 艾威梯软件技术(北京)有限公司 Method and system for automatically configuring audio encoding format transmitted by bluetooth A2DP
CN105553964A (en) * 2015-12-10 2016-05-04 小米科技有限责任公司 Method and apparatus for controlling Bluetooth device
CN105957160A (en) * 2016-04-25 2016-09-21 江苏东大金智信息系统有限公司 Parking lot entrance/exit control method and parking lot entrance/exit control system based on Bluetooth
CN106211361A (en) * 2016-08-01 2016-12-07 惠州Tcl移动通信有限公司 A kind of mobile terminal bluetooth compatibility processing method and system

Also Published As

Publication number Publication date
CN108347719A (en) 2018-07-31

Similar Documents

Publication Publication Date Title
CN108347719B (en) Bluetooth device connection method, device, storage medium, mobile terminal and server
CN107889092B (en) Bluetooth device communication control method, device, terminal device and storage medium
CN105744466B (en) A kind of connection method of Bluetooth device and bluetooth equipment
US8472874B2 (en) Method and system for pairing of wireless devices using physical presence
US9654293B2 (en) Accessory identification for mobile computing devices
CN107770759B (en) Bluetooth voice link establishing method and device, storage medium and mobile terminal
CN101690125B (en) Communication of information between a host device and an accessory via an intermediate device
US11419182B2 (en) Electronic device supporting link sharing and method therefor
US7415563B1 (en) Method and system for allowing a media player to determine if it supports the capabilities of an accessory
CN110430562B (en) Bluetooth communication method and related device
KR20200106742A (en) Electronic device for transmitting response message in bluetooth network environment and method thereof
US11166141B2 (en) Electronic device and method for displaying inquiry list of external electronic device in Bluetooth™ network environment
US8880770B2 (en) Protocol translating adapter
CN108933968B (en) Message format conversion method and device, storage medium and android terminal
CN106997302A (en) Firmware upgrade method, device and audio-frequence player device
KR20200144759A (en) Method for establishing bluetooth communication connection and electronic device thereof
US20130073617A1 (en) Information appliance data connection system, authentication device, client appliance, information appliance data connection method and recording medium
CN111314895A (en) Bluetooth-based wireless upgrading method and device, server and electronic equipment
CN108833033B (en) Method and device for determining radio frequency calibration parameters, storage medium and mobile terminal
US11234113B2 (en) Electronic device and method for providing service by electronic device
CN106407018B (en) Method and device for synchronizing personalized data and mobile terminal
CN107071655B (en) Method and device for configuring stereo output, audio playing equipment and mobile terminal
CN107708183B (en) Decoding algorithm determination method, device, terminal and storage medium
CN114173321B (en) Equipment communication connection establishment method and equipment communication system
CN113766406A (en) Method, system and device for testing earphone

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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant