CN113838275B - Bluetooth batch pairing method, display device and readable storage medium - Google Patents

Bluetooth batch pairing method, display device and readable storage medium Download PDF

Info

Publication number
CN113838275B
CN113838275B CN202111285764.6A CN202111285764A CN113838275B CN 113838275 B CN113838275 B CN 113838275B CN 202111285764 A CN202111285764 A CN 202111285764A CN 113838275 B CN113838275 B CN 113838275B
Authority
CN
China
Prior art keywords
remote controller
bluetooth
bluetooth remote
target
pairing
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
CN202111285764.6A
Other languages
Chinese (zh)
Other versions
CN113838275A (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.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202111285764.6A priority Critical patent/CN113838275B/en
Publication of CN113838275A publication Critical patent/CN113838275A/en
Application granted granted Critical
Publication of CN113838275B publication Critical patent/CN113838275B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • H04B5/48
    • 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
    • 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

Abstract

The invention discloses a Bluetooth batch pairing method, display equipment and a readable storage medium, wherein the method comprises the following steps: after the display equipment is started, starting a Bluetooth scanning function and detecting the signal intensity of a scanned Bluetooth remote controller; determining a target Bluetooth remote controller in the plurality of Bluetooth remote controllers; and the display equipment and the target Bluetooth remote controller both reduce the transmitting power at the earlier stage of adaptation, and carry out pairing with the reduced transmitting power value. Through setting up signal strength detection mechanism and judgement mechanism at the display device end, the display device can automatic selection with it the target bluetooth remote controller that pairs for can carry out many display device simultaneously with many bluetooth remote controller pair on producing the line, and the problem of matching the mistake can not appear, adaptation efficiency is high, display device and target bluetooth remote controller all reduce transmission power value in the adaptation process simultaneously, the interference of pairing other display device and bluetooth remote controller has been reduced, the accuracy of pairing has further been improved.

Description

Bluetooth batch pairing method, display device and readable storage medium
Technical Field
The invention relates to the technical field of display equipment, in particular to a Bluetooth batch pairing method, display equipment and a computer-readable storage medium.
Background
With the development of the television industry, a bluetooth remote controller matched with a television for use appears, and compared with a traditional infrared remote controller, the bluetooth remote controller has the advantages of strong penetrating capability, strong anti-interference capability and the like, and can control the television at 360-degree dead angles, so that the bluetooth remote controller is favored by users.
In order to avoid the problem that the user needs to adapt the Bluetooth remote controller and the television before buying the television to use the television, the user experience is influenced, the television adapts the Bluetooth remote controller and the television in advance before shipment, and then the television is shipped together with the television. But because the production line is in flow process, the simultaneous matching of a plurality of televisions and Bluetooth remote controllers can cause the television to be matched with the Bluetooth remote controller incorrectly, at present, production operators match the television sets one by one through the television sets, so that the problem of mismatching can be avoided, but the matching efficiency is low, and the production efficiency is influenced.
Disclosure of Invention
The invention mainly aims to provide a Bluetooth batch pairing method, display equipment and a computer readable storage medium, and aims to solve the problems that in the prior art, when a television is adapted with a Bluetooth remote controller on a production line before the television leaves a factory, the adaptation efficiency is low, and the production efficiency is influenced.
In order to achieve the above object, an embodiment of the present invention provides a bluetooth batch pairing method, where the bluetooth batch pairing method is applied to a production line of display devices, the production line includes multiple display devices and multiple bluetooth remote controllers, and the bluetooth batch pairing method includes:
starting a Bluetooth scanning function after the display equipment is started, and detecting the Bluetooth signal intensity of each scanned Bluetooth remote controller;
determining a target Bluetooth remote controller in the plurality of Bluetooth remote controllers according to the detected Bluetooth signal intensity of the plurality of Bluetooth remote controllers;
sending a connection request to the target Bluetooth remote controller, wherein the connection request carries a first power gear difference value of the target Bluetooth remote controller;
receiving a first response message fed back by the target Bluetooth remote controller based on the connection request, wherein the first response message carries a second power gear difference value of the display equipment;
determining a first target transmitting power of the display equipment according to the second power gear difference value;
and sending a pairing request to the target Bluetooth remote controller according to the first target transmitting power so as to complete Bluetooth pairing between the display equipment and the target Bluetooth remote controller.
Optionally, the step of starting the bluetooth scanning function includes, before the step of starting the bluetooth scanning function:
judging whether the paired Bluetooth remote controllers exist in the display equipment or not;
if the paired Bluetooth remote controllers exist, displaying the address information of the paired Bluetooth remote controllers on a preset display interface;
and if the paired Bluetooth remote controllers do not exist, executing the starting Bluetooth scanning function.
Optionally, if there is a paired bluetooth remote controller, after the step of displaying address information of the paired bluetooth remote controller on the display interface, the method includes:
detecting whether a re-pairing instruction is received within a preset time period;
if the re-pairing instruction is received within a preset time period, executing the Bluetooth scanning starting function;
and if the re-pairing instruction is not received within the preset time period, continuously displaying the address information of the paired Bluetooth remote controllers on the display interface.
Optionally, the step of determining a target bluetooth remote controller among the plurality of bluetooth remote controllers according to the detected bluetooth signal strengths of the plurality of bluetooth remote controllers includes:
according to the detected Bluetooth signal intensity of the plurality of Bluetooth remote controllers, taking the Bluetooth remote controller with the strongest Bluetooth signal intensity as an alternative Bluetooth remote controller;
comparing the Bluetooth signal intensity of the alternative Bluetooth remote controller with a preset threshold value;
and if the Bluetooth signal intensity of the alternative Bluetooth remote controller is greater than or equal to a preset threshold value, taking the alternative Bluetooth remote controller as a target Bluetooth remote controller.
Optionally, if the bluetooth signal intensity of the alternative bluetooth remote controller is greater than or equal to a preset threshold, the step of using the alternative bluetooth remote controller as the target bluetooth remote controller further includes:
if the Bluetooth signal intensity of the alternative Bluetooth remote controller is larger than or equal to a preset threshold value, calculating the pairing distance between the alternative Bluetooth remote controller and the display equipment according to the Bluetooth signal intensity of the alternative Bluetooth remote controller;
judging whether the pairing distance is smaller than a preset distance;
and if the pairing distance is smaller than a preset distance, taking the alternative Bluetooth remote controller as a target Bluetooth remote controller.
Optionally, the step of sending a connection request to the target bluetooth remote controller includes:
determining a first power gear difference value of the target Bluetooth remote controller according to the Bluetooth signal intensity of the target Bluetooth remote controller;
and generating a connection request according to the first power gear difference value of the target Bluetooth remote controller.
Optionally, the step of determining a first power step difference value of the target bluetooth remote controller according to the bluetooth signal strength of the target bluetooth remote controller includes:
determining a first initial power gear of the target Bluetooth remote controller according to the Bluetooth signal intensity of the target Bluetooth remote controller and a preset power information report table;
and determining a first power gear difference value of the target Bluetooth remote controller according to the first initial power gear and a preset target power gear.
Optionally, the step of determining a first target transmission power of the display device according to the second power step difference value includes:
determining the adjusting power according to the second power gear difference and a transmitting power difference between preset adjacent gears;
and determining a first target transmission power of the display equipment according to the current transmission power value and the adjusting power.
In addition, the present invention also provides a display apparatus, including: the bluetooth batch pairing method comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes the steps of the bluetooth batch pairing method when being executed by the processor.
In addition, the present invention also provides a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when being executed by a processor, the computer program realizes the steps of the bluetooth batch pairing method.
After a display device is started, a Bluetooth scanning function is started, and the Bluetooth signal intensity of a scanned Bluetooth remote controller is detected; determining a target Bluetooth remote controller in the plurality of Bluetooth remote controllers according to the detected Bluetooth signal intensity of the plurality of Bluetooth remote controllers; the method comprises the steps of sending a connection request with a first power gear difference value to a target Bluetooth remote controller, receiving a first response message fed back by the target Bluetooth remote controller based on the connection request, wherein the first response message carries a second power gear difference value, determining first target transmitting power by display equipment according to the second power gear difference value, sending a pairing request to the target Bluetooth remote controller by the first target transmitting power, and completing the subsequent pairing process. Through setting up signal strength detection mechanism and judgement mechanism at the display device end, display device can automatic selection with it mate the target bluetooth remote controller to after establishing the connection with the first target transmitting power after reducing to target bluetooth remote controller send the pairing request, accomplish the follow pairing process, reduced the interference that pairs in-process to other display device and bluetooth remote controller, thereby make on the production line can carry out the pairing of many display device and many bluetooth remote controllers simultaneously, and the problem of mismatching can not appear, adaptation efficiency is high, and production efficiency is improved.
Drawings
Fig. 1 is a schematic structural diagram of a display device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a Bluetooth batch pairing method according to an embodiment of the present invention;
fig. 3 is a detailed flow chart of step a20 in fig. 2.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
Referring to fig. 1, the display device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the display device may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, 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 screen according to the brightness of ambient light.
Those skilled in the art will appreciate that the display device configuration shown in fig. 1 does not constitute a limitation of the display device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a computer program.
In the display device shown in fig. 1, the network interface 1004 is mainly used for connecting a backend server and communicating data with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke the computer program stored in the memory 1005 and perform the following operations:
starting a Bluetooth scanning function after the display equipment is started, and detecting the Bluetooth signal intensity of each scanned Bluetooth remote controller;
determining a target Bluetooth remote controller in the plurality of Bluetooth remote controllers according to the detected Bluetooth signal intensity of the plurality of Bluetooth remote controllers;
sending a connection request to the target Bluetooth remote controller, wherein the connection request carries a first power gear difference value of the target Bluetooth remote controller;
receiving a first response message fed back by a target Bluetooth remote controller based on the connection request, wherein the first response message carries a second power gear difference value of the display equipment;
determining a first target transmitting power of the display equipment according to the second power gear difference value;
and sending a pairing request to the target Bluetooth remote controller according to the first target transmitting power so as to complete Bluetooth pairing between the display equipment and the target Bluetooth remote controller.
Further, before the step of initiating the bluetooth scanning function, the processor 1001 may call the computer program stored in the memory 1005, and further perform the following operations:
judging whether the paired Bluetooth remote controllers exist in the display equipment or not;
if the paired Bluetooth remote controllers exist, displaying the address information of the paired Bluetooth remote controllers on a preset display interface;
and if the paired Bluetooth remote controllers do not exist, executing the starting Bluetooth scanning function.
Further, if there is a paired bluetooth remote controller, the step of displaying address information of the paired bluetooth remote controller on a display interface includes:
detecting whether a re-pairing instruction is received within a preset time period;
if a re-pairing instruction is received within a preset time period, executing the Bluetooth scanning starting function;
and if the re-pairing instruction is not received within the preset time period, continuing to display the address information of the paired Bluetooth remote controllers on the display interface.
Further, the step of determining a target bluetooth remote controller among the plurality of bluetooth remote controllers according to the detected bluetooth signal strengths of the plurality of bluetooth remote controllers includes:
according to the detected Bluetooth signal intensity of the plurality of Bluetooth remote controllers, taking the Bluetooth remote controller with the strongest Bluetooth signal intensity as an alternative Bluetooth remote controller;
comparing the Bluetooth signal intensity of the alternative Bluetooth remote controller with a preset threshold value;
and if the Bluetooth signal intensity of the alternative Bluetooth remote controller is greater than or equal to a preset threshold value, taking the alternative Bluetooth remote controller as a target Bluetooth remote controller.
Further, if the bluetooth signal intensity of the alternative bluetooth remote controller is greater than or equal to a preset threshold, the step of using the alternative bluetooth remote controller as a target bluetooth remote controller further includes:
if the Bluetooth signal intensity of the alternative Bluetooth remote controller is larger than or equal to a preset threshold value, calculating the pairing distance between the alternative Bluetooth remote controller and the display equipment according to the Bluetooth signal intensity of the alternative Bluetooth remote controller;
judging whether the pairing distance is smaller than a preset distance;
and if the pairing distance is smaller than a preset distance, taking the alternative Bluetooth remote controller as a target Bluetooth remote controller.
Further, the step of sending a connection request to the target bluetooth remote controller may be preceded by:
determining a first power gear difference value of the target Bluetooth remote controller according to the Bluetooth signal intensity of the target Bluetooth remote controller;
and generating a connection request according to the first power gear difference value of the target Bluetooth remote controller.
Further, the step of determining the first power step difference value of the target bluetooth remote controller according to the bluetooth signal strength of the target bluetooth remote controller includes:
determining a first initial power gear of the target Bluetooth remote controller according to the Bluetooth signal intensity of the target Bluetooth remote controller and a preset power information report table;
and determining a first power gear difference value of the target Bluetooth remote controller according to the first initial power gear and a preset target power gear.
Further, the step of determining the first target transmission power of the display device according to the second power step difference value comprises:
determining adjustment power according to the second power gear difference and a transmission power difference between preset adjacent gears;
and determining a first target transmission power of the display equipment according to the current transmission power value and the adjusting power.
The invention also provides a Bluetooth batch pairing method, wherein the execution main body of the Bluetooth batch pairing method is display equipment, a plurality of groups of display equipment and Bluetooth remote controllers on a production line can be paired in parallel, and each display equipment can independently run each embodiment of the Bluetooth batch pairing method, and the pairing process of a single display equipment and a Bluetooth remote controller is explained below.
Referring to fig. 2, the bluetooth batch pairing method of the present invention includes:
step A10, after the display equipment is started, starting a Bluetooth scanning function, and detecting the Bluetooth signal intensity of each scanned Bluetooth remote controller;
on a production line, after a display device is started, the display device automatically enters an engineering mode, automatically enters a Bluetooth adaptive interface, and judges whether the display device has a paired Bluetooth remote controller or not; if the display device has been paired with the bluetooth remote controller before, displaying Address information of the paired historical bluetooth remote controller on a bluetooth adaptation interface, wherein the Address information refers to a Media Access Control (MAC) Address of the bluetooth remote controller, and detecting whether a re-pairing instruction is received within a preset time period, wherein the preset time period can be 10 seconds, 20 seconds and the like, if the re-pairing instruction is not received within the preset time period, continuing to display the Address information of the paired bluetooth remote controller on the bluetooth adaptation interface, and if the re-pairing instruction is received within the preset time period, starting a bluetooth scanning function; if the display equipment has not been paired with the Bluetooth remote controller before, the Bluetooth scanning function is started, and because the plurality of display equipment and the plurality of Bluetooth remote controllers are paired simultaneously on the production line, the display equipment can detect Bluetooth signals of the plurality of Bluetooth remote controllers after the Bluetooth scanning function is started.
Optionally, after the bluetooth remote controller is powered on for the first time, it is detected whether historical pairing information is stored in the register, if the historical pairing information exists, a production operator identifies whether to perform pairing again, if a pairing instruction triggered by the production operator pressing a designated key on the bluetooth remote controller is detected, a beacon frame is sent in a broadcast packet mode, the beacon frame includes Media Access Control Address (MAC) Address information of the bluetooth remote controller, so that the bluetooth remote controller is in a state capable of being scanned, and if the historical pairing information does not exist, the beacon frame is sent in the broadcast packet mode directly without the operator pressing the designated key of the bluetooth remote controller.
Through presetting the matching program in the MCU (Microcontroller Unit) of the Bluetooth remote controller, the Bluetooth remote controller is not required to press an appointed key after being electrified for the first time, and a beacon frame is directly broadcast and sent so that the Bluetooth remote controller is in a state of being scanned, so that the operation of production operators is simplified, and the pairing efficiency is improved.
Step A20, determining a target Bluetooth remote controller in the plurality of Bluetooth remote controllers according to the detected Bluetooth signal intensity of the plurality of Bluetooth remote controllers;
it should be noted that, when a plurality of display devices and a plurality of bluetooth remote controllers are adapted simultaneously on a production line, a production worker needs to place a target bluetooth remote controller paired with the display device at a position closest to a bluetooth module of the display device, that is, needs to place a target bluetooth remote controller paired with the display device at a position closest to the display device, so that the bluetooth remote controller with the strongest bluetooth signal intensity detected by the display device is the bluetooth remote controller closest to the display device, that is, the target bluetooth remote controller paired with the display device, that is, the bluetooth remote controller with the strongest bluetooth signal intensity is taken as the target bluetooth remote controller according to the detected bluetooth signal intensities of the plurality of bluetooth remote controllers.
Step A30, sending a connection request to the target Bluetooth remote controller, wherein the connection request carries a first power gear difference value of the target Bluetooth remote controller;
it can be understood that, a preset RPI (report power information) table is provided in the display device, the table has a preset RPI gear number and a corresponding RSSI (Received Signal Strength) value range, and a transmission power difference value between adjacent gears is preset, and a first power gear difference value of the target bluetooth remote controller can be determined according to the bluetooth Signal Strength RSSI value of the target bluetooth remote controller, the preset RPI table and a preset target power gear.
Optionally, the step of sending a connection request to the target bluetooth remote controller includes:
step B1, determining a first power gear difference value of a target Bluetooth remote controller according to the Bluetooth signal intensity of the target Bluetooth remote controller;
understandably, the bluetooth signal strength of the target bluetooth remote controller, that is, the RSSI value of the target bluetooth remote controller, can determine the first power gear difference value of the target bluetooth remote controller according to the RSSI value of the target bluetooth remote controller, the preset RPI table and the preset target power gear.
And B2, generating a connection request according to the first power gear difference value of the target Bluetooth remote controller.
After the first power gear difference value of the target Bluetooth remote controller is determined, a connection request carrying the first power gear difference value of the target Bluetooth remote controller can be generated.
The display device generates a connection request according to the determined first power gear difference value of the target Bluetooth remote controller, sends the connection request to the target Bluetooth remote controller so as to establish connection with the target Bluetooth remote controller, and requests the target Bluetooth remote controller to reduce the transmission power by carrying the first power gear difference value in the connection request so as to avoid interference on pairing of other display devices and the Bluetooth remote controller.
Optionally, the step of determining a first power step difference value of the target bluetooth remote controller according to the bluetooth signal strength of the target bluetooth remote controller includes:
step C1, determining a first initial power gear of the target Bluetooth remote controller according to the Bluetooth signal intensity of the target Bluetooth remote controller and a preset power information report table;
and step C2, determining a first power gear difference value of the target Bluetooth remote controller according to the first initial power gear and a preset target power gear.
It should be noted that, a preset RPI table is provided in the display device, where the table is provided with a RPI gear number and a corresponding RSSI value range, and a transmission power difference value between adjacent gears is preset, and a first initial power gear of the target bluetooth remote controller may be determined according to a bluetooth signal strength RSSI value of the target bluetooth remote controller and a preset power information report table, for example, referring to table 1-1 below, the RSSI specific range value in table 1-1 is only an example, and does not constitute a limitation to the RPI table, and other range values may be set according to a signal condition on a production line in practice.
Referring to the following table 1-1, according to the received bluetooth signal strength of the target bluetooth remote controller, if the RSSI value of the received target bluetooth remote controller is between-66 dBm and-62 dBm, the corresponding RPI gear number is 5, that is, the first initial power gear is 5, the display device needs the target bluetooth remote controller to reduce the transmission power, so that the RSSI value of the target bluetooth remote controller received by the display device is in the lowest receiving range adapted to bluetooth, for example, the lowest receiving range is-87 dBm and-82 dBm, the corresponding gear is 1, that is, the preset target power gear is 1, and the first power gear difference of the target bluetooth remote controller is calculated to be 5-1=4.
TABLE 1-1 RPI Power information report Table
RPI (resilient packet infrastructure) codingNumber (C) RSSI value (dBm)
0 Less than-87
1 -87~-82
2 -81~-77
3 -78~-72
4 -71~-67
5 -66~-62
6 -61~-57
7 -56 or more
Step A40, receiving a first response message fed back by a target Bluetooth remote controller based on a connection request, wherein the first response message carries a second power gear difference value of a display device;
it can be understood that the target bluetooth remote controller also has a preset RPI table, and the transmission power difference between adjacent gears is preset, and the transmission power difference between the RPI table in the target bluetooth remote controller and the transmission power difference between adjacent gears are the same as the transmission power difference between the RPI table in the display device and the adjacent gears.
After receiving a connection request sent by a display device, a target bluetooth remote controller similarly determines a second power gear difference value of the display device according to a bluetooth signal strength RSSI value of the display device, and the method for the target bluetooth remote controller to calculate the second power gear difference value is the same as the method for the display device to calculate the first power gear difference value, that is, first, according to the received bluetooth signal strength RSSI value of the display device and a preset RPI table, a second initial power gear of the display device is determined, according to the second initial power gear and the preset target power gear, a second power gear difference value of the display device is determined, and meanwhile, the target bluetooth remote controller determines a target transmission power value according to the first power gear difference value in the connection request, for example, if the transmission power difference value between adjacent gears is 1dBm and the first power gear difference value is 4, it is determined that the adjustment power of the target bluetooth remote controller is 4=4dbm, then, according to the current transmission power value, it is determined that the current transmission power is 8dBm, then the target transmission of the target bluetooth remote controller is 8-4=4dbm, and if the target bluetooth remote controller transmits a subsequent pairing message to the second transmission device, and responds to the target device, and then the target remote controller, and the target device, if the target remote controller transmits a subsequent target transmission power value is a subsequent pairing message that the second power value is reduced.
The connection request for reducing power is sent to the target Bluetooth remote controller in the early stage of pairing, and then the target Bluetooth remote controller sends the response message to the display device at the reduced target transmitting power value in the subsequent pairing process, so that the interference on pairing of other display devices and the Bluetooth remote controller can be reduced, and the pairing accuracy of the display device and the Bluetooth remote controller on the production line is further improved.
Step A50, determining a first target transmitting power of the display device according to the second power gear difference value;
optionally, the step of determining a first target transmission power of the display device according to the second power step difference value includes:
step D1, determining adjustment power according to the second power gear difference and a transmission power difference between preset adjacent gears;
it can be understood that after receiving a first response message sent by a target bluetooth remote controller, the display device can determine the adjustment power of the display device according to a second power gear difference value in the first response message and a transmission power difference value between preset adjacent gears; for example, if the second power step difference is 3 and the difference in transmit power between adjacent steps is 1dBm, the adjusted power is 3 × 1=3dBm.
And D2, determining the first target transmitting power of the display equipment according to the current transmitting power value and the adjusting power.
It can be understood that the first target transmission power of the display device can be determined according to the current transmission power value and the adjustment power, for example, if the current transmission power value is 8dBm and the adjustment power is 3dBm, the first target transmission power of the display device can be determined to be 8-3=5dBm.
In the early stage of pairing, the display device reduces the transmitting power according to the power gear difference value sent by the target Bluetooth remote controller, and in the subsequent pairing process, the display device sends a request and a response message to the target Bluetooth remote controller according to the reduced target transmitting power value, so that the interference on the pairing of other display devices and the Bluetooth remote controller can be reduced, and the pairing accuracy of the display device and the Bluetooth remote controller on a production line is further improved.
And step A60, sending a pairing request to the target Bluetooth remote controller according to the first target transmitting power so as to complete Bluetooth pairing between the display equipment and the target Bluetooth remote controller.
It should be noted that, after the first target transmission power is determined, the display device sends a pairing request to the target bluetooth remote controller at the first target transmission power value, and in the subsequent pairing process, the display device sends a request and a response message to the target bluetooth remote controller at the reduced first target transmission power value to complete the subsequent pairing, so that the interference on the pairing of other display devices and the bluetooth remote controller can be reduced, and the accuracy of the pairing of the display device and the bluetooth remote controller on the production line is further improved.
According to the invention, after the display equipment is started, a Bluetooth scanning function is started, and the Bluetooth signal intensity of the scanned Bluetooth remote controller is detected; determining a target Bluetooth remote controller in the plurality of Bluetooth remote controllers according to the detected Bluetooth signal intensity of the plurality of Bluetooth remote controllers; the method comprises the steps of sending a connection request with a first power gear difference value to a target Bluetooth remote controller, receiving a first response message fed back by the target Bluetooth remote controller based on the connection request, wherein the first response message carries a second power gear difference value, determining first target transmitting power by display equipment according to the second power gear difference value, sending a pairing request to the target Bluetooth remote controller by the first target transmitting power, and completing the subsequent pairing process. Through setting up signal strength detection mechanism and judgement mechanism at the display device end, display device can automatic selection with it mate the target bluetooth remote controller to after establishing the connection with the first target transmitting power after reducing to target bluetooth remote controller send the pairing request, accomplish the follow pairing process, reduced the interference that pairs in-process to other display device and bluetooth remote controller, thereby make on the production line can carry out the pairing of many display device and many bluetooth remote controllers simultaneously, and the problem of mismatching can not appear, adaptation efficiency is high, and production efficiency is improved.
Optionally, in step a20, the step of determining a target bluetooth remote controller among the plurality of bluetooth remote controllers according to the detected bluetooth signal strengths of the plurality of bluetooth remote controllers includes:
step A21, according to the detected Bluetooth signal intensity of the plurality of Bluetooth remote controllers, taking the Bluetooth remote controller with the strongest Bluetooth signal intensity as an alternative Bluetooth remote controller;
it can be understood that, because multiple display devices and multiple bluetooth remote controllers are adapted simultaneously, multiple bluetooth remote controllers scanned by the display devices may exist, the display devices may analyze Received beacon frames sent by the bluetooth remote controllers to obtain MAC addresses and RSSI (Received Signal Strength) values of the bluetooth remote controllers, the RSSI values of different bluetooth remote controllers are different due to different distances from the display devices, and the bluetooth remote controller with the strongest bluetooth Signal Strength can be determined according to the obtained RSSI values of the multiple bluetooth remote controllers and used as an alternative bluetooth remote controller.
Step A22, comparing the Bluetooth signal intensity of the alternative Bluetooth remote controller with a preset threshold value;
and step A23, if the Bluetooth signal intensity of the alternative Bluetooth remote controller is greater than or equal to a preset threshold value, using the alternative Bluetooth remote controller as a target Bluetooth remote controller.
It should be noted that, after determining the alternative bluetooth remote controller with the strongest bluetooth signal strength, comparing the RSSI value of the alternative bluetooth remote controller with a preset threshold value to determine whether the bluetooth remote controller with the strongest bluetooth signal has a fault, preferably, the preset threshold value is-30 dbm to-40 dbm, if the bluetooth signal strength of the alternative bluetooth remote controller is greater than or equal to the preset threshold value, it is determined that the alternative bluetooth remote controller has no fault, the alternative bluetooth remote controller is used as a target bluetooth remote controller to be paired, and if the bluetooth signal strength of the alternative bluetooth remote controller is less than the preset threshold value, it is determined that the alternative bluetooth remote controller has a fault, the bluetooth scanning is continued.
Through setting up signal strength detection mechanism and judgement mechanism at the display device end, make need not to produce the target bluetooth remote controller that the operation personnel selection is waited to mate, display device can be automatically according to the bluetooth signal strength of a plurality of bluetooth remote controllers, select out the bluetooth remote controller that signal strength is strongest and regard as the alternative bluetooth remote controller, production operation personnel's operation has been simplified, also can avoid simultaneously many display device and many bluetooth remote controllers pair the condition that the match is wrong, after choosing the alternative bluetooth remote controller, through setting up the preset threshold value, compare the signal strength of alternative bluetooth remote controller with the preset threshold value, can get rid of the bluetooth remote controller that has the trouble, avoid pairing with the bluetooth remote controller that has the trouble.
Further, if the bluetooth signal strength of the alternative bluetooth remote controller is greater than or equal to a preset threshold, the step of using the alternative bluetooth remote controller as a target bluetooth remote controller further includes:
e1, if the Bluetooth signal intensity of the alternative Bluetooth remote controller is greater than or equal to a preset threshold value, calculating the pairing distance between the alternative Bluetooth remote controller and the display equipment according to the signal intensity of the alternative Bluetooth remote controller;
e2, judging whether the matching distance is smaller than a preset distance;
and E3, if the matching distance is smaller than a preset distance, taking the alternative Bluetooth remote controller as a target Bluetooth remote controller.
It should be noted that, when there is a failure in the bluetooth remote controller closest to the display device, the bluetooth remote controller with the strongest bluetooth signal strength detected by the display device may not be the bluetooth remote controller closest to the display device, and may be the bluetooth remote controller beside the display device.
After the display equipment determines the alternative Bluetooth remote controller with the strongest Bluetooth signal, according to the Bluetooth signal intensity of the alternative Bluetooth remote controller, the pairing distance between the alternative Bluetooth remote controller and the display equipment can be calculated, and the pairing distance and the preset distance are judged, wherein the preset distance can be set according to the distance between the display equipment and the target Bluetooth remote controller during the fitting on a production line; when the calculated matching distance between the alternative Bluetooth remote controller and the display equipment is smaller than the preset distance, the detected alternative Bluetooth remote controller is the Bluetooth remote controller closest to the display equipment, and the alternative Bluetooth remote controller is used as a target Bluetooth remote controller; when the calculated matching distance between the alternative Bluetooth remote controller and the display equipment is greater than or equal to the preset distance, the fact that the alternative Bluetooth remote controller scanned by the display equipment is not the Bluetooth remote controller closest to the display equipment, is the Bluetooth remote controller beside the display equipment and cannot be matched with the display equipment is indicated, and then Bluetooth scanning is continued.
The matching distance between the alternative Bluetooth remote controller and the display equipment is calculated, whether the matching distance is smaller than a preset distance or not is judged, if the distance is smaller than the preset distance, the alternative Bluetooth remote controller is used as a target Bluetooth remote controller to be matched with the target Bluetooth remote controller, so that when the Bluetooth remote controller closest to the display equipment has a fault, the display equipment is prevented from being matched with the nearby Bluetooth remote controller, and the accuracy of matching is improved.
Further, an embodiment of the present invention further provides a display device, where the display device includes: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program when executed by the processor implementing the steps of the embodiments of the bluetooth bulk pairing method described above.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the embodiments of the bluetooth batch pairing method are implemented.
The specific implementation of the display device and the computer-readable storage medium in the present invention is basically the same as the embodiments of the bluetooth batch pairing method, and will not be described in detail here.
It should be noted that, in this document, 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 a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. The Bluetooth batch pairing method is applied to a production line of display devices, wherein the production line comprises a plurality of display devices and a plurality of Bluetooth remote controllers, and comprises the following steps:
starting a Bluetooth scanning function after the display equipment is started, and detecting the Bluetooth signal intensity of each scanned Bluetooth remote controller;
determining a target Bluetooth remote controller in the plurality of Bluetooth remote controllers according to the detected Bluetooth signal intensity of the plurality of Bluetooth remote controllers;
sending a connection request to the target Bluetooth remote controller, wherein the connection request carries a first power gear difference value of the target Bluetooth remote controller;
receiving a first response message fed back by a target Bluetooth remote controller based on the connection request, wherein the first response message carries a second power gear difference value of the display equipment;
determining a first target transmitting power of the display equipment according to the second power gear difference value;
sending a pairing request to the target Bluetooth remote controller according to the first target transmitting power so as to complete Bluetooth pairing between the display equipment and the target Bluetooth remote controller;
the step of determining a target bluetooth remote controller among the plurality of bluetooth remote controllers according to the detected bluetooth signal strengths of the plurality of bluetooth remote controllers comprises:
according to the detected Bluetooth signal intensity of the plurality of Bluetooth remote controllers, taking the Bluetooth remote controller with the strongest Bluetooth signal intensity as an alternative Bluetooth remote controller;
comparing the Bluetooth signal intensity of the alternative Bluetooth remote controller with a preset threshold value;
if the Bluetooth signal intensity of the alternative Bluetooth remote controller is greater than or equal to a preset threshold value, taking the alternative Bluetooth remote controller as a target Bluetooth remote controller;
if the bluetooth signal intensity of the alternative bluetooth remote controller is greater than or equal to a preset threshold value, the step of using the alternative bluetooth remote controller as a target bluetooth remote controller further comprises:
if the Bluetooth signal intensity of the alternative Bluetooth remote controller is larger than or equal to a preset threshold value, calculating the pairing distance between the alternative Bluetooth remote controller and the display equipment according to the Bluetooth signal intensity of the alternative Bluetooth remote controller;
judging whether the pairing distance is smaller than a preset distance;
and if the pairing distance is smaller than a preset distance, taking the alternative Bluetooth remote controller as a target Bluetooth remote controller.
2. The bluetooth bulk pairing method of claim 1, wherein the step of initiating a bluetooth scan function is preceded by:
judging whether the paired Bluetooth remote controllers exist in the display equipment or not;
if the paired Bluetooth remote controllers exist, displaying the address information of the paired Bluetooth remote controllers on a preset display interface;
and if the paired Bluetooth remote controllers do not exist, executing the starting Bluetooth scanning function.
3. The bluetooth batch pairing method of claim 2, wherein if there is a paired bluetooth remote controller, after the step of displaying the address information of the paired bluetooth remote controller on the display interface, the method comprises:
detecting whether a re-pairing instruction is received within a preset time period;
if the re-pairing instruction is received within a preset time period, executing the Bluetooth scanning starting function;
and if the re-pairing instruction is not received within the preset time period, continuously displaying the address information of the paired Bluetooth remote controllers on the display interface.
4. The bluetooth bulk pairing method of claim 1, wherein the step of sending a connection request to the target bluetooth remote controller is preceded by:
determining a first power gear difference value of the target Bluetooth remote controller according to the Bluetooth signal intensity of the target Bluetooth remote controller;
and generating a connection request according to the first power gear difference value of the target Bluetooth remote controller.
5. The bluetooth bulk pairing method of claim 4, wherein the step of determining the first power step difference value of the target bluetooth remote controller according to the bluetooth signal strength of the target bluetooth remote controller comprises:
determining a first initial power gear of the target Bluetooth remote controller according to the Bluetooth signal intensity of the target Bluetooth remote controller and a preset power information report table;
and determining a first power gear difference value of the target Bluetooth remote controller according to the first initial power gear and a preset target power gear.
6. The bluetooth bulk pairing method of any one of claims 1 to 5, wherein the step of determining a first target transmission power of a display device according to the second power step difference value comprises:
determining the adjusting power according to the second power gear difference and a transmitting power difference between preset adjacent gears;
and determining a first target transmission power of the display equipment according to the current transmission power value and the adjusting power.
7. A display device, characterized in that the display device comprises: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the bluetooth batch pairing method according to any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, realizes the steps of the bluetooth bulk pairing method according to any one of claims 1 to 6.
CN202111285764.6A 2021-11-01 2021-11-01 Bluetooth batch pairing method, display device and readable storage medium Active CN113838275B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111285764.6A CN113838275B (en) 2021-11-01 2021-11-01 Bluetooth batch pairing method, display device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111285764.6A CN113838275B (en) 2021-11-01 2021-11-01 Bluetooth batch pairing method, display device and readable storage medium

Publications (2)

Publication Number Publication Date
CN113838275A CN113838275A (en) 2021-12-24
CN113838275B true CN113838275B (en) 2022-12-02

Family

ID=78966731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111285764.6A Active CN113838275B (en) 2021-11-01 2021-11-01 Bluetooth batch pairing method, display device and readable storage medium

Country Status (1)

Country Link
CN (1) CN113838275B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117201660A (en) * 2022-05-31 2023-12-08 广州星际悦动股份有限公司 Equipment pairing method, system and storage medium based on oral cleaning interaction system
CN114822006B (en) * 2022-06-30 2022-09-16 西蒙电气(中国)有限公司 Method for realizing pairing of multiple devices and multiple remote controllers on single switch loop

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008121291A (en) * 2006-11-13 2008-05-29 Calsonic Kansei Corp Remote control system for vehicle
CN103873960A (en) * 2014-04-08 2014-06-18 江苏惠通集团有限责任公司 Wireless device, control device and pairing method of wireless device and control device
CN104902435A (en) * 2015-04-21 2015-09-09 北京云迹科技有限公司 Mobile terminal, and mobile terminal and Bluetooth wristband binding method and device
CN109688568A (en) * 2017-07-04 2019-04-26 广东长虹电子有限公司 A kind of control method of television set and remote controler Bluetooth pairing distance
CN109756878A (en) * 2018-12-26 2019-05-14 与德科技有限公司 A kind of Bluetooth pairing methods and equipment
CN109862549A (en) * 2019-03-28 2019-06-07 南昌黑鲨科技有限公司 Bluetooth connecting method, device, readable storage medium storing program for executing and mobile device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9008658B2 (en) * 2012-06-06 2015-04-14 Welch Allyn, Inc. Using near-field communication both for out-of-band pairing and physiological data transfer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008121291A (en) * 2006-11-13 2008-05-29 Calsonic Kansei Corp Remote control system for vehicle
CN103873960A (en) * 2014-04-08 2014-06-18 江苏惠通集团有限责任公司 Wireless device, control device and pairing method of wireless device and control device
CN104902435A (en) * 2015-04-21 2015-09-09 北京云迹科技有限公司 Mobile terminal, and mobile terminal and Bluetooth wristband binding method and device
CN109688568A (en) * 2017-07-04 2019-04-26 广东长虹电子有限公司 A kind of control method of television set and remote controler Bluetooth pairing distance
CN109756878A (en) * 2018-12-26 2019-05-14 与德科技有限公司 A kind of Bluetooth pairing methods and equipment
CN109862549A (en) * 2019-03-28 2019-06-07 南昌黑鲨科技有限公司 Bluetooth connecting method, device, readable storage medium storing program for executing and mobile device

Also Published As

Publication number Publication date
CN113838275A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
CN113838275B (en) Bluetooth batch pairing method, display device and readable storage medium
CN112020048B (en) Bluetooth device pairing method, device and storage medium
EP3533742B1 (en) A personal mobile terminal and a method of requesting elevator service
JP5145352B2 (en) Method and system for selecting each device of a wireless network, in particular a network of wireless lighting devices
US7586867B2 (en) Access point and method for establishing a wireless distribution system link between access points
CN105338402B (en) Method and device for Bluetooth connection
CN103997358A (en) Method, device and system for pairing Bluetooth remote control unit and controlled devices
US20070010200A1 (en) Wireless communication device
JP2006109094A (en) Remote controller, remote control system, and remote control method
CN113490218B (en) Pairing method, pairing device, bluetooth remote controller, intelligent device and storage medium
CN110996405A (en) Earphone connection method, terminal, earphone box and computer readable storage medium
KR20120025114A (en) Apparatus and method for determining validity of wifi connection in wireless communication system
US20180020362A1 (en) Image communication system, image reception apparatus, image transmission apparatus, image reception method, image transmission method, and recording medium
CN110769517A (en) Random access method and related equipment
CN111885571A (en) Bluetooth device pairing method, device and storage medium
WO2021139365A1 (en) Method and apparatus for processing remote control data, and computer device
CN113498200A (en) Transmission configuration method and terminal
CN112216081B (en) Wireless control equipment control method and related device
CN105721916A (en) Master device, slave device and pairing method of master device and slave device
CN111246594A (en) Terminal equipment, communication system and communication connection method
KR101766248B1 (en) Display system, display device and control method thereof
US11638317B2 (en) Electronic apparatus and method
CN113133126B (en) Method, terminal and network equipment for converting working frequency points
CN111356183B (en) Transmission method, network equipment and terminal
CN113784448A (en) Networking communication method, device and computer readable storage medium

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