Channel transmission method, device, equipment and storage medium based on frequency hopping communication
By selecting the upload agent node with the best signal quality in the frequency hopping communication system and sorting the frequency point level according to the signal quality, the problem of different transmission between different frequency points is solved, the transmission efficiency and stability of the system are improved, and spectrum utilization is improved Rate.
Patent Information
- Application Number
- CN202411690514.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-11-25
AI Technical Summary
In the existing frequency hopping communication system, there is a difference in transmission between the two nodes when transmitting information, which affects the transmission efficiency, stability and reliability of the system.
By obtaining the level of each child node, selecting the upload proxy node with the best signal quality, and sorting all frequency points according to the signal quality, establishing a frequency point transmission performance table, and determining the frequency point level, so that when the time slot arrives, according to the frequency The time slot and frequency point level are uploaded.
It improves the transmission success rate of the frequency hopping communication system, ensures transmission efficiency and stability, and improves spectrum utilization.
Smart Images

Figure CN119182419B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and in particular to a channel transmission method, device, equipment and storage medium based on frequency hopping communication. Background Art
[0002] Wireless communication is one of the widely used communication technologies in the Internet of Things. Wireless communication is a communication method that uses the characteristics of electromagnetic wave signals that can propagate in free space to exchange information. It has the characteristics of long communication distance and high flexibility, and is widely used in smart agriculture, smart cities, energy management and other fields. Wireless communication technology also includes data transmission equipment such as GPRS, CDMA, and GSM.
[0003] Frequency hopping communication is a form of wireless communication and a communication system that uses frequency hopping technology to transmit information. Its core principle is to achieve signal transmission by loading information signals onto multiple carriers of different frequencies. Compared with traditional fixed frequency communication, frequency hopping communication has higher anti-interference ability and communication confidentiality.
[0004] At present, in the frequency hopping communication system, the frequency hopping transmission mechanism is adopted. For communication networks with different frequencies and low costs, the transmission performance will be somewhat different due to factors such as antenna response curve, frequency selection loop, installation location and environment. Taking the central node as the center and the MESH sensor communication network composed of dispersed multi-layer sub-nodes as an example, the F1 frequency point between the two nodes has a receiving sensitivity of -97dBm, and the F2 frequency point has a receiving sensitivity of -93dBm. Obviously, there is a difference in the transmission performance between the two nodes using different frequencies. This difference in transmission at different frequencies will affect the transmission efficiency, stability and reliability of the frequency hopping communication system.
[0005] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:
[0006] In the existing frequency hopping communication system, when two nodes transmit information, there are differences in transmission at different frequencies, which will affect the transmission efficiency, stability and reliability of the frequency hopping communication system. Summary of the invention
[0007] The purpose of the present invention is to provide a channel transmission method, device, equipment and storage medium based on frequency hopping communication, so as to solve the technical problem in the prior art that when two nodes transmit information, there are differences in transmission at different frequencies, which will affect the transmission efficiency, stability and reliability of the frequency hopping communication system.
[0008] The various technical effects that can be produced by the preferred technical solutions among the various technical solutions provided by the present invention are described in detail below.
[0009] To achieve the above object, the present invention provides the following technical solutions:
[0010] In a first aspect, the present invention provides a channel transmission method based on frequency hopping communication, comprising:
[0011] Obtaining the level of each subnode in the network, wherein the level of the subnode is determined by signal frequency, signal quality, and beacon transmission source address;
[0012] Selecting a subnode with the best signal quality from the upper-layer subnodes of each subnode as the upload proxy node of the subnode;
[0013] Recording the signal quality between each of the child nodes and the upload proxy node, and sorting all frequency points according to the signal quality, and establishing a frequency point transmission performance table, wherein the frequency point transmission performance table divides the frequency point level into high-level frequency points, medium-level frequency points and low-level frequency points according to the signal quality of the child nodes and the upload proxy nodes at different frequency points;
[0014] According to the correspondence between time slots and frequencies, the frequency time slot moment is obtained. When the time slot arrives, according to the frequency time slot moment, the child node uploads the information according to the frequency level between the child node and the upload agent node in the frequency transmission performance table.
[0015] As an optional implementation manner, obtaining the level of each subnode in the network includes:
[0016] The child nodes that receive the network beacon sent by the central node and whose signal quality with the central node is above the threshold are regarded as the first-layer child nodes;
[0017] The child nodes that receive the network beacon sent by the central node and forwarded by the first-layer child nodes and whose signal quality with the first-layer child nodes is above the threshold are regarded as second-layer child nodes, until each of the child nodes in the network receives the network beacon sent by the central node, and the level of each child node is determined, wherein the first-layer child nodes forward the network beacon sent by the central node to other child nodes according to the predetermined time allocation.
[0018] As an optional implementation manner, the selecting a subnode with the best signal quality from the upper-layer subnodes of each of the subnodes as the upload proxy node of the subnode includes:
[0019] Obtaining the signal quality of each of the sub-nodes and each of the sub-nodes in the upper layer;
[0020] A subnode with the best signal quality is selected from the upper-layer subnodes as the upload proxy node of the subnode.
[0021] As an optional implementation manner, uploading information according to the frequency level between the subnode and the upload proxy node in the frequency transmission performance table includes:
[0022] If the frequency level of the subnode and the upload proxy node in the frequency transmission performance table is a high-level frequency, and the channel is empty, the information is directly uploaded;
[0023] If the frequency level of the child node and the upload proxy node in the frequency transmission performance table is a medium-level frequency, and the channel is empty, re-detect the channel and then upload the information;
[0024] If the frequency level of the child node and the upload proxy node in the frequency transmission performance table is a low-level frequency, and the channel is empty, the information is not uploaded.
[0025] As an optional implementation manner, if the frequency level of the subnode and the upload proxy node in the frequency transmission performance table is a medium-level frequency, and the channel is empty, then the channel is re-detected and the information is uploaded, including:
[0026] The frequency level of the child node and the upload agent node is a medium-level frequency. The channel is detected. If the channel is empty, a detection cycle is waited. When the detection cycle is reached, the channel is detected. If the channel is still empty, the information is uploaded.
[0027] As an optional implementation manner, obtaining the frequency point time slot moment according to the correspondence between the time slot and the frequency point includes:
[0028] In the case of frequency hopping synchronization of the sub-nodes in the network, the time slot corresponds to the frequency point, and the frequency point time slot moment is obtained according to the corresponding relationship between the time slot and the frequency point.
[0029] As an optional implementation manner, each of the sub-nodes in the network has one upper-layer upload proxy node or more than one upper-layer upload proxy nodes.
[0030] In a second aspect, the present invention further provides a channel transmission device based on frequency hopping communication, comprising:
[0031] An acquisition module S10 is used to acquire the level of each sub-node in the network, wherein the level of the sub-node is determined by the signal frequency, signal quality and beacon transmission source address;
[0032] A selection module S20 selects a subnode with the best signal quality from the upper-layer subnodes of each subnode as an upload proxy node of the subnode;
[0033] The sorting module S30 records the signal quality between each of the child nodes and the upload proxy node, sorts all the frequency points according to the signal quality, and establishes a frequency point transmission performance table, wherein the frequency point transmission performance table divides the frequency point level into high-level frequency points, medium-level frequency points and low-level frequency points according to the signal quality between the child nodes and the upload proxy node at different frequency points;
[0034] The upload module S40 obtains the frequency time slot moment according to the correspondence between the time slot and the frequency point. When the time slot arrives, according to the frequency time slot moment, the child node uploads the information according to the frequency level between the child node and the upload agent node in the frequency transmission performance table.
[0035] In a third aspect, the present invention further provides a terminal device, comprising:
[0036] one or more processors and memory;
[0037] The memory is used to store one or more computer programs, and the one or more processors are used to execute the one or more computer programs stored in the memory, so that the processor performs the steps of the channel transmission method based on frequency hopping communication.
[0038] In a fourth aspect, the present invention further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and wherein the program, when executed by a processor, implements the steps of a channel transmission method based on frequency hopping communication.
[0039] Implementing one of the above technical solutions of the present invention has the following advantages or beneficial effects:
[0040] In this embodiment, the level of each sub-node in the network is obtained, wherein the level of the sub-node is determined by the signal frequency, signal quality and beacon transmission source address; a sub-node with the best signal quality is selected from the sub-nodes in the upper layer of each sub-node as the upload proxy node of the sub-node. In this way, a sub-node with the best signal quality is selected from the sub-nodes in the upper layer of each sub-node as the upload proxy node of the sub-node, and the upload proxy node is selected, which can ensure the success rate of the sub-node uploading information.
[0041] Then, the signal quality between each child node and the upload proxy node is recorded, and all frequencies are sorted according to the signal quality to establish a frequency transmission performance table, wherein the frequency transmission performance table divides the frequency level into high-level frequency, medium-level frequency and low-level frequency according to the signal quality of the child node and the upload proxy node at different frequencies; according to the corresponding relationship between the time slot and the frequency, the frequency time slot moment is obtained, and when the time slot arrives, according to the frequency time slot moment, the child node uploads the information according to the frequency level between the child node and the upload proxy node in the frequency transmission performance table. Among them, since the frequency hopping communication transmission mechanism is adopted, there will be differences in transmission at different frequencies. Therefore, the signal quality between each child node and the upload proxy node will be recorded, and all frequencies will be sorted according to the signal quality. The frequency with better transmission performance with the upload proxy node is selected for communication to ensure the transmission success rate, transmission efficiency and transmission stability, while indirectly improving the spectrum utilization. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. It is obvious that 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. In the drawings:
[0043] Figure 1 It is a flow chart of a channel transmission method based on frequency hopping communication according to a first embodiment of the present invention;
[0044] Figure 2 It is a schematic diagram of the distribution of the central node and the sub-nodes of the channel transmission method based on frequency hopping communication in the first embodiment of the present invention;
[0045] Figure 3 A schematic structural diagram of a channel transmission device based on frequency hopping communication according to a second embodiment of the present invention; DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solutions and advantages of the present invention clearer, the various exemplary embodiments to be described below will refer to the corresponding drawings, which constitute a part of the exemplary embodiments, wherein various exemplary embodiments that may be used to implement the present invention are described. Unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation methods described in the following exemplary embodiments do not represent all implementation methods consistent with the present disclosure. It should be understood that they are only examples of processes, methods, devices, etc. that are consistent with some aspects of the present disclosure as detailed in the attached claims, and other embodiments may also be used, or the embodiments listed herein may be modified in structure and function without departing from the scope and essence of the present invention.
[0047] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", etc. indicate the orientation or positional relationship based on the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the elements referred to must have a specific orientation, be constructed and operated in a specific orientation. The terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. The term "multiple" means two or more. The terms "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, an integral connection, a mechanical connection, an electrical connection, a communication connection, a direct connection, an indirect connection through an intermediate medium, and can be the internal connection of two elements or the interaction relationship between two elements. The term "and / or" includes any and all combinations of one or more related listed items. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.
[0048] In order to illustrate the technical solution of the present invention, a specific embodiment is used below for description, and only the parts related to the embodiment of the present invention are shown.
[0049] Embodiment 1:
[0050] like Figure 1 As shown, the present invention provides a channel transmission method based on frequency hopping communication, comprising:
[0051] S100, obtaining the level of each sub-node in the network, wherein the level of the sub-node is determined by the signal frequency, signal quality and beacon sending source address;
[0052] S200, selecting a subnode with the best signal quality from the upper-layer subnodes of each subnode as the uploading proxy node of the subnode;
[0053] S300, recording the signal quality between each child node and the upload proxy node, and sorting all frequency points according to the signal quality, and establishing a frequency point transmission performance table, wherein the frequency point transmission performance table divides the frequency point level into high-level frequency points, medium-level frequency points and low-level frequency points according to the signal quality of the child node and the upload proxy node at different frequency points;
[0054] S400. Obtain the frequency time slot moment according to the correspondence between the time slot and the frequency. When uploading information, the child node uploads the information at the corresponding frequency time slot moment according to the frequency level between the child node and the uploading agent node in the frequency transmission performance table.
[0055] In this embodiment, the level of each sub-node in the network is obtained, wherein the level of the sub-node is determined by the signal frequency, signal quality and beacon transmission source address; a sub-node with the best signal quality is selected from the sub-nodes in the upper layer of each sub-node as the upload proxy node of the sub-node. In this way, a sub-node with the best signal quality is selected from the sub-nodes in the upper layer of each sub-node as the upload proxy node of the sub-node, and the upload proxy node is selected, which can ensure the success rate of the sub-node uploading information.
[0056] Then, the signal quality between each child node and the upload proxy node is recorded, and all frequencies are sorted according to the signal quality to establish a frequency transmission performance table, wherein the frequency transmission performance table divides the frequency level into high-level frequency, medium-level frequency and low-level frequency according to the signal quality of the child node and the upload proxy node at different frequencies; according to the corresponding relationship between the time slot and the frequency, the frequency time slot moment is obtained, and when the time slot arrives, according to the frequency time slot moment, the child node uploads the information according to the frequency level between the child node and the upload proxy node in the frequency transmission performance table. Among them, since the frequency hopping communication transmission mechanism is adopted, there will be differences in transmission at different frequencies. Therefore, the signal quality between each child node and the upload proxy node will be recorded, and all frequencies will be sorted according to the signal quality. The frequency with better transmission performance with the upload proxy node is selected for communication to ensure the transmission success rate, transmission efficiency and transmission stability, while indirectly improving the spectrum utilization.
[0057] Next, combine Figure 1 The specific implementation steps of the channel transmission method based on frequency hopping communication provided in this embodiment are described in detail:
[0058] First, step S100 is executed to obtain the level of each sub-node in the network, wherein the level of the sub-node is determined by the signal frequency, signal quality and beacon sending source address.
[0059] The child nodes that receive the network beacon sent by the central node and whose signal quality with the central node is above the threshold are regarded as the first-layer child nodes; the child nodes that receive the network beacon sent by the central node forwarded by the first-layer child nodes and whose signal quality with the first-layer child nodes is above the threshold are regarded as the second-layer child nodes, until each child node in the network receives the network beacon sent by the central node, and the level of each child node is determined, wherein the first-layer child nodes forward the network beacon sent by the central node to other child nodes according to the predetermined time allocation.
[0060] Specifically, the central node periodically sends a network beacon to each child node. The child nodes that receive the network beacon sent by the central node and whose signal quality with the central node is above a threshold are first-layer child nodes; the first-layer child nodes forward the network beacons sent by the central node to other child nodes according to the predetermined time allocation, and the child nodes that receive the network beacons forwarded by the first-layer child nodes and whose signal quality with the first-layer child nodes is above a threshold are second-layer child nodes; until each child node in the network receives the network beacon, the level of each child node is determined.
[0061] For example: Figure 2 As shown, subnode 3 receives the network beacon sent by the central node, and the signal quality is above the threshold, then subnode 3 is the first-layer subnode. Subnode 8 receives the network beacon sent by the central node, but its signal quality is below the threshold, then subnode 8 cannot be used as a first-layer subnode. Subnode 3 forwards the network beacon sent by the central node to other subnodes at the predetermined time allocation moment, and subnode 8 receives the network beacon forwarded by subnode 3, and the signal quality is above the threshold, then subnode 8 is the next layer node of subnode 3, which is a second-layer subnode. Subsequent subnode 8 forwards the network beacon sent by the central node to other subnodes at the predetermined time allocation moment, and the subnode that receives the network beacon forwarded by subnode 8 and the signal quality is above the threshold is the third-layer subnode, and so on and so forth until all subnodes in the network receive the network beacon sent by the central node or the network beacon sent by the central node forwarded by other levels, so as to confirm the level of each subnode.
[0062] It should be noted that in this embodiment, the level of the sub-node is determined by the signal frequency, signal quality and beacon transmission source address. It can be seen that the first-layer sub-node receives the network beacon sent by the central node, so the signal transmission source address is the central node. The second-layer sub-node receives the network beacon of the central node forwarded by the first-layer sub-node, so the signal transmission source address of the second-layer sub-node is the first-layer sub-node. However, the signal frequency and signal quality of the sub-nodes in the network are determined by many factors, such as: antenna frequency response curve, frequency selection circuit, installation location, environment, etc.
[0063] It should be noted that the signal quality of the network beacon in this embodiment is above the threshold value. The threshold value can be selected according to the actual situation. Generally speaking, the signal quality is related to the transmission rate. The higher the transmission rate, the higher the corresponding signal quality threshold value. Therefore, the signal quality threshold value is not fixed and needs to be confirmed according to the transmission rate. For example, if the transmission rate is 10Kbps, the threshold value can be selected as -100dBm.
[0064] When the sub-nodes of the lower level forward the network beacon of the central node, they need to forward it at the predetermined time allocation moment, which is preset by the central node. The network beacon contains the predetermined time allocation moment, which facilitates the sub-nodes of the lower level to forward the network beacon, so that each sub-node receives the network beacon sent by the central node, so as to confirm the level of each sub-node.
[0065] As the central node periodically sends network beacons, each child node can dynamically refresh and obtain the child node with higher signal quality between the child node and the upper layer, so as to facilitate the subsequent determination of the upload proxy node between the child node and the upper layer of child nodes. It can dynamically update and comprehensively select nodes that are closer to the central node, have higher signal quality and transmission success rate as upload proxy nodes.
[0066] Then, step S200 is performed to select a subnode with the best signal quality from the upper layer of subnodes of each subnode as the upload proxy node of the subnode. The signal quality of each subnode and each subnode in the upper layer of subnodes is obtained; and the subnode with the best signal quality is selected from the upper layer of subnodes as the upload proxy node of the subnode.
[0067] Specifically, the level of each sub-node is confirmed by signal frequency, signal quality and beacon sending source address. Each sub-node in each layer knows the signal quality between itself and each sub-node in the upper layer. At this time, the upload proxy node can be selected according to the signal quality between the sub-node and the upper layer sub-node, and a sub-node in the upper layer with the best signal quality is selected as the upload proxy node. Selecting a sub-node with the best signal quality as the upload proxy node can ensure the upload quality, as well as the accuracy and stability when uploading information. At the same time, the probability of channel competition collision is reduced, and the transmission success rate of sub-node upload information is effectively guaranteed. It should be noted that a sub-node in a certain layer of sub-nodes is connected to at least one or more sub-nodes in the upper layer of sub-nodes. For example Figure 2 As shown, the subnode 8 in the second layer of subnodes is connected to the subnode 1, the subnode 2 and the subnode 3 in the first layer of subnodes respectively.
[0068] For example: Figure 2 As shown, the first layer of subnodes includes subnode 1, subnode 2 and subnode 3, and the second layer of subnodes includes subnode 4, subnode 5, subnode 6, subnode 7 and subnode 8. The signal quality comparison result between subnode 8 and subnode 1, subnode 2 and subnode 3 is: subnode 3> subnode 2> subnode 3. It can be seen that the signal quality between subnode 8 and subnode 3 is the best. When subnode 8 wants to upload information, it selects subnode 3 as the upload proxy node, and uploads the information of subnode 8 to the central node through subnode 3.
[0069] It should be noted that each subnode in the network has one or more upload proxy nodes in the previous layer, forming a network layer that is closer to the central node than the current subnode, and the information of the current node is uploaded to the central node in sequence according to the upload proxy node. Among them, the upload proxy node of the first-layer subnode is directly the central node. The subnodes in the second-layer subnodes have two layers of upload proxy nodes, namely, an upload proxy node in the first-layer subnodes, and the central node. The subnodes in the third-layer subnodes have three layers of upload proxy nodes, namely, an upload proxy node in the second-layer subnodes, an upload proxy node in the second-layer subnodes, an upload proxy node in the first-layer subnodes, and the central node.
[0070] Next, execute step S300, record the signal quality between each child node and the upload proxy node, sort all frequency points according to the signal quality, and establish a frequency point transmission performance table, wherein the frequency point transmission performance table divides the frequency point level into high-level frequency points, medium-level frequency points and low-level frequency points according to the signal quality of the child node and the upload proxy node at different frequency points.
[0071] Specifically, the child node will select a node with the best signal quality from the child nodes in the previous layer as the upload proxy node. Subsequently, the signal quality between the child node and the upload proxy node will be recorded, and all frequency points will be sorted according to the signal quality. According to the signal quality of the child node and the upload proxy node at different frequency points, the frequency points will be roughly divided into three categories, namely high-level frequency points, medium-level frequency points and low-level frequency points, and a frequency point transmission performance table between the child node and the upload proxy node will be established.
[0072] For example, for child node 8, it records the communication signal quality between it and upload proxy node 3 at different frequency points (such as the frequency point set is F1-F17), and classifies them, and establishes a frequency point transmission performance table between child node 8 and upload proxy node 3, as shown in Table 1:
[0073] Table 1
[0074]
[0075] As can be seen from Table 1, between the subnode 8 and the upload proxy node 3, F1, F2, and F5 are high-level frequencies, F7, F9, and F11 are medium-level frequencies, and other frequencies are low-level frequencies. In this embodiment, a frequency transmission performance table is established according to the signal quality between the subnode and the upload proxy node, and the transmission performance relationship between the node and the upload proxy node can be obtained. When uploading information subsequently, the information can be uploaded at a better frequency time slot according to the frequency transmission performance table. As shown in Table 1, the subnode 8 can upload communication to the subnode 3 at the time slot of the frequency points F1, F2, and F5 to obtain a better communication success rate.
[0076] Finally, execute step S400 to obtain the frequency time slot moment according to the correspondence between the time slot and the frequency point. When the time slot arrives, according to the frequency time slot moment, the child node uploads the information according to the frequency level between the child node and the upload proxy node in the frequency transmission performance table.
[0077] For frequency hopping communication, when the node is synchronized with the frequency hopping, it is naturally clear about the frequency of the next time slot. Therefore, according to the correspondence between the time slot and the frequency, the frequency time slot moment can be obtained. When the child node needs to upload information, at the frequency time slot moment corresponding to the corresponding time slot, the information is uploaded according to the frequency level between the child node and the upload node in the frequency transmission performance table. It should be noted that only when the frequency level between the child node and the upload proxy node in the frequency transmission performance table is a high-level frequency and a medium-level frequency will the information be uploaded. If the frequency level is a low-level frequency, the information will not be uploaded. In this embodiment, it is stipulated that the signal quality between the child node and the upload proxy node is above medium before uploading, which can reduce blind transmission and improve and increase spectrum utilization.
[0078] Generally speaking, the upload channel in the field area network is an open business channel that needs to be occupied through CSMA competition. Information is uploaded according to the frequency transmission performance table, which can reduce collisions and improve communication success rate.
[0079] In this embodiment, information is uploaded according to the frequency level between the subnode and the upload proxy node in the frequency transmission performance table, including: if the frequency level of the subnode and the upload proxy node in the frequency transmission performance table is a high-level frequency and the channel is empty, the information is directly uploaded; if the frequency level of the subnode and the upload proxy node in the frequency transmission performance table is a medium-level frequency and the channel is empty, the channel is re-detected and the information is uploaded; if the frequency level of the subnode and the upload proxy node in the frequency transmission performance table is a low-level frequency and the channel is empty, the information is not uploaded.
[0080] For example, when a child node has a requirement to upload business data, the information is uploaded according to the frequency level between the child node and the upload proxy node.
[0081] At the current frequency time slot, if the frequency in the frequency transmission performance table is a high-level frequency at this time slot, CSMA is executed. If the channel is empty, it is sent. When the channel is busy, the sending in the time slot is abandoned.
[0082] The frequency level of the child node and the upload agent node is the medium-level frequency. The channel is detected. If the channel is empty, wait for a detection cycle. When the detection cycle is reached, the channel is detected. If the channel is still empty, the information is uploaded. That is to say, at the current frequency time slot, if the frequency in the frequency transmission performance table is a medium-level frequency at this time slot, CSMA is executed. If the channel is empty, wait for a detection cycle (the detection cycle is a CSMA detection cycle). If the channel is still empty after waiting for a detection cycle, it will be sent; if any of the two detections detects that the channel is busy, it will give up sending in this time slot. This consideration of delaying one detection cycle at the medium-level frequency to perform a second detection of the channel and then send can further expand the utilization rate of the spectrum frequency.
[0083] At the current frequency time slot, if the frequency in the frequency transmission performance table is a low-level frequency at this time slot, the transmission in this time slot is directly abandoned. The frequency level between the child node and the upload agent node is a low-level frequency, and no upload is performed to avoid invalid uploads and eliminate the high probability of invalid transmission, which is conducive to reducing the impact of co-frequency interference on adjacent networks.
[0084] Since the upload proxy node is selected according to the signal quality in this embodiment, the probability of channel competition collision is significantly reduced, and the transmission success rate of the sub-node uploading information is effectively guaranteed, providing stable and reliable channel access support for the field area network to collect data anomalies and other alarm services.
[0085] The embodiment is only a specific example and does not represent only one implementation mode of the present invention.
[0086] Embodiment 2:
[0087] Based on the same inventive concept, the second embodiment of the present invention also provides a channel transmission device based on frequency hopping communication, such as Figure 3 As shown, including:
[0088] An acquisition module S10 is used to acquire the level of each sub-node in the network, wherein the level of the sub-node is determined by the signal frequency, signal quality and beacon transmission source address;
[0089] A selection module S20 selects a subnode with the best signal quality from the upper-layer subnodes of each subnode as an upload proxy node of the subnode;
[0090] The sorting module S30 records the signal quality between each child node and the upload proxy node, sorts all frequency points according to the signal quality, and establishes a frequency point transmission performance table, wherein the frequency point transmission performance table divides the frequency point level into high-level frequency points, medium-level frequency points, and low-level frequency points according to the signal quality between the child node and the upload proxy node at different frequency points;
[0091] The upload module S40 obtains the frequency time slot moment according to the correspondence between the time slot and the frequency point. When the time slot arrives, according to the frequency time slot moment, the subnode uploads the information according to the frequency level between the subnode and the upload agent node in the frequency transmission performance table.
[0092] As an optional implementation, obtaining the level of each child node in the network includes:
[0093] The child nodes that receive the network beacon sent by the central node and whose signal quality with the central node is above the threshold are regarded as the first-layer child nodes;
[0094] The child nodes that receive the network beacons sent by the central node and forwarded by the first-layer child nodes and whose signal quality with the first-layer child nodes is above the threshold are regarded as second-layer child nodes, until each child node in the network receives the network beacon sent by the central node, and the level of each child node is determined, wherein the first-layer child nodes forward the network beacons sent by the central node to other child nodes according to the predetermined time allocation.
[0095] As an optional implementation, a subnode with the best signal quality is selected from the upper-layer subnodes of each subnode as the uploading agent node of the subnode, including:
[0096] Get the signal quality of each child node and each child node in the previous layer;
[0097] The subnode with the best signal quality is selected from the subnodes in the previous layer as the upload proxy node of the subnode.
[0098] As an optional implementation, uploading information according to the frequency level between the child node and the upload proxy node in the frequency transmission performance table includes:
[0099] If the frequency level of the child node and the upload proxy node in the frequency transmission performance table is a high-level frequency, and the channel is empty, the information is uploaded directly;
[0100] If the frequency level of the child node and the upload proxy node in the frequency transmission performance table is a medium-level frequency, and the channel is empty, the channel is re-detected and the information is uploaded;
[0101] If the frequency level of the child node and the upload proxy node in the frequency transmission performance table is a low-level frequency, and the channel is empty, no information is uploaded.
[0102] As an optional implementation manner, if the frequency level of the subnode and the upload proxy node in the frequency transmission performance table is a medium-level frequency, and the channel is empty, the channel is re-detected and the information is uploaded, including:
[0103] The frequency level of the child node and the upload agent node is a medium-level frequency. The channel is detected. If the channel is empty, wait for a detection cycle. When the detection cycle is reached, the channel is detected. If the channel is still empty, the information is uploaded.
[0104] As an optional implementation manner, obtaining the frequency point time slot moment according to the correspondence between the time slot and the frequency point includes:
[0105] When the sub-nodes in the network are synchronized by frequency hopping, the time slots correspond to the frequencies. The frequency time slot moments are obtained according to the corresponding relationship between the time slots and the frequencies.
[0106] As an optional implementation, each sub-node in the network has one upper-layer upload proxy node or more than one upper-layer upload proxy nodes.
[0107] Since the channel transmission device based on frequency hopping communication introduced in this embodiment is a device used to implement the channel transmission method based on frequency hopping communication in the first embodiment of the present application, based on the channel transmission method based on frequency hopping communication introduced in the first embodiment of the present application, the technical personnel in this field can understand the specific implementation of the channel transmission device based on frequency hopping communication in this embodiment and its various variations, so how the channel transmission device based on frequency hopping communication implements the method in the first embodiment of the present application is not described in detail here. As long as the technical personnel in this field implement the device used by the channel transmission method based on frequency hopping communication in the first embodiment of the present application, it belongs to the scope of protection of this application.
[0108] Embodiment three:
[0109] Based on the same inventive concept, the third embodiment of the present invention also provides a terminal device, including one or more processors and a memory; wherein the memory is used to store one or more computer programs, and the one or more processors are used to execute one or more computer programs stored in the memory, so that the processor executes the features / steps of the channel transmission method embodiment based on frequency hopping communication as described in Embodiment 1.
[0110] Those skilled in the art can understand that all or part of the features / steps of the above-mentioned method embodiments can be implemented by methods, data processing systems or computer programs, and these features can be implemented without hardware, entirely by software, or by a combination of hardware and software. The aforementioned computer program can be stored in one or more computer-readable storage media, and the storage medium stores the computer program. When the computer program is executed (such as by a processor), the steps of the above-mentioned channel transmission method embodiment based on frequency hopping communication are executed.
[0111] Embodiment 4:
[0112] Based on the same inventive concept, the fourth embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the steps of any method of the channel transmission method based on frequency hopping communication described in the first embodiment above are implemented.
[0113] The above description is only the preferred embodiment of the present invention. It is known to those skilled in the art that various changes or equivalent substitutions may be made to these features and embodiments without departing from the spirit and scope of the present invention. In addition, under the teachings of the present invention, these features and embodiments may be modified to adapt to specific circumstances and materials without departing from the spirit and scope of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed herein, and all embodiments falling within the scope of the claims of this application belong to the protection scope of the present invention.
Claims
1. A channel transmission method based on frequency hopping communication, characterized in that: include: Obtaining the level of each subnode in the network, wherein the level of the subnode is determined by signal frequency, signal quality, and beacon transmission source address; Selecting a subnode with the best signal quality from the upper-layer subnodes of each subnode as the upload proxy node of the subnode; Recording the signal quality between each of the child nodes and the upload proxy node, and sorting all frequency points according to the signal quality, and establishing a frequency point transmission performance table, wherein the frequency point transmission performance table divides the frequency point level into high-level frequency points, medium-level frequency points and low-level frequency points according to the signal quality of the child nodes and the upload proxy nodes at different frequency points; According to the correspondence between the time slot and the frequency, the frequency time slot moment is obtained, and when the time slot arrives, according to the frequency time slot moment, the sub-node is caused to upload the information according to the frequency level between the sub-node and the upload proxy node in the frequency transmission performance table; Wherein, obtaining the level of each sub-node in the network includes: The child nodes that receive the network beacon sent by the central node and whose signal quality with the central node is above the threshold are regarded as the first-layer child nodes; The subnodes that receive the network beacon sent by the central node and forwarded by the first-layer subnodes and whose signal quality with the first-layer subnodes is above the threshold are used as second-layer subnodes, until each of the subnodes in the network receives the network beacon sent by the central node, and the level of each subnode is determined, wherein the first-layer subnodes forward the network beacon sent by the central node to other subnodes at a predetermined time allocation moment; The uploading of information according to the frequency level between the subnode and the upload proxy node in the frequency transmission performance table includes: If the frequency level of the subnode and the upload proxy node in the frequency transmission performance table is a high-level frequency, and the channel is empty, the information is directly uploaded; If the frequency level of the child node and the upload proxy node in the frequency transmission performance table is a medium-level frequency, and the channel is empty, re-detect the channel and then upload the information; If the frequency level of the child node and the upload proxy node in the frequency transmission performance table is a low-level frequency, and the channel is empty, the information is not uploaded; If the frequency level of the subnode and the upload proxy node in the frequency transmission performance table is a medium-level frequency, and the channel is empty, the channel is re-detected and the information is uploaded, including: The frequency level of the child node and the upload agent node is a medium-level frequency. The channel is detected. If the channel is empty, a detection cycle is waited. When the detection cycle is reached, the channel is detected. If the channel is still empty, the information is uploaded.
2. The channel transmission method based on frequency hopping communication according to claim 1, characterized in that: The selecting a subnode with the best signal quality from the upper-layer subnodes of each subnode as the uploading proxy node of the subnode includes: Obtaining the signal quality of each of the sub-nodes and each of the sub-nodes in the upper layer; A subnode with the best signal quality is selected from the upper-layer subnodes as the upload proxy node of the subnode.
3. The channel transmission method based on frequency hopping communication according to claim 1, characterized in that: The obtaining of the frequency point time slot moment according to the correspondence between the time slot and the frequency point includes: In the case of frequency hopping synchronization of the sub-nodes in the network, the time slot corresponds to the frequency point, and the frequency point time slot moment is obtained according to the corresponding relationship between the time slot and the frequency point.
4. The channel transmission method based on frequency hopping communication according to claim 1, characterized in that: Each of the sub-nodes in the network has one upper-layer upload proxy node or more than one upper-layer upload proxy nodes.
5. A channel transmission device based on frequency hopping communication, characterized in that: include: An acquisition module, which acquires the level of each sub-node in the network, wherein the level of the sub-node is determined by the signal frequency, signal quality and beacon sending source address; A selection module selects a subnode with the best signal quality from the upper-layer subnodes of each subnode as an upload proxy node of the subnode; A sorting module records the signal quality between each of the child nodes and the upload proxy node, sorts all frequency points according to the signal quality, and establishes a frequency point transmission performance table, wherein the frequency point transmission performance table divides the frequency point level into high-level frequency points, medium-level frequency points, and low-level frequency points according to the signal quality between the child nodes and the upload proxy node at different frequency points; The uploading module obtains the frequency time slot moment according to the correspondence between the time slot and the frequency point, and when the time slot arrives, according to the frequency time slot moment, enables the sub-node to upload the information according to the frequency level between the sub-node and the uploading agent node in the frequency transmission performance table; Wherein, obtaining the level of each sub-node in the network includes: The child nodes that receive the network beacon sent by the central node and whose signal quality with the central node is above the threshold are regarded as the first-layer child nodes; The subnodes that receive the network beacon sent by the central node and forwarded by the first-layer subnodes and whose signal quality with the first-layer subnodes is above the threshold are used as second-layer subnodes, until each of the subnodes in the network receives the network beacon sent by the central node, and the level of each subnode is determined, wherein the first-layer subnodes forward the network beacon sent by the central node to other subnodes at a predetermined time allocation moment; The uploading of information according to the frequency level between the subnode and the upload proxy node in the frequency transmission performance table includes: If the frequency level of the subnode and the upload proxy node in the frequency transmission performance table is a high-level frequency, and the channel is empty, the information is directly uploaded; If the frequency level of the child node and the upload proxy node in the frequency transmission performance table is a medium-level frequency, and the channel is empty, re-detect the channel and then upload the information; If the frequency level of the child node and the upload proxy node in the frequency transmission performance table is a low-level frequency, and the channel is empty, the information is not uploaded; If the frequency level of the subnode and the upload proxy node in the frequency transmission performance table is a medium-level frequency, and the channel is empty, the channel is re-detected and the information is uploaded, including: The frequency level of the child node and the upload agent node is a medium-level frequency. The channel is detected. If the channel is empty, a detection cycle is waited. When the detection cycle is reached, the channel is detected. If the channel is still empty, the information is uploaded.
6. A terminal device, characterized in that: include: one or more processors and memory; The memory is used to store one or more computer programs, and the one or more processors are used to execute the one or more computer programs stored in the memory, so that the processor performs the steps of the channel transmission method based on frequency hopping communication as described in any one of claims 1-4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the channel transmission method based on frequency hopping communication as claimed in any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Slot skipping technique for reduced power consumption in time slotted channel hopping MAC protocol
CN111556557A
Asynchronous frequency hopping networking communication method for wireless Internet of Things
CN116489801A