A ship communication control method, device, equipment, medium and product
By configuring a dual-channel communication architecture of wireless local area network and mobile communication in unmanned engineering vessels, a primary and backup redundant link is formed, and the communication link is automatically switched to solve the problems of single link vulnerability and insufficient environmental adaptability, thus ensuring the continuous controllability and operational safety of unmanned engineering vessels under various working conditions.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- NAT ENG RES CENT OF DREDGING TECH & EQUIP
- Filing Date
- 2026-04-23
- Publication Date
- 2026-06-05
AI Technical Summary
The communication system of unmanned engineering vessels suffers from single-link fragility and insufficient environmental adaptability in complex electromagnetic environments, leading to signal interruption or increased latency, and making it unable to cope with changing operating conditions.
A dual-channel communication architecture, consisting of wireless local area network and mobile communication, is configured at both the ship's end and the shore end, forming a primary and backup redundant communication link. The link quality is evaluated by acquiring communication scenario data, and the communication link is automatically switched to ensure continuous controllability.
It achieves continuous controllability of unmanned engineering vessels under various working conditions, overcomes communication interruptions caused by obstruction or interference of a single communication link, and improves operational safety and real-time data transmission support.
Smart Images

Figure CN122160854A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of communication technology, and in particular to a ship communication control method, apparatus, equipment, medium and product. Background Technology
[0002] Unmanned engineering vessels refer to dredgers that achieve automated operations through intelligent systems and artificial intelligence technology. They can complete dredging tasks in waterways, ports, and other waterways without direct human intervention under specific working conditions. These vessels are typically equipped with a "one-click engineering" system and energy efficiency optimization algorithms. AI (Artificial Intelligence) autonomously controls the dredging depth, suction speed, and navigation path based on real-time hydrological and geological data, significantly improving operational safety and efficiency. The communication system of unmanned engineering vessels is a core component ensuring remote control, data transmission, and operational safety. Communication methods mainly include satellite, cellular networks (4G / 5G), radio (2.4GHz / 433MHz), long-range WiFi (Wireless Fidelity), and high-power wireless modules.
[0003] Unmanned engineering vessels face complex electromagnetic environments during engineering operations. Current technologies often employ a single communication mode, lacking redundancy and exhibiting the following drawbacks: Single-link vulnerability: Traditional satellite or cellular communication is susceptible to weather and geographical interference, leading to signal interruptions or significantly increased latency; Insufficient environmental adaptability: Nearshore and offshore scenarios have significantly different requirements for communication bandwidth and stability, and a single technology cannot adequately address these varying operating conditions. Therefore, a superior communication link control method for unmanned engineering vessels is urgently needed. Summary of the Invention
[0004] This invention provides a ship communication control method, apparatus, equipment, medium, and product to overcome the problem of communication interruption caused by signal blockage or interference of a single communication link, and to ensure the continuous controllability of unmanned engineering vessels under various working conditions.
[0005] According to one aspect of the present invention, a ship communication control method is provided, which is applied to the ship end and the shore end, wherein the ship end and the shore end are respectively configured with a dual-channel communication architecture of wireless local area network and mobile communication, forming a primary and backup dual-redundant communication link between the ship end and the shore end. The method includes: The communication scenario data corresponding to the first link, which serves as the main communication link, is obtained, and the communication quality score corresponding to the first link is determined based on the communication scenario data; the communication scenario data includes: signal strength, bandwidth utilization, and environmental parameters; If the communication quality score corresponding to the first link is lower than the target score threshold, then a communication link switch is performed: the second link is enabled as the primary communication link, and the first link is used as the backup communication link. Communication between the ship and shore is based on the switched main communication link.
[0006] In some embodiments of the present invention, the environmental parameters include: sea state information and electromagnetic interference; the sea state information includes: temperature, light intensity, wind speed, humidity, rainfall, and wave height; Determining the communication quality score corresponding to the first link based on the communication scenario data includes: The various types of data contained in the communication scenario data are subjected to time alignment and spatial alignment processing to obtain the data to be fused. After normalizing each piece of data to be merged, a weighted sum is performed to obtain the communication quality score corresponding to the first link.
[0007] In some embodiments of the present invention, the ship and shore ends use a unified clock source and trigger signal for data transmission and reception. During data transmission and reception, the sequential verification of transmitted data between the ship and shore is performed based on a cyclic redundancy check and sequence number confirmation mechanism.
[0008] In some embodiments of the present invention, it further includes: During the data transmission and reception process, the target encryption algorithm is used to encrypt the transmitted data.
[0009] In some embodiments of the present invention, it further includes: During the communication link switching process, the target protocol stack is used to synchronize data between the primary and backup dual redundant communication links.
[0010] In some embodiments of the present invention, after communication between the ship and shore is performed based on the switched main communication link, the method further includes: Perform signal quality assessment on the primary and backup communication links after the switchover; If the signal quality of the primary communication link after switching is weaker than that of the backup communication link, then the communication link will be switched again: the first link will be used as the primary communication link, and the second link will be used as the backup communication link.
[0011] According to another aspect of the present invention, a ship communication control device is provided, the device comprising: The acquisition and determination module is used to acquire communication scenario data corresponding to the first link, which serves as the main communication link, and determine the communication quality score corresponding to the first link based on the communication scenario data; the communication scenario data includes: signal strength, bandwidth utilization, and environmental parameters; The communication link switching module is used to switch the communication link if the communication quality score corresponding to the first link is lower than the target score threshold: enable the second link as the primary communication link and use the first link as the backup communication link. The communication module is used for communication between the ship and shore based on the switched main communication link.
[0012] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the ship communication control method according to any embodiment of the present invention.
[0013] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the ship communication control method according to any embodiment of the present invention.
[0014] According to another aspect of the present invention, embodiments of the present invention also provide a computer program product, which includes a computer program that, when executed by a processor, implements the ship communication control method described in any embodiment of the present invention.
[0015] This invention employs a dual-channel communication architecture, configuring both a wireless local area network (WLAN) and mobile communication at the ship and shore ends respectively, to form a primary and backup redundant communication link between the ship and shore. It acquires communication scenario data corresponding to the first link (serving as the primary communication link) and determines the communication quality score based on this data. The communication scenario data includes signal strength, bandwidth utilization, and environmental parameters. If the communication quality score of the first link is lower than a target threshold, a communication link switch is performed: the second link is activated as the primary communication link, and the first link is used as a backup. Communication between the ship and shore is then conducted based on the switched primary communication link. This invention overcomes the problem of communication interruption caused by signal blockage or interference on a single communication link, ensuring the continuous controllability of unmanned engineering vessels under various operating conditions.
[0016] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0017] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a flowchart of a ship communication control method according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the structure of a ship communication control device according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the structure of an electronic device that implements the ship communication control method of this invention. Detailed Implementation
[0019] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0020] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and their derivatives, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0021] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0022] Example 1 This invention discloses a ship communication control method applied to both the ship and shore ends. The ship end can be, for example, an unmanned engineering vessel, and the shore end can be, for example, a shore control center. The ship and shore ends are respectively configured with a dual-channel communication architecture of wireless local area network (super WiFi access point) and mobile communication (4G / 5G communication), forming a primary and backup dual-redundant communication link between the ship and shore ends. Preferably, the super WiFi access point communication architecture serves as the primary communication link, and the 4G / 5G communication architecture serves as the backup / standby communication link.
[0023] Figure 1 This is a flowchart of a ship communication control method according to an embodiment of the present invention. This embodiment is applicable to the communication control of unmanned engineering vessels. The method can be executed by the ship communication control device in this embodiment, which can be implemented in software and / or hardware, such as... Figure 1 As shown, the method specifically includes the following steps: S101. Obtain the communication scenario data corresponding to the first link, which serves as the main communication link, and determine the communication quality score corresponding to the first link based on the communication scenario data.
[0024] It should be noted that the first link can be the current communication architecture that serves as the main communication link, such as a wireless LAN (super WiFi access point) communication architecture or a mobile communication (4G / 5G communication) architecture. In specific implementation, it is preferable to use the wireless LAN (super WiFi access point) communication architecture as the main communication link.
[0025] In this embodiment, the communication scenario data can be relevant data when communicating between the ship and the shore.
[0026] The communication scenario data includes signal strength, bandwidth utilization, and environmental parameters.
[0027] It should be noted that the communication quality score can be a score used to assess the health status of a communication link.
[0028] Specifically, during communication between the ship and shore, communication scenario data, including signal strength, bandwidth utilization, and environmental parameters, are collected in real time through continuous heartbeat packets. Using multi-sensor fusion technology, the communication quality score corresponding to the first link is determined, and the health status of the communication link is dynamically assessed.
[0029] S102. If the communication quality score corresponding to the first link is lower than the target score threshold, then the communication link is switched: the second link is enabled as the primary communication link, and the first link is used as the backup communication link.
[0030] The target score threshold can be a pre-set threshold based on actual conditions or experience, used to determine the health status of the communication link. For example, when the communication quality score of the link reaches the target score threshold, the link is considered to be communicating normally; when the communication quality score of the link is lower than the target score threshold, the link is considered to be communicating abnormally (abnormal communication may include: sudden signal interruption, weakened signal strength, increased signal interference, etc.). This embodiment does not specify a specific value for the target score threshold.
[0031] It should be noted that the second link can be another link in the primary and backup dual-redundant communication links besides the first link. For example, when the first link is a wireless LAN (super WiFi access point) communication architecture, the second link can be a mobile communication (4G / 5G communication) architecture; when the first link is a mobile communication (4G / 5G communication) architecture, the second link can be a wireless LAN (super WiFi access point) communication architecture.
[0032] Specifically, when the main communication link fails, an intelligent communication link switching decision can be made: switch the mobile communication (4G / 5G communication) architecture as the main communication link and the wireless LAN (super WiFi access point) communication architecture as the backup communication link.
[0033] S103. Communication between the ship and shore is based on the switched main communication link.
[0034] Specifically, the ship-side and shore-side control systems utilize a data transmission mechanism based on a custom link-layer protocol, optimizing data packet structure and retransmission strategies to reduce end-to-end data latency for subsequent data transmission and reception. Ship-side and shore-side signal transceiver equipment send and receive command and data signals, enabling signal transmission and reception interaction and facilitating communication between the ship and shore.
[0035] This invention employs a dual-channel communication architecture, configuring both a wireless local area network (WLAN) and mobile communication at the ship and shore ends respectively, to form a primary and backup redundant communication link between the ship and shore. It acquires communication scenario data corresponding to the first link (serving as the primary communication link) and determines the communication quality score based on this data. The communication scenario data includes signal strength, bandwidth utilization, and environmental parameters. If the communication quality score of the first link is lower than a target threshold, a communication link switch is performed: the second link is activated as the primary communication link, and the first link is used as a backup. Communication between the ship and shore is then conducted based on the switched primary communication link. This invention overcomes the problem of communication interruption caused by signal blockage or interference on a single communication link, ensuring the continuous controllability of unmanned engineering vessels under various operating conditions.
[0036] In actual operation, the initialization phase requires the loading and running of programs in the ship-end and shore-end control systems. Its main function is to set the initial state (the initial state of various software and sensors in the ship-end and shore-end), allocate resources (allocate communication link resources), create objects (objects that need to communicate), or perform necessary configuration operations (set various data).
[0037] Optional environmental parameters include: sea state information and electromagnetic interference; sea state information includes: temperature, light intensity, wind speed, humidity, rainfall, and wave height.
[0038] The communication quality score corresponding to the first link is determined based on communication scenario data, including: The various types of data contained in the communication scenario data are processed for time alignment and spatial alignment to obtain the data to be fused.
[0039] In the specific implementation process, time alignment can be performed first. For example, for signal strength, a raw frequency of 10 times / second can be used, and the alignment method can be direct averaging; for network latency, a raw frequency of 10 times / second can be used, and the alignment method can be direct sampling; for temperature and humidity, a raw frequency of 1 time / minute can be used, and the alignment method can be interpolation padding (filling in intermediate moments with predicted values); for wave height and wind speed, a raw frequency of 1 time / 10 minutes can be used, and the alignment method can be Kalman smoothing. Finally, all data is aligned to the same time axis, for example, one data point every 100 milliseconds.
[0040] Next, spatial alignment is required. Since the sensors are distributed in different locations (on ships, buoys, underwater, etc.), they need to be mapped to the locations traversed by the communication link. A specific approach could be to draw the sea surface as a grid, use interpolation algorithms to convert discrete sensor data into continuous values along the link path, and consider the influence of ocean currents to correct for buoy drift.
[0041] After normalizing each piece of data to be merged, a weighted sum is performed to obtain the communication quality score corresponding to the first link.
[0042] In practice, weights can be set for each piece of data to be fused. For example, a weight of 40% can be set for signal quality (including signal strength, bit error rate, and signal-to-noise ratio), a weight of 30% can be set for network performance (including bandwidth utilization, latency, and packet loss rate), and a weight of 30% can be set for environmental adaptability (including wave height, rainfall, temperature, and electromagnetic interference). Specifically, the weight values can be dynamically adjusted according to changes in the scenario.
[0043] Optionally, the ship and shore ends use a unified clock source and trigger signal for data transmission and reception.
[0044] Specifically, the ship and shore ends use a unified clock source and trigger signal for data transmission and reception, achieving phase alignment and sampling synchronization of signal channels between the signal output terminals of multiple peripheral devices of the ship and shore control systems and the signal interaction terminals of the control system, thus ensuring the consistency of data interaction between the ship and shore ends.
[0045] In practical operation, low-latency SRIO (Serial Rapid I / O) reliable transmission and DMA (Direct Memory Access) data transmission schemes can be adopted to ensure the low-latency transmission performance of system data.
[0046] During data transmission and reception, the sequential verification of transmitted data between the ship and shore is performed based on a cyclic redundancy check and sequence number confirmation mechanism.
[0047] In actual operation, the received data is buffered and subjected to preliminary filtering and data format conversion. A CRC (Cyclic Redundancy Check) verification and sequence number confirmation mechanism is introduced to ensure that the data is delivered to the ship-side and shore-side control system's own application programs in the correct order.
[0048] The sequence number is a unique number assigned to each byte in the data stream to identify the position of the data in the overall stream. The acknowledgment mechanism is that the receiver uses the sequence number to reorder out-of-order data packets.
[0049] Optionally, the method further includes: During the data transmission and reception process, the target encryption algorithm is used to encrypt the transmitted data.
[0050] In this embodiment, the target encryption algorithm may be, for example, the AES-128-bit (Advanced Encryption Standard-128 bit) encryption algorithm.
[0051] Specifically, the AES-128-bit encryption algorithm can be used to encrypt the transmitted and received data end-to-end. The MAVLink (Micro Air Vehicle Link) protocol stack is integrated to ensure standardized encapsulation and parsing of commands and data during transmission, compatibility with heterogeneous control systems, and real-time monitoring of data strength and bit error rate. Even if data packets have different paths and arrive in disorder in the network, they can be correctly reassembled to ensure the reliability of subsequent data transmission.
[0052] Optionally, the method further includes: During the communication link switching process, the target protocol stack is used to synchronize data between the primary and backup dual redundant communication links.
[0053] In this embodiment, the target protocol stack can be a TCP (Transmission Control Protocol) / IP (Internet Protocol Stack) protocol stack.
[0054] Specifically, a TCP / IP protocol stack can be used to achieve data synchronization between primary and backup dual redundant communication links. During the switchover process, a buffer mechanism is used to temporarily store data (the core implementation logic of the buffer mechanism is to allocate a memory area between high-speed processing units (such as CPU (Central Processing Unit)) and low-speed devices (such as disks and networks) as a "transfer station". Through the strategy of "temporarily storing first and then batch processing", frequent single operations are merged into efficient batch operations, thereby solving the speed mismatch problem and improving system throughput), avoiding information loss, supporting multi-ship collaborative operation, and ensuring the continuity of cluster communication.
[0055] Optionally, after establishing communication between the ship and shore based on the switched main communication link, the following may also be included: Perform a signal quality assessment on the primary and backup communication links after the switchover.
[0056] In actual operation, the communication data of the switched link and the original communication link are evaluated.
[0057] If the signal quality of the primary communication link after the switch is weaker than that of the backup communication link, the communication link switch will be performed again: the first link will be activated as the primary communication link, and the second link will be used as the backup communication link.
[0058] Specifically, when the communication quality of the new communication link is weaker than that of the original communication link, the communication link will be switched back to the original communication link.
[0059] Compared with existing technologies, the technical solution of this invention, through multi-link collaboration, can cover all operational scenarios from nearshore to open ocean. By continuously monitoring the signal quality and connection status of the primary super WiFi link through heartbeat packets, when the signal strength is detected to be below the threshold or the link is interrupted, the communication session is automatically and seamlessly switched to the backup 4G / 5G link. The entire process requires no manual intervention and can maintain the session status without loss. It has strong fault self-healing capabilities, significantly improves operational safety, and real-time data transmission supports intelligent operation, reduces labor costs, effectively overcomes the problem of communication interruption caused by wireless signal obstruction or interference, and ensures the continuous controllability and operational safety of unmanned engineering vessels under various working conditions.
[0060] Example 2 Figure 2 This is a schematic diagram of a ship communication control device according to an embodiment of the present invention. This embodiment is applicable to the communication control of unmanned engineering vessels. The device can be implemented using software and / or hardware, and can be integrated into any device that provides ship communication control functions, such as... Figure 2 As shown, the ship communication control device specifically includes: an acquisition and determination module 201, a communication link switching module 202, and a communication module 203.
[0061] The acquisition and determination module 201 is used to acquire communication scenario data corresponding to the first link, which serves as the main communication link, and determine the communication quality score corresponding to the first link based on the communication scenario data; the communication scenario data includes: signal strength, bandwidth utilization, and environmental parameters. The communication link switching module 202 is used to switch the communication link if the communication quality score corresponding to the first link is lower than the target score threshold: enable the second link as the main communication link and use the first link as the backup communication link. Communication module 203 is used for communication between the ship and shore based on the switched main communication link.
[0062] Optionally, the environmental parameters include: sea state information and electromagnetic interference; the sea state information includes: temperature, light intensity, wind speed, humidity, rainfall, and wave height. The acquisition and determination module 201 is specifically used for: The various types of data contained in the communication scenario data are subjected to time alignment and spatial alignment processing to obtain the data to be fused. After normalizing each piece of data to be merged, a weighted sum is performed to obtain the communication quality score corresponding to the first link.
[0063] Optionally, the ship and shore ends use a unified clock source and trigger signal for data transmission and reception; During data transmission and reception, the sequential verification of transmitted data between the ship and shore is performed based on a cyclic redundancy check and sequence number confirmation mechanism.
[0064] Optionally, the device further includes: The encryption module is used to encrypt transmitted data using a target encryption algorithm during data transmission and reception.
[0065] Optionally, the device further includes: The data synchronization module is used to perform data synchronization between primary and backup dual-redundant communication links using the target protocol stack during communication link switching.
[0066] Optionally, the device further includes: The signal quality assessment module is used to assess the signal quality of the primary and backup communication links after the switchover. The switching module is used to switch communication links again if the signal quality of the primary communication link after switching is weaker than that of the backup communication link: the first link is enabled as the primary communication link, and the second link is used as the backup communication link.
[0067] The above-mentioned products can execute the ship communication control method provided in any embodiment of the present invention, and have the corresponding functional modules and beneficial effects of the method.
[0068] Example 3 Figure 3 A schematic diagram of an electronic device 30 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, 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 personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), 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 invention described and / or claimed herein.
[0069] like Figure 3 As shown, the electronic device 30 includes at least one processor 31 and a memory, such as a read-only memory (ROM) 32 or a random access memory (RAM) 33, communicatively connected to the at least one processor 31. The memory stores computer programs executable by the at least one processor. The processor 31 can perform various appropriate actions and processes based on the computer program stored in the ROM 32 or loaded from storage unit 38 into the RAM 33. The RAM 33 can also store various programs and data required for the operation of the electronic device 30. The processor 31, ROM 32, and RAM 33 are interconnected via a bus 34. An input / output (I / O) interface 35 is also connected to the bus 34.
[0070] Multiple components in electronic device 30 are connected to I / O interface 35, including: input unit 36, such as keyboard, mouse, etc.; output unit 37, such as various types of monitors, speakers, etc.; storage unit 38, such as disk, optical disk, etc.; and communication unit 39, such as network card, modem, wireless transceiver, etc. Communication unit 39 allows electronic device 30 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0071] Processor 31 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 31 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 processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 31 performs the various methods and processes described above, such as ship communication control methods: The communication scenario data corresponding to the first link, which serves as the main communication link, is obtained, and the communication quality score corresponding to the first link is determined based on the communication scenario data; the communication scenario data includes: signal strength, bandwidth utilization, and environmental parameters; If the communication quality score corresponding to the first link is lower than the target score threshold, then a communication link switch is performed: the second link is enabled as the primary communication link, and the first link is used as the backup communication link. Communication between the ship and shore is based on the switched main communication link.
[0072] In some embodiments, the ship communication control method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 38. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 30 via ROM 32 and / or communication unit 39. When the computer program is loaded into RAM 33 and executed by processor 31, one or more steps of the ship communication control method described above may be performed. Alternatively, in other embodiments, processor 31 may be configured to perform the ship communication control method by any other suitable means (e.g., by means of firmware).
[0073] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0074] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0075] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0076] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0077] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0078] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0079] In one embodiment, the present invention further includes a computer program product, which includes a computer program that, when executed by a processor, implements the ship communication control method of any embodiment of the present invention.
[0080] In implementing the computer program product, computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof. Programming languages include object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0081] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0082] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A ship communication control method, characterized in that, It is applied to both ship and shore ends, with the ship and shore ends respectively configured with a dual-channel communication architecture of wireless local area network and mobile communication, forming a primary and backup dual-redundant communication link between the ship and shore ends. The method includes: The communication scenario data corresponding to the first link, which serves as the main communication link, is obtained, and the communication quality score corresponding to the first link is determined based on the communication scenario data; the communication scenario data includes: signal strength, bandwidth utilization, and environmental parameters; If the communication quality score corresponding to the first link is lower than the target score threshold, then a communication link switch is performed: the second link is enabled as the primary communication link, and the first link is used as the backup communication link. Communication between the ship and shore is based on the switched main communication link.
2. The method according to claim 1, characterized in that, The environmental parameters include: sea state information and electromagnetic interference; the sea state information includes: temperature, light intensity, wind speed, humidity, rainfall, and wave height. Determining the communication quality score corresponding to the first link based on the communication scenario data includes: The various types of data contained in the communication scenario data are subjected to time alignment and spatial alignment processing to obtain the data to be fused. After normalizing each piece of data to be merged, a weighted sum is performed to obtain the communication quality score corresponding to the first link.
3. The method according to claim 1, characterized in that, The ship and shore ends use a unified clock source and trigger signal for data transmission and reception. During data transmission and reception, the sequential verification of transmitted data between the ship and shore is performed based on a cyclic redundancy check and sequence number confirmation mechanism.
4. The method according to claim 1, characterized in that, Also includes: During the data transmission and reception process, the target encryption algorithm is used to encrypt the transmitted data.
5. The method according to claim 1, characterized in that, Also includes: During the communication link switching process, the target protocol stack is used to synchronize data between the primary and backup dual redundant communication links.
6. The method according to claim 1, characterized in that, After establishing communication between the ship and shore based on the switched main communication link, the following is also included: Perform signal quality assessment on the primary and backup communication links after the switchover; If the signal quality of the primary communication link after switching is weaker than that of the backup communication link, then the communication link will be switched again: the first link will be used as the primary communication link, and the second link will be used as the backup communication link.
7. A ship communication control device, characterized in that, include: The acquisition and determination module is used to acquire communication scenario data corresponding to the first link, which serves as the main communication link, and determine the communication quality score corresponding to the first link based on the communication scenario data. The communication scenario data includes: signal strength, bandwidth utilization, and environmental parameters; The communication link switching module is used to switch the communication link if the communication quality score corresponding to the first link is lower than the target score threshold: enable the second link as the primary communication link and use the first link as the backup communication link. The communication module is used for communication between the ship and shore based on the switched main communication link.
8. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the ship communication control method according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the ship communication control method according to any one of claims 1-6.
10. A computer program product comprising a computer program that, when executed by a processor, implements the ship communication control method according to any one of claims 1-6.