WO2018209555A1 - Procédé de connexion de dispositif bluetooth et dispositif terminal - Google Patents

Procédé de connexion de dispositif bluetooth et dispositif terminal Download PDF

Info

Publication number
WO2018209555A1
WO2018209555A1 PCT/CN2017/084528 CN2017084528W WO2018209555A1 WO 2018209555 A1 WO2018209555 A1 WO 2018209555A1 CN 2017084528 W CN2017084528 W CN 2017084528W WO 2018209555 A1 WO2018209555 A1 WO 2018209555A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
bluetooth
preset threshold
bluetooth device
rssi value
Prior art date
Application number
PCT/CN2017/084528
Other languages
English (en)
Chinese (zh)
Inventor
王宇
戴文锦
曾海涵
金施宇
Original Assignee
深圳市创客工场科技有限公司
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 深圳市创客工场科技有限公司 filed Critical 深圳市创客工场科技有限公司
Priority to CN201780000346.3A priority Critical patent/CN107278380A/zh
Priority to PCT/CN2017/084528 priority patent/WO2018209555A1/fr
Publication of WO2018209555A1 publication Critical patent/WO2018209555A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength

Definitions

  • the present invention belongs to the field of communications technologies, and in particular, to a method and a terminal device for connecting a Bluetooth device.
  • Bluetooth devices such as robots, electronic module main control boards, household appliances, etc.
  • central devices such as mobile phones, tablet computers, etc.
  • the embodiments of the present invention provide a method for connecting a Bluetooth device and a terminal device, so as to solve the problem that the existing method for connecting the Bluetooth device is cumbersome and low in efficiency.
  • a first aspect of the embodiments of the present invention provides a method for connecting a Bluetooth device, which is applied to a terminal device, where the method includes:
  • the RSSI value of the Bluetooth device scanned by the terminal device is greater than the first preset threshold, and is less than the second preset threshold, the user is prompted to move the terminal device, where the second preset threshold is greater than The first preset threshold;
  • the terminal device and the RSSI value are greater than Or a communication connection of the Bluetooth device equal to the second preset threshold.
  • a second aspect of the embodiments of the present invention provides a terminal device, where the terminal device includes: [0010] a scanning module, configured to scan a Bluetooth device within a predetermined range of the terminal device;
  • an obtaining module configured to acquire an intensity indication RS SI value of a received signal of the Bluetooth device scanned by the terminal device
  • a prompting module configured to prompt the user to move the terminal device if the RSSI value of the Bluetooth device scanned by the terminal device is greater than a first preset threshold, and is less than a second preset threshold, where The second preset threshold is greater than the first preset threshold;
  • an establishing module configured to: if the RSSI value of the Bluetooth device scanned by the terminal device is greater than or equal to the second preset threshold, in the process of moving the terminal device, establish the terminal device A communication connection with a Bluetooth device having an R SSI value greater than or equal to the second predetermined threshold.
  • a third aspect of the embodiments of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and operable on the processor, wherein the processing Executing the computer program implements the following steps:
  • the RSSI value of the Bluetooth device scanned by the terminal device is greater than the first preset threshold, and is less than the second preset threshold, the user is prompted to move the terminal device, where the second preset threshold is greater than The first preset threshold;
  • the terminal device and the RSSI value are greater than Or a communication connection of the Bluetooth device equal to the second preset threshold.
  • a fourth aspect of the embodiments of the present invention provides a computer readable storage medium storing a computer program, the computer program being executed by a processor, to implement the following steps:
  • the RSSI value of the Bluetooth device scanned by the terminal device is greater than the first preset threshold, and is less than the second preset threshold, the user is prompted to move the terminal device, where the second preset threshold is greater than The first preset threshold;
  • the present invention first scans a Bluetooth device within a predetermined range of the terminal device, and acquires the RSSI value of the scanned Bluetooth device, in the scanned
  • the RSSI value of the Bluetooth device is greater than the first preset threshold, and is less than the second preset threshold ⁇ , prompting the user to move the terminal device, and if the terminal device moves, detecting that the scanned RSSI value of the Bluetooth device is greater than or equal to the first
  • the second preset threshold establishes a communication connection between the terminal device and the Bluetooth device.
  • the terminal device may be moved according to the RSSI value of the Bluetooth device scanned by the terminal device, and after the RSSI value of the Bluetooth device is greater than or equal to the second preset threshold, the terminal device is connected to the Bluetooth device, thereby implementing
  • the terminal device quickly connects to the Bluetooth device, which is simple in operation and improves the efficiency of connecting the Bluetooth device.
  • FIG. 1 is a flowchart of an implementation of a method for connecting a Bluetooth device according to an embodiment of the present invention
  • FIG. 2 is a flowchart of an implementation of a method for connecting a Bluetooth device according to an embodiment of the present invention
  • FIG. 3 is a structural block diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a terminal device according to an embodiment of the present invention.
  • the term “if” may be interpreted as “when" or “once” or “in response to determining” or “in response to detecting” depending on the context. ". Similarly, the phrase “if determined” or “if detected [condition or event described]” may be interpreted in context to mean “once determined” or “in response to determining” or “once detected [condition or event described] ] “OR” in response to detecting [described condition or event].
  • the terminal device described in the embodiments of the present invention includes, but is not limited to, a mobile phone, a laptop computer or a tablet computer such as a touch sensitive surface (eg, a touch screen display and/or a touch pad).
  • a touch sensitive surface eg, a touch screen display and/or a touch pad
  • Other portable devices e.g., the device is not a portable communication device, but a desktop computer having a touch sensitive surface (e.g., a touch screen display and/or a touch pad).
  • terminal device including a display and a touch sensitive surface is described.
  • the terminal device can include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
  • the terminal device supports various applications, such as one or more of the following: a drawing application, a presentation Apps, word processing applications, website creation applications, disk burning applications, spreadsheet applications, gaming applications, phone applications, video conferencing applications, email applications, instant messaging applications, workout support Apps, photo management apps, digital camera apps, digital camera apps, web browsing apps, digital music player apps and/or digital video player apps.
  • applications such as one or more of the following: a drawing application, a presentation Apps, word processing applications, website creation applications, disk burning applications, spreadsheet applications, gaming applications, phone applications, video conferencing applications, email applications, instant messaging applications, workout support Apps, photo management apps, digital camera apps, digital camera apps, web browsing apps, digital music player apps and/or digital video player apps.
  • the various applications that can be executed on the terminal device can use at least one common physical user interface device such as a touch sensitive surface.
  • One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal device can be adjusted and/or changed within the application and/or within the respective application.
  • the common physical architecture of the terminal device e. g., a touch-sensitive surface
  • FIG. 1 is a flowchart of an implementation of a method for connecting a Bluetooth device according to Embodiment 1 of the present invention.
  • the method for connecting a Bluetooth device may include the following steps:
  • Step S101 Scan a Bluetooth device within a predetermined range of the terminal device.
  • the terminal device receives an instruction issued by a user to activate a function of connecting the Bluetooth device of the terminal device (for example, by clicking an option of a function of connecting the Bluetooth device in the terminal device) And triggering the instruction), or triggering the function of connecting the Bluetooth device of the terminal device triggered by the preset inter-turn interval, starting the function of connecting the Bluetooth device of the terminal device, and entering an interface for connecting the Bluetooth device.
  • the terminal device may scan the Bluetooth device within the predetermined range in a real time or at a preset interval.
  • the Bluetooth device may be a Bluetooth peripheral device based on a Bluetooth technology (for example, Bluetooth 4.0 technology), such as a robot, an electronic module main control board, and a home appliance, which are not limited herein.
  • the predetermined range may mean that the user presets the range in which the terminal device scans the Bluetooth device.
  • the terminal device may be displayed in a text or graphic manner in the interface of the terminal device connected to the Bluetooth device.
  • Bluetooth device The option to connect Bluetooth devices in a traditional list can also be provided in the interface to which the Bluetooth device is connected.
  • the user usually knows the specific location of the Bluetooth device to which the terminal device is to be connected, and after starting the function of connecting the Bluetooth device, the terminal The device may prompt the user to move in the direction of the Bluetooth device to be connected (ie, the terminal device is close to the Bluetooth device to be connected) in a text or graphic manner in the interface connecting the Bluetooth device, so that the terminal device can connect with the desired device.
  • the Bluetooth device quickly establishes a communication connection. For example, in a classroom, a child's hand-held machine, in the process of establishing a communication connection between the mobile phone and the robot A having a certain distance from the mobile phone, can display "Please approach the robot A" in the form of text in the interface connecting the Bluetooth device. .
  • the manner in which the terminal device sends the prompting information to the user includes, but is not limited to, a text, a graphic, a voice, and the like, which are not limited herein.
  • Step S102 Obtain an intensity indication RSSI value of a received signal of the Bluetooth device scanned by the terminal device.
  • the terminal device after the function of connecting the Bluetooth device is started, the terminal device enters an interface for connecting to the Bluetooth device, and prompts the user in the form of user text or graphics on the interface of the connected Bluetooth device.
  • the terminal device moves in the direction of the designated Bluetooth device, and the terminal device can determine or obtain the received signal strength indication (RSI) of the Bluetooth device scanned by the terminal device during the moving process. value. For example, after receiving an instruction sent by a user to obtain an RSSI value of a Bluetooth device scanned by the terminal device, or acquiring an RSSI value of a Bluetooth device scanned by the terminal device, according to a preset inter-time interval, And acquiring an RSSI value of a received signal of the Bluetooth device scanned by the terminal device.
  • RSSI received signal strength indication
  • the number of Bluetooth devices scanned by the terminal device may be one or more.
  • the Bluetooth device When the terminal device scans a Bluetooth device, the Bluetooth device is largely a Bluetooth device to which the terminal device is to be connected, that is, a Bluetooth device is specified, and an RSSI value of the Bluetooth device is obtained. Because the user wants to establish a communication connection between the terminal device and the designated Bluetooth device, the terminal device needs to be able to scan to the designated Bluetooth device, that is, the distance between the terminal device and the designated Bluetooth device must be a communication connection. In the range.
  • the terminal device scans a plurality of Bluetooth devices (ie, at least two Bluetooth devices)
  • the plurality of Bluetooth devices include the designated Bluetooth devices, and respectively obtain the RSSI values of the plurality of Bluetooth devices.
  • Step S103 if the RSSI value of the Bluetooth device scanned by the terminal device is greater than the first preset threshold, and is less than the second preset threshold, the user is prompted to move the terminal device, where the second pre- The threshold is set to be greater than the first predetermined threshold.
  • the terminal device when the terminal device scans a Bluetooth device, it is determined that the Bluetooth device scanned by the terminal device is a designated Bluetooth device, and if the RSSI value of the designated Bluetooth device is greater than the first pre- Setting a threshold, and less than the second preset threshold, prompting the user to move the terminal device, because the user knows the location information of the Bluetooth device to be connected (ie, the designated Bluetooth device), in order to establish a communication connection with the designated Bluetooth device more quickly, The user can continue to move the terminal device in the direction of the designated Bluetooth device.
  • the terminal device scans a plurality of Bluetooth devices, if the RSSI value of the Bluetooth device scanned by the terminal device is greater than a first preset threshold, and is less than a second preset threshold, Then prompting the user to move the terminal device includes:
  • the terminal device when the terminal device scans a plurality of Bluetooth devices, respectively, acquiring RSSI values of the plurality of Bluetooth devices, and comparing RSSI values of the plurality of Bluetooth devices, from the The maximum RSSI value is selected from the RSSI values of the plurality of Bluetooth devices. If the maximum RSSI value is greater than the first preset threshold and less than the second preset threshold, the user is prompted to use the terminal device to the designated Bluetooth device. If the maximum RSSI value is less than or equal to the first preset threshold, the terminal device continues to acquire the RSSI value of the plurality of Bluetooth devices to which the terminal device is located, and does not send any prompt information to the user.
  • Step S104 If the RSSI value of the Bluetooth device scanned by the terminal device is greater than or equal to the second preset threshold, the terminal device and the RSSI are established. A communication connection of a Bluetooth device having a value greater than or equal to the second predetermined threshold.
  • the terminal is established.
  • the communication connection between the device and the Bluetooth device whose RSS I value is greater than or equal to the second preset threshold includes:
  • the RSSI The Bluetooth device with the largest value is usually a Bluetooth device, and the communication connection of the Bluetooth device corresponding to the maximum RSSI value is established.
  • the terminal device detects that the maximum value of the RSSI values of the plurality of Bluetooth devices scanned by the terminal device is greater than or equal to the second preset threshold, The terminal device may send the identifier request information to the Bluetooth device corresponding to the maximum RSSI value, respectively, so that the Bluetooth device corresponding to the maximum RSSI value receives the identifier request information, and the terminal device After the identifier information of the Bluetooth device is received, the terminal device may display the identifier information of the Bluetooth device corresponding to the largest RSS I value on the interface of the connected Bluetooth device after receiving the identifier information of the Bluetooth device corresponding to the maximum RSSI value.
  • the identification information of the Bluetooth device refers to information capable of uniquely characterizing the Bluetooth device. For example, if there are multiple robots in a classroom, and multiple robots are numbered separately, and the numbers of different robots are different, the number can be used as the identification information of the robot.
  • the method further includes:
  • the user is prompted to send a successful connection.
  • the terminal device may be moved according to the RSSI value of the Bluetooth device scanned by the terminal device, and the terminal device is connected to the Bluetooth device after the RSSI value of the Bluetooth device is greater than or equal to a second preset threshold. Therefore, the terminal device can be quickly connected to the Bluetooth device, and the process is simple and the efficiency of connecting the Bluetooth device is improved.
  • FIG. 2 it is a flowchart of an implementation of a method for connecting a Bluetooth device according to Embodiment 2 of the present invention.
  • the method for connecting a Bluetooth device may include the following steps:
  • Step S201 The identifier information of the specified Bluetooth device is stored in the terminal device, where the designated Bluetooth device refers to a Bluetooth device that needs to establish a communication connection with the terminal device.
  • the identifier information of the Bluetooth device refers to information that can uniquely represent the Bluetooth device. For example, if there are multiple robots in one classroom, and multiple robots are numbered separately, and the numbers of different robots are different, the number can be used as the identification information of the robot.
  • Step S202 Scan a Bluetooth device within a predetermined range of the terminal device.
  • the terminal device receives an instruction by the user to activate a function of connecting the Bluetooth device of the terminal device (for example, by clicking an option of a function of connecting the Bluetooth device in the terminal device) And triggering the instruction), or triggering the function of connecting the Bluetooth device of the terminal device triggered by the preset inter-turn interval, starting the function of connecting the Bluetooth device of the terminal device, and entering an interface for connecting the Bluetooth device.
  • the terminal device may scan the Bluetooth device within the predetermined range in a real time or at a preset interval.
  • the Bluetooth device may be a Bluetooth peripheral device based on a Bluetooth technology (for example, Bluetooth 4.0 technology), such as a robot, an electronic module main control board, and a home appliance, which are not limited herein.
  • Step S203 If the Bluetooth device scanned by the terminal device has a Bluetooth device that matches the identification information of the specified Bluetooth device, the Bluetooth device is determined to be the designated Bluetooth device.
  • Step S204 Acquire an RSSI value of the specified Bluetooth device.
  • the terminal device in order to reduce the number of RSSI values acquired by the terminal, save power consumption of the terminal device, and extend the endurance capability of the terminal device, the terminal device may only obtain the specified The RSSI value of the Bluetooth device.
  • Step S205 if the RSSI value of the specified Bluetooth device is greater than the first preset threshold and less than the second preset threshold, prompting the user to send the terminal device to the designated Bluetooth device. The direction of movement.
  • Step S206 if the RSSI value of the specified Bluetooth device is greater than or equal to the second preset threshold during the moving of the terminal device, establishing the terminal device and the designated Bluetooth device Communication connection.
  • the terminal device In order to connect to the designated Bluetooth device more accurately, if the RSSI value of the specified Bluetooth device is greater than or equal to the second preset threshold during the moving of the terminal device, the terminal device And sending the identifier request information to the Bluetooth device corresponding to the maximum RSSI value, so that the specified Bluetooth device feeds back the identifier information of the specified Bluetooth device to the terminal device after receiving the identifier request information, After receiving the identifier information, the terminal device may display the identifier information in an interface of the terminal device connected to the Bluetooth device, and after receiving the determining instruction of the identifier information by the user, A communication connection of the terminal device to the designated Bluetooth device. [0073] Optionally, after establishing the communication connection between the terminal device and the designated Bluetooth device, the method further includes: sending a message to the user if the terminal device successfully connects to the specified Bluetooth device A prompt to connect successfully.
  • the embodiment of the present invention adds the "identification information of the designated Bluetooth device" on the basis of the first embodiment, so as to obtain only the RSSI value of the specified Bluetooth device, and the RSSI value of the designated Bluetooth device is greater than the second preset threshold.
  • the communication connection between the terminal device and the designated Bluetooth device is established, thereby reducing the operation of the terminal device, improving the efficiency of connecting the designated Bluetooth device, saving the power consumption of the terminal device, and prolonging the endurance capability of the terminal device.
  • FIG. 3 it is a structural block diagram of a terminal device according to Embodiment 3 of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown.
  • the terminal device includes:
  • the scanning module 31 is configured to scan a Bluetooth device within a predetermined range of the terminal device
  • the obtaining module 32 is configured to obtain an intensity indication RSSI value of the received signal of the Bluetooth device scanned by the terminal device;
  • the prompting module 33 is configured to prompt the user to move the terminal device if the RSSI value of the Bluetooth device scanned by the terminal device is greater than a first preset threshold, and is less than a second preset threshold, where The second preset threshold is greater than the first preset threshold;
  • the establishing module 34 is configured to: if the RSSI value of the Bluetooth device scanned by the terminal device is greater than or equal to the second preset threshold, in the process of moving the terminal device, establish the terminal The device is in communication with a Bluetooth device whose RSSI value is greater than or equal to the second predetermined threshold.
  • the prompting module 33 is configured to prompt, if the maximum value of the RSSI values of the plurality of Bluetooth devices scanned by the terminal device is greater than the first preset threshold, and less than the second preset threshold. The user moves the terminal device;
  • the establishing module 34 is configured to detect the terminal device in the process of moving the terminal device And establishing, by the terminal device, a communication connection of the Bluetooth device corresponding to the maximum RSSI value, if the maximum value of the RSSI value of the scanned plurality of Bluetooth devices is greater than or equal to the second preset threshold.
  • the terminal device further includes:
  • a storage module 35 configured to store, in the terminal device, identification information of the specified Bluetooth device, where the designated Bluetooth device is required to be associated with the terminal device, before scanning the Bluetooth device within the predetermined range of the terminal device The device establishes a Bluetooth device for communication connection;
  • a determining module 36 configured to: after the scanning of the Bluetooth device within the predetermined range of the terminal device, if the presence information of the Bluetooth device scanned by the terminal device is related to the identification information of the designated Bluetooth device Matching the Bluetooth device, determining that the Bluetooth device is the designated Bluetooth device;
  • the obtaining module 32 is configured to acquire an RSSI value of the specified Bluetooth device.
  • the prompting module 33 is configured to: if the RSSI value of the specified Bluetooth device is greater than the first preset threshold, and less than the second preset threshold, prompting the user to move the terminal device to The direction of the specified Bluetooth device is moved;
  • the establishing module 34 is configured to: if the RSSI value of the specified Bluetooth device is greater than or equal to the second preset threshold, in the process of moving the terminal device, establish the terminal device and The communication connection of the designated Bluetooth device;
  • the prompting module 34 includes:
  • the obtaining unit 341 is configured to acquire the location information of the designated Bluetooth device if the RSSI value of the specified Bluetooth device is greater than the first preset threshold and is less than the second preset threshold.
  • the prompting unit 342 is configured to prompt the user to move the terminal device to the specified Bluetooth device according to the location information of the specified Bluetooth device.
  • the terminal device further includes:
  • the information issuance module 37 is configured to: if the terminal device is successfully connected to the Bluetooth terminal whose RSSI value is greater than or equal to the second preset threshold, send a prompt message to the user that the connection is successful.
  • FIG. 4 is a structural block diagram of a terminal device according to Embodiment 4 of the present invention.
  • the terminal device as shown may include: one or more processors 401 (only one shown); one or more input devices 402 (only one shown), one or more output devices 403 (only one is shown in the figure) and memory 404.
  • the above processor 401, input device 402, output device 403, and memory 404 are connected by a bus 405.
  • the memory 404 is for storing instructions, and the processor 401 is for executing instructions stored by the memory 404. among them:
  • the processor 401 is configured to scan a Bluetooth device within a predetermined range of the terminal device, and acquire, by the input device 402, an intensity indication RSSI value of the received signal of the Bluetooth device scanned by the terminal device; If the RSSI value of the Bluetooth device that is scanned by the device is greater than the first preset threshold, and is less than the second preset threshold, the user is prompted to move the terminal device by using the output device 403, where the second preset threshold is greater than Determining a first preset threshold; if, in the process of moving the terminal device, detecting that the RSSI value of the Bluetooth device scanned by the terminal device is greater than or equal to the second preset threshold, establishing the terminal device A communication connection of a Bluetooth device whose RSSI value is greater than or equal to the second predetermined threshold.
  • the processor 401 is configured to: if a maximum value of RSSI values of the plurality of Bluetooth devices scanned by the terminal device is greater than the first a preset threshold, and less than the second preset threshold, prompting the user to move the terminal device by using the output device 403; if the terminal device is in the process of moving, detecting the terminal device scanning And establishing, by the terminal device, a communication connection of the Bluetooth device corresponding to the largest RSSI value.
  • the processor 401 is further configured to store, in the terminal device, identifier information of the specified Bluetooth device, where the designated Bluetooth device Means a Bluetooth device that needs to establish a communication connection with the terminal device; [0101] After scanning the Bluetooth device in the predetermined range of the terminal device, the processor 401 is further configured to: if the presence information of the Bluetooth device scanned by the terminal device matches the identification information of the specified Bluetooth device, The Bluetooth device is determined to be the designated Bluetooth device; the RSSI value of the designated Bluetooth device is obtained by the input device 402; if the RSSI value of the specified Bluetooth device is greater than the first preset threshold, And being smaller than the second preset threshold, the user is prompted by the output device 403 to move the terminal device to the specified Bluetooth device; if the terminal device moves, the device is detected. And establishing a communication connection between the terminal device and the designated Bluetooth device, where the RSSI value of the specified Bluetooth device is greater than or equal to the second
  • the processor 401 is specifically configured to: if the RSSI value of the specified Bluetooth device is greater than the first preset threshold, and is less than the second preset threshold, pass the input device 402. Obtaining location information of the specified Bluetooth device; according to the location information of the specified Bluetooth device, prompting the user to move the terminal device to the direction of the designated Bluetooth device by using the output device 403.
  • the memory 404 is configured to store a software program and a module.
  • the processor 401 executes various functional applications and data processing by running software programs and modules stored in the memory 404 to establish a communication connection between the terminal device and the designated Bluetooth device.
  • the processor 401 may be a central processing unit (CPU), and the processor may be another general-purpose processor or a digital signal processor (Digital Signal Processor). , DSP), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the input device 402 may include a touch panel, a fingerprint sensor (for collecting fingerprint information of the user and direction information of the fingerprint), a microphone, a data receiving interface, and the like.
  • Output device 403 can include a display (LC D, etc.), a speaker, a data transmission interface, and the like.
  • the memory 404 can include read only memory and random access memory and provides instructions and data to the processor 401.
  • a portion of memory 404 may also include non-volatile random access memory.
  • the memory 404 can also store information of the device type.
  • the processor 401, the input device 402, and the output device 40 are described in the embodiment of the present invention.
  • 3 and the memory 404 may be implemented in the implementation manner described in the embodiment of the method for connecting the Bluetooth device provided by the embodiment of the present invention.
  • the implementation manner described in the terminal device in the third embodiment may also be implemented, and details are not described herein again.
  • FIG. 5 is a structural block diagram of a terminal device according to Embodiment 5 of the present invention.
  • the terminal device may be used to implement the implementation manner described in the embodiment of the method for connecting a Bluetooth device according to the embodiment of the present invention.
  • the implementation described in the terminal device described in Embodiment 3 can be performed.
  • the terminal device 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more (only one shown) computer readable storage medium, and an input unit 130.
  • the terminal device structure shown in Fig. 5 does not constitute a limitation of the terminal device, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements. among them:
  • the RF circuit 110 is configured to receive and transmit electromagnetic waves, and convert electromagnetic waves and electrical signals to communicate with a communication network or other devices.
  • the RF circuit 110 can include various existing circuit components for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, a memory, and the like.
  • the RF circuit 110 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices over a wireless network.
  • the wireless network described above may include a cellular telephone network, a wireless local area network, or a metropolitan area network.
  • the above wireless network can use various communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), and wideband code.
  • GSM Global System for Mobile Communication
  • EDGE Enhanced Data GSM Environment
  • W-CDMA Wideband code division multiple access
  • CDMA Code division access
  • TDMA time division multiple access
  • wireless fidelity Wireless, Fidelity, WiFi
  • VoIP Voice over internet protocal
  • VoIP Voice over internet protocal
  • Wi-Max Wi-Max
  • other protocols for mail instant messaging and short messages, and any other suitable pass Protocols, even those that are not currently being issued.
  • the memory 120 can be used to store software programs and modules, such as the program instructions/modules corresponding to the terminal devices in the data migration method/the third embodiment in the above embodiments, and the processor 180 runs the software program stored in the memory 120. And a module, thereby performing various function applications and data processing, that is, implementing a function of acquiring resources corresponding to preset events.
  • Memory 120 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 120 can further include memory remotely located relative to processor 180, which can be connected to terminal device 1200 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the input unit 130 can be configured to receive input numeric or character information, and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
  • input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., on any touch-sensitive surface 131 or on the touch-sensitive surface 131 The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information
  • the processor 180 is provided and can receive commands from the processor 180 and execute them.
  • the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 can also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, key presses, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal device 1 200, which can be composed of graphics, text, icons, videos, and any combination thereof. Composition.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch sensitive surface 131 can cover the display panel 1 41.
  • touch-sensitive surface 131 When the touch sensitive surface 131 detects a touch operation on or near it, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • the terminal device 1200 may also include at least one type of sensor 150, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may move to the ear ⁇ at the terminal device 1200 to close the display panel 141. And / or backlight.
  • the gravity acceleration sensor can detect the acceleration in all directions (usually three axes), and the static ⁇ can detect the magnitude and direction of gravity, which can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the terminal device 1200 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here No longer.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the terminal device 1200.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the terminal, for example, by the RF circuit 110, or outputted to the memory 120 for further processing.
  • the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the terminal device 1200.
  • the terminal device 1200 can help the user to send and receive emails, browse web pages, access streaming media, etc. through the transmission module 170 (for example, a WiFi module), which provides wireless broadband Internet access for the user.
  • the transmission module 170 for example, a WiFi module
  • FIG. 5 shows the transmission module 170, it will be understood that it does not belong to the essential configuration of the terminal device 1200, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 180 is a control center of the terminal device 1200, which connects various parts of the entire mobile phone using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and calling stored in the memory 120. Internal data, performing various functions and processing data of the terminal device 1200, thereby The phone is monitored overall.
  • the processor 180 may include one or more processing cores.
  • the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
  • the terminal device 1200 further includes a power source 190 (such as a battery) for supplying power to various components.
  • a power source 190 such as a battery
  • the power source can be logically connected to the processor 180 through the power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the terminal device 1200 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the display unit of the terminal device is a touch screen display
  • the terminal device further includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and configured to be one or one
  • the above processor executes one or more programs that include instructions for performing the following operations:
  • the RSSI value of the Bluetooth device that is scanned by the terminal device is greater than the first preset threshold, and is less than the second preset threshold, the user is prompted to move the terminal device, where the second preset threshold is greater than The first preset threshold;
  • the SI value is greater than or equal to the second preset threshold, and the communication connection between the terminal device and the Bluetooth device whose RSSI value is greater than or equal to the second preset threshold is established.
  • the memory of the terminal device further includes Instructions for the following operations:
  • the memory of the terminal device further includes an instruction for performing the following operations:
  • Bluetooth device storing the identification information of the specified Bluetooth device in the terminal device before scanning the Bluetooth device within the predetermined range of the terminal device, where the designated Bluetooth device refers to establishing a communication connection with the terminal device.
  • the Bluetooth device scanned by the terminal device has a Bluetooth device whose identification information matches the identification information of the specified Bluetooth device, determining the Bluetooth The device is the designated Bluetooth device;
  • the memory of the terminal device further includes Instructions for the following operations:
  • the memory of the terminal device also includes instructions for performing the following operations:
  • the terminal device is successfully connected to the Bluetooth terminal whose RSSI value is greater than or equal to the second preset threshold, the prompt information for successful connection is sent to the user.
  • the descriptions of the various embodiments are different, and the parts that are not detailed or described in the specific embodiments may be referred to the related descriptions of other embodiments.
  • the disclosed apparatus and method may be implemented in other ways.
  • the system embodiment described above is merely illustrative.
  • the division of the module or unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be used. Combined or can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in electrical, mechanical or other form.
  • the unit described as a separate component may or may not be physically distributed, and the component displayed as a unit may or may not be a physical unit, that is, may be located in one place, or may be distributed to multiple On the network unit. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the medium includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute the method according to various embodiments of the present invention. All or part of the steps.
  • the foregoing storage medium includes: a USB flash drive, a removable hard disk, a Read-Only Memory (R OM), and a random access memory (RAM).
  • a variety of media that can store program code such as a disk or a disc.
  • another embodiment of the present invention further provides a computer readable storage medium, which may be a computer readable storage medium included in the memory in the foregoing embodiment, or may be separate There is a computer readable storage medium that is not assembled into the terminal device.
  • the computer readable storage medium stores one or more programs, the one or more programs being used by one or more processors to perform a method of connecting a Bluetooth device, the method comprising:
  • the RSSI value of the Bluetooth device that is scanned by the terminal device is greater than the first preset threshold, and is less than the second preset threshold, the user is prompted to move the terminal device, where the second preset threshold is greater than The first preset threshold;
  • the SI value is greater than or equal to the second preset threshold, and the communication connection between the terminal device and the Bluetooth device whose RSSI value is greater than or equal to the second preset threshold is established.
  • the memory of the terminal device further includes Instructions for the following operations:
  • the memory of the terminal device further includes an instruction for performing the following operations:
  • the Bluetooth device scanned by the terminal device has a Bluetooth device whose identification information matches the identification information of the specified Bluetooth device, determining the Bluetooth The device is the designated Bluetooth device;
  • the memory of the terminal device further includes Instructions for the following operations:
  • the memory of the terminal device also includes instructions for performing the following operations:
  • the terminal device successfully connects to the Bluetooth terminal whose RSSI value is greater than or equal to the second preset threshold, the prompt information for successful connection is sent to the user.

Landscapes

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

Abstract

L'invention concerne un procédé de connexion de dispositif Bluetooth et un dispositif terminal, le procédé consistant à : balayer des dispositifs Bluetooth dans une plage prédéterminée d'un dispositif terminal; acquérir une valeur RSSI d'indicateur d'intensité de signal reçu d'un dispositif Bluetooth balayé par le dispositif terminal; si la valeur RSSI du dispositif Bluetooth balayé par le dispositif terminal est supérieure à un premier seuil prédéfini et inférieure à un second seuil prédéfini, alors inviter l'utilisateur à déplacer le dispositif terminal, le second seuil prédéfini étant supérieur au second seuil prédéfini; et, pendant le processus de déplacement du dispositif terminal, s'il est détecté que la valeur RSSI du dispositif Bluetooth balayé par le dispositif terminal est supérieure ou égale au second seuil prédéfini, alors établir une connexion de communication entre le dispositif terminal et le dispositif Bluetooth comportant une valeur RSSI supérieure ou égale au second seuil prédéfini. Les problèmes de faible efficacité et d'opérations compliquées dans des procédés de connexion de dispositif Bluetooth existants sont ainsi résolus.
PCT/CN2017/084528 2017-05-16 2017-05-16 Procédé de connexion de dispositif bluetooth et dispositif terminal WO2018209555A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780000346.3A CN107278380A (zh) 2017-05-16 2017-05-16 连接蓝牙设备的方法及终端设备
PCT/CN2017/084528 WO2018209555A1 (fr) 2017-05-16 2017-05-16 Procédé de connexion de dispositif bluetooth et dispositif terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/084528 WO2018209555A1 (fr) 2017-05-16 2017-05-16 Procédé de connexion de dispositif bluetooth et dispositif terminal

Publications (1)

Publication Number Publication Date
WO2018209555A1 true WO2018209555A1 (fr) 2018-11-22

Family

ID=60076508

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/084528 WO2018209555A1 (fr) 2017-05-16 2017-05-16 Procédé de connexion de dispositif bluetooth et dispositif terminal

Country Status (2)

Country Link
CN (1) CN107278380A (fr)
WO (1) WO2018209555A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113115291A (zh) * 2021-04-13 2021-07-13 深圳市康凯铭科技有限公司 一种基于低功耗蓝牙的蓝牙自动重连方法及系统

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107977175B (zh) * 2017-11-06 2021-09-21 厦门盈趣科技股份有限公司 一种带信息保护机制的无线打印机及其控制方法
CN109788441A (zh) * 2017-11-13 2019-05-21 北京小鸟听听科技有限公司 一种信息处理方法、终端和计算机存储介质
CN112040461B (zh) * 2019-06-03 2022-05-24 华为技术有限公司 一种靠近发现的方法及设备
CN110572805A (zh) * 2019-09-10 2019-12-13 中化信息技术有限公司 数据传输方法、装置、电子设备和计算机可读介质
CN113068160B (zh) * 2019-12-13 2022-05-20 纳恩博(北京)科技有限公司 一种车辆解锁方法、终端及存储介质
CN112586006A (zh) * 2019-12-31 2021-03-30 深圳市大疆创新科技有限公司 通信系统及其方法、可移动平台和终端设备
CN112929860B (zh) * 2021-01-21 2023-09-19 维沃移动通信有限公司 蓝牙连接方法、装置和电子设备
CN118138988A (zh) * 2022-11-28 2024-06-04 中兴通讯股份有限公司 蓝牙连接方法、移动终端及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102149167A (zh) * 2010-02-10 2011-08-10 正崴精密工业股份有限公司 用于无线网络的自动配对方法
CN105450268A (zh) * 2015-12-02 2016-03-30 惠州Tcl移动通信有限公司 基于蓝牙的可穿戴设备与移动终端自动连接的方法及系统
CN106535323A (zh) * 2016-10-25 2017-03-22 广州创想科技股份有限公司 选择蓝牙手环所在蓝牙ble通信装置的方法及装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1596538A1 (fr) * 2004-05-10 2005-11-16 Sony Ericsson Mobile Communications AB Méthode et appareil pour apparier bluetooth
JP5714985B2 (ja) * 2011-06-06 2015-05-07 株式会社デンソー 近距離無線通信装置
CN103840857A (zh) * 2014-03-12 2014-06-04 上海天奕达电子科技有限公司 一种快速搜寻蓝牙设备的方法及其设备
CN104811896A (zh) * 2015-04-01 2015-07-29 广东小天才科技有限公司 一种低功耗蓝牙连接确认的方法及装置
CN105516896A (zh) * 2015-12-02 2016-04-20 惠州Tcl移动通信有限公司 一种可穿戴设备与移动终端的蓝牙互连方法及系统
CN105828281B (zh) * 2016-05-19 2020-06-02 北京小米移动软件有限公司 设备连接方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102149167A (zh) * 2010-02-10 2011-08-10 正崴精密工业股份有限公司 用于无线网络的自动配对方法
CN105450268A (zh) * 2015-12-02 2016-03-30 惠州Tcl移动通信有限公司 基于蓝牙的可穿戴设备与移动终端自动连接的方法及系统
CN106535323A (zh) * 2016-10-25 2017-03-22 广州创想科技股份有限公司 选择蓝牙手环所在蓝牙ble通信装置的方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113115291A (zh) * 2021-04-13 2021-07-13 深圳市康凯铭科技有限公司 一种基于低功耗蓝牙的蓝牙自动重连方法及系统

Also Published As

Publication number Publication date
CN107278380A (zh) 2017-10-20

Similar Documents

Publication Publication Date Title
WO2018209555A1 (fr) Procédé de connexion de dispositif bluetooth et dispositif terminal
WO2017206916A1 (fr) Procédé de détermination d'une configuration d'exécution de noyau dans un processeur et produit correspondant
WO2019015404A1 (fr) Procédé et appareil permettant de commuter des applications dans le mode d'écran partagé, et dispositif associé s'y rapportant
WO2015090248A1 (fr) Procédé et dispositif de protection contre la surcharge d'un serveur
CN103389863B (zh) 一种显示控制方法和装置
CN107241784B (zh) 物联网接入的方法及装置
CN104852885B (zh) 一种进行验证码验证的方法、装置和系统
WO2014206101A1 (fr) Procédé, appareil et dispositif terminal de traitement de conversation basé sur les gestes
US11184754B2 (en) Data sharing method and terminal
TWI520043B (zh) 消息查看方法、裝置和移動終端
WO2015043361A1 (fr) Procédés, dispositifs et systèmes pour établir une communication entre des terminaux
WO2015043194A1 (fr) Procédé et appareil d'affichage de clavier virtuel, et terminal
WO2016127795A1 (fr) Procédé de traitement de services, serveur, et terminal
WO2014026612A1 (fr) Procédé d'émission de données, dispositif d'émission de données et terminal avec écran tactile
WO2015032249A1 (fr) Procédé, système, dispositif et terminal d'initialisation par réseau de dispositif de lecture multimédia
WO2014206143A1 (fr) Procédé, appareil et dispositif d'affichage d'un nombre de messages non lus
CN108834132B (zh) 一种数据传输方法及设备和相关介质产品
WO2018166204A1 (fr) Procédé de commande de module de reconnaissance d'empreintes digitales, terminal mobile et support de stockage
WO2015027856A1 (fr) Procédé, appareil et terminal de retour d'information
WO2017193496A1 (fr) Procédé et appareil de traitement de données d'application et dispositif de terminal
WO2013135169A1 (fr) Procédé de réglage de saisie de clavier et terminal portable associé
WO2017096909A1 (fr) Procédé et appareil d'établissement de connexion de données
WO2019007371A1 (fr) Procédé pour empêcher le vol d'informations, dispositif de stockage et terminal mobile
WO2019011335A1 (fr) Terminal mobile et son procédé de commande, et support d'informations lisible
WO2017206853A1 (fr) Procédé d'accélération de réponse de glissement et produits correspondants

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17909939

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17909939

Country of ref document: EP

Kind code of ref document: A1