Ship communication method and device, terminal server and UPF gateway

By adding terminal communication type data to the ship communication terminal and directly determining the terminal server using the UPF gateway, combined with the efficient data processing of the 5G network, the problems of large delay and low efficiency of ship communication are solved, and faster communication and more efficient data transmission between ships are achieved.

CN120499173APending Publication Date: 2025-08-15WUHAN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510666960.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-22
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

The existing marine communication technology has problems of large delays and low efficiency, especially in terms of large bandwidth data transmission and multimedia interaction requirements, and VHF/HF communication is easily eavesdropped and has low security.

Method used

By adding terminal communication type data when building communication messages in the ship communication terminal, and directly determining the terminal server using the UPF gateway, the message subject resolution steps are reduced, and combined with the efficient data processing capabilities of the 5G network, communication efficiency and delay are improved.

Benefits of technology

It realizes faster communication message transmission, reduces ship communication delay, improves transmission efficiency and security, and adapts to networking methods between different ships to optimize communication networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120499173A_ABST
    Figure CN120499173A_ABST
Patent Text Reader

Abstract

The invention discloses a ship communication method, a ship communication device, a terminal server, a UPF gateway and a computer readable storage medium, and relates to the field of ship communication. The ship communication method is applied to a ship communication terminal and comprises the steps that communication data are acquired according to a communication type, a communication message is constructed according to the communication type and the communication data, and the communication message comprises terminal communication type data corresponding to the communication type and a communication message body comprising the communication data; the communication message is sent to a UPF gateway, the terminal communication type data is used for determining a terminal server corresponding to the terminal communication type data after being read by the UPF gateway, and the communication message is used for being sent to the terminal server by the UPF gateway. The technical problems of large delay and low efficiency of ship communication in the prior art are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of ship communication technology, and in particular to a ship communication method, a ship communication device, a terminal server, a UPF gateway, and a computer-readable storage medium. Background Art

[0002] Satellite communications are currently one of the most commonly used communication methods for ships. Typical systems include Inmarsat, Iridium, and VSAT (Very Small Aperture Terminal). They enable global communication and support voice, data, and video transmission, making them suitable for scenarios such as ocean voyages and maritime emergency rescue. However, satellite communications are expensive, especially for high-bandwidth data transmission (such as high-definition video and remote monitoring). Furthermore, because signals must be relayed via satellite, communication latency is significant, making it difficult to meet the requirements of low-latency, high-real-time collaborative operations.

[0003] VHF (Very High Frequency) and HF (High Frequency) radio communications are another traditional method of communication between ships, primarily used for short-range voice communications. VHF is suitable for coastal and port areas, while HF can achieve longer-range communication but typically relies on relay stations or direct wave propagation. However, VHF / HF cannot support large-scale data transmission, making it difficult to meet the multimedia needs of modern ships, such as file sharing, video calls, and remote control. Furthermore, VHF / HF communications are susceptible to eavesdropping, resulting in lower security and the possibility of information being accessed by unauthorized third parties.

[0004] Therefore, existing ship communication technology has many defects, mainly including large delays and low efficiency. Summary of the Invention

[0005] In view of this, it is necessary to provide a ship communication method, a ship communication device, a terminal server, a UPF gateway and a computer-readable storage medium to solve the technical problems of large delay and low efficiency in ship communication in the prior art.

[0006] In order to solve the above technical problems, on the first aspect, the present application provides a ship communication method, which is applied to a ship communication terminal, and the ship communication method includes: obtaining communication data according to the communication type, and constructing a communication message according to the communication type and the communication data, the communication message including terminal communication type data corresponding to the communication type and a message body including the communication data; sending the communication message to the UPF gateway, the terminal communication type data is used to be read by the UPF gateway to determine the terminal server corresponding to the terminal communication type data, and the communication message is used to be sent to the terminal server by the UPF gateway.

[0007] Compared with the related art, in the ship communication method provided in the embodiment of the present application, when constructing a communication message, the ship communication terminal determines the terminal communication type data corresponding to the communication type of this communication process, and adds the terminal communication type data to the communication message. After sending the communication message to the UPF gateway, the UPF gateway can directly determine the corresponding terminal server based on the terminal communication type data, and then send the communication message to the corresponding terminal server, thereby eliminating the need to parse the message body. Compared with obtaining the address of the terminal server from the message body in the related art, directly determining the corresponding terminal server based on the terminal communication type data can more quickly determine the terminal server corresponding to the communication message. Faster determination of the terminal server can faster transmit the communication message, thereby improving the transmission efficiency of the communication message and reducing the delay of the communication process. In addition, the ship communication terminal sends the communication message to the UPF gateway for forwarding. As one of the core gateways in the 5G network, the UPF gateway has strong data processing capabilities, which can further improve the forwarding efficiency of the communication message, reduce the forwarding delay of the communication message, further improve the ship communication efficiency, and reduce the delay of the ship communication process.

[0008] In an optional embodiment, before acquiring communication data according to the communication type, the ship communication method further includes: receiving a 5G signal and converting the 5G signal into a ship network, wherein the ship network is used to connect to the communication equipment on the ship. After receiving the 5G signal, the ship communication terminal converts the 5G signal into the ship network and connects to the communication equipment on the ship. The high communication efficiency and high data processing capability of the 5G signal can make the communication process of the communication equipment on the ship smoother. Combined with the high forwarding efficiency of the UPF gateway, this further improves the efficiency of ship communication and reduces the delay of the ship communication process.

[0009] In an optional embodiment, the terminal communication type includes a networking application type, the communication data includes navigation data of the ship, and the ship communication method further includes: receiving a networking notification message sent by the terminal server, the networking notification message being generated by the terminal server based on the networking application type and the navigation data, the networking notification message including a networking ship and a networking method determined based on the networking application type and the navigation data; and establishing a ship communication local area network with the networking ship based on the networking method. By determining the networking ship and the networking method based on the navigation data of the ship, corresponding ship local area networks can be established according to different networking methods based on the positional relationships and communication requirements between different ships to carry out inter-ship communication. A local area network established with a more appropriate networking method is more compatible with the actual communication status of the ship. A more compatible communication network can further improve the efficiency of ship communication and reduce delays in the ship communication process.

[0010] In the second aspect, an embodiment of the present application provides a ship communication method, which is applied to a terminal server, and the ship communication method includes: receiving a communication message sent by a ship communication terminal, the communication message including terminal communication type data and a message body, and the message body including the communication data of the ship communication terminal; determining the communication type of the communication message according to the terminal communication type data; generating a reply message according to the communication type and the communication data, the reply message including reply communication type data corresponding to the communication type and a message body including the reply data; sending the reply message to the UPF gateway, the reply communication type data is used to be read by the UPF gateway to determine the ship communication terminal, and the reply message is used to be sent to the ship communication terminal by the UPF gateway.

[0011] Compared with the related art, in the ship communication method provided in the embodiment of the present application, the terminal server generates corresponding reply communication type data according to the terminal communication type data in the communication message, and adds the reply communication type data to the reply message. After sending the reply message to the UPF gateway, the UPF gateway can directly locate the corresponding ship communication terminal according to the reply communication type data in the reply message, without the need to parse the message body in the reply message, and locate the ship communication terminal corresponding to the reply message faster, and determine faster that the ship communication terminal can transmit the reply message faster, thereby improving the transmission efficiency of the reply message and further reducing the delay of the communication process; in addition, the ship communication terminal sends the communication message to the UPF gateway for forwarding. As one of the core gateways in the 5G network, the UPF gateway has strong data processing capabilities, which can further improve the forwarding efficiency of the reply message, reduce the forwarding delay of the reply message, further improve the ship communication efficiency, and reduce the delay of the ship communication process.

[0012] In an optional embodiment, the terminal communication type includes a networking application type, the communication data includes navigation data of the ship, and the ship communication method further includes: constructing a networking notification message based on the navigation data, the networking notification message including the networking ship and networking method determined based on the networking application type and the navigation data; and sending the networking notification message to the ship communication terminal. After determining the networking ship and networking method based on the navigation data of the ship and sending the networking notification message to the ship communication terminal, the ship communication terminal can establish corresponding ship local area networks based on different networking methods according to the location relationships and communication requirements between different ships to conduct inter-ship communication. The local area network established with a more appropriate networking method is more compatible with the actual communication status of the ship. A more compatible communication network can further improve the efficiency of ship communication and reduce delays in the ship communication process.

[0013] In the third aspect, an embodiment of the present application provides a ship communication method, which is applied to a UPF gateway, and the ship communication method includes: receiving a communication message sent by a ship communication terminal, the communication message including terminal communication type data and a message body corresponding to the communication type, reading the terminal communication type data in the communication message, determining the terminal server corresponding to the terminal communication type data, and sending the communication message to the terminal server; and / or, receiving a reply message sent by the terminal server, the reply message including reply communication type data and a reply message body corresponding to the communication type, reading the reply communication type data in the reply message, determining the ship communication terminal corresponding to the reply communication type data in the reply message, and sending the reply message to the ship communication terminal.

[0014] Compared with the related art, in the ship communication method provided in the embodiment of the present application, after the UPF gateway receives the communication message sent by the ship communication terminal, the communication message includes terminal communication type data corresponding to the communication type, and directly determines the terminal server corresponding to the communication message according to the terminal communication type data, and then sends the communication message to the corresponding terminal server, thereby eliminating the need to parse the message body. Compared with obtaining the address of the terminal server from the message body in the related art, directly determining the terminal server corresponding to it according to the terminal communication type data can more quickly determine the terminal server corresponding to the communication message; or, after receiving the reply message sent by the terminal server, the UPF gateway can determine the terminal server corresponding to the communication message according to the terminal communication type data in the reply message. The reply communication type data directly locates the corresponding ship communication terminal without parsing the message body in the reply message, and locates the ship communication terminal corresponding to the reply message more quickly; the faster determination of the terminal server and the ship communication terminal can transmit communication messages and reply messages more quickly, thereby improving the transmission efficiency of communication messages and reply messages and reducing the delay in the communication process; in addition, the ship communication terminal sends the communication message to the UPF gateway for forwarding. As one of the core gateways in the 5G network, the UPF gateway has strong data processing capabilities, which can further improve the forwarding efficiency of the communication message, reduce the forwarding delay of the communication message, further improve the ship communication efficiency, and reduce the delay in the ship communication process.

[0015] In the fourth aspect, an embodiment of the present application provides a ship communication device, comprising: a communication data acquisition module, the communication data acquisition module is used to acquire communication data according to the communication type; a ship message construction module, the ship message construction module is used to construct a communication message according to the communication type and the communication data, the communication message including terminal communication type data corresponding to the communication type and a message body including the communication data; a ship communication module, the ship communication module is used to send the communication message to the UPF gateway, the terminal communication type data is used to be read by the UPF gateway to determine the terminal server corresponding to the terminal communication type data, and the communication message is used to be sent to the terminal server by the UPF gateway.

[0016] In the fifth aspect, an embodiment of the present application provides a terminal server, comprising: a server communication module, the server communication module being used to receive communication messages sent by a ship communication terminal, the communication message comprising terminal communication type data and a message body, the message body comprising the communication data of the ship communication terminal; a server message construction module, the server message construction module being used to determine the communication type of the communication message according to the terminal communication type data, and to generate a reply message according to the communication type and the communication data, the reply message comprising reply communication type data corresponding to the communication type and a message body comprising the reply data; the server communication module is also used to send the reply message to the UPF gateway, the reply communication type data being used to be read by the UPF gateway to determine the ship communication terminal, and the reply message being used to be sent to the ship communication terminal by the UPF gateway.

[0017] In the sixth aspect, an embodiment of the present application provides a UPF gateway, comprising: a gateway communication module, the gateway communication module being used to receive a communication message sent by a ship communication terminal, the communication message including terminal communication type data and a message body corresponding to the communication type; a server determination module, the server determination module being used to determine a terminal server corresponding to the terminal communication type data, and send the communication message to the terminal server; and / or, the gateway communication module being used to receive a reply message sent by the terminal server, the reply message including reply communication type data and a reply message body corresponding to the communication type, the server determination module being used to determine the ship communication terminal corresponding to the reply communication type data in the reply message, and send the reply message to the ship communication terminal.

[0018] In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium for storing computer-readable programs or instructions, which, when executed by a processor, can implement the aforementioned ship communication method. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 A schematic flow chart of a ship communication method applied to a ship communication terminal provided in an embodiment of the present application; Figure 2 A schematic diagram of the message structure provided in an embodiment of the present application; Figure 3 A flow chart of a ship communication method applied to a terminal server provided in an embodiment of the present application; Figure 4 A flow chart of a ship communication method applied to a UPF terminal provided in an embodiment of the present application; Figure 5 A schematic diagram of the structure of a ship communication terminal provided in an embodiment of the present application; Figure 6 A schematic diagram of the structure of the terminal server provided in an embodiment of the present application; Figure 7 A schematic diagram of the structure of the UPF terminal provided in an embodiment of the present application; Figure 8 A schematic diagram of the structure of the UPF gateway provided in an embodiment of the present application. DETAILED DESCRIPTION

[0021] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.

[0022] In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more. "And / or" describes the association relationship between associated objects, indicating that three relationships can exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone.

[0023] The terms "first," "second," and so on, used in the embodiments of this application are for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, technical features designated as "first" or "second" may explicitly or implicitly include at least one such feature.

[0024] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0025] The present application provides a ship communication method, a ship communication device, a terminal server, a UPF gateway and a computer-readable storage medium, which are described below respectively.

[0026] Please refer to Figure 1 The present application provides a ship communication method, which is applied to a ship communication terminal. The ship communication terminal is a communication terminal installed on a ship communication device and used to communicate with other ships, cloud devices, servers, and other electronic equipment on the ship. The ship communication method provided in this embodiment specifically includes the following steps: Step S101: Acquire communication data according to the communication type, and construct a communication message according to the communication type and the communication data.

[0027] In this step, the communication type can be specifically classified according to the purpose of the communication. For example, the communication type can be divided into a registration type, a login type, a networking type, and other different communication types according to the purpose of the communication.

[0028] Acquiring communication data based on the communication type specifically involves acquiring the relevant data required for the current communication based on the current communication type. For example, when the communication type is registration, the corresponding communication data may include the device number, device type, ship MMSI, Chinese ship name, ship identification number, ship call sign, ship IMO, ship type, shipping company, application server IP address, and application server TCP connection port. The terminal server can then complete the registration process for the ship communication terminal, i.e., the ship, based on this communication data related to ship registration.

[0029] Furthermore, the communication message may specifically include terminal communication type data corresponding to the communication type and a communication message body including the communication data, wherein the terminal communication type data is used to identify the corresponding terminal server. In this step, constructing the communication message based on the communication type and communication data may specifically include determining the terminal communication type data corresponding to the communication type of the current communication process based on a preset correspondence between the communication type and the terminal communication type data, and using the communication data of the current communication process as the communication message body of the communication message. After determining the terminal communication type data and the communication message body, the terminal communication type data and the communication message body may be respectively entered into corresponding positions in the message according to a pre-set message format.

[0030] Furthermore, in an embodiment of the present application, the communication data may also include relevant data of other communication devices on the ship that are connected to the ship communication terminal. The ship communication terminal and other communication devices can be connected through the 5G network, and then the communication process between other communication devices and the server can be forwarded through the ship communication terminal. Specifically, the ship communication terminal can receive a 5G signal, convert the 5G signal into a ship network, and after the communication equipment on the ship is connected to the ship communication terminal through the ship network, the ship communication terminal communicates with the server. After receiving the 5G signal, the ship communication terminal converts the 5G signal into a ship network and connects it to the communication equipment on the ship. The high communication efficiency and high data processing capability of the 5G signal can make the communication process of the communication equipment on the ship smoother, and cooperate with the high forwarding efficiency of the UPF gateway to further improve the ship communication efficiency and reduce the delay of the ship communication process.

[0031] Please refer to Figure 2 , Figure 2 It is a pre-set message format, which may include a magic code part, a check code part, a message length part, a type part, and a message body part.

[0032] The magic word part is used to identify the unit to which the message belongs, such as the unit to which the ship communication terminal belongs, the unit to which the ship belongs, etc.

[0033] A check code is a code used to check whether an error occurred during the transmission of a message. In the embodiments of the present application, "parity check code", "cyclic redundancy check code" and the like may be specifically used. The parity check code adds a parity bit to the message to make the number of 1s in the binary bits of the entire message an odd or even number. The receiver determines whether there is an error based on the parity of the received message. If the parity of the received message does not match the expected one, it indicates that an error may have occurred during the transmission process. The cyclic redundancy check code generates a check code by performing a polynomial operation on the message. After the receiver receives the message, it uses the same polynomial to perform the operation. If the remainder is zero, it indicates that there was no error in the message during transmission; otherwise, it indicates that an error occurred in the message.

[0034] The type part is used to record the terminal communication type data determined in the embodiment of this application. The type part is independent of the message body, and the subsequent UPF gateway can directly read the terminal communication type data of the communication message from the type part.

[0035] The communication message body is the part of the communication message that stores the communication data. The communication data that the current communication message needs to transmit is stored in the communication message body. After the terminal server or other ship communication terminal receives the communication message, it can parse the message body to complete the ship communication process between the ship communication terminal and the terminal server or between ships.

[0036] In an embodiment of the present application, there are certain differences between the communication data corresponding to different communication types. Different entries in the communication data can be stored in different fields in the communication message body, and the field names, field types and number of bytes between different fields can be different.

[0037] Specifically, taking the registration process of a ship communication terminal as an example, the communication type of the registration process is the registration type. Based on this, the communication data obtained according to the communication type can specifically obtain data such as the device number, device type, ship MMSI, Chinese ship name, ship identification number, ship call sign, ship IMO, ship type, shipping company, application server IP, application server TCP connection port, etc. On this basis, a registration application message is constructed, and its specific structure can be: Message type: registration application message, terminal communication type data: 0x00000001.

[0038] Message flow direction: ship communication terminal to terminal server (UPF forwarding).

[0039] The registration application message format is as follows: Figure 2 As shown, the main part of the message is as follows:

[0040] On this basis, after receiving the registration application message, the UPF gateway can determine the corresponding terminal server based on the terminal communication type data and send the registration application message to the terminal server. After receiving the registration application message, the terminal server can generate a corresponding registration reply message. The communication data corresponding to the registration reply message can specifically include: reply device number, reply device type, and registration result. Based on this, the specific structure of the registration reply message can be: Message type: Registration reply message, reply communication type data: 0x00000002.

[0041] Message flow: terminal server to ship communication terminal (UPF forwarding).

[0042] The registration application message format is as follows: Figure 2 As shown, the main part of the message is as follows:

[0043] Taking the login process of a ship communication terminal as an example, it may specifically include the following steps: The communication type of the communication process during the login process is the login type. Based on this, the communication data obtained according to the communication type can specifically obtain the login authentication message header, the unique code of the ship communication terminal equipment, the CPE IP / unique code, the application server address and other data. On this basis, the login application message is constructed, and its specific structure can be: Message type: login application message, terminal communication type data: 0x00000003.

[0044] Message flow direction: ship communication terminal to terminal server (UPF forwarding).

[0045] The registration application message format is as follows: Figure 2 As shown, the main part of the message is as follows:

[0046] Correspondingly, after receiving the login request message, the terminal server can generate a corresponding login reply message. The communication data corresponding to the login reply message may specifically include: reply device number, reply device type, and login result. Based on this, the specific structure of the login reply message can be: Message type: Login reply message, reply communication type data: 0x00000004.

[0047] Message flow: terminal server to ship communication terminal (UPF forwarding).

[0048] The format of the login application message is as follows: Figure 2 As shown, the main part of the message is as follows:

[0049] Taking the ship communication LAN establishment process of the ship communication terminal as an example, it may specifically include the following messages: Message type: Network request message, reply communication type data: 0x00000005.

[0050] Message flow: terminal server to ship communication terminal (UPF forwarding).

[0051] The format of the login application message is as follows: Figure 2 As shown, the main part of the message is as follows, including the device number, device type, token, networking requirements, networking strategy, networking threshold, application server IP, and application server TCP connection port:

[0052] Message type: Network reply message, reply communication type data: 0x00000006.

[0053] Message flow: terminal server to ship communication terminal (UPF forwarding).

[0054] The format of the login application message is as follows: Figure 2 As shown, the main part of the message is as follows, including the reply device number, reply device type, networking result, group number, and reply device number:

[0055] Message type: Network notification message, terminal communication type data: 0x00000006.

[0056] Message flow: terminal server to ship communication terminal (UPF forwarding).

[0057] The format of the login application message is as follows: Figure 2 As shown, the main part of the message is as follows, including the initiator device number, the queue of other group member device numbers, and the group number:

[0058] Message type: Exit group request message, terminal communication type data: 0x00000008.

[0059] Message flow: ship communication terminal to UPF forwarded to terminal server.

[0060] The format of the login application message is as follows: Figure 2 As shown, the message body is as follows, including device number, device type, token, group number, application server IP, and application server TCP connection port:

[0061] Message type: Terminal server-exit group reply message.

[0062] Terminal communication type data: 0x00000009.

[0063] Message flow: terminal server to UPF forwarded to ship communication terminal.

[0064] The format of the login application message is as follows: Figure 2 As shown, the main part of the message is as follows, including the reply device number, reply device type, and networking results:

[0065] Message type: Terminal server-vessel exit group notification message Terminal communication type data: 0x00000010.

[0066] Message flow: terminal server to UPF forwarded to ship communication terminal.

[0067] The format of the login application message is as follows: Figure 2 As shown, the main part of the message is as follows, including the equipment number queue of other group members, group number, MMSI of the exiting ship, and call sign of the exiting ship:

[0068] Message type: Ship communication terminal-disband group request message.

[0069] Terminal communication type data: 0x00000011.

[0070] Message flow: ship communication terminal to UPF forwarded to terminal server.

[0071] The format of the login application message is as follows: Figure 2 As shown, the message body is as follows, including device number, device type, token, group number, application server IP, and application server TCP connection port:

[0072] Message type: Terminal server-disband group reply message.

[0073] Terminal communication type data: 0x00000012.

[0074] Message flow: terminal server to UPF forwarded to ship communication terminal.

[0075] The format of the login application message is as follows: Figure 2 As shown, the main part of the message is as follows, including the device number, device type, and networking results:

[0076] Message type: Terminal server-group disbanding notification message.

[0077] Terminal communication type data: 0x00000013.

[0078] Message flow: terminal server to UPF forwarded to ship communication terminal.

[0079] The format of the login application message is as follows: Figure 2 As shown, the main part of the message is as follows, including the queue of device numbers of other group members and the group number:

[0080] Step S102: Send the communication message to the UPF gateway.

[0081] In this step, after constructing the communication message, the ship communication terminal sends it to the UPF (User Plane Function) gateway. The UPF gateway is the functional entity in the 5G core network responsible for user plane data processing and transmission. It primarily handles tasks such as packet forwarding, routing, and QoS (Quality of Service) control between user equipment (UE) and the external data network (DN). In this embodiment of the present application, the UPF gateway is specifically used to forward messages between the ship communication terminal and the terminal server.

[0082] After the UPF gateway receives the communication message, since the communication message includes terminal communication type data, the UPF gateway can directly read the terminal communication type data from the type portion of the communication message, then determine the corresponding terminal server based on the terminal communication type data, and send the communication message to the terminal server. Specifically, in an embodiment of the present application, a correspondence between terminal servers and communication types is pre-set, where the communication type can be specifically identified by the terminal communication type data, and the terminal server can be identified by the terminal server address. That is, a correspondence between the terminal communication type data and the terminal server address is pre-set. The UPF gateway can directly determine the terminal server address corresponding to the terminal communication type data through the pre-set correspondence, and send the communication message to the terminal server based on the terminal server address.

[0083] Compared with the related art, in the ship communication method provided in the embodiment of the present application, when constructing a communication message, the ship communication terminal determines the terminal communication type data corresponding to the communication type of this communication process, and adds the terminal communication type data to the communication message. After sending the communication message to the UPF gateway, the UPF gateway can directly determine the corresponding terminal server based on the terminal communication type data, and then send the communication message to the corresponding terminal server, thereby eliminating the need to parse the message body. Compared with obtaining the address of the terminal server from the message body in the related art, directly determining the corresponding terminal server based on the terminal communication type data can more quickly determine the terminal server corresponding to the communication message. Faster determination of the terminal server can faster transmit the communication message, thereby improving the transmission efficiency of the communication message and reducing the delay of the communication process. In addition, the ship communication terminal sends the communication message to the UPF gateway for forwarding. As one of the core gateways in the 5G network, the UPF gateway has strong data processing capabilities, which can further improve the forwarding efficiency of the communication message, reduce the forwarding delay of the communication message, further improve the ship communication efficiency, and reduce the delay of the ship communication process.

[0084] Furthermore, in an embodiment of the present application, in addition to communicating with a terminal server, a ship communication terminal can also communicate with other ship communication terminals. Before communicating with other ship communication terminals, the terminal can also network with other ship communication terminals through the terminal server to establish a ship communication local area network for inter-ship communication. When a ship communication terminal establishes a ship communication local area network, the terminal communication type is the network application type, and the communication data includes the ship's navigation data. The ship communication terminal can send a network request message to the terminal server, and the network request message includes the ship's navigation data. After receiving the ship's navigation data, the terminal server can generate a network notification message based on the navigation data of each ship. The network notification message includes the networked ship and the networking method determined based on the network application type and the navigation data.

[0085] Specifically, for example, the terminal server can calculate which ships can effectively communicate based on each ship's real-time location. For example, when two ships are within a 5-kilometer range, they can be networked via a UPF gateway, reducing latency and bandwidth consumption. The terminal server can also continuously update the ship's location and, based on these locations, determine which ships can exchange data. Furthermore, the terminal server can determine the networking method based on other ship attributes (such as ship type, mission requirements, and affiliation). In this approach, the terminal server analyzes the specific needs and capabilities of each ship and determines which ships can form a ship communication local area network. For example, some ships may need to share navigation information, while others may need to share weather data. Attribute-based networking can better allocate network resources and communication links based on the needs of different ships.

[0086] After receiving the networking notification message sent by the terminal server, the ship communication terminal can establish a ship communication local area network with the networking ship based on the networking mode in the networking notification message.

[0087] Please refer to Figure 3 The embodiment of the present application also provides a ship communication method, which is applied to a terminal server and specifically includes the following steps: Step S201: receiving a communication message sent by a ship communication terminal, wherein the communication message includes terminal communication type data and a reply message body, and the reply message body includes communication data of the ship communication terminal.

[0088] Step S202: Determine the communication type of the communication message according to the terminal communication type data.

[0089] Step S203: Generate a reply message according to the communication type and the communication data, the reply message including reply communication type data corresponding to the communication type and a reply message body including the reply data.

[0090] Step S204: Send the reply message to the UPF gateway. The reply communication type data is used to be read by the UPF gateway to determine the ship communication terminal. The reply message is used to be sent to the ship communication terminal by the UPF gateway.

[0091] Compared with the related art, in the ship communication method provided in the embodiment of the present application, the terminal server generates corresponding reply communication type data according to the terminal communication type data in the communication message, and adds the reply communication type data to the reply message. After sending the reply message to the UPF gateway, the UPF gateway can directly locate the corresponding ship communication terminal according to the reply communication type data in the reply message, without the need to parse the message body in the reply message, and locate the ship communication terminal corresponding to the reply message faster, and determine faster that the ship communication terminal can transmit the reply message faster, thereby improving the transmission efficiency of the reply message and further reducing the delay of the communication process; in addition, the ship communication terminal sends the communication message to the UPF gateway for forwarding. As one of the core gateways in the 5G network, the UPF gateway has strong data processing capabilities, which can further improve the forwarding efficiency of the reply message, reduce the forwarding delay of the reply message, further improve the ship communication efficiency, and reduce the delay of the ship communication process.

[0092] The terminal communication type includes a networking application type, and the communication data includes the ship's navigation data. The ship communication method further includes: constructing a networking notification message based on the navigation data, the networking notification message including the networking ship and networking method determined based on the networking application type and the navigation data; and sending the networking notification message to the ship communication terminal. After determining the networking ship and networking method based on the ship's navigation data and sending the networking notification message to the ship communication terminal, the ship communication terminal can establish a corresponding ship local area network based on different networking methods according to the location relationship and communication requirements of different ships to conduct inter-ship communication. A local area network established with a more appropriate networking method is more compatible with the actual communication status of the ship. A more compatible communication network can further improve ship communication efficiency and reduce delays in the ship communication process.

[0093] Please refer to Figure 4 The embodiment of the present application also provides a ship communication method applied to a UPF gateway, which specifically includes the following steps: Step S301: receiving a communication message sent by a ship communication terminal, where the communication message includes terminal communication type data corresponding to the communication type and a message body.

[0094] Step S302: Read the terminal communication type data in the communication message, determine the terminal server corresponding to the terminal communication type data, and send the communication message to the terminal server.

[0095] Compared with the related art, in the ship communication method provided in the embodiment of the present application, after the UPF gateway receives the communication message sent by the ship communication terminal, the communication message includes terminal communication type data corresponding to the communication type. The terminal server corresponding to the communication message is directly determined according to the terminal communication type data, and then the communication message is sent to the corresponding terminal server, so there is no need to parse the message body. Compared with obtaining the address of the terminal server from the message body in the related art, directly determining the corresponding terminal server according to the terminal communication type data can determine the terminal server corresponding to the communication message more quickly; faster determination of the terminal server can transmit communication messages and reply messages faster, thereby improving the transmission efficiency of communication messages and reply messages, and reducing the delay of the communication process; in addition, the ship communication terminal sends the communication message to the UPF gateway for forwarding. As one of the core gateways in the 5G network, the UPF gateway has strong data processing capabilities, which can further improve the forwarding efficiency of communication messages, reduce the forwarding delay of communication messages, further improve the ship communication efficiency, and reduce the delay of the ship communication process.

[0096] It is understandable that the UPF gateway can not only forward the communication message sent by the ship communication terminal to the terminal server, but also forward the reply message sent by the terminal server to the ship communication terminal. Figure 5 , the UPF gateway forwards the reply message sent by the terminal server to the ship communication terminal, specifically including the following steps: Step S401: receiving a reply message sent by a terminal server, where the reply message includes reply communication type data corresponding to the communication type and a reply message body.

[0097] Step S402: reading the reply communication type data in the reply message, determining the ship communication terminal corresponding to the reply communication type data in the reply message, and sending the reply message to the ship communication terminal.

[0098] Compared with the related art, in the ship communication method provided in the embodiment of the present application, after the UPF gateway receives the reply message sent by the terminal server, the UPF gateway can directly locate the corresponding ship communication terminal according to the reply communication type data in the reply message, without the need to parse the message body in the reply message, and locate the ship communication terminal corresponding to the reply message more quickly; the terminal server and the ship communication terminal can be determined more quickly, so that the communication message and reply message can be transmitted more quickly, thereby improving the transmission efficiency of the communication message and reply message and reducing the delay in the communication process.

[0099] Please refer to Figure 6, an embodiment of the present application also provides a ship communication device, specifically including: a communication data acquisition module 100, the communication data acquisition module 100 is used to obtain communication data according to the communication type; a ship message construction module 200, the ship message construction module 200 is used to construct a communication message according to the communication type and communication data, the communication message includes terminal communication type data corresponding to the communication type and a message body including the communication data, the terminal communication type data is used to calibrate the corresponding terminal server; a ship communication module 300, the ship communication module 300 is used to send the communication message to the UPF gateway, the terminal communication type data is used to be read by the UPF gateway and then determine the terminal server corresponding to the terminal communication type data, and the communication message is used to be sent to the terminal server by the UPF gateway.

[0100] Please refer to Figure 7 , an embodiment of the present application also provides a terminal server, specifically including: a server communication module 400, the server communication module 400 is used to receive a communication message sent by a ship communication terminal, the communication message includes terminal communication type data and a message body, and the message body includes the communication data of the ship communication terminal; a server message construction module 500, the server message construction module 500 is used to determine the communication type of the communication message according to the terminal communication type data, and generate a reply message according to the communication type and the communication data, the reply message includes reply communication type data corresponding to the communication type and a message body including the reply data; the server communication module 400 is also used to send the reply message to the UPF gateway, the reply communication type data is used to be read by the UPF gateway to determine the ship communication terminal, and the reply message is used to be sent to the ship communication terminal by the UPF gateway.

[0101] Please refer to Figure 8 , an embodiment of the present application also provides a UPF gateway, specifically including: a gateway communication module 600, the gateway communication module 600 is used to receive a communication message sent by a ship communication terminal, the communication message includes terminal communication type data and a message body corresponding to the communication type; a server determination module 700, the server determination module 700 is used to determine the terminal server corresponding to the terminal communication type data, and send the communication message to the terminal server; and / or, the gateway communication module 600 is used to receive a reply message sent by the terminal server, the reply message includes reply communication type data and a reply message body corresponding to the communication type, the server determination module 700 is used to determine the ship communication terminal corresponding to the reply communication type data in the reply message, and send the reply message to the ship communication terminal.

[0102] An embodiment of the present application further provides a computer-readable storage medium, which is used to store computer-readable programs or instructions. When the program or instructions are executed by a processor, the steps or functions of the magnetic resonance image optimization method provided by the above-mentioned method embodiments can be implemented.

[0103] Those skilled in the art will appreciate that all or part of the process flow of the above-described method embodiment can be implemented by instructing related hardware (such as a processor, controller, etc.) through a computer program, and the computer program can be stored in a computer-readable storage medium. The computer-readable storage medium may be a magnetic disk, an optical disk, a read-only memory, or a random access memory.

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

Claims

1. A ship communication method, characterized in that: Applied to a ship communication terminal, the ship communication method includes: Acquire communication data according to the communication type, and construct a communication message according to the communication type and the communication data, wherein the communication message includes terminal communication type data corresponding to the communication type and a communication message body including the communication data; The communication message is sent to the UPF gateway, and the terminal communication type data is used to be read by the UPF gateway to determine the terminal server corresponding to the terminal communication type data, and the communication message is used to be sent to the terminal server by the UPF gateway.

2. The ship communication method according to claim 1, characterized in that: Before acquiring communication data according to the communication type, the ship communication method further includes: Receive a 5G signal and convert the 5G signal into a ship network, where the ship network is used to connect to a communication device on the ship.

3. The ship communication method according to claim 1, characterized in that: The terminal communication type includes a networking application type, the communication data includes navigation data of a ship, and the ship communication method further includes: receiving a networking notification message sent by the terminal server, the networking notification message being generated by the terminal server according to the networking application type and the navigation data, the networking notification message including a networking ship and a networking mode determined according to the networking application type and the navigation data; A ship communication local area network is established based on the networking mode and the networking ships.

4. A ship communication method, characterized in that: Applied to a terminal server, the ship communication method includes: receiving a communication message sent by a ship communication terminal, wherein the communication message includes terminal communication type data and a reply message body, and the reply message body includes communication data of the ship communication terminal; Determining the communication type of the communication message according to the terminal communication type data; generating a reply message according to the communication type and the communication data, the reply message including reply communication type data corresponding to the communication type and a reply message body including reply data; The reply message is sent to the UPF gateway, the reply communication type data is used to be read by the UPF gateway to determine the ship communication terminal, and the reply message is used to be sent to the ship communication terminal by the UPF gateway.

5. The ship communication method according to claim 4, characterized in that: The terminal communication type includes a networking application type, the communication data includes navigation data of a ship, and the ship communication method further includes: Constructing a networking notification message according to the navigation data, wherein the networking notification message includes a networking ship and a networking mode determined according to the networking application type and the navigation data; The networking notification message is sent to the ship communication terminal.

6. A ship communication method, characterized in that: Applied to the UPF gateway, the ship communication method includes: receiving a communication message sent by a ship communication terminal, the communication message including terminal communication type data corresponding to the communication type and a communication message body, reading the terminal communication type data in the communication message, determining a terminal server corresponding to the terminal communication type data, and sending the communication message to the terminal server; And / or, receiving a reply message sent by the terminal server, the reply message including reply communication type data corresponding to the communication type and a reply message body, reading the reply communication type data in the reply message, determining the ship communication terminal corresponding to the reply communication type data in the reply message, and sending the reply message to the ship communication terminal.

7. A ship communication device, characterized in that: include: A communication data acquisition module, configured to acquire communication data according to the communication type; a ship message construction module, the ship message construction module being configured to construct a communication message according to the communication type and the communication data, the communication message comprising terminal communication type data corresponding to the communication type and a message body comprising the communication data; A ship communication module, wherein the ship communication module is used to send the communication message to the UPF gateway, the terminal communication type data is used to be read by the UPF gateway to determine the terminal server corresponding to the terminal communication type data, and the communication message is used to be sent to the terminal server by the UPF gateway.

8. A terminal server, characterized in that: include: a server communication module, the server communication module being configured to receive a communication message sent by a ship communication terminal, the communication message including terminal communication type data and a message body, the message body including communication data of the ship communication terminal; a server message construction module, the server message construction module being configured to determine a communication type of the communication message according to the terminal communication type data, and to generate a reply message according to the communication type and the communication data, the reply message including reply communication type data corresponding to the communication type and a message body including the reply data; The server communication module is also used to send the reply message to the UPF gateway, the reply communication type data is used to be read by the UPF gateway to determine the ship communication terminal, and the reply message is used to be sent to the ship communication terminal by the UPF gateway.

9. A UPF gateway, characterized in that: include: A gateway communication module, the gateway communication module being configured to receive a communication message sent by a ship communication terminal, the communication message including terminal communication type data corresponding to the communication type and a message body; A server determination module, the server determination module is used to determine a terminal server corresponding to the terminal communication type data, and send the communication message to the terminal server; And / or, the gateway communication module is used to receive a reply message sent by the terminal server, the reply message includes reply communication type data corresponding to the communication type and a reply message body, and the server determination module is used to determine the ship communication terminal corresponding to the reply communication type data in the reply message, and send the reply message to the ship communication terminal.

10. A computer-readable storage medium, characterized in that Used to store computer-readable programs or instructions, which, when executed by a processor, can implement the ship communication method described in any one of claims 1 to 6.