Ad hoc network access method and device
By setting additional time slots in the ad hoc network system to transmit the latest network parameters, the access node can automatically adjust and re-connect to the ad hoc network, solving the problem of node access difficulties in complex electromagnetic environments and improving the flexibility and robustness of the network.
Patent Information
- Application Number
- CN202411860210.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-17
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2044-12-17
AI Technical Summary
In complex electromagnetic environments, it is difficult to automatically reconnect to the ad hoc network after the ad hoc network is disconnected or when a new node joins, resulting in difficulty in optimizing network performance.
By setting an additional time slot in the ad hoc network system, the latest network parameters are transmitted, and after the access node receives these parameters, its working parameters are adjusted, so that the ad hoc network is automatically reconnected.
It realizes that the off-network nodes or new nodes can automatically re-connect to the ad hoc network in complex electromagnetic environments, improving the flexibility and robustness of the network and ensuring that the nodes can quickly adapt to environmental changes.
Smart Images

Figure CN119865874A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and in particular to an access method and device for a self-organizing network. Background Art
[0002] An ad hoc network is a type of network that has no central control nodes, each node can move freely, the nodes can configure the network autonomously, and can dynamically route. The main feature of an ad hoc network is that it has the ability to self-organize and self-configure. It can automatically form a network and realize communication between nodes without any preset network infrastructure. Therefore, ad hoc network technology has been widely used in battlefield communications, disaster relief sites, scientific research detection and other fields.
[0003] In a complex electromagnetic environment, such as a battlefield environment, due to various electromagnetic interferences and the dynamic movement of nodes, the network parameters of the ad hoc network, such as working frequency, working ID, signal bandwidth, communication distance, etc., need to be adjusted frequently to adapt to environmental changes and optimize network performance. Such frequent parameter adjustments will make it impossible for nodes that have left the network or nodes that want to join the network to successfully access the network again if they cannot obtain new network parameters in time.
[0004] Therefore, how to automatically reconnect to a self-organizing network in a complex electromagnetic environment has become a technical problem that needs to be urgently solved in the industry. Summary of the invention
[0005] In view of the deficiencies in the prior art, the present invention provides a method and device for accessing an ad hoc network, which enables a node or a new node that has been disconnected from the network in a complex electromagnetic environment to automatically re-access the ad hoc network.
[0006] In a first aspect, the present invention provides a method for accessing an ad hoc network, the method being applied to a node to be accessed in an ad hoc network system, the ad hoc network system comprising at least one current node and the node to be accessed; the method comprising the following steps: Based on the initial working parameters of the node to be accessed, receiving the data transmitted in the self-organizing network system; the node to be accessed is an offline node or a new node; the initial working parameters of the node to be accessed are working parameters corresponding to the initial network parameters of the self-organizing network system; the number of total time slots in the self-organizing network system is greater than or equal to the number of current nodes in the self-organizing network system, the total time slots include a first time slot, the first time slot is a time slot for data transmission based on the initial network parameters, and the data transmitted in the first time slot includes at least the latest network parameters corresponding to the self-organizing network system; In the case of determining that the latest network parameters of the self-organizing network system are received, adjusting the initial working parameters based on the latest network parameters to obtain adjusted working parameters; the adjusted working parameters are determined based on the latest network parameters; Based on the adjusted working parameters, access is made to the ad hoc network system.
[0007] According to a method for accessing an ad hoc network provided by the present invention, before receiving data transmitted in the ad hoc network system based on the initial working parameters of the node to be accessed, the method further includes: Determining the total number of time slots in the ad hoc network system according to the number of current nodes in the ad hoc network system; The total time slot also includes a second time slot, the second time slot corresponds to each current node, and the time slot of the second time slot is a time slot for data transmission based on the latest network parameters.
[0008] According to a method for accessing an ad hoc network provided by the present invention, the receiving of data transmitted in the ad hoc network system based on the initial working parameters of the node to be accessed includes: Based on the initial working parameters of the node to be accessed, receiving the data transmitted in the first time slot; Determining whether the data transmitted in the first time slot includes the latest network parameters corresponding to the ad hoc network system; In the case where it is determined that the data transmitted in the first time slot includes the latest network parameters corresponding to the self-organizing network system, it is determined that the latest network parameters of the self-organizing network system are received.
[0009] According to a method for accessing a self-organizing network provided by the present invention, the latest network parameters include at least one of the following: network working mode, network device interface requirements, supported frequency bands, output frequency, working ID, signal bandwidth and communication distance; the adjusted working parameters include at least one of the following: node type, node address, node status, power and working frequency band.
[0010] According to a method for accessing an ad hoc network provided by the present invention, the method of accessing the ad hoc network system based on the adjusted working parameters includes: Based on the network device interface requirements of the ad hoc network system, configure corresponding interface parameters; Determine wireless signal parameters according to the network output power and the supported frequency band of the ad hoc network system; the wireless signal parameters include power and operating frequency band; Configuring node parameters of the node to be accessed; the node parameters include the node type, the node address and the node status; Based on the interface parameters, the wireless signal parameters and the node parameters, the self-organizing network system is joined through the routing protocol and mechanism of the self-organizing network system.
[0011] According to an access method for an ad hoc network provided by the present invention, the method of joining the ad hoc network system through the routing protocol and mechanism of the ad hoc network system based on the interface parameters, the wireless signal parameters and the node parameters includes: Establishing a connection with any first node in the ad hoc network system based on the interface parameters, the wireless signal parameters and the node parameters; Based on the connection between each of the first nodes, data is transmitted with the first nodes to achieve access to the self-organizing network system.
[0012] In a second aspect, the present invention further provides an access device for an ad hoc network, the device being applied to a node to be accessed in an ad hoc network system, the ad hoc network system comprising at least one current node and the node to be accessed; the device comprising the following modules: A receiving module, configured to receive data transmitted in the self-organizing network system based on the initial working parameters of the node to be accessed; the node to be accessed is an off-network node or a new node; the initial working parameters of the node to be accessed are working parameters corresponding to the initial network parameters of the self-organizing network system; the number of total time slots in the self-organizing network system is greater than or equal to the number of current nodes in the self-organizing network system, the total time slots include a first time slot, the first time slot is a time slot for data transmission based on the initial network parameters, and the data transmitted in the first time slot includes at least the latest network parameters corresponding to the self-organizing network system; An access module, configured to adjust the initial working parameters based on the latest network parameters to obtain adjusted working parameters when it is determined that the latest network parameters of the self-organizing network system have been received; the adjusted working parameters are determined based on the latest network parameters; Based on the adjusted working parameters, access is made to the ad hoc network system.
[0013] In a third aspect, the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for accessing the self-organizing network as described above is implemented.
[0014] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described methods for accessing a self-organizing network.
[0015] In a fifth aspect, the present invention further provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for accessing a self-organizing network as described in any one of the above is implemented.
[0016] The present invention provides an access method and device for a self-organizing network. The method is applied to a node to be accessed in a self-organizing network system. The self-organizing network system includes at least one current node and a node to be accessed. First, based on the initial working parameters of the node to be accessed, data transmitted in the self-organizing network system is received, wherein the node to be accessed is an off-network node or a new node, and the initial working parameters of the node to be accessed are working parameters corresponding to the initial network parameters of the self-organizing network system. The number of total time slots in the self-organizing network system is greater than or equal to the number of current nodes in the self-organizing network system. The total time slots include a first time slot, which is a time slot for data transmission based on the initial network parameters. The data transmitted in the first time slot includes at least the latest network parameters corresponding to the self-organizing network system. Then, when it is determined that the latest network parameters of the self-organizing network system have been received, the initial working parameters are adjusted based on the latest network parameters to obtain adjusted working parameters, wherein the adjusted working parameters are determined based on the latest network parameters. Based on the adjusted working parameters, the self-organizing network system is accessed.
[0017] In the present invention, because the number of total time slots in the self-organizing network system is greater than or equal to the number of current nodes in the self-organizing network system, the total time slot includes a first time slot, which is a time slot for data transmission based on the initial network parameters, and the transmitted data at least includes the latest network parameters corresponding to the self-organizing network system, and the initial working parameters of the node to be accessed are the working parameters corresponding to the initial network parameters of the self-organizing network system. The node to be accessed can receive the latest network parameters, and then adjust the working parameters based on the latest network parameters received from the self-organizing network system, and automatically re-access the self-organizing network system based on the adjusted working parameters. The present invention can ensure that in a dynamically changing self-organizing network environment, whether it is a node that is disconnected from the network or a newly added node, it can quickly obtain the current latest network parameters and adjust its own parameters to quickly access the self-organizing network, thereby improving the flexibility and robustness of the self-organizing network, and realizing that the node or new node that is disconnected from the network in a complex electromagnetic environment can automatically re-access the self-organizing network. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1This is one of the flow diagrams of the access method for the self-organizing network provided by the present invention.
[0020] Figure 2 This is one of the structural diagrams of the ad hoc network system provided by the present invention.
[0021] Figure 3 This is the second structural diagram of the self-organizing network system provided by the present invention.
[0022] Figure 4 This is the second flow chart of the access method of the self-organizing network provided by the present invention.
[0023] Figure 5 This is the third flow chart of the access method for the ad hoc network provided by the present invention.
[0024] Figure 6 It is a structural schematic diagram of an access device for a self-organizing network provided by the present invention.
[0025] Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] In order to more clearly understand the various embodiments provided by the present invention, the technical content involved in the present invention is first introduced as follows.
[0028] In traditional ad hoc networking technology, if an offline node wants to reconnect to the ad hoc network, it usually needs to obtain the latest network parameters through some external means, such as manual settings or preset interaction protocols. However, these methods have many limitations in practical applications. For example, manual settings require human intervention and may not be implemented in emergency or dangerous situations; and preset interaction protocols may be affected by factors such as electromagnetic interference and cannot work properly.
[0029] Based on the above shortcomings, the present invention proposes a new automatic re-entry mechanism for an ad hoc network, which enables offline nodes or newly added nodes to automatically re-enter the ad hoc network without obtaining network parameters in other ways.
[0030] Combine the following Figure 1-Figure 7 The present invention describes the access method and device of the ad hoc network.
[0031] Figure 1 It is one of the flow diagrams of the access method of the self-organizing network provided by the present invention, the method is applied to the node to be accessed in the self-organizing network system, the self-organizing network system includes at least one current node and the node to be accessed; Figure 1 As shown, the method includes the following: Step 101, based on the initial working parameters of the node to be accessed, receiving data transmitted in the ad hoc network system; the node to be accessed is an off-network node or a new node; the initial working parameters of the node to be accessed are working parameters corresponding to the initial network parameters of the ad hoc network system; the number of total time slots in the ad hoc network system is greater than or equal to the number of current nodes in the ad hoc network system, the total time slots include a first time slot, the first time slot is a time slot for data transmission based on the initial network parameters, and the data transmitted in the first time slot includes at least the latest network parameters corresponding to the ad hoc network system; Specifically, it should be noted that the executor of the present invention is a node to be accessed in a self-organizing network system. The node to be accessed is a node that needs to access the self-organizing network. The present invention is used to enable disconnected nodes or new nodes to automatically reconnect to the self-organizing network in a complex electromagnetic environment.
[0032] The self-organizing network system includes at least one current node and a node to be connected. Figure 2 It is one of the structural diagrams of the self-organizing network system provided by the present invention, such as Figure 2 As shown, the ad hoc network system includes N current nodes, such as node 1, node 2, node 3, ... node N, and nodes to be accessed, such as offline nodes or new nodes.
[0033] The number of total time slots of the self-organizing network system in the present invention is greater than or equal to the number of current nodes in the self-organizing network system, and the total time slots include the first time slot, which is a time slot for data transmission based on the initial network parameters, and the data transmitted in the first time slot includes at least the latest network parameters corresponding to the self-organizing network system. Exemplarily, a new time slot is additionally set up on the basis of the original N time slots (time slots) in the self-organizing network system in the present invention, namely, the N+1th time slot. The first N time slots transmit data according to the new network parameters (such as state B); the N+1th time slot uses the initial network parameters (such as state A) for data transmission, and the content transmitted includes the latest parameter information of the current network (such as state B).
[0034] The node to be connected receives the data transmitted in the self-organizing system based on the initial working parameters of the node to be connected. Among them, the node to be connected (offline node or new node) uses the initial network parameters (state A) by default for reception, so it can definitely receive the data transmitted in the N+1th time slot, that is, it can receive the latest parameter information of the current network (such as state B) through the N+1th time slot.
[0035] Figure 3 This is the second structural diagram of the self-organizing network system provided by the present invention, such as Figure 3 As shown, Figure 3 Represents a time division multiple access TDMA frame. A frame may consist of multiple groups of time slots, and the structure of each group is the same. Take #1 as an example, it includes user access time slots of 1 to N nodes, and a parameter time slot is added after the user access time slot. This parameter time slot will use the broadcast mode, apply the initial factory parameters (state A) to transmit new parameters (state B).
[0036] Step 102: When it is determined that the latest network parameters of the ad hoc network system are received, the initial working parameters are adjusted based on the latest network parameters to obtain adjusted working parameters; the adjusted working parameters are determined based on the latest network parameters; Specifically, after receiving the information of the N+1th time slot, the latest parameters of the current network (such as state B) can be obtained, so that the parameters of the device itself can be automatically adjusted based on the latest network parameters to re-access the network.
[0037] For example, the initial working parameters of the access node are first adjusted based on the latest network parameters to obtain adjusted working parameters. The adjusted working parameters are determined based on the latest network parameters and can adapt to the latest current network environment.
[0038] Step 103: Access the ad hoc network system based on the adjusted working parameters.
[0039] Specifically, after the adjusted working parameters are obtained, the adjusted working parameters can adapt to the latest current network environment, and then the self-organizing network system can be accessed based on the adjusted working parameters, that is, automatic access to the self-organizing network can be achieved.
[0040] Through this mechanism, whether it is parameter adjustment caused by electromagnetic interference or disconnection caused by node movement, the node can automatically reconnect to the network if the network access conditions are met, thereby improving the stability and flexibility of the network.
[0041] The method provided in this embodiment is applied to a node to be accessed in a self-organizing network system, and the self-organizing network system includes at least one current node and a node to be accessed. First, based on the initial working parameters of the node to be accessed, data transmitted in the self-organizing network system is received, wherein the node to be accessed is an offline node or a new node, and the initial working parameters of the node to be accessed are working parameters corresponding to the initial network parameters of the self-organizing network system. The total number of time slots in the self-organizing network system is greater than or equal to the number of current nodes in the self-organizing network system, and the total time slots include a first time slot, which is a time slot for data transmission based on the initial network parameters, and the data transmitted in the first time slot includes at least the latest network parameters corresponding to the self-organizing network system; then, when it is determined that the latest network parameters of the self-organizing network system are received, the initial working parameters are adjusted based on the latest network parameters to obtain adjusted working parameters, wherein the adjusted working parameters are determined based on the latest network parameters; based on the adjusted working parameters, the self-organizing network system is accessed.
[0042] In the present invention, because the number of total time slots in the self-organizing network system is greater than or equal to the number of current nodes in the self-organizing network system, the total time slot includes a first time slot, which is a time slot for data transmission based on the initial network parameters, and the transmitted data at least includes the latest network parameters corresponding to the self-organizing network system, and the initial working parameters of the node to be accessed are the working parameters corresponding to the initial network parameters of the self-organizing network system. The node to be accessed can receive the latest network parameters, and then adjust the working parameters based on the latest network parameters received from the self-organizing network system, and automatically re-access the self-organizing network system based on the adjusted working parameters. The present invention can ensure that in a dynamically changing self-organizing network environment, whether it is a node that is disconnected from the network or a newly added node, it can quickly obtain the current latest network parameters and adjust its own parameters to quickly access the self-organizing network, thereby improving the flexibility and robustness of the self-organizing network, and realizing that the node or new node that is disconnected from the network in a complex electromagnetic environment can automatically re-access the self-organizing network.
[0043] According to a method for accessing an ad hoc network provided by the present invention, based on the initial working parameters of the node to be accessed, before receiving data transmitted in the ad hoc network system, the method further includes: Determine the total number of time slots in the ad hoc network system according to the number of current nodes in the ad hoc network system; The total time slot also includes a second time slot, which corresponds to each current node. The time slot of the second time slot is a time slot for data transmission based on the latest network parameters.
[0044] Specifically, in some embodiments, before step 102 receives data transmitted in the self-organizing network system based on the initial working parameters of the node to be accessed, it also includes: According to the number of current nodes in the ad hoc network system, the total number of time slots in the ad hoc network system is determined. Since the total number of time slots in the ad hoc network system is greater than the number of current nodes, if the current number of nodes is N, the total number of time slots is N+1, that is, a new time slot is set up in the ad hoc network system based on the original N time slots (time slots), that is, the N+1th time slot. The first N time slots transmit data according to the new network parameters (such as state B); the N+1th time slot uses the initial network parameters (such as state A) for data transmission, and the content transmitted includes the latest parameter information of the current network (such as state B).
[0045] The total time slot in the ad hoc network system also includes a second time slot, which corresponds to each current node. The time slot of the second time slot is a time slot for data transmission based on the latest network parameters. If there are N current nodes, the first N time slots are the second time slots, and the first N time slots are used for data transmission according to the new network parameters (such as state B).
[0046] The method provided in this embodiment mainly utilizes the dynamic time slot allocation method to add a specific broadcast time slot to propagate the current working parameters of the self-organizing network. This mechanism is applied to the rapid re-entry of offline nodes or newly joined nodes. Even when the node cannot obtain the current network parameters through other means, it can obtain the network parameters according to this specific broadcast time slot, thereby realizing automatic re-entry into the network and restoring network communication.
[0047] According to an access method of an ad hoc network provided by the present invention, based on the initial working parameters of a node to be accessed, data transmitted in the ad hoc network system is received, comprising: Based on the initial working parameters of the node to be accessed, receiving the data transmitted in the first time slot; Determining whether the data transmitted in the first time slot includes the latest network parameters corresponding to the ad hoc network system; When it is determined that the data transmitted in the first time slot includes the latest network parameters corresponding to the ad hoc network system, it is determined that the latest network parameters of the ad hoc network system are received.
[0048] Specifically, in some embodiments, step 101 may be implemented by the following steps: It can be understood that, since the initial working parameters of the node to be accessed are determined based on the initial network parameters, and the first time slot performs data transmission based on the initial network parameters, the node to be accessed can receive the data transmitted in the first time slot.
[0049] Furthermore, the data transmitted in the first time slot includes the latest network parameters corresponding to the self-organizing network system. When the node to be accessed determines that the data transmitted in the first time slot includes the latest network parameters corresponding to the self-organizing network system, it determines that the latest network parameters of the self-organizing network system have been received. Subsequently, the node can adjust its own working parameters based on the latest network parameters to achieve re-access to the self-organizing network.
[0050] The method provided in this embodiment can obtain the network parameters according to this specific broadcast time slot even when the node to be accessed cannot obtain the current network parameters through other means, thereby achieving automatic re-entry into the network and restoring network communication.
[0051] According to a method for accessing a self-organizing network provided by the present invention, the latest network parameters include at least one of the following: network working mode, network device interface requirements, supported frequency bands, output frequency, working ID, signal bandwidth and communication distance; the adjusted working parameters include at least one of the following: node type, node address, node status, power and working frequency band.
[0052] Specifically, in some embodiments, the latest network parameters include at least one of the following: network operating mode, network device interface requirements, supported frequency bands, output frequency, operating ID, signal bandwidth, and communication distance.
[0053] Among them, the working mode of the network refers to that the self-organizing network device can work in the self-organizing network mode, LTE public network mode or LTE private network mode, and supports multi-mode single-pass. Supported frequency band: refers to the frequency band supported by the self-organizing network device, such as 566-678MHz or 1420-1530MHz, as well as the frequency bands of LTE public network and private network. Output power: refers to the output power of the self-organizing network device, such as 33 dBm *2. The latest network parameters also include: 1. Technical system: wireless self-organizing network technology based on LTE-A. 2. Device interface: including 100M Ethernet interface, USB2.0 interface, RF interface (TNC head and SMA head), audio interface, HDMI input interface, SIM card interface, etc. 3. Self-organizing network specifications: including parameters such as maximum throughput, number of networking nodes, number of hops, cold start network access time, mobility, transmission distance, hybrid networking, carrier aggregation, anti-interference and low bit error rate. 4. Voice: supports PTT voice intercom, voice conferencing and other functions.
[0054] The adjusted working parameters include at least one of the following: node type, node address, node status, power and working frequency band.
[0055] Among them, node type: refers to the role of the node in the network, such as terminal node or routing node. Node address: refers to the unique identifier of each node, which is used to indicate the location and communication relationship of the node in the network. Node status: refers to the operating status of the node, such as idle state or active state. Power: refers to the strength of wireless signal propagation. The appropriate power can be selected according to the network environment.
[0056] The latest network parameters of the method provided in this embodiment include at least one of the following: network working mode, network device interface requirements, supported frequency bands, output frequency, working ID, signal bandwidth and communication distance; the adjusted working parameters include at least one of the following: node type, node address, node status, power and working frequency band; the node to be accessed adjusts its own parameters according to the latest network parameters received to achieve automatic access to the ad hoc network.
[0057] According to a method for accessing an ad hoc network provided by the present invention, based on adjusted working parameters, accessing an ad hoc network system includes: Based on the network device interface requirements of the ad hoc network system, configure the corresponding interface parameters; Determine wireless signal parameters according to the network output power and supported frequency band of the ad hoc network system; the wireless signal parameters include power and working frequency band; Configure the node parameters of the node to be connected; the node parameters include node type, node address and node status; Based on interface parameters, wireless signal parameters and node parameters, the ad hoc network system is joined through the routing protocol and mechanism of the ad hoc network system.
[0058] Specifically, in some embodiments, the specific implementation process of accessing the ad hoc network system based on the adjusted working parameters in step 104 includes the following steps: First, based on the network device interface requirements of the ad hoc network system, configure the corresponding interface parameters, such as Ethernet, USB, and RF interface.
[0059] Further, the wireless signal parameters are determined according to the network output power and supported frequency band of the ad hoc network system, and the wireless signal parameters include power and working frequency band. For example, the wireless signal parameters of the self-ad hoc network system, including power and working frequency band, are adjusted according to the network output power and supported frequency band to achieve the best wireless signal propagation effect.
[0060] Furthermore, the node parameters of the node to be connected are configured to ensure that the node can correctly locate and communicate in the network. The node parameters include node type, node address and node status.
[0061] Furthermore, based on the interface parameters, wireless signal parameters and node parameters, the ad hoc network system is joined through the routing protocol and mechanism of the ad hoc network system.
[0062] The method provided in this embodiment, through the above steps, the node to be connected can adjust its own working parameters based on the latest network parameters to successfully access the ad hoc network and participate in network communication. The proposal and implementation of this mechanism not only improves the network stability and robustness of the ad hoc network, but also greatly improves the network utilization efficiency and adaptability, especially in complex electromagnetic environments such as battlefield environments, which can help nodes that meet the network access conditions to automatically restore communication, thereby helping to improve the speed and efficiency of information transmission and reduce the impact of communication interruptions on combat operations.
[0063] According to an access method of an ad hoc network provided by the present invention, based on interface parameters, wireless signal parameters and node parameters, an ad hoc network system is joined through a routing protocol and mechanism of the ad hoc network system, comprising: Establishing a connection with any first node in the ad hoc network system based on the interface parameters, the wireless signal parameters and the node parameters; Based on the connection with each first node, data is transmitted with the first node to achieve access to the self-organizing network system.
[0064] Specifically, in some embodiments, based on the interface parameters, wireless signal parameters and node parameters, the specific implementation process of joining the ad hoc network system through the routing protocol and mechanism of the ad hoc network system includes the following steps: First, based on the interface parameters, wireless signal parameters and node parameters, a connection is established with any first node in the self-organizing network system. Then, data is transmitted with the first node based on the connection with each first node to achieve access to the self-organizing network system.
[0065] For example, through the routing protocols and mechanisms of ad hoc networks, nodes try to join the network, establish connections with other nodes, and start data transmission. Nodes adjust their routing and communication strategies according to dynamic changes in the network, such as changes in topology, to maintain the stability and connectivity of the network.
[0066] Even if no node in the current network is disconnected, the N+1th time slot will always exist. Even if the new node is not clear about the current network parameters, it can obtain the current network parameters by receiving the information of the N+1th time slot, thereby achieving automatic access.
[0067] The method provided in this embodiment uses the routing protocol and mechanism of the self-organizing network, and the node to be connected attempts to join the network, establishes connections with other nodes, and starts data transmission, so that nodes or new nodes that are disconnected from the network in a complex electromagnetic environment can automatically reconnect to the self-organizing network.
[0068] Figure 4 This is a second flow chart of the method for accessing a self-organizing network provided by the present invention, such as Figure 4As shown, the method includes: Step 401: The off-grid node sets the working parameters to the factory default state A.
[0069] First, the off-grid node sets its working parameters to the factory default state A. These parameters include but are not limited to: working frequency, working ID, signal bandwidth, communication distance, etc.
[0070] Step 402: The off-network node continues to monitor network signals in state A. Since its parameters have been set to state A, it can monitor the network parameter state B information sent using the factory parameter state A in the N+1th time slot.
[0071] Step 403: The offline node receives the broadcast information of the ad hoc network (notifying that the ad hoc network parameter is in the B state).
[0072] Step 404: The offline node adjusts the working state from state A to state B.
[0073] When the offline node receives the network parameter state B information, it will immediately change its own working parameters from state A to the received state B. In this way, the working parameters of the offline node will be consistent with the parameters of other nodes in the current network.
[0074] Step 405: The offline node establishes communication with other nodes.
[0075] The offline node starts to communicate with other nodes in the network according to the new network parameter state B to reconnect to the network.
[0076] Step 406: The offline node rejoins the network.
[0077] The method provided in this embodiment can effectively achieve the rapid reconnection of disconnected nodes in an ad hoc network without manual intervention or other external means. By setting a specific parameter transmission time slot and allowing the disconnected node to adjust the parameters after receiving the new network parameters, the network reconnection of the node can be completed in a short time, thereby improving the stability and operation efficiency of the network. This is particularly important in a rapidly changing and complex electromagnetic environment, such as in a battlefield environment.
[0078] Figure 5 FIG. 3 is a flow chart of the access method of the self-organizing network provided by the present invention. Figure 5 As shown, the method includes: Step 501: The new node sets the working parameters to the factory default state A.
[0079] First, the new node sets its operating parameters to the factory default state A. These parameters include but are not limited to: operating frequency, operating ID, signal bandwidth, communication distance, etc.
[0080] Step 502: The new node continues to monitor network signals in state A. Since its parameters have been set to state A, it can monitor the network parameter state B information sent using the factory parameter state A in the N+1th time slot.
[0081] Step 503: The new node receives the broadcast information of the ad hoc network (notifying that the ad hoc network parameter is in the B state).
[0082] Step 504: The new node adjusts the working state from state A to state B.
[0083] When the new node receives the network parameter state B information, it will immediately change its own working parameters from state A to the received state B. In this way, the working parameters of the new node will be consistent with the parameters of other nodes in the current network.
[0084] Step 505: The new node establishes communication with other nodes.
[0085] The new node starts to communicate with other nodes in the network according to the new network parameter state B to re-access the network.
[0086] Step 506: The new node rejoins the network.
[0087] The method provided in this embodiment enables the new node to quickly obtain the working parameters of the current ad hoc network and adjust its own working state according to these parameters, thereby smoothly accessing the network. This process is not only fast but also simple, and the new node can access the network without knowing the detailed configuration parameters of the network in advance. This is extremely important for the dynamically adjusted ad hoc network environment, especially in the battlefield and other environments that require rapid response, which can significantly improve the real-time performance and flexibility of the network.
[0088] The access device of the ad hoc network provided by the present invention is described below. The access device of the ad hoc network described below and the access method of the ad hoc network described above can be referred to each other.
[0089] Figure 6 600 is a schematic diagram of the structure of the access device of the ad hoc network provided by the present invention, the access device 600 of the ad hoc network is applied to the node to be accessed in the ad hoc network system, the ad hoc network system includes at least one current node and the node to be accessed; Figure 6 As shown, the access device 600 of the ad hoc network includes the following modules: The receiving module 610 is used to receive data transmitted in the self-organizing network system based on the initial working parameters of the node to be accessed; the node to be accessed is an off-network node or a new node; the initial working parameters of the node to be accessed are working parameters corresponding to the initial network parameters of the self-organizing network system; the number of total time slots in the self-organizing network system is greater than or equal to the number of current nodes in the self-organizing network system, the total time slots include a first time slot, the first time slot is a time slot for data transmission based on the initial network parameters, and the data transmitted in the first time slot includes at least the latest network parameters corresponding to the self-organizing network system; The access module 620 is used to adjust the initial working parameters based on the latest network parameters to obtain adjusted working parameters when it is determined that the latest network parameters of the self-organizing network system are received; the adjusted working parameters are determined based on the latest network parameters; Based on the adjusted working parameters, access is made to the ad hoc network system.
[0090] The device provided in this embodiment is applied to a node to be accessed in a self-organizing network system, including a receiving module 610 and an access module 620, wherein the self-organizing network system includes at least one current node and a node to be accessed, firstly, the receiving module 610 receives data transmitted in the self-organizing network system based on the initial working parameters of the node to be accessed, wherein the node to be accessed is an off-network node or a new node, the initial working parameters of the node to be accessed are working parameters corresponding to the initial network parameters of the self-organizing network system, the total number of time slots in the self-organizing network system is greater than or equal to the number of current nodes in the self-organizing network system, the total time slots include a first time slot, the first time slot is a time slot for data transmission based on the initial network parameters, and the data transmitted in the first time slot includes at least the latest network parameters corresponding to the self-organizing network system; then, when determining that the latest network parameters of the self-organizing network system are received, the access module 620 adjusts the initial working parameters based on the latest network parameters to obtain the adjusted working parameters, wherein the adjusted working parameters are determined based on the latest network parameters; based on the adjusted working parameters, the self-organizing network system is accessed.
[0091] In the present invention, because the number of total time slots in the self-organizing network system is greater than or equal to the number of current nodes in the self-organizing network system, the total time slot includes a first time slot, which is a time slot for data transmission based on the initial network parameters, and the transmitted data at least includes the latest network parameters corresponding to the self-organizing network system, and the initial working parameters of the node to be accessed are the working parameters corresponding to the initial network parameters of the self-organizing network system. The node to be accessed can receive the latest network parameters, and then adjust the working parameters based on the latest network parameters received from the self-organizing network system, and automatically re-access the self-organizing network system based on the adjusted working parameters. The present invention can ensure that in a dynamically changing self-organizing network environment, whether it is a node that is disconnected from the network or a newly added node, it can quickly obtain the current latest network parameters and adjust its own parameters to quickly access the self-organizing network, thereby improving the flexibility and robustness of the self-organizing network, and realizing that the node or new node that is disconnected from the network in a complex electromagnetic environment can automatically re-access the self-organizing network.
[0092] According to an access device 600 for an ad hoc network provided by the present invention, the receiving module 610 is further used for: Determining the total number of time slots in the ad hoc network system according to the number of current nodes in the ad hoc network system; The total time slot also includes a second time slot, the second time slot corresponds to each current node, and the time slot of the second time slot is a time slot for data transmission based on the latest network parameters.
[0093] According to an access device 600 for an ad hoc network provided by the present invention, the receiving module 610 is specifically used for: Based on the initial working parameters of the node to be accessed, receiving the data transmitted in the first time slot; Determining whether the data transmitted in the first time slot includes the latest network parameters corresponding to the ad hoc network system; In the case where it is determined that the data transmitted in the first time slot includes the latest network parameters corresponding to the self-organizing network system, it is determined that the latest network parameters of the self-organizing network system are received.
[0094] According to an access device 600 for a self-organizing network provided by the present invention, the latest network parameters include at least one of the following: network working mode, network equipment interface requirements, supported frequency bands, output frequency, working ID, signal bandwidth and communication distance; the adjusted working parameters include at least one of the following: node type, node address, node status, power and working frequency band.
[0095] According to an access device 600 of an ad hoc network provided by the present invention, the access module 620 is specifically used for: Based on the network device interface requirements of the ad hoc network system, configure corresponding interface parameters; Determine wireless signal parameters according to the network output power and the supported frequency band of the ad hoc network system; the wireless signal parameters include power and operating frequency band; Configuring node parameters of the node to be accessed; the node parameters include the node type, the node address and the node status; Based on the interface parameters, the wireless signal parameters and the node parameters, the self-organizing network system is joined through the routing protocol and mechanism of the self-organizing network system.
[0096] According to an access device 600 of an ad hoc network provided by the present invention, the access module 620 is further used for: Establishing a connection with any first node in the ad hoc network system based on the interface parameters, the wireless signal parameters and the node parameters; Based on the connection with each of the first nodes, data is transmitted with the first nodes to achieve access to the self-organizing network system.
[0097] Figure 7 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 7 As shown, the electronic device may include: a processor 710, a communication interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communication interface 720 and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute the access method of the ad hoc network, the method is applied to the node to be accessed in the ad hoc network system, the ad hoc network system includes at least one current node and the node to be accessed; the method includes: Based on the initial working parameters of the node to be accessed, receiving the data transmitted in the self-organizing network system; the node to be accessed is an offline node or a new node; the initial working parameters of the node to be accessed are working parameters corresponding to the initial network parameters of the self-organizing network system; the number of total time slots in the self-organizing network system is greater than or equal to the number of current nodes in the self-organizing network system, the total time slots include a first time slot, the first time slot is a time slot for data transmission based on the initial network parameters, and the data transmitted in the first time slot includes at least the latest network parameters corresponding to the self-organizing network system; In the case of determining that the latest network parameters of the self-organizing network system are received, adjusting the initial working parameters based on the latest network parameters to obtain adjusted working parameters; the adjusted working parameters are determined based on the latest network parameters; Based on the adjusted working parameters, access is made to the ad hoc network system.
[0098] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network 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, etc. Various media that can store program codes.
[0099] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the access method of the self-organizing network provided by the above methods, the method is applied to a node to be accessed in a self-organizing network system, the self-organizing network system includes at least one current node and the node to be accessed; the method includes: Based on the initial working parameters of the node to be accessed, receiving the data transmitted in the self-organizing network system; the node to be accessed is an offline node or a new node; the initial working parameters of the node to be accessed are working parameters corresponding to the initial network parameters of the self-organizing network system; the number of total time slots in the self-organizing network system is greater than or equal to the number of current nodes in the self-organizing network system, the total time slots include a first time slot, the first time slot is a time slot for data transmission based on the initial network parameters, and the data transmitted in the first time slot includes at least the latest network parameters corresponding to the self-organizing network system; In the case of determining that the latest network parameters of the self-organizing network system are received, adjusting the initial working parameters based on the latest network parameters to obtain adjusted working parameters; the adjusted working parameters are determined based on the latest network parameters; Based on the adjusted working parameters, access is made to the ad hoc network system.
[0100] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for accessing the ad hoc network provided by the above methods is implemented, and the method is applied to a node to be accessed in an ad hoc network system, wherein the ad hoc network system includes at least one current node and the node to be accessed; the method includes: Based on the initial working parameters of the node to be accessed, receiving the data transmitted in the self-organizing network system; the node to be accessed is an offline node or a new node; the initial working parameters of the node to be accessed are working parameters corresponding to the initial network parameters of the self-organizing network system; the number of total time slots in the self-organizing network system is greater than or equal to the number of current nodes in the self-organizing network system, the total time slots include a first time slot, the first time slot is a time slot for data transmission based on the initial network parameters, and the data transmitted in the first time slot includes at least the latest network parameters corresponding to the self-organizing network system; In the case of determining that the latest network parameters of the self-organizing network system are received, adjusting the initial working parameters based on the latest network parameters to obtain adjusted working parameters; the adjusted working parameters are determined based on the latest network parameters; Based on the adjusted working parameters, access is made to the ad hoc network system.
[0101] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0102] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0103] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for accessing an ad hoc network, characterized in that: The method is applied to a node to be accessed in a self-organizing network system, wherein the self-organizing network system includes at least one current node and the node to be accessed; the method includes: Based on the initial working parameters of the node to be accessed, receiving the data transmitted in the self-organizing network system; the node to be accessed is an offline node or a new node; the initial working parameters of the node to be accessed are working parameters corresponding to the initial network parameters of the self-organizing network system; the number of total time slots in the self-organizing network system is greater than or equal to the number of current nodes in the self-organizing network system, the total time slots include a first time slot, the first time slot is a time slot for data transmission based on the initial network parameters, and the data transmitted in the first time slot includes at least the latest network parameters corresponding to the self-organizing network system; In the case of determining that the latest network parameters of the self-organizing network system are received, adjusting the initial working parameters based on the latest network parameters to obtain adjusted working parameters; the adjusted working parameters are determined based on the latest network parameters; Based on the adjusted working parameters, access is made to the ad hoc network system.
2. The method for accessing an ad hoc network according to claim 1, characterized in that: Before receiving the data transmitted in the ad hoc network system based on the initial working parameters of the node to be accessed, the method further includes: Determining the total number of time slots in the ad hoc network system according to the number of current nodes in the ad hoc network system; The total time slot also includes a second time slot, the second time slot corresponds to each current node, and the time slot of the second time slot is a time slot for data transmission based on the latest network parameters.
3. The method for accessing an ad hoc network according to claim 2, characterized in that: The receiving, based on the initial working parameters of the node to be accessed, data transmitted in the ad hoc network system comprises: Based on the initial working parameters of the node to be accessed, receiving the data transmitted in the first time slot; Determining whether the data transmitted in the first time slot includes the latest network parameters corresponding to the ad hoc network system; In the case where it is determined that the data transmitted in the first time slot includes the latest network parameters corresponding to the self-organizing network system, it is determined that the latest network parameters of the self-organizing network system are received.
4. The method for accessing an ad hoc network according to claim 1, characterized in that: The latest network parameters include at least one of the following: network operating mode, network device interface requirements, supported frequency bands, output frequency, working ID, signal bandwidth and communication distance; the adjusted working parameters include at least one of the following: node type, node address, node status, power and operating frequency band.
5. The method for accessing an ad hoc network according to claim 4, characterized in that: The step of accessing the ad hoc network system based on the adjusted working parameters includes: Based on the network device interface requirements of the ad hoc network system, configure corresponding interface parameters; Determine wireless signal parameters according to the network output power and the supported frequency band of the ad hoc network system; the wireless signal parameters include power and operating frequency band; Configuring node parameters of the node to be accessed; the node parameters include the node type, the node address and the node status; Based on the interface parameters, the wireless signal parameters and the node parameters, the self-organizing network system is joined through the routing protocol and mechanism of the self-organizing network system.
6. The method for accessing a self-organizing network according to claim 5, characterized in that: The method of joining the ad hoc network system through the routing protocol and mechanism of the ad hoc network system based on the interface parameters, the wireless signal parameters and the node parameters includes: Establishing a connection with any first node in the ad hoc network system based on the interface parameters, the wireless signal parameters and the node parameters; Based on the connection between each of the first nodes, data is transmitted with the first nodes to achieve access to the self-organizing network system.
7. An access device for a self-organizing network, characterized in that: The device is applied to a node to be accessed in a self-organizing network system, wherein the self-organizing network system includes at least one current node and the node to be accessed; the device includes: A receiving module, configured to receive data transmitted in the self-organizing network system based on the initial working parameters of the node to be accessed; the node to be accessed is an off-network node or a new node; the initial working parameters of the node to be accessed are working parameters corresponding to the initial network parameters of the self-organizing network system; the number of total time slots in the self-organizing network system is greater than or equal to the number of current nodes in the self-organizing network system, the total time slots include a first time slot, the first time slot is a time slot for data transmission based on the initial network parameters, and the data transmitted in the first time slot includes at least the latest network parameters corresponding to the self-organizing network system; An access module, configured to adjust the initial working parameters based on the latest network parameters to obtain adjusted working parameters when it is determined that the latest network parameters of the self-organizing network system have been received; the adjusted working parameters are determined based on the latest network parameters; Based on the adjusted working parameters, access is made to the ad hoc network system.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method for accessing the ad hoc network according to any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for accessing an ad hoc network as claimed in any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for accessing an ad hoc network as claimed in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Channel access method based on intelligent time slot selection
CN109660374A
Energy-saving and low-delay opportunity broadcasting method in software self-defined sensor network
CN111586756A
Data transmission method of wireless networking system and wireless networking system
CN112135268A
Chained networking channel access method and system for aircraft
CN112367669A
Ad hoc network system, communication method and device, computer equipment and storage medium
CN112738913A