Bluetooth connection method, system, Bluetooth terminal and readable storage medium

By extracting the terminal feature data of the Bluetooth client and matching it with the pre-stored matching data, the problem that the existing Bluetooth anti-connection method cannot effectively prevent illegal device connections is solved, and the privacy and low power consumption of Bluetooth connections are achieved.

CN119789240APending Publication Date: 2025-04-08UBTECH ROBOTICS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411999286.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

The existing Bluetooth anti-connection method has the problem of not being able to effectively prevent illegal equipment connections, and the method of periodically sending legal control instructions is high power consumption and heavy communication load.

Method used

By obtaining the Bluetooth name of the Bluetooth client, feature extraction is performed to obtain the terminal feature data and match the pre-stored matching feature data. If the match is successful, the connection is allowed, otherwise it is not allowed.

Benefits of technology

It realizes the screening of the legality of Bluetooth clients at the beginning of the connection, ensuring the privacy of the connection, and reducing the load and power consumption of subsequent data communications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119789240A_ABST
    Figure CN119789240A_ABST
Patent Text Reader

Abstract

The present application relates to the field of communication connection technology, and in particular to a Bluetooth connection method, system, Bluetooth terminal and readable storage medium. The method comprises: when receiving a connection request from a Bluetooth client, obtaining the Bluetooth name of the Bluetooth client; extracting features of the Bluetooth name to obtain terminal feature data matching the Bluetooth name; matching the terminal feature data according to pre-stored matching feature data, and if the match is successful, allowing the Bluetooth client to access, otherwise not allowing the Bluetooth client to access. The method enables the Bluetooth server to only receive connections from pre-set Bluetooth clients, and will not be connected by other Bluetooth devices, thereby ensuring the privacy of the Bluetooth server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication connection technology, and in particular to a Bluetooth connection method, system, Bluetooth terminal and readable storage medium. Background Art

[0002] Among the Bluetooth anti-connection methods of existing products on the market, either the Bluetooth server of the product does not have an anti-connection operation. Or the Bluetooth server of the product periodically sends legal control instructions to the Bluetooth client to determine whether it is an allowed device. The shortcomings of the existing solutions are that the first Bluetooth anti-connection method does not use any anti-connection operation, so it can be connected by most Bluetooth clients, resulting in the inability of Bluetooth clients that are truly allowed to access to access normally. The second Bluetooth anti-connection method periodically sends legal control instructions and receives the target data packet fed back by the target sub-device based on the legal control instruction, performs legality analysis on the target data packet, and obtains the analysis result. Based on the analysis result, it is confirmed whether it is a Bluetooth client that is truly allowed to access. The entire process has a long cycle time, increases the interactive communication load of both parties, and consumes relatively large power. Summary of the invention

[0003] In view of this, an embodiment of the present application provides a Bluetooth connection method, which is applied to a Bluetooth server, and the method includes:

[0004] When receiving a connection request from a Bluetooth client, obtaining the Bluetooth name of the Bluetooth client;

[0005] Extracting features from the Bluetooth name to obtain terminal feature data matching the Bluetooth name;

[0006] The terminal feature data is matched according to the pre-stored matching feature data, and if the match is successful, the Bluetooth client is allowed to access, otherwise the Bluetooth client is not allowed to access.

[0007] In some embodiments, extracting features from the Bluetooth name to obtain terminal feature data includes:

[0008] Obtaining the unique identification code in the Bluetooth name through a preset regular expression;

[0009] The unique identification code is stored in the first cache space as terminal feature data.

[0010] In some embodiments, matching the terminal feature data according to pre-stored matching feature data includes:

[0011] Acquire the plurality of matching feature data pre-stored in the second cache space;

[0012] Traversing the plurality of matching feature data to determine whether there is matching feature data identical to the terminal feature data;

[0013] If there is matching feature data of the same terminal feature data, the terminal feature data confirms that the match is successful, otherwise the match fails.

[0014] In some embodiments, when receiving a connection request from a Bluetooth client, obtaining the Bluetooth name of the Bluetooth client includes:

[0015] Parsing the connection request to determine the Bluetooth name field;

[0016] The value of the name field is used as the Bluetooth name of the Bluetooth client.

[0017] In a second aspect, the present application also provides a Bluetooth connection method, which is applied to a Bluetooth client, and the method includes:

[0018] In response to a Bluetooth scanning instruction, after scanning a Bluetooth server, a connection request is initiated to the Bluetooth server, wherein the connection request includes a Bluetooth name set in a preset format, and the Bluetooth name includes terminal feature data of the Bluetooth client.

[0019] In some embodiments, the terminal characteristic data is an SN code of the Bluetooth client; the method further includes:

[0020] According to a preset regular expression, the custom characters and the SN code are concatenated to obtain a Bluetooth name set in a preset format.

[0021] In some embodiments, the terminal characteristic data is an SN code of the Bluetooth client; the method further includes:

[0022] The user-defined name modified by the user is obtained, and the user-defined name and the SN code are concatenated to obtain a Bluetooth name set in a preset format.

[0023] In a third aspect, the present application provides a Bluetooth connection system, including: a Bluetooth client and a Bluetooth server;

[0024] The Bluetooth client is used to start Bluetooth scanning, and after scanning the Bluetooth server, initiate a connection request to the Bluetooth server;

[0025] When the Bluetooth server receives a connection request from a Bluetooth client, obtaining the Bluetooth name of the Bluetooth client;

[0026] When the Bluetooth server extracts features from the Bluetooth name, corresponding terminal feature data is obtained;

[0027] When the Bluetooth server matches the terminal feature data according to the preset matching feature data, if the match is successful, the Bluetooth client is allowed to access, otherwise the Bluetooth client is not allowed to access.

[0028] In a fourth aspect, the present application provides a Bluetooth terminal, the Bluetooth terminal comprising a processor and a memory, the memory storing a computer program, and the processor being configured to execute the computer program to implement the Bluetooth connection method.

[0029] In a fifth aspect, the present application provides a computer-readable storage medium storing a computer program, which implements the Bluetooth connection method when executed on a processor.

[0030] The embodiments of the present application have the following beneficial effects:

[0031] The Bluetooth server identifies the terminal feature data in the client name of the Bluetooth client and matches the terminal feature data, so that the Bluetooth server only connects to the matching Bluetooth client, and the legitimacy of the client is screened at the beginning of the connection, thereby ensuring the privacy of the Bluetooth server connection and eliminating the need for frequent data communications after the connection to ensure the legitimacy of the connection. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0033] Figure 1 A schematic diagram of the structure of a Bluetooth connection system according to an embodiment of the present application is shown;

[0034] Figure 2 A schematic diagram of a Bluetooth connection method flow chart of an embodiment of the present application is shown;

[0035] Figure 3 A schematic diagram of a Bluetooth connection interaction process according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0036] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.

[0037] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0038] Hereinafter, the terms "including", "having" and their cognates that can be used in various embodiments of the present application are intended only to indicate specific features, numbers, steps, operations, elements, components or a combination of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or a combination of the foregoing items or increasing the possibility of one or more features, numbers, steps, operations, elements, components or a combination of the foregoing items. In addition, the terms "first", "second", "third" and the like are only used to distinguish descriptions and cannot be understood as indicating or implying relative importance.

[0039] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present application belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present application.

[0040] The Bluetooth anti-connection methods of existing products on the market currently either have no anti-connection operation, or continue to perform real-time verification during the connection process by periodically sending legal control instructions, which consumes a lot of power. For this reason, the Bluetooth connection method provided in this application limits and identifies the Bluetooth client name, so that it can be determined at the beginning whether the device is a device that meets the requirements, thereby reducing the communication load and ensuring the security of the Bluetooth connection.

[0041] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0042] like Figure 1 As shown, the present application provides a Bluetooth connection system, including: a Bluetooth server 100 and a Bluetooth client 200.

[0043] The Bluetooth server 100 is a device for receiving control from the Bluetooth client 200. For example, the Bluetooth server 100 can be a remotely controlled car, robot or other remotely controlled device, and the Bluetooth client 200 is the remote control for controlling the car. The two are connected via Bluetooth, and the user can perform remote control after the remote control and the car are connected via Bluetooth.

[0044] That is, the Bluetooth server 100 and the Bluetooth client 200 are in a relationship of one controlling the other after the Bluetooth connection is established, wherein the end controlled by the client to issue instructions for Bluetooth connection is the Bluetooth client, and the one being controlled is the Bluetooth server.

[0045] The Bluetooth server 100 and the Bluetooth client 200 of this embodiment are complete sets of equipment. For the manufacturer, considering the safety of the Bluetooth server 100, only the Bluetooth client 200 shipped by the manufacturer is allowed to connect, and other Bluetooth devices are not allowed to connect to the Bluetooth server 100. For example, various smart terminals now have Bluetooth functions, but these smart terminals are not factory-matched equipment, so when users use the Bluetooth function in their own smart terminals to connect to the Bluetooth server 100, the Bluetooth server 100 will deny access to these smart terminals.

[0046] Specifically, when the Bluetooth server 100 is in use, it will turn on the Bluetooth broadcast, which can be turned on by the user through a set start button or other methods, and then start waiting for the Bluetooth connection signal. The Bluetooth client 200 sets its own Bluetooth name according to a preset format, and the Bluetooth name includes preset terminal feature data.

[0047] When the Bluetooth client 200 receives the connection instruction, it starts Bluetooth scanning, and after finding the Bluetooth server 100, it initiates a connection message to the Bluetooth server 100, and then connects via Bluetooth.

[0048] When the Bluetooth server 100 receives a connection request from the Bluetooth client 200, it obtains the Bluetooth name of the Bluetooth client 200. The Bluetooth server 100 extracts features from the Bluetooth name and obtains terminal feature data that matches the Bluetooth name. The Bluetooth server 100 matches the terminal feature data, and if the match is successful, a connection is established, otherwise the connection is disconnected.

[0049] The Bluetooth server will pre-store a series of matching feature data inside. These matching feature data are data of the same nature as the terminal feature data. These data can be stored in the Bluetooth server 100 in the form of a table, an array, etc. to perform corresponding matching operations.

[0050] Matching refers to comparing the terminal feature data with all the matching feature data to determine whether there is the same data. If not, it means the match fails, and if so, it means the match is successful.

[0051] For the successfully matched Bluetooth client 200, the Bluetooth server 100 is allowed to make a Bluetooth connection, otherwise it is not allowed to make a connection. Thus, a connection-preventing Bluetooth connection method is implemented.

[0052] The Bluetooth connection system of this embodiment ensures that the server side can only be connected to the client device via Bluetooth, ensuring that the entire system will not be invaded and connected by other external devices, and also reducing the system overhead used to maintain this anti-connection state.

[0053] Figure 2 A flow chart of a Bluetooth connection method according to an embodiment of the present application is shown. Exemplarily, the Bluetooth connection method includes the following steps:

[0054] Step S100, start Bluetooth scanning, and after scanning the Bluetooth server, initiate a connection request to the Bluetooth server.

[0055] For the Bluetooth server of this embodiment, it is the passive connection party. After turning on the Bluetooth broadcast, its own Bluetooth signal will be broadcast to other devices with Bluetooth function to find. When the user wants to connect, he can connect through the corresponding Bluetooth client.

[0056] For a Bluetooth client, its own Bluetooth name is a preset fixed format, and the name must contain terminal feature data. When leaving the factory, the Bluetooth name is written in this fixed format.

[0057] The fixed format may be pre-set in the form of a regular expression to limit the description form of the Bluetooth name and the position of the terminal characteristic data in the Bluetooth name, and then the preset terminal characteristic data is obtained.

[0058] In this embodiment, the feature identification data is an SN code or other unique identification code, such as the MAC address of certain hardware. It can be understood that this type of unique identification code is a unique number carried by the device when it leaves the factory. By configuring the unique identification code into the name, it can be ensured that the name of each Bluetooth client is unique.

[0059] Exemplarily, the custom characters and the SN code may be concatenated according to a preset regular expression to obtain a Bluetooth name set in a preset format.

[0060] The specific regular expression can be "[a-zA-Z]+\d+", which represents a custom character with English letters at the beginning and numbers at the end. The SN code can be spliced ​​at the set position.

[0061] In addition, the custom name modified by the user can be obtained, and the custom name and the SN code can be concatenated to obtain the Bluetooth name set in the preset format.

[0062] For example, the name format may be a name in the format of "ubt_xxxxxxxx", where "xxxxxxxx" is terminal feature data, and ubt may be a default manufacturer name or a user-defined name modified by a user.

[0063] The name of the Bluetooth client can be customized by the user, but the characters of the above identification feature part cannot be changed. Therefore, every time the user modifies the name, the Bluetooth name will be reorganized according to a fixed format to obtain a Bluetooth name consisting of the identification feature code and the customized name set by the user.

[0064] When the user wants to change back to the default name, the Bluetooth client can fetch the pre-stored default name from the memory for setting.

[0065] In addition, the Bluetooth name of the Bluetooth client can also be prevented from being modified by the user. The name of each Bluetooth client is locked directly when it leaves the factory, which can prevent problems caused by arbitrary modifications by the user.

[0066] For the Bluetooth client, it is controlled by the user. When the user needs to connect, a connection instruction will be sent to the Bluetooth client. At this time, the Bluetooth client will start Bluetooth scanning, find the surrounding Bluetooth server devices, and then establish a Bluetooth connection.

[0067] It can be understood that the Bluetooth devices found by the Bluetooth client will be displayed to the user, and the user will select the Bluetooth server to connect. At this time, the Bluetooth client will initiate a connection message to the Bluetooth server.

[0068] In addition to the connection request, the connection information also includes the Bluetooth name of the Bluetooth client.

[0069] Step S200: When a connection request from a Bluetooth client is received, the Bluetooth name of the Bluetooth client is obtained.

[0070] When the Bluetooth server receives a connection request from a Bluetooth client, the Bluetooth server can directly obtain the Bluetooth name of the Bluetooth client. At this point, the Bluetooth server and the Bluetooth client begin to match.

[0071] As described in the previous steps, the Bluetooth name is carried in the connection request, so the Bluetooth server can directly obtain the Bluetooth name from the connection request.

[0072] First, a name field storing the Bluetooth name in the connection request may be determined, and then the Bluetooth name may be determined based on the name field.

[0073] Step S300: extract features from the Bluetooth name to obtain terminal feature data corresponding to the Bluetooth name.

[0074] After obtaining the Bluetooth name, you need to extract the terminal feature data from the Bluetooth name.

[0075] According to the above steps, the Bluetooth name is a name generated by a fixed format, so as long as the format set in the Bluetooth client is the same as the format set in the Bluetooth server, the terminal feature data can be parsed out.

[0076] For example, if a Bluetooth name is constructed by a regular expression in a Bluetooth client, then the Bluetooth server only needs to store the same regular expression and perform string parsing through the regular expression to parse the terminal feature data from the Bluetooth name.

[0077] In this embodiment, a first cache space is specially provided for the terminal characteristic data to cache the terminal characteristic data, so that the Bluetooth server can directly extract the Bluetooth name from the first cache space for use in subsequent matching or checking operations.

[0078] It is understandable that when the terminal feature data is extracted in this embodiment, it is extracted according to a fixed format. Therefore, if it is another format name, normal extraction cannot be performed. Therefore, when the extraction fails, it can also be directly determined that the Bluetooth client device that issued the connection request is illegal, so that the Bluetooth connection can be avoided.

[0079] Step S400, matching the terminal feature data according to preset matching feature data, if the match is successful, allowing the Bluetooth client to access, otherwise not allowing the Bluetooth client to access.

[0080] After obtaining the terminal feature data, it is necessary to perform identification and matching operations based on the terminal feature data.

[0081] Specifically, a series of matching feature data are pre-stored in the local cache of the Bluetooth server, which are data of the same nature as the terminal feature data and are the contents written into the Bluetooth server when it leaves the factory.

[0082] If the terminal feature data is the SN code, then the matching feature data are all SN codes. If the terminal feature data is the MAC address of a hardware on the Bluetooth client, then the matching feature data is the MAC address. The nature of the data is the same, so a comparison can be performed.

[0083] The matching feature data is stored in the second cache space, which is a space that cannot be accessed, read or written by users and is used to store static data. Therefore, the matching feature data cannot be changed after leaving the factory, thereby ensuring the privacy of the matching feature data.

[0084] After obtaining the terminal characteristic data of the Bluetooth client, the terminal characteristic data is matched with multiple pre-stored matching characteristic data. If the matching characteristic data is found to be the same as the terminal characteristic data, it means the match is successful. If no identical matching characteristic data is found, the match fails.

[0085] If the match is successful, it means that the Bluetooth client is one of the devices that can be connected to the Bluetooth server. At this time, the Bluetooth connection can be made. If the match fails, it means that the Bluetooth client is not a Bluetooth client that can be connected. At this time, the Bluetooth server will directly disconnect the Bluetooth connection. In this way, only the Bluetooth client corresponding to the SN code pre-written in the Bluetooth server can connect to the Bluetooth server, and other devices cannot connect. In this way, the Bluetooth connection prevention function is realized.

[0086] During matching, the data in the second cache space may be polled to compare the terminal feature data with all matching feature data to ensure that nothing is missed.

[0087] It can be understood that the unique code such as SN code is the code set according to the corresponding setting of each hardware when the hardware leaves the factory. It has a one-to-one correspondence and has the effect of verifying the legal identity of the product. By pre-storing the unique code as matching feature data and the Bluetooth client writing the unique code into the Bluetooth name, the Bluetooth server can obtain the unique code of the Bluetooth client for identification and matching, and determine whether the connected device is legal at the beginning of the connection. In this way, after the connection is established, there is no need to continuously send signals to determine whether the other party is legal, reducing the communication load for continuous confirmation after the connection. At the same time, for other illegal clients, although they can be searched and connected, they will definitely not be connected because they cannot be matched, achieving the effect of anti-connection.

[0088] Further, such as Figure 3As shown, the communication method between the Bluetooth client and the Bluetooth server of this embodiment is still the Bluetooth protocol method. One party starts broadcasting, and the other party scans and adds to start matching. However, at both ends, in order to prevent the connection of external devices, the Bluetooth client sets its own Bluetooth name in a fixed format and writes the SN code. The Bluetooth server identifies and analyzes the Bluetooth name, extracts the SN code, and matches it according to the internal data. Finally, it determines whether to connect based on the matching result.

[0089] In the Bluetooth connection method of the present embodiment, the Bluetooth server parses the Bluetooth name of the Bluetooth client to obtain the terminal feature data therein, and then matches and compares it with the terminal feature data pre-stored inside itself to determine that the connected Bluetooth client is a preset internal device, thereby ensuring that the Bluetooth server is intelligently connected to the designated Bluetooth client, and after the connection, there is no need to conduct timed data communication with the Bluetooth client to ensure whether the connected Bluetooth client is a legitimate client, thereby reducing communication load, reducing energy consumption, and increasing work efficiency.

[0090] The present application also provides a Bluetooth terminal, which includes a processor and a memory, wherein the memory stores a computer program, and the processor is used to execute the computer program to implement the Bluetooth connection method.

[0091] The Bluetooth terminal can be the Bluetooth server or Bluetooth client in the aforementioned embodiment. Specifically, when acting as a Bluetooth server, it can be a controlled robot, car or other remotely controlled device. When acting as a Bluetooth client, it can be a remote control or other device that can remotely control the Bluetooth server.

[0092] The present application provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed on a processor, the Bluetooth connection method is implemented.

[0093] It can be understood that the device of this embodiment corresponds to the method of the above embodiment, and the options in the above embodiment are also applicable to this embodiment, so they will not be described repeatedly here.

[0094] Among them, the processor can be an integrated circuit chip with signal processing capabilities. The processor can be a general-purpose processor, including a central processing unit (CPU), a graphics processing unit (GPU) and a network processor (NP), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or at least one of other programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc., which can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application.

[0095] The memory may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. The memory is used to store a computer program, and the processor may execute the computer program accordingly after receiving an execution instruction.

[0096] The present application also provides a computer-readable storage medium for storing the computer program used in the above-mentioned Bluetooth terminal. For example, the computer-readable storage medium may include but is not limited to: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0097] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow diagram, and the combination of boxes in the structure diagram and / or the flow diagram, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0098] In addition, the functional modules or units in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0099] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.

[0100] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A Bluetooth connection method, characterized in that: Applied to a Bluetooth server, the method includes: When receiving a connection request from a Bluetooth client, obtaining the Bluetooth name of the Bluetooth client; Extracting features from the Bluetooth name to obtain terminal feature data matching the Bluetooth name; The terminal feature data is matched according to the pre-stored matching feature data, and if the match is successful, the Bluetooth client is allowed to access, otherwise the Bluetooth client is not allowed to access.

2. The Bluetooth connection method according to claim 1, characterized in that: The extracting features of the Bluetooth name to obtain terminal feature data includes: Obtaining the unique identification code in the Bluetooth name through a preset regular expression; The unique identification code is stored in the first cache space as terminal feature data.

3. The Bluetooth connection method according to claim 1, characterized in that: The matching of the terminal feature data according to the pre-stored matching feature data includes: Acquire the plurality of matching feature data pre-stored in the second cache space; Traversing the plurality of matching feature data to determine whether there is matching feature data identical to the terminal feature data; If there is matching feature data of the same terminal feature data, the terminal feature data confirms that the match is successful, otherwise the match fails.

4. The Bluetooth connection method according to claim 1, characterized in that: When receiving a connection request from a Bluetooth client, obtaining the Bluetooth name of the Bluetooth client includes: Parsing the connection request to determine the Bluetooth name field; The value of the name field is used as the Bluetooth name of the Bluetooth client.

5. A Bluetooth connection method, characterized in that: Applied to a Bluetooth client, the method comprises: In response to a Bluetooth scanning instruction, after scanning a Bluetooth server, a connection request is initiated to the Bluetooth server, wherein the connection request includes a Bluetooth name set in a preset format, and the Bluetooth name includes terminal feature data of the Bluetooth client.

6. The Bluetooth connection method according to claim 5, characterized in that: The terminal characteristic data is the SN code of the Bluetooth client; the method further comprises: According to a preset regular expression, the custom characters and the SN code are concatenated to obtain a Bluetooth name set in a preset format.

7. The Bluetooth connection method according to claim 5, characterized in that: The terminal characteristic data is the SN code of the Bluetooth client; the method further comprises: The user-defined name modified by the user is obtained, and the user-defined name and the SN code are concatenated to obtain a Bluetooth name set in a preset format.

8. A Bluetooth connection system, characterized in that: Includes: Bluetooth client and Bluetooth server; The Bluetooth client is used to start Bluetooth scanning, and after scanning the Bluetooth server, initiate a connection request to the Bluetooth server; When the Bluetooth server receives a connection request from a Bluetooth client, obtaining the Bluetooth name of the Bluetooth client; When the Bluetooth server extracts features from the Bluetooth name, corresponding terminal feature data is obtained; When the Bluetooth server matches the terminal feature data according to the preset matching feature data, if the match is successful, the Bluetooth client is allowed to access, otherwise the Bluetooth client is not allowed to access.

9. A Bluetooth terminal, characterized in that: The Bluetooth terminal comprises a processor and a memory, wherein the memory stores a computer program, and the processor is configured to execute the computer program to implement the Bluetooth connection method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The device stores a computer program, which, when executed on a processor, implements the Bluetooth connection method according to any one of claims 1 to 7.