Ship data acquisition method, device and equipment based on satellite communication and medium

By installing front-mounted equipment on the ship and using satellite communication to collect and encrypt the data of the equipment on the ship to the shore, the security risks brought about by opening multiple ports in the existing technology are solved, and safe and efficient data collection and transmission are achieved.

CN119420408APending Publication Date: 2025-02-11CETC CYBERSPACE SECURITY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411608696.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-12
Publication Date
2025-02-11

AI Technical Summary

Technical Problem

In the prior art, data collection of on-board network equipment is usually carried out by active reporting, resulting in the shore network opening multiple access ports, increasing the risk of external intrusion.

Method used

The ship data acquisition method based on satellite communication is adopted to obtain the status data of the regulated equipment through the ship's front-end equipment, and the data is encrypted and sent to the shore front-end equipment in accordance with the pre-arranged target agreement. Only a single external access port is required.

Benefits of technology

While ensuring the integrity of data collection, the risk of shore networks being intruded by external sources is reduced, and the security of data transmission is guaranteed through encryption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119420408A_ABST
    Figure CN119420408A_ABST
Patent Text Reader

Abstract

The invention discloses a ship data acquisition method, device and equipment based on satellite communication and a storage medium, and relates to the technical field of computers. The method comprises the following steps: acquiring condition data of supervised equipment according to a communication protocol of the supervised equipment on a ship; according to a target protocol, the status data are encrypted through satellite communication and sent to a shore front-end device, so that the shore front-end device decrypts the status data and then forwards the status data to a situation awareness system; the target protocol is a protocol pre-agreed by the ship front equipment and the shore front equipment. The data acquisition of the ship equipment can be completed on the premise that the shore front equipment only opens a single external access port, and the security of the data reporting process can be ensured through encryption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method, device, equipment and storage medium for collecting ship data based on satellite communication. Background Art

[0002] To protect ocean-going ships from cybersecurity attacks and ensure network communications security, the emerging smart ship industry is already building cybersecurity infrastructure. The cybersecurity situational awareness system is a comprehensive safety operation supervision system that ensures the safe navigation of ship networks; the cybersecurity situational awareness system needs to collect data information from equipment on each ship to achieve comprehensive situation analysis. However, unlike traditional fixed network locations, the ship and the shore are separated and far apart, and 5G / 4G is required for message transmission when close to the shore, and satellite communication networks are required for message transmission when far away from the shore.

[0003] At present, the data collection of the equipment on the ship network usually adopts the active reporting method of the equipment. However, since the active reporting protocols of different types of equipment from different manufacturers are not unified, or the protocols are the same but the ports are different, in order to meet the active reporting requirements, the boundary firewall of the shore network is required to open more access ports in the port access policy, which greatly increases the risk of external intrusion into the shore system. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a method, device, equipment and storage medium for collecting ship data based on satellite communication, which can complete the data acquisition of shipboard equipment under the premise that only a single external access port is opened on the shore network, and can ensure the security of the data reporting process through encryption. The specific scheme is as follows:

[0005] In a first aspect, the present application discloses a ship data collection method based on satellite communication, which is applied to a ship front-end device of a ship, comprising:

[0006] Acquiring status data of the supervised equipment according to the communication protocol of the supervised equipment on the ship;

[0007] The status data is encrypted and sent to the onshore front-end device via satellite communication according to the target protocol, so that the onshore front-end device can decrypt and forward the status data to the situation awareness system; the target protocol is a protocol pre-agreed between the ship front-end device and the onshore front-end device.

[0008] Optionally, the step of encrypting and sending the status data to an onshore front-end device via satellite communication according to a target protocol includes:

[0009] Slice the status data according to a preset initial value to obtain a plurality of sliced ​​data;

[0010] Determine the transmission success rate of a single slice of data;

[0011] If the transmission success rate is greater than a preset success rate threshold, then the fragmentation is terminated;

[0012] If the transmission success rate is less than a preset success rate threshold, a new fragmentation value is obtained according to a preset difference based on the preset initial value;

[0013] The status data is segmented according to the new segmentation value, and the transmission success rate of the new segmented data is determined until the obtained transmission success rate of the segmented data is greater than a preset success rate threshold.

[0014] Optionally, before slicing the status data according to the preset initial value, the method further includes:

[0015] Determining whether the status data meets the dynamic sharding condition according to the monomer data size threshold;

[0016] If the dynamic sharding condition is met, the operation of sharding the status data according to the preset initial value is performed;

[0017] If the dynamic sharding condition is not met, the status data is directly sharded according to the preset sharding value.

[0018] Optionally, the step of encrypting and sending the status data to an onshore front-end device via satellite communication according to a target protocol includes:

[0019] The sliced ​​data is encrypted and sent to the onshore front-end equipment via satellite communication using multi-threading.

[0020] Optionally, after obtaining the status data of the supervised device, the method further includes:

[0021] The status data is preprocessed; the preprocessing includes data screening and data completion.

[0022] Optionally, the step of encrypting and sending the status data to an onshore front-end device via satellite communication according to a target protocol includes:

[0023] Cache the status data in a persistent queue;

[0024] Reading the target status data from the persistent queue in a first-in-first-out order, and encrypting and sending the target status data to the onshore front-end device through satellite communication according to the target protocol;

[0025] It is determined whether the target status data is sent successfully, and if so, the target status data is deleted from the persistent queue.

[0026] Optionally, the step of encrypting and sending the status data to an onshore front-end device via satellite communication according to a target protocol includes:

[0027] determining a transmission success rate of the status data;

[0028] If the transmission success rate is greater than a preset success rate threshold, the status data is directly sent to the onshore front-end device;

[0029] If the transmission success rate is less than a preset success rate threshold, the status data is compressed and the compressed data is sent to the onshore front-end device.

[0030] In a second aspect, the present application discloses a ship data collection device based on satellite communication, which is applied to a ship front-end device of a ship, including:

[0031] A data acquisition module, used to acquire status data of the supervised equipment on the ship according to the communication protocol of the supervised equipment;

[0032] The data sending module is used to encrypt and send the status data to the onshore front-end device through satellite communication according to the target protocol, so that the onshore front-end device can forward the status data to the situation awareness system after decryption; the target protocol is a protocol pre-agreed between the ship front-end device and the onshore front-end device.

[0033] In a third aspect, the present application discloses an electronic device, comprising:

[0034] Memory, used to store computer programs;

[0035] The processor is used to execute the computer program to implement the aforementioned ship data collection method based on satellite communication.

[0036] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the aforementioned ship data collection method based on satellite communication.

[0037] In the present application, the status data of the supervised equipment is obtained according to the communication protocol of the supervised equipment on the ship; the status data is encrypted and sent to the onshore front-end equipment through satellite communication according to the target protocol, so that the onshore front-end equipment can forward the status data to the situation awareness system after decryption; the target protocol is a protocol pre-agreed between the ship front-end equipment and the onshore front-end equipment. It can be seen that by adding a ship front-end equipment to the ship, the ship front-end equipment obtains the status data of various equipment on the ship, and then encrypts the status data and sends it to the onshore front-end equipment according to the pre-agreed target protocol, so that the onshore front-end equipment can forward the status data to the situation awareness system, that is, the onshore front-end equipment only supports the data sent by the ship front-end equipment according to the target protocol. In this way, the data acquisition of the equipment on board can be completed under the premise that only a single external access port is opened on the shore network, and the security of the data reporting process can be guaranteed by encryption. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0039] FIG1 is a flow chart of a method for collecting ship data based on satellite communication provided by the present application;

[0040] Figure 2 A schematic diagram of a specific ship data acquisition system based on satellite communication provided in this application;

[0041] Figure 3 A flow chart of a specific method for sending ship data based on satellite communication provided in this application;

[0042] Figure 4 A specific schematic diagram of ship data slicing based on satellite communication provided in this application;

[0043] Figure 5 A flow chart of a specific method for collecting ship data based on satellite communication provided in this application;

[0044] FIG6 is a schematic structural diagram of a ship data acquisition device based on satellite communication provided by the present application;

[0045] FIG. 7 is a structural diagram of an electronic device provided in the present application. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0047] In the prior art, data collection of equipment on the ship's network usually adopts the method of active reporting by the equipment. However, since the active reporting protocols of different types of equipment from different manufacturers are not unified, or the protocols are the same but the ports are different, in order to meet the active reporting requirements, the boundary firewall of the shore network is required to open more access ports in the port access strategy, which greatly increases the risk of external intrusion into the shore system. In order to overcome the above technical problems, the present application proposes a ship data collection method based on satellite communication, which can complete the data acquisition of shipboard equipment under the premise that the shore front-end equipment only opens a single external access port, and can ensure the security of the data reporting process through encryption.

[0048] The embodiment of the present application discloses a ship data collection method based on satellite communication, which is applied to a ship front-end device of a ship. Referring to FIG1 , the method may include the following steps:

[0049] Step S11: Acquire status data of the supervised equipment on the ship according to the communication protocol of the supervised equipment.

[0050] The status data of the supervised equipment can be actively collected by the ship's front-end equipment, or the supervised equipment can actively report it. The supervised equipment includes but is not limited to the safety equipment and network equipment on board. The supervised equipment may use different communication protocols, such as syslog, restful, web service and other protocols. The status data includes but is not limited to network security status data, operation status data and equipment logs. That is, the ship's front-end equipment contains access interfaces of various types of protocols to support communication with devices of various types of protocols.

[0051] In some embodiments, after obtaining the status data of the supervised device, the method may further include: preprocessing the status data; the preprocessing includes data screening and data completion. That is, in order to improve the quality of the data and the accuracy of the subsequent situation awareness system analysis, data preprocessing is first performed after the status data is obtained, and the preprocessing includes but is not limited to data screening and data completion; duplicate data and invalid data can be found through data screening.

[0052] Step S12: encrypting the status data and sending it to the onshore front-end device via satellite communication according to the target protocol, so that the onshore front-end device can decrypt and forward the status data to the situation awareness system; the target protocol is a protocol pre-agreed between the ship front-end device and the onshore front-end device.

[0053] That is, the target protocol for communication is pre-agreed between the ship's front-end equipment and the shore-based front-end equipment. Through the pre-agreed protocol, the shore-based front-end equipment only needs to provide an interface that supports the target protocol, without the need for more access ports. To ensure the security of data during transmission, the status data is encrypted and then sent to the shore-based front-end equipment, which then decrypts the status data and forwards it to the situation awareness system for analysis. Specifically, the national secret SM2 algorithm can be used for encryption so that only the shore-based front-end equipment can decrypt it, effectively preventing the data from being intercepted and cracked by a third party.

[0054] For example Figure 2 As shown, a specific satellite communication-based ship data collection system provided by the present application, the ship front-end equipment will collect data in accordance with the traditional docking protocol with the supervised equipment, and the collection method covers active reporting of the equipment (through UDP (User Datagram Protocol) / REST (repressentationalState Transfer, representational state transfer) protocol) and front-end active collection (through JDBC (Java DatabaseConnectivity) protocol). The ship front-end equipment will report the collected data to the shore network through a unified target protocol, and the target protocol can be a self-developed protocol. It can be seen that under the current system, only the boundary firewall of the shore network is required to open a single port required by the self-developed protocol to the outside world, which greatly reduces the risk of the shore network being attacked.

[0055] In some embodiments, the encrypted transmission of the status data to the onshore front-end device via satellite communication in accordance with the target protocol may include: caching the status data in a persistent queue; reading the target status data from the persistent queue in a first-in-first-out order, and encrypting the target status data to the onshore front-end device via satellite communication in accordance with the target protocol; determining whether the target status data is successfully sent, and if successful, deleting the target status data from the persistent queue. It is understandable that due to specific environmental reasons such as unstable ship-shore networks, network disconnection and reporting failures are often encountered, which will result in the loss of a large amount of log data, so data loss is avoided through a persistent queue. For example Figure 3As shown, the data received by the front-end device on board will be stored in the persistent queue, and the data will be sent in sequence according to the queue order. After the sending operation is completed, it will monitor whether the data is sent successfully. If the data is sent successfully, the data will be deleted from the persistent queue. Otherwise, it will be stored in the persistent queue as data to be sent so that the ship's front-end device can resend it.

[0056] In some embodiments, the encrypted transmission of the status data to the onshore front-end device via satellite communication according to the target protocol may include: slicing the status data according to a preset initial value to obtain multiple slicing data; judging the transmission success rate of a single slicing data; if the transmission success rate is greater than a preset success rate threshold, terminating the slicing; if the transmission success rate is less than the preset success rate threshold, obtaining a new slicing value according to a preset difference based on the preset initial value; slicing the status data according to the new slicing value, and judging the transmission success rate of the new slicing data, until the transmission success rate of the obtained slicing data is greater than the preset success rate threshold. It can be understood that the size of the data will affect the success rate of data transmission. The larger the data, the easier it is to fail. Therefore, in order to improve the success rate of data transmission, this embodiment slices the data and dynamically adjusts the slicing value by analyzing the success rate until it meets the preset success rate threshold.

[0057] In some embodiments, before slicing the status data according to the preset initial value, it may also include: judging whether the status data meets the dynamic slicing condition according to the single data size threshold; if it meets the dynamic slicing condition, then slicing the status data according to the preset initial value; if it does not meet the dynamic slicing condition, then directly slicing the status data according to the preset slicing value. That is, although dynamically adjusting the slicing value can obtain the best slicing value, that is, the maximum single data that can be sent while ensuring the success rate, because if the slicing value is too small, it will increase the number of transmissions and reduce efficiency; but the dynamic slicing value determination process will consume resources, therefore, the single data size threshold can be used to judge whether a dynamic slicing value determination method is needed. In this embodiment, for data that is smaller than the single data size threshold, it is directly sliced ​​according to a fixed slicing value. For example Figure 4 As shown in the figure, the single data size threshold is 100MB, the preset shard value is 5MB, the initial value is 10MB, the preset difference value is 1MB, and the preset success rate threshold is 70%; and, in order to avoid the shard value from continuously decreasing, a minimum value can also be set, such as the dynamic shard value will no longer decrease after it is less than 5MB. It can be seen that the above solution realizes dynamic adjustment of the data shard size.

[0058] In some embodiments, the step of encrypting and sending the status data to the onshore front-end device via satellite communication according to the target protocol may include: encrypting and sending the sliced ​​data to the onshore front-end device via satellite communication using multiple threads. That is, in order to improve transmission efficiency, after the data is sliced, multi-threaded slice transmission is performed.

[0059] In some embodiments, the encrypted transmission of the status data to the onshore front-end device via satellite communication according to the target protocol may include: determining the transmission success rate of the status data; if the transmission success rate is greater than a preset success rate threshold, directly sending the status data to the onshore front-end device; if the transmission success rate is less than the preset success rate threshold, compressing the status data and sending the compressed data to the onshore front-end device. That is, the success rate of data transmission can be improved by compression, while the pressure of satellite data transmission can be reduced and encryption computing resources can be saved. Specifically, methods such as Brotli algorithm 11-level compression can be adopted to consume more computing resources of the server to achieve a higher compression ratio.

[0060] For example Figure 5 The figure shows a specific method of ship data collection based on satellite communication. The onshore network only opens limited protocols and ports to ships, making the onshore situational awareness system more secure. The data is encrypted by the ship's front-end equipment and then decrypted by the onshore front-end equipment, effectively preventing the data from being intercepted and cracked by a third party. In order to improve the success rate of data transmission, data segmentation is also used, and the onshore front-end equipment receives the data and then splices the data. In addition, for scenarios where the network between the ship and the onshore system is extremely unstable, a persistent cache queue is provided to support data disconnection and retransmission, and data compression and the ability to resume transmission of large single data are also provided.

[0061] As can be seen from the above, in this embodiment, the status data of the supervised equipment is obtained according to the communication protocol of the supervised equipment on the ship; the status data is encrypted and sent to the onshore front-end equipment through satellite communication according to the target protocol, so that the onshore front-end equipment can forward the status data to the situation awareness system after decryption; the target protocol is a protocol pre-agreed between the ship front-end equipment and the onshore front-end equipment. It can be seen that by adding a ship front-end equipment to the ship, the ship front-end equipment obtains the status data of various equipment on the ship, and then encrypts the status data and sends it to the onshore front-end equipment according to the pre-agreed target protocol, so that the onshore front-end equipment can forward the status data to the situation awareness system, that is, the onshore front-end equipment only supports the data sent by the ship front-end equipment according to the target protocol. In this way, the data acquisition of the equipment on board can be completed under the premise that only a single external access port is opened on the shore network, and the security of the data reporting process can be guaranteed by encryption.

[0062] The embodiment of the present application discloses a specific ship data acquisition system based on satellite communication, which system may include: a ship front-end device of a ship, and an onshore front-end device on the shore, wherein the ship front-end device is used to obtain the status data of the supervised device according to the communication protocol of the supervised device on the ship; the status data is encrypted and sent to the onshore front-end device through satellite communication according to the target protocol, so that the onshore front-end device forwards the status data to the situation awareness system after decryption; the target protocol is a protocol pre-agreed between the ship front-end device and the onshore front-end device. By adding a ship front-end device to the ship, the ship front-end device obtains the status data of various equipment on the ship, and then encrypts the status data and sends it to the onshore front-end device according to the pre-agreed target protocol, so that the onshore front-end device forwards the status data to the situation awareness system, that is, the onshore front-end device only supports the data sent by the ship front-end device according to the target protocol, thereby completing the data acquisition of the ship's equipment under the premise that only a single external access port is opened on the shore network, and the security of the data reporting process can be guaranteed by encryption.

[0063] Correspondingly, the embodiment of the present application further discloses a ship data acquisition device based on satellite communication, which is applied to a ship front-end device of a ship. Referring to FIG6 , the device includes:

[0064] A data acquisition module 11 is used to acquire the status data of the supervised equipment on the ship according to the communication protocol of the supervised equipment;

[0065] The data sending module 12 is used to encrypt and send the status data to the onshore front-end device through satellite communication according to the target protocol, so that the onshore front-end device can decrypt and forward the status data to the situation awareness system; the target protocol is a protocol pre-agreed between the ship front-end device and the onshore front-end device.

[0066] As can be seen from the above, in this embodiment, the status data of the supervised equipment is obtained according to the communication protocol of the supervised equipment on the ship; the status data is encrypted and sent to the onshore front-end equipment through satellite communication according to the target protocol, so that the onshore front-end equipment can forward the status data to the situation awareness system after decryption; the target protocol is a protocol pre-agreed between the ship front-end equipment and the onshore front-end equipment. It can be seen that by adding a ship front-end equipment to the ship, the ship front-end equipment obtains the status data of various equipment on the ship, and then encrypts the status data and sends it to the onshore front-end equipment according to the pre-agreed target protocol, so that the onshore front-end equipment can forward the status data to the situation awareness system, that is, the onshore front-end equipment only supports the data sent by the ship front-end equipment according to the target protocol. In this way, the data acquisition of the equipment on board can be completed under the premise that only a single external access port is opened on the shore network, and the security of the data reporting process can be guaranteed by encryption.

[0067] In some specific embodiments, the data sending module 12 may specifically include:

[0068] A slicing unit, used for slicing the status data according to a preset initial value to obtain a plurality of slicing data;

[0069] A transmission success rate determination unit, used to determine the transmission success rate of a single slice of data;

[0070] A fragmentation termination unit, configured to terminate fragmentation if the transmission success rate is greater than a preset success rate threshold;

[0071] A new fragmentation value determination unit, configured to obtain a new fragmentation value according to a preset difference based on the preset initial value if the transmission success rate is less than a preset success rate threshold;

[0072] The transmission success rate judgment unit is used to fragment the status data according to the new fragmentation value and judge the transmission success rate of the new fragmentation data until the obtained transmission success rate of the fragmentation data is greater than a preset success rate threshold.

[0073] In some specific embodiments, the ship data acquisition device based on satellite communication may specifically include:

[0074] A dynamic sharding condition judgment unit, configured to judge whether the status data meets the dynamic sharding condition according to a monomer data size threshold after sharding the status data according to a preset initial value;

[0075] A dynamic slicing unit, configured to execute the operation of slicing the status data according to the preset initial values ​​if the dynamic slicing condition is met;

[0076] The slicing unit is used to slice the status data directly according to a preset slicing value if the dynamic slicing condition is not met.

[0077] In some specific embodiments, the data sending module 12 may specifically include:

[0078] The multi-threaded sending unit is used to encrypt and send the sliced ​​data to the onshore front-end equipment through satellite communication by using multiple threads.

[0079] In some specific embodiments, the ship data acquisition device based on satellite communication may specifically include:

[0080] The preprocessing unit is used to preprocess the status data of the supervised device after acquiring the status data; the preprocessing includes data screening and data completion.

[0081] In some specific embodiments, the data sending module 12 may specifically include:

[0082] A cache unit, used for caching the status data into a persistent queue;

[0083] A reading unit, used for reading target status data from the persistent queue in sequence according to a first-in-first-out order, and encrypting and sending the target status data to an onshore front-end device through satellite communication according to a target protocol;

[0084] The deleting unit is used to determine whether the target status data is sent successfully, and if successful, delete the target status data from the persistent queue.

[0085] In some specific embodiments, the data sending module 12 may specifically include:

[0086] a transmission success rate judging unit, used for judging the transmission success rate of the status data;

[0087] A direct sending unit, configured to directly send the status data to the onshore front-end device if the transmission success rate is greater than a preset success rate threshold;

[0088] A compression unit is used to compress the status data if the transmission success rate is less than a preset success rate threshold, and send the compressed data to the onshore front-end device.

[0089] Furthermore, an embodiment of the present application also discloses an electronic device, as shown in FIG7 . The content in the figure cannot be regarded as any limitation on the scope of use of the present application.

[0090] FIG7 is a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the ship data collection method based on satellite communication disclosed in any of the aforementioned embodiments.

[0091] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0092] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system 221, a computer program 222, and data 223 including status data, etc. The storage method can be temporary storage or permanent storage.

[0093] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, so as to realize the operation and processing of the massive data 223 in the memory 22 by the processor 21, and it can be Windows Server, Netware, Unix, Linux, etc. In addition to including computer programs that can be used to complete the ship data collection method based on satellite communication performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include computer programs that can be used to complete other specific tasks.

[0094] Furthermore, an embodiment of the present application also discloses a computer storage medium, in which computer executable instructions are stored. When the computer executable instructions are loaded and executed by a processor, the steps of the ship data collection method based on satellite communication disclosed in any of the aforementioned embodiments are implemented.

[0095] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0096] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0097] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0098] The above is a detailed introduction to a ship data collection method, device, equipment and storage medium based on satellite communication provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A ship data collection method based on satellite communication, characterized in that: Ship front equipment used in ships, including: Acquiring status data of the supervised equipment according to the communication protocol of the supervised equipment on the ship; The status data is encrypted and sent to the onshore front-end device via satellite communication according to the target protocol, so that the onshore front-end device can decrypt and forward the status data to the situation awareness system; the target protocol is a protocol pre-agreed between the ship front-end device and the onshore front-end device.

2. The method for collecting ship data based on satellite communication according to claim 1, characterized in that: The step of encrypting and sending the status data to the onshore front-end equipment via satellite communication according to the target protocol comprises: Slice the status data according to a preset initial value to obtain a plurality of sliced ​​data; Determine the transmission success rate of a single slice of data; If the transmission success rate is greater than a preset success rate threshold, then the fragmentation is terminated; If the transmission success rate is less than a preset success rate threshold, a new fragmentation value is obtained according to a preset difference based on the preset initial value; The status data is segmented according to the new segmentation value, and the transmission success rate of the new segmented data is determined until the obtained transmission success rate of the segmented data is greater than a preset success rate threshold.

3. The method for collecting ship data based on satellite communication according to claim 2, characterized in that: Before slicing the status data according to the preset initial value, the method further includes: Determining whether the status data meets the dynamic sharding condition according to the monomer data size threshold; If the dynamic sharding condition is met, the operation of sharding the status data according to the preset initial value is performed; If the dynamic sharding condition is not met, the status data is directly sharded according to the preset sharding value.

4. The method for collecting ship data based on satellite communication according to claim 2, characterized in that: The step of encrypting and sending the status data to the onshore front-end equipment via satellite communication according to the target protocol comprises: The sliced ​​data is encrypted and sent to the onshore front-end equipment via satellite communication using multi-threading.

5. The method for collecting ship data based on satellite communication according to claim 1, characterized in that: After obtaining the status data of the supervised device, the method further includes: The status data is preprocessed; the preprocessing includes data screening and data completion.

6. The method for collecting ship data based on satellite communication according to claim 1, characterized in that: The step of encrypting and sending the status data to the onshore front-end equipment via satellite communication according to the target protocol comprises: Cache the status data in a persistent queue; Reading the target status data from the persistent queue in a first-in-first-out order, and encrypting and sending the target status data to the onshore front-end device through satellite communication according to the target protocol; It is determined whether the target status data is sent successfully, and if so, the target status data is deleted from the persistent queue.

7. The method for collecting ship data based on satellite communication according to any one of claims 1 to 6, characterized in that: The step of encrypting and sending the status data to the onshore front-end equipment via satellite communication according to the target protocol comprises: determining a transmission success rate of the status data; If the transmission success rate is greater than a preset success rate threshold, the status data is directly sent to the onshore front-end device; If the transmission success rate is less than a preset success rate threshold, the status data is compressed and the compressed data is sent to the onshore front-end device.

8. A ship data acquisition device based on satellite communication, characterized in that: Ship front equipment used in ships, including: A data acquisition module, used to acquire status data of the supervised equipment on the ship according to the communication protocol of the supervised equipment; The data sending module is used to encrypt and send the status data to the onshore front-end device through satellite communication according to the target protocol, so that the onshore front-end device can forward the status data to the situation awareness system after decryption; the target protocol is a protocol pre-agreed between the ship front-end device and the onshore front-end device.

9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, used to execute the computer program to implement the ship data collection method based on satellite communication as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein when the computer programs are executed by the processor, the ship data collection method based on satellite communication as described in any one of claims 1 to 7 is implemented.