CN114143908A - Wireless pairing method, device and storage medium - Google Patents

Wireless pairing method, device and storage medium Download PDF

Info

Publication number
CN114143908A
CN114143908A CN202111363688.6A CN202111363688A CN114143908A CN 114143908 A CN114143908 A CN 114143908A CN 202111363688 A CN202111363688 A CN 202111363688A CN 114143908 A CN114143908 A CN 114143908A
Authority
CN
China
Prior art keywords
information
receiving
identifying
type
terminal
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.)
Pending
Application number
CN202111363688.6A
Other languages
Chinese (zh)
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.)
Wuhan Linptech Co Ltd
Original Assignee
Wuhan Linptech 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 Wuhan Linptech Co Ltd filed Critical Wuhan Linptech Co Ltd
Priority to CN202111363688.6A priority Critical patent/CN114143908A/en
Publication of CN114143908A publication Critical patent/CN114143908A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a wireless pairing method, a wireless pairing device and a storage medium. The method comprises the following steps: the terminal receives the first information and the second information; the first information comprises information for identifying a transmitting device and the second information comprises information for identifying a receiving device; the terminal displays information for identifying the transmitting equipment and information for identifying the receiving equipment; the terminal responds to the selection operation of the displayed information for identifying the transmitting equipment and the information for identifying the receiving equipment, and generates third information, wherein the third information comprises the information for identifying the transmitting equipment and the information for identifying the receiving equipment; the terminal sends the third information to the auxiliary communication device so that: the auxiliary communication device sends the third information outwards, and the receiving device receives the third information. The invention can realize flexible and convenient pairing.

Description

Wireless pairing method, device and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a wireless pairing method, apparatus, and storage medium.
Background
In the field of communication technology, a transmitting device needs to be paired with a receiving device to control the receiving device by transmitting a wireless signal.
In the prior art, the pairing process of the transmitting device and the receiving device is usually performed by performing a specific triggering operation on the transmitting device and the receiving device to be paired to trigger each set of transmitter and receiver to enter a learning mode for pairing, and thus, the flexible and convenient pairing requirement of the user cannot be met.
Disclosure of Invention
In order to solve the technical problem that the existing pairing method of the transmitting equipment and the receiving equipment cannot meet the flexible and convenient pairing requirement of users, the invention provides a wireless pairing method, a wireless pairing device and a storage medium.
According to a first aspect of the embodiments of the present invention, there is provided a wireless pairing method applied to a terminal, the terminal being capable of communicating with an auxiliary communication device, the auxiliary communication device being capable of communicating with at least one receiving device; the method comprises the following steps:
the terminal receives first information and second information; the first information comprises information for identifying a transmitting device and the second information comprises information for identifying the receiving device;
the terminal displays information for identifying the transmitting device and information for identifying the receiving device;
the terminal responds to the selection operation of the displayed information for identifying the transmitting equipment and the information for identifying the receiving equipment, and generates third information, wherein the third information comprises the information for identifying the transmitting equipment and the information for identifying the receiving equipment;
the terminal sends the third information to the secondary communication device such that: the auxiliary communication device sends the third information outwards, and the receiving device receives the third information.
According to a second aspect of the embodiments of the present invention, there is provided a wireless pairing method applied to a terminal, the terminal being capable of communicating with at least one receiving device; the method comprises the following steps:
the terminal receives first information and second information; the first information comprises information for identifying a transmitting device and the second information comprises information for identifying the receiving device;
the terminal displays information for identifying the transmitting device and information for identifying the receiving device;
the terminal responds to the selection operation of the displayed information for identifying the transmitting equipment and the information for identifying the receiving equipment, and generates third information, wherein the third information comprises the information for identifying the transmitting equipment and the information for identifying the receiving equipment;
the terminal sends the third information outwards, so that: the receiving device receives the third information.
According to a third aspect of the embodiments of the present invention, there is provided a wireless pairing method applied to a receiving device, the receiving device being capable of communicating with a terminal through an auxiliary communication device, the auxiliary communication device being capable of communicating with at least one transmitting device; the method comprises the following steps:
the receiving device sends second information to the auxiliary communication device, where the second information includes information for identifying the receiving device, so that the auxiliary communication device forwards the second information to the terminal, so that: the terminal generates third information based on the received selection operation of the information for identifying the receiving equipment and the selection operation of the information for identifying the transmitting equipment;
the receiving device receives the third information sent by the auxiliary communication device; the third information is sent by the terminal to the auxiliary communication device, and the third information includes information for identifying the transmitting device and information for identifying the receiving device.
According to a fourth aspect of the embodiments of the present invention, there is provided a wireless pairing method applied to an auxiliary communication device, the auxiliary communication device being capable of communicating with the terminal, the auxiliary communication device being further capable of communicating with at least one transmitting device and at least one receiving device; the method comprises the following steps:
the auxiliary communication equipment receives first information sent by the transmitting equipment, wherein the first information comprises information for identifying the transmitting equipment; the auxiliary communication equipment receives second information sent by the receiving equipment, wherein the second information comprises information used for identifying the receiving equipment;
the auxiliary communication device sends the first information and the second information to the terminal such that: the terminal displays information for identifying the transmitting device and information for identifying the receiving device;
after the terminal responds to the selection operation of the displayed information for identifying the transmitting equipment and the information for identifying the receiving equipment and generates third information, the auxiliary communication equipment receives the third information sent by the terminal; the third information includes information for identifying the transmitting device and information for identifying the receiving device;
the auxiliary communication device sends the third information outwards so that: the receiving device receives the third information.
According to a fifth aspect of the embodiments of the present invention, there is provided a wireless pairing apparatus applied to a terminal, the terminal being capable of connecting with an auxiliary communication device, the auxiliary communication device being capable of communicating with at least one receiving device; the wireless pairing apparatus includes:
the first receiving module is used for receiving the first information and the second information; the first information comprises information for identifying a transmitting device and the second information comprises information for identifying the receiving device;
a first display module for displaying information for identifying the transmitting device and information for identifying the receiving device;
a first generating module configured to generate third information in response to a selection operation of the displayed information for identifying the transmitting apparatus and the information for identifying the receiving apparatus, the third information including information for identifying the transmitting apparatus and information for identifying the receiving apparatus;
a first sending module for sending the third information to the auxiliary communication device such that: the auxiliary communication device sends the third information outwards, and the receiving device receives the third information.
According to a sixth aspect of the embodiments of the present invention, there is provided a wireless pairing apparatus, applied to a terminal, the terminal being capable of communicating with at least one receiving device; the wireless pairing apparatus includes:
the second receiving module is used for receiving the first information and the second information; the first information comprises information for identifying a transmitting device and the second information comprises information for identifying the receiving device;
a second display module for displaying information for identifying the transmitting device and information for identifying the receiving device;
a second generating module configured to generate third information in response to a selection operation of the displayed information for identifying the transmitting apparatus and the information for identifying the receiving apparatus, the third information including information for identifying the transmitting apparatus and information for identifying the receiving apparatus;
a second sending module, configured to send the third information outwards, so that: the receiving device receives the third information.
According to a seventh aspect of the embodiments of the present invention, there is provided a wireless pairing apparatus applied to a receiving device, the receiving device being capable of communicating with a terminal through an auxiliary communication device, the auxiliary communication device being capable of communicating with at least one transmitting device; the wireless pairing apparatus includes:
a third sending module, configured to send second information to the auxiliary communication device, where the second information includes information for identifying the receiving device, so that the auxiliary communication device forwards the second information to the terminal, so that: the terminal generates third information based on the received selection operation of the information for identifying the receiving equipment and the selection operation of the information for identifying the transmitting equipment;
a third receiving module, configured to receive the third information sent by the auxiliary communication device; the third information is sent by the terminal to the auxiliary communication device, and the third information includes information for identifying the transmitting device and information for identifying the receiving device.
According to an eighth aspect of the embodiments of the present invention, there is provided a wireless pairing apparatus applied to an auxiliary communication device, the auxiliary communication device being capable of communicating with the terminal, the auxiliary communication device being further capable of communicating with at least one transmitting device and at least one receiving device; the wireless pairing apparatus includes:
a fourth receiving module, configured to receive first information sent by the transmitting device, where the first information includes information used to identify the transmitting device; the auxiliary communication equipment receives second information sent by the receiving equipment, wherein the second information comprises information used for identifying the receiving equipment;
a fourth sending module, configured to send the first information and the second information to the terminal, so that: the terminal displays information for identifying the transmitting device and information for identifying the receiving device;
a fifth receiving module, configured to receive third information sent by the terminal after the terminal generates the third information in response to a selection operation on the displayed information for identifying the transmitting device and the displayed information for identifying the receiving device; the third information includes information for identifying the transmitting device and information for identifying the receiving device;
a fifth sending module, configured to send the third information outwards, so that: the receiving device receives the third information.
According to a ninth aspect of the embodiments of the present invention, there is provided a wireless pairing apparatus including:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to: when executed, the steps of the wireless pairing method are realized.
According to a tenth aspect of embodiments of the present invention, there is provided a non-transitory computer readable storage medium, wherein instructions, when executed by a processor of a wireless pairing apparatus, enable the apparatus to perform the steps of the above wireless pairing method.
The invention has the beneficial effects that:
the invention responds to the selection operation of the display information by displaying the information for identifying the transmitting equipment and the information for identifying the receiving equipment on the terminal, generates the third information comprising the information for identifying the transmitting equipment and the information for identifying the receiving equipment, and transmits the third information to the receiving equipment through the auxiliary communication equipment, and the receiving equipment receives the third information to complete the pairing. Because the information of the transmitting equipment and the receiving equipment to be paired can be displayed through the terminal, the pairing of the transmitting equipment and the receiving equipment can be automatically completed after responding to the selection operation of the displayed information, and the specific trigger operation is not required to be executed to trigger each group of the transmitter and the receiver to be paired to enter a learning mode, so that the pairing work of a plurality of transmitting equipment and receiving equipment can be conveniently and rapidly realized, the configuration time is saved, the probability of configuration errors is reduced, the batch installation of corresponding equipment becomes easier at home, the batch application of the equipment is promoted, particularly, the equipment is more convenient for a construction party to debug, the problem that the debugging and configuration equipment needs to be in physical contact with the receiver is solved, the construction can be carried out firstly and then carried out, the construction steps are greatly simplified, and the installation and debugging and configuration can be independently carried out during the construction, the project progress is not influenced each other.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a first schematic structural diagram of a wireless pairing system according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a wireless pairing system according to an embodiment of the invention.
Fig. 3 is a first flowchart illustrating a wireless pairing method according to an embodiment of the invention.
Fig. 4a is a schematic diagram of a terminal display interface according to an embodiment of the present invention.
Fig. 4b is a schematic diagram of a terminal display interface according to an embodiment of the present invention.
Fig. 5 is a flowchart illustrating a wireless pairing method according to an embodiment of the invention.
Fig. 6 is a third flowchart illustrating a wireless pairing method according to an embodiment of the present invention.
Fig. 7 is a fourth flowchart illustrating a wireless pairing method according to an embodiment of the present invention.
Fig. 8a is a first schematic diagram of a trigger device according to an embodiment of the present invention.
Fig. 8b is a second schematic diagram of a trigger device according to an embodiment of the invention.
Fig. 9a is a schematic structural diagram of a self-generating switch according to an embodiment of the present invention.
Fig. 9b is a schematic structural diagram of a self-generating switch according to an embodiment of the invention.
Fig. 10 is a block diagram of a first wireless pairing apparatus according to an embodiment of the present invention.
Fig. 11 is a block diagram of a wireless pairing apparatus according to an embodiment of the present invention.
Fig. 12 is a block diagram of a wireless pairing apparatus according to an embodiment of the present invention.
Fig. 13 is a block diagram of a wireless pairing apparatus according to a fourth embodiment of the present invention.
Fig. 14 is a schematic structural diagram of an electronic device in an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Referring to fig. 1 and 2, fig. 1 is a first schematic structural diagram of a wireless pairing system according to an embodiment of the invention; fig. 2 is a schematic structural diagram of a wireless pairing system according to an embodiment of the invention.
The transmitting device 1 (also referred to as a transmitter) may be a device capable of generating and transmitting commands and having a wireless transmission function. For example, the device may be a device having radio transmission functions such as radio frequency transceiver, infrared transceiver, bluetooth transceiver, WiFi transceiver, etc. for generating and transmitting commands such as control, management, etc. The transmitting apparatus 1 may include: self-generating switches, battery switches, sensors, doorbell emitters and the like.
The receiving device 2 (also referred to as a receiver) may be a device capable of receiving and executing commands and having a wireless transmission function, for example, a device capable of receiving and executing commands such as control and management and having a wireless transmission function such as radio frequency wireless transceiving, infrared transceiving, bluetooth transceiving, WiFi transceiving, and the like. In some embodiments, the receiving apparatus 2 may include: wall switch, single-way executor, multi-way executor, electric curtain, lamp, TV set, air conditioner and other equipment. After completing pairing with the receiving device 2, the transmitting device 1 may instruct the receiving device 2 to perform a transition of an operating state or the like by sending a corresponding command, for example: and after the lamp receives the closing instruction of the wireless switch, the lamp is switched from the lighting state to the extinguishing state. The transmitting device and the receiving device have a corresponding relationship, for example: one transmitting device may correspond to one receiving device, one transmitting device may also correspond to a plurality of receiving devices, a plurality of transmitting devices may also correspond to one receiving device, and the like.
The auxiliary communication device 3 may be any device or combination of devices capable of implementing wireless transceiving functions, the auxiliary communication device 3 may be provided with a circuit having wireless communication capability, such as a wireless communication module, and the auxiliary communication device 3 may be further provided with a circuit having data processing capability, such as a processing module. The wireless communication module of the auxiliary communication device 3 may include a communication module such as radio frequency, bluetooth, Wifi, mobile network, etc., and may also include a module supporting a specific communication protocol. The auxiliary communication device 3 may be a relay device or the like for performing matching, filtering, or clipping processing on transmission information during wireless transmission between the transmitting device 1 and the receiving device 2. In a possible embodiment, the auxiliary communication device 3 may also refer to a module or a chip with an intelligent control function, a component that may be embedded in other devices, and the like, and the representation form of the auxiliary communication device 3 is not particularly limited in the present invention. For example: the auxiliary communication device 3 may refer to a module or unit in the transmitting device 1, or the auxiliary communication device 3 may refer to a module or unit in the receiving device 2, i.e. the transmitting device 1 or the receiving device 2 may comprise the functionality of the auxiliary communication device 3, etc.
The terminal 4 may be any device or combination of devices having data processing capability and external communication capability, for example, it may be a mobile phone, a computer, a tablet computer, a vehicle machine, and the like.
The number of the transmitting device 1, the receiving device 2, the auxiliary communication device 3 and the terminal 4 is not limited to that shown in the figure, and may be any number.
Referring to fig. 1 and 3, fig. 3 is a first flowchart illustrating a wireless pairing method according to an embodiment of the invention. The invention discloses a wireless pairing method, which is applied to a terminal, wherein the terminal can be communicated with auxiliary communication equipment, and the auxiliary communication equipment can be communicated with at least one receiving equipment; the method comprises the following steps:
step S301, the terminal receives first information and second information; the first information comprises information for identifying a transmitting device and the second information comprises information for identifying the receiving device;
step S302, the terminal displays information for identifying the transmitting device and information for identifying the receiving device;
step S303, the terminal responds to the selection operation of the displayed information for identifying the transmitting equipment and the information for identifying the receiving equipment, and generates third information, wherein the third information comprises the information for identifying the transmitting equipment and the information for identifying the receiving equipment;
step S304, the terminal sends the third information to the auxiliary communication device, so that: the auxiliary communication device sends the third information outwards, and the receiving device receives the third information.
In the field of the Internet of things, the wireless data transmission of the Internet of things has standard protocols such as Wi-Fi, Zigbee, Bluetooth and the like. However, Wi-Fi and Bluetooth are designed for mass data transmission, and power consumption is too high. Therefore, in some ultra-low power applications, a transmitting device and a receiving device may communicate using a radio frequency communication protocol, such as, but not limited to, a radio frequency 433 protocol or a customized specific communication protocol. However, when some terminals, such as mobile phones, do not have hardware supporting a radio frequency communication protocol, such as the radio frequency 433 protocol or a customized specific communication protocol, the terminals cannot communicate with the transmitting device or the receiving device. In this embodiment, an auxiliary communication device is provided, in which a wireless communication module of the auxiliary communication device may support a radio frequency communication protocol, such as a radio frequency 433 protocol or a customized specific communication protocol. The terminal can communicate with the auxiliary communication equipment, and then data interaction between the terminal and the transmitting equipment or the receiving equipment is realized through the auxiliary communication equipment. The auxiliary communication device may include an interface module, and the interface module is used to implement connection with the terminal, for example, the auxiliary communication device may be connected with the terminal through the interface module, or the auxiliary communication device may be wirelessly connected with the terminal through Wi-Fi, bluetooth, and the like. Through auxiliary communication equipment and terminal wireless connection for auxiliary communication equipment can be general in the terminal of different interfaces, and the suitability is wider.
In this embodiment, in step S301, the terminal may receive the first information and/or the second information through the auxiliary communication device; the first information includes information for identifying a transmitting device and the second information includes information for identifying the receiving device. For example, the transmitting device may send a message to the outside at regular time, power on, or when a preset trigger condition is met, where the message may be a control message, or a message used for indicating status information of the transmitting device, and the type of the message is not limited. The receiving device can be powered on at regular time, receive the inquiry command of the auxiliary communication device and send out the message when responding, and the type of the message is not limited.
The auxiliary communication equipment can directly send the message to the terminal as first information or second information after receiving the message sent by the transmitting equipment or the receiving equipment, can also carry out preprocessing such as signature, encryption and other operations on all information or part of information in the message and then generate the first information or the second information to send to the terminal, can also analyze the message, extracts the information used for identifying the transmitting equipment from the message sent by the transmitting equipment and then generates the first information to send to the terminal, or extracts the information used for identifying the receiving equipment from the message sent by the receiving equipment and then generates the second information to send to the terminal. That is, the first information or the second information may be a complete message, may also be a part of the message, and may also be a file in another format processed by the auxiliary communication device. The information sent by the transmitting device or the receiving device and received by the auxiliary communication device may be in the same format or different format from the information sent by the auxiliary communication device to the terminal. The information sent by the transmitting device or the receiving device and received by the auxiliary communication device may be the same as or different from the information content sent by the auxiliary communication device to the terminal. As long as the information sent by the transmitting device and the information sent by the auxiliary communication device to the terminal, which are received by the auxiliary communication device, both include information for identifying the transmitting device, or the information sent by the receiving device and the information sent by the auxiliary communication device to the terminal, which are received by the auxiliary communication device, both include information for identifying the receiving device, the protection scope of this embodiment is not deviated.
The information for identifying the transmitting device in the first information and the information for identifying the receiving device in the second information at least include identification information, such as but not limited to an address identification, an internet protocol address, a device unique number (a number of a specific bit), and the like, and the identification information may have uniqueness. In this embodiment, the auxiliary communication device may perform various conversions on the identification information when performing information interaction with the terminal, for example, when the identification information included in the message received by the auxiliary communication device and sent by the transmitting device is an internet protocol address, the identification information may be converted into a corresponding unique device number and then sent to the terminal, and of course, the internet protocol address may also be directly sent to the terminal, which is not limited herein.
The information for identifying the transmitting device in the first information and the information for identifying the receiving device in the second information may further include information such as a device type, a key value, a receiver channel, and the like. The type of transmitting device may be determined, for example, by factors such as the shape of the transmitting device or the number of individual switches. The transmitting device may include: the device comprises a single-switch self-generating switch, a double-switch self-generating switch, a three-switch self-generating switch, a four-switch self-generating switch, a round single-key switch, a round double-key switch, a round three-key switch, a passive transmitter and other various types of transmitting equipment. For example: the type of the receiving device may be determined by factors such as the number of channels or the purpose of operation of the receiving device. The reception apparatus may include: 1-channel receivers, 2-channel receivers,. 8-channel receivers, etc.; wall switches of 1 channel (with gesture sensing function), wall switches of 2 channels (with gesture sensing function), and the like; a wall switch of 1 channel (without gesture sensing function), a wall switch of 2 channels (without gesture sensing function), and the like; the device comprises a single-live-wire wall switch (without a gesture induction function) with 1 channel, a doorbell, a light-adjustable device, a curtain motor, a double-output curtain motor controller, a light-adjusting control panel and other various receiving devices.
In an optional implementation manner, the terminal may further receive the input first information and/or second information in step S301. For example, a manual input function button is displayed on the terminal display interface, an input box is displayed in response to a trigger instruction for the manual input function button, and information for identifying the transmitting device or information for identifying the receiving device, which is input by a user through the displayed input box, is received, for example, the input identification information of the transmitting device or the input identification information of the receiving device. In addition, two-dimensional codes used for identifying the information of the transmitting equipment and the receiving equipment can be arranged on the transmitting equipment and the receiving equipment, a code scanning and inputting function button is displayed on a display interface of the terminal, and the information used for identifying the transmitting equipment or the information used for identifying the receiving equipment, which is obtained by scanning the two-dimensional codes, is received in response to a trigger instruction of the code scanning and inputting function button, for example, the code scanning is used for obtaining the identification information of the transmitting equipment or the identification information of the receiving equipment. In this embodiment, the input first information and/or second information is directly received through the terminal interface, so that a message sent by the transmitting device or the receiving device does not need to be received through the auxiliary communication device, and a function of directly inputting the device to be paired is provided for the user.
In step S302, the terminal displays information for identifying the transmitting device and information for identifying the receiving device. The terminal may directly display the information for identifying the transmitting device in the received first information and/or the information for identifying the receiving device in the second information, or may convert the information for identifying the transmitting device in the received first information into an identifier of another form to display, and convert the information for identifying the receiving device in the received second information into an identifier of another form to display. That is, the information for identifying the transmitting device and the information for identifying the receiving device displayed by the terminal may be the same as or different from the information for identifying the transmitting device in the first information and the information for identifying the receiving device in the second information, and as long as the terminal displays the information for identifying the transmitting device or the information for identifying the receiving device, the protection range of this embodiment is not deviated.
Referring to fig. 4a, fig. 4a is a schematic diagram of a terminal display interface according to an embodiment of the present invention. In an optional implementation manner, the display interface of the terminal includes a first display area and a second display area: displaying at least one first identifier in the first display area, wherein the first identifier is used for identifying the transmitting equipment; and displaying at least one second identifier in the second display area, wherein the second identifier is used for identifying the receiving equipment. The first identifier and the second identifier may directly display identification information in the received first information or second information, such as an address identifier of the transmitting device or the receiving device. In addition, in a scene of pairing in a large batch, for example, when a plurality of transmitting devices and a plurality of receiving devices in a whole suite are paired, if address identifiers of the plurality of transmitting devices and the plurality of receiving devices are directly displayed, a user cannot distinguish the transmitting devices or the receiving devices to be paired, and confusion is easily caused. Therefore, in this embodiment, the first identifier and the second identifier may be received as input. For example, a third identifier, such as an address identifier, used for identifying the transmitting device in the first information may be displayed on a terminal interface, after a trigger instruction of a user for the third identifier is received, an input box may be popped up, a first identifier input by the user through the input box is received, the first identifier may include information such as a name and a location of the transmitting device, and the terminal establishes an association relationship between the first identifier and the third identifier. And displaying a fourth identifier, such as an address identifier, used for identifying the receiving device in the second information, on a terminal interface, popping up an input box after receiving a trigger instruction of a user for the fourth identifier, receiving the second identifier input by the user through the input box, wherein the second identifier may comprise information such as a name and a position of the receiving device, and the terminal establishes an association relationship between the second identifier and the fourth identifier. Therefore, the identification and the display are carried out by receiving the input information such as the name, the position and the like of the transmitting equipment or the receiving equipment, and the incidence relation between the identification and the address identification is established, so that a user can easily distinguish and select pairing according to actual requirements when carrying out batch pairing on a plurality of transmitting equipment and a plurality of receiving equipment, and flexible and accurate pairing is realized.
In step S303, the terminal may respond to the selection operation of the displayed information for identifying the transmitting device and the information for identifying the receiving device, including the selection operation of the displayed third identifier and the fourth identifier, and may also respond to the selection operation of the displayed first identifier and the second identifier. Generating third information in response to the selecting operation, the third information including information for identifying the transmitting device and information for identifying the receiving device; for example, address identifications of the transmitting device and the receiving device, internet protocol addresses, device unique numbers (numbers of a specific number of bits), and the like may be included. It should be noted that, since the association relationship between the first identifier and the third identifier and the association relationship between the second identifier and the fourth identifier are already established, in response to the selection operation of the displayed first identifier and the second identifier, the third identifier and the fourth identifier, that is, the information such as the address identifier for identifying the transmitting device and the information such as the address identifier for identifying the receiving device, may be obtained according to the established association relationship, so as to generate the third information.
In an optional implementation manner, the display interface of the terminal comprises a third display area and a fourth display area; the terminal responding to the selection operation of the displayed information for identifying the transmitting equipment and the information for identifying the receiving equipment comprises the following steps: displaying at least one first identifier subjected to the selection operation in the third display area; and displaying at least one second mark subjected to the selection operation in the fourth display area. The terminal can automatically generate third information after responding to the selection operation, a pairing function button can be further displayed on the terminal interface, and the third information is generated after a triggering instruction of the user to the pairing function button is received.
Further, since the transmitting device may include a plurality of keys for self-generating switches, and the receiving device may include a plurality of channels for receiving, in an alternative embodiment, the first identifier displayed on the terminal may further include key information of the transmitting device, and the second identifier displayed may further include channel information of the receiving device. The terminal may generate third information in response to a selection operation of the displayed key information and channel information, where the information for identifying the transmitting device in the third information may further include the key information of the transmitting device, and the information for identifying the receiving device in the third information may further include the channel information of the receiving device. Therefore, flexible pairing between the keys of the transmitting equipment and the channels of the receiving equipment can be achieved on a terminal display interface, and a user does not need to perform specific operations such as triggering keys, powering on and the like on each key of the transmitting equipment and each channel of the receiving equipment to pair.
Further, in an optional implementation manner, the display interface of the terminal includes a fifth display area, where the fifth display area displays at least one control action type, and the control action type is used to characterize a control action type of the transmitting device for the receiving device. Because the user has different control requirements on the receiving device through the transmitting device in different application scenes, in this embodiment, preset different control action types can be displayed on a terminal display interface so that the user can further select the matched control action type on the basis of selecting the matched transmitting device and receiving device, the diversity of matching selection is improved, and the matching is more flexible and accurate.
For example, the control action type may include a first control action type, where the first control action type is used to characterize that the transmitting device controls the receiving device to perform a flipping operation, so that the receiving device switches between a first state and a second state, and if the transmitting device is a switch, after matching is completed, the switch is pressed each time, and after the receiving device receives a flipping message, the receiving device performs a flipping operation once.
The control action types may further include a second control action type, the second control action type being used to characterize the transmitting device controlling the receiving device to perform a fixed operation. Wherein, the fixing operation may include various types of operations, for example, when the receiving device is a wall switch, the fixing operation may be a fixed on or off operation to control the wall switch to perform a fixed on or off operation. When the receiving device is a controlled device, the fixing operation may be an adjusting operation for fixing a function on the controlled device; taking the controlled device as an air conditioner, the fixed operation may be a fixed temperature-up or temperature-down operation, and the like.
The control action types may further include a third control action type, and the third control action type is used for characterizing that the transmitting device controls the receiving device to execute a delay operation. For example, the transmitting device controls the receiving device to perform a delay flipping operation, or the transmitting device controls the receiving device to perform a delay fixing operation. If the matching is completed, the receiving device delays for 10 minutes after receiving the control message sent by the transmitting device and then executes the corresponding turning operation or fixing operation.
The terminal receives a selection operation of at least one control action type acting on the fifth display area to generate third information, wherein the third information comprises information for identifying the transmitting device and information for identifying the receiving device, and the third information further comprises: control action type information corresponding to the control action type to which the selection operation is applied.
In step S304, the terminal sends the third information to the auxiliary communication device, so that: the auxiliary communication device sends the third information outwards, and the receiving device receives the third information. In this embodiment, if the auxiliary communication device and the receiving device transmit information according to the first communication protocol, for example, but not limited to, a radio frequency 433 protocol or a customized specific communication protocol, the terminal may encapsulate the generated third information according to the first communication protocol to generate a first packet. And the terminal sends the first message to the auxiliary communication equipment, so that the auxiliary communication equipment can directly forward the first message. The terminal can also directly send the third information to the auxiliary communication equipment, and the auxiliary communication equipment carries out corresponding operations such as data processing, encryption, encapsulation and the like on the third information and then sends the third information outwards. The terminal can also perform preliminary data processing, integration, encryption and other operations on the third information, then send the third information to the auxiliary communication equipment in any format, and send the third information to the outside after being packaged into a message by the auxiliary communication equipment. The third information sent by the terminal to the auxiliary communication device and the third information sent by the auxiliary communication device may have the same or different format and the same or different content, and as long as both information includes information for identifying the transmitting device and information for identifying the receiving device, the protection scope of this embodiment is not deviated. And after the receiving equipment receives the information for identifying the transmitting equipment and the information for identifying the receiving equipment in the third information, the pairing of the transmitting equipment and the receiving equipment can be completed.
The embodiment generates third information including information for identifying the transmitting device and information for identifying the receiving device by displaying the information for identifying the transmitting device and the information for identifying the receiving device on the terminal, responding to selection operation of the displayed information, and transmits the third information to the receiving device through the auxiliary communication device, and the receiving device receives the third information to complete pairing. Because the information of the transmitting equipment and the receiving equipment to be paired can be displayed through the terminal, the pairing of the transmitting equipment and the receiving equipment can be automatically completed after responding to the selection operation of the displayed information, and a specific trigger operation is not required to be executed to trigger each group of transmitters and receivers to be paired to enter a learning mode, so that the flexible and convenient pairing is realized.
In some application scenarios, for example, the conventional manner for triggering the receiving device to enter the learning mode is generally to trigger a button on the receiving device, and when the installer and the subsequent debugger are not the same group of people, a situation that the receiving device is installed on a position which is not easily touched, such as a ceiling, when the debugger pairs, occurs, and it is not convenient to operate the button of the receiving device to pair the learning mode. Compared with the prior art, in this embodiment, the terminal may display the information for identifying the transmitting device and the information for identifying the receiving device by receiving the input first information and second information in multiple ways, for example, or by acquiring multiple types of first information and second information through the auxiliary communication device, and may automatically complete pairing after responding to the pairing selection operation of the user. The learning mode matching is carried out without operating a button of the receiving equipment, and the problem that debugging personnel are inconvenient to operate during debugging and matching is solved. In addition, when a plurality of transmitting devices and receiving devices need to be paired, such as batch pairing of all transmitting devices and receiving devices in the whole house, compared to the prior art that the user needs to continuously perform a specific triggering operation on the transmitting device and the receiving device to be paired to trigger each set of transmitter and receiver to enter the learning mode for pairing. In the embodiment, pairing is completed only by selecting operation on the terminal interface by the user, so that the flexible and convenient pairing requirement of the user is met, and the pairing efficiency can be effectively improved. That is, the pairing operation of a plurality of transmitting devices and receiving devices can be conveniently and rapidly realized in the embodiment, the configuration time is saved, the probability of configuration errors is reduced, the batch installation of corresponding devices becomes an easy matter at home, the batch application of the devices is promoted, especially, the debugging of the devices by a constructor is more convenient, the problem that the debugging and configuration devices need to be in physical contact with receivers is solved, the construction can be carried out firstly during construction, then the configuration is carried out, the construction steps are greatly simplified, the installation and the debugging and configuration can be independent during construction, and the project progress is not influenced.
Referring to fig. 4b, fig. 4b is a schematic diagram of a terminal display interface according to an embodiment of the present invention.
In an optional embodiment, the method further comprises:
and the terminal receives a first trigger operation acting on the second identifier, such as a receiving device name, wherein the first trigger operation can comprise clicking, continuous clicking, long pressing and the like. And the terminal responds to the first trigger operation and displays a sixth display area, and the sixth display area displays at least one first functional component. The type of the first functional component includes at least one of a controlled switch type, a relay type, a default output type, or a heartbeat type.
The terminal receives a second trigger operation, such as clicking, continuous clicking, long pressing and the like, acting on the first functional component, and generates and sends fourth information to the auxiliary communication device in response to the second trigger operation, so that: the auxiliary communication device sends the fourth information outwards, and the receiving device receives the fourth information. The fourth information includes information for identifying the receiving device and type information corresponding to the first functional component to which the second trigger operation is applied. And the receiving equipment responds to the fourth information and starts or closes the corresponding function according to the type information corresponding to the first functional component in the fourth information.
In this embodiment, after receiving a trigger operation of a user on a displayed receiving device, the terminal interface may display a plurality of first function components, and according to the selection trigger operation of the user on the function components, the terminal interface may control the opening or closing of the function item corresponding to the type of the first function component on the receiving device. For example, the first functional component type may include a controlled switch type, which characterizes on or off control of the receiving device, and the terminal generates fourth information after receiving a trigger operation acting on the controlled switch type functional component, where the fourth information includes information for identifying the receiving device, such as an address identifier of the receiving device, and control information for controlling on or off of the receiving device. And the terminal sends the fourth information to the receiving equipment through the auxiliary communication equipment, and the receiving equipment responds to the control information in the fourth information and executes on or off operation.
The first functional component type may further include a relay type, which represents on or off control of a relay function of the receiving device, and the terminal generates fourth information after receiving a trigger operation acting on the relay type functional component, where the fourth information includes information for identifying the receiving device, such as an address identifier of the receiving device and control information, and the control information is used to control on or off of the relay function of the receiving device. And the terminal sends the fourth information to the receiving equipment through the auxiliary communication equipment, and the receiving equipment responds to the control information in the fourth information to start or close the relay function of the receiving equipment. After the relay function is started, the receiving device can transmit the received message to other receiving devices after receiving the message, so that information relay is realized, the transmission distance of the message is prolonged, and the control distance of the transmitting device to the receiving device is increased.
The first functional component type may further include a default output type, which represents an on or off control of a default output state when the receiving device is powered on, and the terminal generates fourth information after receiving a trigger operation acting on the default output type functional component, where the fourth information includes information for identifying the receiving device, such as an address identifier of the receiving device and control information, and the control information is used to control the receiving device to turn on or off the default output state when the receiving device is powered on. And the terminal sends the fourth information to the receiving equipment through the auxiliary communication equipment, and the receiving equipment responds to the control information in the fourth information and starts or closes a default output state when the receiving equipment is powered on.
The first functional component type may further include a heartbeat type, which represents on or off control of a heartbeat function of the receiving device, and the terminal generates fourth information after receiving a trigger operation acting on the controlled switch type functional component, where the fourth information includes information for identifying the receiving device, such as an address identifier of the receiving device and control information, and the control information is used to control on or off of the heartbeat function of the receiving device. And the terminal sends the fourth information to the receiving equipment through the auxiliary communication equipment, and the receiving equipment responds to the control information in the fourth information to start or close the heartbeat function of the receiving equipment. After the heartbeat function is started, the receiving device sends out state information of the receiving device according to a preset time interval in a preset time unit, wherein the state information can comprise state information of address identification, electric quantity, brightness and the like of the receiving device.
In this embodiment, by displaying the plurality of first functional components of the receiving device on the terminal, in response to the trigger operation on the displayed first functional components, the corresponding functions of the first functional components on the receiving device can be automatically controlled to be turned on or turned off, and it is not necessary to perform various complicated controls on the keys on the transmitting device or the receiving device to turn on or turn off the corresponding functions on the receiving device.
Further, in an optional implementation manner, the generated third information may include a third identifier, such as an address identifier, for identifying the transmitting device, a fourth identifier, such as an address identifier, for identifying the receiving device, and corresponding control action type information. The first identifier, such as the name of the transmitting device, establishes a relationship with the third identifier, and the second identifier, such as the name of the receiving device, establishes a relationship with the fourth identifier. Therefore, the control action type information in at least one group of the first identifier, the second identifier and the corresponding third information can be exported to a preset format file, such as but not limited to a csv format file, after generating a list. The preset format file comprises the first identifier, the second identifier and the incidence relation among the control action type information in the corresponding third information. And exporting the generated preset format file for importing and using when the terminal performs pairing.
In an application scenario, after the pairing of all the transmitting devices and the receiving devices in the current room is completed to generate third information and the generated preset format file is exported, if the pairing requirements of the transmitting devices and the receiving devices in the other set of rooms are consistent with those of the current room, the other set of rooms can be rapidly paired based on the generated preset format file. For example, the other set of rooms includes at least one transmitting device to be paired and at least one receiving device to be paired, and the auxiliary communication device is capable of communicating with the at least one receiving device to be paired.
When the terminal performs quick pairing of another set of rooms, the terminal can import a preset format file and display the first identifier in the preset format file. The terminal receives a fifth identifier, which is input by a user according to each displayed first identifier, such as a transmitting device name, and is used for identifying the transmitting device to be paired, where the information used for identifying the transmitting device to be paired at least includes identification information, such as but not limited to an address identifier, an internet protocol address, a device unique number (a number of a specific bit), and the identification information may have uniqueness. And establishing an incidence relation between the first identifier and the fifth identifier. And displaying the second identifier in the preset format file. The terminal receives a fifth identifier, which is input by a user according to each displayed second identifier, such as a receiving device name, and is used for identifying the receiving device to be paired, where the information used for identifying the receiving device to be paired at least includes identification information, such as but not limited to an address identifier, an internet protocol address, a device unique number (a number of a specific bit), and the like, and the identification information may have uniqueness. And establishing an incidence relation between the second identifier and the sixth identifier. In this way, the entry of the identification information of all the to-be-paired transmitting devices and the to-be-paired receiving devices in the to-be-paired rooms can be realized, and the incidence relation between the first identification and the fifth identification, and the incidence relation between the second identification and the sixth identification in the corresponding third information can be further obtained by establishing the incidence relation between the first identification and the fifth identification, and the incidence relation between the second identification and the sixth identification in the preset format file.
In an optional implementation manner, a display interface of the terminal displays a second functional component, and the second functional component is used for indicating to perform pairing. And receiving a third trigger operation such as a click operation acting on the second functional component, and generating fifth information in response to the third trigger operation. The fifth information may include the fifth identifier and the sixth identifier, and the fifth information may further include control action type information in third information corresponding to the first identifier and the second identifier. And the terminal sends the fifth information to the receiving equipment to be paired through the auxiliary communication equipment, and the receiving equipment to be paired receives the fifth information to complete the rapid pairing between the transmitting equipment to be paired and the receiving equipment to be paired.
In this embodiment, the batch rapid pairing between the plurality of transmitting devices and the plurality of receiving devices in the same scene can be realized by using the preset format file generated after the pairing is completed. For example, when the number, the position, and the pairing relationship between the transmitting device and the receiving device in each suite are substantially the same, after pairing between the transmitting device and the receiving device in the first suite is completed and a preset format file is generated, the preset format file may be imported to the terminal when pairing other suites in the future, and after the identification information of the transmitting device and the receiving device in other suites input based on the preset format file is received, the quick pairing of the transmitting device and the receiving device in other suites may be automatically completed. In the embodiment, the pairing relation of the same scene can be copied, the pairing efficiency is improved, the pairing time is saved, and the probability of pairing errors is reduced.
Referring to fig. 2 and 5, fig. 5 is a second flowchart illustrating a wireless pairing method according to an embodiment of the invention. The invention relates to a wireless pairing method, which is applied to a terminal, wherein auxiliary communication equipment can be integrated in the terminal as a module or a unit, so that the terminal can comprise the functions of the auxiliary communication equipment, namely the terminal can support a radio frequency communication protocol such as a radio frequency 433 protocol or a self-defined specific communication protocol, and the terminal can communicate with transmitting equipment and receiving equipment. The method comprises the following steps:
step S501, the terminal receives first information and second information; the first information comprises information for identifying a transmitting device and the second information comprises information for identifying the receiving device;
step S502, the terminal displays the information for identifying the transmitting device and the information for identifying the receiving device;
step S503, the terminal responds to the selection operation of the displayed information for identifying the transmitting equipment and the information for identifying the receiving equipment, and generates third information, wherein the third information comprises the information for identifying the transmitting equipment and the information for identifying the receiving equipment;
step S504, the terminal sends the third information to the outside, so that: the receiving device receives the third information.
The technical terms, technical features, optional embodiments and technical effects referred to above can be understood with reference to the above description of the embodiment of the wireless pairing method applied to the terminal, and repeated contents are not described herein again.
In this embodiment, information for identifying a transmitting device and information for identifying a receiving device are displayed on a terminal, third information including the information for identifying the transmitting device and the information for identifying the receiving device is generated in response to a selection operation of the displayed information, and the third information is sent to the receiving device, and the receiving device receives the third information to complete pairing. Because the information of the transmitting equipment and the receiving equipment to be paired can be displayed through the terminal, the pairing of the transmitting equipment and the receiving equipment can be automatically completed after responding to the selection operation of the displayed information, and a specific trigger operation is not required to be executed to trigger each group of transmitters and receivers to be paired to enter a learning mode, so that the flexible and convenient pairing is realized.
In addition, after the transmitting equipment and the receiving equipment are matched, the terminal receives a first type of data frame sent by the transmitting equipment; the first type data frame is determined by the transmitting equipment according to the equipment information of the transmitting equipment and the control information generated by the transmitting equipment; the first type data frame comprises an address field and a load part, a first part in the equipment information forms the address field of the first type data frame, and a second part in the equipment information and the control information form the load part of the first type data frame together.
The generation process of the first type data frame comprises the following steps: generating a first type data frame according to the source identification of the transmitting equipment, the equipment type of the transmitting equipment and the control parameter; wherein the source identifier is used for determining an address field of the first type of data frame; in an optional embodiment, the terminal determines a device type of the receiving device; the terminal determines the type of a command for controlling the receiving equipment according to the equipment type of the receiving equipment and the control parameter; the terminal generates a second type data frame according to the equipment type of the receiving equipment and the type of the command; the terminal sends the second type data frame to the receiving device, so that: the receiving device executes the corresponding command. In another optional embodiment, the second type data frame may be generated by the transmitting device, for example, after completing pairing, the transmitting device determines a type of a command for controlling the receiving device according to a device type of the receiving device and the control parameter, generates a second type data frame, and directly sends the second type data frame to the receiving device by the transmitting device, so that: the receiving device executes the corresponding command.
Wherein the device information of the transmitting device may include at least one of: the device type, power level, device unique identifier, device network address, or installation location of the transmitting device. The control information generated by the transmitting device may include at least one of: the operation information of the user detected by the transmitting device, the device type of the receiving device, the operating state of the receiving device, and the like, for example: if the transmitting device includes a pressure sensor, when the user presses the transmitting device, the control information may refer to the pressing force degree detected by the pressure sensor.
The data frame may refer to a protocol data unit of a data link layer, and may include at least three parts: header, data portion, trailer, etc. The first type data frame at least comprises an address field and a load part, a first part in the equipment information forms the address field of the first type data frame, and a second part in the equipment information and the control information form the load part of the first type data frame together. The contents of the first part and the second part may or may not overlap, and the present invention is not particularly limited. For example: the address field of the first type data frame may carry a network address of a transmitting device, for example, the network address may be 192.168.101.1.1, or address bits such as 18 bits or 32 bits specified by a protocol, and belongs to device information (i.e., a first portion), and the load portion of the first type data frame may carry device information control information of a receiving device, for example, the device information may be a three-way switch, and the control information may be on or off of a certain one-way switch.
In the embodiment of the invention, the equipment information of the transmitting equipment and the control information generated by the transmitting equipment can be acquired; generating a first type data frame according to the equipment information and the control information; the first type data frame comprises an address field and a load part, a first part in the equipment information forms the address field of the first type data frame, and a second part in the equipment information and the control information form the load part of the first type data frame together. According to the invention, the data format of the data frame in the wireless transmission process between the transmitting equipment and the controlled setting and the wireless transmission mode between the transmitting equipment and the controlled setting are set, the equipment information and the control information are inserted into the data frame, the equipment information and the control information of the transmitting equipment can be directly carried to the receiving equipment in the data frame transmission process, compared with the data transmission by establishing an additional data channel, the transmission efficiency and accuracy of the data frame can be improved, meanwhile, the transmission power consumption of the data frame can be reduced, the standby time length is increased, and the like.
In some embodiments, the device information comprises: the source identifier of the transmitting device, the device type of the transmitting device, and the control information include: controlling parameters;
generating a first type of data frame according to the device information and the control information, including:
generating a first type data frame according to the source identification of the transmitting equipment, the equipment type of the transmitting equipment and the control parameter; wherein the source identifier is used for determining an address field of the first type of data frame; the method further comprises the following steps:
determining a device type of a receiving device;
determining the type of a command for controlling the receiving equipment according to the equipment type of the receiving equipment and the control parameter;
generating a second type data frame according to the equipment type of the receiving equipment and the type of the command;
the data types of data carried by preset bits in the frame control fields of the first type of data frame and the second type of data frame are different; the destination identification of the receiving device is used to determine the address field of the second type data frame.
In this embodiment of the present invention, the device information may include at least a source identifier of the transmitting device and a device type of the transmitting device, and the control information may include at least a control parameter. The Source identification (Source ID) may refer to an identification (such as but not limited to an internet protocol address, a device unique number, etc.) corresponding to the transmitting device, and may be unique. The method for determining the device type of the receiving device can determine the corresponding transmitting device according to the source identifier, and can also determine the device type of the receiving device through self-defining setting of the device type of the receiving device in advance. The device type can be a single-switch self-generating switch, a double-switch self-generating switch, a receiver with 1 channel, a receiver with 2 channels and the like, the transmitting device can receive the device type uploaded by a user, then the device type is stored in a preset storage unit, and when a first type of data frame is generated, the device type is read from the preset storage unit.
The control parameters may be determined from the user's actions detected by the transmitting device, for example: if the transmitting equipment is a single-open switch, when a user switches the single-open switch from an open state to a closed state, the control parameter can be changed from 0 to 1, and the like; if the transmitting device is a pressure sensor, and the user presses the pressure sensor, the control parameter may be generated according to the pressing force detected by the pressure sensor.
The embodiment of the invention can generate the first type of data frame according to the source identification of the transmitting equipment, the equipment type of the transmitting equipment and the control parameter. For example: the source identifier is used to determine an address field of the first type of data frame, the device type and the control parameters of the transmitting device may together determine a payload portion of the first type of data frame, and so on. The types of commands for controlling the receiving device may include: commands for data processing, or commands for control (also referred to as device control commands), or commands for management (also referred to as device management commands), and the like. For example: state query, on-off control, brightness control, ring control, travel control and other equipment control commands; the method comprises the steps of configuring a gesture sensing function and an indicator lamp of a wall switch, reading a gesture sensing function and an indicator lamp configuration of the wall switch and other equipment management commands.
The invention can determine the type of the command for controlling the receiving device according to the device type of the receiving device and the control parameter, and then the electronic device can generate the second type data frame according to the device type of the receiving device and the type of the command by determining the device type of the receiving device. For example: the device type of the receiving device and the type of the command may together determine a payload portion of the second type data frame, etc.
The data types of the data carried by the preset bits in the frame control fields of the first type data frame and the second type data frame are different, the data carried by the preset bits can be data with any length or any position in the data frames, the types of the data frames are not limited, and the data frames can be set in a user-defined mode according to actual use requirements. For example: it may refer to a data frame having a value of 00001 of lower 5 bits (b0, b1,. b4 bits) in the frame control field for the first type of data frame, and may refer to a data frame having a value of 00002 of lower 5 bits in the frame control field for the second type of data frame. In one possible embodiment, the first type of data frame may refer to a data frame sent from a Node side of a transmitting device to a Gateway (Gateway) side, the second type of data frame may refer to a data frame sent from the Gateway side to the Node side, and the like, where the Gateway side may refer to an intelligent control center.
In the embodiment of the invention, the second type data frame can be generated according to the equipment type of the receiving equipment and the type of the command, the data structures of different types of data frames can be accurately determined, the type of the data frame is refined, and the workload of developers is reduced.
In the embodiment of the present invention, the data frame may be composed of a Header (Header), a Payload (also referred to as a data portion, etc.), a trailer (Footer), and the like. The Frame header may be composed of a Frame Control field (Frame Control), a Frame Sequence Number (Sequence Number), an address field (Addressing Fields), and the like. The frame control domain contains basic frame information, the length is 16bit (bit), the frame sequence number is used for distinguishing data frames which are sent successively, and the address domain is used for determining the transmission direction of the data frames; the length of the load part is variable, and the specific content is determined by the frame type; the end of the frame may be a 16-bit Cyclic Redundancy Check (CRC) value of the header and payload data, etc.
In the embodiment of the present invention, the address field of the first type data frame may be determined by the source identifier, and the address field of the second type data frame may be determined by the target identifier. For example: the electronic device determines that the data frame is of the first type, and then determines that the address field in the data frame is written with the source identifier 192.168.102.7 or a number of a particular number of bits, and determines that the data frame is of the second type, and then determines that the address field in the data frame is written with the target identifier 192.168.202.7 or a number of a particular number of bits, etc. The intelligent device can simply and quickly determine the type or the transmission direction of the data frame and the like through the address field, and the transmission efficiency is improved. The payload part of the first type of data frame may be formed by the device type and control parameters of the transmitting device together, for example: the transmitting device determines that its own device type is a circular double-key switch (corresponding number D2, etc. may be labeled), and the control parameter is 01 (i.e., the a-key is open, the b-key is closed, etc.), then the transmitting device may write the device type D2 and the control parameter 01 to the load portion in the data frame, etc.
In the embodiment of the invention, the source identification can be used for determining the address field of the first type of data frame, the target identification can be used for determining the address field of the second type of data frame, the equipment type and the control parameters of the transmitting equipment jointly form the load part of the first type of data frame, the data structures of different types of data frames can be accurately set, the data frame type is refined, the workload of developers is reduced, and the like.
In some embodiments, the second type data frame is formed by an address field of the second type data frame and a payload portion of the second type data frame.
In this embodiment of the present invention, the second type data frame is at least formed by an address field of the second type data frame and a load portion of the second type data frame, for example: the device type of the receiving device is a single-channel receiver, the first type is basic state inquiry, the content of the first command is empty, and the like, and the load part is sequentially written. After determining the address field and the load part of the second-class data frame, the electronic device inserts other parts such as a frame head or a frame tail according to a preset rule to generate a complete second-class data frame. By adopting the mode, the invention can accurately set the data structures of the data frames of different types, clearly determine various information such as the transmission direction, the command type and the like, improve the transmission efficiency, save the operation power consumption and the like.
In some embodiments, the byte length corresponding to the payload portion of the second type of data frame is determined by the type of the command.
In the embodiment of the present invention, the byte length corresponding to the payload portion of the second type data frame may be variable, and the byte length may be determined by the type of the command. For example: the command is a command for data processing, and the payload portion of the second type data frame may have a byte length of 5 bytes, the device control command may have a byte length of 7 bytes, the device management command may have a byte length of 9 bytes, and so on. The invention can save transmission resources and quickly determine the type of the command and the like through the load part of the second type data frame with different byte lengths.
In some embodiments, when the command is of a first type, the payload portion of the second type of data frame is determined by a device type of the receiving device, the first type, and a first command content;
the first command content is determined by the type of the command.
In this embodiment of the present invention, the first type may refer to a device control command, and after the data frame is acquired, it may be determined first whether an address field of the data frame is a source identifier or a target identifier to obtain a determination result, and then determine a corresponding data frame type according to the determination result. After the data Type of the data carried by the preset bits in the frame control field of the data frame is determined to be the first Type (i.e., the device control command) carried by the command in the data frame, the first command content (Cmd Date) corresponding to the command of the first Type can be determined according to the Type (Cmd Type) of the command. If the electronic device determines that the type of command is a device control command, the content of the corresponding command may be determined only depending on the type of command, for example: the basic status query corresponds to a command content being null, and the basic Switch controls the corresponding command content to be a first Byte representing Channel information, a second Byte representing switching information, and the like (for example, but not limited to, Byte 1: Channel, Byte 2: Switch). The electronic Device may then determine a Payload portion (Frame Payload) of the second Type of data Frame according to the Device Type (Device Type), the first Type (Cmd Type, 1Byte) and the first command content (Cmd Date) of the receiving Device. According to the invention, the first command content is determined by the type of the command, so that the corresponding command content and the like can be accurately determined.
In some embodiments, when the command is of a first type and the control parameter of the transmitting device is null, the payload portion of the second type of data frame is determined by the device type of the receiving device and the first type.
In this embodiment of the present invention, when the command is of a first type and the control parameter of the transmitting device is null, the load part of the second type data frame may only need to be determined by the device type of the receiving device and the first type, for example: if the device type of the receiving device is a curtain motor and the first type is a basic status query, the load part of the second type data frame may be determined jointly based on the device type being a curtain motor and the first type being a basic status query. By adopting the mode, the invention can save transmission resources, improve transmission efficiency and the like.
In some embodiments, when the command is of a second type and the command of the second type has a first attribute, the payload portion of the second type of data frame is determined by a device type of the receiving device, the second type, and a second command content;
the second command content is determined by the type of the command.
The properties of a command may refer to the indispensable properties that the command has, such as: encrypted attributes and unencrypted attributes, public attributes and private attributes, common attributes and uncommon attributes, and the like. In the embodiment of the invention, for the commands with different attributes, the determining mode of the load part of the data frame can be different.
In this embodiment of the present invention, the second type may refer to a device management command, and may include: and configuring a gesture sensing function and an indicator light of the wall switch, or reading the gesture sensing function and the indicator light configuration of the wall switch. The first attribute may refer to a public attribute, which may be understood to be a limited enumeration (e.g., without limitation, switch state, etc.) capable of receiving a generic management command of a device. When the electronic device determines that the device management command is a public attribute, the second command content (Cmd Date) may be determined only by the Type of command (Cmd Type), for example: when the command type is a device management command and has a public attribute, the second command content may be that the indicator light is turned on or off, and the like.
The electronic Device may then determine a Payload part (Frame Payload) of the second Type Data Frame, etc., according to the Device Type (Device Type), the second Type (Management Cmd Type), and the second command content (Cmd Data) of the receiving Device. For example: the receiving equipment is of a 3-way wall switch with a gesture sensing function, a second type of a gesture sensing function and an indicator lamp for configuring the wall switch, a second command content of indicator lamp starting and the like, and the command content is written into the load part in sequence. After determining the address field and the load part of the second-class data frame, the electronic device inserts other parts such as a frame head or a frame tail according to a preset rule to generate a complete second-class data frame.
In this embodiment of the present invention, when the command is of a second type and the command of the second type has the first attribute, a second command content corresponding to the command of the second type may be determined, a load portion of the data frame of the second type may be determined according to the device type of the receiving device, the second type, and the second command content, and the data frame of the second type may be generated according to an address field of the data frame of the second type and the load portion of the data frame of the second type. By adopting the mode, the invention can accurately set the data structures of the data frames of different types, clearly determine various information such as the transmission direction, the command type and the like, improve the transmission efficiency, save the operation power consumption and the like.
In some embodiments, when the command is of a second type and the command of the second type has a second attribute, the payload portion of the second type of data frame is determined by a device type of the receiving device, the second type, and a third command content;
the third command content is determined by the device type of the receiving device and the type of the command in common.
In this embodiment of the present invention, the second type may refer to a device management command, and may include: and configuring a gesture sensing function and an indicator light of the wall switch, or reading the gesture sensing function and the indicator light configuration of the wall switch. The second attribute may refer to a private attribute, which may be understood as a command specific to a certain type of receiving device (e.g., without limitation, detecting facial expressions, etc.). When the electronic Device determines that the Device management command is a private attribute, the third command content (Cmd Date) needs to be determined by the Device Type (Device Type) of the receiving Device and the Type (Cmd Type) of the command together, for example: when the command type is a device management command and has a private attribute, the second command content corresponding to the device type a may be an induction distance, and the third command content corresponding to the device type B may be gesture induction control.
The electronic Device may then determine a Payload part (Frame Payload) of the second Type Data Frame, etc., according to the Device Type (Device Type), the second Type (Management Cmd Type), and the third command content (Cmd Data) of the receiving Device. For example: the receiving device is of a light-adjustable device with a gesture sensing function, the receiving device is of a gesture sensing function detected by reading the light-adjustable device, the third command content is indicating lamp opening and the like, and the light-adjustable device with the gesture sensing function, the gesture sensing function detected by reading the light-adjustable device and the indicating lamp opening can be sequentially written into the load part. After determining the address field and the load part of the second-class data frame, the electronic device inserts other parts such as a frame head or a frame tail according to a preset rule to generate a complete second-class data frame.
In this embodiment of the present invention, when the command is of a second type and the command of the second type has a second attribute, a third command content corresponding to the command of the second type is determined according to the device type of the receiving device, a load portion of the data frame of the second type is determined according to the device type of the receiving device, the second type and the third command content, and the data frame of the second type is generated according to an address field of the data frame of the second type and the load portion of the data frame of the second type. By adopting the mode, the invention can accurately set the data structures of the data frames of different types, clearly determine various information such as the transmission direction, the command type and the like, improve the transmission efficiency, save the operation power consumption and the like.
In some embodiments, the method further comprises:
determining a third type data frame according to the second type data frame; the data types of data carried by preset bits in frame control fields of the third type data frame, the first type data frame and the second type data frame are different; the third type data frame comprises: an address field and a payload part, the address field of the third type data frame being determined by the source identification; the load part of the third type data frame is determined by the device type of the receiving device, the type of the command and the content of a fourth command;
the fourth command content is determined by the device type of the receiving device, or by the type of the command, or by both the type of the command and the device type of the receiving device.
In this embodiment of the present invention, the electronic device may determine a third type of data frame according to the second type of data frame, where the third type of data frame may carry information such as an external environment detected by the receiving device and a current operating state, and the third type of data frame may at least include: an address domain and a payload portion. The address field of the third type data frame is determined by the source identification and can be used for determining the corresponding transmitting device, and the load part of the third type data frame is determined by the device type of the receiving device, the type of the command and the content of the fourth command. The third type data frames corresponding to the second type data frames with different generation modes may also be different, for example: when the type of the command is a device control command, the corresponding type of the command can be a first type of third-class data frame; when the type of the command is a device management command, the corresponding type of the command can be a second type of third data frame; when the device management command has the public attribute, the third type data frame of the second type also has the corresponding public attribute, and when the device management command has the private attribute, the third type data frame of the second type also has the corresponding private attribute.
For a third type of data frame of the first type, the fourth command content may be determined only by the device type of the receiving device; for a third type of data frame of a second type having a common attribute, the fourth command content may be determined only by the type of the command; for a third type of data frame of the second type having private attributes, the fourth command content needs to be determined by the type of the command and the device type of the receiving device together.
By adopting the mode, the invention can accurately and timely determine the clear data transmission states of the transmitting equipment and the receiving equipment, and save the running power consumption of the electronic equipment and the like.
In some embodiments, the frame control field of the second type data frame carries forwarding information;
the forwarding information is used for triggering the function of the receiving device for forwarding data to other receiving devices.
In the embodiment of the present invention, the forwarding information may include information such as the number of times of forwarding, a forwarding time interval, and the like. The receiving device may have a function of forwarding data so as to increase a transmission distance of a data frame. For example: the electronic device transmits the second type data frame to the receiving device a at the first location, then the receiving device a may transmit the second type data frame to the receiving device B at the second location, then the receiving device B may transmit the second type data frame to the receiving device C at the third location, and so on. In the process of forwarding data, the receiving devices such as A, B and C may perform both forwarding and corresponding command content, or may perform only forwarding without performing the corresponding command content. A. The receiving devices such as B and C may also perform processing such as filtering or inserting new information into the second type data frame, and then perform forwarding, etc., and the present invention is not limited in particular.
In the process of forwarding, if the forwarding is performed for an unlimited number of times, the forwarding cannot be stopped or the occupied frequency band is too large, which adversely affects the transmission performance of the wireless transmission system, so that a certain forwarding stop rule can be set. The electronic device may set a FRAME Header (FRAME Header) mode for writing the forwarding times into the data FRAME, and stop forwarding when a certain forwarding time (for example, greater than 2 times) is reached. For example: and (4) stopping forwarding when the forwarding is set to be more than 2 times, stopping forwarding to other receiving equipment when the receiving equipment receives the forwarded second-class data frame and the number of times of reading and forwarding is 3, and stopping the forwarding process and the like by the receiving equipment. Receiving device a may update the current forwarding number (RC) in the second type data frame received from the intelligent control center from 0 to 1, and then receiving device B may update the current forwarding number in the second type data frame received from receiving device a from 1 to 2, until the preset forwarding number is reached 3, and so on. By adopting the mode, the invention can improve the transmission distance of the data frame and the like.
In some embodiments, the payload portion of the second type of data frame carries channel information;
the channel information is used for determining different transmission channels corresponding to different data frames.
In the embodiment of the present invention, the load part of the second type data frame carries channel information, and the channel information is used to determine different transmission channels corresponding to different data frames. The electronic device sends the second type data frame to the receiving device, and the method comprises the following steps: determining a target transmission channel corresponding to the equipment type according to the equipment type and a preset mapping relation; the mapping relation is used for representing the association relation between the equipment and the transmission channel; and sending the second type data frame to the receiving equipment through the target transmission channel. For example: the device type of the transmitting device is a square single-key switch, and then the electronic device can transmit a data frame related to the transmitting device through a first number Channel (Channel); the device type of the transmitting device is a circular three-key switch, and then the electronic device can transmit the data frame related to the transmitting device through the second signal channel. By adopting the mode, the invention is beneficial to the electronic equipment to quickly and accurately transmit the data frame, avoids the condition of disordered transmission of the data frame, improves the transmission efficiency and the like.
In some embodiments, the data frame carries verification information;
the verification information is used for: dividing the data frame into a first part and a second part from a preset position, and verifying the first part to obtain a first verification result corresponding to the first part; and checking the second part to obtain a second checking result corresponding to the second part, or checking the first part, the first checking result and the second part to obtain the second checking result.
In the embodiment of the invention, two times of Check can be performed on one data frame, the Check can be Cyclic Redundancy Check (CRC), which is called Cyclic code for short, and the Check mode has the capability of error detection and error correction. The check information may include check codes and other information, and the check information is used for: dividing the data frame into a first part and a second part from a preset position, and verifying the first part to obtain a first verification result corresponding to the first part; and checking the second part to obtain a second checking result corresponding to the second part, or checking the first part, the first checking result and the second part to obtain the second checking result. For example: the length of the data frame is 5 bytes, and the electronic device can insert the check information a (check code a) and the check information B (check code B) after the 1 st byte and the 5 th byte, respectively. The electronic device can perform first verification on the number 1byte according to the verification information A to obtain a verification result a. The electronic device may perform the second verification on the byte number 2-5 according to the verification information B to obtain a verification result B, or the electronic device may perform the second verification on the byte number 1, the byte number 2-5 and the verification result a together according to the verification information B to obtain the verification result B, and the like. By adopting the mode, the invention is beneficial to improving the checking efficiency, the checking accuracy and the like.
In some embodiments, the data frame includes a frame header portion, the frame header portion determined by protocol version information, the protocol version information used to determine a data protocol type of the data processing.
In this embodiment of the present invention, the second type data frame includes a frame header part, where the frame header part may be determined by protocol version information, and the protocol version information is used to determine a data protocol type of data processing, for example: the frame header part corresponding to the 433 protocol is 0001, the frame header part corresponding to the 2.4G protocol is 0010, and the like. Information contained in payload portions of data frames of different protocols and the like may be exchanged with each other. By adopting the mode, the invention is beneficial to improving the generation efficiency of the data frames among different protocols and the like.
In the embodiment of the invention, the equipment information of the transmitting equipment and the control information generated by the transmitting equipment can be acquired; generating a first type data frame according to the equipment information and the control information; the first type data frame comprises an address field and a load part, a first part in the equipment information forms the address field of the first type data frame, and a second part in the equipment information and the control information form the load part of the first type data frame together. According to the invention, through setting the data format of the data frame in the wireless transmission process between the transmitting device and the receiving device and the wireless transmission mode between the transmitting device and the receiving device, the transmission efficiency and accuracy of the data frame can be improved, meanwhile, the transmission power consumption of the data frame can be reduced, the standby time is increased, and the like.
Referring to fig. 6, fig. 6 is a third flowchart illustrating a wireless pairing method according to an embodiment of the invention. The invention relates to a wireless pairing method, which is applied to receiving equipment, wherein the receiving equipment can communicate with a terminal through auxiliary communication equipment, and the auxiliary communication equipment can communicate with at least one transmitting equipment; the method comprises the following steps:
step S601, the receiving device sends second information to the auxiliary communication device, where the second information includes information for identifying the receiving device, so that the auxiliary communication device forwards the second information to the terminal, so that: the terminal generates third information based on the received selection operation of the information for identifying the receiving equipment and the selection operation of the information for identifying the transmitting equipment;
step S602, the receiving device receives the third information sent by the auxiliary communication device; the third information is sent by the terminal to the auxiliary communication device, and the third information includes information for identifying the transmitting device and information for identifying the receiving device.
The sending, by the receiving device, the second information to the auxiliary communication device in step S601 may include:
and transmitting the second information to the auxiliary communication equipment according to a first time interval in a preset time unit.
In this embodiment, the receiving device may send the plurality of second information to the auxiliary communication device at preset time intervals in a preset time unit. The preset time unit may include a power-on time, or a time when a preset key is triggered. In a possible implementation, the receiving device may send the second information to the secondary communication device in a preset time unit, and to avoid the situation that the second information is sent by multiple receiving devices in the air, the first time interval may be a random number. For example: the target identification of the receiving device is used as a random number source, and different time intervals can be generated because the target identification of each receiving device is different. Or, a different identifier may be burned in as a source of the random number when the receiving device burns the program, or data read by an analog-to-digital converter without any input may be used as the random number.
In another alternative embodiment, to ensure that the secondary communication device accurately receives the second information, the receiving device may transmit the second information for a plurality of repetitions, e.g., transmit the second information for 3-5 repetitions, etc. The receiving device may use a preset time interval or a random number for sending the repeated second information each time, and the generation of the random number may be the same as the generation algorithm of the random number, or different calculation methods may be used in the programming of the receiving device to ensure that the random numbers generated twice are different, so as to better avoid air collision of data frames and the like. By adopting the above mode, the diversity of the second information sent by the receiving device can be improved, and the matching efficiency can be improved.
In some embodiments, the sending the second information of the receiving device to the auxiliary communication device includes:
and sending the second information to the auxiliary communication equipment according to a second time interval within a preset time length taking the power-on time of the receiving equipment as the starting time.
In this embodiment, within a preset time period (e.g., within a seconds) during which the receiving device is powered on, the second information is sent to the auxiliary communication device, and the number of the second information repeatedly sent within c seconds is d at a second time interval (e.g., c seconds) during which the second information is sent.
In another embodiment, after the receiving device is powered on, a delay may be performed, for example, randomly delaying for a preset delay time duration (e.g., b seconds), and after b seconds are reached, the number of the second information repeatedly sent in c seconds is d. The second time interval at which the receiving device repeatedly sends the second information may also be a random number, and a specific random manner is not particularly limited. For example: and the receiving equipment is powered on for 60 seconds, delays for a certain time randomly, sends a response data frame of 4 seconds, and repeatedly sends 5 repeated second messages within 4 seconds. By adopting the above mode, the diversity of the second information sent by the receiving device can be improved, and the matching efficiency can be improved.
In some embodiments, the sending the second information of the receiving device to the auxiliary communication device includes:
and when detecting that the receiving equipment meets a preset trigger condition, sending the second information to the auxiliary communication equipment according to a third time interval.
In this embodiment, the preset trigger condition may include that various function keys on the receiving device detect and select, and when the receiving device determines that a certain function key is selected, the second information is sent to the auxiliary communication device according to a third time interval, for example, the third time interval for sending the second information is f seconds, and the number of the second information repeatedly sent in f seconds is g.
In another embodiment, after the receiving device determines that a certain function key is selected, a delay may be performed, for example, randomly delaying for e seconds, and the length of time for transmitting the second information is f seconds, and the number of second information repeatedly transmitted in f seconds is g. The time interval for the receiving device to repeatedly send the second information may also be a random number, and a specific random manner is not particularly limited. For example: and the receiving equipment is powered on for 30 seconds, delays for a certain time randomly, sends a response data frame of 5 seconds, and repeatedly sends 10 repeated second messages within 5 seconds. By adopting the above mode, the diversity of the second information sent by the receiving device can be improved, and the matching efficiency can be improved.
In some embodiments, the sending the second information of the receiving device to the auxiliary communication device includes:
when the communication connection between transmitting equipment and the receiving equipment is in a disconnected state, receiving a first trigger instruction sent by the transmitting equipment; the transmitting device is a transmitting device which is connected with a receiving device already, or is a transmitting device which is not connected with the receiving device, or is a transmitting device with a preset address;
and responding to the first trigger instruction, and sending second information of the receiving equipment to the auxiliary communication equipment according to a fourth time interval.
In this embodiment, each time a receiving device paired with a transmitting device receives a data frame signal of the transmitting device, the receiving device sends a corresponding data frame to the auxiliary communication device, where m data frames are repeatedly sent each time, and a time interval of the repeated sending is a random number or a preset interval time. When the communication connection between the transmitting device and the receiving device is in a disconnected state, that is, when the receiving device is not paired with the transmitting device, the first trigger instruction sent by the transmitting device may also be directly received, and then, in response to the first trigger instruction, second information of the receiving device is sent to the auxiliary communication device at a preset time interval for matching with the transmitting device. The transmitting device may be a transmitting device that has established a connection with a receiving device, or may be a transmitting device that has not established a connection with the receiving device, or may be a transmitting device with a preset address (i.e., a transmitting device with a predetermined special address), and so on. By adopting the above mode, the diversity of the second information sent by the receiving device can be improved, and the matching efficiency can be improved.
In some embodiments, the sending the second information of the receiving device to the auxiliary communication device includes:
receiving a query instruction from the secondary communication device;
and responding to the query instruction, and sending second information of the receiving device to the auxiliary communication device according to a fifth time interval.
In this embodiment, the receiving device may send, by receiving an inquiry instruction from the auxiliary communication device, the second information of the receiving device to the auxiliary communication device at a preset time interval in response to the inquiry instruction, for matching with the transmitting device, and the like. The query instruction may refer to an instruction for the receiving device to instruct the receiving device to transmit the second information. By adopting the above mode, the diversity of the mode of sending the second information by the receiving device can be improved, and the matching efficiency can be improved.
In step S602, after the receiving device receives the third information sent by the auxiliary communication device, specific information in the third information may also be stored. Some or all of the third information may be stored, for example, using a predetermined data structure, such as a list or a portion of a list. The third information may include information for identifying the transmitting device and information for identifying the receiving device. The receiving device may only store the identification information of the transmitting device, such as an address identifier, or the receiving device may store the identification information of the transmitting device and the identification information of the receiving device in a corresponding manner, for example, store the key information of the transmitting device and the channel information of the receiving device in a corresponding manner, so as to complete the pairing between the transmitting device and the receiving device. In this way, after the pairing between the transmitting device and the receiving device is completed, the subsequent transmitting device may send control information to perform corresponding control on the receiving device.
Further, the third information may further include: control action type information; the control action type information is generated by the terminal in response to the selection operation of at least one displayed control action type, and the control action type is used for representing the control action type of the transmitting device to the receiving device. For example, the control action type may include a first control action type, which is used to characterize the transmitting device controlling the receiving device to perform a flipping operation to switch the receiving device between a first state and a second state. The control action types may further include a second control action type, the second control action type being used to characterize the transmitting device controlling the receiving device to perform a fixed operation. Wherein, the fixing operation may include various types of operations, for example, when the receiving device is a wall switch, the fixing operation may be a fixed on or off operation to control the wall switch to perform a fixed on or off operation. When the receiving device is a controlled device, the fixing operation may be an adjusting operation for fixing a function on the controlled device; taking the controlled device as an air conditioner, the fixed operation may be a fixed temperature-up or temperature-down operation, and the like. For example, the subsequent receiving device receives sixth information sent by the transmitting device, where the sixth information includes identification information of the transmitting device, identification information of the receiving device, and control information; the receiving device matches the identification information of the transmitting device and the identification information of the receiving device with the information for identifying the transmitting device and the information for identifying the receiving device in the third information; and if so, the receiving equipment executes the operation pointed by the control information according to the control action type information in the third information. If not, the information is not processed.
In an optional implementation manner, the receiving device receives fourth information sent by the auxiliary communication device, where the fourth information includes information for identifying the receiving device and type information corresponding to a first functional component to which a second trigger operation is applied on the terminal; and the receiving equipment responds to the fourth information and starts or closes the corresponding function according to the type information corresponding to the first functional component in the fourth information. Wherein the type of the first functional component comprises at least one of a controlled switch type, a relay type, a default output type, or a heartbeat type. Taking the relay type as an example for explanation, the receiving device responds to the relay type information in the fourth information, and turns on or off the relay function. And when the relay function is started, the receiving equipment forwards the sixth information to other receiving equipment. Therefore, the information relay is realized, the transmission distance of the message is prolonged, and the control distance of the transmitting equipment to the receiving equipment is increased.
In this embodiment, the receiving device sends second information to the terminal through the auxiliary communication device, where the second information includes information for identifying the receiving device. The method comprises the steps of generating third information comprising information for identifying the transmitting equipment and information for identifying the receiving equipment in response to selection operation of displayed information by displaying the information for identifying the transmitting equipment and the information for identifying the receiving equipment on a terminal, and sending the third information to the receiving equipment through auxiliary communication equipment, wherein the receiving equipment receives the third information to complete pairing. Because the information of the transmitting equipment and the receiving equipment to be paired can be displayed through the terminal, the pairing of the transmitting equipment and the receiving equipment can be automatically completed after responding to the selection operation of the displayed information, and a specific trigger operation is not required to be executed to trigger each group of transmitters and receivers to be paired to enter a learning mode, so that the flexible and convenient pairing is realized.
Referring to fig. 7, fig. 7 is a fourth flowchart illustrating a wireless pairing method according to an embodiment of the invention. The invention relates to a wireless pairing method, which is applied to auxiliary communication equipment, wherein the auxiliary communication equipment can be communicated with a terminal, and can also be communicated with at least one transmitting equipment and at least one receiving equipment; the method comprises the following steps:
step S701, the auxiliary communication device receives first information sent by the transmitting device, wherein the first information comprises information for identifying the transmitting device; the auxiliary communication equipment receives second information sent by the receiving equipment, wherein the second information comprises information used for identifying the receiving equipment;
step S702, the auxiliary communication device sends the first information and the second information to the terminal, so that: the terminal displays information for identifying the transmitting device and information for identifying the receiving device;
step S703, after the terminal responds to the selection operation of the displayed information for identifying the transmitting device and the information for identifying the receiving device to generate third information, the auxiliary communication device receives the third information sent by the terminal; the third information includes information for identifying the transmitting device and information for identifying the receiving device;
step S704, the auxiliary communication device sends the third information outwards, so that: the receiving device receives the third information.
In this embodiment, after receiving a message sent by a transmitting device or a receiving device, the auxiliary communication device may directly send the message to the terminal as first information or second information, or may perform operations such as signature and encryption on all or part of information in the message and then generate the first information or second information to send to the terminal, or may parse the message, extract information used for identifying the transmitting device from the message sent by the transmitting device and then generate the first information to send to the terminal, or extract information used for identifying the receiving device from the message sent by the receiving device and then generate the second information to send to the terminal. That is, the first information or the second information may be a complete message, may also be a part of the message, and may also be a file in another format processed by the auxiliary communication device. The information sent by the transmitting device or the receiving device and received by the auxiliary communication device may be in the same format or different format from the information sent by the auxiliary communication device to the terminal. The information sent by the transmitting device or the receiving device and received by the auxiliary communication device may be the same as or different from the information content sent by the auxiliary communication device to the terminal. As long as the information sent by the transmitting device and the information sent by the auxiliary communication device to the terminal, which are received by the auxiliary communication device, both include information for identifying the transmitting device, or the information sent by the receiving device and the information sent by the auxiliary communication device to the terminal, which are received by the auxiliary communication device, both include information for identifying the receiving device, the protection scope of this embodiment is not deviated.
After the auxiliary communication device receives the third information sent by the terminal, if the auxiliary communication device and the receiving device transmit information according to the first communication protocol, for example, but not limited to, the radio frequency 433 protocol or a customized specific communication protocol, in an embodiment, the terminal may encapsulate the generated third information according to the first communication protocol to generate a first message. The terminal sends the first message to the auxiliary communication device, and the auxiliary communication device can directly forward the first message without any processing performed by the auxiliary communication device, that is, the auxiliary communication device performs transparent transmission, thereby reducing the processing resources required to be configured by the auxiliary communication device. In another embodiment, the auxiliary communication device may receive the third information sent by the terminal, and perform corresponding data processing, encryption, and encapsulation on the third information by the auxiliary communication device to obtain a message conforming to the first communication protocol format, and then send the message to the outside. In this embodiment, the auxiliary communication device may be used to extend the applicable protocol type of the terminal, so that the terminal supports multiple self-defined protocols, such as but not limited to the radio frequency 433 protocol, and the auxiliary communication device may also be used to perform operations such as preprocessing and packet encapsulation on information that needs to be received and sent by the terminal, thereby reducing the burden on the terminal and improving the operation smoothness of the terminal.
In this embodiment, the format of the third information sent by the terminal to the auxiliary communication device and the format of the third information sent by the auxiliary communication device to the outside may be the same or different, and the content may be the same or different, and as long as the third information and the content both include the information for identifying the transmitting device and the information for identifying the receiving device, the protection scope of this embodiment is not deviated. And after the receiving equipment receives the information for identifying the transmitting equipment and the information for identifying the receiving equipment in the third information, the pairing of the transmitting equipment and the receiving equipment can be completed.
In an optional implementation manner, the auxiliary communication device includes a wireless communication module, a processing module, and an interface conversion module, where the wireless communication module may include a radio frequency chip, at least two antennas, and corresponding peripheral circuits, and the wireless communication module may simultaneously satisfy functions of sending and receiving a wireless radio frequency signal, for example, may receive first information sent by the transmitting device based on the radio frequency 433 protocol, receive second information sent by the receiving device based on the radio frequency 433 protocol, and may further send third information generated on the terminal to the receiving device based on the radio frequency 433 protocol. The processing module may perform preprocessing, encapsulation, and the like on the information received by the auxiliary communication device, for example, perform data processing, encryption, and encapsulation on the third information sent by the terminal to form a message, and then send the message to the outside through the wireless communication module. The processing module can adopt a single chip microcomputer, for example, an STM8S003F3 chip can be adopted. The interface conversion module is configured to perform interface protocol conversion, so that the auxiliary communication device is suitable for the terminal interface to implement communication between the auxiliary communication device and the terminal, for example, data interaction of the first information, the second information, and the third information between the auxiliary communication device and the terminal is implemented through the interface conversion module. For example, when the terminal interface, such as a mobile phone interface, is a TYPE-C interface, in order to make the auxiliary communication device suitable for the terminal interface, the interface conversion module of the auxiliary communication device may include a USB to serial port chip CH340 and a TYPE-C interface module.
In this embodiment, the auxiliary communication device sends the first information and the second information to the terminal, displays information for identifying a transmitting device and information for identifying a receiving device on the terminal, responds to a selection operation of the displayed information, generates third information including information for identifying the transmitting device and information for identifying the receiving device, and sends the third information to the receiving device through the auxiliary communication device, and the receiving device receives the third information to complete pairing. Because the information of the transmitting equipment and the receiving equipment to be paired can be displayed through the terminal, the pairing of the transmitting equipment and the receiving equipment can be automatically completed after responding to the selection operation of the displayed information, and a specific trigger operation is not required to be executed to trigger each group of transmitters and receivers to be paired to enter a learning mode, so that the flexible and convenient pairing is realized.
In step S701, the receiving, by the auxiliary communication device, the first information sent by the transmitting device includes:
the auxiliary communication equipment receives first information sent by the transmitting equipment when a preset trigger operation is detected. For example, the first information sent by the transmitting device when the transmitting device is powered on or triggers a preset key may be received, where the first information may include messages with different formats and different contents, and as long as the first information includes information for identifying the transmitting device, the protection range of this embodiment is not broken.
In an alternative embodiment, the transmitting device may comprise at least three trigger elements, the at least three trigger elements comprising at least two trigger element combinations, any two trigger element combinations comprising at least one different trigger element; any one trigger element combination corresponds to an output signal; when all trigger elements in any trigger element combination are triggered and at least one trigger element which is not triggered is included in the rest trigger element combinations, the transmitting equipment outputs output signals corresponding to the trigger element combination with all the trigger elements pressed down.
In an example, as shown in fig. 8a, fig. 8a is a first schematic diagram of a trigger device according to an embodiment of the invention. The transmitting equipment can be a battery switch or a self-generating switch, and comprises three trigger elements A1, A2 and A3, at least two trigger element combinations such as A1A2 and A1A3 and also an A2A3 trigger element combination, wherein at least one different trigger element is included in the trigger element combinations of A1A2, A1A3 and A2A 3. It is preset that the A1A2 trigger element combination outputs a first signal when triggered, the A1A3 trigger element combination outputs a second signal when triggered, and the A2A3 trigger element combination outputs a third signal when triggered. When it is detected that the triggering element A1, the triggering element A2 of the A1A2 triggering element combination are all triggered, and the triggering element A3 is not triggered, then the transmitting device outputs a first signal. When it is detected that all of the trigger elements A1 and A3 of the trigger element combination A1A3 are triggered and the trigger element A2 is not triggered, the transmitting device outputs a second signal. When it is detected that all of the trigger elements A2 and A3 of the A2A3 trigger element combination are triggered and the trigger element a1 is not triggered, the transmitting device outputs a third signal.
In this embodiment, different signals may be output in response to the application and control operations of different combinations of trigger elements on the transmitting device, and the output signal types of the transmitting device may be enriched, for example, different first information may be output in response to the application and control operations of different combinations of trigger elements on the transmitting device, and sent to the auxiliary communication device.
In another example, as shown in fig. 8b, fig. 8b is a schematic diagram of a triggering element in an embodiment of the invention. The launching device comprises four trigger elements B1, B2, B3 and B4 which are symmetrically arranged; when a single trigger element is triggered, that is, outputs a signal, it is easy to happen that the trigger element adjacent to the triggered trigger element is pressed by force and is triggered by mistake, so that the output signal is mixed. In this embodiment, the triggering elements B1, B2, B3, and B4 include at least two triggering element combinations, for example, two triggering elements may form one triggering element combination, or three triggering elements may form one triggering element combination, and the number of the triggering elements in the triggering element combination is not limited herein. In an alternative embodiment, two adjacent trigger elements in the trigger elements B1, B2, B3 and B4 form a trigger element combination, and any trigger element combination corresponds to an output signal; for example, the trigger element B1B2 constitutes a trigger element combination, which correspondingly outputs a first signal; the trigger element B2B3 forms a trigger element combination and correspondingly outputs a second signal; the trigger element B3B4 forms a trigger element combination and correspondingly outputs a third signal; the trigger element B4B1 constitutes a trigger element combination, and outputs the fourth signal correspondingly. For example, when it is detected that the trigger element B1, the trigger element B2 of the B1B2 trigger element combination are all triggered, and the trigger elements B3, B4 are not triggered, then the transmitting device outputs a first signal. When the triggering element B2 and the triggering element B3 in the B2B3 triggering element combination are all triggered and the triggering elements B1 and B4 are not triggered, the transmitting device outputs a second signal. When the trigger elements B3 and B4 of the trigger element combination B3B4 are all triggered and the trigger elements B1 and B2 are not triggered, the transmitting device outputs a third signal. When the trigger elements B4 and B1 of the trigger element combination B4B1 are all triggered and the trigger elements B2 and B3 are not triggered, the transmitting device outputs a fourth signal.
In this embodiment, when all the trigger elements in any one of the trigger combinations are triggered and at least one of the rest of the trigger combinations is not triggered, the transmitting device outputs the output signal corresponding to the trigger combination, so as to effectively avoid the occurrence of output signal confusion caused by the false touch operation of the trigger elements.
One specific embodiment of the above example is described as follows:
as shown in fig. 9a and 9b, fig. 9a is a schematic structural diagram of a self-generating switch in an embodiment of the invention, and fig. 9b is a schematic structural diagram of a self-generating switch in an embodiment of the invention.
The transmitting equipment is a self-generating switch, and comprises:
a housing 91 having an accommodating space therein and including a top cover 92; the top cover 92 is configured and adapted to be displaced in response to an external manipulation;
a generator 93 disposed in the accommodating space and adapted to convert mechanical energy into electrical energy at least once in response to the displacement;
the circuit board 94 is disposed in the accommodating space, electrically connected to the generator 93, and adapted to receive the electric energy, and then power up to enter a working state.
Wherein the circuit board 94 is provided with the trigger element; in combination with the above example, the triggering elements may include four triggering elements, such as B1, B2, B3, and B4, and the distribution of the positions of the four triggering elements can refer to the above example. In one embodiment, the trigger element is implemented as a microswitch.
Further, the housing 91 includes a bottom case 911; the bottom case 911 has a cavity with an upward opening, and the top cover 92 is movably and detachably covered on the opening side of the bottom case 911, so that the accommodating space is formed between the bottom case 911 and the top cover 92. In an example, the top cover 92 is movably connected with the bottom case 911 by a buckle, and the top cover 92 can move up and down along the direction of the buckle on the bottom case 911. The side of the top cover 92 facing the cavity is provided with first operation parts 921, the number and positions of the first operation parts 921 correspond to the trigger elements, when in use, the first operation parts 921 can be displaced up and down along the direction of the buckles on the bottom case 911 in response to the external operation force of the operation body, so that the top cover 92 moves from the first position to the second position under the action of external operation; when the top cover 92 is in the second position state, the first operation portion 921 arranged on the top cover 92 can trigger the corresponding trigger element, so that the triggered operation element generates a trigger signal and transmits the trigger signal to the circuit board 94, the circuit board 94 is provided with a communication circuit for processing and transmitting the signal, and the communication circuit generates a message according to the trigger signal and a preset communication protocol, and then transmits the message. The first position is a position where the top cover 92 is not pressed, or is an original position of the top cover 92. The generator 93 comprises an elastic shifting piece (not shown in the figure), which can be driven to trigger the generator 93 to generate electric energy; the transmitting device further comprises a reset piece 95, wherein the reset piece 95 is arranged between the elastic shifting piece and the bottom case 911; a second operating part 922 is arranged on one side of the top cover 92 facing the cavity, the position of the second operating part is adapted to the position of the elastic shifting piece, and when the top cover 92 is in the second position state, the second operating part 922 can trigger the generator 93 to generate electric energy by pressing the elastic shifting piece; the reset piece 95 can generate a reset action force on the elastic shifting piece when the operation force for pressing the top cover 92 is removed, so as to drive the top cover 92 to reset from the second position to the first position.
Referring to fig. 10, fig. 10 is a block diagram of a wireless pairing apparatus according to an embodiment of the present invention. The wireless pairing apparatus 10 is applied to a terminal, the terminal being connectable with an auxiliary communication device, the auxiliary communication device being capable of communicating with at least one receiving device; the wireless pairing apparatus includes:
a first receiving module 101, configured to receive first information and second information; the first information comprises information for identifying a transmitting device and the second information comprises information for identifying the receiving device;
a first display module 102 for displaying information for identifying the transmitting device and information for identifying the receiving device;
a first generating module 103 configured to generate third information in response to a selection operation of the displayed information for identifying the transmitting device and the information for identifying the receiving device, the third information including the information for identifying the transmitting device and the information for identifying the receiving device;
a first sending module 104, configured to send the third information to the auxiliary communication device, so that: the auxiliary communication device sends the third information outwards, and the receiving device receives the third information.
Referring to fig. 11, fig. 11 is a block diagram of a wireless pairing apparatus according to an embodiment of the present invention. The wireless pairing apparatus 11 is applied to a terminal, which is capable of communicating with at least one receiving device; the wireless pairing apparatus includes:
a second receiving module 111, configured to receive the first information and the second information; the first information comprises information for identifying a transmitting device and the second information comprises information for identifying the receiving device;
a second display module 112 for displaying information for identifying the transmitting device and information for identifying the receiving device;
a second generating module 113 configured to generate third information in response to a selection operation of the displayed information for identifying the transmitting device and the information for identifying the receiving device, the third information including the information for identifying the transmitting device and the information for identifying the receiving device;
a second sending module 114, configured to send the third information outwards, so that: the receiving device receives the third information.
Referring to fig. 12, fig. 12 is a block diagram of a wireless pairing apparatus shown in fig. 12 according to an embodiment of the present invention. The wireless pairing apparatus 12 is applied to a receiving device which is capable of communicating with a terminal through an auxiliary communication device which is capable of communicating with at least one transmitting device; the wireless pairing apparatus includes:
a third sending module 121, configured to send second information to the auxiliary communication device, where the second information includes information for identifying the receiving device, so that the auxiliary communication device forwards the second information to the terminal, so that: the terminal generates third information based on the received selection operation of the information for identifying the receiving equipment and the selection operation of the information for identifying the transmitting equipment;
a third receiving module 122, configured to receive the third information sent by the auxiliary communication device; the third information is sent by the terminal to the auxiliary communication device, and the third information includes information for identifying the transmitting device and information for identifying the receiving device.
Referring to fig. 13, fig. 13 is a block diagram of a wireless pairing apparatus according to a fourth embodiment of the present invention. The wireless pairing device 13 is applied to an auxiliary communication device which can communicate with the terminal and which can also communicate with at least one transmitting device and at least one receiving device; the wireless pairing apparatus includes:
a fourth receiving module 131, configured to receive first information sent by the sending device, where the first information includes information for identifying the sending device; the auxiliary communication equipment receives second information sent by the receiving equipment, wherein the second information comprises information used for identifying the receiving equipment;
a fourth sending module 132, configured to send the first information and the second information to the terminal, so that: the terminal displays information for identifying the transmitting device and information for identifying the receiving device;
a fifth receiving module 133, configured to receive third information sent by the terminal after the terminal generates the third information in response to a selection operation of the displayed information for identifying the transmitting device and the displayed information for identifying the receiving device; the third information includes information for identifying the transmitting device and information for identifying the receiving device;
a fifth sending module 134, configured to send the third information outwards, so that: the receiving device receives the third information.
The functions or operation steps of the program modules implemented when executed are substantially the same as those of the embodiments, and are not described herein again.
Referring to fig. 14, fig. 14 is a schematic structural diagram of an electronic device according to an embodiment of the invention. The present embodiment provides an electronic device 14 (i.e., a wireless pairing apparatus) including:
a processor 141; and the number of the first and second groups,
a memory 142 for storing a program of the processor;
wherein the processor 141 is configured to perform the steps of the above-mentioned method via execution of the program.
The processor 142 can communicate with the memory 142 over a bus 143.
The present embodiments also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above-mentioned method.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (61)

1. A wireless pairing method is applied to a terminal, and is characterized in that the terminal can communicate with an auxiliary communication device, and the auxiliary communication device can communicate with at least one receiving device; the method comprises the following steps:
the terminal receives first information and second information; the first information comprises information for identifying a transmitting device and the second information comprises information for identifying the receiving device;
the terminal displays information for identifying the transmitting device and information for identifying the receiving device;
the terminal responds to the selection operation of the displayed information for identifying the transmitting equipment and the information for identifying the receiving equipment, and generates third information, wherein the third information comprises the information for identifying the transmitting equipment and the information for identifying the receiving equipment;
the terminal sends the third information to the secondary communication device such that: the auxiliary communication device sends the third information outwards, and the receiving device receives the third information.
2. The wireless pairing method of claim 1, wherein the terminal displaying information identifying the transmitting device comprises: the terminal displays at least one first identifier, wherein the first identifier is used for identifying the transmitting equipment; the terminal displaying information for identifying the receiving device includes: the terminal displays at least one second identifier, wherein the second identifier is used for identifying the receiving equipment; the method further comprises the following steps:
the terminal receives a selection operation acting on at least one first identifier;
the terminal receives a selection operation acting on at least one of the second identities.
3. The wireless pairing method according to claim 2, wherein the display interface of the terminal includes a first display area and a second display area; the terminal displaying the information for identifying the transmitting device and the information for identifying the receiving device includes:
displaying at least one first mark in the first display area;
and displaying at least one second mark in the second display area.
4. The wireless pairing method according to claim 2 or 3, wherein the display interface of the terminal comprises a third display area and a fourth display area; the terminal responding to the selection operation of the displayed information for identifying the transmitting equipment and the information for identifying the receiving equipment comprises the following steps:
displaying at least one first identifier subjected to the selection operation in the third display area;
and displaying at least one second mark subjected to the selection operation in the fourth display area.
5. The wireless pairing method according to claim 1, wherein the display interface of the terminal includes a fifth display area, and the fifth display area displays at least one control action type, and the control action type is used for representing a control action type of the transmitting device on the receiving device.
6. The wireless pairing method of claim 5, wherein the control action type comprises a first control action type, and wherein the first control action type is used for characterizing that the transmitting device controls the receiving device to perform a flipping operation so that the receiving device switches between a first state and a second state.
7. The wireless pairing method as claimed in claim 5 or 6, wherein the control action type comprises a second control action type, and the second control action type is used for characterizing that the transmitting device controls the receiving device to perform a fixed operation.
8. The wireless pairing method of claim 2, further comprising:
the terminal receives a selection operation of at least one control action type acting on the display;
the third information further includes: control action type information corresponding to the control action type to which the selection operation is applied.
9. The wireless pairing method of claim 2, further comprising:
the terminal receives a first trigger operation acting on the second identifier;
and the terminal responds to the first trigger operation and displays a sixth display area, and the sixth display area displays at least one first functional component.
10. The wireless pairing method of claim 9, further comprising:
the terminal receives a second trigger operation acting on the first functional component;
the terminal generates and transmits fourth information to the auxiliary communication device in response to the second trigger operation, so that: the auxiliary communication device sends the fourth information outwards, and the receiving device receives the fourth information.
11. The wireless pairing method according to claim 10, wherein the fourth information includes information for identifying the receiving device and type information corresponding to the first functional component to which the second trigger operation is applied.
12. The wireless pairing method according to any one of claims 9 to 11, wherein the type of the first functional component comprises at least one of a controlled switch type, a relay type, a default output type, or a heartbeat type.
13. The wireless pairing method according to claim 12, wherein the relay type is used to characterize turning on or off a relay function of the receiving device, so that the receiving device can forward the received information when the relay function is turned on.
14. The wireless pairing method of claim 1 or 8, wherein the method further comprises: the terminal encapsulates the third information according to a first communication protocol to generate a first message;
the terminal sending the third information to the auxiliary communication device includes: the terminal sends the first message to the auxiliary communication equipment;
wherein the auxiliary communication device and the receiving device communicate information therebetween according to the first communication protocol.
15. The wireless pairing method of claim 2, wherein the first information comprises information identifying the transmitting device, comprising: the first information comprises a third identifier for identifying the transmitting device; the second information includes information for identifying the receiving device, including: the second information comprises a fourth identification for identifying the receiving device; the method further comprises the following steps:
the terminal receives the input first identification and the input second identification;
and the terminal establishes an association relationship between the first identifier and the third identifier, and the terminal establishes an association relationship between the second identifier and the fourth identifier.
16. The wireless pairing method of claim 1, wherein the terminal receiving the first information comprises: and the terminal receives the first information sent by the auxiliary communication equipment, or the terminal receives the input first information.
17. The wireless pairing method of claim 16, wherein the terminal receiving the input first information comprises:
receiving information which is input through an input box and used for identifying transmitting equipment in response to a first input trigger instruction; or responding to the second entry trigger instruction, and receiving the information which is acquired by scanning the two-dimensional code and used for identifying the transmitting equipment.
18. The wireless pairing method of claim 1, wherein the terminal receiving the second information comprises: and the terminal receives the second information sent by the auxiliary communication equipment, or the terminal receives the input second information.
19. The wireless pairing method of claim 18, wherein the terminal receiving the input second information comprises:
receiving information which is input through the input box and used for identifying the receiving equipment in response to the third input triggering instruction; or, receiving information for identifying the receiving equipment, which is acquired by scanning the two-dimensional code, in response to the fourth entry trigger instruction.
20. The wireless pairing method of claim 8, further comprising:
exporting a preset format file; the preset format file comprises the first identifier, the second identifier and the incidence relation among the control action type information in the corresponding third information.
21. The wireless pairing method of claim 20, wherein the auxiliary communication device is further capable of communicating with at least one receiving device to be matched, the method further comprising:
the terminal imports a file with a preset format and displays the first identifier;
the terminal receives an input fifth identifier for identifying transmitting equipment to be matched, and establishes an association relation between the first identifier and the fifth identifier;
the terminal displays the second identification;
and the terminal receives an input sixth identifier for identifying the receiving equipment to be matched and establishes an association relation between the second identifier and the sixth identifier.
22. The wireless pairing method of claim 21, wherein the method further comprises:
a display interface of the terminal displays a second functional component;
receiving a third trigger operation acting on the second functional component;
generating fifth information in response to the third trigger operation, wherein the fifth information comprises the fifth identifier and the sixth identifier.
23. The wireless pairing method according to claim 22, wherein the fifth information further includes control action type information in third information corresponding to the first identifier and the second identifier.
24. A wireless pairing method is applied to a terminal, and is characterized in that the terminal can communicate with at least one receiving device; the method comprises the following steps:
the terminal receives first information and second information; the first information comprises information for identifying a transmitting device and the second information comprises information for identifying the receiving device;
the terminal displays information for identifying the transmitting device and information for identifying the receiving device;
the terminal responds to the selection operation of the displayed information for identifying the transmitting equipment and the information for identifying the receiving equipment, and generates third information, wherein the third information comprises the information for identifying the transmitting equipment and the information for identifying the receiving equipment;
the terminal sends the third information outwards, so that: the receiving device receives the third information.
25. The wireless pairing method of claim 24, further comprising:
and the terminal displays at least one control action type, wherein the control action type is used for representing the control action type of the transmitting equipment to the receiving equipment.
26. The wireless pairing method of claim 25, further comprising:
the terminal receives a selection operation of at least one control action type acting on the display;
the third information further includes: control action type information corresponding to the control action type to which the selection operation is applied.
27. The wireless pairing method of claim 24, wherein the terminal is capable of communicating with at least one transmitting device; the terminal receiving the first information comprises:
and the terminal receives the first information sent by the transmitting equipment, or the terminal receives the input first information.
28. The wireless pairing method of claim 24, wherein after the terminal sends the third information to the receiving device, the method further comprises:
the terminal receives a first type of data frame sent by the transmitting equipment; the first type data frame is determined by the transmitting equipment according to the equipment information of the transmitting equipment and the control information generated by the transmitting equipment; the first type data frame comprises an address field and a load part, a first part in the equipment information forms the address field of the first type data frame, and a second part in the equipment information and the control information form the load part of the first type data frame together.
29. The wireless pairing method of claim 28, wherein the device information comprises: the source identifier of the transmitting device, the device type of the transmitting device, and the control information include: controlling parameters;
the generation process of the first type data frame comprises the following steps: generating a first type data frame according to the source identification of the transmitting equipment, the equipment type of the transmitting equipment and the control parameter; wherein the source identifier is used for determining an address field of the first type of data frame;
the method further comprises the following steps:
the terminal determines the equipment type of the receiving equipment;
the terminal determines the type of a command for controlling the receiving equipment according to the equipment type of the receiving equipment and the control parameter;
the terminal generates a second type data frame according to the equipment type of the receiving equipment and the type of the command;
the terminal sends the second type data frame to the receiving device, so that: the receiving device executes the corresponding command;
the data types of data carried by preset bits in the frame control fields of the first type of data frame and the second type of data frame are different; the destination identification of the receiving device is used to determine the address field of the second type data frame.
30. The wireless pairing method of claim 29, wherein the second type data frame is formed by an address field of the second type data frame and a payload portion of the second type data frame.
31. The wireless pairing method of claim 30, wherein a byte length corresponding to a payload portion of the second type data frame is determined by a type of the command.
32. The wireless pairing method according to claim 30, wherein when the command is of a first type, the payload portion of the second type data frame is determined by a device type of the receiving device, the first type, and a first command content;
the first command content is determined by the type of the command.
33. The wireless pairing method of claim 32, wherein when the command is of a first type and the control parameter of the transmitting device is null, the payload portion of the data frame of the second type is determined by the device type of the receiving device and the first type.
34. The wireless pairing method of claim 30, wherein when the command is of a second type and the command of the second type has a first attribute, the payload portion of the second type of data frame is determined by a device type of the receiving device, the second type, and a second command content;
the second command content is determined by the type of the command.
35. The wireless pairing method of claim 30, wherein when the command is of a second type and the command of the second type has a second attribute, the payload portion of the second type of data frame is determined by a device type of the receiving device, the second type, and a third command content;
the third command content is determined by the device type of the receiving device and the type of the command in common.
36. The wireless pairing method of claim 29, wherein a frame control field of the second type data frame carries forwarding information;
the forwarding information is used for triggering the function of the receiving device for forwarding data to other receiving devices.
37. The wireless pairing method according to any of the claims 28-30, wherein the data frame carries verification information;
the verification information is used for: dividing the data frame into a first part and a second part from a preset position, and verifying the first part to obtain a first verification result corresponding to the first part; and checking the second part to obtain a second checking result corresponding to the second part, or checking the first part, the first checking result and the second part to obtain the second checking result.
38. The wireless pairing method of any one of claims 28 to 30, wherein the data frame comprises a header portion, the header portion being determined by protocol version information, the protocol version information being used to determine a data protocol type of data processing.
39. A wireless pairing method is applied to a receiving device, and is characterized in that the receiving device can communicate with a terminal through an auxiliary communication device, and the auxiliary communication device can communicate with at least one transmitting device; the method comprises the following steps:
the receiving device sends second information to the auxiliary communication device, where the second information includes information for identifying the receiving device, so that the auxiliary communication device forwards the second information to the terminal, so that: the terminal generates third information based on the received selection operation of the information for identifying the receiving equipment and the selection operation of the information for identifying the transmitting equipment;
the receiving device receives the third information sent by the auxiliary communication device; the third information is sent by the terminal to the auxiliary communication device, and the third information includes information for identifying the transmitting device and information for identifying the receiving device.
40. The wireless pairing method of claim 39, wherein the receiving device sends second information to the secondary communication device, comprising:
and transmitting the second information to the auxiliary communication equipment according to a first time interval in a preset time unit.
41. The wireless pairing method of claim 39, wherein the receiving device sends second information to the secondary communication device, comprising:
and sending the second information to the auxiliary communication equipment according to a second time interval within a preset time length taking the power-on time of the receiving equipment as the starting time.
42. The wireless pairing method of claim 39, wherein the receiving device sends second information to the secondary communication device, comprising:
and when detecting that the receiving equipment meets a preset trigger condition, sending the second information to the auxiliary communication equipment according to a third time interval.
43. The wireless pairing method of claim 39, wherein the receiving device sends second information to the secondary communication device, comprising:
when the communication connection between the transmitting equipment and the receiving equipment is in a disconnected state, receiving a first trigger instruction sent by the transmitting equipment; the transmitting device is a transmitting device which has established connection with the receiving device, or is a transmitting device which has not established connection with the receiving device, or is a transmitting device with a preset address;
and responding to the first trigger instruction, and sending second information of the receiving equipment to the auxiliary communication equipment according to a fourth time interval.
44. The wireless pairing method of claim 39, wherein the receiving device sends second information to the secondary communication device, comprising:
receiving a query instruction from the secondary communication device;
and responding to the query instruction, and sending second information of the receiving device to the auxiliary communication device according to a fifth time interval.
45. The wireless pairing method of any one of claims 39-44, wherein the third information further comprises: control action type information; the control action type information is generated by the terminal in response to the selection operation of at least one displayed control action type, and the control action type is used for representing the control action type of the transmitting device to the receiving device.
46. The wireless pairing method of claim 45, wherein after the receiving device receives the third information sent by the secondary communication device, the method further comprises:
the receiving device receives sixth information sent by the transmitting device, wherein the sixth information comprises identification information of the transmitting device, identification information of the receiving device and control information;
the receiving device matches the identification information of the transmitting device and the identification information of the receiving device with the information for identifying the transmitting device and the information for identifying the receiving device in the third information;
and if so, the receiving equipment executes the operation pointed by the control information according to the control action type information in the third information.
47. The wireless pairing method of claim 46, further comprising:
the receiving equipment receives fourth information sent by the auxiliary communication equipment, wherein the fourth information comprises information used for identifying the receiving equipment and type information corresponding to a first functional component subjected to second trigger operation on the terminal;
and the receiving equipment responds to the fourth information and starts or closes the corresponding function according to the type information corresponding to the first functional component in the fourth information.
48. The wireless pairing method of claim 47, wherein the type information corresponding to the first functional component in the fourth information comprises relay type information, and wherein the turning on or off of the corresponding function according to the type information corresponding to the first functional component in the fourth information by the receiving device in response to the fourth information comprises:
the receiving equipment responds to the relay type information in the fourth information and starts or closes a relay function;
the method further comprises the following steps:
and when the relay function is started, the receiving equipment forwards the sixth information to other receiving equipment.
49. A wireless pairing method is applied to an auxiliary communication device, and is characterized in that the auxiliary communication device can communicate with a terminal and can also communicate with at least one transmitting device and at least one receiving device; the method comprises the following steps:
the auxiliary communication equipment receives first information sent by the transmitting equipment, wherein the first information comprises information for identifying the transmitting equipment; the auxiliary communication equipment receives second information sent by the receiving equipment, wherein the second information comprises information used for identifying the receiving equipment;
the auxiliary communication device sends the first information and the second information to the terminal such that: the terminal displays information for identifying the transmitting device and information for identifying the receiving device;
after the terminal responds to the selection operation of the displayed information for identifying the transmitting equipment and the information for identifying the receiving equipment and generates third information, the auxiliary communication equipment receives the third information sent by the terminal; the third information includes information for identifying the transmitting device and information for identifying the receiving device;
the auxiliary communication device sends the third information outwards so that: the receiving device receives the third information.
50. The wireless pairing method of claim 49, wherein the third information further comprises: control action type information; the control action type information is generated by the terminal in response to the selection operation of at least one displayed control action type, and the control action type is used for representing the control action type of the transmitting device to the receiving device.
51. The wireless pairing method of claim 49 or 50, wherein the method further comprises:
the auxiliary communication equipment encapsulates the third information according to a first communication protocol to generate a first message;
the auxiliary communication device sending the third information to the receiving device, including: the auxiliary communication equipment sends the first message to the receiving equipment;
wherein the auxiliary communication device and the receiving device communicate information therebetween according to the first communication protocol.
52. The wireless pairing method of claim 49, wherein the auxiliary communication device receives the first information sent by the transmitting device, comprising:
the auxiliary communication equipment receives first information sent by the transmitting equipment when a preset trigger operation is detected.
53. The wireless pairing method of claim 49, wherein the transmitting device comprises at least three trigger elements, wherein the at least three trigger elements comprise at least two trigger element combinations, and wherein any two trigger element combinations comprise at least one different trigger element; any one trigger element combination corresponds to an output signal;
when all trigger elements in any trigger element combination are triggered and at least one trigger element which is not triggered is included in the rest trigger element combinations, the transmitting equipment outputs output signals corresponding to the trigger element combinations with all triggered trigger elements.
54. The wireless pairing method of claim 53,
the transmitting equipment comprises four trigger elements which are symmetrically arranged, two adjacent trigger elements form a trigger element combination, and any trigger element combination corresponds to an output signal;
when all trigger elements in any trigger element combination are triggered and at least one trigger element which is not triggered is included in the rest trigger element combinations, the transmitting equipment outputs an output signal corresponding to the trigger element combination.
55. The wireless pairing method of claim 53 or 54, wherein the transmitting device is a self-generating wireless switch.
56. A wireless pairing device is applied to a terminal, and is characterized in that the terminal can be connected with an auxiliary communication device, and the auxiliary communication device can communicate with at least one receiving device; the wireless pairing apparatus includes:
the first receiving module is used for receiving the first information and the second information; the first information comprises information for identifying a transmitting device and the second information comprises information for identifying the receiving device;
a first display module for displaying information for identifying the transmitting device and information for identifying the receiving device;
a first generating module configured to generate third information in response to a selection operation of the displayed information for identifying the transmitting apparatus and the information for identifying the receiving apparatus, the third information including information for identifying the transmitting apparatus and information for identifying the receiving apparatus;
a first sending module for sending the third information to the auxiliary communication device such that: the auxiliary communication device sends the third information outwards, and the receiving device receives the third information.
57. A wireless pairing device is applied to a terminal, and is characterized in that the terminal can communicate with at least one receiving device; the wireless pairing apparatus includes:
the second receiving module is used for receiving the first information and the second information; the first information comprises information for identifying a transmitting device and the second information comprises information for identifying the receiving device;
a second display module for displaying information for identifying the transmitting device and information for identifying the receiving device;
a second generating module configured to generate third information in response to a selection operation of the displayed information for identifying the transmitting apparatus and the information for identifying the receiving apparatus, the third information including information for identifying the transmitting apparatus and information for identifying the receiving apparatus;
a second sending module, configured to send the third information outwards, so that: the receiving device receives the third information.
58. A wireless pairing device is applied to a receiving device, and is characterized in that the receiving device can communicate with a terminal through an auxiliary communication device, and the auxiliary communication device can communicate with at least one transmitting device; the wireless pairing apparatus includes:
a third sending module, configured to send second information to the auxiliary communication device, where the second information includes information for identifying the receiving device, so that the auxiliary communication device forwards the second information to the terminal, so that: the terminal generates third information based on the received selection operation of the information for identifying the receiving equipment and the selection operation of the information for identifying the transmitting equipment;
a third receiving module, configured to receive the third information sent by the auxiliary communication device; the third information is sent by the terminal to the auxiliary communication device, and the third information includes information for identifying the transmitting device and information for identifying the receiving device.
59. A wireless pairing device is applied to an auxiliary communication device, and is characterized in that the auxiliary communication device can communicate with a terminal and can also communicate with at least one transmitting device and at least one receiving device; the wireless pairing apparatus includes:
a fourth receiving module, configured to receive first information sent by the transmitting device, where the first information includes information used to identify the transmitting device; the auxiliary communication equipment receives second information sent by the receiving equipment, wherein the second information comprises information used for identifying the receiving equipment;
a fourth sending module, configured to send the first information and the second information to the terminal, so that: the terminal displays information for identifying the transmitting device and information for identifying the receiving device;
a fifth receiving module, configured to receive third information sent by the terminal after the terminal generates the third information in response to a selection operation on the displayed information for identifying the transmitting device and the displayed information for identifying the receiving device; the third information includes information for identifying the transmitting device and information for identifying the receiving device;
a fifth sending module, configured to send the third information outwards, so that: the receiving device receives the third information.
60. A wireless pairing apparatus, comprising:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to: when executed, implement the steps of any of the wireless pairing methods of claims 1 to 55.
61. A non-transitory computer readable storage medium having instructions stored thereon that, when executed by a processor of a wireless pairing apparatus, enable the apparatus to perform the steps of any of the above claims 1 through 55 in a wireless pairing method.
CN202111363688.6A 2021-11-17 2021-11-17 Wireless pairing method, device and storage medium Pending CN114143908A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111363688.6A CN114143908A (en) 2021-11-17 2021-11-17 Wireless pairing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111363688.6A CN114143908A (en) 2021-11-17 2021-11-17 Wireless pairing method, device and storage medium

Publications (1)

Publication Number Publication Date
CN114143908A true CN114143908A (en) 2022-03-04

Family

ID=80390449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111363688.6A Pending CN114143908A (en) 2021-11-17 2021-11-17 Wireless pairing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN114143908A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024087836A1 (en) * 2022-10-27 2024-05-02 湖南三一智能控制设备有限公司 Pairing method, transmitter, remote control system and operation machine

Citations (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130316649A1 (en) * 2012-05-26 2013-11-28 Adam E. Newham Smart pairing using bluetooth® technology
US20140141721A1 (en) * 2012-11-21 2014-05-22 Lg Electronics Inc. Method for controlling system including electronic tag, mobile device, and display device, and mobile device and display device of the same
WO2016047902A1 (en) * 2014-09-23 2016-03-31 엘지전자 주식회사 Mobile terminal and method for controlling same
US20160277878A1 (en) * 2015-03-16 2016-09-22 Samsung Electronics Co., Ltd. Method for communicating data and electronic device thereof
CN106131771A (en) * 2016-07-01 2016-11-16 福建联迪商用设备有限公司 A kind of mobile phone and payment terminal Bluetooth pairing methods and device
US20160337496A1 (en) * 2015-05-15 2016-11-17 Microsoft Technology Licensing, Llc Automatic device pairing
CN106411621A (en) * 2016-12-09 2017-02-15 中国科学院深圳先进技术研究院 Internet of Things device, network configuring method, apparatus, system and terminal for the same
US20170215030A1 (en) * 2016-01-22 2017-07-27 Lg Electronics Inc. Method and apparatus for controlling a device using bluetooth technology
CN107730859A (en) * 2017-09-22 2018-02-23 Tcl通力电子(惠州)有限公司 Wireless device pairing method, device and storage medium
CN108259164A (en) * 2016-12-29 2018-07-06 华为技术有限公司 The identity identifying method and equipment of a kind of internet of things equipment
CN109217006A (en) * 2018-09-28 2019-01-15 东莞市圣荣自动化科技有限公司 A kind of barcode scanning formula power outlet in Internet of Things
CN109618319A (en) * 2019-01-02 2019-04-12 百度在线网络技术(北京)有限公司 Communicate to connect method for building up, device, electronic equipment and readable storage medium storing program for executing
CN110166508A (en) * 2018-02-12 2019-08-23 硬蛋科技(北京)有限公司 Method, apparatus, computer storage medium and the system of information exchange
US20190289648A1 (en) * 2014-04-16 2019-09-19 Belkin International, Inc. Discovery of connected devices to determine control capabilities and meta-information
WO2020062304A1 (en) * 2018-09-30 2020-04-02 华为技术有限公司 File transmission method and electronic device
CN111273579A (en) * 2020-01-18 2020-06-12 武汉领普科技有限公司 Receiver, processing method and system thereof and control assembly based on self-generating switch
CN111459433A (en) * 2020-03-30 2020-07-28 广州视源电子科技股份有限公司 Screen transmission method, equipment and storage medium
CN111601121A (en) * 2020-04-28 2020-08-28 西安万像电子科技有限公司 Equipment connection method and system in wireless video transmission system
CN111669430A (en) * 2020-04-30 2020-09-15 华为技术有限公司 Communication method, method for controlling Internet of things equipment and electronic equipment
CN112351322A (en) * 2019-08-09 2021-02-09 华为技术有限公司 Terminal device, method and system for realizing touch screen projection through remote controller
CN113055873A (en) * 2021-03-11 2021-06-29 Oppo广东移动通信有限公司 Method and device for identifying devices, electronic device and storage medium
CN113259942A (en) * 2021-05-17 2021-08-13 广州极飞科技股份有限公司 Connection method, connection device, electronic equipment, connection system and computer-readable storage medium
CN113301543A (en) * 2020-02-21 2021-08-24 华为技术有限公司 Method for discovering and distributing network, electronic device and system

Patent Citations (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130316649A1 (en) * 2012-05-26 2013-11-28 Adam E. Newham Smart pairing using bluetooth® technology
US20140141721A1 (en) * 2012-11-21 2014-05-22 Lg Electronics Inc. Method for controlling system including electronic tag, mobile device, and display device, and mobile device and display device of the same
US20190289648A1 (en) * 2014-04-16 2019-09-19 Belkin International, Inc. Discovery of connected devices to determine control capabilities and meta-information
WO2016047902A1 (en) * 2014-09-23 2016-03-31 엘지전자 주식회사 Mobile terminal and method for controlling same
US20170289329A1 (en) * 2014-09-23 2017-10-05 Lg Electronics Inc. Mobile terminal and method for controlling same
US20160277878A1 (en) * 2015-03-16 2016-09-22 Samsung Electronics Co., Ltd. Method for communicating data and electronic device thereof
US20160337496A1 (en) * 2015-05-15 2016-11-17 Microsoft Technology Licensing, Llc Automatic device pairing
US20170215030A1 (en) * 2016-01-22 2017-07-27 Lg Electronics Inc. Method and apparatus for controlling a device using bluetooth technology
CN106131771A (en) * 2016-07-01 2016-11-16 福建联迪商用设备有限公司 A kind of mobile phone and payment terminal Bluetooth pairing methods and device
CN106411621A (en) * 2016-12-09 2017-02-15 中国科学院深圳先进技术研究院 Internet of Things device, network configuring method, apparatus, system and terminal for the same
CN108259164A (en) * 2016-12-29 2018-07-06 华为技术有限公司 The identity identifying method and equipment of a kind of internet of things equipment
CN107730859A (en) * 2017-09-22 2018-02-23 Tcl通力电子(惠州)有限公司 Wireless device pairing method, device and storage medium
CN110166508A (en) * 2018-02-12 2019-08-23 硬蛋科技(北京)有限公司 Method, apparatus, computer storage medium and the system of information exchange
CN109217006A (en) * 2018-09-28 2019-01-15 东莞市圣荣自动化科技有限公司 A kind of barcode scanning formula power outlet in Internet of Things
WO2020062304A1 (en) * 2018-09-30 2020-04-02 华为技术有限公司 File transmission method and electronic device
CN109618319A (en) * 2019-01-02 2019-04-12 百度在线网络技术(北京)有限公司 Communicate to connect method for building up, device, electronic equipment and readable storage medium storing program for executing
CN112351322A (en) * 2019-08-09 2021-02-09 华为技术有限公司 Terminal device, method and system for realizing touch screen projection through remote controller
WO2021027616A1 (en) * 2019-08-09 2021-02-18 华为技术有限公司 Terminal device, method and system for realizing one-touch screen projection through remote control
CN111273579A (en) * 2020-01-18 2020-06-12 武汉领普科技有限公司 Receiver, processing method and system thereof and control assembly based on self-generating switch
CN113301543A (en) * 2020-02-21 2021-08-24 华为技术有限公司 Method for discovering and distributing network, electronic device and system
CN111459433A (en) * 2020-03-30 2020-07-28 广州视源电子科技股份有限公司 Screen transmission method, equipment and storage medium
CN111601121A (en) * 2020-04-28 2020-08-28 西安万像电子科技有限公司 Equipment connection method and system in wireless video transmission system
CN111669430A (en) * 2020-04-30 2020-09-15 华为技术有限公司 Communication method, method for controlling Internet of things equipment and electronic equipment
CN113055873A (en) * 2021-03-11 2021-06-29 Oppo广东移动通信有限公司 Method and device for identifying devices, electronic device and storage medium
CN113259942A (en) * 2021-05-17 2021-08-13 广州极飞科技股份有限公司 Connection method, connection device, electronic equipment, connection system and computer-readable storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
J. ZOU ET AL.: "Discovery Signal Design and its Application to Peer-to-Peer Communications in OFDMA Cellular Networks", 《IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS》 *
N. SAXENA, J. -E. EKBERG, K. KOSTIAINEN AND N. ASOKAN: "Secure Device Pairing Based on a Visual Channel: Design and Usability Study", 《IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY》 *
刘家佳: "《移动智能终端安全》", 西安电子科技大学出版社 *
许晋: "天地一体化网络可信身份认证机制研究", 《中国博士学位论文全文数据库》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024087836A1 (en) * 2022-10-27 2024-05-02 湖南三一智能控制设备有限公司 Pairing method, transmitter, remote control system and operation machine

Similar Documents

Publication Publication Date Title
Song et al. A wireless power outlet system for smart homes
CN111221273B (en) Control method, system, gateway, wall switch and cloud based on wireless switch
KR102273306B1 (en) A method for establishing a wireless connection between electronic devices
CN111193626B (en) System, method, storage medium and switch for remotely controlling switch
CN107070690B (en) Networking core device for electronic module, wireless networking method and intelligent network system based on electronic module
KR20140052690A (en) Electronic apparatus and control method of system
WO2021121372A1 (en) Method for implementing control of wireless passive switch, wireless passive switch, and proxy node
TW201635806A (en) Load control system, communication device, load control device, and registration method
CN114143908A (en) Wireless pairing method, device and storage medium
CN105093941A (en) Condition-controlled intelligent household system, and condition configuration and control method based on intelligent household system
CN108776442B (en) Self-generating passive switch and working method thereof
CN110045705A (en) Using the intelligent home furnishing control method of heterogeneous wireless network, apparatus and system
US8922349B2 (en) Control circuit, system for operating a device and device for programming such a control circuit
CN109709880B (en) Control method and control system of projector
CN114156101B (en) Self-generating switch, distribution network method thereof and processing system
CN111766999A (en) Extended control system based on physical keys and method for quickly accessing terminal
CN110568832A (en) Remote controller, coordinator, intelligent household equipment and remote control system
CN109712380A (en) Find method and device, the storage medium, terminal device, remote control equipment of remote control equipment
CN106851788A (en) Wireless communication system based on CC2530 chips
CN114095914B (en) Doorbell control method, receiver, transmitter and storage medium
JP3854273B2 (en) Apparatus and method for setting communication packet
CN114520821B (en) Data processing method, device and storage medium
CN112114523A (en) Whole house thing allies oneself with intelligent control system based on intelligent house robot
CN210534768U (en) Air conditioner debugging system based on it is wireless programmable
CN112258701A (en) Ultra-low power consumption intelligent door lock development platform for intelligent home communication network

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