A method and system for frequency hopping of all nodes in a station area
By configuring side devices with different frequencies for the station area and adopting frequency hopping networking and reporting logic, the problem of co-channel collision between adjacent stations is solved, achieving more stable communication and lower equipment consumption, and is suitable for large-scale applications. Scale promotion.
Patent Information
- Application Number
- CN202410850559.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-06-28
AI Technical Summary
Under the condition that the geographical location cannot be changed, the close distance between adjacent stations leads to transmission collisions on co-channel channels, causing problems such as poor communication status and abnormal business data.
By configuring edge devices with different frequencies for different stations, and using preset frequency hopping networking logic and frequency hopping reporting logic, networking end devices and non-networking devices can switch frequency bands for grouping when not connected to the network or off the network. network and data reporting to avoid co-channel interference and reduce computing power consumption.
It effectively avoids co-channel interference between adjacent stations, reduces the computing power consumption of end devices during networking, reduces the risk of edge device information exposure, and simplifies the network reorganization process, making it suitable for large-scale promotion.
Smart Images

Figure CN118399989B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a method and system for frequency hopping of all nodes in a station area. Background Art
[0002] In each specific area, the communication equipment is mainly divided into an edge device and several end devices. The communication between them mainly relies on the single-channel LoRa to send and receive data. The end devices are further divided into networking devices and non-networking devices. The LoRa communication of networking devices mainly relies on the edge devices to actively initiate networking requests to the end devices. The main identifier of the request is the MCUID of the end device as the unique address, and network communication and maintenance are carried out from top to bottom. The LoRa communication of non-networking devices mainly relies on their own active reporting to the edge devices, and the edge devices confirm and reply to them, thus completing the communication handshake.
[0003] In the application of a specific area, it will include an edge device, several networking devices, and several non-networking devices. The frequency (RF) of all devices must be consistent to achieve data communication collection of all devices. Taking the specific managed area as a unit, there is a situation where the distance between stations is very close, which will cause co-frequency interference between adjacent areas. Under the condition that the geographical location cannot be changed, it will cause transmission collision of the same frequency channel, resulting in poor communication status, service data defects and other abnormalities. Summary of the invention
[0004] In order to at least overcome the above-mentioned deficiencies in the prior art, the purpose of the present application is to provide a method and system for frequency hopping of all nodes in a station area.
[0005] In a first aspect, an embodiment of the present application provides a method for frequency hopping of all nodes in a station area, including:
[0006] Corresponding edge devices are configured for different areas, and the corresponding frequencies of the edge devices configured in different areas are different;
[0007] When the networking end device is in a non-networked state, networking is performed with the edge device of the corresponding frequency band through a preset frequency hopping networking logic;
[0008] When the network-connected end device is disconnected for a second preset time, networking is performed with the edge device of the corresponding frequency band through the preset frequency hopping networking logic;
[0009] The frequency hopping networking logic includes:
[0010] The frequency band of the networking end device itself is switched with a first preset time period as a period, and networking is established with the edge device when a network access request initiated by the edge device in the current frequency band is heard.
[0011] When the embodiment of the present application is implemented, it is necessary to configure corresponding edge devices for different stations. Generally speaking, each station can be equipped with one edge device. The frequency points of the edge devices in different stations need to be set differently. The specific frequency points can be set as needed, and the embodiment of the present application does not make many restrictions. Since the frequency points set for different edge devices are different, for the networking end device that needs to be networked, it does not need to care about the actual networking situation. It only needs to network with the corresponding edge device according to the received network access request. After the edge device sets the frequency point, it only sends a network access request at the frequency point. It should be understood that the network access request needs to include the information of the networking end device of the desired networking, so that the corresponding networking end device can identify it.
[0012] In the embodiment of the present application, the networking end device needs to be networked through the frequency hopping networking logic when it is not in the network state. Since each side device has its own corresponding frequency point, the networking end device can definitely select the side device corresponding to itself during the frequency hopping networking process. At the same time, in this networking mode, when the side device sends a network access request, its coding content can be appropriately reduced, and the relevant information of the corresponding side device itself is eliminated, which reduces the coding amount of the network access request and improves the security level of the side device information. At the same time, the frequency hopping networking logic is a frequency hopping logic that switches the communication frequency band of the networking end device with a first preset time period as a cycle. In the process of the networking end device executing this logic, only information of one frequency band will be received at the same time, that is, only information sent by one side device will be received at the same time. On the one hand, the computing power requirement for the end device to process signals is reduced, and on the other hand, signal interference of side devices in adjacent stations is avoided. In this frequency hopping networking logic, the process of networking requires the networking end device to complete the networking of the side device corresponding to the frequency band when the corresponding network access request is received in the frequency band.
[0013] In the embodiment of the present application, when affected by network communication or network reorganization, the networking end device may be disconnected from the network. At this time, the networking end device waits for the second preset time in the hope of performing network maintenance to restore communication, thereby avoiding the disconnection caused by the network communication; if it exceeds the second preset time, it means that network reorganization may have occurred. At this time, a new round of networking is performed through the frequency hopping networking logic to realize the networking of the networking end device and the edge device. When the embodiment of the present application is implemented, through the above technical solution, not only can the same-frequency interference between adjacent stations be effectively avoided, but also the computing power consumption of the end device during networking can be effectively reduced, while reducing the risk of information exposure of the edge device, and it is more convenient in the network reorganization process, suitable for large-scale promotion.
[0014] In a possible implementation, the method further includes:
[0015] When the networking end device and the edge device of the corresponding frequency band are networked, the networking end device marks itself as being connected to the network and enters a network maintenance state;
[0016] The network maintenance status includes:
[0017] The networking state of the networking terminal device itself is read at a third preset time period, the frequency band of the current networking state is saved, and whether the device itself is disconnected from the network is determined according to the networking state.
[0018] In a possible implementation, when the networking end device is offline for a second preset time, networking with the edge device of the corresponding frequency band through the preset frequency hopping networking logic includes:
[0019] When the networking terminal device is offline, waiting for network maintenance within the second preset time period;
[0020] If the networking end device has no network maintenance within the second preset time period, or does not monitor the network access application of the edge device, networking is performed with the edge device of the corresponding frequency band through the preset frequency hopping networking logic.
[0021] In a possible implementation, the frequency band switched by the networking end device in the frequency hopping networking logic corresponds to the frequency point of the edge devices configured in different stations.
[0022] In a possible implementation, the method further includes:
[0023] Sending the files of the non-networking devices in the station area to the corresponding edge devices;
[0024] The non-networking device wakes up with a fourth preset time period as a period, and reports data to the corresponding edge device using a frequency hopping reporting logic;
[0025] When the non-networking device does not receive a response from the corresponding edge device in a round of the frequency hopping reporting logic, it enters sleep mode;
[0026] When the non-networking device receives a reply from the corresponding edge device in a round of the frequency hopping reporting logic, it locks the frequency band of the current reply and reports data through the locked frequency band after the next round of wake-up;
[0027] The frequency hopping reporting logic includes:
[0028] Reporting data for a fifth preset duration via the current frequency band;
[0029] When no response from the corresponding side device is received within the fifth preset time period, the frequency band is switched to perform data reporting for the fifth preset time period until a response from the corresponding side device is received.
[0030] In a possible implementation, the frequency band switched by the non-networking device in the frequency hopping reporting logic corresponds to the frequency point of the edge devices configured in different stations.
[0031] In a possible implementation manner, the non-networking device in the frequency hopping reporting logic reports data multiple times within the fifth preset time length.
[0032] In a possible implementation, the method further includes:
[0033] When changing the networking relationship between the edge device and the networking end device, sending the networking file to the edge device;
[0034] The edge device cuts off the connection with the networking end device that does not exist in the received networking file, and broadcasts a network access request corresponding to the networking file in the frequency point.
[0035] In a second aspect, the embodiment of the present application further provides a full-node frequency hopping system in a station area, including:
[0036] The edge devices are configured in different areas, and the edge devices configured in different areas correspond to different frequencies;
[0037] The networking end device is configured as:
[0038] When in a non-networked state, networking is performed with the edge device of the corresponding frequency band through a preset frequency hopping networking logic;
[0039] When the offline time reaches a second preset time, networking is performed with the edge device of the corresponding frequency band through the preset frequency hopping networking logic;
[0040] The frequency hopping networking logic includes:
[0041] The frequency band of the networking end device itself is switched with a first preset time period as a period, and networking is established with the edge device when a network access request initiated by the edge device in the current frequency band is heard.
[0042] In a possible implementation, non-networking devices are also included;
[0043] The edge device receives the files of the non-networked devices in the station area;
[0044] The non-networking device wakes up with a fourth preset time period as a period, and reports data to the corresponding edge device using a frequency hopping reporting logic;
[0045] When the non-networking device does not receive a response from the corresponding edge device in a round of the frequency hopping reporting logic, it enters sleep mode;
[0046] When the non-networking device receives a reply from the corresponding edge device in a round of the frequency hopping reporting logic, it locks the frequency band of the current reply and reports data through the locked frequency band after the next round of wake-up;
[0047] The frequency hopping reporting logic includes:
[0048] Reporting data for a fifth preset duration via the current frequency band;
[0049] When no response from the corresponding side device is received within the fifth preset time period, the frequency band is switched to perform data reporting for the fifth preset time period until a response from the corresponding side device is received.
[0050] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0051] The present invention provides a method and system for frequency hopping of all nodes in an area. Through the above-mentioned technical scheme, it is not only possible to effectively avoid the same-frequency interference between adjacent areas, but also to effectively reduce the computing power consumption of terminal devices during networking, while reducing the risk of information exposure of edge devices. It is also simpler in the process of network reorganization and is suitable for large-scale promotion. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of this application, and do not constitute a limitation of the embodiments of the present invention. In the drawings:
[0053] Figure 1 This is a schematic diagram of the steps of the method of the embodiment of the present application;
[0054] Figure 2 This is a schematic diagram of the station area equipment in the embodiment of the present application. DETAILED DESCRIPTION
[0055] To make the purpose, technical scheme and advantages of the embodiment of the present application clearer, the technical scheme in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the embodiment of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0056] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0057] Please refer to Figure 1 , which is a flow chart of a method for frequency hopping of all nodes in an area provided by an embodiment of the present invention. Furthermore, the method for frequency hopping of all nodes in an area may specifically include the contents described in the following steps S1 to S4.
[0058] S1: Corresponding edge devices are configured for different areas, and the corresponding frequencies of the edge devices configured in different areas are different;
[0059] S2: When the networking end device is in a non-networked state, networking is performed with the edge device of the corresponding frequency band through a preset frequency hopping networking logic;
[0060] S3: When the network-connected end device is disconnected for a second preset time, networking is performed with the edge device of the corresponding frequency band through the preset frequency hopping networking logic;
[0061] S4: The frequency hopping networking logic includes:
[0062] The frequency band of the networking end device itself is switched with a first preset time period as a period, and networking is established with the edge device when a network access request initiated by the edge device in the current frequency band is heard.
[0063] When the embodiment of the present application is implemented, it is necessary to configure corresponding edge devices for different stations. Generally speaking, each station can be equipped with one edge device. The frequency points of the edge devices in different stations need to be set differently. The specific frequency points can be set as needed, and the embodiment of the present application does not make many restrictions. Since the frequency points set for different edge devices are different, for the networking end device that needs to be networked, it does not need to care about the actual networking situation. It only needs to network with the corresponding edge device according to the received network access request. After the edge device sets the frequency point, it only sends a network access request at the frequency point. It should be understood that the network access request needs to include the information of the networking end device of the desired networking, so that the corresponding networking end device can identify it.
[0064] In the embodiment of the present application, the networking end device needs to be networked through the frequency hopping networking logic when it is not in the network state. Since each side device has its own corresponding frequency point, the networking end device can definitely select the side device corresponding to itself during the frequency hopping networking process. At the same time, in this networking mode, when the side device sends a network access request, its coding content can be appropriately reduced, and the relevant information of the corresponding side device itself is eliminated, which reduces the coding amount of the network access request and improves the security level of the side device information. At the same time, the frequency hopping networking logic is a frequency hopping logic that switches the communication frequency band of the networking end device with a first preset time period as a cycle. In the process of the networking end device executing this logic, only information of one frequency band will be received at the same time, that is, only information sent by one side device will be received at the same time. On the one hand, the computing power requirement for the end device to process signals is reduced, and on the other hand, signal interference of side devices in adjacent stations is avoided. In this frequency hopping networking logic, the process of networking requires the networking end device to complete the networking of the side device corresponding to the frequency band when the corresponding network access request is received in the frequency band.
[0065] In the embodiment of the present application, when affected by network communication or network reorganization, the networking end device may be disconnected from the network. At this time, the networking end device waits for the second preset time in the hope of performing network maintenance to restore communication, thereby avoiding the disconnection caused by the network communication; if it exceeds the second preset time, it means that network reorganization may have occurred. At this time, a new round of networking is performed through the frequency hopping networking logic to realize the networking of the networking end device and the edge device. When the embodiment of the present application is implemented, through the above technical solution, not only can the same-frequency interference between adjacent stations be effectively avoided, but also the computing power consumption of the end device during networking can be effectively reduced, while reducing the risk of information exposure of the edge device, and it is more convenient in the network reorganization process, suitable for large-scale promotion.
[0066] In a possible implementation, the method further includes:
[0067] When the networking end device and the edge device of the corresponding frequency band are networked, the networking end device marks itself as being connected to the network and enters a network maintenance state;
[0068] The network maintenance status includes:
[0069] The networking state of the networking terminal device itself is read at a third preset time period, the frequency band of the current networking state is saved, and whether the device itself is disconnected from the network is determined according to the networking state.
[0070] When the embodiment of the present application is implemented, after the networking of the networking end device and the edge device is completed, the networking end device needs to leave the frequency hopping state and enter the network maintenance state. In this state, it is necessary to continuously read the networking state to determine whether the network is currently disconnected. By saving the frequency band of the current network access state, the communication of the networking end device can be maintained within the frequency band, which is convenient for reconnecting to the network after a power outage or other state occurs.
[0071] In a possible implementation, when the networking end device is offline for a second preset time, networking with the edge device of the corresponding frequency band through the preset frequency hopping networking logic includes:
[0072] When the networking terminal device is offline, waiting for network maintenance within the second preset time period;
[0073] If the networking end device has no network maintenance within the second preset time period, or does not monitor the network access application of the edge device, networking is performed with the edge device of the corresponding frequency band through the preset frequency hopping networking logic.
[0074] In a possible implementation, the frequency band switched by the networking end device in the frequency hopping networking logic corresponds to the frequency point of the edge devices configured in different stations.
[0075] In a possible implementation, the method further includes:
[0076] Sending the files of the non-networking devices in the station area to the corresponding edge devices;
[0077] The non-networking device wakes up with a fourth preset time period as a period, and reports data to the corresponding edge device using a frequency hopping reporting logic;
[0078] When the non-networking device does not receive a response from the corresponding edge device in a round of the frequency hopping reporting logic, it enters sleep mode;
[0079] When the non-networking device receives a reply from the corresponding edge device in a round of the frequency hopping reporting logic, it locks the frequency band of the current reply and reports data through the locked frequency band after the next round of wake-up;
[0080] The frequency hopping reporting logic includes:
[0081] Reporting data for a fifth preset duration via the current frequency band;
[0082] When no response from the corresponding side device is received within the fifth preset time period, the frequency band is switched to perform data reporting for the fifth preset time period until a response from the corresponding side device is received.
[0083] When the embodiments of the present application are implemented, there may still be end devices in the station area that do not need to be networked. These devices are generally powered by batteries, so a timed wake-up and active reporting transmission mode is generally selected; since re-networking and allocation of edge devices may occur during the sleep process of these devices, when the non-networked devices are awakened, frequency hopping is also required to report data; if no response is received in a round of frequency hopping reporting logic, it means that the edge device may still be adjusted at this time, so the non-networked device continues to enter sleep and wait for the next round of wake-up; if a reply is received, the frequency band of the reply is locked. It should be understood that the response of the edge device is based on the archives of the non-networked device. In this way, when the edge devices and networks in the substation change, there is no need to reset the reporting method for each non-networked device and it can run directly, which effectively improves the efficiency of data reporting. In this embodiment of the present application, the end devices that need to be networked need mesh networking to stabilize business communication collection, generally including: leakage indicators, low-voltage monitoring units, phase-changing switches, edge IoT collectors, protocol converters, etc.; end devices that do not require networking generally include: various temperature and humidity sensors, fault detectors, load monitoring units, etc.
[0084] In a possible implementation, the frequency band switched by the non-networking device in the frequency hopping reporting logic corresponds to the frequency point of the edge devices configured in different stations.
[0085] In a possible implementation manner, the non-networking device in the frequency hopping reporting logic reports data multiple times within the fifth preset time length.
[0086] In a possible implementation, the method further includes:
[0087] When changing the networking relationship between the edge device and the networking end device, sending the networking file to the edge device;
[0088] The edge device cuts off the connection with the networking end device that does not exist in the received networking file, and broadcasts a network access request corresponding to the networking file in the frequency point.
[0089] When the embodiments of the present application are implemented, for many specific substations, the basis of their networking is based on the power grid topology, and these specific substations may have power grid topology changes, and the power grid nodes corresponding to different end devices will also change in the power grid topology. In order to cope with such changes, the prior art often requires that each end device be adjusted to access the network, which is cumbersome. In the embodiments of the present application, when re-networking after the power grid topology changes, it is only necessary to send the networking file corresponding to the power grid topology to the edge device, and the edge device strips the networking end devices that are not related to itself in the networking file, and then these networking end devices re-network through the frequency hopping logic. The networking end devices do not need to obtain any information about the new power grid topology, and their operating logic will not be any different from the usual operating logic, which greatly improves information security and networking convenience.
[0090] See also Figure 2 , showing a specific implementation scheme of the embodiment of the present application, Figure 2 It is used to express the physical location relationship between edge devices and end devices in a station area. Among them, the networked end devices in station area A (edge devices are located in station area A) are A1, A2, and A3, the networked end devices in station area B (edge devices are located in station area B) are B1, B2, and B3, and the networked end devices in station area C (edge devices are located in station area C) are C1, C2, C3, C4, and C5. The devices in the three stations have the same frequency channel collision. First, set the edge devices of the three stations A\B\C to 433MHZ (RF1), 427mhz (RF2), and 433mhz (RF3) respectively. In this way, when the corresponding device is requested for networking, the management of the corresponding device can be separated by different frequency bands; all networking end devices, when not connected to the network, will switch their own frequency bands once an hour. If they hear the edge device initiate a network access request for themselves, they will mark themselves as connected to the network and enter the network maintenance state; the end device will read its own networking status once a minute and save its current network access frequency band , and stop the frequency hopping logic; if it is disconnected from the network again, it will continue to wait for its own network maintenance. The end device itself will not determine that it is disconnected from the network within half an hour. If there is no network maintenance within half an hour or the network access request of the current edge device cannot be heard, it will determine that it is disconnected from the network and enter the frequency hopping logic; after entering the frequency hopping logic, the end device still reads its own networking status every minute. If it fails to access the network for one hour, it will jump to the next frequency band (RF2), and so on; within three hours, the three stations will enter the corresponding Lora network environment according to the management frequency band of their respective edge devices and complete the network frequency hopping.
[0091] See also Figure 2, shows a specific implementation scheme of an embodiment of the present application, in which it is assumed that the non-networking end devices under area A (the edge device is located in area A) are A1, A2, and A3, the non-networking end devices under area B (the edge device is located in area B) are B1, B2, and B3, and the non-networking end devices under area C (the edge device is located in area C) are C1, C2, C3, C4, and C5, and there is a collision of the same-frequency channels among the devices in the three areas; first, the edge devices in areas A\B\C are set to 433MHZ (RF1), 427mhz (RF2), and 433mhz (RF3), respectively, and then the files of the non-networking devices are sent to the corresponding managed edge devices; after the device is awakened, it will report data in the RF1 frequency band, once every 3s, for 40s; if a reply is received from the corresponding edge device during this period, it will not Perform frequency hopping. If no confirmation reply is received from the side device within 40s, it will jump to the RF2 frequency band to report data every 3s for 40s. By analogy, if no confirmation reply is received from the side device within 40s, it will jump to the RF3 frequency band and report for a maximum of 40s. If the device has not received a reply during the frequency hopping period, it will end within three frequency hopping cycles and enter sleep mode. The frequency hopping logic will continue after the device is woken up next time, waiting for a reply from the side device. If the device receives a confirmation reply from the side device during the frequency hopping period, it will lock its own frequency band and sleep, and report according to the locked frequency band after the next wake-up. If the device does not receive a confirmation message from the side device after locking the frequency, it will continue for 5 wake-up cycles. If no confirmation reply is received from the side device for 5 consecutive wake-up cycles, the frequency hopping scheme will be started again.
[0092] Based on the same inventive concept, the embodiment of the present application also provides a full-node frequency hopping system in a station area, including:
[0093] The edge devices are configured in different areas, and the edge devices configured in different areas correspond to different frequencies;
[0094] The networking end device is configured as:
[0095] When in a non-networked state, networking is performed with the edge device of the corresponding frequency band through a preset frequency hopping networking logic;
[0096] When the offline time reaches a second preset time, networking is performed with the edge device of the corresponding frequency band through the preset frequency hopping networking logic;
[0097] The frequency hopping networking logic includes:
[0098] The frequency band of the networking end device itself is switched with a first preset time period as a period, and networking is established with the edge device when a network access request initiated by the edge device in the current frequency band is heard.
[0099] In a possible implementation, non-networking devices are also included;
[0100] The edge device receives the files of the non-networked devices in the station area;
[0101] The non-networking device wakes up with a fourth preset time period as a period, and reports data to the corresponding edge device using a frequency hopping reporting logic;
[0102] When the non-networking device does not receive a response from the corresponding edge device in a round of the frequency hopping reporting logic, it enters sleep mode;
[0103] When the non-networking device receives a reply from the corresponding edge device in a round of the frequency hopping reporting logic, it locks the frequency band of the current reply and reports data through the locked frequency band after the next round of wake-up;
[0104] The frequency hopping reporting logic includes:
[0105] Reporting data for a fifth preset duration via the current frequency band;
[0106] When no response from the corresponding side device is received within the fifth preset time period, the frequency band is switched to perform data reporting for the fifth preset time period until a response from the corresponding side device is received.
[0107] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0108] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or it can be an electrical, mechanical or other form of connection.
[0109] The units described as separate components may or may not be physically separated. As units, it is obvious that a person of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0110] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0111] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a grid device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0112] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for frequency hopping of all nodes in a station area, characterized in that: include: Corresponding edge devices are configured for different areas, and the corresponding frequencies of the edge devices configured in different areas are different; When the networking end device is in a non-networked state, networking is performed with the edge device of the corresponding frequency band through a preset frequency hopping networking logic; When the network-connected end device is disconnected for a second preset time, networking is performed with the edge device of the corresponding frequency band through the preset frequency hopping networking logic; The frequency hopping networking logic includes: Switching the frequency band of the networking end device itself with a first preset duration as a period, and networking with the edge device when hearing a network access request initiated by the edge device in the current frequency band; Also includes: Sending the files of the non-networking devices in the station area to the corresponding edge devices; The non-networking device wakes up with a fourth preset time period as a period, and reports data to the corresponding edge device using a frequency hopping reporting logic; When the non-networking device does not receive a response from the corresponding edge device in a round of the frequency hopping reporting logic, it enters sleep mode; When the non-networking device receives a reply from the corresponding edge device in a round of the frequency hopping reporting logic, it locks the frequency band of the current reply and reports data through the locked frequency band after the next round of wake-up; The frequency hopping reporting logic includes: Reporting data for a fifth preset duration via the current frequency band; When no response from the corresponding side device is received within the fifth preset time period, the frequency band is switched to perform data reporting for the fifth preset time period until a response from the corresponding side device is received.
2. A method for frequency hopping of all nodes in a station area according to claim 1, characterized in that: Also includes: When the networking end device and the edge device of the corresponding frequency band are networked, the networking end device marks itself as being connected to the network and enters a network maintenance state; The network maintenance status includes: The networking state of the networking terminal device itself is read at a third preset time period, the frequency band of the current networking state is saved, and whether the device itself is disconnected from the network is determined according to the networking state.
3. A method for frequency hopping of all nodes in a station area according to claim 1, characterized in that: When the network-end device is offline for a second preset time, networking with the edge device of the corresponding frequency band through the preset frequency hopping networking logic includes: When the networking terminal device is offline, waiting for network maintenance within the second preset time period; If the networking end device has no network maintenance within the second preset time period, or does not monitor the network access application of the edge device, networking is performed with the edge device of the corresponding frequency band through the preset frequency hopping networking logic.
4. A method for frequency hopping of all nodes in a station area according to claim 1, characterized in that: The frequency band switched by the networking end device in the frequency hopping networking logic corresponds to the frequency point of the edge device configured in different stations.
5. The method for frequency hopping of all nodes in a station area according to claim 1, characterized in that: The frequency band switched by the non-networking device in the frequency hopping reporting logic corresponds to the frequency point of the edge devices configured in different stations.
6. A method for frequency hopping of all nodes in a station area according to claim 1, characterized in that: In the frequency hopping reporting logic, the non-networking device reports data multiple times within the fifth preset time period.
7. A method for frequency hopping of all nodes in a station area according to claim 1, characterized in that: Also includes: When changing the networking relationship between the edge device and the networking end device, sending the networking file to the edge device; The edge device cuts off the connection with the networking end device that does not exist in the received networking file, and broadcasts a network access request corresponding to the networking file in the frequency point.
8. A frequency hopping system for all nodes in a station area, characterized in that: include: The edge devices are configured in different areas, and the edge devices configured in different areas correspond to different frequencies; The networking end device is configured as: When in a non-networked state, networking is performed with the edge device of the corresponding frequency band through a preset frequency hopping networking logic; When the offline time reaches a second preset time, networking is performed with the edge device of the corresponding frequency band through the preset frequency hopping networking logic; The frequency hopping networking logic includes: Switching the frequency band of the networking end device itself with a first preset duration as a period, and networking with the edge device when hearing a network access request initiated by the edge device in the current frequency band; It also includes non-networking devices; The edge device receives the files of the non-networked devices in the station area; The non-networking device wakes up with a fourth preset time period as a period, and reports data to the corresponding edge device using a frequency hopping reporting logic; When the non-networking device does not receive a response from the corresponding edge device in a round of the frequency hopping reporting logic, it enters sleep mode; When the non-networking device receives a reply from the corresponding edge device in a round of the frequency hopping reporting logic, it locks the frequency band of the current reply and reports data through the locked frequency band after the next round of wake-up; The frequency hopping reporting logic includes: Reporting data for a fifth preset duration via the current frequency band; When no response from the corresponding side device is received within the fifth preset time period, the frequency band is switched to perform data reporting for the fifth preset time period until a response from the corresponding side device is received.
