An underwater optical communication relaying method, system, device, medium and program product

By switching transmission modes at relay nodes according to communication needs, the problem of adapting data transmission requirements at relay nodes is solved, the relay effect of underwater optical communication is improved, and the decoding complexity is optimized.

CN123184744APending Publication Date: 2026-11-27CHINA MOBILE COMM GRP CHONGQING CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611252819.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-18
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In multi-user underwater optical communication scenarios, existing technologies cannot adapt to the data transmission needs of relay nodes, resulting in a deterioration in relay performance.

Method used

Depending on whether it has communication needs, the relay node uses either the first communication mode or the second communication mode for signal transmission. In the first mode, it only forwards user equipment signals. In the second mode, user equipment signals and relay node signals are multiplexed using mutually distinguishable power resources and/or time domain resources through multiple access.

Benefits of technology

It improves the relay effect of underwater wireless optical communication, optimizes the decoding complexity of the receiver, and adapts to scenarios where data transmission is required whether a relay node exists or not.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184744A_ABST
    Figure CN123184744A_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses an underwater optical communication relay method, system, device, medium and program product. The method comprises the following steps: receiving signals sent by at least one user equipment through an underwater optical channel; in the case that there is no communication demand of a relay node, sending the signals of the at least one user equipment to a base station in a first communication mode, wherein in the first communication mode, the sending resource of the relay node is used to carry the signals of the at least one user equipment; in the case that there is a communication demand of the relay node, sending the signals of the at least one user equipment and the to-be-sent signals of the relay node to the base station through a multiple access mode after multiplexing, wherein in the second communication mode, the signals of the at least one user equipment and the to-be-sent signals of the relay node occupy mutually distinguished power resources and / or time domain resources. The technical scheme of the embodiment of the application can improve the relay effect of underwater wireless optical communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of underwater wireless optical communication technology, and in particular to an underwater optical communication relay method, system, device, medium and program product. Background Technology

[0002] Underwater Wireless Optical Communication (UWOC) uses optical signals as a carrier to transmit wireless data underwater. It features high bandwidth, low latency, good security, and no need to lay cables. It can be applied to underwater environmental monitoring, underwater sensor network construction, and underwater robot collaborative operations.

[0003] Optical signals are affected by absorption, scattering, and turbulence when propagating underwater, limiting communication distance. When using light-emitting diodes (LEDs) as the light source, this limitation is even more pronounced due to their wide divergence angle and low power density. To extend communication coverage, relevant solutions use idle nodes as relay nodes to assist user equipment outside the direct communication range of the base station in establishing indirect communication connections with the base station.

[0004] However, in multi-user communication scenarios, in addition to assisting other user devices in communication as a forwarding entity, relay nodes may also have their own data transmission needs. Related technologies cannot adapt to scenarios where relay nodes have data transmission needs, resulting in a deterioration in the relay effect of underwater wireless optical communication. Summary of the Invention

[0005] This application addresses some of the deficiencies mentioned in the background art by providing an underwater optical communication relay method, system, device, medium, and program product.

[0006] In a first aspect, embodiments of this application provide an underwater optical communication relay method, applied to a relay node, the method comprising: Receive signals transmitted by at least one user equipment via an underwater optical channel; When there is no communication requirement at the relay node, the first communication mode is adopted to send the signal of at least one user equipment to the base station. In the first communication mode, the transmission resources of the relay node are used to carry the signal of at least one user equipment. When there is a communication requirement at the relay node, a second communication mode is adopted, in which the signal of at least one user equipment and the signal to be transmitted of the relay node are multiplexed through multiple access and then transmitted to the base station. In the second communication mode, the signal of at least one user equipment and the signal to be transmitted of the relay node occupy mutually distinct power resources and / or time domain resources.

[0007] In one embodiment of the first aspect, the method further includes: Whether a relay node has a communication requirement can be determined by whether its own data to be sent exists in the relay node's cache.

[0008] In one embodiment of the first aspect, the cache is a First In First Out (FIFO) queue. Based on whether the relay node has its own data to be sent in its buffer, determine whether the relay node has a communication requirement, including: Based on the empty status signal of the first-in-first-out queue, determine whether the relay node has a communication requirement.

[0009] In one embodiment of the first aspect, at least one user equipment includes a first user equipment and a second user equipment; The first communication mode includes: The signals of the first user equipment and the second user equipment are multiplexed on the same time domain resources and then transmitted to the base station through non-orthogonal multiple access (NOMA) method. The signals of the first user equipment and the second user equipment occupy mutually distinct power resources. And / or, a second communication mode, including: The time domain resources are divided into multiple time frames. Each time frame includes a first type of time slot and a second type of time slot. In the first type of time slot, the signal of the first user equipment and the signal of the second user equipment are multiplexed and sent to the base station through a non-orthogonal multiple access method. In the second type of time slot, the signal to be sent by the relay node is sent. In one embodiment of the first aspect, at least one user equipment is a first user equipment; The first communication mode includes: After the signal of the first user equipment exclusively occupies the transmission power of the relay node, it is sent to the base station; And / or, a second communication mode, including: The signal of the first user equipment and the signal to be transmitted of the relay node are multiplexed on the same time domain resources through a non-orthogonal multiple access method and then transmitted to the base station. The signal of the first user equipment and the signal to be transmitted of the relay node occupy mutually distinct power resources.

[0010] In one embodiment of the first aspect, transmitting a signal from at least one user equipment to a base station includes: In the first communication mode, the signal of at least one user equipment is forwarded using either the Amplify-and-Forward (AF) method or the Decode-and-Forward (DF) method. The signal of at least one user equipment and the signal to be transmitted by the relay node are multiplexed and transmitted to the base station via multiple access, including: In the second communication mode, the signal of at least one user equipment is processed by decoding and forwarding and then multiplexed with the signal to be transmitted by the relay node.

[0011] In one embodiment of the first aspect, before receiving a signal transmitted by at least one user equipment via an underwater optical channel, the method further includes: The relay node is determined based on the location relationship between the user equipment and the base station; In cases where multiple user devices are outside the communication range of the base station, a node independent of multiple user devices is identified as a relay node. When the first user equipment is outside the communication range of the base station and the second user equipment is within the communication range of the base station, the second user equipment is identified as a relay node.

[0012] In one embodiment of the first aspect, the communication mode switching between situations where the relay node has no communication needs and situations where it has communication needs is triggered by a Field Programmable Gate Array (FPGA) based on a status signal indicating whether the relay node has its own data to be transmitted.

[0013] Secondly, embodiments of this application provide an underwater optical communication relay system applied to relay nodes, the system comprising: The receiving module is used to receive signals transmitted by at least one user equipment via an underwater optical channel; The first transmitting module is used to transmit the signal of at least one user equipment to the base station in the case that there is no communication requirement of the relay node, using a first communication mode. In the first communication mode, the transmitting resources of the relay node are used to carry the signal of at least one user equipment. The second transmission module is used to transmit the signal of at least one user equipment and the signal to be transmitted of the relay node to the base station by multiplexing the signal of at least one user equipment and the signal to be transmitted of the relay node through multiple access when there is a communication requirement at the relay node. In the second communication mode, the signal of at least one user equipment and the signal to be transmitted of the relay node occupy mutually distinct power resources and / or time domain resources.

[0014] Thirdly, embodiments of this application provide an electronic device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of any of the methods in the first aspect.

[0015] Fourthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods in the first aspect. Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the methods in the first aspect.

[0016] According to the underwater optical communication relay method, system, device, medium, and program products provided in the embodiments of this application, by using a first communication mode to carry the signal of at least one user device in the relay node when there is no communication demand, and using a second communication mode to multiplex the signal of at least one user device and the relay node's own signal to be transmitted with mutually distinguishable power resources and / or time domain resources when there is a communication demand, the relay node can adaptively switch between the first and second communication modes according to whether there is a communication demand, thereby adapting to both scenarios where the relay node has a data transmission demand and where there is no data transmission demand, and improving the relay effect of underwater wireless optical communication; furthermore, since the signal of the user device and the signal of the relay node occupy mutually distinguishable resources in the second communication mode, rather than being indiscriminately superimposed on the same resources, the number of signal amplitude combinations that the receiving end needs to distinguish is reduced, the decoding complexity of the receiving end is optimized, and the relay effect of underwater wireless optical communication is further improved. Attached Figure Description

[0017] The above and other objects, features, and advantages of this application will become more apparent from the more detailed description of the embodiments of this application in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of this application and form part of the specification. They are used together with the embodiments of this application to explain this application and do not constitute a limitation thereof. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0018] Figure 1 This is a flowchart of an underwater optical communication relay method provided in an embodiment of this application.

[0019] Figure 2 This is a schematic diagram of the first system architecture provided in the embodiments of this application.

[0020] Figure 3 This is a schematic diagram of the second system architecture provided in the embodiments of this application.

[0021] Figure 4 This is a schematic diagram of different relay communications in an underwater optical communication relay method provided in an embodiment of this application.

[0022] Figure 5This is a schematic diagram of resource allocation when a relay node has communication needs in an underwater optical communication relay method provided in this application embodiment.

[0023] Figure 6 This is a block diagram of an underwater optical communication relay system provided in an embodiment of this application.

[0024] Figure 7 This is a schematic diagram of a computer program product provided in an embodiment of this application.

[0025] Figure 8 This is a hardware block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0026] To make the objectives, technical solutions, and advantages of this application more apparent, exemplary embodiments according to this application will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this application, and not all embodiments of this application. It should be understood that this application is not limited to the exemplary embodiments described herein.

[0027] In this embodiment of the application, "and / or" is used to describe the relationship between the associated objects, indicating that there can be three kinds of relationships. For example, "A and / or B" can indicate the existence of A, the simultaneous existence of A and B, and the existence of B. In this embodiment of the application, "multiple" refers to two or more.

[0028] See Figure 1 This application provides an underwater optical communication relay method, which is applied to a relay node and includes the following steps: S101, receive signals transmitted by at least one user equipment via an underwater optical channel.

[0029] The number of user devices is one or more.

[0030] This application applies to underwater wireless optical communication scenarios to solve the communication connectivity problem between user equipment and the base station when the user equipment is outside the base station's communication range. Based on the location relationship between the user equipment and the base station, this application provides two system architectures.

[0031] like Figure 2 As shown, the first system architecture is applicable to scenarios where both the first user equipment 201 and the second user equipment 202 are outside the communication range of the base station 203, that is, the distance between the first user equipment 201 and the base station 203 is... Beyond the communication range of base station 203, the distance between the second user equipment 202 and base station 203... The communication range of base station 203 is exceeded. In this scenario, a node independent of the first user equipment and the second user equipment is introduced as a relay node. The distance between the first user equipment 201 (or the second user equipment 202) and this relay node 204 is... (or ), and the distance between relay node 204 and base station 203. All are within effective communication range. This relay node acts as a signal relay carrier, assisting the first user equipment, the second user equipment, and the base station in establishing indirect communication connections. Figure 2 In the system architecture shown, the relay node receives signals transmitted by two user equipments, the first and second user equipments, via an underwater optical channel. This scenario is called an Independent Relay-aided NOMA (IR-NOMA) type UWOC system scenario, or simply an IR-NOMA type UWOC system scenario. It should be understood that a node being within the communication range of the base station means that the node is within the base station's communication range and can directly establish a communication connection with the base station. A node being outside the base station's communication range means that the distance between the node and the base station exceeds the range where effective optical communication is possible, thus the node cannot directly establish a communication connection with the base station.

[0032] like Figure 3 As shown, the second system architecture is suitable for scenarios where the first user equipment 201 is outside the communication range of the base station 203, and the second user equipment 202 is within the communication range of the base station 203, that is, the distance between the first user equipment 201 and the base station 203. Beyond the communication range of base station 203, the distance between the second user equipment 202 and base station 203... Within the communication range of base station 203, the distance between the first user equipment 201 and the second user equipment 202 Within effective communication range. In this scenario, the second user equipment 202 is configured as a relay node. Based on its direct communication link with the base station 203, the second user equipment 202 assists the first user equipment 201 in establishing an indirect communication connection with the base station 203. Figure 3 In the system architecture shown, the relay node is the second user equipment 202, which receives signals transmitted by the first user equipment 201 via an underwater optical channel. This scenario is called a User Cooperative NOMA (UC-NOMA) type UWOC system scenario, or simply a UC-NOMA type UWOC system scenario.

[0033] S102, when there is no communication requirement for the relay node, the first communication mode is adopted to send the signal of at least one user equipment to the base station. In the first communication mode, the transmission resources of the relay node are used to carry the signal of at least one user equipment.

[0034] In the first communication mode, the relay node itself does not have any signals to transmit. Therefore, the relay node uses its transmission resources to carry signals from at least one user equipment (User Equipment), meaning that no portion of the transmission resources is allocated to the relay node's own signals. For example, when there are two User Equipments (User Equipments), the relay node's transmission resources are used to carry the signals from both User Equipments; when there is only one User Equipment (User Equipment), the relay node's transmission resources are used to carry the signals from that single User Equipment. The transmission resources of a relay node refer to the resources it occupies when transmitting signals to the base station, such as power resources and time-domain resources.

[0035] S103, when there is a communication requirement at the relay node, a second communication mode is adopted, in which the signal of at least one user equipment and the signal to be transmitted of the relay node are multiplexed through multiple access and then transmitted to the base station. In the second communication mode, the signal of at least one user equipment and the signal to be transmitted of the relay node occupy mutually distinct power resources and / or time domain resources.

[0036] In the second communication mode, in addition to forwarding signals from at least one user equipment (UE), the relay node also needs to transmit its own signal. The relay node multiplexes the UE's signal with its own signal using multiple access, ensuring that both occupy distinct power and / or time domain resources. Distinct power resources refer to multiple signals superimposed on the same time domain resource, differentiated by their respective power levels. Distinct time domain resources refer to multiple signals occupying time domain resources that do not overlap in time. Distinct power and time domain resources can be defined as follows: on a partitioned portion of the time domain resource, signals from multiple UEs are distinguished by distinct power levels, while signals from UEs and signals from the relay node are distinguished by distinct time domain resources.

[0037] In the technical solution of this application embodiment, when the relay node does not have a communication need, a first communication mode is used to use the transmission resources to carry the signal of at least one user equipment. When the relay node has a communication need, a second communication mode is used to multiplex the signal of at least one user equipment and the relay node's own signal to be transmitted with mutually distinguishable power resources and / or time domain resources before transmission. This enables the relay node to adaptively switch between the first and second communication modes according to whether it has a communication need. This adapts to both scenarios where the relay node has a data transmission need and when it does not, improving the relay effect of underwater wireless optical communication. Furthermore, since the signal of the user equipment and the signal of the relay node occupy mutually distinguishable resources in the second communication mode, rather than being indiscriminately superimposed on the same resources, the number of signal amplitude combinations that the receiving end needs to distinguish is reduced, optimizing the decoding complexity of the receiving end and further improving the relay effect of underwater wireless optical communication.

[0038] In an optional embodiment, the presence of a communication requirement for a relay node is determined based on whether the relay node has its own data to be sent in its cache.

[0039] Specifically, the relay node stores its own data to be sent in its buffer. When the relay node's buffer does not contain its own data to be sent, it is determined that the relay node does not have a communication requirement, thus triggering the first communication mode; when the relay node's buffer contains its own data to be sent, it is determined that the relay node has a communication requirement, thus triggering the second communication mode.

[0040] In the technical solution of this application embodiment, the relay node stores its own data to be sent in a cache, and uses the existence of its own data to be sent in the cache as the basis for determining whether the relay node has a communication need. Therefore, the state of whether the relay node has a communication need can be reflected by the storage state of the cache, which can be determined without the need for additional signaling interaction, thereby making it easier to obtain the basis for switching communication modes and easier to implement the switching process.

[0041] In an optional embodiment, the buffer is a first-in, first-out (FIFO) queue. Determining whether a relay node has a communication need based on whether its buffer contains data to be sent can be achieved by using the empty state signal of the FIFO queue.

[0042] Specifically, the relay node's own data to be transmitted is stored in a first-in, first-out (FIFO) queue in the order of being written and read out. The FIFO queue has an empty status signal to indicate whether it is empty: when the FIFO queue is empty, that is, when there is no data to be transmitted in it, the empty status signal indicates that the queue is empty, thus determining that the relay node has no communication needs; when the FIFO queue is not empty, that is, when there is data to be transmitted in it, the empty status signal indicates that the queue is not empty, thus determining that the relay node has communication needs.

[0043] As an optional implementation, the first-in-first-out queue can be an asynchronous first-in-first-out queue, in which the write side and the read side operate in different clock domains, thereby facilitating that the write clock of the relay node's own data and the read clock of the forwarding processing work independently.

[0044] In the technical solution of this application embodiment, a first-in-first-out (FIFO) queue is used to store the relay node's own data to be sent, and the empty state signal of the FIFO queue is used as the basis for determining whether the relay node has a communication need. Therefore, the state of whether the relay node has a communication need can be directly given by the empty state signal output by the FIFO queue itself, thereby triggering the switching of the communication mode. In this way, the basis for switching the communication mode can be directly provided by the buffer state signal, and the switching process can be easily implemented in real time.

[0045] In an optional embodiment, see Figure 2 The system architecture shown includes at least one user device, namely a first user device. Second User Equipment The user corresponding to the first user equipment is represented by user 1, the user corresponding to the second user equipment is represented by user 2, and the user corresponding to the relay node is represented by relay user.

[0046] To facilitate the explanation of the signal transmission process, the signal representation method involved in the embodiments of this application will be described below. This representation method is also applicable to other embodiments.

[0047] The original transmitted signal can be represented as: (1) in, Indicates the first The signal of each user device Indicates the first The first user device The level amplitude of each symbol, Indicates the duration as unit pulse signal, The values ​​1 and 2 correspond to the first user equipment and the second user equipment, respectively. Indicates the time. This indicates the signal of the first user equipment. This indicates the signal of the second user equipment.

[0048] To enable the base station to successfully separate and decode the superimposed signals, the signals from the first user equipment and the second user equipment are allocated distinct power levels. The transmitted signals after power allocation can be expressed as: (2) in, Represents the power after distribution. The signal of each user device Indicates assignment to the first The electrical power of each user equipment Indicates the first The signal of each user device Indicates the time.

[0049] The power allocation ratio between the first user equipment and the second user equipment can be expressed as: (3) Wherein, PAR represents the power allocation ratio between the first user equipment and the second user equipment. This represents the electrical power allocated to the first user equipment. This represents the electrical power allocated to the second user equipment.

[0050] The signal received by the relay node can be represented as: (4) in, This indicates the signal received by the relay node. This represents the channel gain between the k-th user equipment and the relay node. Represents the power after distribution. The signal of each user device Indicates channel noise. Indicates the time.

[0051] In this embodiment, the first communication mode includes: multiplexing the signal of the first user equipment and the signal of the second user equipment on the same time domain resources through a non-orthogonal multiple access method and then sending them to the base station, wherein the signal of the first user equipment and the signal of the second user equipment occupy mutually distinct power resources.

[0052] Specifically, when a relay node has no communication needs, it only serves to forward information. The signal to be transmitted by the relay node can be obtained through amplification and forwarding or decoding and forwarding, which can be represented as: (5) in, This represents the signal to be sent by the relay node. express The amplification factor of the relay, This indicates the signal received by the relay node. This represents the electrical power allocated to the first user equipment. This represents the electrical power allocated to the second user equipment. This refers to the signal to be forwarded after the signal from the first user equipment has been processed (e.g., sampled, demodulated, decoded, re-encoded, and modulated) at the relay node. This refers to the signal to be forwarded after the second user equipment's signal has been processed (e.g., sampled, demodulated, decoded, re-encoded, and modulated) at the relay node. Indicates the time.

[0053] Amplification and forwarding At this time, the relay node amplifies the received signal and forwards it, and the signal always remains in analog form; decoding and forwarding are employed. In this case, the relay node restores the signals of the two user equipments and re-superimposes them with mutually distinguishable power. In the IR-NOMA type UWOC system scenario, AF relay is only applicable when the relay node does not have communication needs. In this case, the relay node only serves to forward information because the signal remains in analog form during AF relay, making it impossible to perform user signal decoding, power allocation, and time slot allocation in the digital domain. When relay users have communication needs, they need to transmit information from three users to the base station. To reduce decoding complexity, this application embodiment can use Time Division Multiple Access (TDMA) for time-division transmission, as described in the following embodiments.

[0054] When the relay node has no communication needs, the signal received at the base station for: (6) in, This indicates the received signal at the base station. This represents the channel gain between the relay node and the base station. This represents the signal to be sent by the relay node. This represents the channel noise between the relay node and the base station. Indicates the time.

[0055] In this embodiment, the second communication mode includes: dividing time-domain resources into multiple time frames, each time frame including a first type of time slot and a second type of time slot; in the first type of time slot, multiplexing the signal of the first user equipment and the signal of the second user equipment through a non-orthogonal multiple access method and sending them to the base station; in the second type of time slot, sending the signal to be sent by the relay node.

[0056] Specifically, when a relay node has communication needs, it needs to transmit information about the first user equipment, the second user equipment, and itself to the base station. The relay node divides time-domain resources into multiple time frames, and each time frame is further divided into first-type time slots and second-type time slots. As an example, the first-type time slot can be an odd number of time slots within a time frame. The second type of time slot can be an even-numbered time slot in a time frame. This means that the signal of the user equipment is separated from the signal of the relay node itself in the time domain through time division multiple access. The signal to be transmitted by the relay node can then be represented as: (7) in, Indicates the signal to be sent. This represents the electrical power allocated to the first user equipment. This represents the electrical power allocated to the second user equipment. This indicates the signal to be forwarded after the first user equipment's signal has been processed at the relay node. This indicates the signal from the second user equipment, after processing at the relay node, that is to be forwarded. This represents the information that the relay node itself needs to send. Indicates the time.

[0057] After the signal is transmitted through the underwater optical channel, the signal received by the base station can be represented as: (8) in, This indicates the received signal of the base station. This represents the channel gain between the relay node and the base station. Indicates the signal to be sent. The noise level between the relay node and the base station is represented by t, where t represents time.

[0058] After receiving the signal, the base station can decode and restore the user equipment signal. First, it separates the user equipment superimposed signal of the first type of time slot from the relay node signal of the second type of time slot by distinguishing the time slots. Then, it separates the signals of the first user equipment and the second user equipment in the first type of time slot according to the power difference, thereby restoring the information of the three parties.

[0059] In the technical solution of this application embodiment, for the first communication mode, because the relay node multiplexes the signals of the first user equipment and the second user equipment on the same time domain resource through a non-orthogonal multiple access method when there is no communication demand, the signals of the two user equipments can be transmitted concurrently on the same time domain resource, thereby improving the utilization efficiency of time domain resources while ensuring access for both user equipments. For the second communication mode, if the relay node has a communication demand, and if the signals of the first user equipment, the second user equipment, and the relay node itself are superimposed on the same resource through a non-orthogonal multiple access method, the number of signal amplitude combinations that the receiving end needs to distinguish will increase significantly with the increase of the number of superimposed signal paths. For example, when the three signals are superimposed, there will be eight signal amplitude combinations, leading to an increase in decoding complexity. In this embodiment, because the signals of the first user equipment and the second user equipment occupy the first type of time slot and the signal of the relay node itself occupies the second type of time slot, the number of signal paths superimposed in any time slot is reduced. Therefore, the problem of the number of signal amplitude combinations and the increase in decoding complexity caused by the superposition of three parties' signals on the same resource is overcome. Thus, the decoding complexity of the receiving end is reduced while realizing the transmission of three parties' information.

[0060] In an optional embodiment, see Figure 2 In the system architecture shown, at least one user equipment is a first user equipment. In this architecture, the relay node is a second user equipment, and the signal received by the relay node from the first user equipment can be represented as: (9) in, This indicates the signal received by the relay node from the first user equipment. This represents the channel gain between the first user equipment and the second user equipment. This indicates the signal transmitted by the first user equipment. This represents the channel noise between the first user equipment and the second user equipment. Indicates the time.

[0061] In this embodiment, the first communication mode includes: transmitting the signal of the first user equipment to the base station after occupying the transmission power of the relay node. Here, the signal of the first user equipment exclusively occupies the transmission power of the relay node, that is, it can occupy the entire transmission power of the relay node.

[0062] Specifically, when a relay node has no communication requirement, its signal to be transmitted can be obtained through amplification-forwarding (AF) or decoding-forwarding (DF) methods. The signal to be transmitted by the relay node can be represented as: (10) in, This represents the signal to be sent by the relay node. express The amplification factor of the relay, AF represents amplified forwarding. This indicates the signal received by the relay node from the first user equipment. This represents the electrical power allocated to the first user equipment. This represents the electrical power allocated to the second user equipment. This indicates the signal to be forwarded after the first user equipment's signal has been processed (decoded, re-encoded) at the relay node. Indicates decoding and forwarding. Indicates the time.

[0063] As can be seen from Formula 10, when using decode-forward, the signal of the first user equipment occupies the full transmission power of the relay node. and (The sum). After the signal is transmitted through the underwater optical channel, the signal received by the base station can be expressed as: (11) in, This indicates the signal received by the base station. This represents the channel gain between the second user equipment and the base station. This represents the signal to be sent by the relay node. This represents the channel noise between the second user equipment and the base station. Indicates the time. It should be understood that the second user equipment here is a relay node.

[0064] In this embodiment, the second communication mode includes: multiplexing the signal of the first user equipment and the signal to be transmitted of the relay node on the same time domain resources through a non-orthogonal multiple access method and then transmitting them to the base station, wherein the signal of the first user equipment and the signal to be transmitted of the relay node occupy mutually distinct power resources.

[0065] Specifically, when a relay node has communication needs, it needs to decode, re-encode, and allocate power to the first user equipment signal in the digital domain. Using the DF relay method, the relay node superimposes the first user equipment signal with its own signal to be transmitted after power allocation. The signal to be transmitted can be represented as: (12) in, This represents the signal to be sent by the relay node. This represents the electrical power allocated to the first user equipment. This indicates the signal to be forwarded after the first user equipment's signal has been processed (decoded, re-encoded) at the relay node. This represents the electrical power allocated to the second user equipment. This indicates the signal to be transmitted by the second user equipment (relay node).

[0066] The signal passes through the underwater channel again, and the received signal at the base station can be represented as: (13) in, This indicates the received signal at the base station. This represents the channel gain between the second user equipment (i.e., the relay node) and the base station. This represents the signal to be sent by the relay node. This represents the channel noise between the second user equipment and the base station. Indicates the time.

[0067] The base station received the signal or Then, the information of the first user equipment and the second user equipment can be decoded to recover the information of the first user equipment and the second user equipment.

[0068] In the technical solution of this application embodiment, for the first communication mode, because the relay node allocates its transmission power to the signal of the first user equipment when there is no communication demand, the signal of the first user equipment exclusively occupies the transmission power of the relay node. Compared with the situation where the transmission power is distributed among multiple signals, this overcomes the problem of the relay node's transmission power not being fully utilized when there is no communication demand, thereby improving the transmission performance of the first user equipment's signal. For the second communication mode, because the relay node multiplexes the signal of the first user equipment and its own signal to be transmitted on the same time domain resource with mutually distinguishable power when there is a communication demand, the signal of the first user equipment and the signal of the relay node itself can be transmitted concurrently on the same time domain resource and can be separated by the base station according to the power difference, thereby ensuring the access of the first user equipment while realizing the data transmission of the relay node itself.

[0069] In some embodiments, transmitting a signal from at least one user equipment to a base station includes: in a first communication mode, forwarding the signal from at least one user equipment using an amplification-forwarding method or a decoding-forwarding method. Transmitting the signal from at least one user equipment to the base station after multiplexing it with a signal to be transmitted from a relay node via multiple access includes: in a second communication mode, processing the signal from at least one user equipment using a decoding-forwarding method and then multiplexing it with the signal to be transmitted from the relay node. The amplification-forwarding method may involve the relay node amplifying the received signal before forwarding it, maintaining the signal in analog form during forwarding; the decoding-forwarding method may involve the relay node sequentially sampling, demodulating, decoding, re-encoding, and modulating the received signal to obtain the signal to be forwarded.

[0070] In the first communication mode, the relay node only needs to forward the user equipment's signal without reprocessing the signal in the digital domain. Therefore, either amplification-forwarding or decoding-forwarding methods can be used. In the second communication mode, the relay node needs to multiplex the user equipment's signal with its own signal to be transmitted using mutually distinct power and / or time domain resources. This multiplexing involves power allocation and / or time domain resource allocation in the digital domain. However, in the amplification-forwarding method, the signal remains in analog form and cannot be allocated power and time domain resources in the digital domain. Therefore, in the second communication mode, the user equipment's signal is processed using the decoding-forwarding method before being multiplexed with the relay node's signal to be transmitted.

[0071] In the technical solution of this application embodiment, since the relay node only forwards the signal of the user equipment in the first communication mode, either the amplification forwarding method or the decoding forwarding method can be used. The amplification forwarding method does not require digital domain processing of the signal, so when the relay node has no communication needs of its own, the relatively simple amplification forwarding method can be used to forward the signal. In the second communication mode, since it is necessary to allocate power resources and / or time domain resources between the signal of the user equipment and the signal of the relay node itself in the digital domain, the decoding forwarding method is used to restore the signal of the user equipment to the digital domain and then reuse it. Therefore, it overcomes the problem that the signal remains in analog signal form under the amplification forwarding method and cannot be allocated in the digital domain for power and time domain resources. This ensures that the signal of the user equipment and the signal of the relay node itself can be multiplexed with mutually distinguishable resources in the second communication mode.

[0072] In some embodiments, before receiving a signal transmitted by at least one user equipment via an underwater optical channel, the method further includes: determining a relay node based on the location relationship between the user equipment and the base station; wherein, when multiple user equipments are outside the communication range of the base station, a node independent of the multiple user equipments is determined as a relay node; and when a first user equipment is outside the communication range of the base station and a second user equipment is within the communication range of the base station, a second user equipment is determined as a relay node.

[0073] Specifically, see Figure 2 When multiple user devices are outside the communication range of the base station, a node independent of these multiple user devices is designated as a relay node. For example, when both the first user device and the second user device are outside the communication range of the base station, a node independent of the first and second user devices is introduced as a relay node. This relay node assists the first and second user devices in establishing an indirect communication connection with the base station. At this time, the distance between the first user device (or the second user device) and the relay node, as well as the distance between the relay node and the base station, are both within the effective communication range.

[0074] See Figure 2When the first user equipment (UE) is outside the communication range of the base station and the second UE is within the communication range of the base station, the second UE is designated as a relay node. At this time, the second UE, based on its direct communication link with the base station, assists the first UE in establishing an indirect communication connection with the base station. The distance between the first UE and the second UE, and the distance between the second UE and the base station, are both within the effective communication range.

[0075] In the technical solution of this application embodiment, because the relay node is determined according to the positional relationship between the user equipment and the base station, an independent node is introduced as a relay node when multiple user equipments are outside the communication range of the base station, and the user equipment is used as a relay node when some user equipments are within the communication range of the base station, so corresponding relay nodes are matched for different positional relationships between user equipment and the base station, overcoming the problem that user equipment outside the communication range of the base station cannot communicate directly with the base station, thereby enabling user equipment outside the communication range of the base station to establish a communication connection with the base station through the relay node.

[0076] In some embodiments, the implementation of communication mode switching is described. Communication mode switching, which occurs when the relay node has no communication needs versus when it does, is triggered by the field-programmable gate array (FPGA) based on the relay node's status signal indicating whether it has data to transmit.

[0077] Specifically, the presence or absence of data to be transmitted by a relay node can be represented by a status signal, such as the empty status signal of the first-in-first-out queue in the aforementioned embodiment. The field-programmable gate array (FPGA) acquires this status signal and triggers a switch between a first communication mode and a second communication mode based on it: when the status signal indicates that the relay node has no data to be transmitted, a switch to the first communication mode is triggered; when the status signal indicates that the relay node has data to be transmitted, a switch to the second communication mode is triggered. The signal processing flow under the first and second communication modes can be implemented by the FPGA.

[0078] In the technical solution of this application embodiment, the communication mode switching is triggered by the field-programmable gate array (FPGA) based on the status signal of whether the relay node has data to be sent. The FPGA can directly read the status signal and complete the switching and corresponding signal processing accordingly. Therefore, the communication mode switching and signal processing process is implemented on the FPGA, a programmable logic device, thereby providing a hardware implementation method that is easy to implement in real time for the solution of switching communication modes according to the communication needs of the relay node.

[0079] In one embodiment, User 1 represents the user of the first user equipment, and User 2 represents the user of the second user equipment. The process of underwater optical communication relay is described from the user's perspective, including optical communication system model adaptation, relay node communication demand detection, communication mode switching, signal transmission and relay processing, and base station decoding and restoration.

[0080] In the optical communication system model adaptation, the corresponding system model is accurately matched based on the location relationship between the user and the base station, laying the foundation for subsequent communication. If both the first user equipment and the second user equipment are outside the direct communication range of the base station, an IR-NOMA type UWOC system is deployed, and an independent relay node is introduced to build a communication link. In this case, the distances between the user equipment and the relay node, and between the relay node and the base station, are all within the effective communication range. If the first user equipment is outside the direct communication range of the base station, but the second user equipment is within the direct communication range of the base station, a UC-NOMA type UWOC system is deployed, and the second user equipment is configured as a relay node. In this case, the distances between the first user equipment and the second user equipment, and between the second user equipment and the base station, are all within the effective communication range.

[0081] In relay node communication demand detection, the relay node stores its data to be sent in an asynchronous FIFO buffer. The system monitors the buffer status in real time to determine the triggering conditions for the communication mode. If the FIFO buffer is empty, it is determined that the relay node has no communication demand, triggering the first communication mode. This mode is the basic mode; see [link to relevant documentation]. Figure 4 In (a) and (c), the IR-NOMA type UWOC system corresponds to mode 1, and the UC-NOMA type UWOC system corresponds to mode 3; if the FIFO buffer is not empty, it is determined that the relay node has a communication requirement, triggering the second communication mode, which is the enhanced mode, see [link to relevant documentation]. Figure 4 In (b) and (d), the IR-NOMA type UWOC system corresponds to mode 2, and the UC-NOMA type UWOC system corresponds to mode 4.

[0082] During communication mode switching, see [link / reference] Figure 4Based on the detection results, the system automatically switches modes to adapt to different communication scenarios. For the IR-NOMA type UWOC system, when the first communication mode is triggered, it switches to mode 1, forwarding only the signals of the first user equipment and the second user equipment, corresponding to the information of user 1 and user 2 in (a); when the second communication mode is triggered, it switches to mode 2, transmitting the signals of the first user equipment, the second user equipment, and the relay node itself, corresponding to the information of user 1, user 2, and the relay user in (b). For the UC-NOMA type UWOC system, when the first communication mode is triggered, it switches to mode 3, forwarding only the signals of the first user equipment, corresponding to the information of user 1 in (c); when the second communication mode is triggered, it switches to mode 4, transmitting the signals of the first user equipment and the relay node itself, corresponding to the information of user 1 and the relay user in (d). Mode switching is implemented through the FPGA hardware platform, relying on the asynchronous FIFO buffer status signal to complete adaptive triggering.

[0083] In signal transmission and relay processing, the entire process of signal generation, transmission, and relay processing is completed according to the switched mode and system model. For IR-NOMA type UWOC system, Mode 1, relay has no communication requirement: The first user equipment and the second user equipment allocate different electrical domain power according to the NOMA principle to generate the original transmission signal. After receiving the aliased signals of the two users, the independent relay node forwards them through AF or DF. AF relay is only applicable to this mode. The forwarded signal is transmitted to the base station via an underwater channel. For IR-NOMA type UWOC system, Mode 2, relay has communication requirement: The first user equipment and the second user equipment generate aliased signals according to the NOMA principle. The relay node extracts its own data to be transmitted. The system adopts "NOMA+TDMA" hybrid multiple access technology, dividing the time domain resources into multiple time frames. Odd time slots are used to transmit the aliased signals of the two users, and even time slots are used to transmit the relay's own information. The relay node integrates the data to generate a forwarding signal, which is transmitted to the base station via an underwater channel. See [link to relevant documentation]. Figure 5 In the UC-NOMA type UWOC system, mode 3, the signals of the first user equipment (user 1) and the second user equipment (user 2) use different power domains, and the signals of the user equipment and the relay node use different time domains, which reduces the decoding difficulty of the base station. For mode 3, the relay has no communication requirement: the remote first user equipment generates the original signal and transmits it to the relay node (user 2). The relay node forwards the signal via AF or DF, and the forwarded signal is transmitted to the base station via an underwater channel. For mode 4, the relay has a communication requirement: the first user equipment generates the original signal and transmits it to the relay node (user 2). The relay node decodes and re-encodes the signal from the first user equipment, then allocates power and aliased it with its own signal to be transmitted according to the NOMA principle in the power domain. The aliased signal is then transmitted to the base station via an underwater channel.

[0084] In the base station decoding and restoration process, after receiving the signal forwarded by the relay node, the base station executes a targeted decoding process according to the system architecture and communication mode to restore the original information. For an IR-NOMA type UWOC system, Mode 1: After receiving the aliased signals from two user equipments, the base station separates the signals through amplitude threshold decoding and other methods to restore the original information of the first and second user equipments. For an IR-NOMA type UWOC system, Mode 2: After receiving the mixed multiple access signal, the base station separates the three types of signals—the first user equipment, the second user equipment, and the relay node—through time slot differentiation, and decodes and restores their respective original information. For a UC-NOMA type UWOC system, Mode 3: After receiving a single-user signal, the base station directly decodes and restores the original information of the first user equipment. For a UC-NOMA type UWOC system, Mode 4: After receiving the aliased signals from two users, the base station separates the signals through power domain differentiation, decodes and restores the original information of the first and second user equipments, completing a complete communication loop.

[0085] The technical solution of this application overcomes the communication connection problem between remote users and base stations in multi-user UWOC scenarios. It focuses on two differentiated system models, IR-NOMA and UC-NOMA, and takes the communication requirements of relay nodes as the core adaptation basis to achieve adaptive communication closed loop in multiple scenarios.

[0086] The technical solution of this application's embodiments is adapted to the relay-assisted NOMA architecture with differentiated needs for multi-user and relay systems. It effectively breaks through the coverage limitations of UWOC systems using LEDs as light sources, extending the communication distance while simultaneously meeting the collaborative needs of multi-user access and the relay node's own communication requirements. This achieves adaptive adaptation to differentiated scenarios, significantly improving the system's scenario adaptability and practical value. A low-complexity multiple access reuse and mode switching technology solution is proposed to address the technical bottleneck of excessive decoding complexity in traditional NOMA systems during concurrent communication scenarios involving multiple users and relays. An efficient mode switching mechanism ensures real-time system communication regardless of whether the relay node has communication needs, achieving a dynamic balance between multi-user access efficiency and transmission performance. A hardware-featured technical implementation solution is provided, enabling the engineering implementation of mode switching and signal processing flows through an FPGA hardware platform.

[0087] See Figure 6 This application also provides an underwater optical communication relay system for use in relay nodes. The system includes: The receiving module 601 is used to receive signals transmitted by at least one user equipment via an underwater optical channel.

[0088] The first transmitting module 602 is used to transmit the signal of at least one user equipment to the base station in the presence of no communication requirement at the relay node, using a first communication mode. In the first communication mode, the transmitting resources of the relay node are used to carry the signal of at least one user equipment.

[0089] The second transmitting module 603 is used to transmit the signal of at least one user equipment and the signal to be transmitted of the relay node to the base station by multiplexing the signal of at least one user equipment and the signal to be transmitted of the relay node through multiple access when there is a communication requirement of the relay node. In the second communication mode, the signal of at least one user equipment and the signal to be transmitted of the relay node occupy mutually distinct power resources and / or time domain resources.

[0090] In some embodiments, the system further includes a communication demand determination module, used to determine whether a relay node has a communication demand based on whether its own data to be sent exists in the relay node's cache.

[0091] In some embodiments, the buffer is a first-in-first-out queue; the communication demand determination module is used to determine whether the relay node has a communication demand based on whether its own data to be sent exists in the relay node's buffer, specifically including: determining whether the relay node has a communication demand based on the empty state signal of the first-in-first-out queue.

[0092] In some embodiments, at least one user equipment includes a first user equipment and a second user equipment; a first communication mode includes: multiplexing the signal of the first user equipment and the signal of the second user equipment on the same time domain resources through a non-orthogonal multiple access method and then transmitting them to a base station, wherein the signal of the first user equipment and the signal of the second user equipment occupy mutually distinct power resources; In some embodiments, at least one user equipment includes a first user equipment and a second user equipment; the second communication mode includes: dividing time domain resources into multiple time frames, each time frame including a first type of time slot and a second type of time slot, in the first type of time slot, multiplexing the signal of the first user equipment and the signal of the second user equipment through a non-orthogonal multiple access method and then sending them to the base station, and in the second type of time slot, sending the signal to be transmitted of the relay node.

[0093] In some embodiments, at least one user equipment is a first user equipment; the first communication mode includes: transmitting the signal of the first user equipment to the base station after it has exclusively occupied the transmission power of the relay node.

[0094] In some embodiments, at least one user equipment is a first user equipment; the second communication mode includes: multiplexing the signal of the first user equipment and the signal to be transmitted of the relay node on the same time domain resources through a non-orthogonal multiple access method and then transmitting them to the base station, wherein the signal of the first user equipment and the signal to be transmitted of the relay node occupy mutually distinct power resources.

[0095] In some embodiments, when the first transmitting module 602 transmits the signal of at least one user equipment to the base station, it is specifically used to: in a first communication mode, forward the signal of at least one user equipment using an amplification forwarding method or a decoding forwarding method. The second transmitting module 603 is used to transmit the signal of at least one user equipment and the signal to be transmitted of the relay node to the base station after multiplexing them through multiple access. Specifically, in the second communication mode, the signal of at least one user equipment is processed by decoding and forwarding and then multiplexed with the signal to be transmitted of the relay node.

[0096] In some embodiments, the system further includes a relay node determination module, configured to determine relay nodes based on the location relationship between user equipment and base station; wherein, when multiple user equipments are outside the communication range of the base station, a node independent of the multiple user equipments is determined as a relay node; and when a first user equipment is outside the communication range of the base station and a second user equipment is within the communication range of the base station, the second user equipment is determined as a relay node.

[0097] In some embodiments, the communication mode switching between situations where the relay node has no communication needs and situations where it does have communication needs is triggered by the field-programmable gate array based on the status signal of whether the relay node has its own data to be transmitted.

[0098] The above modules can be used to implement the methods of the aforementioned method embodiments. Their specific implementation methods and technical effects correspond to those of the aforementioned method embodiments, and will not be repeated here.

[0099] An exemplary embodiment of this application also provides an electronic device, including: a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of any method of the embodiments of this application.

[0100] Exemplary embodiments of this application also provide a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the steps of any method of the embodiments of this application.

[0101] refer to Figure 7 An exemplary embodiment of this application also provides a computer program product 700, including a computer program 701, wherein the computer program, when executed by a processor, implements the steps of any method of the embodiments of this application.

[0102] refer to Figure 8The present invention describes a structural block diagram of an electronic device 800 that can serve as a server or client of this application, which is an example of a hardware device that can be applied to various aspects of this application. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the application described and / or claimed herein.

[0103] Electronic device 800 includes a computing unit 801, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 802 or a computer program loaded from storage unit 808 into random access memory (RAM) 803. RAM 803 may also store various programs and data required for device operation. The computing unit 801, ROM 802, and RAM 803 are interconnected via bus 804. Input / output (I / O) interface 805 is also connected to bus 804.

[0104] Multiple components in electronic device 800 are connected to I / O interface 805, including: input unit 806, output unit 807, storage unit 808, and communication unit 809. Input unit 806 can be any type of device capable of inputting information to electronic device 800. Input unit 806 can receive input digital or character information and generate key signal inputs related to user settings and / or function control of electronic device. Output unit 807 can be any type of device capable of presenting information and may include, but is not limited to, a display, speaker, video / audio output terminal, vibrator, and / or printer. Storage unit 808 may include, but is not limited to, disks and optical discs. Communication unit 809 allows electronic device 800 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers, and / or chipsets, such as Bluetooth™ devices, WiFi devices, WiMax devices, cellular communication devices, and / or the like.

[0105] The computing unit 801 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the various methods and processes described above. For example, in some embodiments, the methods of the embodiments of this application can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 800 via ROM 802 and / or communication unit 809. In some embodiments, the computing unit 801 can be configured to perform the methods of the embodiments of this application by any other suitable means (e.g., by means of firmware).

[0106] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. An underwater optical communication relay method, applied to a relay node, characterized in that, The method includes: Receive signals transmitted by at least one user equipment via an underwater optical channel; When there is no communication requirement at the relay node, a first communication mode is adopted to send the signal of the at least one user equipment to the base station. In the first communication mode, the transmission resources of the relay node are used to carry the signal of the at least one user equipment. When the relay node has communication requirements, a second communication mode is adopted, in which the signal of the at least one user equipment and the signal to be transmitted of the relay node are multiplexed through multiple access and then transmitted to the base station. In the second communication mode, the signal of the at least one user equipment and the signal to be transmitted of the relay node occupy mutually distinct power resources and / or time domain resources.

2. The method according to claim 1, characterized in that, The method further includes: Whether a relay node has a communication requirement is determined by whether its own data to be sent exists in the relay node's cache.

3. The method according to claim 2, characterized in that, The cache is a first-in-first-out queue; The step of determining whether a relay node has a communication requirement based on whether its own data to be sent exists in the relay node's cache includes: Based on the empty state signal of the first-in-first-out queue, determine whether the relay node has a communication requirement.

4. The method according to claim 1, characterized in that, The at least one user equipment includes a first user equipment and a second user equipment; The first communication mode includes: The signals of the first user equipment and the second user equipment are multiplexed on the same time domain resources and then transmitted to the base station through a non-orthogonal multiple access method, wherein the signals of the first user equipment and the signals of the second user equipment occupy mutually distinct power resources; And / or, the second communication mode includes: The time-domain resources are divided into multiple time frames. Each time frame includes a first type of time slot and a second type of time slot. In the first type of time slot, the signal of the first user equipment and the signal of the second user equipment are multiplexed through a non-orthogonal multiple access method and then sent to the base station. In the second type of time slot, the signal to be transmitted by the relay node is sent.

5. The method according to claim 1, characterized in that, The at least one user equipment is a first user equipment; The first communication mode includes: After the signal of the first user equipment exclusively occupies the transmission power of the relay node, it is transmitted to the base station; And / or, the second communication mode includes: The signal of the first user equipment and the signal to be transmitted of the relay node are multiplexed on the same time domain resources through a non-orthogonal multiple access method and then transmitted to the base station, wherein the signal of the first user equipment and the signal to be transmitted of the relay node occupy mutually distinct power resources.

6. The method according to claim 1, characterized in that, The step of sending the signal of the at least one user equipment to the base station includes: In the first communication mode, the signal of the at least one user equipment is forwarded using either an amplified forwarding method or a decoded forwarding method; The step of multiplexing the signal of the at least one user equipment with the signal to be transmitted by the relay node through a multiple access method and then transmitting it to the base station includes: In the second communication mode, the signal of the at least one user equipment is processed by a decoding and forwarding method and then multiplexed with the signal to be transmitted by the relay node.

7. The method according to claim 1, characterized in that, Before receiving signals transmitted by at least one user equipment via an underwater optical channel, the method further includes: The relay node is determined based on the location relationship between the user equipment and the base station; Where multiple user devices are outside the communication range of the base station, a node independent of the multiple user devices is identified as the relay node; When the first user equipment is outside the communication range of the base station and the second user equipment is within the communication range of the base station, the second user equipment is identified as the relay node.

8. The method according to claim 1, characterized in that, The communication mode switching between situations where the relay node has no communication needs and situations where it does have communication needs is triggered by the field-programmable gate array based on the status signal indicating whether the relay node has its own data to be transmitted.

9. An underwater optical communication relay system, applied to a relay node, characterized in that, The system includes: The receiving module is used to receive signals transmitted by at least one user equipment via an underwater optical channel; A first transmitting module is configured to transmit the signal of at least one user equipment to a base station using a first communication mode when there is no communication requirement at the relay node, wherein, in the first communication mode, the transmitting resources of the relay node are used to carry the signal of at least one user equipment. The second transmitting module is used to transmit the signal of the at least one user equipment and the signal to be transmitted of the relay node to the base station by multiplexing the signal of the at least one user equipment and the signal to be transmitted of the relay node through multiple access when the relay node has communication needs. In the second communication mode, the signal of the at least one user equipment and the signal to be transmitted of the relay node occupy mutually distinct power resources and / or time domain resources.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 8.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method described in any one of claims 1 to 8.

12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method described in any one of claims 1 to 8.