CN110944370A - Wireless networking system and method - Google Patents

Wireless networking system and method Download PDF

Info

Publication number
CN110944370A
CN110944370A CN201910122940.0A CN201910122940A CN110944370A CN 110944370 A CN110944370 A CN 110944370A CN 201910122940 A CN201910122940 A CN 201910122940A CN 110944370 A CN110944370 A CN 110944370A
Authority
CN
China
Prior art keywords
signal
electromagnetic signal
electromagnetic
module
resistor
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
CN201910122940.0A
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.)
Shenzhen Wutong Technology Co Ltd
Original Assignee
Shenzhen Wutong Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Wutong Technology Co Ltd filed Critical Shenzhen Wutong Technology Co Ltd
Priority to CN201910122940.0A priority Critical patent/CN110944370A/en
Publication of CN110944370A publication Critical patent/CN110944370A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

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

Abstract

A wireless networking system and method, wherein the wireless networking system comprises a master device and a slave device. The host equipment is used for generating a pairing code, converting a voltage signal corresponding to the pairing code into a first electromagnetic signal and then sending the first electromagnetic signal to the outside; the slave equipment is used for sending a second electromagnetic signal outwards when receiving the first electromagnetic signal; when the host equipment receives the second electromagnetic signal, the host equipment sends a network access permission signal to the outside after processing the second electromagnetic signal; and the slave equipment receives the network access permission signal to realize network access. According to the wireless networking system and the method, the connection relationship is established in a wireless mode between the host equipment and the slave equipment through an electromagnetic induction principle, pairing codes are transmitted, wiring is not needed, a light-transmitting material is not needed, and the wireless networking system and the wireless networking method are high in applicability and flexibility.

Description

Wireless networking system and method
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a wireless networking system and a wireless networking method.
Background
The pairing code is a signal for realizing mutual identification between the master and the slave in the equipment group. At present, the traditional networking modes between the master and the slave include software solidification, wired physical contact and infrared communication. The software solidification is to configure the serial number of the slave machine through software, when the slave machine starts to work, networking is automatically performed, and networking between devices can be completed without operating peripheral equipment. The wired physical contact mode means that the host and the slave are connected through a wire, so that the transmission and the reception of pairing codes are realized, but the mode has complicated wiring and influences the appearance; the infrared communication mode refers to the receiving and sending of the pairing code between the host and the slave through the infrared signal, however, the working distance of the infrared communication is short, and the applicability is low because a light-transmitting material is required.
Therefore, the conventional networking system has the problems of low flexibility caused by the fact that software needs to be updated simultaneously every time equipment is updated, complex wiring caused by wired connection between a host computer and a slave computer, or low applicability caused by the fact that infrared communication needs to be realized by adopting light-transmitting materials.
Disclosure of Invention
In view of this, embodiments of the present invention provide a wireless networking system and method, which aim to solve the problems in the conventional technical solutions that flexibility is low due to the fact that devices need to be updated simultaneously each time, or that wiring between a host and a slave is complex due to wired connection, or that applicability is low due to the fact that infrared communication needs to be implemented by using a transparent material.
A first aspect of an embodiment of the present invention provides a wireless networking system, including:
the host equipment is used for generating a pairing code, converting a voltage signal corresponding to the pairing code into a first electromagnetic signal, sending the first electromagnetic signal outwards, and sending a network access permission signal outwards after performing signal processing on a second electromagnetic signal when the second electromagnetic signal is received; and
and the slave equipment is used for sending the second electromagnetic signal outwards when receiving the first electromagnetic signal and receiving the network access permission signal to realize network access.
A second aspect of the embodiments of the present invention provides a wireless networking method, including:
generating a pairing code by adopting host equipment, converting a voltage signal corresponding to the pairing code into a first electromagnetic signal, and sending the first electromagnetic signal outwards;
after receiving the first electromagnetic signal, the slave equipment is adopted to send a second electromagnetic signal outwards;
after the host equipment is adopted to receive the second electromagnetic signal, the second electromagnetic signal is subjected to signal processing, and a network access permission signal is sent outwards;
and after the slave equipment is adopted to receive the network access permission signal, network access is realized.
According to the wireless networking system and the wireless networking method, the host device processes the pairing code and converts the pairing code into the first electromagnetic signal to be sent outwards, the slave device receives the first electromagnetic signal and then sends the second electromagnetic signal outwards, and the host correspondingly sends the networking permission signal, so that the slave device receives the networking permission signal and achieves networking. The connection relation is established between the host equipment and the slave equipment in a wireless mode through an electromagnetic induction principle, pairing codes are transmitted, wiring is not needed, a light-transmitting material is not needed, and the wireless connection device is high in applicability and flexibility.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a wireless networking system according to a first aspect of an embodiment of the present invention;
fig. 2(a) is a schematic block configuration diagram of a host device in the wireless networking system shown in fig. 1;
fig. 2(b) is a schematic block diagram of another module structure of a host device in the wireless networking system shown in fig. 1;
FIG. 3 is an exemplary circuit diagram of the host device shown in FIG. 2 (b);
fig. 4 is a schematic block diagram of a slave device in the wireless networking system shown in fig. 1;
fig. 5 is a schematic view of another module configuration of a slave device in the wireless networking system shown in fig. 1;
FIG. 6 is an exemplary circuit diagram of the slave device shown in FIG. 4;
fig. 7 is a flowchart of a wireless networking method according to a second aspect of the embodiment of the present invention;
fig. 8 is a detailed flowchart of the wireless networking method shown in fig. 7.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a schematic structural diagram of a wireless networking system according to a first aspect of the embodiment of the present invention, and for convenience of description, only the parts related to the embodiment are shown, which is detailed as follows:
a first aspect of the embodiment of the present invention provides a wireless networking system including a master device 10 and a slave device 20.
The host device 10 is configured to generate a pairing code, convert a voltage signal corresponding to the pairing code into a first electromagnetic signal, send the first electromagnetic signal to the outside, and send a network access permission signal to the outside after performing signal processing on a second electromagnetic signal when receiving the second electromagnetic signal.
In an optional embodiment, the pairing code is implemented by an N-bit binary code, and N is any positive integer; in practical application, N is usually 8, and the specific value of N can be set according to actual requirements. After the host device 10 generates the pairing code, the pairing code is converted into a voltage signal corresponding to the pairing code, and the voltage signal is converted into a first electromagnetic signal and then sent out.
The slave device 20 is configured to send a second electromagnetic signal to the outside when receiving the first electromagnetic signal, and receive a network entry permission signal to achieve network entry.
Specifically, the master device 10 and the slave device 20 establish a communication connection through an electromagnetic induction principle, and the connection is wireless, and after a first electromagnetic signal sent to the outside by the master device 10 is induced by the slave device 20, a second electromagnetic signal is sent to the outside. Subsequently, the slave device 20 receives the network access permission signal sent outwards by the host device 10, where the network access permission signal is also an electromagnetic signal, and after the network access permission signal is sent outwards by the host device 10, the slave device 20 induces the network access permission signal by using an electromagnetic induction principle, so as to finally implement network access. Therefore, only the device which can sense the first electromagnetic signal and the network access permission signal and can send the second electromagnetic signal to the outside can enter the network, and the device is the slave device 20.
In the wireless networking system, the host device 10 processes the pairing code and converts the pairing code into a first electromagnetic signal to be transmitted outwards, the slave device 20 receives the first electromagnetic signal and transmits a second electromagnetic signal outwards, and the host correspondingly transmits a networking permission signal, so that the slave device 20 receives the networking permission signal and realizes networking. The connection relationship is established in a wireless mode through an electromagnetic induction principle between the host device 10 and the slave device 20, the connection relationship is a mutual inductance coupling relationship, the host device 10 and the slave device 20 transmit pairing codes through mutual inductance without wiring or adopting a light-transmitting material, the applicability is high, the flexibility is high, and the problems that the flexibility is low because software needs to be updated simultaneously when the devices are updated each time, or the wiring is complex because the host device and the slave device are connected through a wire, or the applicability is low because infrared communication needs to be realized through the light-transmitting material in the traditional technical scheme are solved.
Please refer to fig. 2(a), which is a schematic block diagram of a host device 10 in the wireless networking system shown in fig. 1; for convenience of explanation, only the parts related to the present embodiment are shown, and detailed as follows:
in an alternative embodiment, the host device 10 includes a first signal transceiving module 101, a first comparing module 102, and a first control module 103.
The first signal transceiver module 101 is configured to convert the voltage signal into a first electromagnetic signal, and send the first electromagnetic signal to the outside or receive a second electromagnetic signal.
Specifically, the actions of the first signal transceiver module 101 for transmitting the first electromagnetic signal and receiving the second electromagnetic signal are performed separately, not simultaneously, and the time for transmitting the first electromagnetic signal is controlled by the first control module 103.
The first comparing module 102 is connected to the first signal transceiving module 101, and configured to compare the second electromagnetic signal with a first reference voltage, and output a first level signal according to a comparison result.
Specifically, when the first signal transceiver module 101 receives the second electromagnetic signal, the second electromagnetic signal is sent to the first comparison module 102, and the first comparison module 102 compares the second electromagnetic signal with the first reference voltage. Preferably, when the value of the second electromagnetic signal is greater than or equal to the first reference voltage, the output first level signal is at a high level, and when the value of the second electromagnetic signal is less than the first reference voltage, the output first level signal is at a low level.
In other alternative embodiments, the following settings may be made according to actual needs: when the value of the second electromagnetic signal is greater than or equal to the first reference voltage, the output first level signal is at a low level, and when the value of the second electromagnetic signal is less than the first reference voltage, the output first level signal is at a high level.
Specifically, the first reference voltage can be set according to actual needs.
The first control module 103 is connected to the first comparing module 102, and configured to receive the first level signal in the preset time period to form a first pulse signal with a preset sequence length, and determine whether the first pulse signal corresponds to the voltage signal or the stored pairing code, if so, control the first signal transceiver module 101 to send a network access permission signal to the outside.
Specifically, the specific value of the preset time period may be set according to actual needs, and the value of the preset time period determines the length of the pairing code, that is, determines the value of N.
For example, the preset time period is set to 2ms, 8 second electromagnetic signals are received within 2ms, and the first comparing module 102 compares the 8 second electromagnetic signals with the first reference voltage respectively, and then outputs a first pulse signal (e.g., 11010001) with a preset sequence length of 8, and then determines. Of course, the above example is only used to more clearly illustrate the working principle of the first comparing module 102, and is not used to limit the technical solution provided by the embodiment of the present invention; the numerical values and the corresponding relations between the numerical values in the above examples are not necessarily the actual situation of the technical solution provided by the embodiments of the present invention in practical application.
Specifically, the first control module 103 is further configured to generate a pairing code, convert the generated pairing code into a corresponding voltage signal, and output the voltage signal to the first signal transceiver module 101. The first control module 103 is used to determine whether the first pulse signal corresponds to the voltage signal or the stored pairing code. The pairing code stored in the first control module 103 is the pairing code of the slave device 20 that has entered the network.
If the slave device 20 never enters the network, when receiving the first electromagnetic signal (for example, converted from the pairing code "11110000") transmitted by the host device 10 for the first time, it stores the pairing code (for example, 11110000) corresponding to the first electromagnetic signal, and transmits the second electromagnetic signal (in this case, the second electromagnetic signal is identical to the first electromagnetic signal) corresponding to the pairing code (for example, 11110000) to the host device 10. In this case, the host device 10 stores the pairing code (e.g., 11110000), and the stored pairing code (e.g., 11110000) is not converted into the first electromagnetic signal and is transmitted to the outside. When the slave device 20 enters the network again, the transmitted second electromagnetic signal corresponds to the pairing code (e.g., 11110000) stored therein, but not to other first electromagnetic signals transmitted by the master device 10. Therefore, each slave device 20 that ever enters the network has one and only one pairing code belonging to the slave device.
If the first pulse signal corresponds to the voltage signal (for example, the waveform of the voltage signal corresponds to the waveform of the first pulse signal in proportion, or a plurality of peaks of the voltage signal correspond to a plurality of peaks of the first pulse signal in a one-to-one manner), it indicates that the first pulse signal corresponds to the pairing code generated by the first control module 103, and the first pulse signal corresponds to the second electromagnetic signal received within the preset time period, and indicates that the device sending the second electromagnetic signal is the slave device 20 capable of entering the network, and the slave device 20 never enters the network, so that the first control module 103 controls the first signal transceiver module 101 to send the network entry permission signal, and permits the slave device 20 to enter the network. The master device 10 and the slave device 20 store the pairing code at the same time.
If the first pulse signal corresponds to one of the pairs of pairing codes stored in the first control module 103, it indicates that the slave device 20 has entered the network and has only its own pairing code, so the first control module 103 controls the first signal transceiver module 101 to transmit the network entry permission signal to permit the slave device 20 to enter the network again.
Please refer to fig. 2(b), which is a schematic diagram illustrating another module structure of the host device 10 in the wireless networking system shown in fig. 1; for convenience of explanation, only the parts related to the present embodiment are shown, and detailed as follows:
in this embodiment, the host device 10 further includes a pull-up module 104 in addition to the first signal transceiver module 101, the first comparison module 102 and the first control module 103.
The pull-up module 104 is connected to the first comparing module 102 and the first control module 103, and is used for preventing an interference signal from occurring, so that the circuit of the host device 10 is in a stable state.
Referring to fig. 3, an exemplary circuit diagram of the host device 10 shown in fig. 2(b) is shown; for convenience of explanation, only the parts related to the present embodiment are shown, and detailed as follows:
in an alternative embodiment, the first signal transceiver module 101 includes a first inductor L1 and a first capacitor C1.
A first end of the first inductor L1 and a first end of the first capacitor C1 are connected to a voltage signal, and a first end of the first inductor L1 and a first end of the first capacitor C1 are connected to the first comparing module 102; the second terminal of the first inductor L1 and the second terminal of the first capacitor C1 are grounded.
Specifically, the first inductor L1 and the first capacitor C1 constitute an LC oscillating circuit to which a voltage signal output from a signal output terminal (denoted by TX terminal in fig. 3) of the first control module 103 is transmitted, forming an inductive field, thereby sending the first electromagnetic signal outwards.
In an alternative embodiment, the first comparing module 102 includes a first resistor R2, a second resistor R3, a third resistor R4, a second capacitor C2, and a comparator U1A. And, the third resistance R4 is an adjustable resistance.
A first end of the first resistor R2 is connected to the first signal transceiving module 101, and a second end of the first resistor R2 is connected to the inverting input terminal of the comparator U1A; a first end of the second resistor R3 is connected to a first reference voltage, and a second end of the second resistor R3, a first end of the second capacitor C2 and a movable end of the third resistor R4 are connected to a non-inverting input terminal of the comparator U1A; a first fixed end of the third resistor R4 and a second end of the second capacitor C2 are grounded; the output terminal of the comparator U1A is connected to the signal input terminal (RX terminal in fig. 3) of the first control module 103.
Specifically, the first terminal of the first resistor R2, the first terminal of the first inductor L1, and the first terminal of the first capacitor C1 are connected in common. The second capacitor C2 is used for filtering. The second fixed end of the third resistor R4 is floating.
The third resistor R4 is an adjustable resistor, and the distance for the first signal transceiver module 101 to receive the second electromagnetic signal can be set by adjusting the actual resistance of the circuit connected to the third resistor R4. When the actual resistance value of the access circuit of the third resistor R4 is decreased, the signal transmission distance between the host device and the slave device is increased, that is, the first signal transceiver module 101 may receive the second electromagnetic signal sent by the slave device at a remote location; when the actual resistance value of the access circuit of the third resistor R4 is increased, the electromagnetic induction capability of the first signal transceiver module 101 is decreased, and the signal transmission distance between the host device and the slave device is decreased, that is, the first signal transceiver module 101 can only receive the second electromagnetic signal transmitted by the slave device in a close position.
The first reference voltage can be set according to actual needs, and the comparator U1A compares the second electromagnetic signal transmitted by the first signal transceiver module 101 with the first reference voltage. Preferably, when the value of the second electromagnetic signal is greater than or equal to the first reference voltage, the output first level signal is at a high level, and when the value of the second electromagnetic signal is less than the first reference voltage, the output first level signal is at a low level. For example, the first reference voltage is set to 2.0V, the received second electromagnetic signal is set to 3.3V, and the second electromagnetic signal is greater than the first reference voltage, and the first level signal output by the comparator U1A is at a high level, i.e., "1". Of course, the above example is only used to more clearly illustrate the working principle of the first comparing module 102, and is not used to limit the technical solution provided by the embodiment of the present invention.
In other alternative embodiments, the following settings may be made according to actual needs: when the value of the second electromagnetic signal is greater than or equal to the first reference voltage, the output first level signal is at a low level, and when the value of the second electromagnetic signal is less than the first reference voltage, the output first level signal is at a high level.
Optionally, the first control module 103 is implemented by a single chip microcomputer, a signal processor, or the like.
In an alternative embodiment, the pull-up module 104 includes a fourth resistor R1. A first terminal of the fourth resistor R1 is connected to the dc power supply, and a second terminal of the fourth resistor R1 is connected to the output terminal of the first comparing module 102 and the signal input terminal of the first control module 103 (shown as RX terminal in fig. 3).
Specifically, the output terminal of the comparator U1A is the output terminal of the first comparing module 102. By adding the pull-up resistor to the outgoing line of the signal input terminal of the first control module 103, the situation that the generated interference signal interferes with the whole circuit due to the fact that the outgoing line is in an uncertain state caused by suspension can be prevented.
Please refer to fig. 4, which is a schematic diagram of a module structure of the slave device 20 in the wireless networking system shown in fig. 1; for convenience of explanation, only the parts related to the present embodiment are shown, and detailed as follows:
in an alternative embodiment, the slave device 20 comprises a second signal transceiving module 201. The second signal transceiver module 201 establishes a communication connection with the host device 10 by means of electromagnetic induction to receive the first electromagnetic signal and the network access permission signal, or to transmit the second electromagnetic signal.
Specifically, the actions of the second signal transceiver module 201 for transmitting the second electromagnetic signal and receiving the network access permission signal are performed separately, not simultaneously.
The master device 10 and the slave device 20 establish a communication connection through the electromagnetic induction principle, and the connection is wireless and belongs to the near field communication technology. After the first electromagnetic signal sent out by the master device 10 is induced by the slave device 20, the second electromagnetic signal is sent out. Subsequently, the slave device 20 receives the network access permission signal sent outwards by the host device 10, where the network access permission signal is also an electromagnetic signal, and after the network access permission signal is sent outwards by the host device 10, the slave device 20 induces the network access permission signal by using an electromagnetic induction principle, so as to finally implement network access. Therefore, only the device which can sense the first electromagnetic signal and the network entry permission signal and can send the second electromagnetic signal to the outside can enter the network, and this device is determined as the slave device 20 by the master device 10, and all the devices which can realize the above functions (can sense the first electromagnetic signal and the network entry permission signal and can send the second electromagnetic signal to the outside) are the slave devices 20.
Fig. 5 is a schematic diagram showing another module structure of the slave device 20 in the wireless networking system shown in fig. 1; for convenience of explanation, only the parts related to the present embodiment are shown, and detailed as follows:
in an alternative embodiment, the slave device 20 further includes a second comparing module 202 and a second control module 203 in addition to the second signal transceiver module 201.
The second comparing module 202 is connected to the second signal transceiving module 201, and is configured to compare the first electromagnetic signal with a second reference voltage after receiving the first electromagnetic signal, and correspondingly output a second level signal according to a comparison result.
Specifically, the specific value of the preset time period and the actual value of the second reference voltage are set according to actual needs.
The second control module 203 is connected to the second comparing module 202, and is configured to receive the second level signal in the preset time period to form a second pulse signal with a preset sequence length, store the second pulse signal, convert the second pulse signal into a second electromagnetic signal, and output the second electromagnetic signal to the second signal transceiver module 201, or convert the stored pairing code into the second electromagnetic signal and output the second electromagnetic signal to the second signal transceiver module 201.
Specifically, if the slave device 20 never enters the network, the second control module 203 stores the second pulse signal (for example, the second pulse signal is "11110000"), converts the second pulse signal (for example, 11110000) into a second electromagnetic signal, and outputs the second electromagnetic signal to the second signal transceiver module 201 through the signal transmitting end of the second master control module. The second pulse signal (e.g., 11110000) will be the pairing code belonging only to the slave device 20.
If the slave device 20 has ever entered the network, it has already stored the pairing code (e.g., 00001111) belonging to itself, and at this time, the slave device 20 directly enters the network according to the stored pairing code (e.g., 00001111). If the master device 10 does not store the pairing code of the slave device 20, the slave device 20 needs to obtain a new pairing code from the master device 10 again for network access verification.
Referring to fig. 6, an exemplary circuit diagram of the slave device 20 shown in fig. 4 is shown; for convenience of explanation, only the parts related to the present embodiment are shown, and detailed as follows:
in an alternative embodiment, the second transceiver module 201 includes a second inductor L2 and a third capacitor C3. The first end of the second inductor L2 and the first end of the third capacitor C3 are connected to the second control module 203. The second terminal of the second inductor L2 and the second terminal of the third capacitor C3 are grounded.
Specifically, the second inductor L2 and the third capacitor C3 form an LC oscillating circuit, and a signal output from a signal transmitting terminal (indicated by a terminal TX2 in fig. 5) of the second control module 202 passes through the LC oscillating circuit to form an inductive field, so as to transmit a second electromagnetic signal to the outside. The first electromagnetic signal and the network access grant signal received by the LC oscillating circuit composed of the second inductor L2 and the third capacitor C3 are output to the second comparing module 202 for processing, and finally the processed first electromagnetic signal and the network access grant signal are transmitted to the second control module 203 through a signal receiving terminal (represented by RX2 terminal in fig. 5) of the second control module.
Please refer to fig. 7, which is a flowchart illustrating a wireless networking method according to a second aspect of the present invention; for convenience of explanation, only the parts related to the present embodiment are shown, and detailed as follows:
a second aspect of the embodiments of the present invention provides a wireless networking method, including the steps of:
s01: generating a pairing code by adopting host equipment, converting a voltage signal corresponding to the pairing code into a first electromagnetic signal, and sending the first electromagnetic signal outwards;
s02: after receiving the first electromagnetic signal, the slave equipment is adopted to send a second electromagnetic signal outwards;
s03: after the host equipment is adopted to receive the second electromagnetic signal, the second electromagnetic signal is subjected to signal processing, and a network access permission signal is sent outwards;
s04: and after receiving the network access permission signal, the slave equipment is adopted to realize network access.
According to the wireless networking method, the host device converts the pairing code into the first electromagnetic signal to be sent outwards after processing, the slave device sends the second electromagnetic signal outwards after receiving the first electromagnetic signal, and then the host correspondingly sends the network access permission signal, so that the slave device receives the network access permission signal and realizes network access. The connection relation is established in a wireless mode through an electromagnetic induction principle between the host device and the slave device, the connection relation is a mutual inductance coupling relation, the host device and the slave device transmit pairing codes through mutual inductance without wiring or adopting a light-transmitting material, the applicability is high, the flexibility is high, and the problems that the flexibility is low because software needs to be updated simultaneously when the devices are updated each time, the wiring is complex because the host device and the slave device are connected through wires, or the applicability is low because infrared communication needs to be realized through the light-transmitting material in the traditional technical scheme are solved.
Please refer to fig. 8, which is a flowchart illustrating a wireless networking method shown in fig. 7; for convenience of explanation, only the parts related to the present embodiment are shown, and detailed as follows:
s010: generating a pairing code by adopting a first control module, converting the pairing code into a corresponding voltage signal and outputting the voltage signal;
s011: converting the voltage signal into a first electromagnetic signal by adopting a first signal transceiving module, and sending the first electromagnetic signal outwards;
s012: after receiving the first electromagnetic signal, the second signal transceiving module sends a second electromagnetic signal outwards;
s013: receiving a second electromagnetic signal by adopting a first signal transceiving module;
s014: comparing the second electromagnetic signal with a first reference voltage by adopting a first comparison module, and correspondingly outputting a first level signal according to a comparison result;
s015: after a first control module is adopted to receive a first level signal in a preset time period to form a pulse signal with a preset sequence length, whether the pulse signal corresponds to a voltage signal or a stored pairing code is judged, and if yes, a first signal transceiving module is controlled to send a network access permission signal outwards;
s016: and receiving the network access permission signal by adopting the second signal transceiving module so as to realize network access of the slave equipment.
In summary, in the wireless networking system and the method provided in the embodiments of the present invention, the host device processes the pairing code and converts the pairing code into the first electromagnetic signal to be sent to the outside, the slave device receives the first electromagnetic signal and then sends the second electromagnetic signal to the outside, and the host correspondingly sends the network access permission signal, so that the slave device receives the network access permission signal and realizes network access. The connection relation is established in a wireless mode through an electromagnetic induction principle between the host device and the slave device, the connection relation is a mutual inductance coupling relation, the host device and the slave device transmit pairing codes through mutual inductance without wiring or adopting a light-transmitting material, the applicability is high, the flexibility is high, and the problems that the flexibility is low because software needs to be updated simultaneously when the devices are updated each time, the wiring is complex because the host device and the slave device are connected through wires, or the applicability is low because infrared communication needs to be realized through the light-transmitting material in the traditional technical scheme are solved.
Various embodiments are described herein for various systems and methods. Numerous specific details are set forth in order to provide a thorough understanding of the overall structure, function, manufacture, and use of the embodiments as described in the specification and illustrated in the accompanying drawings. However, it will be understood by those skilled in the art that the embodiments may be practiced without such specific details. In other instances, well-known operations, components and elements have been described in detail so as not to obscure the embodiments in the description. It will be appreciated by those of ordinary skill in the art that the embodiments herein and shown are non-limiting examples, and thus, it can be appreciated that the specific structural and functional details disclosed herein may be representative and do not necessarily limit the scope of the embodiments.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
The present invention is not limited to the above preferred embodiments, and any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A wireless networking system, comprising:
the host equipment is used for generating a pairing code, converting a voltage signal corresponding to the pairing code into a first electromagnetic signal, sending the first electromagnetic signal outwards, and sending a network access permission signal outwards after performing signal processing on a second electromagnetic signal when the second electromagnetic signal is received; and
and the slave equipment is used for sending the second electromagnetic signal outwards when receiving the first electromagnetic signal and receiving the network access permission signal to realize network access.
2. The wireless networking system of claim 1, wherein the host device comprises:
the first signal transceiver module is used for converting the voltage signal into the first electromagnetic signal and sending the first electromagnetic signal outwards or receiving the second electromagnetic signal;
the first comparison module is connected with the first signal transceiving module and used for comparing the second electromagnetic signal with a first reference voltage and correspondingly outputting a first level signal according to a comparison result; and
and the first control module is connected with the first comparison module and used for receiving the first level signal in a preset time period to form a first pulse signal with a preset sequence length, judging whether the first pulse signal corresponds to the voltage signal or one of the stored multiple groups of pairing codes or not, and if so, controlling the first signal transceiver module to send the network access permission signal outwards.
3. The wireless networking system of claim 2, wherein the first signal transceiving module comprises:
a first inductor and a first capacitor;
the first end of the first inductor and the first end of the first capacitor are connected to the voltage signal; the first end of the first inductor and the first end of the first capacitor are connected with the first comparison module; the second end of the first inductor and the second end of the first capacitor are grounded.
4. The wireless networking system of claim 2, wherein the first comparison module comprises:
the circuit comprises a first resistor, a second resistor, a third resistor, a second capacitor and a comparator; wherein the third resistor is an adjustable resistor;
the first end of the first resistor is connected with the first signal transceiving module, and the second end of the first resistor is connected with the inverting input end of the comparator; the first end of the second resistor is connected to the first reference voltage, and the second end of the second resistor, the first end of the second capacitor and the movable end of the third resistor are connected to the positive input end of the comparator; a first fixed end of the third resistor and a second end of the second capacitor are grounded; and the output end of the comparator is connected with the signal input end of the first control module.
5. The wireless networking system of claim 2, wherein the host device further comprises:
the pull-up module is connected with the first comparison module and the first control module and used for preventing interference signals from occurring;
the pull-up module comprises a fourth resistor;
the first end of the fourth resistor is connected with a direct-current power supply, and the second end of the fourth resistor is connected with the output end of the first comparison module and the signal input end of the first control module.
6. The wireless networking system of claim 1, wherein the slave device comprises:
and the second signal transceiving module is used for establishing communication connection with the host device in an electromagnetic induction mode so as to receive the first electromagnetic signal and the network access permission signal or send the second electromagnetic signal.
7. The wireless networking system of claim 6, wherein said slave device further comprises:
the second comparison module is connected with the second signal transceiver module and used for comparing the first electromagnetic signal with a second reference voltage after receiving the first electromagnetic signal and correspondingly outputting a second level signal according to a comparison result; and
and the second control module is connected with the second comparison module and used for receiving the second level signal in a preset time period to form a second pulse signal with a preset sequence length, storing the second pulse signal, converting the second pulse signal into a second electromagnetic signal and outputting the second electromagnetic signal to the second signal transceiver module, or converting the stored pairing code into the second electromagnetic signal and outputting the second electromagnetic signal to the second signal transceiver module.
8. The wireless networking system of claim 7, wherein the second signal transceiving module comprises:
a second inductor and a third capacitor;
the first end of the second inductor and the first end of the third capacitor are connected with the second control module; the second end of the second inductor and the second end of the third capacitor are grounded.
9. A method for wireless networking, comprising:
generating a pairing code by adopting host equipment, converting a voltage signal corresponding to the pairing code into a first electromagnetic signal, and sending the first electromagnetic signal outwards;
after receiving the first electromagnetic signal, the slave equipment is adopted to send a second electromagnetic signal outwards;
after the host equipment is adopted to receive the second electromagnetic signal, the second electromagnetic signal is subjected to signal processing, and a network access permission signal is sent outwards;
and after the slave equipment is adopted to receive the network access permission signal, network access is realized.
10. The wireless networking method of claim 9, wherein the wireless networking method is specifically:
generating the pairing code by adopting a first control module, converting the pairing code into a corresponding voltage signal and outputting the voltage signal;
converting the voltage signal into the first electromagnetic signal by adopting a first signal transceiver module, and sending the first electromagnetic signal outwards;
after receiving the first electromagnetic signal, a second signal transceiver module is adopted to send the second electromagnetic signal outwards;
receiving the second electromagnetic signal by using the first signal transceiver module;
comparing the second electromagnetic signal with a first reference voltage by adopting a first comparison module, and correspondingly outputting a first level signal according to a comparison result;
after the first control module is adopted to receive the first level signal in a preset time period to form a pulse signal with a preset sequence length, whether the pulse signal corresponds to the voltage signal or the stored pairing code is judged, and if yes, the first signal transceiver module is controlled to send the network access permission signal outwards;
and receiving the network access permission signal by using the second signal transceiver module so as to enable the slave device to realize network access.
CN201910122940.0A 2019-02-19 2019-02-19 Wireless networking system and method Pending CN110944370A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910122940.0A CN110944370A (en) 2019-02-19 2019-02-19 Wireless networking system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910122940.0A CN110944370A (en) 2019-02-19 2019-02-19 Wireless networking system and method

Publications (1)

Publication Number Publication Date
CN110944370A true CN110944370A (en) 2020-03-31

Family

ID=69905716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910122940.0A Pending CN110944370A (en) 2019-02-19 2019-02-19 Wireless networking system and method

Country Status (1)

Country Link
CN (1) CN110944370A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917713A (en) * 2010-07-08 2010-12-15 金宝通电子(深圳)有限公司 Networking method of wireless network
CN106100698A (en) * 2016-06-12 2016-11-09 南京南瑞集团公司 A kind of network-building method being applied to the power line carrier module that power information gathers
CN207490622U (en) * 2017-11-01 2018-06-12 深圳市奋达科技股份有限公司 A kind of identifying system and wireless charging system of wireless charging communication
CN108534298A (en) * 2018-05-03 2018-09-14 珠海格力电器股份有限公司 Slave communication circuit, slave, electrical equipment, master-slave communication circuit and method
CN208154732U (en) * 2018-05-03 2018-11-27 珠海格力电器股份有限公司 Slave communication circuit, slave, electrical equipment and master-slave communication circuit
CN108958011A (en) * 2018-08-07 2018-12-07 深圳市茂鹏微智能科技有限公司 A kind of overturning clock by induction wireless data transmission

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917713A (en) * 2010-07-08 2010-12-15 金宝通电子(深圳)有限公司 Networking method of wireless network
CN106100698A (en) * 2016-06-12 2016-11-09 南京南瑞集团公司 A kind of network-building method being applied to the power line carrier module that power information gathers
CN207490622U (en) * 2017-11-01 2018-06-12 深圳市奋达科技股份有限公司 A kind of identifying system and wireless charging system of wireless charging communication
CN108534298A (en) * 2018-05-03 2018-09-14 珠海格力电器股份有限公司 Slave communication circuit, slave, electrical equipment, master-slave communication circuit and method
CN208154732U (en) * 2018-05-03 2018-11-27 珠海格力电器股份有限公司 Slave communication circuit, slave, electrical equipment and master-slave communication circuit
CN108958011A (en) * 2018-08-07 2018-12-07 深圳市茂鹏微智能科技有限公司 A kind of overturning clock by induction wireless data transmission

Similar Documents

Publication Publication Date Title
US8481911B2 (en) System and method for connecting electrical devices using fiber optic serial communication
CN107688548B (en) System, device and method for expanding sequence communication and system for expanding communication port
US11146425B2 (en) IO-link device
CN107770025A (en) A kind of network device of annular differential communication
US20030016419A1 (en) Programmable identification in a communications controller
KR101768250B1 (en) Apparatus for Switching RS-485 Terminal Polarity
CN110944370A (en) Wireless networking system and method
CN109818430A (en) A kind of intelligence authorization wireless power supply based on mobile terminal less radio-frequency
EP2840725A1 (en) Receiving end detection method, detection circuit, optical module and system
KR101585856B1 (en) Method and Apparatus for UART and CAN Communication in Vehicle with the Same CAN Transceiver
CN112202573A (en) Two-wire system power supply and networking communication system
US5063561A (en) Procedure and apparatus for transmitting binary messages in a serial communication bus
CN209462618U (en) A kind of wireless networking system
CN211018828U (en) Multifunctional wireless repeater
CN106372025A (en) Bus-type communication circuit
JPH0669911A (en) Data transmission circuit
US7184484B1 (en) Method and apparatus for serial data communication
CN201584967U (en) Asi relay module
CN112117990A (en) Communication apparatus and control method thereof
KR20200067067A (en) PLC Wireless Input/Output module
CN217824967U (en) Communication circuit, communication device and RS485 communication system
CN216721335U (en) Data conversion device and hydrogen energy equipment
CN212727055U (en) DMX equipment networking and configuration system
US9798337B2 (en) Control system using power line communication
CN116155861B (en) Wired communication system and configuration method of device ID thereof

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