WiFi remote controller pairing method and device and electronic equipment
By detecting the trigger status of the remote control button, powering on the WiFi module and supporting a variety of preset pairing operations, the problem of insufficient pairing methods for WiFi remote control in the existing technology is solved, and fast, flexible and convenient pairing operations are achieved.
Patent Information
- Application Number
- CN202411666906.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-21
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2044-11-21
AI Technical Summary
The existing WiFi remote control pairing method requires manual operation by users, and the learning cost and operation are not simple enough, making it difficult to meet user needs convenient and natural pairing needs.
It provides a WiFi remote control pairing method, which powers on the WiFi module by detecting the trigger status of the remote control buttons, and supports a variety of preset pairing operations, such as voice pairing, key pairing and key combination pairing, and automatically controls the pairing of the WiFi module and the device according to the user's triggering operation.
It reduces the waiting time of WiFi modules, improves the pairing speed, provides a variety of pairing methods to meet the needs and preferences of different users, increases the flexibility and convenience of pairing, and improves the efficiency of pairing operations.
Smart Images

Figure CN119516755A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of device control, and in particular to a WiFi remote control pairing method, device, and electronic device. Background Art
[0002] Currently, WiFi remote controls are paired manually by users, for example, users need to press a specific key combination as required to pair. This operation method requires learning and is not simple enough. In order to make remote control pairing more convenient and natural, it is necessary to provide users with a new pairing method, which also needs to be compatible with the old version, so that users can quickly and easily pair the devices to be remotely controlled, such as air conditioners, lights, etc. Summary of the invention
[0003] The present application provides a WiFi remote control pairing method, device, medium and electronic device, which can provide users with multiple pairing methods and make the operation more efficient and quick.
[0004] In a first aspect, the present application provides a WiFi remote control pairing method, comprising:
[0005] Detect whether a button of the remote control is triggered, and when the button is triggered, power on the WiFi module of the remote control;
[0006] Receiving a trigger operation for the remote controller, and detecting whether the trigger operation matches any one of a plurality of preset pairing operations, wherein the plurality of preset pairing operations include voice pairing, key pairing, and combination key pairing;
[0007] If the trigger operation matches any one of a plurality of preset pairing operations, the WiFi module is controlled to pair with the WiFi device.
[0008] According to the WiFi remote control pairing method in this embodiment, when the remote control button is triggered, the WiFi module is powered on, which can reduce the waiting time of the WiFi module and improve the pairing speed. In addition, the user can use a variety of pairing operations, such as voice pairing, button pairing, and combination key pairing to achieve pairing, which can meet the needs and preferences of different users, increase the flexibility and convenience of pairing, and improve the efficiency of pairing operations.
[0009] In an exemplary embodiment, after the WiFi module of the remote controller is powered on, the method further includes:
[0010] Read the network configuration self-test data of the WiFi module of the remote controller;
[0011] Determine whether the WiFi module is configuring the network for the first time through the network configuration self-test data, and when the WiFi module is configuring the network for the first time, send a preset protocol version number to the WiFi module, and the preset protocol version number is used to instruct the WiFi module to configure the network;
[0012] After the WiFi module network configuration is completed, the network configuration self-check data is updated.
[0013] In an exemplary embodiment, determining whether the WiFi module is connected to the network for the first time through the network connection self-check data includes:
[0014] Determine whether the network configuration self-check data is a preset value, and if the network configuration self-check data is a first preset value, determine that the WiFi module is configured for the first time;
[0015] If the network configuration self-check data is a second preset value, it is determined that the WiFi module is not being configured for the first time.
[0016] In an exemplary embodiment, the detecting whether the triggering operation matches any one of a plurality of preset pairing operations includes:
[0017] If a trigger operation of pressing a specific combination of keys is detected, or a trigger operation of any key being pressed continuously is detected, or a trigger operation including a trigger voice of the user is detected; it is determined that the trigger operation matches the preset pairing operation.
[0018] In an exemplary embodiment, the detecting whether the triggering operation matches any one of a plurality of preset pairing operations includes:
[0019] If a triggering operation of any key being pressed continuously is detected, the voice module is started, and the voice module is used to determine whether the user triggers the voice pairing in the preset pairing operation.
[0020] In an exemplary embodiment, if the trigger operation matches any one of a plurality of preset pairing operations, controlling the WiFi module to pair with the WiFi device includes:
[0021] If a trigger operation is detected where any key is pressed twice in succession, a voice message is sent;
[0022] Receiving voice feedback information from a user regarding the voice information;
[0023] The WiFi module is controlled to pair with the WiFi device according to the voice feedback information.
[0024] In an exemplary embodiment, based on the foregoing, controlling the pairing of the WiFi module with the WiFi device according to the voice feedback information includes:
[0025] Determining whether the target information frequency in the voice feedback information is greater than the noise frequency;
[0026] In a case where the target information frequency is greater than the noise frequency, a preset flag is sent to the WiFi module, where the preset flag is used to indicate that the WiFi module is paired with a WiFi device.
[0027] In an exemplary embodiment, based on the foregoing, the method further includes:
[0028] When the target information frequency is not greater than the noise frequency, the voice feedback information is subjected to noise reduction processing until the target information frequency is greater than the noise frequency.
[0029] In a second aspect, the present application provides a WiFi remote control pairing device, comprising:
[0030] A remote control trigger module, used to detect whether a button of the remote control is triggered, and when the button is triggered, power on the WiFi module of the remote control;
[0031] A pairing operation detection module, used to receive a trigger operation for the remote controller, and detect whether the trigger operation matches any one of a plurality of preset pairing operations, wherein the plurality of preset pairing operations include voice pairing, key pairing, and combination key pairing;
[0032] The pairing module is used to control the WiFi module to pair with the WiFi device if the trigger operation matches any one of a plurality of preset pairing operations.
[0033] In a third aspect, the present application provides an electronic device, the electronic device comprising a memory and one or more processors. The memory stores one or more computer programs, the computer programs comprising instructions, and when the instructions are executed by the processor, the electronic device can execute the WiFi remote control pairing method as in the first aspect.
[0034] In a fourth aspect, the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on an electronic device, the electronic device executes the WiFi remote control pairing method in the first aspect.
[0035] In a fifth aspect, the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the WiFi remote control pairing method as described in the first aspect.
[0036] It can be understood that the beneficial effects that can be achieved by the WiFi remote control pairing device, electronic device, computer-readable storage medium, and computer program product provided above can refer to the beneficial effects in the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 A schematic diagram of a WiFi remote control pairing method according to an embodiment of the present application;
[0038] Figure 2 Another schematic diagram of the process of pairing a WiFi remote controller provided in an embodiment of the present application;
[0039] Figure 3 A schematic diagram of the structure of a WiFi remote control pairing device provided in an embodiment of the present application;
[0040] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. For example, the first chip and the second chip are only used to distinguish different chips, and their order is not limited. It can be understood by those skilled in the art that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not necessarily limit the difference. It should be noted that in the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design solutions. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way. In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more.
[0042] It should be noted that the “at…” in the embodiments of the present application may be the instant when a certain situation occurs, or may be a period of time after the occurrence of a certain situation, and the embodiments of the present application do not specifically limit this.
[0043] The implementation of this embodiment will be described in detail below with reference to the accompanying drawings.
[0044] This embodiment provides a WiFi remote control pairing method. By way of example, the WiFi remote control pairing method can be applied to various electronic devices such as computers (PCs), tablet computers, virtual reality / augmented reality devices, wearable devices, mobile phones, smart watches, etc.
[0045] In this implementation, the execution subject of the WiFi remote control pairing method may be a remote control, specifically a controller in the remote control, such as a microcontroller unit (MCU).
[0046] Figure 1 A schematic diagram of the process of pairing a WiFi remote controller provided in an embodiment of the present application is shown.
[0047] like Figure 1 As shown, the WiFi remote control pairing method may include the following steps:
[0048] Step 101: Detect whether a button of the remote controller is triggered, and when the button is triggered, power on the WiFi module of the remote controller.
[0049] After the remote control is powered on, when a button is pressed to wake up, the WiFi module is powered on immediately, and the delay time of the WiFi module power-off is determined according to whether the WiFi module and the WiFi device are paired. The WiFi device refers to a device with WiFi function, such as an air conditioner, a TV, a lamp, etc., but the present embodiment is not limited thereto.
[0050] Specifically, the MCU can detect the power supply voltage of the remote control through the voltage detection module inside the remote control. When the power supply voltage VDD is in the working voltage range of 2.2 to 3.3V, it meets the normal working voltage VCC of the remote control. At this time, the voltage detection module feeds back to the controller MCU. After receiving the feedback, the MCU can work normally, which can put the MCU in a stable working state. After the MCU enters the stable working state, it communicates with the WiFi module.
[0051] A key is triggered when it is pressed by the user. After the MCU is powered on, the key scanning module is turned on. This module can perform matrix key scanning on the keys. The matrix key is a matrix type formed by the connection of input KIX and output KOX. It is specifically used to perform a global scan on whether the key is pressed. When the key scanning module recognizes that a key is pressed, it determines that the key is triggered. The key scanning module sends the key triggering signal to the MCU, and the MCU controls the WiFi module to power on.
[0052] Step 102: receiving a trigger operation for the remote controller, and detecting whether the trigger operation matches any one of a plurality of preset pairing operations, wherein the plurality of preset pairing operations include voice pairing, key pairing, and combination key pairing.
[0053] If a trigger operation of pressing a specific combination of keys is detected, or a trigger operation of any key being pressed continuously is detected, or a trigger operation including a trigger voice of the user is detected; it is determined that the trigger operation matches the preset pairing operation.
[0054] Specifically, the trigger operation of pressing a specific combination of keys matches the combination key pairing; the trigger operation of triggering voice is voice pairing; and the trigger operation of pressing any key in succession is key pairing.
[0055] After the MCU is powered on, the voice module can be turned on to receive and send voice information. When the user issues a voice command, the voice module can identify whether the user's voice command includes a trigger voice, and if so, the user's voice command is determined to be a trigger operation including the trigger voice.
[0056] The key scanning module can scan whether a key is pressed. If a trigger operation of a key being pressed and in a continuous state is identified, the corresponding flag position is set to 1 and sent to the MCU for processing. If a trigger operation of a specific key combination being pressed is identified, the corresponding flag position is set to 1 and sent to the MCU. When the MCU recognizes that the flag bit is valid information, it confirms that the trigger operation matches the preset pairing operation.
[0057] For example, different trigger operations may correspond to different flags. When the trigger operation is an operation in which a specific key combination is pressed, the first flag is set to 1, that is, the first flag is valid; if the trigger operation is a key being pressed continuously, the second flag is set to 1, making the second flag valid. The MCU determines the current trigger operation based on the valid flag.
[0058] In an exemplary embodiment, if a triggering operation of any key being pressed continuously is detected, a voice module is started, and the voice module is used to determine whether the user triggers the voice pairing in the preset pairing operation.
[0059] When the MCU recognizes that the flag corresponding to the trigger operation of any key being pressed continuously is valid, the voice module can be started to send a voice to the user, asking the user whether to pair. If the voice feedback information fed back by the user includes the preset trigger voice, the voice feedback information including the trigger voice is determined to be a trigger operation that matches the voice pairing.
[0060] The voice module includes a voice speaker module and an internal library voice information. The internal library voice information includes a variety of voice broadcast sentences, such as "Hello user, welcome to Gree air conditioner. Now we are searching for nearby air conditioner devices for WiFi matching." After searching for the device, the device name and model will be broadcast to the user. The voice speaker module calls the internal library voice information to send a voice message to the user asking whether the current air conditioner needs to be paired. After internal processing by the MCU, the user is guided through the pairing process through broadcast voice. The broadcast and voice module calls the internal information library through protocol processing, and transmits the information to the speaker through the broadcast module to play "The user's current air conditioner is not paired, please perform the pairing operation."
[0061] Step 103: If the trigger operation matches any one of the multiple preset pairing operations, the WiFi module is controlled to pair with the WiFi device.
[0062] If the trigger operation is an operation of pressing a specific combination of keys, the WiFi module is paired with the currently searched WiFi device. If the trigger operation is a continuous tap of any key, the WiFi module is paired with the currently searched WiFi device. If the trigger operation includes an operation of triggering voice, a voice is sent to the user to confirm whether to pair. Specifically, if a trigger operation of any key being pressed twice in a row is detected, a voice message is sent; voice feedback information from the user in response to the voice message is received; and the WiFi module is controlled to pair with the WiFi device according to the voice feedback information. If the voice feedback information is information confirming the pairing, a signal is sent to the WiFi module, and the WiFi module pairs with the WiFi device upon receiving the signal.
[0063] This embodiment also includes: determining whether the target information frequency in the voice feedback information is greater than the noise frequency; when the target information frequency is greater than the noise frequency, sending a preset flag to the WiFi module, the preset flag is used to indicate that the WiFi module is paired with the WiFi device.
[0064] Voice feedback information can be collected through the voice mobile phone module, and the human voice included in the information can be the target information. Determine whether the frequency of the target information in the voice feedback information is greater than the frequency of the noise information. If it is greater, collect the target information and feed back the valid information of the target information to the MCU. After receiving it, the MCU notifies the WiFi module to power on and initialize the WiFi module. When WiFimodu_initOK=1, the WiFi module is initialized successfully. Among them, "WiFimodu_initOK" is the flag corresponding to the initialization of the WiFi module. When its value is 1, it means that the initialization is completed, and its value is 0, it means that it is not initialized. The WiFi module and the MCU module interact to judge. When it is detected that the frequency of the target information in the voice feedback information is greater than the noise frequency, the MCU can send a preset flag to the WiFi module. The WiFi module receives the preset flag and performs voice pairing.
[0065] When the target information frequency is not greater than the noise frequency, the voice feedback information is subjected to noise reduction processing until the target information frequency is greater than the noise frequency. When the target information frequency is not greater than the noise frequency, the MCU can start the frequency reduction module to reduce the noise to meet the above requirements, so that users can pair the air conditioner more intelligently, more standardizedly and more accurately.
[0066] In this embodiment, after the WiFi module of the remote control is powered on, it also includes: reading the network configuration self-test data of the WiFi module of the remote control; determining whether the WiFi module is configuring the network for the first time through the network configuration self-test data, and when the WiFi module is configuring the network for the first time, sending a preset protocol version number to the WiFi module, and the preset protocol version number is used to instruct the WiFi module to configure the network; after the WiFi module completes the network configuration, updating the network configuration self-test data.
[0067] Determining whether the WiFi module is configuring the network for the first time through the network configuration self-test data includes: determining whether the network configuration self-test data is a preset value, and if the network configuration self-test data is a first preset value, determining that the WiFi module is configuring the network for the first time; if the network configuration self-test data is a second preset value, determining that the WiFi module is not configuring the network for the first time.
[0068] Among them, the first preset value can be 0, and the second preset value can be 1. The MCU enters the WiFi module by accessing the register and reading the register and reads the network configuration self-test data of the WiFi module. When the WiFi module receives the MCU access, the WiFi module detects whether it has been configured through the self-test mode, and then feeds back the network configuration self-test data to the WiFi module. The MCU directly accesses the conclusion information of the WiFi module to complete the first network configuration detection. Exemplarily, when the data is 0, it is the first network configuration. When the network is configured for the first time, the MCU and WiFi trigger the communication protocol version to be the preset protocol version number, such as 1. The MCU detects that the button is pressed, powers on the WiFi module and sends the protocol version number 1 to the WiFi module, and the WiFi module scans the network configuration. After the first network configuration is successful, the memory clears the data 0, and the subsequent network configuration self-test data are all 1, without the need to judge again, and the default subsequent data is 1.
[0069] Specifically, the first network configuration is the pairing operation of the WiFi module and the device, which can be triggered by pressing a trigger operation of a specific key combination. That is, when the WiFi module receives a protocol version number of 1, it detects whether the user has a trigger operation of pressing a specific key combination, and when the trigger operation exists, the WiFi module performs network configuration.
[0070] The MCU can use different protocol version numbers to indicate the trigger operation currently used for pairing. When a combination key is used for pairing, the corresponding protocol version number is 1. When other various methods are used for pairing, the protocol version number can be other numbers other than 1. When the remote control is paired for the first time, its traditional pairing method, that is, the combination key pairing is valid. Therefore, when the remote control is paired for the first time, the MCU can send the protocol version number 1 to the WiFi module to inform the WiFi module that the combination key pairing is currently used, so that the WiFi module can pair with the corresponding WiFi device when it recognizes that the user presses a specific combination key. When it is not the first time to pair, the MCU can send other protocol version numbers to the WiFi module, so that various pairing methods (such as button pairing, voice pairing, combination key pairing, etc.) can effectively complete the pairing.
[0071] In an exemplary embodiment, the method further comprises the following:
[0072] Step 201: Power on the remote control.
[0073] Step 202: Scan the remote control buttons. Determine whether any button is pressed by scanning the buttons.
[0074] Step 203: key pressing processing: When a key is pressed, the key scanning module can send corresponding valid information to the MCU, and the valid information is used to indicate that a key is pressed.
[0075] Step 204: Power on the WiFi module. The MCU module can power on the WiFi module.
[0076] Step 205: Determine whether it is the first time to configure the network. The MCU module determines whether the remote controller is configuring the network for the first time by reading the network configuration self-test data.
[0077] Step 206: MCU and WiFi protocol judgment. The protocol includes protocol version numbers 1-3, which are pre-determined information between the MCU and the WiFi module and are used to indicate the current trigger operation. When the remote control is configured for the first time, the protocol version number is 1, and step 207 is executed. When the remote control is not configured for the first time, the protocol version number can be 2, that is, step 208 is executed; and the protocol version number can also be 3, and step 209 is executed.
[0078] Step 207: Combination key processing module: The combination key processing module is used to determine whether there is a triggering operation of pressing a specific combination key.
[0079] Step 208: A consecutive key recognition module is used to recognize whether any key is triggered by a consecutive key recognition operation.
[0080] Step 209: Voice recognition module: This module is used to identify whether there is a trigger operation including a trigger voice.
[0081] Step 210: WiFi and MCU processing module: This module is used to control the WiFi module to pair with a WiFi device such as the currently scanned air conditioner.
[0082] Step 211: Pairing is completed.
[0083] According to this embodiment, when the user pairs with the network for the first time, he only needs to press a specific key combination to pair the remote control with the current WiFi device. The user can also connect or switch the remote control to other WiFi devices by pressing any key or voice operation, which can trigger pairing in multiple ways, making it more intelligent and convenient.
[0084] Furthermore, this embodiment also provides a WiFi remote control pairing device, which can be used to execute the above WiFi remote control pairing method. Figure 3As shown, the WiFi remote control pairing device 30 of this embodiment may include: a remote control trigger module 31, used to detect whether a button of the remote control is triggered, and when the button is triggered, power on the WiFi module of the remote control; a pairing operation detection module 32, used to receive a trigger operation for the remote control, and detect whether the trigger operation matches any one of a plurality of preset pairing operations, wherein the plurality of preset pairing operations include voice pairing, button pairing, and combination key pairing; a pairing module 33, used to control the WiFi module to pair with the WiFi device if the trigger operation matches any one of a plurality of preset pairing operations.
[0085] In an exemplary embodiment, the device 30 also includes: a network configuration module, which is used to read the network configuration self-test data of the WiFi module of the remote control; determine whether the WiFi module is configured for the first time through the network configuration self-test data, and when the WiFi module is configured for the first time, send a preset protocol version number to the WiFi module, and the preset protocol version number is used to instruct the WiFi module to configure the network; after the WiFi module completes the network configuration, update the network configuration self-test data.
[0086] In an exemplary embodiment, the network configuration module is specifically used to: determine whether the network configuration self-test data is a preset value; if the network configuration self-test data is a first preset value, determine that the WiFi module is configuring the network for the first time; if the network configuration self-test data is a second preset value, determine that the WiFi module is not configuring the network for the first time.
[0087] In an exemplary embodiment, the pairing operation detection module 32 is specifically used to: if a trigger operation of pressing a specific combination of keys is detected, or a trigger operation of any key being pressed continuously is detected, or a trigger operation including a trigger voice of the user is detected; then determine that the trigger operation matches the preset pairing operation.
[0088] In an exemplary embodiment, the pairing operation detection module 32 is specifically used to: if a trigger operation of any key being pressed continuously is detected, start the voice module, and determine through the voice module whether the user triggers the voice pairing in the preset pairing operation.
[0089] In an exemplary embodiment, the pairing module 33 is specifically used to: send a voice message if a trigger operation of any key being pressed twice in succession is detected; receive voice feedback information from the user regarding the voice message; and control the pairing of the WiFi module with the WiFi device according to the voice feedback information.
[0090] In an exemplary embodiment, the pairing module 33 includes an information recognition module for determining whether the target information frequency in the voice feedback information is greater than the noise frequency; when the target information frequency is greater than the noise frequency, a preset flag is sent to the WiFi module, and the preset flag is used to indicate that the WiFi module is paired with the WiFi device.
[0091] In an exemplary embodiment, the device 30 further includes a noise reduction module, which is used to perform noise reduction processing on the voice feedback information when the target information frequency is not greater than the noise frequency, until the target information frequency is greater than the noise frequency.
[0092] The specific details of each module or unit in the above-mentioned WiFi remote control pairing device have been described in detail in the corresponding WiFi remote control pairing method, so they will not be repeated here.
[0093] The embodiment of the present application also provides an electronic device, Figure 4 A schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure is shown. Figure 4 The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0094] like Figure 4 As shown, electronic device 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. In RAM 603, various programs and data required for system operation are also stored. CPU 601, ROM 602 and RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to bus 604.
[0095] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.
[0096] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the embodiment of the present application are executed.
[0097] For example, when the computer program is executed by the central processing unit (CPU) 601, it can perform the following: detect whether a button of the remote control is triggered, and when the button is triggered, power on the WiFi module of the remote control; receive a trigger operation for the remote control, and detect whether the trigger operation matches any one of a plurality of preset pairing operations, wherein the plurality of preset pairing operations include voice pairing, button pairing, and combination key pairing; if the trigger operation matches any one of a plurality of preset pairing operations, control the WiFi module to pair with the WiFi device.
[0098] It should be noted that the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0099] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0100] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0101] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and the one or more programs include instructions, and when the instructions are executed by the electronic device, the electronic device implements the method described in the above embodiment.
[0102] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0103] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A WiFi remote control pairing method, characterized in that: include: Detect whether a button of the remote control is triggered, and when the button is triggered, power on the WiFi module of the remote control; Receiving a trigger operation for the remote controller, and detecting whether the trigger operation matches any one of a plurality of preset pairing operations, wherein the plurality of preset pairing operations include voice pairing, key pairing, and combination key pairing; If the trigger operation matches any one of a plurality of preset pairing operations, the WiFi module is controlled to pair with the WiFi device.
2. The WiFi remote controller pairing method according to claim 1, characterized in that: After the WiFi module of the remote controller is powered on, the method further includes: Read the network configuration self-test data of the WiFi module of the remote controller; Determine whether the WiFi module is configuring the network for the first time through the network configuration self-test data, and when the WiFi module is configuring the network for the first time, send a preset protocol version number to the WiFi module, and the preset protocol version number is used to instruct the WiFi module to configure the network; After the WiFi module network configuration is completed, the network configuration self-check data is updated.
3. The WiFi remote controller pairing method according to claim 2, characterized in that: Determining whether the WiFi module is connected to the network for the first time through the network connection self-check data includes: Determine whether the network configuration self-check data is a preset value, and if the network configuration self-check data is a first preset value, determine that the WiFi module is configured for the first time; If the network configuration self-check data is a second preset value, it is determined that the WiFi module is not being configured for the first time.
4. The WiFi remote controller pairing method according to claim 1, characterized in that: The detecting whether the triggering operation matches any one of a plurality of preset pairing operations includes: If a trigger operation of pressing a specific combination of keys is detected, or a trigger operation of any key being pressed continuously is detected, or a trigger operation including a trigger voice of the user is detected; it is determined that the trigger operation matches the preset pairing operation.
5. The WiFi remote controller pairing method according to claim 1, characterized in that: The detecting whether the triggering operation matches any one of a plurality of preset pairing operations includes: If a triggering operation of any key being pressed continuously is detected, the voice module is started, and the voice module is used to determine whether the user triggers the voice pairing in the preset pairing operation.
6. The WiFi remote controller pairing method according to claim 1, characterized in that: If the trigger operation matches any one of the multiple preset pairing operations, controlling the WiFi module to pair with the WiFi device includes: If a trigger operation is detected where any key is pressed twice in succession, a voice message is sent; Receiving voice feedback information from a user regarding the voice information; The WiFi module is controlled to pair with the WiFi device according to the voice feedback information.
7. The WiFi remote controller pairing method according to claim 6, characterized in that: The controlling the pairing of the WiFi module with the WiFi device according to the voice feedback information comprises: Determining whether the target information frequency in the voice feedback information is greater than the noise frequency; In a case where the target information frequency is greater than the noise frequency, a preset flag is sent to the WiFi module, where the preset flag is used to indicate that the WiFi module is paired with a WiFi device.
8. The WiFi remote controller pairing method according to claim 7, characterized in that: Also includes: When the target information frequency is not greater than the noise frequency, the voice feedback information is subjected to noise reduction processing until the target information frequency is greater than the noise frequency.
9. A WiFi remote control pairing device, characterized in that: include: A remote control trigger module, used to detect whether a button of the remote control is triggered, and when the button is triggered, power on the WiFi module of the remote control; A pairing operation detection module, used to receive a trigger operation for the remote controller, and detect whether the trigger operation matches any one of a plurality of preset pairing operations, wherein the plurality of preset pairing operations include voice pairing, key pairing, and combination key pairing; The pairing module is used to control the WiFi module to pair with the WiFi device if the trigger operation matches any one of a plurality of preset pairing operations.
10. An electronic device, characterized in that: The device comprises a processor and a memory, wherein one or more computer programs are stored in the memory, and the one or more computer programs include instructions. When the instructions are executed by the electronic device, the electronic device executes the WiFi remote control pairing method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Matching method and system of remote controller and air-conditioner, and remote controller and air-conditioner
CN103206765A
Binding method, binding device, equipment, intelligent terminal and binding system
CN105897534A
Pairing method for power line modems via WiFi communication
CN107124521A
Electronic lock control method and device, intelligent suitcase and readable storage medium
CN110145187A
Voice control method, voice control device, computer equipment and storage medium
CN110570850A