CN112165733B - Method and system for building point-to-point multichannel network of private protocol - Google Patents

Method and system for building point-to-point multichannel network of private protocol Download PDF

Info

Publication number
CN112165733B
CN112165733B CN202011022354.8A CN202011022354A CN112165733B CN 112165733 B CN112165733 B CN 112165733B CN 202011022354 A CN202011022354 A CN 202011022354A CN 112165733 B CN112165733 B CN 112165733B
Authority
CN
China
Prior art keywords
pairing
slave
host
response
packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011022354.8A
Other languages
Chinese (zh)
Other versions
CN112165733A (en
Inventor
谢凤丹
李涛
陈日平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN202011022354.8A priority Critical patent/CN112165733B/en
Publication of CN112165733A publication Critical patent/CN112165733A/en
Application granted granted Critical
Publication of CN112165733B publication Critical patent/CN112165733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application discloses a point-to-point multichannel network building method of a private protocol, which comprises the following steps: the host and the slave enter a pairing state respectively; the host computer sends a pairing request; the slave computer processes the pairing packet according to the pairing request and sends a pairing response to the host computer; the host receives the pairing response and sends a pairing success confirmation packet; the slave computer receives the pairing success confirmation packet and sends a pairing success confirmation response; the host computer stores pairing information. Compared with the prior art, the method has the following beneficial effects: the unique identification codes are verified when the connection is established between the host computer and the slave computer, and the connection is established only when the verification is passed. Therefore, a connection can only be established between a fixed master and slave without interference from connection packets of other devices.

Description

Method and system for building point-to-point multichannel network of private protocol
Technical Field
The application relates to the field of wireless transmission, in particular to a method and a system for building a point-to-point multi-channel network of a private protocol.
Background
With the maturity of wireless technology, more and more devices adopt wireless technology as a transmission mode of data transmission and command control, and a large number of wireless communication devices based on 2.4G frequency bands, such as wireless mouse, keyboard, wireless remote controller, wireless audio frequency, etc., exist in peripheral living space, wherein the wireless protocol of most devices depends on 2.4G-based general wireless protocols, such as wifi, zigbee, bluetooth, etc.
Because the working frequency points allowed by the equipment of each protocol are the same, when the environment is too much wireless equipment based on the general wireless protocol, the problems of frequency point interference, data packet collision in the air and the like are prominent, and a multi-channel private protocol is needed to avoid interference for one-to-one wireless transmission equipment requiring stability.
Disclosure of Invention
The main purpose of the present application is to provide a method for building a point-to-point multichannel network with a private protocol, comprising:
the host and the slave enter a pairing state respectively;
the host sends a pairing request;
the slave computer processes the pairing packet according to the pairing request and sends a pairing response to the host computer;
the host receives the pairing response and sends a pairing success confirmation packet;
the slave machine receives the pairing success confirmation packet and sends a pairing success confirmation response;
the host computer stores pairing information.
Optionally, the entering the pairing state by the master and the slave respectively comprises:
the host computer actively sends a pairing broadcast packet for an active initiator, the slave computer receives the pairing broadcast packet, and the host computer and the slave computer use the same data synchronous words special for pairing to perform data packet identification filtering.
Optionally, the sending, by the host, a pairing request includes:
the host continuously sends broadcasts in a frequency hopping list frequency point by frequency point, the broadcasts contain a command of a pairing request and a unique number of the host, after all the frequency points are sent out, the host is switched to a receiving state to wait for the response of the slave, and the broadcasts are repeated by taking time T as a period until the response is received or the pairing mode is manually exited;
wherein T = T R +T T ,T R Is waiting for a reception time, and T R =2×T T ,T T= T S ×n,T S The time occupied for transmitting the longest single packet for each frequency point, n is the number of frequency points, T T The waiting time is delayed after the receiver successfully receives the data.
Optionally, the slave processing a pairing packet according to the pairing request and sending a pairing response to the master includes:
the slave waits for receiving a request pairing command sent by the host and the unique code of the host when in a pairing state, and when the slave receives and analyzes successfully, the slave delays for one T T Continuously sending broadcast reply responses frequency point by frequency point after time, wherein the responses comprise pairing response command words and unique codes of the master machine and the slave machines, and the transmission is finishedThen the slave computer is switched to a receiving state, the unique code of the slave computer is used as a data packet synchronous word of wireless communication after being encrypted, the confirmation response of the master computer is waited, and T is used R And switching the receiving frequency points for the periodic frequency point-by-frequency point table, and directly and manually exiting the pairing mode.
Optionally, the receiving, by the host, the pairing response and sending a pairing success confirmation packet includes:
after receiving the request pairing response packet of the slave, the host analyzes and compares whether the host unique code of the slave response data packet is consistent with the own unique code, if so, the unique code of the slave is used as the synchronous word of the data packet after passing through the same encryption algorithm as the slave, and T is delayed T After time, the pairing success confirmation packet is transmitted frequency point by frequency point, the receiving state is switched after the transmission is finished, and the response packet waiting for the pairing success confirmation of the slave machine is received by T R And switching the receiving frequency points for the periodic frequency point-by-frequency point table, and directly and manually exiting the pairing mode.
Optionally, the receiving, by the slave, the pairing success confirmation packet and sending a pairing success confirmation response includes:
after the slave computer receives the pairing success confirmation packet of the host computer, delaying for T T Continuously allocating response packets for successful confirmation by time frequency points, and transmitting with T after completion R And switching the receiving frequency point waiting data for the periodic frequency point-by-frequency point table, and directly and manually exiting the pairing mode.
Optionally, the storing, by the host, the pairing information includes:
and after receiving the pairing success confirmation response packet replied by the slave, the host stores the unique code of the slave in a power-down mode to complete the construction of the point-to-point multi-channel network.
According to another aspect of the present application, there is also provided a peer-to-peer multi-channel network building system of a private protocol, including:
the pairing state entering module is used for controlling the host and the slave to respectively enter a pairing state;
a pairing request sending module for sending a pairing request;
the pairing packet processing module is used for processing a pairing packet according to the pairing request and sending a pairing response to the host;
a pairing success confirmation packet sending module, configured to receive the pairing response and send a pairing success confirmation packet;
the pairing success confirmation response module is used for receiving the pairing success confirmation packet and sending a pairing success confirmation response;
and the storage module is used for storing the pairing information.
The application also discloses a computer device, which comprises a memory, a processor and a computer program stored in the memory and capable of being executed by the processor, wherein the processor realizes the method of any one of the above items when executing the computer program.
The application also discloses a computer-readable storage medium, a non-volatile readable storage medium, having stored therein a computer program which, when executed by a processor, implements the method of any of the above.
Compared with the prior art, the method has the following beneficial effects:
according to the method and the system, the unique identification codes are verified when the connection is established between the host and the slave, and the connection is established only when the verification is passed. Therefore, a connection can only be established between the fixed master and the slave without interference from connection packets of other devices.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and the description of the exemplary embodiments of the present application are provided for explaining the present application and do not constitute an undue limitation on the present application. In the drawings:
fig. 1 is a schematic flow chart of a method for building a point-to-point multichannel network of a private protocol according to an embodiment of the present application;
FIG. 2 is a block diagram of a flow diagram of a method for peer-to-peer multi-channel network establishment for a private protocol according to one embodiment of the present application;
fig. 3 is a channel switching diagram in the time occupied by each frequency point and the time of receiving a wait response when an initiator actively sends out a data packet according to the method for building a peer-to-peer multichannel network with a private protocol according to an embodiment of the present application;
fig. 4 is a schematic view of channel switching of a receiving party waiting for receiving data in idle according to a peer-to-peer multichannel network building method of a private protocol according to an embodiment of the present application;
fig. 5 is a schematic flow chart of a receiving side of the private protocol peer-to-peer multi-channel network building method after successful reception according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a computer device according to one embodiment of the present application;
FIG. 7 is a schematic diagram of a computer-readable storage medium according to one embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the accompanying drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances in order to facilitate the description of the embodiments of the application 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.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Referring to fig. 1-2, an embodiment of the present application provides a method for building a peer-to-peer multi-channel network of a private protocol, including:
s1: the host and the slave enter a pairing state respectively;
s2: the host computer sends a pairing request;
s3: the slave computer processes the pairing packet according to the pairing request and sends a pairing response to the host computer;
s4: the host receives the pairing response and sends a pairing success confirmation packet;
s5: the slave machine receives the pairing success confirmation packet and sends a pairing success confirmation response;
s6: the host computer stores pairing information.
Referring to fig. 3, fig. 3 is a channel switching diagram of the occupation time of each frequency point and the reception waiting response time when the initiator of the method for building a peer-to-peer multi-channel network with a private protocol actively sends out a data packet according to an embodiment of the present application. In an embodiment of the present application, the entering the pairing state by the master and the slave respectively includes:
the host computer actively sends a pairing broadcast packet for an active initiator, the slave computer receives the pairing broadcast packet, and the host computer and the slave computer use the same data synchronous words special for pairing to perform data packet identification filtering.
Referring to fig. 4, fig. 4 is a schematic diagram of channel switching when a receiving side is idle and waiting to receive data, where a period of channel switching is T R . In an embodiment of the present application, the sending, by the host, a pairing request includes:
the host continuously sends broadcasts frequency point by frequency point in a frequency hopping list, the broadcasts contain a command of a pairing request and a unique number of the host, after all the frequency points are sent out, the host is switched to a receiving state to wait for the response of the slave, and the broadcasts are repeated by taking time T as a period until the response is received or the pairing mode is manually exited;
wherein T = T R +T T ,T R Is waiting for a reception time, and T R =2×T T ,T T =T S ×n,T S The time occupied for transmitting the longest single packet for each frequency point, n is the number of frequency points, T T The waiting time is delayed after the receiver successfully receives the data.
Referring to fig. 5, fig. 5 shows that the receiving party waits for T after receiving successfully T After the time, continuously transmitting by frequency points, immediately receiving after all channels are transmitted, and transmitting by T R And receiving for periodically switching channels. In an embodiment of the present application, the slave device processing a pairing packet according to the pairing request and sending a pairing response to the master device includes:
the slave waits for receiving a request pairing command sent by the host and the unique code of the host when in a pairing state, and when the slave receives and analyzes successfully, the slave delays for one T T Continuously sending broadcast reply responses frequency point by frequency point after time, wherein the responses comprise pairing response command words and unique codes of the host and the slave, converting the responses into a receiving state after the completion of transmission, encrypting the unique codes of the slave to form data packet synchronous words of wireless communication, waiting for the confirmation response of the host, and sending a response message to the slave by T R And switching the receiving frequency points for the periodic frequency point-by-frequency point table, and directly and manually exiting the pairing mode.
In an embodiment of the present application, the receiving, by the host, the pairing response and sending a pairing success confirmation packet includes:
after receiving the request pairing response packet of the slave, the host analyzes and compares whether the host unique code of the slave response data packet is consistent with the own unique code, if so, the unique code of the slave is used as the synchronous word of the data packet after passing through the same encryption algorithm as the slave, and T is delayed T After time, the pairing success confirmation packet is transmitted frequency point by frequency point, the receiving state is switched after the transmission is finished, and the response packet waiting for the pairing success confirmation of the slave machine is received by T R For periodic frequency point-by-point tablesAnd switching the receiving frequency points, and directly and manually exiting the pairing mode.
In an embodiment of the present application, the receiving, by the slave, the pairing success confirmation packet and sending a pairing success confirmation response includes:
after the slave computer receives the pairing success confirmation packet of the host computer, delaying for T T Continuously allocating response packets for successful confirmation by time frequency points and transmitting by T R And switching the receiving frequency point to wait for data for the periodic frequency point-by-frequency point table, and directly and manually exiting the pairing mode.
In an embodiment of the present application, the storing, by the host, the pairing information includes:
and after receiving the pairing success confirmation response packet replied by the slave, the host stores the unique code of the slave in a power-down mode to complete the construction of the point-to-point multi-channel network.
When channel connection is established, 1) the host A and the slave B which need one-to-one are respectively in a pairing state
When the equipment is in a pairing state, the host A actively sends out a pairing broadcast packet for an active initiator, the slave B waits for receiving a pairing broadcast packet for a receiving partner, and the host and the slave use the same data synchronization word special for pairing to perform data packet identification and filtration.
2) The host A sends a pairing request
The host A continuously sends broadcasts in the frequency hopping list frequency point by frequency point, the broadcasts contain the command of the pairing request and the unique number of the host A, and the assumption is made that each frequency point needs to take time T for transmitting the longest single packet S Then n frequency points need to occupy time T T =T S Xn, after all frequency points are transmitted, switching to receiving state to wait for slave B to respond, waiting for receiving time T R =2×T T One transmission and waiting period T being T R +T T, Repeating the broadcast with the time T as a period until a response is received or the pairing mode is manually exited;
3) Receiving processing pairing packet from slave B
The slave B waits for receiving the request pairing command sent by the A and the unique code of the A when in the pairing state, if the slave B receives the request pairing command and the unique code of the A, the slave B receives the request pairing commandIf the analysis is successful, delaying one T T Continuously sending broadcast reply responses frequency point by frequency point after time, wherein the responses comprise pairing response command words and unique codes of A and B, converting the responses into a receiving state after the completion of transmission, encrypting the unique codes of the slave B to form data packet synchronous words of wireless communication, waiting for the confirmation response of the host A, and sending a response T to the slave B R Switching the receiving frequency points for the periodic frequency point-by-frequency point table, and directly and manually exiting the pairing mode;
4) Host a pairing success confirmation
After receiving the request pairing response packet of the slave B, the host A analyzes and compares whether the host unique code of the response data packet of the slave B is consistent with the unique code of the host A, if so, the unique code of the slave B is used as a synchronous word of the data packet after passing through the same encryption algorithm as the slave B, and T is delayed T After time, the successful pairing confirmation packet is transmitted frequency point by frequency point, the receiving state is switched after the transmission is finished, and the response packet of the slave B waiting for successful pairing confirmation is received by T R Switching the receiving frequency points for the periodic frequency point-by-frequency point table, and directly and manually exiting the pairing mode;
5) Slave B pairing success acknowledgement
After receiving the pairing success confirmation packet of the slave B, delaying for one T T Continuously allocating response packets for successful confirmation by time frequency points and transmitting by T R Switching the receiving frequency point waiting data for the periodic frequency point-by-frequency point table, and directly and manually exiting from the pairing mode;
6) Host A saves pairing information
And after receiving the pairing success confirmation response packet replied by the slave B, the host A conducts power-off storage on the unique code of the slave B, so that the point-to-point multi-channel network is built.
When the normal work is carried out: reading the stored unique code of the slave after each power-on, and then encrypting the unique code to be used as a synchronous word of a data packet; t is used for receiving by the host and the slave R In order to periodically switch receiving frequency points, when any party does active transmission, the frequency point-by-frequency point continuous transmission is implemented, and after the transmission is completed, T is waited R Time, delay T T And starting transmission again for a time length, and if the time length is n multiplied by the time length, receiving without response.
According to another aspect of the present application, an embodiment of the present application further provides a peer-to-peer multichannel network building system of a private protocol, including:
the pairing state entering module is used for controlling the host and the slave to respectively enter a pairing state;
a pairing request sending module for sending a pairing request;
the pairing packet processing module is used for processing a pairing packet according to the pairing request and sending a pairing response to the host;
a pairing success confirmation packet sending module, configured to receive the pairing response and send a pairing success confirmation packet;
the pairing success confirmation response module is used for receiving the pairing success confirmation packet and sending a pairing success confirmation response;
and the storage module is used for storing the pairing information.
Compared with the prior art, the method has the following beneficial effects:
the unique identification codes are verified when the connection is established between the host computer and the slave computer, and the connection is established only when the verification is passed. Therefore, a connection can only be established between the fixed master and the slave without interference from connection packets of other devices.
Referring to fig. 6, the present application further provides a computer device including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method of any one of the above methods when executing the computer program.
Referring to fig. 7, a computer-readable storage medium, a non-volatile readable storage medium, having stored therein a computer program which, when executed by a processor, implements any of the methods described above.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above can be implemented by a general purpose computing device, they can be centralized in a single computing device or distributed over a network of multiple computing devices, and they can alternatively be implemented by program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (6)

1. A method for building a point-to-point multichannel network of a private protocol is characterized by comprising the following steps:
the master computer and the slave computer respectively enter a pairing state, which comprises the following steps:
the host computer sends a pairing request, comprising:
the host continuously sends broadcasts in a frequency hopping list frequency point by frequency point, the broadcasts contain a command of a pairing request and a unique number of the host, after all the frequency points are sent out, the host is switched to a receiving state to wait for the response of the slave, and the broadcasts are repeated by taking time T as a period until the response is received or the pairing mode is manually exited;
wherein T = T R +T T ,T R Is waiting for a reception time, and T R =2×T T ,T T= T S ×n,T S The time occupied for transmitting the longest single packet for each frequency point, n is the number of frequency points, T T Delaying the waiting time after the receiver successfully receives the data;
the slave computer processes the pairing packet according to the pairing request and sends a pairing response to the master computer, and the method comprises the following steps:
the slave waits for receiving a request pairing command sent by the host and the unique code of the host when in a pairing state, and when the slave receives and analyzes successfully, the slave delays for one T T Frequency by frequency after timeContinuously sending a broadcast reply response by a point, wherein the response comprises a pairing response command word and unique codes of the host and the slave, converting the response into a receiving state after the transmission is finished, encrypting the unique codes of the slave to be used as a data packet synchronization word of wireless communication, waiting for the confirmation response of the host, and sending a response with T R Switching the receiving frequency points for the periodic frequency point-by-frequency point table, and directly and manually exiting the pairing mode;
the host receives the pairing response and sends a pairing success confirmation packet, and the method comprises the following steps:
after receiving the request pairing response packet of the slave, the host analyzes and compares whether the host unique code of the slave response data packet is consistent with the own unique code, if so, the unique code of the slave is used as the synchronous word of the data packet after passing through the same encryption algorithm as the slave, and T is delayed T After time, the pairing success confirmation packet is transmitted frequency point by frequency point, the receiving state is switched after the transmission is finished, and the response packet waiting for the pairing success confirmation of the slave machine is received by T R Switching the receiving frequency points for the periodic frequency point-by-frequency point list, and directly and manually exiting a pairing mode;
the slave machine receives the pairing success confirmation packet and sends a pairing success confirmation response;
the host computer stores pairing information.
2. The method of claim 1, wherein the slave receiving the pairing success acknowledgment packet and sending a pairing success acknowledgment comprises:
after the slave machine receives the pairing success confirmation packet of the host machine, delaying for one T T Continuously allocating response packets for successful confirmation by time frequency points, and transmitting with T after completion R And switching the receiving frequency point to wait for data for the periodic frequency point-by-frequency point table, and directly and manually exiting the pairing mode.
3. The method of claim 2, wherein the host saving pairing information comprises:
and after receiving the pairing success confirmation response packet replied by the slave, the host stores the unique code of the slave in a power-down manner, and completes the construction of the point-to-point multichannel network.
4. A system for peer-to-peer multichannel network establishment for a private protocol, comprising:
the pairing state entering module is used for controlling the host and the slave to respectively enter a pairing state;
a pairing request sending module, configured to send a pairing request, including:
the host continuously sends broadcasts frequency point by frequency point in a frequency hopping list, the broadcasts contain a command of a pairing request and a unique number of the host, after all the frequency points are sent out, the host is switched to a receiving state to wait for the response of the slave, and the broadcasts are repeated by taking time T as a period until the response is received or the pairing mode is manually exited;
wherein T = T R +T T ,T R To wait for a reception time, and T R =2×T T ,T T= T S ×n,T S The time occupied for transmitting the longest single packet for each frequency point, n is the number of frequency points, T T Delaying the waiting time after the receiver successfully receives the data;
the pairing packet processing module is configured to process a pairing packet according to the pairing request, and send a pairing response to the host, and includes:
the slave waits for receiving a request pairing command sent by the host and the unique code of the host when in a pairing state, and delays for one T when the slave successfully receives and analyzes T Continuously sending broadcast reply responses frequency point by frequency point after time, wherein the responses comprise pairing response command words and unique codes of the host and the slave, converting the responses into a receiving state after the completion of transmission, encrypting the unique codes of the slave to form data packet synchronous words of wireless communication, waiting for the confirmation response of the host, and sending a response message to the slave by T R Switching the receiving frequency points for the periodic frequency point-by-frequency point list, and directly and manually exiting a pairing mode;
a pairing success confirmation packet sending module, configured to receive the pairing response and send a pairing success confirmation packet, including:
after receiving the request pairing response packet of the slave, the host analyzes and compares whether the host unique code of the slave response data packet is consistent with the own unique code, if so, the unique code of the slave is used as the synchronous word of the data packet after passing through the same encryption algorithm as the slave, and T is delayed T After time, the pairing success confirmation packet is transmitted frequency point by frequency point, the receiving state is switched after the transmission is finished, and the response packet waiting for the pairing success confirmation of the slave machine is received by T R Switching the receiving frequency points for the periodic frequency point-by-frequency point table, and directly and manually exiting the pairing mode;
the pairing success confirmation response module is used for receiving the pairing success confirmation packet and sending a pairing success confirmation response;
and the storage module is used for storing the pairing information.
5. A computer device comprising a memory, a processor and a computer program stored in the memory and executable by the processor, wherein the processor implements the method of any one of claims 1-3 when executing the computer program.
6. A computer-readable storage medium, a non-transitory readable storage medium, having stored therein a computer program, characterized in that the computer program, when executed by a processor, implements the method according to any one of claims 1-3.
CN202011022354.8A 2020-09-25 2020-09-25 Method and system for building point-to-point multichannel network of private protocol Active CN112165733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011022354.8A CN112165733B (en) 2020-09-25 2020-09-25 Method and system for building point-to-point multichannel network of private protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011022354.8A CN112165733B (en) 2020-09-25 2020-09-25 Method and system for building point-to-point multichannel network of private protocol

Publications (2)

Publication Number Publication Date
CN112165733A CN112165733A (en) 2021-01-01
CN112165733B true CN112165733B (en) 2023-04-07

Family

ID=73862977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011022354.8A Active CN112165733B (en) 2020-09-25 2020-09-25 Method and system for building point-to-point multichannel network of private protocol

Country Status (1)

Country Link
CN (1) CN112165733B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113225139B (en) * 2021-03-23 2022-08-19 深之蓝(天津)水下智能科技有限公司 Underwater real-time two-way wireless communication method and device, electronic device and underwater equipment
CN113225742B (en) * 2021-04-01 2022-06-24 杭州魔点科技有限公司 Wireless doorbell pairing method and wireless doorbell system
CN114430289B (en) * 2021-12-27 2023-08-15 万帮数字能源股份有限公司 Automatic pairing method and system for power line carrier communication

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102791014A (en) * 2012-07-18 2012-11-21 诚迈科技(南京)有限公司 Short-distance pairing method of wifi (wireless fidelity) mobile terminal
CN103684500A (en) * 2012-09-25 2014-03-26 华为技术有限公司 Pairing method of wireless transmitting terminal and wireless receiving terminal and related device
CN104159188A (en) * 2014-08-28 2014-11-19 吴宇 Paring method for wireless devices
CN104918208A (en) * 2015-05-29 2015-09-16 努比亚技术有限公司 Mobile terminal pairing method and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120083208A1 (en) * 2010-09-30 2012-04-05 Apple Inc. Wireless accessory device pairing transfer between multiple host devices
CN104717762A (en) * 2013-12-13 2015-06-17 上海科勒电子科技有限公司 Pairing method, primary terminal and slave terminal of wireless communication device
CN106102184B (en) * 2016-07-15 2020-05-22 杭州赫智电子科技有限公司 System and method for managing binding connection of Bluetooth equipment
CN106385661B (en) * 2016-08-31 2019-09-20 泰凌微电子(上海)有限公司 Pairing request, pairing response method and pairing request, pairing response terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102791014A (en) * 2012-07-18 2012-11-21 诚迈科技(南京)有限公司 Short-distance pairing method of wifi (wireless fidelity) mobile terminal
CN103684500A (en) * 2012-09-25 2014-03-26 华为技术有限公司 Pairing method of wireless transmitting terminal and wireless receiving terminal and related device
CN104159188A (en) * 2014-08-28 2014-11-19 吴宇 Paring method for wireless devices
CN104918208A (en) * 2015-05-29 2015-09-16 努比亚技术有限公司 Mobile terminal pairing method and mobile terminal

Also Published As

Publication number Publication date
CN112165733A (en) 2021-01-01

Similar Documents

Publication Publication Date Title
CN112165733B (en) Method and system for building point-to-point multichannel network of private protocol
CN109257725B (en) System and method for adaptive scanning and/or broadcasting
KR101710620B1 (en) Method and system of radio frequency(RF) power transmission in a wireless network
US9008149B2 (en) Synchronous access method, and communication device and system in frequency hopping radio communication
CN111818493B (en) Data transmission method, wireless network system, node, and readable storage medium
CN109451583B (en) Superframe-based ad hoc network method, superframe-based ad hoc network device, node terminal and storage medium
US20040082343A1 (en) Wireless communication device and method capable of connectionless broadcast
JP3792656B2 (en) Bluetooth system capable of communication on scattanet and communication method thereof
JP3777155B2 (en) Wireless communication device capable of improving connection rate and method thereof
KR20140104382A (en) Method and apparatus for performining a communication in a wireless communication system
CN115442333A (en) Self-networking method and device based on RS485 communication, computer equipment and medium
CN102035574B (en) Transmission method capable of reducing radio resource consumption and related device thereof
KR100436756B1 (en) wireless communication system capable of saving time for mutual data communication in sniff mode
JPH11251992A (en) Communication control method and transmission device
JP2011526430A (en) Method for allocating channel time and determining compatible links and apparatus for processing data
JP5261254B2 (en) Radio apparatus and method
KR20180076770A (en) Apparatus and Method for distributed scheduling based on retransmission reservation slot in industrial wireless sensor network
JP5217525B2 (en) Wireless communication apparatus, wireless communication method, and wireless communication control program
JP5667275B2 (en) Wireless device and communication method
US8254310B2 (en) Audience response system and method with multiple base unit capability
JP2004280304A (en) Field bus system, communication method and master/ slave
JP5421486B2 (en) Wireless device and communication method
US8554139B2 (en) Transmission method and related apparatus for reducing radio resource overhead
KR20070012917A (en) Synchronization method of mobile terminals in ad-hoc network
JP2006033070A (en) Data transmission control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant