CN112654030B - Bluetooth pairing method, device, electronic equipment and computer readable storage medium - Google Patents

Bluetooth pairing method, device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN112654030B
CN112654030B CN202011489448.6A CN202011489448A CN112654030B CN 112654030 B CN112654030 B CN 112654030B CN 202011489448 A CN202011489448 A CN 202011489448A CN 112654030 B CN112654030 B CN 112654030B
Authority
CN
China
Prior art keywords
bluetooth
equipment
wearable
search result
wearable device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011489448.6A
Other languages
Chinese (zh)
Other versions
CN112654030A (en
Inventor
何岸
林哲泓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
DO Technology Co ltd
Original Assignee
DO 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 DO Technology Co ltd filed Critical DO Technology Co ltd
Priority to CN202011489448.6A priority Critical patent/CN112654030B/en
Publication of CN112654030A publication Critical patent/CN112654030A/en
Application granted granted Critical
Publication of CN112654030B publication Critical patent/CN112654030B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The embodiment of the application provides a Bluetooth pairing method, a Bluetooth pairing device, electronic equipment and a computer readable storage medium, and relates to the field of communication. Sending a device search instruction to the wearable device through the terminal device to instruct the wearable device to search for the Bluetooth device, obtaining a search result, wherein the search result comprises device information of the searched Bluetooth device, receiving the search result returned by the wearable device, determining a target Bluetooth device to be paired according to the search result, and sending the device information of the target Bluetooth device to the wearable device, so that the wearable device can be paired with the target Bluetooth device according to the device information of the target Bluetooth device. Therefore, a user can realize pairing of the wearable device and the target Bluetooth device through the terminal device, and corresponding operation is not required to be performed on the wearable device, so that the problem that the user is inconvenient to perform pairing operation of the wearable device and other Bluetooth devices due to the fact that the screen of the wearable device is smaller is effectively avoided.

Description

Bluetooth pairing method, device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of communications, and in particular, to a bluetooth pairing method, apparatus, electronic device, and computer readable storage medium.
Background
With the development of electronic technology, as an electronic product capable of providing a brand new interaction mode and personalized service for users, a wearable device (such as a smart watch, a bracelet and the like) can silently influence the daily life, work and study of people, and provides convenience for the daily life, work and study of people.
At present, the wearable device can be paired with other bluetooth devices in a bluetooth communication mode, and a user can use the wearable device to perform bluetooth search and execute corresponding verification operation, however, the screen of the wearable device is generally smaller, so that the user operation is very inconvenient.
Disclosure of Invention
Accordingly, an objective of the present application is to provide a bluetooth pairing method, apparatus, electronic device, and computer readable storage medium, so as to solve the problem in the prior art that a user is inconvenient to perform pairing operation between a wearable device and other bluetooth devices due to a smaller screen of the wearable device.
In order to achieve the above object, the technical scheme adopted by the embodiment of the application is as follows:
in a first aspect, the present application provides a bluetooth pairing method applied to a terminal device, where the terminal device is in communication connection with a wearable device, the method including:
sending a device search instruction to the wearable device; the device searching instruction is used for indicating the wearable device to search Bluetooth devices to obtain a searching result; the search result comprises the equipment information of the searched Bluetooth equipment;
receiving the search result returned by the wearable device;
determining target Bluetooth equipment to be paired according to the search result;
and sending the device information of the target Bluetooth device to the wearable device so that the wearable device can be paired with the target Bluetooth device according to the device information of the target Bluetooth device.
In an optional implementation manner, the terminal device installs an application program, and the step of sending a device search instruction to the wearable device includes:
and responding to the device adding operation of the user on the application program, and sending a device searching instruction to the wearable device.
In an alternative embodiment, the terminal device is provided with an application program, the application program is used for displaying the search result, and the step of determining the target bluetooth device to be paired according to the search result includes:
and determining target Bluetooth equipment to be paired according to equipment selection operation of a user on the application program.
In an alternative embodiment, the method further comprises:
and after receiving the pairing result returned by the wearable equipment, displaying the pairing result.
In a second aspect, the present application provides a bluetooth pairing method applied to a wearable device, where the wearable device is communicatively connected to a terminal device, the method including:
receiving an equipment searching instruction sent by the terminal equipment;
searching Bluetooth equipment according to the equipment searching instruction to obtain a searching result; the search result comprises the equipment information of the searched Bluetooth equipment;
returning the search result to the terminal equipment so that the terminal equipment can determine target Bluetooth equipment to be paired according to the search result and send equipment information of the target Bluetooth equipment to the wearable equipment;
and pairing with the target Bluetooth equipment according to the equipment information of the target Bluetooth equipment.
In an alternative embodiment, the method further comprises:
and returning a pairing result to the terminal equipment so that the terminal equipment displays the pairing result.
In a third aspect, the present application provides a bluetooth pairing device, applied to a terminal device, where the terminal device is communicatively connected to a wearable device, the device includes:
the instruction sending module is used for sending an equipment searching instruction to the wearable equipment; the device searching instruction is used for indicating the wearable device to search Bluetooth devices to obtain a searching result; the search result comprises the equipment information of the searched Bluetooth equipment;
the search result receiving module is used for receiving the search results returned by the wearable equipment;
the device determining module is used for determining target Bluetooth devices to be paired according to the search result;
and the device information sending module is used for sending the device information of the target Bluetooth device to the wearable device so that the wearable device can be paired with the target Bluetooth device according to the device information of the target Bluetooth device.
In a fourth aspect, the present application provides a bluetooth pairing device, applied to a wearable device, where the wearable device is communicatively connected to a terminal device, the device includes:
the instruction receiving module is used for receiving an equipment searching instruction sent by the terminal equipment;
the device searching module is used for searching Bluetooth devices according to the device searching instruction to obtain searching results; the search result comprises the equipment information of the searched Bluetooth equipment;
the search result sending module is used for returning the search result to the terminal equipment so that the terminal equipment can determine target Bluetooth equipment to be paired according to the search result and send equipment information of the target Bluetooth equipment to the wearable equipment;
and the pairing module is used for pairing with the target Bluetooth device according to the device information of the target Bluetooth device.
In a fifth aspect, the present application provides an electronic device comprising a processor and a memory, the memory storing a computer program, the processor implementing the foregoing embodiments or the method of any of the foregoing embodiments when executing the computer program.
In a sixth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the foregoing embodiment or the method of any of the foregoing embodiments.
According to the Bluetooth pairing method, device, electronic equipment and computer readable storage medium, equipment searching instructions are sent to the wearable equipment through the terminal equipment, the equipment searching instructions are used for indicating the wearable equipment to search for Bluetooth equipment to obtain searching results, the searching results comprise equipment information of the searched Bluetooth equipment, the terminal equipment receives the searching results returned by the wearable equipment, the target Bluetooth equipment to be paired is determined according to the searching results, the equipment information of the target Bluetooth equipment is sent to the wearable equipment, and therefore the wearable equipment can be paired with the target Bluetooth equipment according to the equipment information of the target Bluetooth equipment. Therefore, a user can realize pairing of the wearable device and the target Bluetooth device through the terminal device without executing corresponding operation on the wearable device, so that the problem that the user is inconvenient to execute pairing operation of the wearable device and other Bluetooth devices due to smaller screen of the wearable device is effectively avoided, and user experience is improved.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 illustrates a schematic diagram of an application environment suitable for use with embodiments of the present application;
fig. 2 is a schematic flow chart of a bluetooth pairing method applied to a terminal device according to an embodiment of the present application;
fig. 3 is a schematic flow chart of another bluetooth pairing method applied to a terminal device according to an embodiment of the present application;
fig. 4 is a schematic flow chart of a bluetooth pairing method applied to a wearable device according to an embodiment of the present application;
fig. 5 is a schematic flow chart of another bluetooth pairing method applied to a wearable device according to an embodiment of the present application;
fig. 6 shows a functional block diagram of a bluetooth pairing device applied to a terminal device according to an embodiment of the present application;
fig. 7 is a functional block diagram of another bluetooth pairing device applied to a terminal device according to an embodiment of the present application;
fig. 8 is a functional block diagram of a bluetooth pairing device applied to a wearable device according to an embodiment of the present application;
fig. 9 is a functional block diagram of another bluetooth pairing device applied to a wearable device according to an embodiment of the present application;
fig. 10 is a block diagram of an exemplary hardware structure of an electronic device of a terminal device and a wearable device, where the concepts of the present application may be implemented, provided by an embodiment of the present application.
Icon: 100-terminal equipment; 200-a wearable device; 300-bluetooth device; 610-an instruction sending module; 620-a search result receiving module; 630-a device determination module; 640-a device information transmission module; 650-a display module; 810-an instruction receiving module; 820-a device search module; 830-a search result sending module; 840-pairing module; 850-a pairing result sending module; 900-an electronic device; 910-a memory; 920-a processor; 930-communication module.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
It is noted that relational terms such as "first" and "second", and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
Fig. 1 is a schematic view of an application environment suitable for an embodiment of the present application. The terminal device 100 is in communication connection with the wearable device 200, and the wearable device 200 can search for the peripheral bluetooth device 300 through the bluetooth search function, and perform bluetooth pairing with the peripheral bluetooth device 300, so as to establish bluetooth communication connection with the peripheral bluetooth device 300. The terminal device 100 and the wearable device 200 may also communicate or interact data through a bluetooth communication manner. For example, an App (Application) may be installed in the terminal device 100 in advance, through which a bluetooth communication connection with the wearable device 200 is established.
In this embodiment, the terminal device 100 may be, but is not limited to, a smart phone, a tablet computer, or the like; wearable device 200 may be, but is not limited to, a smart watch, smart bracelet, or the like; bluetooth device 300 may be, but is not limited to, a headset, a ring, a wearable communication accessory, etc.
In one embodiment, referring to fig. 2, a bluetooth pairing method is provided. The present embodiment is mainly exemplified by the application of the method to the terminal device 100 in fig. 1. It should be noted that, the bluetooth pairing method of the present embodiment is not limited by fig. 2 and the following specific sequence, and it should be understood that, in other embodiments, the sequence of part of the steps in the bluetooth pairing method of the present application may be interchanged according to actual needs, or part of the steps may be omitted or deleted. The specific flow shown in fig. 2 will be described in detail.
Step S201, a device search instruction is sent to the wearable device; the device searching instruction is used for indicating the wearable device to search the Bluetooth device to obtain a searching result; the search results include device information of the searched bluetooth device.
In this embodiment, after the terminal device 100 establishes bluetooth communication connection with the wearable device 200, the terminal device 100 may send a device search instruction to the wearable device 200 through a bluetooth communication manner, and after the wearable device 200 receives the device search instruction, the bluetooth search function is turned on to search for the peripheral bluetooth devices 300, so as to obtain a search result.
The search result includes the searched device information of the bluetooth device 300, and the device information may include information of a MAC address, a device name, a device type, and the like of the bluetooth device 300.
Step S202, receiving search results returned by the wearable device.
In this embodiment, the wearable device 200 may return the search result to the terminal device 100 through a bluetooth communication manner, and after the terminal device 100 receives the search result, it is able to know which bluetooth devices 300 available for pairing the wearable device 200 are around the wearable device 200.
Step S203, determining the target Bluetooth device to be paired according to the search result.
In this embodiment, after receiving the search result, the terminal device 100 may determine, according to the device information of the bluetooth device 300 in the search result, the target bluetooth device to be paired.
Step S204, the device information of the target Bluetooth device is sent to the wearable device, so that the wearable device can be paired with the target Bluetooth device according to the device information of the target Bluetooth device.
In this embodiment, after determining the target bluetooth device to be paired, the terminal device 100 sends device information of the target bluetooth device to the wearable device 200, and the wearable device 200 performs pairing with the target bluetooth device according to the device information of the target bluetooth device.
According to the Bluetooth pairing method provided by the embodiment of the application, the device searching instruction is sent to the wearable device 200 through the terminal device 100, the device searching instruction is used for indicating the wearable device 200 to search the Bluetooth device 300 to obtain the searching result, the searching result comprises the device information of the searched Bluetooth device 300, the terminal device 100 receives the searching result returned by the wearable device 200, determines the target Bluetooth device to be paired according to the searching result, and sends the device information of the target Bluetooth device to the wearable device 200, so that the wearable device 200 can be paired with the target Bluetooth device according to the device information of the target Bluetooth device. In this way, the user can pair the wearable device 200 with the target bluetooth device through the terminal device 100, and the corresponding operation is not required to be performed on the wearable device 200, so that the problem that the user is inconvenient to perform the pairing operation of the wearable device 200 and other bluetooth devices 300 due to the small screen of the wearable device 200 is effectively avoided, and the user experience is improved.
In one embodiment, the terminal device 100 may establish a bluetooth communication connection with the wearable device 200 through an installed App, and after the bluetooth communication connection is established, the user may send a device search instruction to the wearable device 200 by operating the App. Based on this, the step S201 may specifically include: and responding to the device adding operation of the user on the application program, and sending a device searching instruction to the wearable device.
For example, a "device addition" button may be provided on the App, and after the user operates the "device addition" button on the App, the terminal device 100 generates a device search instruction in response to the user's device addition operation and transmits to the wearable device 200.
In one embodiment, the application program installed on the terminal device 100 may be used to display the search result, and step S203 may specifically include: and determining the target Bluetooth equipment to be paired according to the equipment selection operation of the user on the application program.
For example, after receiving the search result returned by the wearable device 200, the terminal device 100 may display the search result on the App, where the device information of the bluetooth device 300 in the search result may be displayed in a list form on the App, and the user selects the bluetooth device 300 to be paired on the App, and the terminal device 100 may determine the target bluetooth device to be paired by responding to the device selection operation of the user.
Of course, in practical applications, the terminal device 100 may also automatically select, as the target bluetooth device to be paired, one bluetooth device 300 from the bluetooth devices 300 searched for by the wearable device 200 according to a preset rule, in addition to determining the target bluetooth device to be paired according to the device selection operation of the user. For example, the device information of the bluetooth device 300 may include a parameter characterizing bluetooth signal strength of the bluetooth device 300 or a distance between the bluetooth device 300 and the wearable device 200, and the terminal device 100 may select, as the target bluetooth device, the bluetooth device 300 having the strongest bluetooth signal strength or the bluetooth device 300 closest to the wearable device 200 based on the received device information of the bluetooth device 300. Of course, the terminal device 100 may also determine the target bluetooth device to be paired in other manners, which is not limited in this embodiment.
Optionally, referring to fig. 3, the bluetooth pairing method provided in the embodiment of the present application may further include the following steps:
step S301, after receiving the pairing result returned by the wearable device, displaying the pairing result.
In this embodiment, after the wearable device 200 performs pairing with the target bluetooth device according to the device information of the target bluetooth device, a corresponding pairing result is generated and returned to the terminal device 100 in a bluetooth communication manner, and after the terminal device 100 receives the pairing result, the pairing result is displayed on the App. Based on the pairing result displayed on the App, the user can determine whether the wearable device 200 and the target bluetooth device are successfully paired.
In one embodiment, referring to fig. 4, another bluetooth pairing method is provided. The present embodiment is mainly exemplified by the application of the method to the wearable device 200 in fig. 1. It should be noted that, the bluetooth pairing method of the present embodiment is not limited by fig. 4 and the following specific sequence, and it should be understood that, in other embodiments, the sequence of part of the steps in the bluetooth pairing method of the present application may be interchanged according to actual needs, or part of the steps may be omitted or deleted. The specific flow shown in fig. 4 will be described in detail.
Step S401, receiving a device search instruction sent by a terminal device.
In this embodiment, after the terminal device 100 establishes a bluetooth communication connection with the wearable device 200, a device search instruction may be sent to the wearable device 200 through a bluetooth communication manner. In one example, the terminal device 100 may generate a device search instruction and transmit to the wearable device 200 in response to a device addition operation of the user on the application.
Step S402, searching Bluetooth equipment according to the equipment searching instruction to obtain a searching result; the search results include device information of the searched bluetooth device.
In this embodiment, after receiving the device search instruction, the wearable device 200 starts a bluetooth search function to search for the surrounding bluetooth devices 300, so as to obtain a search result, where the search result includes the searched device information of the bluetooth devices 300, such as the MAC address, the device name, and the device type of the bluetooth devices 300.
Step S403, a search result is returned to the terminal equipment, so that the terminal equipment determines target Bluetooth equipment to be paired according to the search result, and equipment information of the target Bluetooth equipment is sent to the wearable equipment.
In this embodiment, the wearable device 200 may return the search result to the terminal device 100 through bluetooth communication. In one example, the terminal device 100 may display the search result on the App so that the user selects the bluetooth device 300 to be paired on the App, the terminal device 100 determines a target bluetooth device to be paired in response to a device selection operation of the user, and transmits device information of the target bluetooth device to the wearable device 200.
Step S404, pairing with the target Bluetooth device according to the device information of the target Bluetooth device.
In this embodiment, after receiving the device information of the target bluetooth device, the wearable device 200 may pair with the target bluetooth device according to the device information of the target bluetooth device.
According to the Bluetooth pairing method provided by the embodiment of the application, the wearable device 200 searches the Bluetooth device 300 according to the device search instruction by receiving the device search instruction sent by the terminal device 100, so as to obtain a search result; the search result includes the device information of the searched bluetooth device 300, and returns the search result to the terminal device 100, and the terminal device 100 determines a target bluetooth device to be paired according to the search result, and transmits the device information of the target bluetooth device to the wearable device 200, and the wearable device 200 pairs with the target bluetooth device according to the device information of the target bluetooth device. In this way, the user can pair the wearable device 200 with the target bluetooth device through the terminal device 100, and the corresponding operation is not required to be performed on the wearable device 200, so that the problem that the user is inconvenient to perform the pairing operation of the wearable device 200 and other bluetooth devices 300 due to the small screen of the wearable device 200 is effectively avoided, and the user experience is improved.
Optionally, referring to fig. 5, the bluetooth pairing method provided in the embodiment of the present application may further include the following steps:
step S501, a pairing result is returned to the terminal device, so that the terminal device displays the pairing result.
In this embodiment, after the wearable device 200 performs pairing with the target bluetooth device according to the device information of the target bluetooth device, a corresponding pairing result may be generated and returned to the terminal device 100 in a bluetooth communication manner, and after the terminal device 100 receives the pairing result, the pairing result is displayed on the App. Based on the pairing result displayed on the App, the user can determine whether the wearable device 200 and the target bluetooth device are successfully paired.
Fig. 6 is a functional block diagram of a bluetooth pairing device according to an embodiment of the application. The bluetooth pairing device may be applied to the terminal device 100 in fig. 1, and includes an instruction transmitting module 610, a search result receiving module 620, a device determining module 630, and a device information transmitting module 640.
The instruction sending module 610 is configured to send a device search instruction to the wearable device 200; the device search instruction is used for instructing the wearable device 200 to search the bluetooth device 300 to obtain a search result; the search result includes the device information of the searched bluetooth device 300.
It is understood that the instruction sending module 610 may perform the above step S201.
The search result receiving module 620 is configured to receive a search result returned by the wearable device 200.
It is understood that the search result receiving module 620 may perform the above step S202.
The device determining module 630 is configured to determine a target bluetooth device to be paired according to the search result.
It is understood that the device determining module 630 may perform the above step S203.
The device information sending module 640 is configured to send device information of the target bluetooth device to the wearable device 200, so that the wearable device 200 pairs with the target bluetooth device according to the device information of the target bluetooth device.
It is understood that the device information transmitting module 640 may perform the above step S204.
Optionally, the instruction sending module 610 may be specifically configured to send a device search instruction to the wearable device 200 in response to a device addition operation of the user on the application program.
Optionally, the device determining module 630 may specifically be configured to determine the target bluetooth device to be paired according to a device selection operation of the user on the application program.
Optionally, referring to fig. 7, the bluetooth pairing device may further include a display module 650, configured to display the pairing result after receiving the pairing result returned by the wearable device 200.
It is understood that the display module 650 may also perform the above step S301.
The bluetooth pairing device applied to the terminal device 100 provided by the embodiment of the application sends the device search instruction to the wearable device 200 through the instruction sending module 610, wherein the device search instruction is used for indicating the wearable device 200 to search the bluetooth device 300 to obtain a search result; the search result includes the device information of the searched bluetooth device 300, the search result returned by the wearable device 200 is received through the search result receiving module 620, the target bluetooth device to be paired is determined according to the search result through the device determining module 630, and the device information of the target bluetooth device is transmitted to the wearable device 200 through the device information transmitting module 640, so that the wearable device 200 is paired with the target bluetooth device according to the device information of the target bluetooth device. In this way, the user can pair the wearable device 200 with the target bluetooth device through the terminal device 100, and the corresponding operation is not required to be performed on the wearable device 200, so that the problem that the user is inconvenient to perform the pairing operation of the wearable device 200 and other bluetooth devices 300 due to the small screen of the wearable device 200 is effectively avoided, and the user experience is improved.
Referring to fig. 8, a functional block diagram of another bluetooth pairing device according to an embodiment of the application is shown. The bluetooth pairing device may be applied to the wearable device 200 in fig. 1, and includes an instruction receiving module 810, a device searching module 820, a search result transmitting module 830, and a pairing module 840.
The instruction receiving module 810 is configured to receive a device search instruction sent by the terminal device 100.
It is understood that the instruction receiving module 810 may perform the above step S401.
The device searching module 820 is configured to search the bluetooth device 300 according to a device searching instruction to obtain a search result; the search result includes the device information of the searched bluetooth device 300.
It is understood that the device search module 820 may perform the above step S402.
The search result sending module 830 is configured to return a search result to the terminal device 100, so that the terminal device 100 determines a target bluetooth device to be paired according to the search result, and sends device information of the target bluetooth device to the wearable device 200.
It is understood that the search result transmission module 830 may perform the above step S403.
The pairing module 840 is configured to pair with a target bluetooth device according to device information of the target bluetooth device.
It is understood that the pairing module 840 may perform the step S404 described above.
Optionally, referring to fig. 9, the bluetooth pairing device may further include a pairing result sending module 850, configured to return a pairing result to the terminal device 100, so that the terminal device 100 displays the pairing result.
It is understood that the pairing result transmitting module 850 may perform the above step S501.
According to the Bluetooth pairing device applied to the wearable device 200, the device searching module 820 searches the Bluetooth device 300 according to the device searching command through the command receiving module 810 to obtain a searching result, the searching result comprises the device information of the searched Bluetooth device 300, the searching result is returned to the terminal device 100 through the searching result sending module 830, the terminal device 100 determines the target Bluetooth device to be paired according to the searching result and sends the device information of the target Bluetooth device to the wearable device 200, and the pairing module 840 performs pairing with the target Bluetooth device according to the device information of the target Bluetooth device. In this way, the user can pair the wearable device 200 with the target bluetooth device through the terminal device 100, and the corresponding operation is not required to be performed on the wearable device 200, so that the problem that the user is inconvenient to perform the pairing operation of the wearable device 200 and other bluetooth devices 300 due to the small screen of the wearable device 200 is effectively avoided, and the user experience is improved.
Alternatively, please refer to fig. 10, which is an exemplary hardware structural block diagram of an electronic device 900 of a terminal device 100 and a wearable device 200, which may implement the concepts of the present application, provided by an embodiment of the present application. The electronic device 900 includes a memory 910, a processor 920, and a communication module 930. The memory 910, the processor 920, and the communication module 930 are electrically connected directly or indirectly to each other to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
Wherein the memory 910 is used for storing programs or data. The Memory 910 may be, but is not limited to, random access Memory (Random Access Memory, RAM), read Only Memory (ROM), programmable Read Only Memory (Programmable Read-Only Memory, PROM), erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
The processor 920 is used to read/write data or programs stored in the memory 910 and perform corresponding functions. For example, the bluetooth pairing method disclosed in the embodiment of the present application can be implemented when the processor 920 executes a computer program stored in the memory 910.
The communication module 930 is used for establishing a communication connection between the electronic device 900 and other communication terminals through a network, and for transceiving data through the network.
It should be understood that the structure shown in fig. 1 is merely a schematic diagram of the structure of the electronic device 900, and that the electronic device 900 may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
The embodiment of the present application also provides a computer readable storage medium, on which a computer program is stored, where the computer program can implement the bluetooth pairing method disclosed in the embodiment of the present application when executed by the processor 920.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, of the flowcharts and block diagrams in the figures that illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A bluetooth pairing method, applied to a terminal device, where the terminal device is communicatively connected to a wearable device, the method comprising:
sending a device search instruction to the wearable device; the device search instruction is used for indicating the wearable device to start a Bluetooth search function and searching the Bluetooth device to obtain a search result; the search result comprises the equipment information of the searched Bluetooth equipment; the device information of the Bluetooth device comprises parameters representing Bluetooth signal intensity of the Bluetooth device or distance between the Bluetooth device and the wearable device;
receiving the search result returned by the wearable device;
determining target Bluetooth equipment to be paired according to the search result; the step of determining the target Bluetooth device to be paired according to the search result comprises the following steps: selecting a Bluetooth device with the strongest Bluetooth signal intensity or a Bluetooth device closest to the wearable device as a target Bluetooth device according to the search result;
and sending the device information of the target Bluetooth device to the wearable device so that the wearable device can be paired with the target Bluetooth device according to the device information of the target Bluetooth device.
2. The method of claim 1, wherein the terminal device is provided with an application program, and wherein the step of sending the device search instruction to the wearable device comprises:
and responding to the device adding operation of the user on the application program, and sending a device searching instruction to the wearable device.
3. The method according to claim 1, wherein the terminal device is provided with an application program for displaying the search result, and wherein the step of determining the target bluetooth device to be paired according to the search result includes:
and determining target Bluetooth equipment to be paired according to equipment selection operation of a user on the application program.
4. The method according to claim 1, wherein the method further comprises:
and after receiving the pairing result returned by the wearable equipment, displaying the pairing result.
5. A bluetooth pairing method, applied to a wearable device, the wearable device being communicatively connected to a terminal device, the method comprising:
receiving an equipment searching instruction sent by the terminal equipment;
starting a Bluetooth searching function according to the equipment searching instruction, searching Bluetooth equipment, and obtaining a searching result; the search result comprises the equipment information of the searched Bluetooth equipment; the device information of the Bluetooth device comprises parameters representing Bluetooth signal intensity of the Bluetooth device or distance between the Bluetooth device and the wearable device;
returning the search result to the terminal equipment so that the terminal equipment can determine target Bluetooth equipment to be paired according to the search result and send equipment information of the target Bluetooth equipment to the wearable equipment; the terminal device selects the Bluetooth device with the strongest Bluetooth signal intensity or the Bluetooth device closest to the wearable device as a target Bluetooth device according to the search result;
and pairing with the target Bluetooth equipment according to the equipment information of the target Bluetooth equipment.
6. The method of claim 5, wherein the method further comprises:
and returning a pairing result to the terminal equipment so that the terminal equipment displays the pairing result.
7. A bluetooth pairing device, characterized by being applied to a terminal device, the terminal device being communicatively connected to a wearable device, the device comprising:
the instruction sending module is used for sending an equipment searching instruction to the wearable equipment; the device search instruction is used for indicating the wearable device to start a Bluetooth search function and searching the Bluetooth device to obtain a search result; the search result comprises the equipment information of the searched Bluetooth equipment; the device information of the Bluetooth device comprises parameters representing Bluetooth signal intensity of the Bluetooth device or distance between the Bluetooth device and the wearable device;
the search result receiving module is used for receiving the search results returned by the wearable equipment;
the device determining module is used for determining target Bluetooth devices to be paired according to the search result; the step of determining the target Bluetooth device to be paired according to the search result comprises the following steps: selecting a Bluetooth device with the strongest Bluetooth signal intensity or a Bluetooth device closest to the wearable device as a target Bluetooth device according to the search result;
and the device information sending module is used for sending the device information of the target Bluetooth device to the wearable device so that the wearable device can be paired with the target Bluetooth device according to the device information of the target Bluetooth device.
8. A bluetooth pairing device, characterized by being applied to a wearable device, the wearable device being communicatively connected with a terminal device, the device comprising:
the instruction receiving module is used for receiving an equipment searching instruction sent by the terminal equipment;
the device searching module is used for starting a Bluetooth searching function according to the device searching instruction, searching Bluetooth devices and obtaining searching results; the search result comprises the equipment information of the searched Bluetooth equipment; the device information of the Bluetooth device comprises parameters representing Bluetooth signal intensity of the Bluetooth device or distance between the Bluetooth device and the wearable device;
the search result sending module is used for returning the search result to the terminal equipment so that the terminal equipment can determine target Bluetooth equipment to be paired according to the search result and send equipment information of the target Bluetooth equipment to the wearable equipment; the terminal device selects the Bluetooth device with the strongest Bluetooth signal intensity or the Bluetooth device closest to the wearable device as a target Bluetooth device according to the search result;
and the pairing module is used for pairing with the target Bluetooth device according to the device information of the target Bluetooth device.
9. An electronic device comprising a processor and a memory, the memory storing a computer program, the processor implementing the method of any one of claims 1-4 or claims 5-6 when executing the computer program.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the method of any of claims 1-4 or claims 5-6.
CN202011489448.6A 2020-12-16 2020-12-16 Bluetooth pairing method, device, electronic equipment and computer readable storage medium Active CN112654030B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011489448.6A CN112654030B (en) 2020-12-16 2020-12-16 Bluetooth pairing method, device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011489448.6A CN112654030B (en) 2020-12-16 2020-12-16 Bluetooth pairing method, device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112654030A CN112654030A (en) 2021-04-13
CN112654030B true CN112654030B (en) 2023-08-11

Family

ID=75354390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011489448.6A Active CN112654030B (en) 2020-12-16 2020-12-16 Bluetooth pairing method, device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112654030B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115776661A (en) * 2021-09-08 2023-03-10 Oppo广东移动通信有限公司 Bluetooth-based control method and device, electronic equipment and storage medium
CN113873589A (en) * 2021-09-18 2021-12-31 深圳市爱都科技有限公司 Bluetooth connection switching method, Bluetooth headset and computer readable storage medium
CN114828301A (en) * 2022-04-08 2022-07-29 董全 Base station communication system and method based on wearable device
CN115665657A (en) * 2022-10-27 2023-01-31 歌尔科技有限公司 Wireless pairing method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108271143A (en) * 2018-01-08 2018-07-10 维沃移动通信有限公司 A kind of connection method of Bluetooth device and mobile terminal
CN111150190A (en) * 2020-02-21 2020-05-15 深圳多卓科技有限公司 Off-line bluetooth music bracelet based on wearing equipment
CN111683358A (en) * 2020-07-06 2020-09-18 Oppo(重庆)智能科技有限公司 Control method, control device, mobile terminal, storage medium and wireless headset

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016015209A1 (en) * 2014-07-28 2016-02-04 华为技术有限公司 Bluetooth communication method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108271143A (en) * 2018-01-08 2018-07-10 维沃移动通信有限公司 A kind of connection method of Bluetooth device and mobile terminal
CN111150190A (en) * 2020-02-21 2020-05-15 深圳多卓科技有限公司 Off-line bluetooth music bracelet based on wearing equipment
CN111683358A (en) * 2020-07-06 2020-09-18 Oppo(重庆)智能科技有限公司 Control method, control device, mobile terminal, storage medium and wireless headset

Also Published As

Publication number Publication date
CN112654030A (en) 2021-04-13

Similar Documents

Publication Publication Date Title
CN112654030B (en) Bluetooth pairing method, device, electronic equipment and computer readable storage medium
USRE49470E1 (en) Visual representation of contact location
US9674331B2 (en) Transmitting data from an automated assistant to an accessory
US10348879B2 (en) Method and system for processing prompt message of mobile terminal based on intelligent wearable device
US20140189532A1 (en) Editing text-based communications
JP5801351B2 (en) Portable electronic device linkage system, information providing apparatus, portable electronic device, and program for portable electronic device
CN105933546B (en) message notification method, device and terminal
EP3291485B1 (en) Communication device and communication method
US20080132243A1 (en) Device and method for providing location information on a portable mobile communications device
CN108021642B (en) Application program recommendation method and device, mobile terminal and storage medium
CN112188449B (en) TWS earphone box and pairing method of TWS earphones
JP5065304B2 (en) Location information communication
CN106897162B (en) Communication mode selection method of component in application, communication system and mobile terminal
JP2011081833A (en) Visual representation of contact location
EP3157175A1 (en) Voice data transmission processing method, terminal, and computer storage medium
EP3007412A1 (en) Electronic device, and program
JP2005167696A (en) Wireless communication controller and its control method
KR20180006777A (en) Apparatus and methof for transmitting personal information
CN106500685B (en) Multi-terminal assisted navigation method, device and system
CN103957187A (en) Method, apparatus and system for arranging hardware switch of mobile terminal
CN106790933B (en) Information prompting method and communication electronic equipment
KR101408813B1 (en) System for Processing Application
KR20160033968A (en) Mobile communication terminal for wireless connection with video display device of vehicle and the program stored in medium for executing the method
KR101408806B1 (en) System for Processing Application
JP5961384B2 (en) Diagnosis target terminal, server, method, and program for performing diagnosis and coping

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
GR01 Patent grant
GR01 Patent grant