Communication method, device and system of dual-mode communication repeater

By using dual-mode communication repeaters in low-voltage distribution and electricity distribution systems, it supports power line carriers and micro-power wireless communication, which solves the problem that existing repeaters are difficult to adapt to complex environments and data transmission needs, and achieves full communication coverage and equipment The stable connection between the two parts improves communication efficiency and reliability.

CN118555636BActive Publication Date: 2024-11-29BEIJING SMARTCHIP SEMICON TECH CO LTD +1
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411031621.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-11-29
Estimated Expiration
2044-07-30

AI Technical Summary

Technical Problem

The existing communication mode repeaters are difficult to adapt to the complex and changing low-voltage distribution power environment and the growing data transmission needs, and cannot achieve full communication coverage of low-voltage distribution radio station area equipment and stability of interconnection between different types of equipment. Reliable communication connection.

Method used

It adopts a dual-mode communication repeater, supports power line carrier communication and micro-power wireless communication, and achieves fast network access, plug-and-play, stable and reliable communication connections through hybrid networking methods and adaptive routing technology.

Benefits of technology

It realizes full communication coverage of low-voltage distribution and power distribution systems and stable and reliable connections between different devices, improves communication efficiency and reliability, simplifies the network access process and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555636B_ABST
    Figure CN118555636B_ABST
Patent Text Reader

Abstract

The present invention discloses a communication method, device and system of a dual-mode communication repeater, the method comprising: sending a network access request to a master node, wherein the network access request comprises a random number and a repeater address, the repeater address is obtained based on the random number and the follow-up address using a first address processing method, and the follow-up address is the address of a terminal device; when the master node determines to allow the dual-mode communication repeater to access the network based on the network access request, the dual-mode communication repeater accesses the dual-mode communication network for communication, wherein after receiving the network access request, the master node obtains the follow-up address based on the random number and the repeater address in the network access request using a second address processing method, and when the follow-up address is the address of a terminal device that is connected to the master node for communication, the dual-mode communication repeater is allowed to access the network. The present invention simplifies the network access process, adopts the follow-up address setting, can quickly join the network of this area, and prevents mistaken entry into other area networks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical fields of dual-mode communication, networking, etc., and in particular to a communication method, device and system for a dual-mode communication repeater. Background Art

[0002] With the continuous advancement of smart grid construction, the low-voltage power distribution system has prominent problems such as large amount of data, complex lines, multiple terminal equipment points, and frequent information interaction, which puts forward higher requirements for the collection, transmission and processing of power communication. Power Line Communication (PLC) communication technology has been widely used as a unique communication method in low-voltage power distribution systems due to its advantages such as no need for additional wiring, high transmission rate, and low cost. However, power line carrier communication faces challenges such as severe attenuation of high-frequency signals, high environmental noise, and interference coupling between lines, resulting in communication stability being significantly affected by factors such as line length, topology, and load conditions. Existing solutions usually adopt the methods of increasing transmission power, adjusting the position of concentrators, and adding multiple carrier repeaters. However, due to various conditions, the existing communication methods cannot achieve full coverage of communication equipment on the low-voltage distribution station side and stable and reliable communication connections for interconnection between different types of equipment.

[0003] Given that repeaters in existing communication modes are difficult to adapt to the complex and changeable power distribution environment and the growing demand for data transmission, it is urgent to introduce more flexible and efficient technical means to develop a low-voltage power distribution dual-mode repeater with adaptive wide-band signal receiving capabilities, "plug and play" capabilities, and support for multiple communication protocols. This is of great significance to greatly improve the communication efficiency and reliability of the low-voltage power distribution system.

[0004] In the field of low-voltage power distribution and utilization, although the existing general repeater technology has met the needs of power information transmission to a certain extent, it still has many shortcomings. First of all, most of the existing repeater technologies in the field of low-voltage power distribution and utilization adopt a single communication mode, such as power line carrier communication or wireless communication. When facing the complex and changeable low-voltage power distribution and utilization environment, it is often difficult to ensure the stability, reliability and transmission efficiency of communication. Secondly, there are also problems with the compatibility and scalability of existing repeater technologies. Since the common repeater products on the market come from different manufacturers and each follows different equipment technical standards, it is difficult to achieve seamless docking and collaborative work between multi-brand equipment, which increases the difficulty of internal system integration. When the existing general repeaters are connected to the network, the network access method mainly adopts a manual operation method, which is cumbersome, costly and error-prone. Summary of the invention

[0005] To this end, the purpose of the implementation method of the present application is to propose a communication method, device, communication system, dual-mode communication repeater, electronic device, storage medium and program product of a dual-mode communication repeater, simplify the network access process, adopt a follow-up address setting, and be able to quickly join the network of this area to prevent accidentally entering other area networks. At the same time, the dual-mode communication repeater adopts a hybrid networking method and supports free switching of 4 different communication modes to ensure that the Internet of Things devices can achieve stable, accurate and efficient communication in various complex environments.

[0006] An embodiment of the present application provides a communication method for a dual-mode communication repeater, the method comprising: sending a network access request to a master node, wherein the network access request comprises a random number and a repeater address, the repeater address is obtained based on the random number and a follow-up address using a first address processing method, and the follow-up address is an address of a terminal device; when the master node determines to allow the dual-mode communication repeater to access the network based on the network access request, the dual-mode communication repeater accesses the dual-mode communication network for communication, wherein after receiving the network access request, the master node obtains the follow-up address based on the random number and the repeater address in the network access request using a second address processing method, and when the follow-up address is the address of a terminal device that is communicatively connected to the master node, the dual-mode communication repeater is allowed to access the network.

[0007] Exemplarily, the first address processing method includes: the dual-mode communication repeater uses the random number to convert the follow-up address to obtain the repeater address; the second address processing method includes: the master node uses the random number to reversely convert the repeater address to obtain the follow-up address.

[0008] Exemplarily, the follow-up address of the dual-mode communication repeater is set in the following manner: before sending a network access request to the main node, receiving the follow-up address and performing address setting, wherein the follow-up address is the address of the terminal device in the whitelist of the main node; in response to the address reading instruction, returning the set follow-up address, so as to determine whether the setting is successful based on the returned follow-up address.

[0009] Exemplarily, after the dual-mode communication repeater accesses the dual-mode communication network, the method further includes: selecting a target networking mode for networking from at least one candidate communication networking mode; switching from a current networking mode to the target networking mode; and communicating based on the target networking mode.

[0010] Exemplarily, the selecting a target networking mode for networking from at least one candidate communication networking mode includes: determining a switching cost for switching from the current networking mode to each candidate communication networking mode; and based on the switching cost, selecting a target networking mode for networking from the at least one candidate communication networking mode.

[0011] Exemplarily, the switching cost includes at least one of a historical communication cost and a current communication cost, and both the historical communication cost and the current communication cost include at least one of a communication bandwidth, a communication delay, and a communication packet loss rate.

[0012] Exemplarily, the candidate communication networking modes include at least one of the following: communication networking with upstream devices and downstream devices via a power line carrier communication networking mode; communication networking with upstream devices and downstream devices via a micro-power wireless communication networking mode; communication networking with upstream devices via a micro-power wireless communication networking mode, and communication networking with downstream devices via a power line carrier communication networking mode; communication networking with upstream devices via a power line carrier communication networking mode, and communication networking with downstream devices via a micro-power wireless communication networking mode.

[0013] Exemplarily, the selecting a target networking mode for networking from at least one candidate communication networking mode includes: in the case of including multiple candidate communication networking modes, constructing a state space based on the multiple candidate communication networking modes, wherein the state space includes multiple states, each state is a candidate communication networking mode; constructing an action space based on multiple candidate communication networking modes, wherein the action space includes multiple actions, each action represents switching from one candidate communication networking mode to another candidate communication networking mode based on a direct switching mode or an indirect switching mode, wherein the direct switching mode represents switching directly from one candidate communication networking mode to another candidate communication networking mode, and the indirect switching mode represents switching from one candidate communication networking mode to another candidate communication networking mode via other candidate communication networking modes. ; Obtain a state transition probability, wherein the state transition probability represents the probability of switching from a state in the state space to another state in the state space through an action in the action space; obtain a switching cost, wherein the switching cost represents the cost of switching from a state in the state space to another state in the state space through an action in the action space; based on the state transition probability and the switching cost, determine the value function of the state switching strategy; update the state switching strategy until the value function and the state switching strategy meet the convergence condition, wherein the converged state switching strategy represents that the switching cost of switching from the current networking mode to the target networking mode is minimized; based on the converged state switching strategy, select the target networking mode from the multiple candidate communication networking modes for networking.

[0014] Exemplarily, after the dual-mode communication repeater is connected to the network, the method further includes: when the dual-mode communication repeater receives a signal to be forwarded from a three-phase device, forwarding the signal to be forwarded to the main node through a three-phase power line; when the dual-mode communication repeater receives a signal to be forwarded from a single-phase device, detecting the phase information of the signal to be forwarded, and forwarding the signal to be forwarded to the main node based on the single-phase power line corresponding to the phase information.

[0015] Exemplarily, after the dual-mode communication repeater is connected to the network, the method further includes: when the dual-mode communication repeater receives a signal to be forwarded, determining a relay mode based on the signal quality of the signal to be forwarded; and forwarding the signal to be forwarded based on the relay mode, wherein the relay mode includes at least one of a direct relay mode and an indirect relay mode, the direct relay mode includes directly forwarding the signal to be forwarded, and the indirect relay mode includes processing the signal to be forwarded before forwarding, and the signal quality corresponding to the direct relay mode is higher than the signal quality corresponding to the indirect relay mode.

[0016] Exemplarily, the dual-mode communication includes power line carrier communication HPLC and micro-power wireless communication HRF. For the target slave node in the dual-mode communication network, the target slave node is communicatively connected to the master node through at least one of the power line carrier communication HPLC and the micro-power wireless communication HRF. After the dual-mode communication repeater is connected to the network, the dual-mode communication repeater is communicatively connected to the master node through at least one of the power line carrier communication HPLC and the micro-power wireless communication HRF. The method also includes: when the communication link between the target slave node and the master node is longer than the communication link between the dual-mode communication repeater and the master node, if the dual-mode communication repeater receives a signal to be forwarded sent by the target slave node based on the micro-power wireless communication HRF, the dual-mode communication repeater forwards the signal to be forwarded to the master node.

[0017] Exemplarily, the dual-mode communication repeater can be used to convert multiple communication protocols; after the dual-mode communication repeater is connected to the network, the method also includes: after the dual-mode communication repeater receives the signal to be forwarded, converting the communication protocol of the signal to be forwarded and then forwarding the signal to be forwarded.

[0018] Another embodiment of the present application provides a communication device of a dual-mode communication repeater, the device comprising: a sending module, used to send a network access request to a master node, wherein the network access request includes a random number and a repeater address, the repeater address is obtained based on the random number and the follow-up address using a first address processing method, and the follow-up address is an address of a terminal device; a network access module, used for, when the master node determines to allow the dual-mode communication repeater to access the network based on the network access request, the dual-mode communication repeater accesses the dual-mode communication network for communication, wherein after receiving the network access request, the master node obtains the follow-up address based on the random number and the repeater address in the network access request using a second address processing method, and allows the dual-mode communication repeater to access the network when the follow-up address is the address of a terminal device that is connected to the master node for communication.

[0019] Exemplarily, the device also includes: a networking module, used to select a target networking mode for networking from at least one candidate communication networking mode; a switching module, used to switch from a current networking mode to the target networking mode; and a communication module, used to communicate based on the target networking mode.

[0020] Exemplarily, the networking module includes: a first determination submodule, used to determine the switching cost of switching from the current networking mode to each candidate communication networking mode; and a first networking submodule, used to select a target networking mode for networking from at least one candidate communication networking mode based on the switching cost.

[0021] Exemplarily, the networking module includes: a first construction submodule, which is used to construct a state space based on the multiple candidate communication networking modes when multiple candidate communication networking modes are included, wherein the state space includes multiple states, and each state is a candidate communication networking mode; a second construction submodule, which is used to construct an action space based on the multiple candidate communication networking modes, wherein the action space includes multiple actions, and each action represents switching from one candidate communication networking mode to another candidate communication networking mode based on a direct switching mode or an indirect switching mode, wherein the direct switching mode represents switching directly from one candidate communication networking mode to another candidate communication networking mode, and the indirect switching mode represents switching from one candidate communication networking mode to another candidate communication networking mode via other candidate communication networking modes; a first acquisition submodule, which is used to acquire a state transition probability, wherein the state The transition probability represents the probability of switching from a state in the state space to another state in the state space through an action in the action space; the second acquisition submodule obtains the switching cost, wherein the switching cost represents the cost of switching from a state in the state space to another state in the state space through an action in the action space; the second determination submodule is used to determine the value function of the state switching strategy based on the state transition probability and the switching cost; the update submodule is used to update the state switching strategy until the value function and the state switching strategy meet the convergence conditions, wherein the converged state switching strategy indicates that the switching cost of switching from the current networking mode to the target networking mode is minimized; the second networking submodule is used to select the target networking mode from the multiple candidate communication networking modes for networking based on the converged state switching strategy.

[0022] Another embodiment of the present application provides a dual-mode communication repeater, characterized in that the dual-mode communication repeater includes at least one of a dual-mode chip, a processor unit, a three-phase switching control module, a zero-crossing detection module for detecting phase, and a multi-protocol communication conversion module, and the dual-mode chip supports power line carrier communication HPLC and micro-power wireless communication HRF, and the dual-mode communication repeater is used to implement the steps according to the above method.

[0023] Another embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method of any of the above embodiments when executing the computer program.

[0024] Another embodiment of the present application provides a communication system, characterized in that the communication system includes a dual-mode communication repeater, and the dual-mode communication repeater is used to implement the steps according to the above method.

[0025] Another embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method of any of the above embodiments are implemented.

[0026] Another embodiment of the present application provides a computer program product, which includes instructions. When the instructions are executed by a processor of a computer device, the computer device is enabled to perform the steps of the method of any of the above embodiments.

[0027] In the above implementation, a network access request is sent to the master node, wherein the network access request includes a random number and a repeater address, the repeater address is obtained based on the random number and the follow-up address using the first address processing method, and the follow-up address is the address of the terminal device; when the master node determines to allow the dual-mode communication repeater to access the network based on the network access request, the dual-mode communication repeater accesses the dual-mode communication network for communication, wherein after receiving the network access request, the master node obtains the follow-up address based on the random number and the repeater address in the network access request using the second address processing method, and allows the dual-mode communication repeater to access the network when the follow-up address is the address of the terminal device connected to the master node for communication. The present invention simplifies the network access process and adopts the follow-up address setting, which can quickly join the network of the local area and prevent mistaken entry into other local areas. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 A flow chart of a communication method of a dual-mode communication repeater provided in an embodiment of the present application;

[0029] Figure 2 A flowchart of setting a follow-up address provided for an implementation method of the present application;

[0030] Figure 3 A flow chart of repeater access to the network provided for the implementation mode of this application;

[0031] Figure 4 A flow chart of communication networking mode switching provided in an embodiment of the present application;

[0032] Figure 5 A schematic diagram of adaptive networking switching of a dual-mode communication repeater provided in an embodiment of the present application;

[0033] Figure 6 A flowchart of selecting a target networking mode for networking provided in an implementation manner of the present application;

[0034] Figure 7 A flowchart of a Markov decision algorithm provided for an embodiment of the present application;

[0035] Figure 8 A schematic diagram of optimizing a dual-mode network provided in an embodiment of the present application;

[0036] Fig. 9 A flowchart of forwarding a signal to be forwarded provided in an embodiment of the present application;

[0037] Fig.10 A schematic diagram of a dual-mode communication repeater application network structure provided in an embodiment of the present application;

[0038] Fig.11 A hardware structure diagram of a dual-mode communication repeater provided in an embodiment of the present application;

[0039] Fig.12 A schematic diagram of a communication device of a dual-mode communication repeater provided in an embodiment of the present application;

[0040] Fig.13 A block diagram of an electronic device provided for an embodiment of the present application. DETAILED DESCRIPTION

[0041] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0042] With the continuous advancement of smart grid construction, the low-voltage power distribution system has prominent problems such as large amount of data, complex lines, multiple terminal equipment points, and frequent information interaction, which puts forward higher requirements for the collection, transmission and processing of power communication. Power Line Communication (PLC) communication technology has been widely used as a unique communication method in low-voltage power distribution systems due to its advantages such as no need for additional wiring, high transmission rate, and low cost. However, power line carrier communication faces challenges such as severe attenuation of high-frequency signals, high environmental noise, and interference coupling between lines, resulting in communication stability being significantly affected by factors such as line length, topology, and load conditions. Existing solutions usually adopt the methods of increasing transmission power, adjusting the position of concentrators, and adding multiple carrier repeaters. However, due to various conditions, the existing communication methods cannot achieve full coverage of communication equipment on the low-voltage distribution station side and stable and reliable communication connections for interconnection between different types of equipment.

[0043] Given that repeaters in existing communication modes are difficult to adapt to the complex and changeable power distribution environment and the growing demand for data transmission, it is urgent to introduce more flexible and efficient technical means to develop a low-voltage power distribution dual-mode repeater with adaptive wide-band signal receiving capabilities, "plug and play" capabilities, and support for multiple communication protocols. This is of great significance to greatly improve the communication efficiency and reliability of the low-voltage power distribution system.

[0044] In the field of low-voltage power distribution and utilization, although the existing general repeater technology has met the needs of power information transmission to a certain extent, it still has many shortcomings. First of all, most of the existing repeater technologies in the field of low-voltage power distribution and utilization adopt a single communication mode, such as power line carrier communication or wireless communication. When facing the complex and changeable low-voltage power distribution and utilization environment, it is often difficult to ensure the stability, reliability and transmission efficiency of communication. Secondly, there are also problems with the compatibility and scalability of existing repeater technologies. Since the common repeater products on the market come from different manufacturers and each follows different equipment technical standards, it is difficult to achieve seamless docking and collaborative work between multi-brand equipment, which increases the difficulty of internal system integration. When the existing general repeaters are connected to the network, the network access method mainly adopts the manual access method, which is cumbersome, costly and error-prone.

[0045] Based on this, the present application proposes a dual-mode communication repeater based on a dual-mode communication chip, which is efficient in forwarding, easy to maintain and low in cost. It has the characteristics of fast network access, plug and play, dual-mode hybrid networking, adaptive routing selection, etc. It can be used as a relay node on the communication link to amplify and transmit the signal, thereby expanding the communication coverage and improving the communication quality. By reasonably deploying the dual-mode repeater of the present invention, it is possible to overcome the problem of signal quality degradation caused by line attenuation, interference and other factors during the transmission process, and realize long-distance transmission and stable communication of the signal to meet the needs of various application scenarios, reduce on-site maintenance workload, and reduce investment costs.

[0046] Figure 1 It is a flow chart of a communication method of a dual-mode communication repeater according to an embodiment of the present application.

[0047] like Figure 1 As shown, the communication method of the dual-mode communication repeater includes: S101-S102.

[0048] S101, sending a network access request to a master node, wherein the network access request includes a random number and a repeater address, the repeater address is obtained based on the random number and the follow-up address using a first address processing method, and the follow-up address is an address of a terminal device.

[0049] S102: When the master node determines to allow the dual-mode communication repeater to access the network based on the network access request, the dual-mode communication repeater accesses the dual-mode communication network for communication.

[0050] Among them, after receiving the network access request, the main node uses the second address processing method to obtain the follow-up address based on the random number and repeater address in the network access request, and allows the dual-mode communication repeater to access the network when the follow-up address is the address of the terminal device that communicates with the main node.

[0051] Exemplarily, when the dual-mode communication repeater accesses the network, it sends a network access request to the master node, wherein the master node is, for example, a CCO (Central Coordinator), and the network access request includes a random number and a repeater address, and the random number can be randomly obtained after the dual-mode communication repeater is powered on. The repeater address is obtained based on the random number and the follow-up address using the first address processing method, and the follow-up address is the address of the terminal device. The terminal device can be a STA (Station). The master node receives the network access request, processes the random number and the repeater address in the network access request using the second address processing method, obtains the follow-up address, that is, obtains the address of the terminal device, and the master node determines whether the address of the terminal device is in the white list of the terminal device that is connected to the master node for communication. If it exists, the dual-mode communication repeater is allowed to access the network. If not, the dual-mode communication repeater is denied access to the network. When the master node determines to allow the dual-mode communication repeater to access the network based on the network access request, the dual-mode communication repeater successfully accesses the dual-mode communication network for subsequent communication.

[0052] The dual-mode communication repeater network access method of the present application simplifies the network access process and adopts a follow-up address setting, which can quickly join the network of the local area and prevent accidental entry into other area networks.

[0053] As an example, the random number in the network access request is a random value that the dual-mode communication repeater automatically obtains as a random number when it is powered on for the first time. It will not be re-acquired when it is powered on again after a subsequent power failure, and the random number is unique.

[0054] As an example, the first address processing method includes: the dual-mode communication repeater uses a random number to convert the follow-up address to obtain the repeater address; the second address processing method includes: the master node uses a random number to reversely convert the repeater address to obtain the follow-up address.

[0055] Exemplarily, the first address processing method: after the dual-mode communication repeater is powered on, a random number is obtained, for example, the random number is 0x12345671 (hexadecimal), for example, the follow-up address, that is, the terminal address is 0x123456123456 (in reverse order), and the dual-mode communication repeater uses the random number to convert the follow-up address, including adding the random number and the follow-up address to obtain the repeater address, and the obtained repeater address is A23444266227.

[0056] For example, the lower 4 bytes of the follow-up address 56123456 (hexadecimal number) are XORed with the random number, and 56123456 is converted into binary 1010110000100100011010001010110; the random number 0x12345671 is converted into binary 001001000110100010101011001110001 (the same number of binary bits is kept for the convenience of XOR operation), and then the binary value after XOR is: 1000100001001100110001000100111 (hexadecimal is 44266227), then the repeater address is A23444266227, and the repeater address can also be called the network access MAC address. The dual-mode communication repeater packs the random number and the repeater address into the network access request and sends it to the master node, as shown in the following formula:

[0057]

[0058] Exemplarily, the second address processing method: the master node uses the random number in the network access request to reversely convert the g repeater address to obtain the follow-up address, for example, the random number is 0x12345671 (hexadecimal), and the repeater address is A23444266227. The master node uses the random number to reversely convert the repeater address to obtain the follow-up address.

[0059] Exemplarily, in the same way, the master node CCO receives a random number of 0x12345671 (0010010001101000101011001110001) and a repeater address A23444266227 (1000100001001100110001000100111) and the result of the XOR is hexadecimal 56123456 (101011000010010001101000101010110), that is, the master node CCO determines that the follower address of the repeater is 123456123456. If it is an address in the whitelist, the master node CCO allows the dual-mode communication repeater to access the network, as shown in the following formula:

[0060]

[0061] As an example, a dual-mode communication repeater initiates a network access request, which includes a random number and a repeater address. The dual-mode communication repeater changes the highest 4 bits of the highest byte in the random number to the value of the high 4 bits of the high byte of the follow-up address. The high 4 bits of the highest byte of the repeater address are fixed bits A, and the lower 4 bytes take the value of the XOR of the 4 bytes of the random number after the exchange and the lower 4 bytes of the follow-up address. When the CCO receives the network access request, it converts the random number and the repeater address (network access MAC address) to the real follow-up address, and then determines whether it is in the whitelist. If it is in the whitelist, network access is allowed, and if it is not in the whitelist, network access is denied.

[0062] By using the follow-up address setting, the network access process can be simplified, and users can quickly join the local network to prevent mistakenly entering other network areas.

[0063] As an example, Figure 2 As shown, the follower address of the dual-mode communication repeater is set in the following manner S201-S202.

[0064] S201, before sending a network access request to the master node, receiving a follow-up address and performing address setting, wherein the follow-up address is an address of a terminal device in a whitelist of the master node.

[0065] S202 , in response to the address read instruction, returning the set follow-up address, so as to determine whether the setting is successful based on the returned follow-up address.

[0066] Exemplarily, in order to ensure that the dual-mode communication repeater can successfully access the network, before the dual-mode communication repeater sends a network access request, the present application also sets the follow address of the dual-mode communication repeater. The dual-mode communication repeater receives the follow address and sets the address. The follow address is the address of the terminal device in the master node whitelist, and the controller can send the follow address to the dual-mode communication repeater. The controller then sends an address read instruction to the dual-mode communication repeater, and the dual-mode communication repeater responds to the address read instruction and returns the follow address set by the dual-mode communication repeater. The controller determines whether the follow address of the dual-mode communication repeater is set successfully based on the returned follow address.

[0067] As an example, in order to achieve interconnection with concentrator communication units (e.g., master node CCO) and terminal equipment (STA) of various manufacturers, the dual-mode communication repeater adopts the follow-up address mode, that is, the dual-mode communication repeater sets the follow-up address after accessing the site (installed and connected to the network). This follow-up address is the address of any terminal in the CCO whitelist file (that is, the terminal address is used as the follow-up address). The dual-mode communication repeater internally combines this terminal communication address (i.e., the follow-up address) with a random number to obtain the repeater address. When the dual-mode communication repeater accesses the network, it uses the converted address (i.e., the repeater address) to apply for network access. The device type is a repeater. After receiving it, the CCO allows access to the network. The CCO assigns a terminal equipment identifier (TEI) to the repeater for network maintenance.

[0068] For example, the dual-mode communication repeater of the present application includes an RS485 interface. When the dual-mode communication repeater is connected to the site, the controller can be used to send the follow-up address to the dual-mode communication repeater through the RS485 interface. In the repeater mode, the 645 command format sent by the controller is as shown in Table 1:

[0069] Table 1

[0070]

[0071] Among them, the address field is the address of the terminal device (the physical address or logical address of the terminal device, which is used to uniquely identify each device in the network), the identification is defined as A0B0C0D0, and the follower address is also the address of the terminal device, but the follower address is the address used for networking, which is different from the physical address or logical address. NOPE is the operator code and terminal password for the 645 command setting operation, which can be defined as any value here. The follower address is the address of any terminal in the station area. It can be understood that when in repeater mode, the address of any terminal in the station area is designated as the follower address. It is necessary to reverse the order and add 0x33 to each byte. The dual-mode communication repeater receives the 645 command sent by the controller and sets it according to the follower address in the command. In order to verify whether the dual-mode communication repeater is set successfully, the controller also sends an address read instruction to check whether the follower address of the dual-mode communication repeater is set successfully.

[0072] Exemplarily, the dual-mode communication repeater obtains or reads the current follower address of the dual-mode communication repeater by sending the 645 command shown in Table 2 below. The corresponding message format is as follows, and the identification is defined as A0B0C0D1.

[0073] Table 2

[0074]

[0075] As an example, assume that the device address (controller address) is 65 76 54 32 10 AB, and the following address is 5634 12 56 34 12. The following address after adding 0x33 in reverse order is 45 67 89 45 67 89. NOPE is an arbitrary 8-byte value, and 00 is used as padding as an example.

[0076] (1) The controller sends a signal to the repeater using the command format of Table 1. The signal includes the following address: 68 6576 54 32 10 AB 68 14 12 03 F3 E3 D3 00 00 00 00 00 00 00 00 45 67 89 45 67 89CS 16.

[0077] (2) After the repeater receives the signal from the controller, it sends a response signal to the controller using the command format in Table 1: 68 65 76 54 32 10 AB 68 94 04 03 F3 E3 D3 44 16.

[0078] The controller reads the current follow address of the repeater to determine whether the repeater has successfully set the follow address:

[0079] (3) The controller sends a follow-up address read signal to the repeater using the command format of Table 1: 68 65 76 54 3210 AB 68 11 04 04 F3 E3 D3 C2 16.

[0080] (4) After the repeater receives the read signal from the controller, it sends a follow-up address feedback signal to the controller using the command format in Table 2: 68 65 76 54 32 10 AB 91 0A 04 F3 E3 D3 45 67 89 45 67 89 3916.

[0081] If the follower address feedback signal received by the controller does include the follower address, it is determined that the repeater has successfully set the follower address. The repeater follower address setting is completed through the above process. After the repeater completes the follower address setting, the network access process is started.

[0082] like Figure 3 The flowchart of repeater access to the network is shown.

[0083] like Figure 3As shown in the figure, after the repeater is powered on, it uses the follower address to apply for network access. The CCO node finds that the repeater is applying for network access, temporarily allows network access and reads the repeater address parameters. The repeater responds to the CCO address parameters, that is, the repeater responds to the CCO's reading and returns the repeater address parameters to the CCO. The repeater address parameters include a random number and a repeater address. The CCO node determines whether it belongs to this network group. If it does, the repeater is added to the networking list. If it does not belong to this network group, network access is denied. If the previous CCO network fails to access the network, the repeater reapplies for the next CCO network.

[0084] It should be noted that the dual-mode communication repeater, as an auxiliary device for collection, does not participate in the archive management of the main station. The process agreement for CCO to handle dual-mode communication repeaters is: when the concentrator CCO initiates related processes such as activating the carrier and actively registering from the node, the CCO network maintenance sets the dual-mode communication repeater in the gray list mechanism and does not query the dual-mode communication repeater device, so that the dual-mode communication repeater is exempted from archive management and avoids misjudgment of the concentrator, thereby realizing the interconnection and precise forwarding of signals between equipment of various manufacturers. In addition, the dual-mode communication repeater can parse and convert multiple communication protocols, is compatible with the data format and communication rate of mainstream brand equipment on the market, and supports interconnection and stable and reliable communication between multi-vendor and multi-brand communication equipment. The dual-mode communication repeater is exempted from archive management and does not involve the archive management issues of the main station, concentrator and CCO, avoiding the need for the overall management process for adding, deleting and replacing on-site repeaters.

[0085] As an example, Figure 4 As shown, after the dual-mode communication repeater accesses the dual-mode communication network, the communication method of the dual-mode communication repeater further includes S401-S403.

[0086] S401: Select a target networking mode from at least one candidate communication networking mode for networking.

[0087] S402, switching from the current networking mode to the target networking mode.

[0088] S403, communicating based on the target networking mode.

[0089] Exemplarily, after the dual-mode communication repeater accesses the dual-mode communication network, the communication networking mode of the dual-mode communication repeater of the present application can also be switched. For example, a target networking mode is selected from at least one candidate communication networking mode for networking. The communication networking mode switching mechanism of the dual-mode communication repeater of the present application can be achieved by monitoring parameters such as signal strength and communication quality in the line, combined with a preset switching strategy, and has the ability to automatically identify the current communication environment and adaptively switch the communication mode.

[0090] As an example, the candidate communication networking modes include at least one of the following:

[0091] Communicate and network with upstream and downstream devices through power line carrier communication networking mode;

[0092] Communicate and network with upstream and downstream devices through micro-power wireless communication networking mode;

[0093] Communicate with upstream devices through micro-power wireless communication networking mode, and communicate with downstream devices through power line carrier communication networking mode;

[0094] It communicates with upstream devices through power line carrier communication networking mode, and communicates with downstream devices through micro-power wireless communication networking mode.

[0095] Exemplarily, the present application is illustrated by taking four communication networking methods as examples, for example: communicating and networking with upstream devices and downstream devices through a power line carrier communication networking mode, communicating and networking with upstream devices and downstream devices through a micro-power wireless communication networking mode, communicating and networking with upstream devices through a micro-power wireless communication networking mode, communicating and networking with downstream devices through a power line carrier communication networking mode, communicating and networking with upstream devices through a power line carrier communication networking mode, and communicating and networking with downstream devices through a micro-power wireless communication networking mode.

[0096] As an example, the four communication networking modes may have certain priorities. When the quality of the power line carrier channel is good, the power line carrier communication mode is preferred to ensure the stability and high rate of communication. When the quality of the power line carrier channel is poor or when interference is received, it automatically switches to the micro-power wireless communication mode to ensure the continuity and reliability of communication. When the power line carrier communication quality between the repeater and the upstream CCO (central coordinator) or the upstream adjacent terminal (the upstream terminal STA directly connected to the repeater) is poor and the wireless communication signal is good, and the power line carrier communication quality between the repeater and the downstream terminal (the downstream terminal STA directly connected to the repeater) is good and the wireless communication quality is poor, the repeater communicates with the upstream CCO (central coordinator) or the upstream adjacent terminal through the wireless channel. The signal conversion module inside converts the wireless signal into a power line carrier signal and amplifies it and forwards it to the downstream adjacent terminal through the power line. The repeater communicates with the downstream terminal through the power line carrier channel. When the power line carrier signal between the repeater and the upstream CCO (central coordinator) or the upstream adjacent terminal is good and the wireless signal communication quality is poor, and the power line carrier communication quality between the repeater and the downstream terminal is poor and the wireless communication quality is good, the repeater communicates with the upstream CCO (central coordinator) or the upstream adjacent terminal through the power line carrier channel. The signal conversion module inside the repeater converts the power line carrier signal into a wireless signal and amplifies and forwards it, and communicates with the downstream terminal through the wireless channel.

[0097] Figure 5 Schematic diagram of the adaptive networking switching of the dual-mode communication repeater in the embodiment of the present application. Figure 5 As shown, the dual-mode communication repeater includes a signal conversion module, which can convert power line signals into wireless signals, or convert wireless signals into power line signals. For example, the repeater communicates with the upstream device using power line signal 1, and can continue to communicate with the downstream device through power line signal 1 and convert power line signal 1 into wireless signal 2, and use wireless signal 2 to communicate with the downstream device. For another example, the repeater communicates with the upstream device using wireless signal 2, and can continue to communicate with the downstream device through wireless signal 2 and convert wireless signal 2 into power line signal 1, and use power line signal 1 to communicate with the downstream device.

[0098] When switching the communication networking mode, the present application also takes the switching cost issue into consideration.

[0099] As an example, Figure 6 As shown, a target networking mode is selected from at least one candidate communication networking mode for networking, including S601-S602.

[0100] S601: Determine a switching cost of switching from a current networking mode to each candidate communication networking mode.

[0101] S602: Based on the switching cost, select a target networking mode from at least one candidate communication networking mode for networking.

[0102] Exemplarily, when switching the communication networking mode, the switching cost of switching from the current networking mode to each candidate communication networking mode is also calculated, and based on the switching cost, the candidate communication networking mode with the smallest switching cost is selected as the target networking mode for networking.

[0103] As an example, the switching cost includes at least one of a historical communication cost and a current communication cost, and both the historical communication cost and the current communication cost include at least one of a communication bandwidth, a communication delay, and a communication packet loss rate.

[0104] As an example, Figure 7 As shown, selecting a target networking mode from at least one candidate communication networking mode for networking includes:

[0105] S701, in the case of including multiple candidate communication networking modes, constructing a state space based on the multiple candidate communication networking modes, wherein the state space includes multiple states, and each state is a candidate communication networking mode.

[0106] S702, constructing an action space based on multiple candidate communication networking modes, wherein the action space includes multiple actions, each action represents switching from one candidate communication networking mode to another candidate communication networking mode based on a direct switching mode or an indirect switching mode, wherein the direct switching mode represents switching directly from one candidate communication networking mode to another candidate communication networking mode, and the indirect switching mode represents switching from one candidate communication networking mode to another candidate communication networking mode via other candidate communication networking modes.

[0107] S703 , obtaining a state transition probability, wherein the state transition probability represents a probability of switching from a state in the state space to another state in the state space through an action in the action space.

[0108] S704 , obtaining a switching cost, wherein the switching cost represents a cost of switching from a state in the state space to another state in the action space via an action in the action space.

[0109] S705, determining a value function of the state switching strategy based on the state transition probability and the switching cost.

[0110] S706, updating the state switching strategy until the value function and the state switching strategy meet the convergence condition, wherein the converged state switching strategy indicates that the switching cost from the current networking mode to the target networking mode is minimal.

[0111] S707, based on the converged state switching strategy, select a target networking mode from multiple candidate communication networking modes for networking.

[0112] Exemplarily, the present application may use a Markov decision framework to determine the communication networking mode switching strategy.

[0113] Firstly, the four communication networking modes of power line carrier transmission, power line switching to wireless transmission, wireless switching to power line transmission and wireless transmission are named A, B, C and D respectively. The routing adaptive switching algorithm based on game theory takes the four paths as participants of the game, and factors such as network status, data transmission requirements and switching cost as external conditions of the game.

[0114] The following is a detailed description of the routing adaptive switching algorithm.

[0115] (1) Settings and symbol description:

[0116] 1. Set the routing pattern set to , where A represents wired transmission, B represents wired to wireless switching, C represents wireless to wired switching, and D represents wireless transmission.

[0117] 2. The switching cost function is recorded as , where s and t represent the current communication mode and the target communication mode respectively, Represents the additional cost of switching from mode s to mode t (including communication bandwidth, communication delay, communication packet loss rate, etc.).

[0118] 3. System status At time t it can be An element in (one of ABCD), and its state is affected by environmental changes and decisions.

[0119] (2) Game theory model and mathematical formula:

[0120] Using the Markov decision process framework, it is defined as follows:

[0121] 1. State Space ;

[0122] 2. Action Space , for any state s, represents the switching actions (such as communication modes BCD) that may be performed in state s (such as communication mode A), where the switching actions do not include the current state.

[0123] 3. State transition probability Indicates that an action is performed in state s (such as communication mode A) After transfer to The probability of (for example, communication mode B) can be obtained based on historical data, theoretical models, actual situation analysis or experimental measurement.

[0124] 4. Switching cost (negative cost) function , when the switching action is executed from state s and reach a new state When obtained, It represents the additional cost of switching from mode s to mode t (including communication bandwidth, communication delay, communication packet loss rate, etc.). The communication bandwidth, communication delay, and communication packet loss rate can be historical information of the communication networking mode ABCD or real-time information.

[0125] According to the state transition probability and the switching cost, the value function of the state switching strategy is determined. The value function can be the Bellman expectation equation, as shown in the following formula:

[0126]

[0127] in, is the value function of state s under strategy π (the state value function of strategy π) is defined as the expected total cost in the future starting from state s, conditional on following policy π). is a discount factor that balances the importance of immediate benefits against future benefits, and .

[0128] Strategy π means: S→A is a mapping from a state to an action, that is, the path chosen in state s The action a here may be to maintain the current communication networking mode (such as maintaining power line communication or wireless communication), switch to another mode (such as switching from power line communication to wireless communication), etc., depending on the communication network environment and the goal of the decision, such as minimizing latency, packet loss rate or switching cost.

[0129] (3) Algorithm flow:

[0130] 1. Initialization: Set the initial state value function and strategies , usually an arbitrary initial value is chosen.

[0131] 2. Iterative solution: ① For each state , calculate all possible actions The expected cost and update the value function ② Update strategy To minimize the expected cost of the action: ; ③Loop until convergence: Repeat step ② until and strategies Reach the predetermined convergence conditions (assuming that the current communication networking mode is A, assuming that the optimal switching strategy is D, at this time, the convergence conditions include, for example, the communication bandwidth, communication delay, and communication packet loss rate after switching to strategy D, which meet certain thresholds. Of course, the switching strategy can be directly switched from one communication networking mode to another (direct switching mode), or it can be switched to another through other communication networking models (indirect switching mode), such as directly switching from A to D, and switching from A to D through C. These two switching strategies are different. The optimal strategy finally obtained is the adaptive routing switching strategy, which can dynamically select the optimal communication path based on full consideration of the switching cost. ④ Cycle detection: (Cycle detection can be independent of ①②③, such as reaching the set time, restarting initialization and iterative solution): Set time T, if the network status performance of the transmission signal between CCO and the target terminal (the two are transferred through the dual-mode repeater) is poor, the routing diagnosis of the dual-mode communication repeater is triggered, and return to step 2 to achieve adaptive switching of the route.

[0132] The dual-mode communication repeater of the present application adopts a hybrid networking method and supports free switching of 4 different communication modes to ensure that IoT devices can achieve stable, accurate and efficient communication in various complex environments.

[0133] As an example, dual-mode communication includes power line carrier communication HPLC (High Speed ​​Line Communication) and micro-power wireless communication HRF (Highspeed Radio Frequency). For a target slave node in a dual-mode communication network, the target slave node is communicatively connected to a master node via at least one of the power line carrier communication HPLC and the micro-power wireless communication HRF. After the dual-mode communication repeater is connected to the network, the dual-mode communication repeater is communicatively connected to the master node via at least one of the power line carrier communication HPLC and the micro-power wireless communication HRF. The method also includes: when the communication link between the target slave node and the master node is longer than the communication link between the dual-mode communication repeater and the master node, if the dual-mode communication repeater receives a signal to be forwarded sent by the target slave node based on the micro-power wireless communication HRF, the dual-mode communication repeater forwards the signal to be forwarded to the master node.

[0134] Exemplarily, the present application also includes optimizing the relay network. The dual-mode communication of the present application includes two modes of communication: power line carrier communication HPLC and micro-power wireless communication HRF. Figure 8As shown, the target slave node may be STA6. STA6 can communicate with the master node CCO through both power line carrier communication HPLC and micro-power wireless communication HRF. After the dual-mode communication repeater is connected to the network, the dual-mode communication repeater can also communicate with the master node CCO through power line carrier communication HPLC and micro-power wireless communication HRF. Then, before optimization, if STA6 wants to communicate with CCO, it needs to go through the STA6-STA4-STA2-CCO link or the STA6-STA4-dual-mode repeater-CCO link. This link is longer than the STA6-dual-mode repeater-CCO link. STA6 can detect the wireless communication signal between the dual-mode communication repeater in the network in real time. When the signal is good, it can communicate through the dual-mode communication repeater. For example, STA6 can send a signal to the dual-mode communication repeater. The dual-mode communication repeater can directly receive the signal to be forwarded sent by the target slave node STA6 based on the micro-power wireless communication HRF. The dual-mode communication repeater forwards the signal to be forwarded to the master node CCO. Figure 8 The optimized dual-mode network is shown.

[0135] The dual-mode communication repeater of the present application forwards signals by dynamically selecting the optimal communication path, that is, the process of switching the communication networking mode mentioned above. When the forwarded wireless signal is good, it can also optimize the network level, flatten the networking level, and improve the communication resource allocation efficiency and data transmission success rate of the station area network. Figure 8 For example, STA6 detects communication signals in real time. When it finds that the wireless signal between it and the repeater is good, STA6 can communicate directly with CCO through the repeater to achieve flattening of the network hierarchy.

[0136] As an example, after the dual-mode communication repeater is connected to the network, the communication method of the dual-mode communication repeater also includes: when the dual-mode communication repeater receives a signal to be forwarded from a three-phase device, forwarding the signal to be forwarded to the main node through the three-phase power line; when the dual-mode communication repeater receives a signal to be forwarded from a single-phase device, detecting the phase information of the signal to be forwarded, and forwarding the signal to be forwarded to the main node based on the single-phase power line corresponding to the phase information.

[0137] Exemplarily, the types of STA devices may include three-phase devices and single-phase devices. For three-phase STA devices, the repeater is connected to the three-phase power line accordingly. After the dual-mode communication repeater receives the signal to be forwarded from the three-phase STA device, it does not need to detect the phase of the signal, and directly forwards the signal to be forwarded to the CCO through the three-phase circuit. If the STA device is a single-phase device, after the dual-mode communication repeater receives the signal to be forwarded from the single-phase STA device, it needs to detect the phase of the signal through the zero-crossing detection module, and forward the signal to be forwarded to the CCO through the detected phase.

[0138] As an example, Fig. 9 As shown, after the dual-mode communication repeater is connected to the network, the communication method of the dual-mode communication repeater further includes S901-S902.

[0139] S901, when the dual-mode communication repeater receives a signal to be forwarded, the repeating mode is determined based on the signal quality of the signal to be forwarded.

[0140] S902: forward the signal to be forwarded based on the relay mode.

[0141] Among them, the relay mode includes at least one of a direct relay mode and an indirect relay mode. The direct relay mode includes directly forwarding the signal to be forwarded, and the indirect relay mode includes processing the signal to be forwarded before forwarding. The signal quality corresponding to the direct relay mode is higher than the signal quality corresponding to the indirect relay mode.

[0142] Exemplarily, after receiving a signal, the dual-mode communication repeater first determines whether the destination address of the signal is itself. If so, it parses and processes the signal. If not, it relays and forwards the signal. When the dual-mode communication repeater receives a signal to be forwarded, the relay mode is determined based on the signal quality of the signal to be forwarded. The relay mode includes at least one of a direct relay mode and an indirect relay mode. That is, the dual-mode communication repeater can select different working modes. There are two working modes, namely, a direct relay mode and an indirect relay mode. The dual-mode communication repeater selects a direct relay mode or an indirect relay mode according to the signal quality of the signal to be forwarded. The direct relay mode includes directly forwarding the signal to be forwarded, and the indirect relay mode includes forwarding the signal after processing it. For example, when the dual-mode communication repeater receives a signal from a downstream device and finds that the signal quality is good, it forwards the signal to the upstream based on the direct relay mode. If the signal quality is poor, the repeater amplifies the signal based on the indirect relay mode and then sends it to the upstream device.

[0143] Exemplarily, in direct relay mode, the dual-mode communication repeater directly connects the three-phase circuit through the internal coupling circuit, transmits the power signal (such as the signal received from the STA through the power line carrier (HPLC) method) from the input end to the output end, and plays the role of signal relay. In this mode, the repeater directly participates in the transmission of the power signal, does not process or intervene in the signal, and only plays the role of signal transfer. In indirect relay mode, the dual-mode communication repeater processes, amplifies, filters, and other operations on the input signal through the internal signal amplifier module (such as transistors, integrated circuits and other electronic devices), and then transmits the processed signal to the output end. The dual-mode communication repeater will process and intervene in the signal to a certain extent to improve the signal quality and stability and increase the transmission distance.

[0144] Fig.10This is a schematic diagram of the network structure of a dual-mode communication repeater application according to an embodiment of the present application.

[0145] like Fig.10 As shown, the dual-mode communication repeater 2 is in direct relay mode: the dual-mode communication repeater 2 is connected to the three-phase circuit and belongs to the direct relay mode. The CCO can directly broadcast and forward the messages (signals) of the three-phase lines A, B, and C to other normally operating terminal devices STA in the network through the three-phase power line. The repeater receives the broadcast signal and directly forwards the signal to the terminal STA6 through the three-phase power line through the RS485 interface, and forwards the data of the terminal STA6 to the CCO.

[0146] The dual-mode communication repeater 1 is in indirect relay mode: the dual-mode repeater 1 is connected to the three-phase circuit, and according to the phase detected by the zero-crossing detection module and the signal information identified by the dual-mode chip, the dual-mode communication repeater 1 is adaptively switched to the corresponding phase to forward the signal; if the signal received from the CCO or the upstream adjacent end is weak, it can be adjusted to the indirect relay mode to process and amplify the input signal, and then the signal transmission channel (communication networking method) is adaptively selected through the game method (Markov) mentioned above to ensure that the dual-mode terminal STA4 can send and receive data normally in the network.

[0147] The dual-mode communication repeater 5 is directly connected to the single-phase circuit (directly connected to the circuit through any one of the A, B, C phases and the N line), and the corresponding phase is detected by the zero detection module. The three-phase switching module inside the repeater switches to the A phase for transmission and reception. In addition, the repeater switches the communication networking mode through the Markov method mentioned above, which can ensure that the dual-mode terminal STA5 and the dual-mode terminal STA9 adapt to the optimal communication channel among the four transmission modes of power line carrier transmission, power line switching to wireless transmission, wireless switching to power line transmission and wireless transmission.

[0148] The dual-mode communication repeater 3 is directly connected to the single-phase circuit (any one of A, B, C plus N line is directly connected to the circuit), and the corresponding phase is detected by the zero detection module. The three-phase switching module inside the repeater switches to the B phase for transmission and reception. Since the wireless signal between the dual-mode communication repeater 3 and the dual-mode terminal STA2 is interrupted or the communication quality is poor, the dual-mode communication repeater 3 and the dual-mode terminal STA2 (the terminal communication with the closest distance is selected as an example) communicate through the power line carrier, and the power line signal between the dual-mode communication repeater 3 and the dual-mode terminal STA7 is interrupted. The dual-mode communication repeater 3 and the dual-mode terminal STA7 communicate wirelessly. When the dual-mode communication repeater 3 receives the signal forwarded by the upstream CCO and STA2, the power line carrier signal is converted into a wireless signal through the signal conversion module, amplified and forwarded to the dual-mode terminal STA7, and when the dual-mode communication repeater 3 receives the downstream STA7 signal, the wireless signal is converted into a power line signal through the signal conversion module, amplified and forwarded to the dual-mode terminal STA2 or the upstream CCO.

[0149] The dual-mode communication repeater 4 is directly connected to the single-phase circuit (any one of A, B, C plus N line is directly connected to the circuit), and the corresponding phase is detected by the zero detection module. The three-phase switching module inside the repeater switches to the C phase for transmission and reception. Since the power line signal between the dual-mode communication repeater 4 and the dual-mode terminal STA3 is interrupted or the communication quality is poor, the dual-mode communication repeater 4 and the dual-mode terminal STA3 (the terminal communication with the closest distance is taken as an example) communicate wirelessly, and the wireless signal between the dual-mode communication repeater 4 and the dual-mode terminal STA8 is interrupted or the quality is poor. The dual-mode communication repeater 3 and the dual-mode terminal STA8 communicate via power line. When the dual-mode communication repeater 4 receives the signal forwarded by the upstream CCO and STA3, the wireless signal is converted into a power line signal through the signal conversion module, amplified and forwarded to the dual-mode terminal STA8, and when the dual-mode communication repeater 3 receives the downstream STA8 signal, the power line signal is converted into a wireless signal through the signal conversion module, amplified and forwarded to the dual-mode terminal STA3 or the upstream CCO.

[0150] When the quality of the dual-mode repeater wireless micropower (HRF) signal is good, the dual-mode terminals STA4, STA5, STA7, STA8, and STA9 can also forward the signal through the dual-mode communication repeater 2 to reduce the network layer and achieve normal communication with the CCO.

[0151] As an example, a dual-mode communication repeater can be used to convert multiple communication protocols; after the dual-mode communication repeater is connected to the network, the communication method of the dual-mode communication repeater also includes: after the dual-mode communication repeater receives the signal to be forwarded, it converts the communication protocol of the signal to be forwarded and then forwards the signal to be forwarded.

[0152] Exemplarily, the dual-mode communication repeater of the present application supports multiple communication protocols, such as TCP / IP, UDP, Modbus, Profibus, etc., and can convert the data formats of these protocols internally, so that different devices can communicate and exchange data with each other to achieve interoperability between different devices and meet the mixed networking of modules between different manufacturers.

[0153] The technical advantages of the communication method of the dual-mode communication repeater of this application are:

[0154] 1. This application has a hybrid network of HPLC and HRF wireless channels, is compatible with HPLC and adds micro-power wireless functions, and can adaptively select the best of the four communication modes.

[0155] 2. The dual-mode three-phase repeater is exempt from file management and does not involve the file management issues of the master station, concentrator and CCO, avoiding the need for the addition, deletion and replacement of on-site repeaters to go through the overall management process.

[0156] 3. Support multiple communication protocols, such as TCP / IP, UDP, Modbus, Profibus, etc., and can convert the data formats of these protocols internally, so that different devices can communicate and exchange data with each other, so as to achieve interoperability between different devices and meet the mixed networking of modules from different manufacturers.

[0157] 4. The repeater uses an external antenna, which can maintain the strength and stability of the signal at a longer distance, thereby improving the coverage of communication.

[0158] 5. The dual-mode repeater is not only suitable for three-phase circuits, but can also be directly used in single-phase circuits to meet the multi-service application scenarios of low-voltage power distribution.

[0159] The application also proposes a dual-mode communication repeater.

[0160] In this embodiment, the dual-mode communication repeater includes at least one of a dual-mode chip, a processor unit, a three-phase switching control module, a zero-crossing detection module for detecting phase, and a multi-protocol communication conversion module. The dual-mode chip supports power line carrier communication HPLC and micro-power wireless communication HRF. The dual-mode communication repeater is used to implement the steps of the communication method of the above-mentioned dual-mode communication repeater.

[0161] Fig.11 This is a hardware structure diagram of a dual-mode communication repeater according to an embodiment of the present application.

[0162] like Fig.11As shown, the dual-mode communication repeater hardware includes a dual-mode chip, a processor unit, an impedance matching module, an indicator light, a multi-protocol communication conversion module, an RS485 interface, a memory, an AC / DC power supply module, a zero-crossing detection module, a three-phase switching control module, a bandpass filter, a power amplifier, a coupling transformer, a receiving switch, a transmitting switch, an antenna, etc.

[0163] The dual-mode chip integrates power line carrier (HPLC) and micropower wireless (HRF) communication chips, adopts multi-carrier orthogonal frequency division multiplexing (OFDM) technology, and supports multiple communication modes.

[0164] The processor unit is used to execute instructions, analyze and process data, manage system resources, coordinate the work of various components, and perform other communication-related tasks.

[0165] The impedance matching module is used to adjust the impedance matching between circuits, improve the efficiency of signal transmission, reduce signal loss, and ensure the performance and reliability of the communication system.

[0166] The indicator lights include operating lights and status lights.

[0167] The multi-protocol communication conversion module is used for conversion and adaptation between equipment protocols of different manufacturers to support interconnection and data exchange between different devices.

[0168] The RS485 interface is used to connect to external power-consuming devices (such as STA). CCO can also query, collect and configure relevant data of the dual-mode three-phase repeater through the RS485 interface.

[0169] The memory is used to store the relevant parameters and data in the dual-mode three-phase repeater. The AC / DC power supply module is used to convert the 380V / 220V AC voltage in the circuit into a DC 12V / 5V / 3.3V to power the dual-mode three-phase repeater.

[0170] The zero-crossing detection module is used to identify the phases to which the power lines in the circuit belong.

[0171] The three-phase switching control module is used to switch the dual-mode three-phase repeater to the corresponding phase according to the phase detected by the zero-crossing detection module (the phase includes A, B, and C phases), and relay the signal.

[0172] Bandpass filters are used to perform frequency selection, interference suppression, and other processing on received signals.

[0173] Power amplifiers are used to compensate for signal attenuation during transmission, improve signal-to-noise ratio, extend transmission distance, and improve system performance.

[0174] Coupling transformers are used to couple bidirectional analog signals to power lines.

[0175] The receiving switch and transmitting switch are used to control the receiving and sending of coupled signals respectively. The antenna is used to forward and receive wireless signals, enhance the signal coverage and transmission distance, and improve the performance and reliability of the wireless communication system.

[0176] The present application also proposes a communication device of a dual-mode communication repeater.

[0177] like Fig.12 As shown, the communication device of the dual-mode communication repeater includes: a sending module 10, used for sending a network access request to the main node, wherein the network access request includes a random number and a repeater address, wherein the repeater address is obtained based on the random number and the follow-up address using a first address processing method, and the follow-up address is the address of the terminal device; a network access module 20, used for the dual-mode communication repeater to access the dual-mode communication network for communication when the main node determines to allow the dual-mode communication repeater to access the network based on the network access request, wherein after receiving the network access request, the main node obtains the follow-up address based on the random number and the repeater address in the network access request using a second address processing method, and allows the dual-mode communication repeater to access the network when the follow-up address is the address of the terminal device communicating with the main node.

[0178] Exemplarily, the communication device of the dual-mode communication repeater also includes: a networking module, used to select a target networking mode for networking from at least one candidate communication networking mode; a switching module, used to switch from the current networking mode to the target networking mode; and a communication module, used to communicate based on the target networking mode.

[0179] Exemplarily, the networking module includes: a first determination submodule, used to determine the switching cost of switching from the current networking mode to each candidate communication networking mode; and a first networking submodule, used to select a target networking mode for networking from at least one candidate communication networking mode based on the switching cost.

[0180] Exemplarily, the networking module includes: a first construction submodule, which is used to construct a state space based on multiple candidate communication networking modes when multiple candidate communication networking modes are included, wherein the state space includes multiple states, and each state is a candidate communication networking mode; a second construction submodule, which is used to construct an action space based on multiple candidate communication networking modes, wherein the action space includes multiple actions, and each action represents switching from one candidate communication networking mode to another candidate communication networking mode based on a direct switching mode or an indirect switching mode, wherein the direct switching mode represents switching directly from one candidate communication networking mode to another candidate communication networking mode, and the indirect switching mode represents switching from one candidate communication networking mode to another candidate communication networking mode via other candidate communication networking modes; a first acquisition submodule, which is used to acquire a state transition concept; rate, wherein the state transition probability represents the probability of switching from a state in the state space to another state in the state space through an action in the action space; the second acquisition submodule, obtains the switching cost, wherein the switching cost represents the cost of switching from a state in the state space to another state in the state space through an action in the action space; the second determination submodule, for determining the value function of the state switching strategy based on the state transition probability and the switching cost; the update submodule, for updating the state switching strategy until the value function and the state switching strategy meet the convergence conditions, wherein the converged state switching strategy represents the minimum switching cost of switching from the current networking mode to the target networking mode; the second networking submodule, for selecting the target networking mode from multiple candidate communication networking modes for networking based on the converged state switching strategy.

[0181] The present application also proposes a communication system, which includes a dual-mode communication repeater, and the dual-mode communication repeater is used to implement the steps according to the above method.

[0182] The application also proposes a computer-readable storage medium.

[0183] In this embodiment, a computer program is stored on a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the communication method of the dual-mode communication repeater are implemented.

[0184] Fig.13 A block diagram of an electronic device provided for an embodiment of the present application.

[0185] An embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the communication method of the above-mentioned dual-mode communication repeater when executing the computer program.

[0186] like Fig.13 As shown, for ease of understanding, the embodiment of the present application shows a specific electronic device.

[0187] Electronic devices are intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0188] like Fig.13 As shown, the device includes a computing unit 1301, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1302 or a computer program loaded from a storage unit 1308 into a random access memory (RAM) 1303. In RAM 1303, various programs and data required for the operation of the electronic device can also be stored. The computing unit 1301, ROM 1302, and RAM 1303 are connected to each other via a bus 1304. An input / output (I / O) interface 1305 is also connected to the bus 1304.

[0189] Multiple components in the electronic device are connected to the I / O interface 1305, including: an input unit 1306, such as a keyboard, a mouse, etc.; an output unit 1307, such as various types of displays, speakers, etc.; a storage unit 1308, such as a disk, an optical disk, etc.; and a communication unit 1309, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1309 allows the electronic device to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0190] The computing unit 1301 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1301 executes the various methods described above, such as the communication method of the dual-mode communication repeater. For example, in some embodiments, the communication method of the dual-mode communication repeater may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 1308. In some embodiments, part or all of the computer program may be loaded and / or installed on an electronic device via ROM 1302 and / or communication unit 1309. When the computer program is loaded into RAM 1303 and executed by the computing unit 1301, the communication method of the dual-mode communication repeater described above may be executed. Alternatively, in other embodiments, the computing unit 1301 may be configured to execute the communication method of the dual-mode communication repeater in any other appropriate manner (eg, by means of firmware).

[0191] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this application, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.

[0192] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0193] In the description of the present application, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In the present application, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0194] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0195] In addition, the terms "first", "second", etc. used in the embodiments of the present application are only used for descriptive purposes and should not be understood as indicating or implying relative importance, or implicitly indicating the number of technical features indicated in the present embodiment. Therefore, the features defined by the terms "first", "second", etc. in the embodiments of the present application can explicitly or implicitly indicate that at least one of the features is included in the embodiment. In the description of the present application, the word "multiple" means at least two or two or more, such as two, three, four, etc., unless otherwise clearly and specifically defined in the embodiments.

[0196] In this application, unless otherwise clearly specified or limited in the embodiments, the terms "installed", "connected", "connected" and "fixed" etc. appearing in the embodiments should be understood in a broad sense. For example, the connection can be a fixed connection, a detachable connection, or an integrated connection. It can be understood that it can also be a mechanical connection, an electrical connection, etc.; of course, it can also be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal connection of two elements, or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to the specific implementation situation.

[0197] In the present application, unless otherwise clearly specified and limited, a first feature being “above” or “below” a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being “above”, “above”, and “above” a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being “below”, “below”, and “below” a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0198] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A communication method of a dual-mode communication repeater, characterized in that: The method comprises: Sending a network access request to the master node, wherein the network access request includes a random number and a repeater address, the repeater address is obtained based on the random number and the follow-up address using a first address processing method, and the follow-up address is an address of the terminal device; In the case where the master node determines to allow the dual-mode communication repeater to access the network based on the network access request, the dual-mode communication repeater accesses the dual-mode communication network for communication, Among them, after receiving the network access request, the main node uses the second address processing method to obtain the follow-up address based on the random number in the network access request and the repeater address, and allows the dual-mode communication repeater to access the network when the follow-up address is the address of the terminal device that communicates with the main node.

2. The method according to claim 1, characterized in that The first address processing method includes: the dual-mode communication repeater converts the follow-up address using the random number to obtain the repeater address; The second address processing method includes: the master node uses the random number to reversely convert the repeater address to obtain the follow-up address.

3. The method according to claim 1, characterized in that: The follower address of the dual-mode communication repeater is set in the following way: Before sending a network access request to the master node, receiving a follow-up address and performing address setting, wherein the follow-up address is an address of a terminal device in the master node whitelist; In response to the address read instruction, the set follow-up address is returned so that whether the setting is successful is determined based on the returned follow-up address.

4. The method according to claim 1, characterized in that: After the dual-mode communication repeater accesses the dual-mode communication network, the method further includes: Selecting a target networking mode from at least one candidate communication networking mode for networking; Switching from the current networking mode to the target networking mode; Communicate based on the target networking mode.

5. The method according to claim 4, characterized in that in, The step of selecting a target networking mode from at least one candidate communication networking mode for networking includes: Determining a switching cost from the current networking mode to each candidate communication networking mode; Based on the switching cost, a target networking mode is selected from the at least one candidate communication networking mode for networking.

6. The method according to claim 5, characterized in that in, The switching cost includes at least one of a historical communication cost and a current communication cost, and both the historical communication cost and the current communication cost include at least one of a communication bandwidth, a communication delay, and a communication packet loss rate.

7. The method according to claim 4, characterized in that in, The candidate communication networking modes include at least one of the following: Communicate and network with upstream and downstream devices through power line carrier communication networking mode; Communicate and network with upstream and downstream devices through micro-power wireless communication networking mode; Communicate with upstream devices through micro-power wireless communication networking mode, and communicate with downstream devices through power line carrier communication networking mode; It communicates with upstream devices through power line carrier communication networking mode, and communicates with downstream devices through micro-power wireless communication networking mode.

8. The method according to claim 4, characterized in that in, The step of selecting a target networking mode from at least one candidate communication networking mode for networking includes: In the case of including multiple candidate communication networking modes, constructing a state space based on the multiple candidate communication networking modes, wherein the state space includes multiple states, each state being a candidate communication networking mode; Constructing an action space based on multiple candidate communication networking modes, wherein the action space includes multiple actions, each action representing switching from one candidate communication networking mode to another candidate communication networking mode based on a direct switching mode or an indirect switching mode, wherein the direct switching mode represents directly switching from one candidate communication networking mode to another candidate communication networking mode, and the indirect switching mode represents switching from one candidate communication networking mode to another candidate communication networking mode via other candidate communication networking modes; Acquire a state transition probability, wherein the state transition probability represents a probability of switching from a state in the state space to another state in the state space through an action in the action space; Obtaining a switching cost, wherein the switching cost represents a cost of switching from a state in the state space to another state in the state space through an action in the action space; Determining a value function of a state switching strategy based on the state transition probability and the switching cost; Updating the state switching strategy until the value function and the state switching strategy meet a convergence condition, wherein the converged state switching strategy indicates that the switching cost from the current networking mode to the target networking mode is minimized; Based on the state switching strategy after convergence, the target networking mode is selected from the multiple candidate communication networking modes for networking.

9. The method according to any one of claims 1 to 8, characterized in that: in, After the dual-mode communication repeater is connected to the network, the method further includes: When the dual-mode communication repeater receives a signal to be forwarded from a three-phase device, the signal to be forwarded is forwarded to the master node via a three-phase power line; When the dual-mode communication repeater receives a signal to be forwarded from a single-phase device, it detects phase information of the signal to be forwarded, and forwards the signal to be forwarded to the master node based on a single-phase power line corresponding to the phase information.

10. The method according to any one of claims 1 to 8, characterized in that: in, After the dual-mode communication repeater is connected to the network, the method further includes: When the dual-mode communication repeater receives a signal to be forwarded, determining a relay mode based on a signal quality of the signal to be forwarded; Based on the relay mode, forwarding the signal to be forwarded, Among them, the relay mode includes at least one of a direct relay mode and an indirect relay mode, the direct relay mode includes directly forwarding the signal to be forwarded, and the indirect relay mode includes processing the signal to be forwarded before forwarding, and the signal quality corresponding to the direct relay mode is higher than the signal quality corresponding to the indirect relay mode.

11. The method according to any one of claims 1 to 8, characterized in that: in, The dual-mode communication includes power line carrier communication HPLC and micro-power wireless communication HRF. For a target slave node in the dual-mode communication network, the target slave node is connected to the master node through at least one of the power line carrier communication HPLC and the micro-power wireless communication HRF. After the dual-mode communication repeater is connected to the network, the dual-mode communication repeater is connected to the master node through at least one of the power line carrier communication HPLC and the micro-power wireless communication HRF. The method further includes: In the case where the communication link between the target slave node and the master node is longer than the communication link between the dual-mode communication repeater and the master node, if the dual-mode communication repeater receives a signal to be forwarded sent by the target slave node based on the micro-power wireless communication HRF, the dual-mode communication repeater forwards the signal to be forwarded to the master node.

12. The method according to any one of claims 1 to 8, characterized in that: in, The dual-mode communication repeater can be used to convert multiple communication protocols; After the dual-mode communication repeater is connected to the network, the method further includes: After the dual-mode communication repeater receives the signal to be forwarded, it converts the communication protocol of the signal to be forwarded and then forwards the signal to be forwarded.

13. A communication device of a dual-mode communication repeater, characterized in that: The device comprises: A sending module, configured to send a network access request to the master node, wherein the network access request includes a random number and a repeater address, the repeater address is obtained based on the random number and the follow-up address using a first address processing method, and the follow-up address is an address of a terminal device; a network access module, configured to enable the dual-mode communication repeater to access the dual-mode communication network for communication when the master node determines to allow the dual-mode communication repeater to access the network based on the network access request; Among them, after receiving the network access request, the main node uses the second address processing method to obtain the follow-up address based on the random number in the network access request and the repeater address, and allows the dual-mode communication repeater to access the network when the follow-up address is the address of the terminal device that communicates with the main node.

14. The device according to claim 13, characterized in that The device also includes: A networking module, used to select a target networking mode from at least one candidate communication networking mode for networking; A switching module, used to switch from the current networking mode to the target networking mode; A communication module is used to communicate based on the target networking mode.

15. The device according to claim 14, characterized in that in, The networking module includes: A first determination submodule, used to determine a switching cost of switching from the current networking mode to each candidate communication networking mode; The first networking submodule is used to select a target networking mode from the at least one candidate communication networking mode for networking based on the switching cost.

16. The device according to claim 14, characterized in that in, The networking module includes: A first construction submodule is used to construct a state space based on the multiple candidate communication networking modes when multiple candidate communication networking modes are included, wherein the state space includes multiple states, each state being a candidate communication networking mode; A second construction submodule is used to construct an action space based on multiple candidate communication networking modes, wherein the action space includes multiple actions, each action represents switching from one candidate communication networking mode to another candidate communication networking mode based on a direct switching mode or an indirect switching mode, wherein the direct switching mode represents directly switching from one candidate communication networking mode to another candidate communication networking mode, and the indirect switching mode represents switching from one candidate communication networking mode to another candidate communication networking mode via other candidate communication networking modes; A first acquisition submodule is used to acquire a state transition probability, wherein the state transition probability represents a probability of switching from a state in the state space to another state in the state space through an action in the action space; A second acquisition submodule is used to acquire a switching cost, wherein the switching cost represents a cost of switching from a state in the state space to another state in the state space through an action in the action space; A second determination submodule, configured to determine a value function of a state switching strategy based on the state transition probability and the switching cost; An updating submodule, configured to update the state switching strategy until the value function and the state switching strategy meet a convergence condition, wherein the converged state switching strategy indicates that the switching cost from the current networking mode to the target networking mode is minimal; The second networking submodule is used to select the target networking mode from the multiple candidate communication networking modes for networking based on the state switching strategy after convergence.

17. A dual-mode communication repeater, characterized in that: The dual-mode communication repeater includes a dual-mode chip, a processor unit, a three-phase switching control module, a zero-crossing detection module for detecting phase, and a multi-protocol communication conversion module. The dual-mode chip supports power line carrier communication HPLC and micro-power wireless communication HRF. The dual-mode communication repeater is used to implement the steps of the method according to any one of claims 1-12.

18. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the method described in any one of claims 1 to 12 when executing the computer program.

19. A communication system, characterized in that: The communication system comprises a dual-mode communication repeater, and the dual-mode communication repeater is used to implement the steps of the method according to any one of claims 1-12.

20. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 12 are implemented.

Citation Information

Patent Citations

  • Bi-mode relay station, network access method, mode switching method and control station thereof

    CN101291167A

  • Layered networking method based on master-slave node communication network

    CN103475524A

  • Wireless ad-hoc network communication method

    CN105873169A

  • Networking method and meter reading method for electric meter reading system

    CN109660958A

  • HPLC relay system based on wireless communication technology, and communication method

    CN109672468A