CN111656807A - Bluetooth device type identification method, device and system and readable storage medium - Google Patents

Bluetooth device type identification method, device and system and readable storage medium Download PDF

Info

Publication number
CN111656807A
CN111656807A CN201980008860.0A CN201980008860A CN111656807A CN 111656807 A CN111656807 A CN 111656807A CN 201980008860 A CN201980008860 A CN 201980008860A CN 111656807 A CN111656807 A CN 111656807A
Authority
CN
China
Prior art keywords
bluetooth device
bluetooth
type
identification code
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201980008860.0A
Other languages
Chinese (zh)
Inventor
郑森垚
李顺年
杨连祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SZ DJI Technology Co Ltd
Original Assignee
SZ DJI Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SZ DJI Technology Co Ltd filed Critical SZ DJI Technology Co Ltd
Publication of CN111656807A publication Critical patent/CN111656807A/en
Pending legal-status Critical Current

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
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities

Abstract

The embodiment of the invention provides a Bluetooth device type identification method, a device and a system and a readable storage medium. The Bluetooth device type identification method in the embodiment of the invention comprises the following steps: in the method for identifying the type of the bluetooth device provided by this embodiment, attribute information of the bluetooth device is obtained, where the attribute information includes a type identifier of the bluetooth device, and the type identifier of the bluetooth device and the type of the bluetooth device have a corresponding relationship; the Bluetooth device comprises a first Bluetooth device which is paired with the mobile terminal once and/or a second Bluetooth device which is not paired with the mobile terminal once, and the type of the Bluetooth device corresponding to the type identifier of the Bluetooth device is determined according to the attribute information of the Bluetooth device and the corresponding relation between the type identifier of the Bluetooth device and the type of the Bluetooth device, so that the type identification method is provided, which is suitable for the paired Bluetooth devices and the unpaired Bluetooth devices.

Description

Bluetooth device type identification method, device and system and readable storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to a method, an apparatus, a system, and a readable storage medium for bluetooth device type identification.
Background
With the increasing popularization of bluetooth technology, many devices (for example, unmanned aerial vehicle, handheld cloud platform, bluetooth headset) all possess the bluetooth function. A mobile terminal (e.g., a smartphone) may be paired with a bluetooth enabled bluetooth device.
Because the types of the Bluetooth devices are different, and the functions provided by each type of Bluetooth device are different, the user can pair the mobile terminal with the Bluetooth devices of different types according to the actual requirements of the user. In the conventional technology, under the condition that the bluetooth device is not paired with the smart phone, the bluetooth device can send broadcast information, and the smart phone acquires the type of the bluetooth device through the broadcast information.
However, if some bluetooth devices are once paired with the smart phone and within the searchable range of the smart phone, the bluetooth devices may not send out broadcast information any more, and therefore, the smart phone may not acquire the types of the bluetooth devices through broadcast information. If the bluetooth devices searched by the smart phone include a plurality of paired bluetooth devices and unpaired bluetooth devices, and if the smart phone needs to acquire respective types of the paired bluetooth devices, it needs to establish communication connection with the paired bluetooth devices respectively to acquire the respective types of the paired bluetooth devices, so that the type identification process of the bluetooth devices is relatively complex and takes a long time.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a bluetooth device type identification method, apparatus, system and readable storage medium that overcome or at least partially solve the above problems.
In a first aspect of the embodiments of the present invention, a method for identifying a bluetooth device type is provided, where the method is applied to a mobile terminal, and the method includes:
acquiring attribute information of Bluetooth equipment, wherein the attribute information comprises a type identifier of the Bluetooth equipment, and the type identifier of the Bluetooth equipment and the type of the Bluetooth equipment have a corresponding relation; the Bluetooth device comprises a first Bluetooth device which is paired with the mobile terminal once and/or a second Bluetooth device which is not paired with the mobile terminal once;
and determining the type of the Bluetooth equipment corresponding to the type identifier of the Bluetooth equipment according to the attribute information of the Bluetooth equipment and the corresponding relation between the type identifier of the Bluetooth equipment and the type of the Bluetooth equipment.
In a second aspect of the embodiments of the present invention, an apparatus for identifying a bluetooth device type is provided, where the apparatus is disposed in a mobile terminal, and the apparatus includes:
the first acquisition device is used for acquiring attribute information of the Bluetooth equipment, wherein the attribute information comprises a type identifier of the Bluetooth equipment, and the type identifier of the Bluetooth equipment and the type of the Bluetooth equipment have a corresponding relation; the Bluetooth device comprises a first Bluetooth device which is paired with the mobile terminal once and/or a second Bluetooth device which is not paired with the mobile terminal once;
a first determining device, configured to determine, according to the attribute information of the bluetooth device and a correspondence between the type identifier of the bluetooth device and the type of the bluetooth device, the type of the bluetooth device corresponding to the type identifier of the bluetooth device.
According to a third aspect of embodiments of the present invention, there is provided a bluetooth device type identification system, the system including:
one or more processors, working individually or collectively, to perform:
acquiring attribute information of Bluetooth equipment, wherein the attribute information comprises a type identifier of the Bluetooth equipment, and the type identifier of the Bluetooth equipment and the type of the Bluetooth equipment have a corresponding relation; the Bluetooth device comprises a first Bluetooth device which is paired with the mobile terminal once and/or a second Bluetooth device which is not paired with the mobile terminal once;
and determining the type of the Bluetooth equipment corresponding to the type identifier of the Bluetooth equipment according to the attribute information of the Bluetooth equipment and the corresponding relation between the type identifier of the Bluetooth equipment and the type of the Bluetooth equipment.
In a fourth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the bluetooth device type identification method as described in any one of the above.
The embodiment of the invention has the following advantages:
the method for identifying the type of the Bluetooth equipment acquires the attribute information of the Bluetooth equipment, wherein the attribute information comprises the type identification of the Bluetooth equipment, and the type identification of the Bluetooth equipment is used for corresponding to the type of the Bluetooth equipment; the Bluetooth device comprises a first Bluetooth device which is paired with the mobile terminal once and/or a second Bluetooth device which is not paired with the mobile terminal once, and the type of the Bluetooth device corresponding to the type identification of the Bluetooth device is determined according to the attribute information of the Bluetooth device and the corresponding relation between the type identification of the Bluetooth device and the type of the Bluetooth device. Therefore, as in the prior art, if the bluetooth devices searched by the mobile terminal (for example, a smart phone) include a plurality of paired bluetooth devices and unpaired bluetooth devices, the smart phone needs to receive broadcast information to acquire the types of the unpaired bluetooth devices; and aiming at a plurality of paired Bluetooth devices, the mobile terminal needs to establish communication connection with the plurality of paired Bluetooth devices respectively to acquire respective types of the plurality of paired Bluetooth devices. Thus, a type identification method is provided which is applicable to both paired bluetooth devices and unpaired bluetooth devices.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a system architecture diagram according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a method for identifying a bluetooth device type according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating steps of another bluetooth device type identification method according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating steps of another bluetooth device type identification method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus for identifying a bluetooth device type according to an embodiment of the present invention.
DETAILED DESCRIPTION OF EMBODIMENT (S) OF INVENTION
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a system architecture according to an embodiment of the present invention. The system comprises a mobile terminal and Bluetooth equipment which is searched by the mobile terminal currently, wherein the searched Bluetooth equipment comprises Bluetooth equipment 1 (for example, the Bluetooth equipment 1 is a mobile phone holder) and Bluetooth equipment 2 (for example, the Bluetooth equipment 2 is an unmanned aerial vehicle). The bluetooth device 1 is a bluetooth device that has been paired with the mobile terminal, and the bluetooth device 2 is a bluetooth device that has not been paired with the mobile terminal. The mobile terminal stores the corresponding relation between the type identifications of the Bluetooth device 1 and the Bluetooth device 2 and the type of the Bluetooth device. For example, as shown in table 1 below, table 1 shows a correspondence relationship between the type identifier of the bluetooth device stored in the mobile terminal and the type of the bluetooth device.
Type identification of Bluetooth device Type of Bluetooth device
OM Smart eye holder (OSMO Mobile)
Ma 2 Unmanned plane (Imperial Mavic 2 professional edition)
TABLE 1
Referring to table 1, if the type identifier of the bluetooth device 1 obtained by the Mobile terminal is OM, it may be determined that the type of the bluetooth device 1 is an eye cloud platform (OSMO Mobile) according to a correspondence between the type identifier of the bluetooth device and the type of the bluetooth device stored in the Mobile terminal. If the type identifier of the bluetooth device 2 acquired by the mobile terminal is Ma 2, it may be determined that the type of the bluetooth device 2 is an unmanned aerial vehicle (Mavic 2 professional edition) according to a correspondence between the type identifier of the bluetooth device and the type of the bluetooth device stored in the mobile terminal.
To describe embodiments of the present invention in more detail, reference is now made to FIG. 2. Referring to fig. 2 and fig. 2 are flowcharts illustrating steps of a bluetooth device type identification method according to an embodiment of the present invention, where the bluetooth device type identification method according to this embodiment may be executed by a mobile terminal, and the mobile terminal includes an intelligent transceiver, a palm computer, a tablet computer, and the like, and the method may include the following steps:
step 201, acquiring attribute information of the bluetooth device, wherein the attribute information includes a type identifier of the bluetooth device, and the type identifier of the bluetooth device and the type of the bluetooth device have a corresponding relationship; the Bluetooth device comprises a first Bluetooth device which is paired with the mobile terminal once and/or a second Bluetooth device which is not paired with the mobile terminal once.
It should be noted that, since the type identifier of the bluetooth device corresponds to the type of the bluetooth device, the type identifier of the bluetooth device and the type of the bluetooth device may have a corresponding relationship. The corresponding relation can be stored in a mapping table mode, and subsequent searching is facilitated. The correspondence may be modified to correct in the event of a false correspondence. Therefore, the type identification of the Bluetooth device can be obtained, so that the type of the Bluetooth device can be obtained through the type identification of the Bluetooth device. Types of bluetooth devices include: bluetooth headset, cell-phone cloud platform, unmanned aerial vehicle etc. type.
Step 202, determining the type of the bluetooth device corresponding to the type identifier of the bluetooth device according to the attribute information of the bluetooth device and the corresponding relationship between the type identifier of the bluetooth device and the type of the bluetooth device.
It should be noted that, after acquiring the attribute information of the bluetooth device, the mobile terminal may search for a type identifier matching the type identifier of the bluetooth device included in the attribute information of the bluetooth device. The searching mode can be automatically carried out by the mobile terminal, and the mobile terminal directly and automatically searches the type identifier matched with the type identifier of the Bluetooth equipment included in the attribute information of the Bluetooth equipment after acquiring the attribute information of the Bluetooth equipment, so that the method is convenient and quick. After the type identifier matched with the type identifier of the bluetooth device is found (i.e. the type identifier same as the type identifier of the bluetooth device is found), the type of the bluetooth device corresponding to the type identifier of the bluetooth device can be determined according to the corresponding relationship between the type identifier and the type of the bluetooth device. The corresponding relationship can be stored as a mapping table, so that the type of the bluetooth device corresponding to the type identifier of the bluetooth device is searched in the mapping table only according to the type identifier of the bluetooth device, and the type of the bluetooth device corresponding to the type identifier of the bluetooth device can be determined quickly and accurately.
Moreover, since the bluetooth device includes a first bluetooth device that has been paired with the mobile terminal once and/or a second bluetooth device that has not been paired with the mobile terminal, the bluetooth device type identification method provided in this embodiment is applicable to both paired bluetooth devices and type identification of unpaired bluetooth devices, that is, the paired bluetooth device and the unpaired bluetooth device are treated as the same thing, and there is no need to distinguish the paired bluetooth device from the unpaired bluetooth device, as in the scheme provided in the prior art.
In the method for identifying the type of the bluetooth device provided by this embodiment, attribute information of the bluetooth device is obtained, where the attribute information includes a type identifier of the bluetooth device, and the type identifier of the bluetooth device and the type of the bluetooth device have a corresponding relationship; the Bluetooth device comprises a first Bluetooth device which is paired with the mobile terminal once and/or a second Bluetooth device which is not paired with the mobile terminal once, and the type of the Bluetooth device corresponding to the type identification of the Bluetooth device is determined according to the attribute information of the Bluetooth device and the corresponding relation between the type identification of the Bluetooth device and the type of the Bluetooth device. Thus, a type identification method is provided which is applicable to both paired bluetooth devices and unpaired bluetooth devices.
The following describes in detail a bluetooth device type identification method provided by an embodiment of the present invention.
Referring to fig. 3, fig. 3 is a flowchart illustrating steps of another bluetooth device type identification method according to an embodiment of the present invention, where the bluetooth device type identification method according to the embodiment may include the following steps:
step 301, obtaining the corresponding relationship between the type identifier input by the user and the type, and storing the corresponding relationship.
The user can input the corresponding relation between the type identification and the type in the mobile terminal, and the mobile terminal can store the corresponding relation after the corresponding relation is input. That is, the user can input the corresponding relationship between the type identifier and the type of each bluetooth device in the mobile terminal, and the mobile terminal stores the corresponding relationship. Therefore, the familiarity of the user on the corresponding relation between the type identification and the type of various Bluetooth devices is increased, and the accuracy of the establishment of the corresponding relation can also be increased. The corresponding relation can be modified, and the user can modify the corresponding relation between the type identification and the type of various Bluetooth devices by himself so as to improve the flexibility of the setting and prevent the corresponding relation error caused by the wrong correspondence. The type identification of the bluetooth device input by the user includes a name prefix and/or a name suffix of the bluetooth device. The naming rule of the name prefix is that, for example, a name prefix is added before the name of the bluetooth device, for example, the name prefix 1-name, the name prefix 1 is a product type prefix for representing the bluetooth device; naming convention for name suffixes such as adding a name suffix to the name of a bluetooth device, such as name-name suffix 1, i.e., a product type suffix used to represent the bluetooth device; the naming convention of the name prefix and name suffix is such as to add a name prefix before the name of the bluetooth device and a name suffix after the name, such as name prefix 1-name suffix 1, with name prefix 1 and name suffix 1 being used to represent the product type of the bluetooth device.
Step 302, obtaining a name prefix and/or name suffix of the bluetooth device.
The obtaining of the name prefix and/or the name suffix of the bluetooth device can be realized by the following steps:
acquiring a name prefix and/or a name suffix of a first Bluetooth device from a mobile terminal, wherein the name prefix and/or the name suffix of the first Bluetooth device are stored in the mobile terminal; alternatively, the first and second electrodes may be,
acquiring first broadcast information sent by second Bluetooth equipment, wherein the first broadcast information comprises a name prefix and/or a name suffix of the second Bluetooth equipment; and acquiring the name prefix and/or name suffix of the second Bluetooth device from the first broadcast information.
It should be noted that, if the bluetooth device is a first bluetooth device that is once paired with the mobile terminal, the mobile terminal stores the name prefix and/or name suffix of the first bluetooth device, so that the name prefix and/or name suffix of the first bluetooth device can be obtained from the mobile terminal; if the bluetooth device is a second bluetooth device that has not been paired with the mobile terminal, the mobile terminal may obtain the first broadcast information sent by the second bluetooth device, and obtain a name prefix and/or a name suffix of the second bluetooth device from the first broadcast information.
And step 303, determining the type of the Bluetooth device corresponding to the name prefix and/or the name suffix of the Bluetooth device according to the name prefix and/or the name suffix of the Bluetooth device and the corresponding relation between the name prefix and/or the name suffix and the type of the Bluetooth device.
According to step 301, the mobile terminal stores the correspondence between the name prefix and/or name suffix of the bluetooth device and the type of the bluetooth device, the correspondence may be stored in a mapping table, and the type of the bluetooth device corresponding to the name prefix and/or name suffix of the bluetooth device may be searched in the mapping table according to the name prefix and/or name suffix of the bluetooth device, so as to quickly and accurately determine the type of the bluetooth device corresponding to the type identifier of the bluetooth device, thereby facilitating the subsequent mobile terminal to search for the type of the bluetooth device. The correspondence may be modified to correct in the event of a false correspondence. In this step, the name prefix and/or name suffix of the bluetooth device obtained in step 302 may be matched with the name prefix and/or name suffix of the bluetooth device stored in the mobile terminal, and after matching is consistent, the type of the bluetooth device corresponding to the name prefix and/or name suffix of the bluetooth device may be determined according to the correspondence between the name prefix and/or name suffix of the bluetooth device and the type of the bluetooth device. For example, as shown in table 2 below, taking the name prefix of the bluetooth device as an example for explanation, where table 2 shows a correspondence relationship between the name prefix of the bluetooth device stored in the Mobile terminal and the type of the bluetooth device, if the name prefix of the bluetooth device obtained in step 102 is OM, the type of the bluetooth device determined in this step is smart eye holder (OSMO Mobile).
Name prefix for bluetooth devices Type of Bluetooth device
OM Smart eye holder (OSMO Mobile)
Ma 2 Unmanned plane (Imperial Mavic 2 professional edition)
TABLE 2
It should be noted that, for the first bluetooth device and/or the second bluetooth device, through steps 301 to 303, the type of the first bluetooth device and/or the second bluetooth device may be determined, so that, as in the conventional technology, if the bluetooth devices searched by the mobile terminal (e.g., a smart phone) include a plurality of bluetooth devices that have been paired and bluetooth devices that have not been paired, the smart phone needs to receive broadcast information to obtain the type of the bluetooth devices that have not been paired; and aiming at a plurality of paired Bluetooth devices, the mobile terminal needs to establish communication connection with the plurality of paired Bluetooth devices respectively to acquire respective types of the plurality of paired Bluetooth devices. Therefore, the method for identifying the type of the bluetooth device provided by the embodiment solves the problems that the process for identifying the type of the paired bluetooth device is complex and takes a long time in the prior art. The problem that the type identification methods for the unpaired Bluetooth device and the paired Bluetooth device are inconsistent in the prior art is solved. Thus, a type identification method is provided which is applicable to both paired bluetooth devices and unpaired bluetooth devices.
Optionally, after determining the type of the bluetooth device corresponding to the type identifier of the bluetooth device according to the attribute information of the bluetooth device and the corresponding relationship between the type identifier of the bluetooth device and the type of the bluetooth device, the method may further include the following steps:
acquiring a service identification code of the Bluetooth equipment;
determining whether the service identification code of the Bluetooth device is matched with the service identification code stored in the mobile terminal;
and if the service identification code of the Bluetooth equipment is determined to be matched with the service identification code stored in the mobile terminal, the Bluetooth equipment is reserved.
It should be noted that the service identification code of the bluetooth device is a unique identification code. When the mobile terminal scans surrounding Bluetooth devices (including a first Bluetooth device which is paired with the mobile terminal once and/or a second Bluetooth device which is not paired with the mobile terminal), the Bluetooth devices can be filtered through the service identification code, and the Bluetooth devices which do not contain a certain service identification code are filtered. In the following description, reference is made to table 3, where table 3 shows a correspondence relationship between the type of the bluetooth device stored in the mobile terminal and the service identification code of the bluetooth device. With the combination of table 2, if the name prefixes of two bluetooth devices are both OM, the type of the bluetooth device determined according to table 2 is smart eye holder (OSMO Mobile), and if one bluetooth device is a counterfeit bluetooth device, the counterfeit bluetooth device can be filtered according to the correspondence between the type of the bluetooth device provided in table 3 and the service identification code of the bluetooth device, and the genuine bluetooth device is retained, thereby improving the security of establishing bluetooth connection.
Figure BDA0002588507040000081
Figure BDA0002588507040000091
TABLE 3
Among these, filtering out counterfeit bluetooth devices is, for example, as follows: if the name prefixes of the bluetooth device 1 and the bluetooth device 2 are both OM, it is determined that the types of the bluetooth device 1 and the bluetooth device 2 are both eye cloud platforms (OSMO Mobile), and the Mobile terminal obtains 001 of the service identification code of the bluetooth device 1, so that it can be determined that the bluetooth device 1 is matched with the service identification code 001 stored in the Mobile terminal, and the bluetooth device 1 is reserved. Because the bluetooth device 2 is not a genuine bluetooth device, and the bluetooth device 2 does not have a service identification code, the mobile terminal cannot acquire the service identification code of the bluetooth device 2, and the mobile terminal can determine that the bluetooth device 2 is a counterfeit bluetooth device, so that the bluetooth device 2 can be filtered out, and the security of establishing bluetooth connection is improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating steps of a bluetooth device type identification method according to an embodiment of the present invention, where the bluetooth device type identification method according to the embodiment of the present invention may include the following steps:
step 401, obtaining a corresponding relationship between a type identifier input by a user and a type, and storing the corresponding relationship.
The user can input the corresponding relation between the type identification and the type in the mobile terminal, and the mobile terminal can store the corresponding relation after the corresponding relation is input. That is, the user can input the corresponding relationship between the type identifier and the type of each bluetooth device in the mobile terminal, and the mobile terminal stores the corresponding relationship. Therefore, the familiarity of the user on the corresponding relation between the type identification and the type of various Bluetooth devices is increased, and the accuracy of the establishment of the corresponding relation can also be increased. The corresponding relation can be modified, and the user can modify the corresponding relation between the type identification and the type of various Bluetooth devices by himself so as to improve the flexibility of the setting and prevent the corresponding relation error caused by the wrong correspondence. If the type identifier of the bluetooth device is the service identification code of the bluetooth device, the user can input the corresponding relationship between the service identification code of the bluetooth device and the type in the mobile terminal, and the mobile terminal acquires the corresponding relationship between the service identification code of the bluetooth device and the type input by the user and stores the corresponding relationship.
Step 402, acquiring a service identification code of the Bluetooth device.
The service identification code of the Bluetooth device can be acquired by the following method:
acquiring a service identification code of a first Bluetooth device from a mobile terminal, wherein the service identification code of the first Bluetooth device is stored in the mobile terminal; alternatively, the first and second electrodes may be,
acquiring second broadcast information sent by second Bluetooth equipment, wherein the second broadcast information comprises a service identification code of the second Bluetooth equipment; and acquiring the service identification code of the second Bluetooth device from the second broadcast information.
It should be noted that, if the bluetooth device is the first bluetooth device that is once paired with the mobile terminal, the mobile terminal stores the service identification code of the first bluetooth device, so that the service identification code of the first bluetooth device can be obtained from the mobile terminal. If the bluetooth device is a second bluetooth device that has not been paired with the mobile terminal, the mobile terminal may obtain second broadcast information sent by the second bluetooth device, and obtain the service identification code of the second bluetooth device from the second broadcast information.
And step 403, determining the type of the bluetooth device corresponding to the service identification code of the bluetooth device according to the service identification code of the bluetooth device and the corresponding relationship between the service identification code and the type stored in the mobile terminal.
According to the description in step 401, the mobile terminal stores the corresponding relationship between the service identification code of the bluetooth device and the type of the bluetooth device, and the corresponding relationship may be stored as a mapping table, so that the type of the bluetooth device corresponding to the service identification code of the bluetooth device is only needed to be searched in the mapping table according to the service identification code of the bluetooth device, and the type of the bluetooth device corresponding to the service identification code of the bluetooth device can be determined quickly and accurately. The correspondence may be modified to correct in the event of a false correspondence. In this step, the service identification code of the bluetooth device acquired in step 402 may be matched with the service identification code of the bluetooth device stored in the mobile terminal, and after matching is consistent, the type of the bluetooth device corresponding to the service identification code of the bluetooth device may be determined according to the correspondence between the service identification code of the bluetooth device and the type of the bluetooth device. Therefore, the mobile terminal can acquire the respective types of the paired Bluetooth devices without establishing communication connection with the paired Bluetooth devices respectively. For the paired and unpaired Bluetooth devices, the product type identification modes are consistent, the different treatment is not needed, and the realization is convenient. Therefore, the types of the paired Bluetooth devices can be obtained according to the service identification codes of the Bluetooth devices, and the method is convenient and fast. Specifically, referring to the description in table 3, the type of the bluetooth device is determined according to the correspondence between the service identification code of the bluetooth device and the type of the bluetooth device.
In the method for identifying the type of the bluetooth device provided in this embodiment, the service identification code of the bluetooth device is obtained by obtaining the corresponding relationship between the type identifier input by the user and the type and storing the corresponding relationship, and the type of the bluetooth device corresponding to the service identification code of the bluetooth device is determined according to the service identification code of the bluetooth device and the corresponding relationship between the service identification code stored in the mobile terminal and the type. For the paired first bluetooth device and/or the second bluetooth device that has not been paired with the mobile terminal, the types of the first bluetooth device and/or the second bluetooth device may be determined by the methods in steps 401 to 402, so that the respective types of the paired bluetooth devices can be obtained without establishing communication connections with the paired bluetooth devices, respectively. Thus, a type identification method is provided which is applicable to both paired bluetooth devices and unpaired bluetooth devices.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a bluetooth device type identification apparatus according to an embodiment of the present invention, where the bluetooth device type identification apparatus according to this embodiment may be disposed in a mobile terminal, and the bluetooth device type identification apparatus 500 includes:
the first obtaining device 501 is configured to obtain attribute information of a bluetooth device, where the attribute information includes a type identifier of the bluetooth device, and the type identifier of the bluetooth device is used to correspond to the type of the bluetooth device; the Bluetooth device comprises a first Bluetooth device which is paired with the mobile terminal once and/or a second Bluetooth device which is not paired with the mobile terminal once;
the first determining device 502 is configured to determine the type of the bluetooth device corresponding to the type identifier of the bluetooth device according to the attribute information of the bluetooth device and the corresponding relationship between the type identifier of the bluetooth device and the type of the bluetooth device.
Optionally, the corresponding relationship between the type identifier of the bluetooth device and the type of the bluetooth device is pre-stored in the mobile terminal.
Optionally, the first obtaining device 501 is further configured to obtain a corresponding relationship between the type identifier input by the user and the type, and store the corresponding relationship.
Optionally, the type identifier of the bluetooth device includes a name prefix or a name suffix of the bluetooth device.
Optionally, the first obtaining device 501 is specifically configured to obtain a name prefix and/or a name suffix of the bluetooth device;
correspondingly, the first determining means 502 is specifically configured to determine the type of the bluetooth device corresponding to the name prefix and/or the name suffix of the bluetooth device according to the name prefix and/or the name suffix of the bluetooth device and the corresponding relationship between the name prefix and/or the name suffix and the type of the bluetooth device.
Optionally, the first obtaining device 501 is specifically configured to obtain a name prefix and/or a name suffix of the first bluetooth device from the mobile terminal, where the name prefix and/or the name suffix of the first bluetooth device are stored in the mobile terminal; alternatively, the first and second electrodes may be,
acquiring first broadcast information sent by second Bluetooth equipment, wherein the first broadcast information comprises a name prefix and/or a name suffix of the second Bluetooth equipment; and acquiring the name prefix and/or name suffix of the second Bluetooth device from the first broadcast information.
Optionally, the bluetooth device type identification may further include:
the second acquisition device is used for acquiring the service identification code of the Bluetooth equipment;
second determining means for determining whether the service identification code of the bluetooth device matches the service identification code stored in the mobile terminal; and if the service identification code of the Bluetooth equipment is determined to be matched with the service identification code stored in the mobile terminal, the Bluetooth equipment is reserved.
Optionally, the method may further include:
and the filtering device is used for filtering the Bluetooth equipment if the service identification code of the Bluetooth equipment cannot be acquired.
Optionally, the type identifier of the bluetooth device is a service identification code of the bluetooth device.
Alternatively to this, the first and second parts may,
a first obtaining device 501, specifically configured to obtain a service identification code of a bluetooth device;
the first determining device 502 is specifically configured to determine a type corresponding to the service identifier of the bluetooth device according to the service identifier of the bluetooth device and a corresponding relationship between the service identifier and the type stored in the mobile terminal.
Optionally, the first obtaining device 501 is specifically configured to obtain a service identifier of a first bluetooth device from the mobile terminal, where the service identifier of the first bluetooth device is stored in the mobile terminal; alternatively, the first and second electrodes may be,
acquiring second broadcast information sent by second Bluetooth equipment, wherein the second broadcast information comprises a service identification code of the second Bluetooth equipment; and acquiring the service identification code of the second Bluetooth device from the second broadcast information.
The bluetooth device type identifying device provided by the embodiment of the invention obtains the service identification code of the bluetooth device by obtaining the corresponding relation between the type identification input by the user and the type and storing the corresponding relation, and determines the type of the bluetooth device corresponding to the service identification code of the bluetooth device according to the service identification code of the bluetooth device and the corresponding relation between the service identification code stored in the mobile terminal and the type. Need not establish communication connection respectively with a plurality of bluetooth equipment that have paired, the cost time is few, convenient and fast. The method can be suitable for the paired Bluetooth equipment and can also be suitable for the unpaired Bluetooth equipment.
In addition, an embodiment of the present invention provides a bluetooth device type identification system, where the bluetooth device type identification system provided in this embodiment includes:
one or more processors, working individually or collectively, to perform:
acquiring attribute information of the Bluetooth equipment, wherein the attribute information comprises a type identifier of the Bluetooth equipment, and the type identifier of the Bluetooth equipment and the type of the Bluetooth equipment have a corresponding relation; the Bluetooth device comprises a first Bluetooth device which is paired with the mobile terminal once and/or a second Bluetooth device which is not paired with the mobile terminal once;
and determining the type of the Bluetooth equipment corresponding to the type identifier of the Bluetooth equipment according to the attribute information of the Bluetooth equipment and the corresponding relation between the type identifier of the Bluetooth equipment and the type of the Bluetooth equipment.
Optionally, the corresponding relationship between the type identifier of the bluetooth device and the type of the bluetooth device is pre-stored in the mobile terminal.
Optionally, the one or more processors are further configured to:
and acquiring the corresponding relation between the type identification input by the user and the type, and storing the corresponding relation.
Optionally, the type identifier of the bluetooth device includes a name prefix and/or a name suffix of the bluetooth device.
Optionally, one or more processors configured to:
acquiring a name prefix and/or a name suffix of the Bluetooth equipment; and determining the type of the Bluetooth device corresponding to the name prefix and/or the name suffix of the Bluetooth device according to the name prefix and/or the name suffix of the Bluetooth device and the corresponding relation between the name prefix and/or the name suffix and the type of the Bluetooth device.
Optionally, one or more processors configured to:
acquiring a name prefix and/or a name suffix of a first Bluetooth device from a mobile terminal, wherein the name prefix and/or the name suffix of the first Bluetooth device are stored in the mobile terminal; alternatively, the first and second electrodes may be,
acquiring first broadcast information sent by second Bluetooth equipment, wherein the first broadcast information comprises a name prefix and/or a name suffix of the second Bluetooth equipment; and acquiring the name prefix and/or name suffix of the second Bluetooth device from the first broadcast information.
Optionally, the one or more processors are further configured to:
acquiring a service identification code of the Bluetooth equipment;
determining whether the service identification code of the Bluetooth device is matched with the service identification code stored in the mobile terminal;
and if the service identification code of the Bluetooth equipment is determined to be matched with the service identification code stored in the mobile terminal, the Bluetooth equipment is reserved.
Optionally, the one or more processors are further configured to:
and if the service identification code of the Bluetooth equipment cannot be acquired, filtering the Bluetooth equipment.
Optionally, the type identifier of the bluetooth device is a service identification code of the bluetooth device.
Optionally, one or more processors configured to:
acquiring a service identification code of the Bluetooth equipment; and determining the type of the Bluetooth equipment corresponding to the service identification code of the Bluetooth equipment according to the service identification code of the Bluetooth equipment and the corresponding relation between the service identification code and the type stored in the mobile terminal.
Optionally, the one or more processors are configured to:
acquiring a service identification code of a first Bluetooth device from a mobile terminal, wherein the service identification code of the first Bluetooth device is stored in the mobile terminal; alternatively, the first and second electrodes may be,
acquiring second broadcast information sent by second Bluetooth equipment, wherein the second broadcast information comprises a service identification code of the second Bluetooth equipment; and acquiring the service identification code of the second Bluetooth device from the second broadcast information.
The bluetooth device type identification system provided by the embodiment of the invention acquires the service identification code of the bluetooth device by acquiring the corresponding relation between the type identification input by the user and the type and storing the corresponding relation, and determines the type of the bluetooth device corresponding to the service identification code of the bluetooth device according to the service identification code of the bluetooth device and the corresponding relation between the service identification code stored in the mobile terminal and the type. Need not establish communication connection respectively with a plurality of bluetooth equipment that have paired, the cost time is few, convenient and fast. The method can be suitable for the paired Bluetooth equipment and can also be suitable for the unpaired Bluetooth equipment.
In addition, an embodiment of the present invention further provides a terminal, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the above-mentioned bluetooth device type identification method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the bluetooth device type identification method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As is readily imaginable to the person skilled in the art: any combination of the above embodiments is possible, and thus any combination between the above embodiments is an embodiment of the present invention, but the present disclosure is not necessarily detailed herein for reasons of space.
The bluetooth device type identification methods provided herein are not inherently related to any particular computer, virtual system, or other device. Various general purpose systems may also be used with the teachings herein. The structure required to construct a system incorporating aspects of the present invention will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the bluetooth device type identification method according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (34)

1. A Bluetooth device type identification method is applied to a mobile terminal, and comprises the following steps:
acquiring attribute information of Bluetooth equipment, wherein the attribute information comprises a type identifier of the Bluetooth equipment, and the type identifier of the Bluetooth equipment and the type of the Bluetooth equipment have a corresponding relation; the Bluetooth device comprises a first Bluetooth device which is paired with the mobile terminal once and/or a second Bluetooth device which is not paired with the mobile terminal once;
and determining the type of the Bluetooth equipment corresponding to the type identifier of the Bluetooth equipment according to the attribute information of the Bluetooth equipment and the corresponding relation between the type identifier of the Bluetooth equipment and the type of the Bluetooth equipment.
2. The method according to claim 1, wherein the correspondence between the type identifier of the bluetooth device and the type of the bluetooth device is pre-stored in the mobile terminal.
3. The method according to claim 2, before determining the type of the bluetooth device corresponding to the type identifier of the bluetooth device according to the attribute information of the bluetooth device and the corresponding relationship between the type identifier of the bluetooth device and the type of the bluetooth device, further comprising:
and acquiring the corresponding relation between the type identification input by the user and the type, and storing the corresponding relation.
4. The method according to any of claims 1-3, wherein the type identification of the Bluetooth device comprises a name prefix and/or a name suffix of the Bluetooth device.
5. The method of claim 4, wherein the obtaining the attribute information of the Bluetooth device comprises:
acquiring a name prefix and/or a name suffix of the Bluetooth equipment;
the determining the type of the bluetooth device corresponding to the type identifier of the bluetooth device according to the attribute information of the bluetooth device and the corresponding relationship between the type identifier of the bluetooth device and the type of the bluetooth device includes:
determining the type of the Bluetooth device corresponding to the name prefix and/or name suffix of the Bluetooth device according to the name prefix and/or name suffix of the Bluetooth device and the corresponding relation between the name prefix and/or name suffix and the type of the Bluetooth device.
6. The method of claim 5, wherein the obtaining the name prefix and/or name suffix of the Bluetooth device comprises:
acquiring a name prefix and/or a name suffix of the first Bluetooth device from the mobile terminal, wherein the name prefix and/or the name suffix of the first Bluetooth device are stored in the mobile terminal; alternatively, the first and second electrodes may be,
acquiring first broadcast information sent by the second Bluetooth device, wherein the first broadcast information comprises a name prefix and/or a name suffix of the second Bluetooth device; and acquiring the name prefix and/or name suffix of the second Bluetooth device from the first broadcast information.
7. The method according to claim 1, after determining the type of the bluetooth device corresponding to the type identifier of the bluetooth device according to the attribute information of the bluetooth device and the corresponding relationship between the type identifier of the bluetooth device and the type of the bluetooth device, further comprising:
acquiring a service identification code of the Bluetooth equipment;
determining whether the service identification code of the Bluetooth equipment is matched with the service identification code stored in the mobile terminal;
and if the service identification code of the Bluetooth equipment is determined to be matched with the service identification code stored in the mobile terminal, reserving the Bluetooth equipment.
8. The method of claim 7, further comprising:
and if the service identification code of the Bluetooth equipment cannot be acquired, filtering the Bluetooth equipment.
9. The method of claim 1, wherein the type identifier of the Bluetooth device is a service identification code of the Bluetooth device.
10. The method of claim 9, wherein the obtaining the attribute information of the bluetooth device comprises:
acquiring a service identification code of the Bluetooth equipment;
the determining the type of the bluetooth device corresponding to the type identifier of the bluetooth device according to the attribute information of the bluetooth device and the corresponding relationship between the type identifier of the bluetooth device and the type of the bluetooth device includes:
and determining the type of the Bluetooth equipment corresponding to the service identification code of the Bluetooth equipment according to the service identification code of the Bluetooth equipment and the corresponding relation between the service identification code and the type stored in the mobile terminal.
11. The method according to any of claims 7 to 10, wherein the obtaining the service identification code of the bluetooth device comprises:
acquiring a service identification code of the first Bluetooth device from the mobile terminal, wherein the service identification code of the first Bluetooth device is stored in the mobile terminal; alternatively, the first and second electrodes may be,
acquiring second broadcast information sent by the second Bluetooth device, wherein the second broadcast information comprises a service identification code of the second Bluetooth device; and acquiring the service identification code of the second Bluetooth device from the second broadcast information.
12. The Bluetooth device type recognition device is characterized in that the device is arranged on a mobile terminal, and the device comprises:
the first acquisition device is used for acquiring attribute information of the Bluetooth equipment, wherein the attribute information comprises a type identifier of the Bluetooth equipment, and the type identifier of the Bluetooth equipment and the type of the Bluetooth equipment have a corresponding relation; the Bluetooth device comprises a first Bluetooth device which is paired with the mobile terminal once and/or a second Bluetooth device which is not paired with the mobile terminal once;
a first determining device, configured to determine, according to the attribute information of the bluetooth device and a correspondence between the type identifier of the bluetooth device and the type of the bluetooth device, the type of the bluetooth device corresponding to the type identifier of the bluetooth device.
13. The apparatus of claim 12, wherein the correspondence between the type identifier of the bluetooth device and the type of the bluetooth device is pre-stored in the mobile terminal.
14. The apparatus according to claim 13, wherein the first obtaining means is further configured to obtain a correspondence between a type identifier input by a user and a type, and store the correspondence.
15. The apparatus of any of claims 12-14, wherein the type identifier of the bluetooth device comprises a name prefix or name suffix of the bluetooth device.
16. The apparatus of claim 15,
the first obtaining device is specifically configured to obtain a name prefix and/or a name suffix of the bluetooth device;
the first determining device is specifically configured to determine the type of the bluetooth device corresponding to the name prefix and/or the name suffix of the bluetooth device according to the name prefix and/or the name suffix of the bluetooth device and a correspondence between the name prefix and/or the name suffix and the type of the bluetooth device.
17. The apparatus according to claim 16, wherein the first obtaining means is specifically configured to obtain a name prefix and/or a name suffix of the first bluetooth device from the mobile terminal, and the name prefix and/or the name suffix of the first bluetooth device is stored in the mobile terminal; alternatively, the first and second electrodes may be,
acquiring first broadcast information sent by the second Bluetooth device, wherein the first broadcast information comprises a name prefix and/or a name suffix of the second Bluetooth device; and acquiring the name prefix and/or name suffix of the second Bluetooth device from the first broadcast information.
18. The apparatus of claim 17, further comprising:
the second acquisition device is used for acquiring the service identification code of the Bluetooth equipment;
second determining means for determining whether the service identification code of the bluetooth device matches the service identification code stored in the mobile terminal; and if the service identification code of the Bluetooth equipment is determined to be matched with the service identification code stored in the mobile terminal, reserving the Bluetooth equipment.
19. The apparatus of claim 18, further comprising:
and the filtering device is used for filtering the Bluetooth equipment if the service identification code of the Bluetooth equipment cannot be acquired.
20. The apparatus of claim 12, wherein the type identifier of the bluetooth device is a service identification code of the bluetooth device.
21. The apparatus of claim 20,
the first obtaining device is specifically configured to obtain a service identification code of the bluetooth device;
the first determining device is specifically configured to determine a type corresponding to the service identifier of the bluetooth device according to the service identifier of the bluetooth device and a correspondence between the service identifier and the type stored in the mobile terminal.
22. The apparatus according to any of claims 18-21, wherein the first obtaining means is specifically configured to obtain the service identifier of the first bluetooth device from the mobile terminal, where the service identifier of the first bluetooth device is stored in the mobile terminal; alternatively, the first and second electrodes may be,
acquiring second broadcast information sent by the second Bluetooth device, wherein the second broadcast information comprises a service identification code of the second Bluetooth device; and acquiring the service identification code of the second Bluetooth device from the second broadcast information.
23. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the bluetooth device type identification method according to one of claims 1 to 11.
24. A bluetooth device type identification system, the system comprising:
one or more processors, working individually or collectively, to perform:
acquiring attribute information of Bluetooth equipment, wherein the attribute information comprises a type identifier of the Bluetooth equipment, and the type identifier of the Bluetooth equipment and the type of the Bluetooth equipment have a corresponding relation; the Bluetooth device comprises a first Bluetooth device which is paired with the mobile terminal once and/or a second Bluetooth device which is not paired with the mobile terminal once;
and determining the type of the Bluetooth equipment corresponding to the type identifier of the Bluetooth equipment according to the attribute information of the Bluetooth equipment and the corresponding relation between the type identifier of the Bluetooth equipment and the type of the Bluetooth equipment.
25. The system according to claim 24, wherein the correspondence between the type identifier of the bluetooth device and the type of the bluetooth device is pre-stored in the mobile terminal.
26. The system according to claim 25, wherein said one or more processors are further configured to:
and acquiring the corresponding relation between the type identification input by the user and the type, and storing the corresponding relation.
27. The system according to any of claims 24-26, wherein the type identification of the bluetooth device comprises a name prefix and/or a name suffix of the bluetooth device.
28. The system according to claim 27, wherein said one or more processors are configured to:
acquiring a name prefix and/or a name suffix of the Bluetooth equipment; determining the type of the Bluetooth device corresponding to the name prefix and/or name suffix of the Bluetooth device according to the name prefix and/or name suffix of the Bluetooth device and the corresponding relation between the name prefix and/or name suffix and the type of the Bluetooth device.
29. The system according to claim 28, wherein said one or more processors are configured to:
acquiring a name prefix and/or a name suffix of the first Bluetooth device from the mobile terminal, wherein the name prefix and/or the name suffix of the first Bluetooth device are stored in the mobile terminal; alternatively, the first and second electrodes may be,
acquiring first broadcast information sent by the second Bluetooth device, wherein the first broadcast information comprises a name prefix and/or a name suffix of the second Bluetooth device; and acquiring the name prefix and/or name suffix of the second Bluetooth device from the first broadcast information.
30. The system according to claim 24, wherein said one or more processors are further configured to:
acquiring a service identification code of the Bluetooth equipment;
determining whether the service identification code of the Bluetooth equipment is matched with the service identification code stored in the mobile terminal;
and if the service identification code of the Bluetooth equipment is determined to be matched with the service identification code stored in the mobile terminal, reserving the Bluetooth equipment.
31. The system according to claim 30, wherein said one or more processors are further configured to:
and if the service identification code of the Bluetooth equipment cannot be acquired, filtering the Bluetooth equipment.
32. The system of claim 24, wherein the type identifier of the bluetooth device is a service identification code of the bluetooth device.
33. The system according to claim 32, wherein said one or more processors are configured to:
acquiring a service identification code of the Bluetooth equipment; and determining the type of the Bluetooth equipment corresponding to the service identification code of the Bluetooth equipment according to the service identification code of the Bluetooth equipment and the corresponding relation between the service identification code and the type stored in the mobile terminal.
34. The system according to any one of claims 30-33, wherein said one or more processors are configured to:
acquiring a service identification code of the first Bluetooth device from the mobile terminal, wherein the service identification code of the first Bluetooth device is stored in the mobile terminal; alternatively, the first and second electrodes may be,
acquiring second broadcast information sent by the second Bluetooth device, wherein the second broadcast information comprises a service identification code of the second Bluetooth device; and acquiring the service identification code of the second Bluetooth device from the second broadcast information. .
CN201980008860.0A 2019-07-12 2019-07-12 Bluetooth device type identification method, device and system and readable storage medium Pending CN111656807A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/095839 WO2021007718A1 (en) 2019-07-12 2019-07-12 Method, apparatus and system for identifying type of bluetooth device, and readable storage medium

Publications (1)

Publication Number Publication Date
CN111656807A true CN111656807A (en) 2020-09-11

Family

ID=72349095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980008860.0A Pending CN111656807A (en) 2019-07-12 2019-07-12 Bluetooth device type identification method, device and system and readable storage medium

Country Status (2)

Country Link
CN (1) CN111656807A (en)
WO (1) WO2021007718A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114003782A (en) * 2021-09-29 2022-02-01 深圳优美创新科技有限公司 Bluetooth equipment filtering method, system, device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120309289A1 (en) * 2011-06-06 2012-12-06 Apple Inc. Techniques for facilitating interoperation between an accessory and multiple devices
KR20140126156A (en) * 2013-04-22 2014-10-30 (주)인프라칩 System and method for automatic scan Safety Taxi identifier for the taxi safe return
CN106101990A (en) * 2016-06-27 2016-11-09 深圳鑫岳电子科技有限公司 Bluetooth equipment searching method and device
CN106211031A (en) * 2016-06-27 2016-12-07 深圳鑫岳电子科技有限公司 Bluetooth equipment searching method and device
CN106211030A (en) * 2016-06-27 2016-12-07 深圳鑫岳电子科技有限公司 Bluetooth equipment searching method and device
CN108416207A (en) * 2018-03-07 2018-08-17 北京元心科技有限公司 Bluetooth access right discrimination method, device and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120309289A1 (en) * 2011-06-06 2012-12-06 Apple Inc. Techniques for facilitating interoperation between an accessory and multiple devices
KR20140126156A (en) * 2013-04-22 2014-10-30 (주)인프라칩 System and method for automatic scan Safety Taxi identifier for the taxi safe return
CN106101990A (en) * 2016-06-27 2016-11-09 深圳鑫岳电子科技有限公司 Bluetooth equipment searching method and device
CN106211031A (en) * 2016-06-27 2016-12-07 深圳鑫岳电子科技有限公司 Bluetooth equipment searching method and device
CN106211030A (en) * 2016-06-27 2016-12-07 深圳鑫岳电子科技有限公司 Bluetooth equipment searching method and device
CN108416207A (en) * 2018-03-07 2018-08-17 北京元心科技有限公司 Bluetooth access right discrimination method, device and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114003782A (en) * 2021-09-29 2022-02-01 深圳优美创新科技有限公司 Bluetooth equipment filtering method, system, device and computer readable storage medium

Also Published As

Publication number Publication date
WO2021007718A1 (en) 2021-01-21

Similar Documents

Publication Publication Date Title
CN108551670B (en) Bluetooth connection method and device and intelligent terminal
US20160267501A1 (en) Calculation method and apparatus for user retention ratio
WO2018205903A1 (en) Part information query method and system, electronic device and computer storage medium
CN105721610A (en) Method and system for seeking person under guardianship based on two-dimension code
CN104767767A (en) Method, device and system for sharing Internet access data and network equipment
CN111066348B (en) Network access method and terminal equipment
CN104424352A (en) System and method for providing agent service to user terminal
CN111656807A (en) Bluetooth device type identification method, device and system and readable storage medium
CN111651535B (en) Information query processing method and device, electronic equipment and readable storage medium
CN106572074A (en) Method and device for verifying identifying code
CN109087089B (en) Payment method, payment device and terminal equipment
CN106714172A (en) WIFI hotspot processing method, device and system
US10257866B2 (en) Wireless network access point connection method and terminal
CN104144170A (en) URL filtering method, device and system
WO2016107072A1 (en) Terminal and network selection method therefor
US10470033B2 (en) Method for acquiring user configuration information and terminal
CN105812343A (en) Wearable service authentication method, cloud platform, wearable device and terminal
US20190312864A1 (en) Method and apparatus for establishing association between devices
CN106991635A (en) Call a taxi vehicle method for selecting and device
CN109548411B (en) Method and device for controlling controllable equipment to access network
CN106921972B (en) Intelligent terminal and safety shielding method thereof
CN103873555A (en) Method, device and system for building communication between monitoring terminals
CN109246614B (en) Red packet sending method and device, wearable device and storage medium
CN112765594A (en) Weak password detection method and device
CN110138890A (en) Obtain method, apparatus, computer equipment and the storage medium of IP address

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200911