CN112216081B - Wireless control equipment control method and related device - Google Patents

Wireless control equipment control method and related device Download PDF

Info

Publication number
CN112216081B
CN112216081B CN202010889193.6A CN202010889193A CN112216081B CN 112216081 B CN112216081 B CN 112216081B CN 202010889193 A CN202010889193 A CN 202010889193A CN 112216081 B CN112216081 B CN 112216081B
Authority
CN
China
Prior art keywords
terminal
wireless control
control equipment
bluetooth connection
infrared signal
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
CN202010889193.6A
Other languages
Chinese (zh)
Other versions
CN112216081A (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 ledupai Technology Co.,Ltd.
Original Assignee
Shenzhen Ledupai Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ledupai Technology Co ltd filed Critical Shenzhen Ledupai Technology Co ltd
Priority to CN202010889193.6A priority Critical patent/CN112216081B/en
Publication of CN112216081A publication Critical patent/CN112216081A/en
Application granted granted Critical
Publication of CN112216081B publication Critical patent/CN112216081B/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
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Selective Calling Equipment (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a control method and a related device of wireless control equipment, which are used for improving user experience. The method in the embodiment of the application comprises the following steps: the method comprises the steps that a terminal transmits a first infrared signal to wireless control equipment in a preset area right in front of the terminal; the terminal receives a second infrared signal; the terminal confirms that the wireless control equipment is located in the preset area according to the second infrared signal; the terminal sends a request state instruction to the wireless control equipment; the terminal receives a response instruction fed back by the wireless control equipment; the terminal acquires a unique identifier of the terminal; the terminal compares the unique identification of the terminal with the unique identification of the terminal which is connected with the wireless control equipment; if the two identifications are consistent, determining that the terminal is connected with the wireless control equipment; if not, the two are inconsistent; the terminal sends a switching instruction to the wireless control equipment; the terminal authenticates the Bluetooth connection request; and if the authentication is passed, the terminal confirms that the Bluetooth connection is established with the wireless control equipment.

Description

Wireless control equipment control method and related device
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a control method of wireless control equipment and a related device.
Background
Wireless control devices such as a wireless keyboard and mouse, a remote controller and the like are common devices in modern offices, and the wireless control devices are generally connected with a computer through bluetooth or WIFI or other wireless modes.
One wireless control device can only be connected to one computer generally, if the wireless control device needs to be used on a plurality of computers, a plurality of wireless control devices need to be purchased, or adapters of the wireless control device are frequently plugged and pulled into and out of the plurality of computers for adaptation.
In the prior art, the wireless control device can be connected to multiple computers at the same time, which is generally realized by bluetooth in different frequency bands, and a user can switch the computers to be controlled through buttons on the wireless control device. However, a user needs to manually press a button on the wireless control device to switch the computer to be controlled, sometimes the user cannot remember the number of the computer corresponding to the number of the button, and errors often occur easily, so that the user experience is affected.
Disclosure of Invention
The embodiment of the application provides a control method of wireless control equipment, which is used for improving the use experience of a user.
A first aspect of an embodiment of the present application provides a method for controlling a wireless control device, including:
the method comprises the steps that a terminal transmits a first infrared signal to wireless control equipment in a preset area right in front of the terminal, so that the wireless control equipment transmits a second infrared signal with the intensity higher than that of the first infrared signal to the terminal;
the terminal receives the second infrared signal;
the terminal confirms that the wireless control equipment is located in the preset area according to the second infrared signal;
the terminal sends a request state instruction to the wireless control device, wherein the request state instruction is used for indicating that the terminal tries to determine the terminal connected with the wireless control device;
the terminal receives a response instruction fed back by the wireless control equipment, wherein the response instruction contains a unique identifier of the terminal which is connected with the wireless control equipment;
the terminal acquires a unique identifier of the terminal;
the terminal compares the unique identification of the terminal with the unique identification of the terminal which is connected with the wireless control equipment; if the two identifications are consistent, determining that the terminal is connected with the wireless control equipment; if not, the two are inconsistent; the terminal sends a switching instruction to the wireless control equipment so that the wireless control equipment sends a Bluetooth connection request to the terminal, wherein the switching instruction comprises a Bluetooth connection address of the terminal;
the terminal receives a Bluetooth connection request sent by the wireless control equipment;
the terminal authenticates the Bluetooth connection request; and if the authentication is passed, the terminal confirms that the Bluetooth connection is established with the wireless control equipment.
Optionally, before the terminal sends the request status instruction to the wireless control device, the method further includes:
the terminal judges whether the staying time of the wireless control equipment in the preset area reaches a first threshold value or not; and if so, the terminal sends a request state instruction to the wireless control equipment.
Optionally, the determining, by the terminal according to the second infrared signal, that the wireless control device is located in the preset area includes: the terminal determines the time difference between the emission of the first infrared signal and the reception of the second infrared signal;
the terminal determines the distance between the wireless control equipment and the terminal according to the time difference;
and the terminal judges whether the distance between the wireless control equipment and the terminal is smaller than the second threshold value, and if so, the wireless control equipment is determined to be located in the preset area.
Optionally, after the terminal confirms that the bluetooth connection is established with the wireless control device, the method further includes:
and the terminal returns a connection state notification to the wireless control equipment, wherein the notification is used for indicating that the Bluetooth connection between the terminal and the wireless control equipment is successful.
Optionally, the obtaining, by the terminal, a unique identifier of the terminal itself includes:
the terminal acquires the IP address of the terminal.
Optionally, after the terminal confirms that the bluetooth connection is established with the wireless control device, the method further includes:
and the terminal judges whether the wireless control equipment is positioned in the preset area, and if not, the terminal interrupts the connection with the wireless control equipment.
A second aspect of the embodiments of the present application provides another method for controlling a wireless control device, including:
the wireless control equipment receives a first infrared signal sent by the terminal;
the wireless control equipment transmits a second infrared signal with the intensity higher than that of the first infrared signal to the terminal;
the wireless control device receives a request state instruction sent by the terminal, wherein the request state instruction is used for indicating that the terminal attempts to determine the terminal which is connected with the wireless control device;
the wireless control device determines the unique identification of the terminal which is being connected;
the wireless control equipment sends a response instruction to the terminal, wherein the response instruction contains the unique identification of the terminal which is connected;
the wireless control equipment receives a switching instruction sent by the terminal, wherein the switching instruction comprises a Bluetooth connection address of the terminal;
the wireless control equipment sends a Bluetooth connection request to the terminal according to the Bluetooth connection address;
and the wireless control equipment establishes Bluetooth connection with the terminal.
Optionally, after the wireless control device establishes a bluetooth connection with the terminal, the method further includes:
the wireless control equipment receives a connection state notification sent by the terminal, wherein the notification is used for indicating that the connection between the terminal and the wireless control equipment is successful;
the wireless control equipment controls the indicator light to emit an optical signal, and the optical signal is used for indicating that the Bluetooth connection between the wireless control equipment and the terminal is successfully established to a user.
Optionally, the wireless control device has a storage function, before the wireless control device receives the first infrared signal sent by the terminal, the wireless control device receives file data sent by the terminal being connected, and after the wireless control device establishes a bluetooth connection with the terminal, the wireless control device sends the file data to the terminal.
A third aspect of embodiments of the present application provides a wireless control device, including:
the first receiving unit is used for receiving a first infrared signal sent by the terminal;
the transmitting unit is used for transmitting a second infrared signal with the intensity higher than that of the first infrared signal to the terminal;
a second receiving unit, configured to receive a request status instruction sent by the terminal, where the request status instruction is used to indicate that the terminal attempts to determine a terminal that is being connected to the wireless control device;
a determining unit for determining a unique identifier of a terminal being connected;
the first sending unit is used for sending a response instruction to the terminal, wherein the response instruction comprises a unique identifier of the terminal which is connected;
a third receiving unit, configured to receive a switching instruction sent by the terminal, where the switching instruction includes a bluetooth connection address of the terminal;
a second sending unit, configured to send a bluetooth connection request to the terminal according to the bluetooth connection address;
and the connection unit is used for establishing Bluetooth connection with the terminal.
A fourth aspect of the embodiments of the present application provides another wireless control device, including:
the device comprises a processor, a memory, an input and output unit and a bus;
the processor is connected with the memory, the input and output unit and the bus;
the processor specifically performs the following operations:
receiving a first infrared signal sent by a terminal;
transmitting a second infrared signal with higher intensity than the first infrared signal to the terminal;
receiving a request state instruction sent by a terminal, wherein the request state instruction is used for indicating that the terminal tries to determine the terminal which is connected with the terminal;
determining a unique identifier of a terminal being connected;
sending a response instruction to the terminal, wherein the response instruction comprises a unique identifier of the terminal which is connected;
receiving a switching instruction sent by a terminal, wherein the switching instruction comprises a Bluetooth connection address of the terminal;
sending a Bluetooth connection request to the terminal according to the Bluetooth connection address;
and establishing Bluetooth connection with the terminal.
Optionally, the processor is further configured to perform the operations of any of the alternatives of the second aspect.
A fifth aspect of an embodiment of the present application provides a terminal, including:
the device comprises a processor, a memory, an input and output unit and a bus;
the processor is connected with the memory, the input and output unit and the bus;
the processor specifically performs the following operations:
transmitting a first infrared signal to wireless control equipment in a preset area right ahead so that the wireless control equipment emits a second infrared signal with higher intensity than the first infrared signal;
receiving a second infrared signal;
confirming that the wireless control equipment is located in the preset area according to the second infrared signal;
sending a request status instruction to the wireless control device, the request status instruction being used for indicating that the connection with the wireless control device is attempted to be determined;
receiving a response instruction fed back by the wireless control equipment, wherein the response instruction comprises a unique identifier which is connected with the wireless control equipment;
acquiring a unique identifier of the user;
comparing the unique identification of the wireless control device with the unique identification which is connected with the wireless control device; if the two identifications are consistent, determining that the wireless control device is connected with the wireless control device; if not, the two are inconsistent; sending a switching instruction to the wireless control equipment so that the wireless control equipment sends a Bluetooth connection request, wherein the switching instruction comprises a Bluetooth connection address;
receiving a Bluetooth connection request sent by wireless control equipment;
authenticating the Bluetooth connection request; and if the authentication is passed, confirming that the Bluetooth connection is established with the wireless control equipment.
Optionally, the processor is further configured to perform the operations of any of the alternatives of the first aspect.
According to the technical scheme, the embodiment of the application has the following beneficial effects:
in the application, the terminal can automatically identify the wireless control equipment in the preset area right in front of the terminal, if the current connection of the wireless control equipment is confirmed to be other terminals, the terminal can automatically send a switching instruction to the wireless control equipment, then the wireless control equipment sends a Bluetooth connection request to the terminal, and the connection can be established after the authentication is passed. The wireless device control method can enable the terminal and the wireless control device to automatically establish Bluetooth connection, and greatly improves the use experience of users.
Drawings
Fig. 1 is a flowchart illustrating an embodiment of a method for controlling a wireless control device according to the present application;
fig. 2 is a flowchart illustrating another embodiment of a method for controlling a wireless control device according to the present application;
fig. 3 is a flowchart illustrating another embodiment of a method for controlling a wireless control device according to the present application;
fig. 4 is a flowchart illustrating another embodiment of a method for controlling a wireless control device according to the present application;
FIG. 5 is a schematic structural diagram of an embodiment of a wireless control device in the present application;
FIG. 6 is a schematic structural diagram of another embodiment of a wireless control device in the present application;
fig. 7 is a schematic structural diagram of an embodiment of a terminal in the present application.
Detailed Description
The embodiment of the application provides a control method of wireless control equipment, which is used for improving the use experience of a user.
In practical applications, for example, a user may use two computers at the same time, one is a working computer and the other is a living computer, and after the two computers are turned on, the user controls the two computers by using the same wireless keyboard and mouse, but because the contents displayed on the two computers and the software running on the two computers are different, the wireless keyboard and mouse only controls one computer at the same time.
Generally, when a user needs to use the wireless control device to control a computer, the wireless control device is aligned with the display of the computer, so that the infrared detection devices are arranged below the terminal and on the wireless control device, and when the fact that the wireless control device is aligned below the display of the computer is detected, the user wants to use the wireless control device to control the computer currently is indicated.
In the prior art, there is a new technology that a wireless control device can be connected to multiple computers at the same time, which is generally realized by bluetooth in different frequency bands, and a user can switch the computers to be controlled by buttons on the wireless control device. However, a user needs to manually press a button on the wireless control device to switch the computer to be controlled, sometimes the user cannot remember the number of the computer corresponding to the number of the button, and errors often occur easily, so that the user experience is affected.
Based on this, the embodiments of the present application provide a wireless control device control method and related apparatus, which will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, in an embodiment of the present application, a method for controlling a wireless control device includes:
101. the method comprises the steps that a terminal transmits a first infrared signal to wireless control equipment in a preset area right in front of the terminal, so that the wireless control equipment transmits a second infrared signal with the intensity higher than that of the first infrared signal to the terminal; 102. the terminal receives a second infrared signal; 103. the terminal confirms that the wireless control equipment is located in the preset area according to the second infrared signal;
in practical application, for example, an infrared detection device is disposed below a display of a television, and is connected to the television through a cable, and continuously emits infrared rays outwards through the infrared detection device, and then receives the infrared rays fed back, and determines whether the energy intensity of the infrared rays fed back is higher than a certain threshold, if the energy intensity of the infrared rays fed back is lower than the certain threshold, it indicates that the received infrared signals are normally reflected, the infrared rays fed back are reflected back by an object, and a part of the infrared signals are absorbed by the object during the reflection process and lose a part of energy, so the intensity is lower, and a wireless control device, such as a remote controller, is provided with the infrared detection device, and when receiving the infrared signals emitted by the television, the intensity and the source direction of the signals are calculated, and then the infrared signals are emitted to the source direction with the intensity 2 to 3 times of the signals, therefore, the intensity of the infrared signal detected by the infrared detector below the display may be higher than or equal to a certain threshold, which may be the intensity of the infrared signal emitted by the infrared detector below the display.
After receiving the infrared signal sent by the remote controller, the television can confirm that the remote controller is positioned in a remote control range capable of remotely controlling the television according to a certain algorithm, the preset range in the application can refer to a sector area with a certain radius right in front of the television or a display, and a general user can enable the remote controller to face a computer when trying to remotely control the television by using the remote controller.
104. The terminal sends a request state instruction to the wireless control equipment, wherein the request state instruction is used for indicating that the terminal tries to determine the terminal which is connected with the wireless control equipment; 105. the terminal receives a response instruction fed back by the wireless control equipment, wherein the response instruction comprises a unique identifier of the terminal which is connected with the wireless control equipment;
in practical applications, after the terminal senses the wireless control device, it is indicated that the wireless control device is attempting to establish a connection with the terminal, but the wireless control device may already be and is connecting with other terminals, and therefore, the terminal needs to send a request status instruction to the wireless control device so as to attempt to determine the connection status of the wireless control device. The wireless control device feeds back a response instruction to the terminal after receiving the request state instruction, and the response instruction needs to contain a unique identifier of the terminal being connected, such as an ID of the terminal, in order to enable the terminal to distinguish.
106. The terminal acquires a unique identifier of the terminal; 107. the terminal compares the unique identification of the terminal with the unique identification of the terminal which is connected with the wireless control equipment; 108. if the two identifications are consistent, determining that the terminal is connected with the wireless control equipment;
the terminal acquires the identifier of the terminal, and then compares the identifier with the identifier fed back by the wireless control equipment to judge whether the terminal is connected with the wireless control equipment or not, if the two identifiers are consistent, the terminal indicates that the terminal is connected with the wireless control equipment and does not need to perform other connection operations.
109. If the Bluetooth connection addresses are inconsistent, the terminal sends a switching instruction to the wireless control equipment so that the wireless control equipment sends a Bluetooth connection request to the terminal, wherein the switching instruction comprises the Bluetooth connection address of the terminal;
if the two identifiers are determined to be inconsistent after comparison, it is determined that the wireless control device is connected with other terminals and is trying to establish connection with the terminals, so that connection switching is required, the terminals send switching instructions to the wireless control device, the connection between the wireless control device and the terminals has certain directivity, and in order to enable the wireless control device to establish connection with the terminals, the switching instructions may include connection addresses of the terminals.
110. The terminal receives a Bluetooth connection request sent by the wireless control equipment; 111. the terminal authenticates the Bluetooth connection request; 112. if the authentication is passed, the terminal confirms that Bluetooth connection is established with the wireless control equipment; 113. if the authentication is not passed, the flow is ended.
After receiving the switching instruction, the wireless control terminal sends a bluetooth connection request to a connection address carried in the switching instruction, where the bluetooth connection request may carry identity information, pairing information, and the like of the wireless control terminal, and after receiving the bluetooth connection request, the terminal determines the validity of the wireless control device through authentication, including but not limited to querying whether a connection record of the wireless control device exists from a historical connection record, or querying an IP white list, or authenticating a Token carried by the wireless control device. And if the wireless control equipment is determined to be legal, establishing connection with the wireless control equipment.
In the application, the terminal can automatically identify the wireless control equipment in the preset area right in front of the terminal, if the current connection of the wireless control equipment is confirmed to be other terminals, the terminal can automatically send a switching instruction to the wireless control equipment, then the wireless control equipment sends a Bluetooth connection request to the terminal, and the connection can be established after the authentication is passed. The wireless device control method can enable the terminal and the wireless control device to automatically establish connection, and greatly improves the use experience of users.
In practical applications, for example, in some display places with multiple televisions, when a user holds a remote controller and frequently moves back and forth in front of multiple televisions, the television recognizes the remote controller to some extent whenever moving into a remote control area of one of the televisions, and further, the remote controller may frequently switch connections among the multiple televisions, and the user may not need to switch the connections, which may affect the use experience and the stability of the connections.
Based on this, please refer to fig. 2, a method for controlling a wireless control device according to an embodiment of the present application includes:
201. the method comprises the steps that a terminal transmits a first infrared signal to wireless control equipment in a preset area right in front of the terminal, so that the wireless control equipment transmits a second infrared signal with the intensity higher than that of the first infrared signal to the terminal; 202. the terminal receives a second infrared signal; 203. the terminal confirms that the wireless control equipment is located in the preset area according to the second infrared signal;
specifically, the terminal may determine a time difference between the emission of the first infrared signal and the reception of the second infrared signal; the terminal determines the distance between the wireless control equipment and the terminal according to the time difference; and the terminal judges whether the distance between the wireless control equipment and the terminal is smaller than a second threshold value, and if so, the wireless control equipment is determined to be located in the preset area.
In the embodiment of the present application, steps 201 to 203 are similar to steps 101 to 103 in the foregoing embodiment, and are not described again here.
204. The terminal determines whether the time that the wireless control device stays in the preset area reaches a first threshold, if so, step 205 is executed, and if not, the process is ended.
In practical applications, for example, when a user holds a remote controller to move back and forth between a plurality of computers or televisions, if the user does not need to control the computers or televisions, the user often does not stay for a long time but temporarily enters a remote control area. If the duration reaches a certain threshold, it can be confirmed that the user wishes to control the terminal corresponding to the area, and the next step is performed.
According to the wireless control method, the request state instruction can be sent only after the fact that the staying time of the wireless control equipment in the preset area reaches a certain threshold value is judged, the situation that connection is switched continuously due to the fact that a user moves back and forth in front of a plurality of televisions or computers is effectively reduced, and the connection stability is improved.
205. The terminal sends a request state instruction to the wireless control equipment, wherein the request state instruction is used for indicating that the terminal tries to determine the terminal which is connected with the wireless control equipment; 206. the terminal receives a response instruction fed back by the wireless control equipment, wherein the response instruction comprises a unique identifier of the terminal which is connected with the wireless control equipment; 207. the terminal acquires a unique identifier of the terminal; 208. the terminal compares the unique identification of the terminal with the unique identification of the terminal which is connected with the wireless control equipment; 209. if the two identifications are consistent, determining that the terminal is connected with the wireless control equipment; 210. if the Bluetooth connection addresses are inconsistent, the terminal sends a switching instruction to the wireless control equipment so that the wireless control equipment sends a Bluetooth connection request to the terminal, wherein the switching instruction comprises the Bluetooth connection address of the terminal; 211. the terminal receives a Bluetooth connection request sent by the wireless control equipment; 212. the terminal authenticates the Bluetooth connection request; 213. if the authentication is passed, the terminal confirms that Bluetooth connection is established with the wireless control equipment; 214. if the authentication is not passed, the flow is ended. In the embodiment of the present application, steps 205 to 214 are similar to steps 104 to 113 in the previous embodiment, and are not described herein again.
Referring to fig. 3, a method for controlling a wireless control device according to an embodiment of the present application includes:
301. the method comprises the steps that a terminal transmits a first infrared signal to wireless control equipment in a preset area right in front of the terminal, so that the wireless control equipment transmits a second infrared signal with the intensity higher than that of the first infrared signal to the terminal; 302. the terminal receives a second infrared signal; 303. the terminal confirms that the wireless control equipment is located in the preset area according to the second infrared signal; 304. the terminal sends a request state instruction to the wireless control equipment, wherein the request state instruction is used for indicating that the terminal tries to determine the terminal which is connected with the wireless control equipment; 305. the terminal receives a response instruction fed back by the wireless control equipment, wherein the response instruction comprises a unique identifier of the terminal which is connected with the wireless control equipment; 306. the terminal acquires a unique identifier of the terminal; 307. the terminal compares the unique identification of the terminal with the unique identification of the terminal which is connected with the wireless control equipment; 308. if the two identifications are consistent, determining that the terminal is connected with the wireless control equipment; 309. if the Bluetooth connection addresses are inconsistent, the terminal sends a switching instruction to the wireless control equipment so that the wireless control equipment sends a Bluetooth connection request to the terminal, wherein the switching instruction comprises the Bluetooth connection address of the terminal; 310. the terminal receives a Bluetooth connection request sent by the wireless control equipment; 311. the terminal authenticates the Bluetooth connection request; 312. if the authentication is passed, the terminal confirms that Bluetooth connection is established with the wireless control equipment;
in the embodiment of the application, the unique identifier of the terminal may specifically be an internet protocol IP address of the terminal, and each computer or internet television has an independent IP address.
313. The terminal returns a connection state notification to the wireless control equipment, and the notification is used for indicating that the Bluetooth connection between the terminal and the wireless control equipment is successful;
in practical application, in order to facilitate a user to perceive that the connection of the mouse or the remote controller has been successfully switched, in this embodiment, after determining that the bluetooth connection with the wireless control device has been successfully established, the terminal returns a connection state notification to the wireless control device, where the notification is used to indicate that the connection has been successfully established to the wireless control device, and the wireless control device may remind the user according to the notification, where the reminding manner includes, but is not limited to, vibration, sound prompt, light flashing, or light color switching. The user can perceive the successful connection through the mode so as to conveniently carry out the next operation, and the use experience of the wireless control equipment is improved.
314. The terminal judges whether the wireless control equipment is located in a preset area or not; 315. if not, the terminal interrupts the connection with the wireless control equipment;
in practical applications, normally, when a user leaves a control area with a mouse or a remote controller, the terminal disconnects the wireless control device, and when the user enters the control area again, the connection is resumed, but the user may leave the control area only briefly, without wishing to directly disconnect the connection, and it takes a long time to reestablish the connection. And when the wireless control equipment enters the preset area again, directly activating connection or recovering the connection grade. The use experience is improved.
316. And ending the flow.
The foregoing embodiment describes a method flow at a terminal side in the present application, and the method flow at a wireless control device side in the present application is described below with reference to the accompanying drawings.
Referring to fig. 4, a method for controlling a wireless control device according to an embodiment of the present application includes:
401. the method comprises the steps that wireless control equipment receives a first infrared signal sent by a terminal; 402. the wireless control equipment transmits a second infrared signal with the intensity higher than that of the first infrared signal to the terminal; 403. the wireless control equipment receives a request state instruction sent by the terminal, wherein the request state instruction is used for indicating that the terminal tries to determine the terminal which is connected with the wireless control equipment; 404. the wireless control equipment determines the unique identification of the terminal which is being connected; 405. the wireless control equipment sends a response instruction to the terminal, wherein the response instruction comprises a unique identifier of the terminal which is connected; 406. the wireless control equipment receives a switching instruction sent by a terminal, wherein the switching instruction comprises a Bluetooth connection address of the terminal; 407. the wireless control equipment sends a Bluetooth connection request to the terminal according to the Bluetooth connection address; 408. the wireless control equipment establishes Bluetooth connection with the terminal.
The above steps in the embodiment of the present application are similar to the related steps in the foregoing method embodiments, and are not described herein again.
409. The wireless control equipment receives a connection state notification sent by the terminal, and the notification is used for indicating that the connection between the terminal and the wireless control equipment is successful; 410. the wireless control equipment controls the indicator light to emit an optical signal, and the optical signal is used for indicating the user that the Bluetooth connection between the wireless control equipment and the terminal is successfully established.
In practical application, in order to facilitate a user to perceive that the connection of the mouse or the remote controller has been successfully switched, in this embodiment, after determining that the bluetooth connection with the wireless control device has been successfully established, the terminal returns a connection state notification to the wireless control device, where the notification is used to indicate that the connection has been successfully established to the wireless control device, and the wireless control device may remind the user according to the notification, where the reminding manner includes, but is not limited to, vibration, sound prompt, light flashing, or light color switching. The user can perceive the successful connection through the mode so as to conveniently carry out the next operation, and the use experience of the wireless control equipment is improved.
Optionally, in practical applications, the wireless terminal may further have a capability of storing data, for example, when a user copies file data on one computer, the mouse may store the file data in a storage unit of the mouse, when the mouse is switched to be connected to another computer, the file data may be displayed to the user in a clipboard manner, and if the user selects to paste the file to a newly connected computer, the mouse may transmit the file data to the computer through a bluetooth or other link, thereby achieving an effect of copying and pasting across computers. Greatly improving the use experience and convenience.
The above embodiments describe the method flow in the present application, and the related apparatuses in the present application will be described below with reference to the accompanying drawings.
Referring to fig. 5, a wireless control device according to an embodiment of the present application includes:
a first receiving unit 501, configured to receive a first infrared signal sent by a terminal;
a transmitting unit 502, configured to transmit a second infrared signal with higher intensity than the first infrared signal to the terminal;
a second receiving unit 503, configured to receive a request status instruction sent by the terminal, where the request status instruction is used to indicate that the terminal attempts to determine a terminal being connected to the wireless control device;
a determining unit 504, configured to determine a unique identifier of a terminal being connected;
a first sending unit 505, configured to send a response instruction to the terminal, where the response instruction includes a unique identifier of the terminal being connected;
a third receiving unit 506, configured to receive a switching instruction sent by the terminal, where the switching instruction includes a bluetooth connection address of the terminal;
a second sending unit 507, configured to send a bluetooth connection request to the terminal according to the bluetooth connection address;
a connection unit 507, configured to establish a bluetooth connection with the terminal.
Optionally, the wireless control device may further include:
a fourth receiving unit 508, configured to receive a connection status notification sent by the terminal, where the notification is used to indicate that the connection between the terminal and the wireless control device is successful;
and a control unit 509, configured to control the indicator light to emit an optical signal, where the optical signal is used to indicate to the user that the bluetooth connection between the wireless control device and the terminal is successfully established.
According to the embodiment of the application, the terminal can automatically identify the wireless control equipment in the preset area right in front of the terminal, if the current connection of the wireless control equipment is confirmed to be other terminals, a switching instruction can be automatically sent to the wireless control equipment, then the wireless control equipment sends a Bluetooth connection request to the terminal, and the connection can be established after the authentication is passed. The wireless device control method can enable the terminal and the wireless control device to automatically establish Bluetooth connection, and greatly improves the use experience of users.
Referring to fig. 6, an embodiment of the present application further provides another wireless control device, including:
a processor 601, a memory 602, an input-output unit 603, a bus 604;
the processor 601 is connected with the memory 602, the input/output unit 603 and the bus 604;
the processor 601 specifically performs the following operations:
receiving a first infrared signal sent by a terminal;
transmitting a second infrared signal with higher intensity than the first infrared signal to the terminal;
receiving a request state instruction sent by a terminal, wherein the request state instruction is used for indicating that the terminal tries to determine the terminal which is connected with the wireless control equipment;
determining a unique identifier of a terminal being connected;
sending a response instruction to the terminal, wherein the response instruction comprises a unique identifier of the terminal which is connected;
receiving a switching instruction sent by a terminal, wherein the switching instruction comprises a Bluetooth connection address of the terminal;
sending a Bluetooth connection request to the terminal according to the Bluetooth connection address;
and establishing Bluetooth connection with the terminal.
Referring to fig. 7, an embodiment of the present application further provides a terminal, including:
a processor 701, a memory 702, an input/output unit 703, a bus 704;
the processor 701 is connected with the memory 702, the input/output unit 703 and the bus 704;
the processor 701 specifically performs the following operations:
transmitting a first infrared signal to wireless control equipment in a preset area right ahead so that the wireless control equipment emits a second infrared signal with higher intensity than the first infrared signal;
receiving a second infrared signal;
confirming that the wireless control equipment is located in the preset area according to the second infrared signal;
sending a request status instruction to the wireless control device, the request status instruction being used for indicating that the connection with the wireless control device is attempted to be determined;
receiving a response instruction fed back by the wireless control equipment, wherein the response instruction comprises a unique identifier which is connected with the wireless control equipment;
acquiring a unique identifier of the user;
comparing the unique identification of the wireless control device with the unique identification which is connected with the wireless control device; if the two identifications are consistent, determining that the wireless control device is connected with the wireless control device; if not, the two are inconsistent; sending a switching instruction to the wireless control equipment so that the wireless control equipment sends a Bluetooth connection request, wherein the switching instruction comprises a Bluetooth connection address;
receiving a Bluetooth connection request sent by wireless control equipment;
authenticating the Bluetooth connection request; and if the authentication is passed, confirming that the Bluetooth connection is established with the wireless control equipment.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a 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 stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.

Claims (10)

1. A wireless control apparatus control method, comprising:
the method comprises the steps that a terminal transmits a first infrared signal to wireless control equipment in a preset area right in front of the terminal, so that the wireless control equipment transmits a second infrared signal with the intensity higher than that of the first infrared signal to the terminal;
the terminal receives the second infrared signal;
the terminal confirms that the wireless control equipment is located in the preset area according to the second infrared signal;
the terminal sends a request state instruction to the wireless control device, wherein the request state instruction is used for indicating that the terminal tries to determine the terminal connected with the wireless control device;
the terminal receives a response instruction fed back by the wireless control equipment, wherein the response instruction contains a unique identifier of the terminal which is connected with the wireless control equipment;
the terminal acquires a unique identifier of the terminal;
the terminal compares the unique identification of the terminal with the unique identification of the terminal which is connected with the wireless control equipment; if the two identifications are consistent, determining that the terminal is connected with the wireless control equipment; if not, the two are inconsistent; the terminal sends a switching instruction to the wireless control equipment so that the wireless control equipment sends a Bluetooth connection request to the terminal, wherein the switching instruction comprises a Bluetooth connection address of the terminal;
the terminal receives a Bluetooth connection request sent by the wireless control equipment;
the terminal authenticates the Bluetooth connection request; and if the authentication is passed, the terminal confirms that the Bluetooth connection is established with the wireless control equipment.
2. The wireless control apparatus control method according to claim 1, wherein before the terminal transmits a request status instruction to the wireless control apparatus, the method further comprises:
the terminal judges whether the staying time of the wireless control equipment in the preset area reaches a first threshold value or not; and if so, the terminal sends a request state instruction to the wireless control equipment.
3. The method for controlling the wireless control device according to claim 1, wherein the terminal confirms that the wireless control device is located in the preset area according to the second infrared signal, and the method comprises: the terminal determines the time difference between the emission of the first infrared signal and the reception of the second infrared signal;
the terminal determines the distance between the wireless control equipment and the terminal according to the time difference;
and the terminal judges whether the distance between the wireless control equipment and the terminal is smaller than a second threshold value, and if so, the wireless control equipment is determined to be located in the preset area.
4. The wireless control apparatus control method according to claim 1, wherein after the terminal confirms establishment of a bluetooth connection with the wireless control apparatus, the method further comprises:
and the terminal returns a connection state notification to the wireless control equipment, wherein the connection state notification is used for indicating that the Bluetooth connection between the terminal and the wireless control equipment is successful.
5. The wireless control device control method according to any one of claims 1 to 4, wherein the terminal acquires its unique identifier, including:
the terminal acquires the IP address of the terminal.
6. The wireless control apparatus control method according to any one of claims 1 to 4, wherein after the terminal confirms establishment of a Bluetooth connection with the wireless control apparatus, the method further comprises:
and the terminal judges whether the wireless control equipment is positioned in the preset area, and if not, the terminal interrupts the connection with the wireless control equipment.
7. A wireless control apparatus control method, comprising:
the method comprises the steps that wireless control equipment receives a first infrared signal sent by a terminal;
the wireless control equipment transmits a second infrared signal with the intensity higher than that of the first infrared signal to the terminal;
the wireless control device receives a request state instruction sent by the terminal, wherein the request state instruction is used for indicating that the terminal attempts to determine the terminal which is connected with the wireless control device;
the wireless control device determines the unique identification of the terminal which is being connected;
the wireless control equipment sends a response instruction to the terminal, wherein the response instruction contains the unique identification of the terminal which is connected;
the wireless control equipment receives a switching instruction sent by the terminal, wherein the switching instruction comprises a Bluetooth connection address of the terminal;
the wireless control equipment sends a Bluetooth connection request to the terminal according to the Bluetooth connection address;
and the wireless control equipment establishes Bluetooth connection with the terminal.
8. The wireless control apparatus control method according to claim 7, wherein after the wireless control apparatus establishes a bluetooth connection with the terminal, the method further comprises:
the wireless control equipment receives a connection state notification sent by the terminal, wherein the connection state notification is used for indicating that the terminal is successfully connected with the wireless control equipment;
the wireless control equipment controls the indicator light to emit an optical signal, and the optical signal is used for indicating that the Bluetooth connection between the wireless control equipment and the terminal is successfully established to a user.
9. The wireless control apparatus control method according to claim 7, wherein the wireless control apparatus has a storage function, the wireless control apparatus receives file data transmitted by a terminal being connected before the wireless control apparatus receives the first infrared signal transmitted by the terminal, and the wireless control apparatus transmits the file data to the terminal after the wireless control apparatus establishes a bluetooth connection with the terminal.
10. A wireless control device, comprising:
the first receiving unit is used for receiving a first infrared signal sent by the terminal;
the transmitting unit is used for transmitting a second infrared signal with the intensity higher than that of the first infrared signal to the terminal;
a second receiving unit, configured to receive a request status instruction sent by the terminal, where the request status instruction is used to indicate that the terminal attempts to determine a terminal that is being connected to the wireless control device;
a determining unit for determining a unique identifier of a terminal being connected;
the first sending unit is used for sending a response instruction to the terminal, wherein the response instruction comprises a unique identifier of the terminal which is connected;
a third receiving unit, configured to receive a switching instruction sent by the terminal, where the switching instruction includes a bluetooth connection address of the terminal;
a second sending unit, configured to send a bluetooth connection request to the terminal according to the bluetooth connection address;
and the connection unit is used for establishing Bluetooth connection with the terminal.
CN202010889193.6A 2020-08-28 2020-08-28 Wireless control equipment control method and related device Active CN112216081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010889193.6A CN112216081B (en) 2020-08-28 2020-08-28 Wireless control equipment control method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010889193.6A CN112216081B (en) 2020-08-28 2020-08-28 Wireless control equipment control method and related device

Publications (2)

Publication Number Publication Date
CN112216081A CN112216081A (en) 2021-01-12
CN112216081B true CN112216081B (en) 2022-01-28

Family

ID=74059074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010889193.6A Active CN112216081B (en) 2020-08-28 2020-08-28 Wireless control equipment control method and related device

Country Status (1)

Country Link
CN (1) CN112216081B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113225837A (en) * 2021-04-23 2021-08-06 深圳创维-Rgb电子有限公司 Wireless sound box connection method and device, communication terminal and readable storage medium
CN115833943A (en) * 2021-09-16 2023-03-21 华为技术有限公司 Method for establishing device connection and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103298146A (en) * 2013-05-27 2013-09-11 深圳Tcl新技术有限公司 Terminal pairing method and terminal based on wireless communication
KR101731555B1 (en) * 2016-05-18 2017-05-04 김덕헌 Bluetooth digital door lock control system and Control method thereof
CN106875667A (en) * 2016-12-29 2017-06-20 广州凯耀资产管理有限公司 The control method of television equipment
CN108833223A (en) * 2018-05-31 2018-11-16 广东美的制冷设备有限公司 Appliances equipment control method, device, remote controler, terminal, server and medium
CN109313485A (en) * 2017-02-18 2019-02-05 广州艾若博机器人科技有限公司 Robot control method, device and robot based on gesture identification
CN109917780A (en) * 2017-12-12 2019-06-21 杭州海康机器人技术有限公司 Robot probe's method, control method, apparatus and system
CN109945416A (en) * 2019-03-31 2019-06-28 广东美的制冷设备有限公司 Control detection method, networking module, air conditioner and the controlling terminal of household electrical appliances

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109445297A (en) * 2018-11-06 2019-03-08 吴基玄 It is a kind of to realize the smart home monitoring device remotely controlled

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103298146A (en) * 2013-05-27 2013-09-11 深圳Tcl新技术有限公司 Terminal pairing method and terminal based on wireless communication
KR101731555B1 (en) * 2016-05-18 2017-05-04 김덕헌 Bluetooth digital door lock control system and Control method thereof
CN106875667A (en) * 2016-12-29 2017-06-20 广州凯耀资产管理有限公司 The control method of television equipment
CN109313485A (en) * 2017-02-18 2019-02-05 广州艾若博机器人科技有限公司 Robot control method, device and robot based on gesture identification
CN109917780A (en) * 2017-12-12 2019-06-21 杭州海康机器人技术有限公司 Robot probe's method, control method, apparatus and system
CN108833223A (en) * 2018-05-31 2018-11-16 广东美的制冷设备有限公司 Appliances equipment control method, device, remote controler, terminal, server and medium
CN109945416A (en) * 2019-03-31 2019-06-28 广东美的制冷设备有限公司 Control detection method, networking module, air conditioner and the controlling terminal of household electrical appliances

Also Published As

Publication number Publication date
CN112216081A (en) 2021-01-12

Similar Documents

Publication Publication Date Title
KR102473262B1 (en) Electronic device for controlling establishing or releasing communication connection and method for controlling thereof
CN107517438B (en) Method for requesting sharing of Bluetooth device, electronic device and computer storage medium
EP3192218B1 (en) Terminal for internet of things and operation method of the same
US8775533B2 (en) Auto connect in peer-to-peer network
US8442437B1 (en) Method and apparatus for binding wireless devices
CN112216081B (en) Wireless control equipment control method and related device
US9706015B2 (en) Multi-operating system input device
EP2838309B1 (en) Method, device and system for establishing data connection
US9167608B2 (en) Access point and method for connecting wireless communication
WO2017084389A1 (en) Wireless device matching method, apparatus and system
CN103997358A (en) Method, device and system for pairing Bluetooth remote control unit and controlled devices
CN112492611A (en) Network configuration method, network configuration device, electronic equipment and readable storage medium
CN104348524A (en) Binding method, center equipment and peripheral equipment
CN112969167A (en) Equipment network distribution method, device and system, electronic equipment and storage medium
CN113838275B (en) Bluetooth batch pairing method, display device and readable storage medium
WO2021017156A1 (en) Method for connecting remote control device and host
EP3186795B1 (en) A remote controlled device and a remote control for controlling multiple remote controlled devices
CN111315035A (en) WiFi network connection method and device
KR20200106743A (en) Electronic device for transmitting response message in bluetooth network environment and method thereof
CN111885571A (en) Bluetooth device pairing method, device and storage medium
CN110535733B (en) Control method and device of household appliance, computer equipment and storage medium
WO2017148060A1 (en) Switching method and system for working mode of remote controller, and related device
CN111478816B (en) Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment
CN111917614B (en) Network distribution method and device and household electrical appliance
CN105188155B (en) A kind of method and terminal of network connection

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211214

Address after: 518000 1006, 10th floor, sannuo wisdom building, 3388 Binhai Avenue, Binhai community, Yuehai street, Nanshan District, Shenzhen, Guangdong

Applicant after: Shenzhen ledupai Technology Co.,Ltd.

Address before: A101, floor 1, podium building, Wenjin Plaza, Tianbei 1st Road, Cuizhu street, Luohu District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN XIUYUAN CULTURAL CREATIVE Co.,Ltd.

GR01 Patent grant
GR01 Patent grant