Privacy protection method for source position of polyhedral security area in underwater acoustic sensor network

By constructing a polyhedral safe area in the hydroacoustic sensor network and combining it with the Q-Learning algorithm to optimize the selection of relay nodes, and using non-uniform clustering to collaboratively send interference signals, the problem of increased privacy protection delay and energy consumption of source node locations in the hydroacoustic sensor network is solved. It solves the problems of rising consumption and security limitations, achieving more efficient data transmission and stronger privacy protection.

CN118748795APending Publication Date: 2024-10-08HOHAI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410765103.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

Existing source node location privacy protection algorithms in hydroacoustic sensor networks face problems such as increased data transmission delay, increased network energy consumption, and security limitations, making it difficult to effectively protect source node location privacy in complex three-dimensional underwater environments.

Method used

The polyhedral safe area source location privacy protection method is adopted, by constructing a polyhedral safe area centered on the source node in the hydroacoustic sensor network, selecting appropriate phantom nodes, and combining the Q-Learning algorithm to optimize relay node selection, using non-uniform clustering Set up auxiliary nodes to coordinately send interference signals to block attacks.

Benefits of technology

It effectively reduces data transmission delay, controls node energy consumption, improves network security and privacy protection capabilities, and enhances privacy protection capabilities in complex network environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118748795A_ABST
    Figure CN118748795A_ABST
Patent Text Reader

Abstract

The invention provides a privacy protection method for a source position of a polyhedral security area in an underwater acoustic sensor network. The privacy protection method comprises the following steps: designing a network model, an attacker model and an energy consumption model of the underwater acoustic sensor network; a polyhedral security area is defined by taking a source node as a center, phantom nodes are selected from external nodes of the area according to a relative angle between the nodes, and the data transmission time delay is reduced while the passive attack of an attacker is resisted. Selection of relay nodes is optimized through a Q-Learning algorithm, each node adjusts a selection strategy according to real-time feedback, and energy consumption of the nodes is further reduced. The auxiliary nodes are set through a non-uniform clustering strategy, the multiple auxiliary nodes cooperatively send interference signals, active attacks of attackers are effectively interfered, and safe transmission of source data is ensured. By combining a phantom routing method based on a polyhedral security area, a relay node selection method based on Q-Learning, a security data transmission method based on cooperative interference and other technologies, the model provides an effective solution for source node position privacy protection in an underwater acoustic sensor network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the application field of source node location privacy protection technology, and in particular relates to a polyhedral security area source location privacy protection method in an underwater acoustic sensor network. Background Art

[0002] The concept of underwater acoustic sensor networks originated in the late 20th century. With the advancement of ocean exploration technology and the increasing attention to marine resources, the demand for systems that can reliably communicate and monitor in harsh and complex underwater environments has continued to grow. Early underwater communications relied on wired connections or simple sonar technology, but these methods have limitations, such as high deployment costs, poor flexibility, and limited coverage. With the development of wireless sensor technology and acoustic communication technology, underwater acoustic sensor networks have become an effective solution to these problems. At the same time, as an emerging information network, underwater acoustic sensor networks have gradually developed into a hot topic of research for scholars from various countries, and have broad application prospects in the fields of marine environment monitoring, offshore exploration, assisted navigation, tsunami warning, and marine military.

[0003] Nowadays, as an important part of the underwater Internet of Things, the underwater acoustic sensor network has become increasingly important, but at the same time, the security and privacy protection of the underwater acoustic sensor network also need urgent attention. In the network architecture of the underwater acoustic sensor network, the main goal is to collect seabed information and ensure that this data can be reliably transmitted to the control center on the surface. In this process, the sensor nodes responsible for detecting key data are defined as source nodes. If the location information of the source node is leaked, the important data it monitors may be used by attackers for improper purposes, resulting in immeasurable negative consequences. Therefore, ensuring the privacy of the source node location information is not only an important strategy to strengthen network defense, but also a key link to prevent sensitive data from being illegally tampered with and abused.

[0004] In underwater scenarios, the main goal of protecting the privacy of the source location is to ensure the secure transmission of data packets while minimizing the risk of attackers discovering the location of the source node. Phantom routing is an important means of protecting the privacy of the source location. It is usually achieved by adding additional relay nodes (i.e., phantom nodes) to the real data transmission path. These relay nodes can be actual nodes or temporarily created virtual nodes. The data is first sent to the phantom node and then transmitted to the target node. In this way, the data path is effectively randomized, thereby hindering attackers from tracking the location of the original data source. Current research focuses on combining visualization strategies of random and directed routing to protect the location privacy of the source node. However, most of these strategies are based on two-dimensional planes and are not effective in dealing with complex three-dimensional underwater environment challenges. By combining the polyhedral structure with the phantom node setting, the spatial advantages of the three-dimensional structure can be fully utilized, which can significantly enhance the diversity of routing paths and effectively adapt to the dynamic changes of the three-dimensional space. At the same time, the increase in path uncertainty greatly improves the security of the source node location privacy, and also provides a new perspective and method for privacy protection in complex network environments.

[0005] In the practical application of underwater acoustic sensor networks, their unique dynamic topology and sparse node layout greatly increase the complexity of network design and management. Therefore, source location privacy protection algorithms often face technical challenges such as short network security time, high data transmission delay and high energy consumption of sensor nodes. First of all, one of the main challenges of underwater acoustic sensor networks is security threats. Due to its open communication environment and special underwater propagation characteristics, source data can be easily eavesdropped, tampered or forged by attackers. At the same time, the exposure of the source node location not only threatens the security of the data, but also may put the entire monitoring task at risk. Secondly, the data transmission efficiency of the underwater acoustic sensor network is limited by the speed of underwater sound wave propagation, resulting in significant response delays, which has an adverse impact on the timeliness and data processing capabilities of the network. In addition, the uneven energy consumption during data transmission may lead to routing holes, which in turn affects the real-time and energy efficiency of the network.

[0006] Therefore, in view of the unique needs of underwater environments and the limitations of existing research in protecting source location privacy, an algorithm is developed that can not only protect the privacy of the source node location, but also achieve a better balance in terms of energy consumption control, safety time extension and latency reduction. This is of great significance for protecting sensitive data in underwater acoustic sensor networks, improving overall network performance and application value, and also provides a more secure and reliable platform for marine environment monitoring and data collection.

[0007] In summary, in order to better balance the relationship between security time, node energy consumption and data transmission delay. The present invention proposes a privacy protection algorithm for source location in a polyhedral security area in an underwater acoustic sensor network. The present invention proposes a phantom routing method based on a polyhedral security area. A polyhedral security area is constructed with the source node as the center, and suitable phantom nodes are selected outside the security area according to the relative angles between nodes, so that the phantom nodes are as far away from the source node as possible and close to the sink node, which effectively resists the backtracking attack of the attacker and reduces the data transmission delay. The present invention further proposes a relay node selection method based on Q-Learning. Combined with the Q-Learning algorithm, the relay node selection problem is modeled as a Markov decision process. Each sensor node can adjust its selection strategy according to real-time feedback to optimize the balance between its energy consumption and transmission efficiency. Finally, the present invention proposes a secure data transmission method based on cooperative interference. Through non-uniform clustering, an auxiliary node is set for each pair of communication nodes. The auxiliary node cooperatively sends interference signals to interfere with the eavesdropping attack and pollution attack of the attacker, ensuring the secure transmission of the data generated by the source node without affecting the reception of legitimate users, and further maintaining the location of the source node and data privacy. Summary of the invention

[0008] The purpose of the embodiments of the present application is to provide a polyhedral safe area source location privacy protection algorithm in an underwater acoustic sensor network to solve the problems faced by existing source node location privacy protection algorithms, such as increased data transmission delay, increased network energy consumption and security limitations.

[0009] The present invention provides a method for protecting the privacy of a source location in a polyhedron safety area in an underwater acoustic sensor network, comprising:

[0010] (1) Design the network model, attacker model, and energy consumption model of the underwater acoustic sensor network. Specifically:

[0011] (1.1) Network model

[0012] The present invention aims to construct a network model that can accurately reflect the actual operating environment of the underwater sensor network and provide a solid foundation for subsequent performance evaluation. The performance and functionality of the network are designed and evaluated based on the following key assumptions:

[0013] 1) Sensor nodes are randomly deployed in the underwater environment to ensure wide area coverage. All sensor nodes are homogeneous devices with consistent hardware and software capabilities to simplify network management and maintenance. Each sensor node is equipped with a unique identifier to facilitate identification and communication in the network.

[0014] 2) Due to the influence of underwater environmental factors such as Ekman drift, the positions of sensor nodes in the dynamic layer may change. Despite the position changes, it is assumed that these nodes can obtain their own precise location information through underwater positioning technology (such as acoustic positioning system), thereby supporting effective network routing and data transmission.

[0015] 3) Multiple autonomous underwater vehicles are deployed in the network, which cruise underwater at a predetermined constant speed, perform data collection and relay tasks, and provide auxiliary communication support for sensor nodes. Autonomous underwater vehicles have higher computing power and mobility than sensor nodes, enabling them to handle complex tasks and flexibly adjust paths to respond to network needs and changes in the underwater environment.

[0016] 4) To enhance the network’s adaptability, it is assumed that the network can dynamically adjust communication parameters, such as transmission power and frequency, according to changes in the underwater environment. This flexibility enables the network to maintain stable and effective communication in the face of different environmental conditions, such as changes in water temperature, salinity, or water flow speed.

[0017] (1.2) Attacker Model

[0018] The present invention considers the impact of active attack and passive attack on the location privacy of the source node, and makes the following assumptions about the attacker:

[0019] 1) Passive attack: Since it does not directly affect the normal operation of the network, the activities of passive attackers are difficult to detect. The passive attack methods assumed in this invention are eavesdropping attacks and backtracking attacks. Eavesdropping attacks refer to the behavior of attackers to obtain sensitive information by monitoring network communications. The attacker can intercept, peek or record information in the transmitted data packets, and the goal is to intercept the transmitted data to obtain sensitive information. A backtracking attack refers to an attacker using historical records or transmitted data traffic to infer the location of the source node. By analyzing the transmission path and time of the data packet, the attacker attempts to determine the location of the source node, thereby destroying the privacy protection of the network.

[0020] 2) Active attack: Considering the possibility of attackers actively attacking data packets, this paper assumes that attackers use pollution attacks on sensor nodes. Pollution attacks aim to disrupt the normal function of the network or cause wrong decisions by injecting forged or malicious data into the network. This attack may cause nodes in the network to make wrong judgments or take wrong actions, which has a serious impact on the accuracy and integrity of network data.

[0021] 3) The attackers showed a high degree of patience and carefully chose the timing and target of their attacks to maximize the impact of their attacks.

[0022] 4) The attackers have considerable resources, including computing power and network access, enabling them to carry out large-scale attack campaigns.

[0023] 5) The attacker’s range of action is consistent with the communication range of the underwater sensor nodes.

[0024] (1.3) Energy consumption model

[0025] Energy consumption model is an important tool for studying energy consumption of underwater acoustic sensor networks. It is mainly used to describe the energy consumption pattern and degree of each node in the network under different operating conditions. The present invention adopts the Thorp model to describe the underwater acoustic propagation model. The Thorp model provides a more accurate framework for estimating the propagation loss of sound waves in water, which is of great significance for analyzing the energy consumption of nodes in sensor networks.

[0026] It is known that the path loss of the acoustic link is not only related to the propagation distance d, but also affected by the carrier frequency f. Therefore, it can be described as:

[0027]

[0028] Among them, f represents the signal frequency, d represents the propagation distance, and k represents the expansion coefficient (the empirical value is 1.5). It represents the sound absorption coefficient, which is calculated as follows:

[0029]

[0030] Use E sent (l,d) means the sensor node sends l bits of data, and the transmission distance is d (d<d max ) is calculated as:

[0031]

[0032] Among them, P0 represents the minimum power required for a node to send data, d max represents the maximum communication distance of the node, E remain Indicates the remaining energy of the node. When the energy sent by the sensor node is greater than the remaining energy, the node is considered to be below the energy threshold and will no longer be used for data transmission.

[0033] The energy consumed by a sensor node to receive l bit of data is:

[0034] E received (l) = lp r

[0035] where p r Represents the receiving coefficient, which represents the energy consumption of receiving a 1-bit data packet.

[0036] By applying the above formula, the energy consumption in data transmission can be calculated more accurately, which is crucial for optimizing the energy performance in sensor networks, thereby improving the energy efficiency and sustainability of the entire system.

[0037] (2) A polyhedral security zone is set with the source node as the center, and appropriate phantom nodes are selected outside the security zone based on the relative angles between nodes to enhance the protection of the privacy of the source node location:

[0038] The present invention uses a regular dodecahedron area to partition the sensor nodes, and optimizes and improves the selection mechanism of the phantom nodes by introducing the concept of "safe area". By controlling the distribution and activity range of the phantom nodes, the data transmission path is optimized, and the data transmission delay is effectively reduced while resisting backtracking attacks.

[0039] With the source node as the center, K*r (K is the number of hops to construct a regular twelve-sided cube, r A regular twelve-sided cube is constructed with the radius of the sensor node. The safe area (Z) is within the cube. The sensor nodes in the safe area are partitioned into 12 pentagonal pyramid areas of the same size, that is, Z = {z1, z2, z3, ..., z 12}. The system will randomly select an area zi from these areas for data forwarding.

[0040] A lifetime field is set in the packet header, and the initial setting is K hops. Each time data is transmitted, the lifetime value needs to be checked and updated, that is, each time it is forwarded, the lifetime value is reduced by 1. After that, a neighbor node is randomly selected from the selected area for data forwarding, and this process is repeated until K=0. At this time, the data packet is forwarded to the edge of the safe area, and the node is defined as a critical node. Then, among the neighbor nodes of the critical node, those nodes that are within the (K+1)*r communication range but do not belong to the safe area Z are classified into a set F. These nodes in the set F jointly define a space called the candidate phantom area, and the phantom node will be selected from this area.

[0041] Assuming that the z-axis represents the depth, the three-dimensional coordinates of the known source node are (x source ,y source ,z source ), the central symmetric node coordinates of the sink node can be calculated based on the source node, which is called the symmetric sink node coordinates. The sink node / symmetric sink node is tangent to the circumscribed circle of the safety area, and the angle formed can be calculated. like Figure 3 As shown in Figure 2. Considering the underwater three-dimensional environment, the entire network is divided into two parts, upper and lower. Sensor nodes with a depth lower than that of the source node are counted into the set N. up, sensor nodes with a depth higher than that of source nodes are counted into the set N down If the critical node is in the set N up In the set N, the angle β formed by the phantom node, the sink node, and the source node must be no less than α. down , then the angle β' formed by the phantom node, the symmetric sink node and the source node must be no less than α'.

[0042] The candidate phantom nodes of critical node a are b1 and b2, where the angle β1>α>β2 is formed. In this case, sensor node b1 is selected as the phantom node for this data transmission. This selection can provide a better path for data transmission and more effectively confuse the judgment of potential backtracking attackers. It should be noted that when there are multiple sensor nodes that meet the phantom node selection criteria at the same time, a random algorithm can be used to randomly select a node from them as a phantom node to perform data transmission. This method also helps to avoid excessive use of certain nodes in the network, thereby extending the overall life of the network and maintaining balanced energy consumption.

[0043] (3) The Q-Learning algorithm is used to optimize the selection of relay nodes. Each sensor node can adjust its selection strategy based on real-time feedback to reduce data transmission delay and node energy consumption:

[0044] After determining the phantom node, it is necessary to reasonably select the relay node for data transmission to avoid the problem of routing holes during the transmission process. At the same time, in order to further reduce the energy consumption of nodes during data transmission, the present invention introduces the Q-Learning algorithm to optimize the selection of relay nodes. When selecting relay nodes, the following key factors are considered: 1) the remaining energy of neighboring nodes, which affects the future activity and availability of the node; 2) the depth of the node, which will affect the data transmission delay to a certain extent; 3) the minimum number of hops H to the aggregation node, which is related to the efficiency of data transmission; 4) and the number of neighboring nodes, which reflects the connectivity and network density of the node. Through references

[15] The candidate forwarding set of relay nodes can be obtained

[0045]

[0046] In order to improve the adaptability of relay nodes, the present invention combines the reinforcement learning algorithm to model the relay node selection problem as a Markov decision process. The Markov decision process is usually defined by a five-tuple (S, A, P, γ, R), where S is the state set, A is the action set, P is the state transition probability, γ (0≤γ<1) is the discount factor used to calculate the cumulative reward, and R is the instantaneous reward, which can indicate the goodness or badness of the current action in an immediate sense.

[0047] 1) State collection

[0048] The state set S of all sensor nodes at time t t It consists of each node according to its obtained state information and is defined as:

[0049]

[0050] Sensor Node n i Status It is expressed as:

[0051]

[0052] in, Indicates n i The destination node to which the data packet is currently forwarded, Indicates n i The candidate forwarding set.

[0053] 2) Action Collection

[0054] The action set a of all sensor nodes at time t t It is expressed as:

[0055]

[0056] in Represents node n j Selected as n i The next hop relay node.

[0057] 3) Reward Function

[0058] Reward is a key signal in MDP to guide the agent's learning and decision-making, helping the agent to select the optimal strategy according to different states and actions to achieve specific goals and tasks. t , transition from state st to st +1 The joint reward function of all nodes is r t (s t ,a t ) is expressed as:

[0059]

[0060] where r t i Represented as n i If the next hop node is the sink node, the reward is 1, the data packet is directly transmitted, and the data packet transmission task is completed. In other cases, the reward is calculated according to the formula. If n j n iThe next hop node, at this time, the height difference between the two nodes needs to be considered Number of hops to the aggregation Node remaining energy And the number of neighbor nodes

[0061] 4) State transition probability

[0062] Introducing state transition probability p t It can be used to express the probability of selecting different relay nodes at time t:

[0063]

[0064] n i Select n j The state transition probability as the next hop can be defined as:

[0065]

[0066] Based on the above formula, in order to reflect the impact of future states on the current state, the cumulative reward at time t can be defined as:

[0067] G t =r t +γr t+1 +γ 2 r t+2 +...

[0068] Among them, the larger the value of γ is, the greater the impact of the future on the current state will be.

[0069] In addition, the present invention seeks a deterministic optimal strategy π* by citing the Bellman formula so that the total cumulative reward r t (s t ,a t )maximize.

[0070] Q π (s t ,a t )=E π [G t |s t =s,a t =a]

[0071] To return the best action a t , obtain the maximum Q function through iteration:

[0072]

[0073] The initial Q value of each sensor node is zero. By repeatedly updating the Q value, the sensor nodes with smaller hops, closer to the sink node, more neighbor nodes, and greater energy will have higher Q values, and the rewards of being selected as relay nodes will also be higher. By combining the Q-Learning algorithm, each node can adjust its selection strategy based on real-time feedback, optimize the balance between its energy consumption and transmission efficiency, and significantly improve the reliability of data transmission and network life.

[0074] (4) Through non-uniform clustering, auxiliary nodes are set up. Multiple auxiliary nodes cooperate to send interference signals to interfere with and block the attacker's eavesdropping, thereby improving the security of the source node information:

[0075] After determining the selection mechanism of the data transmission route, it is necessary to ensure secure transmission when the attacker's location is unknown. In order to better deal with eavesdropping attacks and pollution attacks, the present invention ensures the confidentiality of information by reasonably sending interference signals. In the data transmission process between a pair of sensor nodes, the receiving node is not only responsible for receiving data packets, but also plays the role of sending interference signals. In order to improve the interference effect, auxiliary nodes need to be deployed to collaborate in sending interference signals, which not only ensures the secure transmission of data, but also avoids affecting the reception of legitimate users. In addition, considering the energy consumption imbalance problem that may be caused by using a uniform clustering routing protocol, the present invention adopts a non-uniform clustering strategy to select auxiliary nodes to optimize energy utilization.

[0076] Distance to relay node n i The closer the nodes are, the smaller the clusters will be, while the farther the nodes are, the larger the clusters will be. This will achieve the differentiation of the number of nodes in the cluster, reduce the load of the cluster head node, optimize energy utilization, and improve the performance and energy efficiency of the entire underwater acoustic sensor network.

[0077] In order to interfere with the attacker, an auxiliary node needs to be assigned to each pair of communicating nodes to send interference signals. Figure 5 As shown, sensor node n j is the sensor node n i The next hop relay node. i The sensor nodes within the communication range are defined as:

[0078]

[0079] Where N represents n i The number of sensor nodes within the communication range.

[0080] right The sensor nodes in the cluster are non-uniformly clustered, and the cluster head node v is evaluated according to the depth of each sensor node, the node residual energy and the node distance. n , calculated as follows:

[0081]

[0082] Among them, Dep(v n ) represents the cluster head node v n The depth value, Dep max express The maximum depth value of all sensor nodes in the n ) remain Represents the cluster head node v n The remaining energy, E init represents the initial energy of the sensor node, Represents the cluster head node and the sending node n i The distance between express All sensor nodes to the sending node n i The maximum distance It is an adjustment parameter. From the formula, we can see that the deeper the depth, the higher the residual energy. i Closer, Head n Select Head n The node with the largest value acts as the auxiliary node.

[0083] The cluster radius is calculated as follows:

[0084]

[0085] Where R max Indicates the maximum clustering radius. The value of this invention is Better experimental results can be obtained.

[0086] Sensor Node n j and the secondary node v n The cooperation of sensor nodes produces a larger interference range. Assume that sensor node n i The time to send the control data packet is t send , the duration of the control packet in the network is t sustain , the duration of the data packet in this data transmission is t data When sensor node n i When forwarding packets, the auxiliary node v n The time when the data packet is received is:

[0087]

[0088] Among them, t safe It is a safety time set to avoid collision between interference signals and legitimate signals. is the distance between two relay nodes. c represents the speed of sound propagation in seawater. The empirical formula can be obtained through experimental experience of measured data at sea, namely, the Ude formula:

[0089] c=1450+4.21T-0.037T 2 +1.14(s-35)+0.175P

[0090] Among them, T represents the temperature of seawater, s is the salinity, and P is the static pressure.

[0091] According to t receive , the time t when the auxiliary node starts to send the interference signal can be calculated start , the specific calculation formula is as follows:

[0092]

[0093] Effective interference lasts from the time the data packet is sent until the data packet is successfully received, so the auxiliary node interference lasts for t n for:

[0094]

[0095] Receiving node n j The duration of sending interference signal t j for:

[0096]

[0097] The information exchange between sensor nodes adopts the handshake mechanism, which mainly involves three types of control messages: request to send (RTS), permission to send (CTS) and confirmation character (ACK). First, the sending node n i Before data transmission is needed, an RTS message is sent to reserve the communication channel. j After receiving the RTS message, it replies with a CTS message, allowing the sender to start data transmission. At this time, in order to defend against potential attacks, the receiving node n j It will continue to send interference signals before the legitimate data packet arrives. i The data packet transmission will only start after receiving the CTS message. At the same time, during the data transmission, the auxiliary node emits continuous interference signals, which cover the entire time domain of data transmission and reception, further enhancing the security of the transmission process. This collaborative interference method not only prevents potential passive monitoring attacks, but also improves the defense effect against active attacks. Even in high-risk underwater environments, the secure transmission of data is guaranteed.

[0098] (5) If the security time, node energy consumption, and data transmission delay of the source location privacy protection algorithm have reached predetermined requirements, the source location privacy protection algorithm is used to protect the privacy of the source node location.

[0099] The technical solution provided by the embodiments of the present application may have the following beneficial effects:

[0100] It can be seen from the above embodiments that the present application proposes a polyhedral security area source location privacy protection algorithm in an underwater acoustic sensor network to solve the problems faced by existing source node location privacy protection algorithms, such as increased data transmission delay, increased network energy consumption and security limitations.

[0101] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0102] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0103] Figure 1 It is the algorithm flow chart of the present invention.

[0104] Figure 2 It is the security area shown in the embodiment. At this stage, the data packet can be sent in different partition directions.

[0105] Figure 3 2 is a two-dimensional map of selected phantom nodes shown in an embodiment. Phantom nodes are selected from the annular area.

[0106] Figure 4 FIG. 3 is a three-dimensional schematic diagram of selecting a phantom node according to an embodiment. A suitable phantom node is selected according to the relative angle between sensor nodes.

[0107] Figure 5 The embodiment shows the network non-uniform clustering. Select a suitable cluster head node to act as an auxiliary node.

[0108] Figure 6 1 is a schematic diagram of cooperative interference shown in an embodiment. The receiving node and the auxiliary node cooperatively send interference signals to generate a larger interference coverage range.

[0109] Figure 7 is a data transmission timing diagram shown in an embodiment. During data transmission, the auxiliary node transmits a continuous interference signal. DETAILED DESCRIPTION

[0110] Here, exemplary embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application.

[0111] The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in the present invention refers to and includes any or all possible combinations of one or more associated listed items.

[0112] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0113] Example:

[0114] like Figure 1 As shown, a method for protecting the privacy of source locations in a polyhedral security area in an underwater acoustic sensor network comprises the following steps:

[0115] (1) Design the network model, attacker model and energy consumption model of the underwater acoustic sensor network;

[0116] (2) A polyhedral security zone is set with the source node as the center, and appropriate phantom nodes are selected outside the security zone based on the relative angles between nodes to enhance the protection of the source node location privacy;

[0117] (3) The Q-Learning algorithm is used to optimize the selection of relay nodes. Each sensor node can adjust its selection strategy based on real-time feedback to reduce data transmission delay and node energy consumption.

[0118] (4) Through non-uniform clustering, auxiliary nodes are set up. Multiple auxiliary nodes cooperate to send interference signals to interfere with and block the attacker's eavesdropping, thereby improving the security of the source node information;

[0119] (5) If the security time, node energy consumption, and data transmission delay of the source location privacy protection algorithm have reached predetermined requirements, the source location privacy protection algorithm is used to protect the privacy of the source node location.

[0120] It can be seen from the above embodiments that the present application proposes a polyhedral security area source location privacy protection algorithm in an underwater acoustic sensor network to solve the problems faced by existing source node location privacy protection algorithms, such as increased data transmission delay, increased network energy consumption and security limitations.

[0121] Specifically, the present invention designs a network model, an attacker model, and an energy consumption model for an underwater acoustic sensor network. A polyhedral security area is defined with the source node as the center, and among the nodes outside this area, phantom nodes are selected based on the relative angles between the nodes, thereby reducing the data transmission delay while resisting the passive attack of the attacker. The selection of relay nodes is optimized by the Q-Learning algorithm, and each node adjusts its selection strategy based on real-time feedback to further reduce node energy consumption. Auxiliary nodes are set by a non-uniform clustering strategy, and multiple auxiliary nodes collaboratively send interference signals to effectively interfere with the attacker's active attack and ensure the safe transmission of source data.

[0122] In the specific implementation of step (1), the network model, attacker model and energy consumption model of the underwater acoustic sensor network are designed. Specifically:

[0123] (1.1) Network model

[0124] The present invention aims to construct a network model that can accurately reflect the actual operating environment of the underwater sensor network and provide a solid foundation for subsequent performance evaluation. The performance and functionality of the network are designed and evaluated based on the following key assumptions:

[0125] 1) Sensor nodes are randomly deployed in the underwater environment to ensure wide area coverage. All sensor nodes are homogeneous devices with consistent hardware and software capabilities to simplify network management and maintenance. Each sensor node is equipped with a unique identifier to facilitate identification and communication in the network.

[0126] 2) Due to the influence of underwater environmental factors such as Ekman drift, the positions of sensor nodes in the dynamic layer may change. Despite the position changes, it is assumed that these nodes can obtain their own precise location information through underwater positioning technology (such as acoustic positioning system), thereby supporting effective network routing and data transmission.

[0127] 3) Multiple autonomous underwater vehicles are deployed in the network, which cruise underwater at a predetermined constant speed, perform data collection and relay tasks, and provide auxiliary communication support for sensor nodes. Autonomous underwater vehicles have higher computing power and mobility than sensor nodes, enabling them to handle complex tasks and flexibly adjust paths to respond to network needs and changes in the underwater environment.

[0128] 4) To enhance the network’s adaptability, it is assumed that the network can dynamically adjust communication parameters, such as transmission power and frequency, according to changes in the underwater environment. This flexibility enables the network to maintain stable and effective communication in the face of different environmental conditions, such as changes in water temperature, salinity, or water flow speed.

[0129] (1.2) Attacker Model

[0130] The present invention considers the impact of active attack and passive attack on the location privacy of the source node, and makes the following assumptions about the attacker:

[0131] 1) Passive attack: Since it does not directly affect the normal operation of the network, the activities of passive attackers are difficult to detect. The passive attack methods assumed in this invention are eavesdropping attacks and backtracking attacks. Eavesdropping attacks refer to the behavior of attackers to obtain sensitive information by monitoring network communications. The attacker can intercept, peek or record information in the transmitted data packets, and the goal is to intercept the transmitted data to obtain sensitive information. A backtracking attack refers to an attacker using historical records or transmitted data traffic to infer the location of the source node. By analyzing the transmission path and time of the data packet, the attacker attempts to determine the location of the source node, thereby destroying the privacy protection of the network.

[0132] 2) Active attack: Considering the possibility of attackers actively attacking data packets, this paper assumes that attackers use pollution attacks on sensor nodes. Pollution attacks aim to disrupt the normal function of the network or cause wrong decisions by injecting forged or malicious data into the network. This attack may cause nodes in the network to make wrong judgments or take wrong actions, which has a serious impact on the accuracy and integrity of network data.

[0133] 3) The attackers showed a high degree of patience and carefully chose the timing and target of their attacks to maximize the impact of their attacks.

[0134] 4) The attackers have considerable resources, including computing power and network access, enabling them to carry out large-scale attack campaigns.

[0135] 5) The attacker’s range of action is consistent with the communication range of the underwater sensor nodes.

[0136] (1.3) Energy consumption model

[0137] Energy consumption model is an important tool for studying energy consumption of underwater acoustic sensor networks. It is mainly used to describe the energy consumption pattern and degree of each node in the network under different operating conditions. The present invention adopts the Thorp model to describe the underwater acoustic propagation model. The Thorp model provides a more accurate framework for estimating the propagation loss of sound waves in water, which is of great significance for analyzing the energy consumption of nodes in sensor networks.

[0138] It is known that the path loss of the acoustic link is not only related to the propagation distance d, but also affected by the carrier frequency f. Therefore, it can be described as:

[0139]

[0140] Among them, f represents the signal frequency, d represents the propagation distance, and k represents the expansion coefficient (the empirical value is 1.5). It represents the sound absorption coefficient, which is calculated as follows:

[0141]

[0142] Use E sent (l,d) means the sensor node sends l bits of data, and the transmission distance is d (d<d max ) is calculated as:

[0143]

[0144] Among them, P0 represents the minimum power required for a node to send data, d max represents the maximum communication distance of the node, E remain Indicates the remaining energy of the node. When the energy sent by the sensor node is greater than the remaining energy, the node is considered to be below the energy threshold and will no longer be used for data transmission.

[0145] The energy consumed by a sensor node to receive l bit of data is:

[0146] E received (l) = lp r

[0147] where p r Represents the receiving coefficient, which represents the energy consumption of receiving a 1-bit data packet.

[0148] By applying the above formula, the energy consumption in data transmission can be calculated more accurately, which is crucial for optimizing the energy performance in sensor networks, thereby improving the energy efficiency and sustainability of the entire system.

[0149] In the specific implementation of step (2), a polyhedral security area is set with the source node as the center, and suitable phantom nodes are selected outside the security area according to the relative angles between the nodes, so as to strengthen the protection of the privacy of the source node location;

[0150] The present invention uses a regular dodecahedron area to partition the sensor nodes, and optimizes and improves the selection mechanism of the phantom nodes by introducing the concept of "safe area". By controlling the distribution and activity range of the phantom nodes, the data transmission path is optimized, and the data transmission delay is effectively reduced while resisting backtracking attacks.

[0151] like Figure 2 As shown, with the source node as the center, K*r (K is the number of hops to construct a regular twelve-sided cube, r A regular twelve-sided cube is constructed with the radius of the sensor node. The safe area (Z) is within the cube. The sensor nodes in the safe area are partitioned into 12 pentagonal pyramid areas of the same size, that is, Z = {z1, z2, z3, ..., z 12}. The system will randomly select an area zi from these areas for data forwarding.

[0152] A lifetime field is set in the data packet header, and the initial setting is K hops. Each time data is transmitted, the lifetime value needs to be checked and updated, that is, each time it is forwarded, the lifetime value is reduced by 1. After that, a neighbor node is randomly selected from the selected area for data forwarding, and this process is repeated until K=0. At this point, the data packet is forwarded to the edge of the security area, and the node is defined as a critical node. Then, among the neighbor nodes of the critical node, those nodes that are within the (K+1)*r communication range but do not belong to the security area Z are grouped into a set F. The nodes in the set F together define a space called a candidate phantom area, such as Figure 3 The circular area shown is where the ghost nodes will be selected from.

[0153] Assuming that the z-axis represents the depth, the three-dimensional coordinates of the known source node are (x source ,y source ,z source ), the central symmetric node coordinates of the sink node can be calculated based on the source node, which is called the symmetric sink node coordinates. The sink node / symmetric sink node is tangent to the circumscribed circle of the safety area, and the angle formed can be calculated. like Figure 3 As shown in Figure 2. Considering the underwater three-dimensional environment, the entire network is divided into two parts, upper and lower. Sensor nodes with a depth lower than that of the source node are counted into the set N. up , sensor nodes with a depth higher than that of source nodes are counted into the set N down If the critical node is in the set N up In the set N, the angle β formed by the phantom node, the sink node, and the source node must be no less than α. down , then the angle β' formed by the phantom node, the symmetric sink node and the source node must be no less than α'.

[0154] Figure 4 The process of selecting phantom nodes for critical nodes is shown. The candidate phantom nodes for critical node a are b1 and b2, where the angle formed is β1>α>β2. In this case, sensor node b1 is selected as the phantom node for this data transmission. This selection can provide a better path for data transmission and more effectively confuse the judgment of potential backtracking attackers. It should be noted that when there are multiple sensor nodes that meet the phantom node selection criteria at the same time, a random algorithm can be used to randomly select one node from them as a phantom node to perform data transmission. This method also helps to avoid excessive use of certain nodes in the network, thereby extending the overall life of the network and maintaining balanced energy consumption.

[0155] In the specific implementation of step (3), the Q-Learning algorithm is used to optimize the selection of relay nodes. Each sensor node can adjust its selection strategy based on real-time feedback to reduce the data transmission delay and node energy consumption;

[0156] After determining the phantom node, it is necessary to reasonably select the relay node for data transmission to avoid the problem of routing holes during the transmission process. At the same time, in order to further reduce the energy consumption of nodes during data transmission, the present invention introduces the Q-Learning algorithm to optimize the selection of relay nodes. When selecting relay nodes, the following key factors are considered: 1) the remaining energy of neighboring nodes, which affects the future activity and availability of the node; 2) the depth of the node, which will affect the data transmission delay to a certain extent; 3) the minimum number of hops H to the aggregation node, which is related to the efficiency of data transmission; 4) and the number of neighboring nodes, which reflects the connectivity and network density of the node. Through references

[15] The candidate forwarding set of relay nodes can be obtained

[0157]

[0158] In order to improve the adaptability of relay nodes, the present invention combines the reinforcement learning algorithm to model the relay node selection problem as a Markov decision process. The Markov decision process is usually defined by a five-tuple (S, A, P, γ, R), where S is the state set, A is the action set, P is the state transition probability, γ (0≤γ<1) is the discount factor used to calculate the cumulative reward, and R is the instantaneous reward, which can indicate the goodness or badness of the current action in an immediate sense.

[0159] 1) State collection

[0160] The state set S of all sensor nodes at time t t It consists of each node according to its obtained state information and is defined as:

[0161]

[0162] Sensor Node n i Status It is expressed as:

[0163]

[0164] in, Indicates n i The destination node to which the data packet is currently forwarded, Indicates n i The candidate forwarding set.

[0165] 2) Action Collection

[0166] The action set a of all sensor nodes at time t t It is expressed as:

[0167]

[0168] in Represents node n j Selected as n i The next hop relay node.

[0169] 3) Reward Function

[0170] Reward is a key signal in guiding the agent's learning and decision-making in MDP, helping the agent to select the optimal strategy according to different states and actions to achieve specific goals and tasks. t , transition from state st to st +1 The joint reward function of all nodes is r t (s t ,a t ) is expressed as:

[0171]

[0172] where r t i Represented as n i If the next hop node is the sink node, the reward is 1, the data packet is directly transmitted, and the data packet transmission task is completed. In other cases, the reward is calculated according to the formula. If n j n i The next hop node, at this time, the height difference between the two nodes needs to be considered Number of hops to the aggregation Node remaining energy And the number of neighbor nodes

[0173] 4) State transition probability

[0174] Introducing state transition probability p t It can be used to express the probability of selecting different relay nodes at time t:

[0175]

[0176] n i Select n j The state transition probability as the next hop can be defined as:

[0177]

[0178] Based on the above formula, in order to reflect the impact of future states on the current state, the cumulative reward at time t can be defined as:

[0179] G t =r t +γr t+1 +γ 2 r t+2 +...

[0180] Among them, the larger the value of γ is, the greater the impact of the future on the current state will be.

[0181] In addition, the present invention seeks a deterministic optimal strategy π* by citing the Bellman formula so that the total cumulative reward r t (s t ,a t )maximize.

[0182] Q π (s t ,a t )=E π [G t |s t =s,a t =a]

[0183] To return the best action a t , obtain the maximum Q function through iteration:

[0184]

[0185] The initial Q value of each sensor node is zero. By repeatedly updating the Q value, the sensor nodes with smaller hops, closer to the sink node, more neighbor nodes, and greater energy will have higher Q values, and the rewards of being selected as relay nodes will also be higher. By combining the Q-Learning algorithm, each node can adjust its selection strategy based on real-time feedback, optimize the balance between its energy consumption and transmission efficiency, and significantly improve the reliability of data transmission and network life.

[0186] In the specific implementation of step (4), auxiliary nodes are set through non-uniform clustering. Multiple auxiliary nodes cooperate to send interference signals to interfere with and block the attacker's eavesdropping, thereby improving the security of the source node information;

[0187] After determining the selection mechanism of the data transmission route, it is necessary to ensure secure transmission when the attacker's location is unknown. In order to better deal with eavesdropping attacks and pollution attacks, the present invention ensures the confidentiality of information by reasonably sending interference signals. In the data transmission process between a pair of sensor nodes, the receiving node is not only responsible for receiving data packets, but also plays the role of sending interference signals. In order to improve the interference effect, auxiliary nodes need to be deployed to collaborate in sending interference signals, which not only ensures the secure transmission of data, but also avoids affecting the reception of legitimate users. In addition, considering the energy consumption imbalance problem that may be caused by using a uniform clustering routing protocol, the present invention adopts a non-uniform clustering strategy to select auxiliary nodes to optimize energy utilization.

[0188] like Figure 5 As shown, the distance from the relay node n i The closer the nodes are, the smaller the clusters will be, while the farther the nodes are, the larger the clusters will be. This will achieve the differentiation of the number of nodes in the cluster, reduce the load of the cluster head node, optimize energy utilization, and improve the performance and energy efficiency of the entire underwater acoustic sensor network.

[0189] In order to interfere with the attacker, an auxiliary node needs to be assigned to each pair of communicating nodes to send interference signals. Figure 5 As shown, sensor node n j is the sensor node n i The next hop relay node. i The sensor nodes within the communication range are defined as:

[0190]

[0191] Where N represents n i The number of sensor nodes within the communication range.

[0192] right The sensor nodes in the cluster are non-uniformly clustered, and the cluster head node v is evaluated according to the depth of each sensor node, the node residual energy and the node distance. n , calculated as follows:

[0193]

[0194] Among them, Dep(v n ) represents the cluster head node v n The depth value, Dep max express The maximum depth value of all sensor nodes in the n ) remain Represents the cluster head node v n The remaining energy, E init represents the initial energy of the sensor node, Represents the cluster head node and the sending node n i The distance between express All sensor nodes to the sending node n i The maximum distance It is an adjustment parameter. From the formula, we can see that the deeper the depth, the higher the residual energy. i Closer, Head n The bigger it is. Select Head n The node with the largest value acts as the auxiliary node.

[0195] The cluster radius is calculated as follows:

[0196]

[0197] Where R max Indicates the maximum clustering radius. The value of this invention is Better experimental results can be obtained.

[0198] like Figure 6 As shown, sensor node n j and the secondary node v n The cooperation of sensor nodes n produces a larger interference range. i The time to send the control data packet is t send , the duration of the control packet in the network is t sustain , the duration of the data packet in this data transmission is t data When sensor node n i When forwarding packets, the auxiliary node v n The time when the data packet is received is:

[0199]

[0200] Among them, t safe It is a safety time set to avoid collision between interference signals and legitimate signals. is the distance between two relay nodes. c represents the speed of sound propagation in seawater. The empirical formula can be obtained through experimental experience of measured data at sea, namely, the Ude formula:

[0201] c=1450+4.21T-0.037T 2 +1.14(s-35)+0.175P

[0202] Among them, T represents the temperature of seawater, s is the salinity, and P is the static pressure.

[0203] According to t receive , the time t when the auxiliary node starts to send the interference signal can be calculated start , the specific calculation formula is as follows:

[0204]

[0205] Effective interference lasts from the time the data packet is sent until the data packet is successfully received, so the auxiliary node interference lasts for t n for:

[0206]

[0207] Receiving node n j The duration of sending interference signal t j for:

[0208]

[0209] Combination Figure 7 We can have a deeper understanding of how the receiving node and the auxiliary node can ensure the security of data transmission through coordinated interference. The information exchange between sensor nodes adopts a handshake mechanism, which mainly involves three types of control messages: request to send (RTS), permission to send (CTS) and acknowledgment character (ACK). First, the sending node n i Before data transmission is needed, an RTS message is sent to reserve the communication channel. j After receiving the RTS message, it replies with a CTS message, allowing the sender to start data transmission. At this time, in order to defend against potential attacks, the receiving node n j It will continue to send interference signals before the legitimate data packet arrives. i The data packet transmission will only start after receiving the CTS message. At the same time, during the data transmission, the auxiliary node emits continuous interference signals, which cover the entire time domain of data transmission and reception, further enhancing the security of the transmission process. This collaborative interference method not only prevents potential passive monitoring attacks, but also improves the defense effect against active attacks. Even in high-risk underwater environments, the secure transmission of data is guaranteed.

[0210] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the contents disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.

[0211] It should be understood that the present application is not limited to the exact construction that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof.

Claims

1. A method for protecting the privacy of source locations in polyhedral security areas in an underwater acoustic sensor network, characterized in that: The steps include: (1) Design the network model, attacker model and energy consumption model of the underwater acoustic sensor network; (2) A polyhedral security zone is set with the source node as the center, and appropriate phantom nodes are selected outside the security zone based on the relative angles between nodes to enhance the protection of the source node location privacy; (3) The Q-Learning algorithm is used to optimize the selection of relay nodes. Each sensor node can adjust its selection strategy based on real-time feedback to reduce data transmission delay and node energy consumption. (4) Setting auxiliary nodes through non-uniform clustering; Multiple auxiliary nodes cooperate to send interference signals to interfere with and block the attacker's eavesdropping, thereby improving the security of the source node's information; (5) If the security time, node energy consumption, and data transmission delay of the source location privacy protection method have reached predetermined requirements, the source location privacy protection method is used to protect the privacy of the source node location.

2. The method for protecting the privacy of source locations in polyhedral security areas in an underwater acoustic sensor network according to claim 1, wherein the specific steps of step (1) are as follows: 2.1 Network Model 2.1.1) Sensor nodes are randomly deployed in the underwater environment to ensure wide area coverage. All sensor nodes are homogeneous devices with consistent hardware and software capabilities to simplify network management and maintenance. Each sensor node is equipped with a unique identifier to facilitate identification and communication in the network. 2.1.2) Sensor nodes can obtain their own precise location information through underwater positioning technology, thereby supporting effective network routing and data transmission; 2.1.3) Multiple autonomous underwater vehicles are deployed in the hydroacoustic sensor network, which cruise underwater at a predetermined constant speed, perform data collection and relay tasks, and provide auxiliary communication support for sensor nodes. Autonomous underwater vehicles have higher computing power and mobility than sensor nodes, enabling them to handle complex tasks and flexibly adjust paths to respond to network needs and changes in the underwater environment; 2.1.4) The underwater acoustic sensor network can dynamically adjust communication parameters according to changes in the underwater environment; 2.2 Attacker Model Considering the impact of active and passive attacks on the location privacy of the source node, the following assumptions are made about the attacker: 2.2.1) Passive attack: Assume that the passive attack methods are eavesdropping attack and backtracking attack. Eavesdropping attack refers to the behavior of attackers to obtain sensitive information by monitoring network communications. The attacker intercepts, peeks or records information in the transmitted data packets, and the goal is to intercept the transmitted data to obtain sensitive information in it; Backtracking attack means that the attacker uses historical records or transmitted data traffic to infer the location of the source node. By analyzing the transmission path and time of the data packet, the attacker attempts to determine the location of the source node, thereby destroying the privacy protection of the network; 2.2.2) Active attack: Assume that the attacker uses pollution attack on the sensor nodes. Pollution attack aims to disrupt the normal function of the network or cause wrong decision by injecting forged or malicious data into the network; 2.2.3) The attackers all showed a high degree of patience and carefully chose the timing and target of their attacks to maximize the impact of their attacks; 2.2.4) The attacker has sufficient computing power and network access to enable him to carry out large-scale attack activities; 2.2.5) The attacker’s range is consistent with the communication range of the underwater sensor nodes; 2.3 Energy consumption model The Thorp model is used to describe the underwater acoustic propagation model to estimate the propagation loss of sound waves in water; It is known that the path loss of the acoustic link is not only related to the propagation distance d, but also affected by the carrier frequency f, which can be described as: Among them, f represents the signal frequency, d represents the propagation distance, and k represents the expansion coefficient; It represents the sound absorption coefficient, which is calculated as follows: Use E sent (l,d) means the sensor node sends l bits of data, and the transmission distance is d (d<d max ) is calculated as: Among them, P0 represents the minimum power required for a node to send data, d max represents the maximum communication distance of the node, E remain Indicates the remaining energy of the node; when the energy sent by the sensor node is greater than the remaining energy, the node is considered to be below the energy threshold and will no longer be used for data transmission; The energy consumed by a sensor node to receive l bit of data is: E received (l)=lp r where p r Represents the receiving coefficient, which represents the energy consumption of receiving a 1-bit data packet.

3. The method for protecting the privacy of source locations in polyhedral security areas in an underwater acoustic sensor network according to claim 1, characterized in that: The specific steps of step (2) are as follows: While using regular dodecahedron regions to partition sensor nodes, the concept of "safe zone" is introduced to optimize and improve the selection mechanism of phantom nodes. By controlling the distribution and activity range of phantom nodes, the data transmission path is optimized, and the data transmission delay is effectively reduced while resisting backtracking attacks. Take the source node as the center and K*r as the radius to construct a regular dodecahedron. K is the number of hops to construct the regular dodecahedron. r is the communication radius of the sensor node, and the range of the cube is the safe area (Z); the sensor nodes in the safe area are partitioned, and the safe area is divided into 12 pentagonal pyramid areas of the same size range, that is, Z = {z1, z2, z3, ..., z 12 }, the system will randomly select an area zi from these areas for data forwarding; A survival time field is set in the data packet header, and the initial setting is K hops. Each time data is transmitted, the survival time value needs to be checked and updated, that is, each time it is forwarded, the survival time value is reduced by 1; then, a neighbor node is randomly selected from the selected area for data forwarding, and this process is repeated until K = 0. At this time, the data packet is forwarded to the edge of the safe area, and the node is defined as a critical node; then, among the neighbor nodes of the critical node, those nodes that are within the (K+1)*r communication range but do not belong to the safe area Z are classified into a set F; these nodes in the set F jointly define a space called a candidate phantom area, and the phantom node will be selected from this area; Assuming that the z-axis represents the depth, the three-dimensional coordinates of the known source node are (x source ,y source ,z source ), the central symmetric node coordinates of the sink node can be calculated based on the source node. This point is called the symmetric sink node coordinates. The sink node / symmetric sink node is tangent to the circumscribed circle of the safety area and the angle formed is calculated. Considering the underwater three-dimensional environment, the entire network is divided into two parts, the upper and lower parts, and the sensor nodes whose depth is lower than the source node are counted into the set N up , sensor nodes with a depth higher than that of source nodes are counted into the set N down , if the critical node is in the set N up In the set N, the angle β formed by the phantom node, the sink node, and the source node must be no less than α. down , then the angle β' formed by the phantom node, the symmetric sink node and the source node must be no less than α'; The candidate phantom nodes of the critical node a are b1 and b2, where the angle β1>α>β2 is formed. In this case, the sensor node b1 is selected as the phantom node for this data transmission. When there are multiple sensor nodes that meet the phantom node selection criteria at the same time, a random algorithm is used to randomly select one node from them as a phantom node to perform data transmission.

4. The method for protecting the privacy of source locations in polyhedral security areas in an underwater acoustic sensor network according to claim 1, characterized in that: The specific content of step (3) is as follows: When selecting a relay node, the following key factors are considered: 1) the remaining energy of neighboring nodes, which affects the future activity and availability of the node; 2) the depth of the node, which affects the delay of data transmission; 3) the minimum number of hops H to the sink node, which is related to the efficiency of data transmission; 4) and the number of neighboring nodes, which reflects the connectivity and network density of the node, and the candidate forwarding set of the relay node is obtained. In order to improve the adaptability of relay nodes, the relay node selection problem is modeled as a Markov decision process. The Markov decision process is usually defined by a five-tuple (S, A, P, γ, R), where S is the state set, A is the action set, P is the state transition probability, γ (0≤γ<1) is the discount factor used to calculate the cumulative reward, and R is the instantaneous reward, indicating the goodness of the current action in an immediate sense; State Collection The state set S of all sensor nodes at time t t It consists of each node according to its obtained state information and is defined as: Sensor Node n i Status It is expressed as: in, Indicates n i The destination node to which the data packet is currently forwarded, Indicates n i The candidate forwarding set of Action Collection The action set a of all sensor nodes at time t t It is expressed as: in Represents node n j Selected as n i The next hop relay node; Reward Function Action a will be executed at time t t , from the state s t Convert to s t+1 The joint reward function of all nodes is r t (s t ,a t ) is expressed as: in Represented as n i If the next hop node is the sink node, the reward is 1, and the data packet is directly transmitted. The data packet transmission task is completed. In other cases, the reward is calculated according to the formula. j n i The next hop node, considering the height difference between the two nodes Number of hops to the aggregation Node remaining energy And the number of neighbor nodes State transition probability Introducing state transition probability p t To express the probability of selecting different relay nodes at time t: n i Select n j The state transition probability as the next hop is defined as: In order to reflect the impact of future states on the current state, the cumulative reward at time t is defined as: G t =r t +γr t+1 +γ 2 r t+2 +... Among them, the larger the value of γ, the greater the impact of the future on the current state; By referring to the Bellman formula, we find a deterministic optimal strategy π* so that the total cumulative reward r t (s t ,a t )maximize; Q π (with t ,and t )=Eπ[G t |with t =s,a t [and] To return the best action a t , obtain the maximum Q function through iteration: The initial Q value of each sensor node is zero. By repeatedly updating the Q value, the sensor nodes with smaller hops, closer distance to the sink node, more neighbor nodes and greater energy will have higher Q values, and the rewards of being selected as relay nodes will also be higher.

5. The method for protecting the privacy of source locations in polyhedral security areas in an underwater acoustic sensor network according to claim 1, characterized in that: The specific content of step (4) is as follows: A non-uniform clustering strategy is used to select auxiliary nodes to optimize energy utilization, with a distance of n from the relay node. i The closer nodes will form a smaller cluster, while the farther nodes will form a larger cluster, thus achieving the differentiation of the number of nodes in the cluster, reducing the load of the cluster head node, optimizing energy utilization, and improving the performance and energy efficiency of the entire underwater acoustic sensor network; In order to interfere with the attacker, an auxiliary node is assigned to each pair of communication nodes to send interference signals. j is the sensor node n i The next hop relay node will i The sensor nodes within the communication range are defined as: Where N represents n i The number of sensor nodes within the communication range; right The sensor nodes in the cluster are non-uniformly clustered, and the cluster head node v is evaluated according to the depth of each sensor node, the node residual energy and the node distance. n , calculated as follows: Among them, Dep(v n ) represents the cluster head node v n The depth value, Dep max express The maximum depth value of all sensor nodes in the n ) remain Represents the cluster head node v n The remaining energy, E init represents the initial energy of the sensor node, Represents the cluster head node and the sending node n i The distance between express All sensor nodes to the sending node n i The maximum distance To adjust the parameters, select Head n The node with the largest value acts as the auxiliary node; The cluster radius is calculated as follows: Where R max represents the maximum clustering radius; Sensor Node n j and the secondary node v n The cooperation of sensor nodes n i The time to send the control data packet is t send , the duration of the control packet in the network is t sustain , the duration of the data packet in this data transmission is t data , when sensor node n i When forwarding packets, the auxiliary node v n The time when the data packet is received is: Among them, t safe It is a safety time set to avoid collision between interference signals and legitimate signals. is the distance between the two relay nodes, c is the speed of sound propagation in seawater, and the empirical formula is obtained through experimental experience of measured data at sea, namely, the Ude formula: c=1450+4.21T-0.037T 2 +1.14(s-35)+0.175P Among them, T represents the temperature in the sea water, s is the salinity, and P is the static pressure; According to t receive , calculate the time t when the auxiliary node starts to send the interference signal start , the specific calculation formula is as follows: Effective interference lasts from the time the data packet is sent until the data packet is successfully received, so the auxiliary node interference lasts for t n for: Receiving node n j The duration of sending interference signal t j for: The information exchange between sensor nodes adopts the handshake mechanism, which involves three types of control messages: request to send (RTS), permission to send (CTS) and confirmation character (ACK). First, the sending node n i Before data transmission is needed, an RTS message is sent to reserve the communication channel. The receiving node n j After receiving the RTS message, a CTS message is replied to allow the sender to start data transmission. At this time, in order to defend against potential attacks, the receiving node n j Before the legitimate data packet arrives, it will continue to send interference signals, sending node n i The data packet transmission will only begin after receiving the CTS message. At the same time, the auxiliary node emits continuous interference signals during data transmission. These signals cover the entire time domain of data sending and receiving, further enhancing the security of the transmission process.