A high real-time wireless repeater multi-path communication method including Mesh networking
Through Mesh networking and multi-channel preemptive communication technology, the real-time and anti-interference problems of the fire-fighting wireless early warning communication network are solved, and efficient information transmission and system robustness are achieved.
Patent Information
- Application Number
- CN202211411166.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-11
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2042-11-11
AI Technical Summary
The multipath transmission of the existing fire wireless early warning communication network in the same area does not meet the real-time requirements, multiple retransmissions and forwarding affect real-time, and the allocation of fixed channels and communication time slices leads to poor anti-interference.
Using a high-real-time wireless repeater multi-path communication method including Mesh networking, through multi-channel preemptive communication with pre-transmission listening function, gateways and terminals are automatically selected, path information is recorded, repeated forwarding is avoided, and adaptive Optimal path formation.
It effectively improves the real-time and anti-interference of communication, prevents information storms, enhances system robustness, and realizes a truly free path and anti-destruction routing network.
Smart Images

Figure CN115767779B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and more specifically, to a high-real-time wireless repeater multi-path communication method including Mesh networking. Background Art
[0002] In order to solve the problem of wireless system communication distance, the traditional fire alarm communication network adds a multi-level repeater communication method through the same frequency networking method to extend the communication distance. At the same time, in order to prevent the problem of insufficient robustness of wireless communication caused by manually setting a fixed communication frequency, the system's repeaters at all levels can automatically form a communication link through the leading information. Through the routing table in the leading information, a self-contained path network with anti-destruction retransmission is created at the repeater level.
[0003] Prior to the technology of the present invention, in the prior art, the repeater automatically formed a route by judging the RSSI signal strength of the received signal, and each level added its own path information to form a routing network of multi-level repeaters. However, this distribution method of the relay network cannot meet the current requirements of China's fire warning wireless network. It needs to set the communication order of information forwarding in the same area, assuming that the signal is received in the coding order. In the actual network environment, multipath transmission does not necessarily meet this assumption, and multiple retransmissions and forwardings also have a great impact on real-time performance. Summary of the invention
[0004] In view of the above problems, the present invention proposes a high real-time wireless repeater multi-path communication method including Mesh networking, which solves the problems of real-time communication and anti-interference of the fire warning alarm network through multi-channel preemptive communication with pre-sentence listening function, and can effectively avoid the problems of poor communication timeliness and poor anti-interference of the network due to the allocation of fixed channels and communication time slices.
[0005] According to a first aspect of an embodiment of the present invention, a high real-time wireless repeater multi-path communication method including Mesh networking is provided.
[0006] In one or more embodiments, preferably, the high real-time wireless repeater multi-path communication method including Mesh networking includes:
[0007] Activate all repeaters;
[0008] Select one of the repeaters as a gateway and one as a terminal;
[0009] Issue communication commands in the gateway;
[0010] The repeaters except the gateway receive the communication command;
[0011] The communication command is transmitted to the terminal, and the terminal sends a feedback command to the gateway;
[0012] After receiving the feedback command, the gateway sends a stop forwarding command to all repeaters.
[0013] In one or more embodiments, preferably, starting all repeaters specifically includes:
[0014] After the network settings are completed, all repeaters are automatically started;
[0015] After waiting for a preset time, it is automatically assumed that the necessary repeaters have completed startup.
[0016] In one or more embodiments, preferably, the selecting one of the repeaters as a gateway and one as a terminal specifically includes:
[0017] Select one of the repeaters as a gateway, and set sending data in the gateway;
[0018] One of the repeaters is selected as a terminal, and the terminal is used to receive the transmission data of the gateway.
[0019] In one or more embodiments, preferably, the issuing of a communication command in the gateway specifically includes:
[0020] While initiating communication, determine the gateway from which the communication is sent;
[0021] The gateway sends out a communication signal to all repeaters that are expected to be connected to it.
[0022] In one or more embodiments, preferably, the repeater other than the gateway receives the communication command, specifically including:
[0023] After receiving the communication command from the gateway, the repeater automatically forwards the communication command to the repeater adjacent to it;
[0024] Each time the repeater sends the communication command, it automatically records the network links that have been passed through, and updates the communication command to a communication command with path information;
[0025] The communication command with path information is continuously forwarded in the repeater until it is forwarded to the terminal.
[0026] In one or more embodiments, preferably, the communication command is transmitted to the terminal, and the terminal sends a feedback command to the gateway, specifically including:
[0027] After receiving the communication command with the path information, the terminal no longer receives new communication commands with the path information or the communication command, and starts a feedback process command;
[0028] After receiving the command to start the feedback process, extracting the path information therein;
[0029] Feedback is performed according to the path information, and during the feedback process, information is sent only for the path corresponding to the path information;
[0030] During the feedback process, the terminal sends a feedback command to the gateway.
[0031] In one or more embodiments, preferably, after receiving the feedback command, the gateway sends a stop forwarding command to all repeaters, specifically including:
[0032] After receiving the feedback command, the gateway automatically sends a stop forwarding command to all repeaters;
[0033] All repeaters will successively receive the forwarding command sent by the gateway and stop the current communication.
[0034] According to a second aspect of an embodiment of the present invention, a high real-time wireless repeater multi-path communication system including Mesh networking is provided.
[0035] In one or more embodiments, preferably, the high real-time wireless repeater multi-path communication system including Mesh networking includes:
[0036] Start the analysis module to start all repeaters;
[0037] A gateway selection module, used to select one of the repeaters as a gateway and one as a terminal;
[0038] A command issuing module, used for issuing communication commands in the gateway;
[0039] A relay selection module, used for the repeaters except the gateway to receive communication commands;
[0040] A command feedback module, used for transmitting the communication command to the terminal, and the terminal sends a feedback command to the gateway;
[0041] The forwarding termination module is used for the gateway to send a forwarding stop command to all repeaters after receiving the feedback command.
[0042] According to a third aspect of an embodiment of the present invention, there is provided a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method as described in any one of the first aspect of the embodiment of the present invention is implemented.
[0043] According to a fourth aspect of an embodiment of the present invention, there is provided an electronic device, comprising a memory and a processor, wherein the memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement any one of the methods described in the first aspect of the embodiment of the present invention.
[0044] The technical solution provided by the embodiments of the present invention may have the following beneficial effects:
[0045] In the solution of the present invention, the wireless system does not set the first or second relay, and all repeaters can be the first repeater at the same time. The random silent reception anti-storm solution records the path information in the signal after forwarding, and the same information will not be forwarded again. At the same time, after receiving, each level of repeater will send a packet of confirmation feedback handshake information. After receiving the handshake information, other repeaters will not forward this information again, which can effectively prevent information storms caused by forwarding.
[0046] In the solution of the present invention, when a certain level of repeater is offline, information can be directly communicated across layers. Because there is no network routing table, the robustness of the entire system is better. The optimal path will be automatically formed each time according to the real-time network situation, thereby realizing a truly free path and establishing a better resistant routing network.
[0047] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0048] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0050] Figure 1 It is a flow chart of a high real-time wireless repeater multi-path communication method including Mesh networking according to an embodiment of the present invention.
[0051] Figure 2It is a flowchart of starting all repeaters in a high real-time wireless repeater multi-path communication method including Mesh networking according to an embodiment of the present invention.
[0052] Figure 3 It is a flowchart of selecting one of the repeaters as a gateway and one as a terminal in a high real-time wireless repeater multi-path communication method including Mesh networking in one embodiment of the present invention.
[0053] Figure 4 It is a flow chart of issuing communication commands in a gateway in a high real-time wireless repeater multi-path communication method including Mesh networking according to an embodiment of the present invention.
[0054] Figure 5 It is a flowchart of a method for multi-path communication of wireless repeaters with high real-time performance including Mesh networking, in which the repeaters other than the gateway receive communication commands, according to an embodiment of the present invention.
[0055] Figure 6 It is a flowchart of an embodiment of the present invention, in which a communication command in a high real-time wireless repeater multi-path communication method including Mesh networking is transmitted to a terminal, and the terminal sends a feedback command to the gateway.
[0056] Figure 7 It is a flowchart of an embodiment of the present invention, in a high real-time wireless repeater multi-path communication method including Mesh networking, in which the gateway sends a stop forwarding command to all repeaters after receiving the feedback command.
[0057] Figure 8 It is a structural diagram of a high real-time wireless repeater multi-path communication system including Mesh networking according to an embodiment of the present invention.
[0058] Fig. 9 It is a structural diagram of an electronic device in one embodiment of the present invention.
[0059] Fig.10 This is a first schematic diagram of gateway transmission in one embodiment of the present invention.
[0060] Fig.11 This is a second schematic diagram of gateway transmission in one embodiment of the present invention. DETAILED DESCRIPTION
[0061] In some of the processes described in the specification and claims of the present invention and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.
[0062] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0063] In order to solve the problem of wireless system communication distance, the traditional fire alarm communication network adds a multi-level repeater communication method through the same frequency networking method to extend the communication distance. At the same time, in order to prevent the problem of insufficient robustness of wireless communication caused by manually setting a fixed communication frequency, the system's repeaters at all levels can automatically form a communication link through the leading information. Through the routing table in the leading information, a self-contained path network with anti-destruction retransmission is created at the repeater level.
[0064] Prior to the technology of the present invention, in the prior art, the repeater automatically formed a route by judging the RSSI signal strength of the received signal, and each level added its own path information to form a routing network of multi-level repeaters. However, this distribution method of the relay network cannot meet the current requirements of China's fire warning wireless network. It needs to set the communication order of information forwarding in the same area, assuming that the signal is received in the coding order. In the actual network environment, multipath transmission does not necessarily meet this assumption, and multiple retransmissions and forwardings also have a great impact on real-time performance.
[0065] In an embodiment of the present invention, a high real-time wireless repeater multi-path communication method including Mesh networking is provided. The solution solves the communication real-time and anti-interference problems of the fire warning alarm network through multi-channel preemptive communication with pre-sentence listening function, and can effectively avoid the communication timeliness and anti-interference problems of the network due to the allocation of fixed channels and communication time slices.
[0066] According to a first aspect of an embodiment of the present invention, a high real-time wireless repeater multi-path communication method including Mesh networking is provided.
[0067] Figure 1 It is a flow chart of a high real-time wireless repeater multi-path communication method including Mesh networking according to an embodiment of the present invention.
[0068] In one or more embodiments, preferably, the high real-time wireless repeater multi-path communication method including Mesh networking includes:
[0069] S101, start all repeaters;
[0070] S102, selecting one of the repeaters as a gateway and one as a terminal;
[0071] S103, issuing a communication command in the gateway;
[0072] S104, the repeaters except the gateway receive the communication command;
[0073] S105, the communication command is transmitted to the terminal, and the terminal sends a feedback command to the gateway;
[0074] S106. After receiving the feedback command, the gateway sends a stop forwarding command to all repeaters.
[0075] In an embodiment of the present invention, based on the time conflict mechanism, the terminal or slave performs a pre-send listening detection before sending, detects all modulated and non-modulated signals in the space, and performs appropriate detection and conflict avoidance. The network does not need to allocate time slices and communication channels. The gateway has multiple physical channels, and the communication rates and communication parameters of each channel are different and form an orthogonal relationship. When a terminal or slave first accesses the network, the gateway sends down its communication channel frequency, communication rate, bandwidth, modulation mode and other information. When the terminal communicates, it defaults to communicating from a high-speed channel. After a communication failure caused by, for example, mutual interference and collision within the same system or interference from different systems or environmental influences, it communicates from a lower-speed channel.
[0076] Figure 2 It is a flowchart of starting all repeaters in a high real-time wireless repeater multi-path communication method including Mesh networking according to an embodiment of the present invention.
[0077] like Figure 2 As shown, in one or more embodiments, preferably, starting all repeaters specifically includes:
[0078] S201, after the network setting is completed, all repeaters are automatically started;
[0079] S202: After waiting for a preset time, it is automatically considered that the necessary repeaters have been started.
[0080] In the embodiment of the present invention, in order to realize the above functions, the corresponding repeaters can all be transformed into terminals, and the entire network link is memorized through the terminal, and when the upper-level repeater is offline, direct cross-layer communication is performed.
[0081] Figure 3 It is a flowchart of selecting one of the repeaters as a gateway and one as a terminal in a high real-time wireless repeater multi-path communication method including Mesh networking in one embodiment of the present invention.
[0082] like Figure 3 As shown, in one or more embodiments, preferably, the selecting one of the repeaters as a gateway and one as a terminal specifically includes:
[0083] S301, selecting one of the repeaters as a gateway, and setting sending data in the gateway;
[0084] S302: Select one of the repeaters as a terminal, where the terminal is used to receive the data sent by the gateway.
[0085] In the embodiment of the present invention, for the tree network, there is also a scenario where the gateway and the terminal are dedicated devices. The terminal that records the entire network route can communicate across layers. Combined with mesh enhanced networking, a better resistant routing network can be established in a targeted manner.
[0086] Figure 4 It is a flow chart of issuing communication commands in a gateway in a high real-time wireless repeater multi-path communication method including Mesh networking according to an embodiment of the present invention.
[0087] like Figure 4 As shown, in one or more embodiments, preferably, the issuing of a communication command in the gateway specifically includes:
[0088] S401, while starting communication, determining the gateway from which the communication is sent;
[0089] S402: The gateway sends a communication signal to all repeaters that are expected to be connected to it.
[0090] In the embodiment of the present invention, there is no need to perform mandatory management on the routing, which improves the installation and construction efficiency, and no personnel intervention is required for subsequent management after a single installation.
[0091] Figure 5 It is a flowchart of a method for multi-path communication of wireless repeaters with high real-time performance including Mesh networking, in which the repeaters other than the gateway receive communication commands, according to an embodiment of the present invention.
[0092] like Figure 5As shown, in one or more embodiments, preferably, the repeater other than the gateway receives the communication command, specifically including:
[0093] S501, after receiving the communication command from the gateway, the repeater automatically forwards the communication command to the adjacent repeater;
[0094] S502, each time the repeater sends the communication command, the repeater automatically records the network links that have been passed through, and updates the communication command to a communication command with path information;
[0095] S503: The communication command with the path information is continuously forwarded in the repeater until it is forwarded to the terminal.
[0096] In the embodiment of the present invention, in order to realize the recording of the transmission path, the corresponding communication command is continuously updated and the corresponding transmission information is recorded during each updating process.
[0097] Figure 6 It is a flowchart of an embodiment of the present invention, in which a communication command in a high real-time wireless repeater multi-path communication method including Mesh networking is transmitted to a terminal, and the terminal sends a feedback command to the gateway.
[0098] like Figure 6 As shown, in one or more embodiments, preferably, the communication command is transmitted to the terminal, and the terminal sends a feedback command to the gateway, specifically including:
[0099] S601, after receiving the communication command with path information, the terminal no longer receives new communication commands with path information or the communication command, and starts a feedback process command;
[0100] S602: after receiving the command to start the feedback process, extract the path information therein;
[0101] S603, performing information feedback according to the path information, wherein the information sent during the feedback process is only for the path corresponding to the path information;
[0102] S604: During the feedback process, the terminal sends a feedback command to the gateway.
[0103] In the embodiment of the present invention, the specific core is that when the preset gateway transmits data, the final destination has been set, and this destination is the terminal. During the transmission process, each path will be recorded in the transmission data, and when it finally arrives at the terminal, it will automatically carry a transmission path information. This information will be used by the terminal to directly feedback the information, and after receiving the first transmission information, no additional communication command feedback will be performed.
[0104] Figure 7 It is a flowchart of an embodiment of the present invention, in a high real-time wireless repeater multi-path communication method including Mesh networking, in which the gateway sends a stop forwarding command to all repeaters after receiving the feedback command.
[0105] like Figure 7 As shown, in one or more embodiments, preferably, after receiving the feedback command, the gateway sends a stop forwarding command to all repeaters, specifically including:
[0106] S701, after receiving the feedback command, the gateway automatically sends a stop forwarding command to all repeaters;
[0107] S702. All repeaters will successively receive the forwarding command sent by the gateway and stop the current communication.
[0108] In the embodiment of the present invention, in order to stop forwarding of all repeaters, the transmission stop command is sent to each repeater in sequence to minimize the communication burden in the system. Therefore, selection needs to be made in a certain order. The transmission process of sending the transmission stop command to each repeater in sequence specifically includes:
[0109] When the gateway issues a transmission command, it automatically performs arrival time analysis based on the Dijkstra algorithm, and obtains offline the time it takes for the transmission command sent from the gateway to reach each repeater;
[0110] Subtract the sending time from the time of each repeater to obtain the specific transmission order, and number them from short to long.
[0111] Using the first calculation formula to divide the grid type;
[0112] The first calculation formula is:
[0113]
[0114] Wherein, L is the classification number, H is the sequence number, and N is the total number of repeaters, which is the total number of repeaters excluding gateways and terminals;
[0115] Get all repeaters with classification number 1, and send a termination transmission command directly from the gateway;
[0116] After waiting for a preset feedback time, the terminal feeds back arrival information for the second time, wherein the arrival information is some repeater gateways that have been transmitted to the terminal and have terminated the transmission, and are stored as terminated repeaters;
[0117] After removing the terminated repeater from the repeaters with classification number 2, sending a transmission termination command from the gateway to the remaining repeaters with classification number 2;
[0118] A transmission termination command is sent from the gateway to the repeater with classification number 3.
[0119] In the transmission process of completing the stop transmission command issued to each repeater in turn, fast data recognition and specific stop command setting for the multi-path competition mode of wireless relay networking in the present invention are achieved, truly realizing fast and reliable coordination, and then completing multi-path competition networking.
[0120] According to a second aspect of an embodiment of the present invention, a high real-time wireless repeater multi-path communication system including Mesh networking is provided.
[0121] Figure 8 It is a structural diagram of a high real-time wireless repeater multi-path communication system including Mesh networking according to an embodiment of the present invention.
[0122] In one or more embodiments, preferably, the high real-time wireless repeater multi-path communication system including Mesh networking includes:
[0123] The start-up analysis module 801 is used to start all repeaters;
[0124] A gateway selection module 802, configured to select one of the repeaters as a gateway and one as a terminal;
[0125] A command issuing module 803, used to issue a communication command in the gateway;
[0126] A relay selection module 804, configured to receive communication commands from the relays other than the gateway;
[0127] A command feedback module 805, configured to transmit the communication command to the terminal, and the terminal sends a feedback command to the gateway;
[0128] The forwarding termination module 806 is used for the gateway to send a forwarding stop command to all repeaters after receiving the feedback command.
[0129] In the embodiment of the present invention, a competitive adaptive multi-channel wireless anti-interference communication is implemented through modular design, which solves the problem that the traditional wireless network makes the network real-time performance worse and assumes that the signal is received first according to the closer distance.
[0130] According to a third aspect of an embodiment of the present invention, there is provided a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method as described in any one of the first aspect of the embodiment of the present invention is implemented.
[0131] According to a fourth aspect of an embodiment of the present invention, an electronic device is provided. Fig. 9 It is a structural diagram of an electronic device in one embodiment of the present invention. Fig. 9 The electronic device shown is a general high real-time wireless repeater multipath communication device, which includes a general computer hardware structure, which at least includes a processor 901 and a memory 902. The processor 901 and the memory 902 are connected via a bus 903. The memory 902 is suitable for storing instructions or programs executable by the processor 901. The processor 901 can be an independent microprocessor or a collection of one or more microprocessors. Thus, the processor 901 executes the instructions stored in the memory 902, thereby executing the method flow of the embodiment of the present invention as described above to realize the processing of data and the control of other devices. The bus 903 connects the above-mentioned multiple components together, and at the same time connects the above-mentioned components to the display controller 904 and the display device and the input / output (I / O) device 905. The input / output (I / O) device 905 can be a mouse, a keyboard, a modem, a network interface, a touch input device, a somatosensory input device, a printer, and other devices known in the art. Typically, the input / output device 905 is connected to the system via an input / output (I / O) controller 906.
[0132] like Fig.10 As shown, for example, suppose that when gateway No. 1 communicates with terminal No. 6, and the gateway and repeater cannot communicate directly, all repeaters will receive the information sent by the terminal to the gateway. At this time, all repeaters are first-level repeaters. A random repeater will complete the forwarding first, and the other repeaters will receive the feedback information from the gateway. At this time, other repeaters will no longer forward, effectively preventing the occurrence of network storms.
[0133] like Fig.11 As shown, for example, suppose that when gateway No. 1 communicates with terminal No. 6, and the gateway and repeater cannot communicate directly, only repeater No. 2 can receive the gateway information, and other repeaters can only receive the signal of the previous repeater with a smaller sequence number. At this time, the network naturally forms a multi-level cascade network. When terminal No. 6 sends information to the gateway, the network sequence is: 6-5-4-3-2-1, and the information will be transmitted from the terminal to the gateway in sequence.
[0134] The technical solution provided by the embodiments of the present invention may have the following beneficial effects:
[0135] In the solution of the present invention, the wireless system does not set the first or second relay, and all repeaters can be the first repeater at the same time. The random silent reception anti-storm solution records the path information in the signal after forwarding, and the same information will not be forwarded again. At the same time, after receiving, each level of repeater will send a packet of confirmation feedback handshake information. After receiving the handshake information, other repeaters will not forward this information again, which can effectively prevent information storms caused by forwarding.
[0136] In the solution of the present invention, when a certain level of repeater is offline, information can be directly communicated across layers. Because there is no network routing table, the robustness of the entire system is better. The optimal path will be automatically formed each time according to the real-time network situation, thereby realizing a truly free path and establishing a better resistant routing network.
[0137] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0138] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0139] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0140] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0141] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A high real-time wireless repeater multi-path communication method including Mesh networking, characterized in that: The method includes: Activate all repeaters; Select one of the repeaters as a gateway and one as a terminal; Issue communication commands in the gateway; The repeaters except the gateway receive the communication command; The communication command is transmitted to the terminal, and the terminal sends a feedback command to the gateway; After receiving the feedback command, the gateway sends a stop forwarding command to all repeaters; After receiving the feedback command, the gateway sends a stop forwarding command to all repeaters, specifically including: After receiving the feedback command, the gateway automatically sends a stop forwarding command to all repeaters; All repeaters will successively receive the forwarding command sent by the gateway and stop the current communication; When the stop forwarding command is automatically issued to all repeaters, the transmission process of the stop transmission command issued to each repeater is completed in sequence, specifically including: When the gateway issues a transmission command, it automatically performs arrival time analysis based on the Dijkstra algorithm, and obtains offline the time it takes for the transmission command sent from the gateway to reach each repeater; Subtract the sending time from the time of each repeater to obtain the specific transmission order, and number them from short to long. Using the first calculation formula to divide the grid type; The first calculation formula is: Wherein, L is the classification number, H is the sequence number, and N is the total number of repeaters, which is the total number of repeaters excluding gateways and terminals; Get all repeaters with classification number 1, and send a termination transmission command directly from the gateway; After waiting for a preset feedback time, the terminal feeds back arrival information for the second time, wherein the arrival information is some repeater gateways that have been transmitted to the terminal and have terminated the transmission, and are stored as terminated repeaters; After removing the terminated repeater from the repeaters with classification number 2, sending a transmission termination command from the gateway to the remaining repeaters with classification number 2; A transmission termination command is sent from the gateway to the repeater with classification number 3.
2. The high real-time wireless repeater multi-path communication method including Mesh networking as claimed in claim 1, characterized in that: The starting of all repeaters specifically includes: After the network settings are completed, all repeaters are automatically started; After waiting for a preset time, it is automatically assumed that the necessary repeaters have completed startup.
3. The high real-time wireless repeater multi-path communication method including Mesh networking as claimed in claim 1, characterized in that: The selecting one of the repeaters as a gateway and one as a terminal specifically includes: Select one of the repeaters as a gateway, and set sending data in the gateway; One of the repeaters is selected as a terminal, and the terminal is used to receive the transmission data of the gateway.
4. The high real-time wireless repeater multi-path communication method including Mesh networking as claimed in claim 1, characterized in that: The issuing of a communication command in the gateway specifically includes: While initiating communication, determine the gateway from which the communication is sent; The gateway sends out a communication signal to all repeaters that are expected to be connected to it.
5. The high real-time wireless repeater multi-path communication method including Mesh networking as claimed in claim 1, characterized in that: The repeater except the gateway receives the communication command, specifically including: After receiving the communication command from the gateway, the repeater automatically forwards the communication command to the repeater adjacent to it; Each time the repeater sends the communication command, it automatically records the network links that have been passed through, and updates the communication command to a communication command with path information; The communication command with path information is continuously forwarded in the repeater until it is forwarded to the terminal.
6. The high real-time wireless repeater multi-path communication method including Mesh networking as claimed in claim 5, characterized in that: The communication command is transmitted to the terminal, and the terminal sends a feedback command to the gateway, specifically including: After receiving the communication command with the path information, the terminal no longer receives new communication commands with the path information or the communication command, and starts a feedback process command; After receiving the command to start the feedback process, extracting the path information therein; Feedback is performed according to the path information, and during the feedback process, information is sent only for the path corresponding to the path information; During the feedback process, the terminal sends a feedback command to the gateway.
7. A high real-time wireless repeater multi-path communication system including Mesh networking, characterized in that: The system is used to implement the method according to any one of claims 1 to 6, and the system comprises: Start the analysis module to start all repeaters; A gateway selection module, used to select one of the repeaters as a gateway and one as a terminal; A command issuing module, used for issuing communication commands in the gateway; A relay selection module, used for the repeaters except the gateway to receive communication commands; A command feedback module, used for transmitting the communication command to the terminal, and the terminal sends a feedback command to the gateway; The forwarding termination module is used for the gateway to send a forwarding stop command to all repeaters after receiving the feedback command.
8. A computer-readable storage medium storing computer program instructions, characterized in that: The computer program instructions implement the method according to any one of claims 1 to 6 when executed by a processor.
9. An electronic device, comprising a memory and a processor, characterized in that: The memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method according to any one of claims 1-6.
