A network adaptive method and system for ship communication
By identifying and classifying communication nodes, optimizing gateway configuration and routing selection, the problem of insufficient adaptability of multi-protocol integration and dynamic environment in the marine communication system is solved, and efficient and reliable multi-protocol data communication is achieved, which improves overall performance and stability .
Patent Information
- Application Number
- CN202411000568.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-07-25
AI Technical Summary
The existing marine communication systems have shortcomings in multi-protocol integration and dynamic environment adaptability, and cannot effectively meet the data communication needs of different network protocols, resulting in complex link layer structure and instability of protocol layer.
By identifying and classifying communication nodes of different protocols, optimizing gateway configuration, and using adaptive routing algorithms to dynamically select transmission paths, comprehensively considering transmission requirements, bandwidth, energy consumption and protocol switching overhead, optimizing gateway configuration and routing selection.
It realizes seamless integration and compatibility of multiple protocols, improves data transmission efficiency, reduces latency and packet loss rate, optimizes network performance and resource utilization, extends equipment service life, and ensures system stability and reliability.
Smart Images

Figure CN118555204B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network technology, and in particular to a network adaptation method, system, electronic device and non-transient computer-readable storage medium for ship communication. Background Art
[0002] Nowadays, in the ship communication system, the most basic and largest part is the various communication devices and sensors at the front end. These devices and sensors are deployed in large numbers at various locations on the ship in various ways, forming a distributed communication node network. These nodes collect and transmit data through different network transmission methods, such as satellite communication, radio communication, Wi-Fi, Bluetooth, etc. Since different communication devices and sensors have different network protocols and transmission methods, technology development companies must build different transmission gateways at the front end to meet their respective needs when applying these devices for data collection. For example, the current ship communication gateway can initially solve the problem of data transmission of different devices. For example, a single satellite communication gateway can build a front-end satellite communication network to solve the problem of data collection and transmission. Similarly, there are radio communication gateways, Wi-Fi gateways, and Bluetooth gateways.
[0003] However, since the integration of multiple protocols will cause the complexity of the link layer structure and the instability of the protocol layer, and the adaptive ability is low, the current ship communication products can only integrate gateway devices of two network protocols at most. With the development of technology, the communication equipment and sensors on the ship will come from different networks. To achieve data communication of these different network protocols, it is not possible to simply integrate them. This involves the routing and adaptive communication of network data with different protocols. The existing methods cannot meet the ever-changing communication needs and environment.
[0004] Therefore, how to implement an adaptive ship communication method to cope with the data transmission requirements of different network protocols in ship communication systems has become a problem that needs to be solved urgently. Summary of the invention
[0005] In view of the technical problems existing in the prior art, the present invention provides a network adaptation method, system, electronic device and non-transitory computer-readable storage medium for ship communication that can realize an efficient, reliable and adaptive ship communication network solution.
[0006] The technical solution of the present invention to solve the above technical problems is as follows:
[0007] The present invention provides a network adaptation method for ship communication, the method comprising:
[0008] According to different communication protocols and sensor types, each communication node on the ship is identified and classified to form a communication node set;
[0009] Analyzing the transmission requirements of each of the communication nodes in the communication node set; the transmission requirements include data type, frequency and bandwidth requirements;
[0010] According to the transmission requirements, an optimized gateway is configured to form a gateway set, wherein each gateway supports a corresponding protocol set;
[0011] Determine the transmission path between different communication nodes through adaptive routing algorithm;
[0012] Calculating the link cost of each link in the transmission path;
[0013] The gateway set is optimized according to the link cost to obtain an optimized gateway configuration set, and communication is performed according to the optimized gateway configuration set.
[0014] Optionally, configuring an optimized gateway according to the transmission requirement to form a gateway set includes:
[0015] Obtaining data transmission requirements of each of the communication nodes;
[0016] Obtaining the bandwidth requirement of each of the communication nodes;
[0017] According to the data transmission requirement and the bandwidth requirement, the constraint conditions of the gateway set are configured to form the gateway set.
[0018] Optionally, the constraint conditions for configuring the gateway set include:
[0019] ;
[0020] ;
[0021] in, N j To connect to the gateway g j The node set of D i is the i-th communication node n i data transmission needs, B i is the i-th communication node n i The bandwidth requirement, C j For Gateway g j The maximum data processing capacity of Wj For Gateway g j The maximum bandwidth capacity.
[0022] Optionally, determining the transmission path between different communication nodes by using an adaptive routing algorithm includes:
[0023] Obtain the transmission requirements of each link on the path between each communication node;
[0024] Obtain link bandwidth between each communication node;
[0025] Obtain the protocol switching overhead between each communication node;
[0026] A transmission path between different communication nodes is determined according to the transmission requirement, the link bandwidth and the protocol switching overhead.
[0027] Optionally, the transmission paths between different communication nodes include:
[0028] ;
[0029] in, R ij From the communication node n i arrive n j The transmission path, D ij For communication nodes n i and n j The transmission requirements of each link on the path between B ij For communication nodes n i and n j The link bandwidth between P ij For communication nodes n i and n j The protocol switching overhead between α is the first weight.
[0030] Optionally, the calculating the link cost of each link in the transmission path includes:
[0031] Obtaining the transmission requirements of each link on the path between the communication nodes;
[0032] Obtaining the link bandwidth between each of the communication nodes;
[0033] Obtaining link energy consumption between each of the communication nodes;
[0034] Acquire the protocol switching overhead between each of the communication nodes;
[0035] The transmission requirements, link bandwidth, link energy consumption and protocol switching overhead between the communication nodes are weighted and summed to obtain the link cost of each link in the transmission path.
[0036] Optionally, the link cost is expressed as:
[0037] ;
[0038] in, Cost ij For communication nodes n i and n j The link cost between D ij For communication nodes n i and n j The transmission requirements of each link on the path between B ij For communication nodes n i and n j The link bandwidth between E ij For communication nodes n i and n j The link energy consumption between P ij For communication nodes n i and n j The protocol switching overhead between γ , δ , ε They are the second weight, the third weight and the fourth weight, respectively, reflecting the influence of different factors on the link cost.
[0039] Optionally, optimizing the gateway set according to the link cost to obtain an optimized gateway configuration set includes:
[0040] Obtaining the link cost of each of the communication nodes at a preset time;
[0041] Obtaining the operation cost of each of the gateways;
[0042] Based on the link cost of each of the communication nodes at a preset time and the operation overhead of each of the gateways, an optimized gateway configuration set is obtained.
[0043] Optionally, the optimized gateway configuration set is expressed as:
[0044] ;
[0045] in, G’ ( t ) is the optimized gateway configuration set at time t, Cost i ( t ) is the communication node n i The link cost at the preset time t, O j ( t ) is the gateway g j The operating cost of β is the fifth weight coefficient.
[0046] The present invention also provides a network adaptive system for ship communication, the system comprising:
[0047] A data acquisition module is used to identify and classify various communication nodes on the ship according to different communication protocols and sensor types to form a communication node set;
[0048] A demand analysis module, used to analyze the transmission demand of each of the communication nodes in the communication node set; the transmission demand includes data type, frequency and bandwidth requirements;
[0049] A gateway configuration module, configured to configure an optimized gateway according to the transmission requirements to form a gateway set; wherein each gateway supports a corresponding protocol set;
[0050] A path determination module, used to determine the transmission paths between different communication nodes through an adaptive routing algorithm;
[0051] A cost calculation module, used to calculate the link cost of each link in the transmission path;
[0052] The gateway optimization module is used to optimize the gateway set according to the link cost to obtain an optimized gateway configuration set, and communicate according to the optimized gateway configuration set.
[0053] In addition, to achieve the above objectives, the present invention also proposes an electronic device, comprising: a memory for storing a computer software program; a processor for reading and executing the computer software program, thereby implementing a network adaptation method for ship communication as described above.
[0054] In addition, to achieve the above-mentioned purpose, the present invention also proposes a non-transitory computer-readable storage medium, in which a computer software program is stored. When the computer software program is executed by a processor, a network adaptation method for ship communication as described above is implemented.
[0055] The beneficial effects of the present invention are:
[0056] (1) The present invention can simultaneously support multiple communication protocols, such as satellite communication, radio communication, Wi-Fi, and Bluetooth, by identifying and classifying communication nodes of different protocols and optimizing gateway configuration, thus achieving seamless integration and compatibility of multiple protocols;
[0057] (2) The present invention adopts an adaptive routing algorithm to dynamically select the optimal transmission path according to the transmission requirements of the nodes and the network status, which greatly improves the data transmission efficiency and reduces data delay and packet loss rate;
[0058] (3) The present invention comprehensively considers factors such as transmission requirements, bandwidth, energy consumption, and protocol switching overhead to ensure the selection of the link with the lowest cost, thereby optimizing the transmission performance and resource utilization of the entire network;
[0059] (4) The present invention can dynamically adjust the mechanism based on the actual network status and node energy consumption, optimize gateway configuration and routing selection in real time, effectively reduce the energy consumption of nodes and gateways, and extend the service life of the equipment;
[0060] (5) The present invention can adaptively respond to changes in network environment and communication requirements, ensuring the stability and reliability of the system, especially in the complex and dynamically changing ship communication environment;
[0061] (6) The present invention reduces the complexity of the link layer structure and the instability of the protocol layer caused by multi-protocol integration by optimizing the gateway configuration, simplifies the system structure, and reduces maintenance and management costs.
[0062] In summary, the present invention provides an efficient, reliable and adaptive ship communication network solution, which overcomes the shortcomings of existing methods in multi-protocol integration and dynamic environment adaptability, and can significantly improve the overall performance of the ship communication system. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 A scene diagram of a network adaptation method for ship communications provided by the present invention.
[0064] Figure 2 A flow chart of a network adaptation method for ship communications provided by the present invention.
[0065] Figure 3 A schematic structural diagram of a network adaptive system for ship communications provided by the present invention.
[0066] Figure 4 A schematic diagram of the hardware structure of a possible electronic device provided by the present invention.
[0067] Figure 5 A schematic diagram of the hardware structure of a possible computer-readable storage medium provided by the present invention. DETAILED DESCRIPTION
[0068] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 those skilled in the art without creative work are within the scope of protection of the present invention.
[0069] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0070] In the description of the present invention, the term "for example" is used to mean "used as an example, illustration or description". Any embodiment described as "for example" in the present invention is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is given to enable any technician in the field to implement and use the present invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present invention can be implemented without using these specific details. In other examples, well-known structures and processes will not be elaborated in detail to avoid obscuring the description of the present invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present invention.
[0071] See also Figure 1 , Figure 1 A scene diagram of a network adaptive method for ship communication provided by the present invention. Figure 1As shown, the terminal and the server are connected via a network, such as a wired or wireless network connection. The terminal may include but is not limited to portable terminals such as mobile phones and tablets installed with various network platform applications, as well as fixed terminals such as computers, query machines, and advertising machines. The server provides users with various business services, including service push servers, user recommendation servers, etc.
[0072] It should be noted that Figure 1 The scenario diagram of a network adaptation method for ship communication shown is only an example. The terminal, server and application scenario described in the embodiment of the present invention are for more clearly illustrating the technical solution of the embodiment of the present invention, and do not generate limitations on the technical solution provided by the embodiment of the present invention. Ordinary technicians in this field can know that with the evolution of the system and the emergence of new business scenarios, the technical solution provided by the embodiment of the present invention is also applicable to similar technical problems.
[0073] Among them, the terminal can be used for:
[0074] According to different communication protocols and sensor types, each communication node on the ship is identified and classified to form a communication node set;
[0075] Analyzing the transmission requirements of each of the communication nodes in the communication node set; the transmission requirements include data type, frequency and bandwidth requirements;
[0076] According to the transmission requirements, an optimized gateway is configured to form a gateway set, wherein each gateway supports a corresponding protocol set;
[0077] Determine the transmission path between different communication nodes through adaptive routing algorithm;
[0078] Calculating the link cost of each link in the transmission path;
[0079] The gateway set is optimized according to the link cost to obtain an optimized gateway configuration set, and communication is performed according to the optimized gateway configuration set.
[0080] See also Figure 2 , provides a flow chart of a network adaptation method for ship communication of the present invention, comprising the following steps:
[0081] Step 201: Identify and classify each communication node on the ship according to different communication protocols and sensor types to form a communication node set.
[0082] In some embodiments, there are multiple different communication protocols and sensor types on the ship. The communication protocol may cover multiple technologies such as radio communication, satellite communication, and local area network communication, each of which has its own specific transmission characteristics and requirements. The sensor type covers various monitoring and control devices, such as radar, GPS, and cameras, which also have different requirements and characteristics in data collection and transmission.
[0083] For each communication device and sensor on the ship, it is necessary to identify the communication protocol used and the characteristics of its data transmission. This process involves investigating and analyzing each device or sensor to determine the communication protocols they support, data transmission requirements (such as transmission rate, bandwidth requirements), frequency (data update frequency), and possible protocol switching overhead.
[0084] Through identification and classification, the various communication devices and sensors on the ship can be organized into a set of communication nodes. Each node in this set has a specific identifier and supported communication protocol. For example, node 1 may use a satellite communication protocol for high-speed data transmission, while node 2 may use a local area network communication protocol to communicate with local devices with low latency.
[0085] By identifying and classifying communication nodes, the system can manage and allocate communication resources more effectively. For example, for different protocols and sensor types, appropriate transmission gateways and paths can be selected to maximize data transmission efficiency and bandwidth utilization. In addition, protocol switching overhead can be reduced by optimizing gateway configuration and path selection, thereby improving the performance and reliability of the overall system.
[0086] In summary, the present invention can identify and classify the communication nodes on the ship, which is an important step in the ship communication network adaptation method. It provides a basis for subsequent optimization and management, ensuring that the communication system can achieve efficient data transmission and resource utilization under a variety of protocols and device types.
[0087] Step 202: Analyze the transmission requirements of each of the communication nodes in the communication node set; the transmission requirements include data type, frequency and bandwidth requirements.
[0088] In some embodiments, data type refers to the nature and type of data that each communication node needs to transmit. In ship communications, data types may include text, images, videos, and real-time data collected by sensors (such as environmental monitoring data, hull sensor data, etc.). Different types of data have different requirements for transmission. For example, video requires higher bandwidth and stable transmission rate, while text data is relatively simple.
[0089] The transmission frequency refers to how often or how often data is sent from each communication node to the receiving end. Some nodes may need to transmit data in real time, such as a video stream from a surveillance camera, while other nodes may only need to send periodic updates, such as environmental sensor data once an hour. The frequency of transmission affects the communication system's management of data processing and bandwidth requirements.
[0090] The bandwidth requirement represents the minimum bandwidth required by each communication node when transmitting data. The bandwidth requirement of a communication node depends on the amount of data it transmits and the transmission rate. For example, high-definition video transmission requires a higher bandwidth to ensure smooth playback and high-quality image transmission; while simple text data can use a lower bandwidth.
[0091] By analyzing the transmission requirements of each communication node, the system can more accurately plan and configure communication resources, including selecting appropriate transmission paths and gateways to meet the needs of different nodes. This helps optimize bandwidth utilization, reduce system latency, and ensure stable operation of the ship's communication system under a variety of data types and transmission frequencies.
[0092] Step 203: According to the transmission requirements, configure optimized gateways to form a gateway set.
[0093] Among them, each gateway supports a corresponding set of protocols.
[0094] In some embodiments, step 203 may include:
[0095] Obtaining data transmission requirements of each of the communication nodes;
[0096] Obtaining the bandwidth requirement of each of the communication nodes;
[0097] According to the data transmission requirement and the bandwidth requirement, the constraint conditions of the gateway set are configured to form the gateway set.
[0098] In some embodiments, the constraints for configuring the gateway set include:
[0099] ;
[0100] ;
[0101] in, N j To connect to the gateway g j The node set of D i is the i-th communication node n i data transmission needs, B iis the i-th communication node n i The bandwidth requirement, C j For Gateway g j The maximum data processing capacity of the gateway g j The upper limit of the total amount of data that can be processed per unit time, W j For Gateway g j The maximum bandwidth capacity of the gateway g j The maximum data transfer rate that can be supported.
[0102] In the specific implementation, To connect to the gateway g j A collection of nodes N j All nodes in n i The sum of the data transmission requirements of the gateway. This inequality ensures that the gateway g j It can handle the data transmission needs of all nodes connected to it, avoiding data loss or delay caused by insufficient data processing capacity. Indicates connection to the gateway g j A collection of nodes N j All nodes in n i The inequality ensures that the gateway g j The bandwidth resources of a network can meet the bandwidth requirements of all nodes connected to it, preventing insufficient bandwidth from causing slow data transmission rate or data loss.
[0103] In some embodiments, the various communication nodes on the vessel are first identified and classified, and a determination is made as to which nodes will be connected to each gateway. g j These nodes may be grouped according to their communication protocols, sensor types, or geographic locations. n i , its data transmission requirements and bandwidth requirements need to be analyzed in detail. These requirements may depend on the type of data, frequency and amount of data that the node needs to transmit. These parameters should be determined based on the specific hardware capabilities and design specifications of the ship communication system. They are key factors to ensure system performance and need to be accurately estimated in the design phase or dynamically adjusted in actual operation.
[0104] Through the above constraints, the present invention can effectively configure each gateway in the ship communication network to maximize the performance and reliability of the system, while ensuring that the data transmission requirements of each node are met, thereby optimizing the operating efficiency of the entire communication system.
[0105] Step 204: Determine the transmission paths between different communication nodes through an adaptive routing algorithm.
[0106] In some embodiments, step 204 may include:
[0107] Obtain the transmission requirements of each link on the path between each communication node;
[0108] Obtain link bandwidth between each communication node;
[0109] Obtain the protocol switching overhead between each communication node;
[0110] A transmission path between different communication nodes is determined according to the transmission requirement, the link bandwidth and the protocol switching overhead.
[0111] In some embodiments, the transmission path between different communication nodes includes:
[0112] ;
[0113] in, R ij From the communication node n i arrive n j The transmission path, D ij For communication nodes n i and n j The transmission requirements of each link on the path between B ij For communication nodes n i and n j The link bandwidth between P ij For communication nodes n i and n j The protocol switching overhead between α is the first weight.
[0114] In the specific implementation, Represents the transmission demand of each link on path R D ij and bandwidthB ij Transmission requirements D ij It means connecting on path R n i and n j The data transmission demand between B ij is the available bandwidth on the link. By minimizing this term, the path is selected to maximize the efficiency of data transmission.
[0115] is the total protocol switching overhead on path R P ij The protocol switching overhead refers to the additional overhead caused by using different communication protocols on the path, such as the calculation or forwarding delay required for protocol conversion. By minimizing this term, path selection can reduce the additional transmission delay or resource consumption caused by protocol switching.
[0116] α is the first weight, which is used to balance the importance of transmission demand and protocol switching overhead in path selection. α , the focus of path selection can be adjusted according to specific circumstances, such as paying more attention to transmission efficiency or reducing performance loss caused by protocol switching.
[0117] therefore, R ij The choice of not only takes into account the transmission requirements and bandwidth on the path, but also the protocol switching overhead. By weighing these factors, the data transmission path between nodes in the entire communication system is optimized, thereby improving the efficiency and performance of the system.
[0118] Step 205: Calculate the link cost of each link in the transmission path.
[0119] In some embodiments, step 205 may include:
[0120] Obtaining the transmission requirements of each link on the path between the communication nodes;
[0121] Obtaining the link bandwidth between each of the communication nodes;
[0122] Obtaining link energy consumption between each of the communication nodes;
[0123] Acquire the protocol switching overhead between each of the communication nodes;
[0124] The transmission requirements, link bandwidth, link energy consumption and protocol switching overhead between the communication nodes are weighted and summed to obtain the link cost of each link in the transmission path.
[0125] In some embodiments, the link cost is expressed as:
[0126] ;
[0127] in, Cost ij For communication nodes n i and n j The link cost between D ij For communication nodes n i and n j The transmission requirements of each link on the path between B ij For communication nodes n i and n j The link bandwidth between E ij For communication nodes n i and n j The link energy consumption between P ij For communication nodes n i and n j The protocol switching overhead between γ , δ , ε They are the second weight, the third weight and the fourth weight, respectively, reflecting the influence of different factors on the link cost.
[0128] In the specific implementation, Indicates the transmission requirements of the link D ij and bandwidth B ij The ratio multiplied by the weight coefficient γ Transmission requirements D ij It means connecting on the path n i and n j The data transmission demand between B ij is the bandwidth available on the link. This term reflects the efficiency and cost of the link in terms of data transmission.
[0129] δE ijRepresentative link n i arrive n j Energy consumption E ij Multiply by the weight factor δ . Link energy consumption E ij Refers to the amount of energy consumed in the process of transmitting data, which can include electricity consumption or other forms of energy consumption. This term takes into account the cost of the link in terms of energy utilization and environmental impact.
[0130] εP ij Yes Link n i arrive n j Protocol switching overhead P ij Multiply by the weight factor ε . Protocol switching overhead P ij Represents the additional overhead caused by using different communication protocols on the path, such as the calculation or transmission delay required for protocol conversion. This term measures the cost of the link in terms of communication protocol conversion and efficiency.
[0131] In the above manner, the present invention comprehensively considers various cost factors of the link in terms of data transmission efficiency, energy consumption, and protocol switching overhead. The weight coefficient can be adjusted according to actual conditions to reflect the importance and influence of different factors on the link cost. This comprehensive link cost evaluation method helps to optimize the performance and resource utilization efficiency of the entire ship communication network during path selection and gateway configuration.
[0132] Step 206: Optimize the gateway set according to the link cost to obtain an optimized gateway configuration set, and communicate according to the optimized gateway configuration set.
[0133] In some embodiments, step 206 may include:
[0134] Obtaining the link cost of each of the communication nodes at a preset time;
[0135] Obtaining the operation cost of each of the gateways;
[0136] Based on the link cost of each of the communication nodes at a preset time and the operation overhead of each of the gateways, an optimized gateway configuration set is obtained.
[0137] In some embodiments, the optimized gateway configuration set is represented as:
[0138] ;
[0139] in, G’ ( t ) is the optimized gateway configuration set at time t, Cost i ( t ) is the communication node n i The link cost at the preset time t, O j ( t ) is the gateway g j The operating cost of β is the fifth weight coefficient.
[0140] In the specific implementation, represents the link cost of all nodes N Cost i ( t ). Link cost Cost i ( t ) is the evaluation node n i The cost of the link to other nodes usually includes factors such as transmission efficiency, energy consumption, and protocol switching overhead. This item reflects the overall cost of the entire network in terms of data transmission and energy consumption.
[0141] is the operation cost of all gateways G O j ( t ) multiplied by the weight coefficient β Operational overhead O j ( t ) refers to the gateway g j The cost of operation and maintenance within time t, which can include energy consumption, maintenance personnel costs, etc. This item takes into account the operation and maintenance costs of each gateway in the network.
[0142] See also Figure 3 , Figure 3 A schematic structural diagram of a network adaptive system for ship communications provided by the present invention.
[0143] like Figure 3 As shown, a network adaptive system for ship communication proposed in an embodiment of the present invention includes:
[0144] The data acquisition module 301 is used to identify and classify each communication node on the ship according to different communication protocols and sensor types to form a communication node set;
[0145] The demand analysis module 302 is used to analyze the transmission demand of each communication node in the communication node set; the transmission demand includes data type, frequency and bandwidth requirements;
[0146] The gateway configuration module 303 is used to configure the optimized gateway according to the transmission requirements to form a gateway set; each gateway supports a corresponding protocol set;
[0147] A path determination module 304 is used to determine the transmission path between different communication nodes through an adaptive routing algorithm;
[0148] The cost calculation module 305 is used to calculate the link cost of each link in the transmission path;
[0149] The gateway optimization module 306 is used to optimize the gateway set according to the link cost to obtain an optimized gateway configuration set, and communicate according to the optimized gateway configuration set.
[0150] See also Figure 4 , Figure 4 Schematic diagram of an electronic device provided by an embodiment of the present invention. Figure 4 As shown, an embodiment of the present invention provides an electronic device 400, including a memory 410, a processor 420, and a computer program 411 stored in the memory 410 and executable on the processor 420. When the processor 420 executes the computer program 411, the following steps are implemented:
[0151] According to different communication protocols and sensor types, each communication node on the ship is identified and classified to form a communication node set;
[0152] Analyzing the transmission requirements of each of the communication nodes in the communication node set; the transmission requirements include data type, frequency and bandwidth requirements;
[0153] According to the transmission requirements, an optimized gateway is configured to form a gateway set, wherein each gateway supports a corresponding protocol set;
[0154] Determine the transmission path between different communication nodes through adaptive routing algorithm;
[0155] Calculating the link cost of each link in the transmission path;
[0156] The gateway set is optimized according to the link cost to obtain an optimized gateway configuration set, and communication is performed according to the optimized gateway configuration set.
[0157] See also Figure 5 , Figure 5A schematic diagram of an embodiment of a computer-readable storage medium provided in an embodiment of the present invention. Figure 5 As shown, this embodiment provides a computer-readable storage medium 500, on which a computer program 411 is stored. When the computer program 411 is executed by a processor, the following steps are implemented:
[0158] According to different communication protocols and sensor types, each communication node on the ship is identified and classified to form a communication node set;
[0159] Analyzing the transmission requirements of each of the communication nodes in the communication node set; the transmission requirements include data type, frequency and bandwidth requirements;
[0160] According to the transmission requirements, an optimized gateway is configured to form a gateway set, wherein each gateway supports a corresponding protocol set;
[0161] Determine the transmission path between different communication nodes through adaptive routing algorithm;
[0162] Calculating the link cost of each link in the transmission path;
[0163] The gateway set is optimized according to the link cost to obtain an optimized gateway configuration set, and communication is performed according to the optimized gateway configuration set.
[0164] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0165] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0166] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A system that specifies the functions of a box or multiple boxes.
[0167] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction system, which is implemented in the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0168] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0169] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0170] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A network adaptation method for ship communication, characterized in that: The method comprises: According to different communication protocols and sensor types, each communication node on the ship is identified and classified to form a communication node set; Analyzing the transmission requirements of each of the communication nodes in the communication node set; the transmission requirements include data type, frequency and bandwidth requirements; According to the transmission requirements, an optimized gateway is configured to form a gateway set, wherein each gateway supports a corresponding protocol set; Determine the transmission path between different communication nodes through adaptive routing algorithm; Calculating the link cost of each link in the transmission path; Optimizing the gateway set according to the link cost to obtain an optimized gateway configuration set, and communicating according to the optimized gateway configuration set; The configuring an optimized gateway according to the transmission requirement to form a gateway set includes: Obtaining data transmission requirements of each of the communication nodes; Obtaining the bandwidth requirement of each of the communication nodes; According to the data transmission requirement and the bandwidth requirement, configuring the constraint conditions of the gateway set to form the gateway set; The constraints for configuring the gateway set include: ; ; in, N j To connect to the gateway g j The node set of D i is the i-th communication node n i data transmission needs, B i is the i-th communication node n i The bandwidth requirement, C j For Gateway g j The maximum data processing capacity of W j For Gateway g j Maximum bandwidth capacity; Determining the transmission paths between different communication nodes by using an adaptive routing algorithm includes: Obtain the transmission requirements of each link on the path between each communication node; Obtain link bandwidth between each communication node; Obtain the protocol switching overhead between each communication node; Determining a transmission path between different communication nodes according to the transmission demand, the link bandwidth and the protocol switching overhead; The transmission paths between different communication nodes include: ; in, R ij From the communication node n i arrive n j The transmission path, D ij For communication nodes n i and n j The transmission requirements of each link on the path between B ij For communication nodes n i and n j The link bandwidth between P ij For communication nodes n i and n j The protocol switching overhead between α is the first weight; The calculating the link cost of each link in the transmission path includes: Obtaining the transmission requirements of each link on the path between the communication nodes; Obtaining the link bandwidth between each of the communication nodes; Obtaining link energy consumption between each of the communication nodes; Acquire the protocol switching overhead between each of the communication nodes; Performing weighted summation on the transmission requirements, link bandwidth, link energy consumption and protocol switching overhead between the communication nodes to obtain the link cost of each link in the transmission path; The link cost is expressed as: ; in, Cost ij For communication nodes n i and n j The link cost between D ij For communication nodes n i and n j The transmission requirements of each link on the path between B ij For communication nodes n i and n j The link bandwidth between E ij For communication nodes n i and n j The link energy consumption between P ij For communication nodes n i and n j The protocol switching overhead between γ , δ , ε They are the second weight, the third weight and the fourth weight, respectively, reflecting the influence of different factors on the link cost.
2. The network adaptation method for ship communication according to claim 1, characterized in that: The step of optimizing the gateway set according to the link cost to obtain an optimized gateway configuration set includes: Obtaining the link cost of each of the communication nodes at a preset time; Obtaining the operation cost of each of the gateways; Based on the link cost of each of the communication nodes at a preset time and the operation overhead of each of the gateways, an optimized gateway configuration set is obtained.
3. The network adaptation method for ship communication according to claim 1 or 2, characterized in that: The optimized gateway configuration set is expressed as: ; in, G’ ( t ) is the optimized gateway configuration set at time t, Cost i ( t ) is the communication node n i The link cost at the preset time t, O j ( t ) is the gateway g j The operating cost of β is the fifth weight coefficient.
4. A network adaptive system for ship communication, characterized in that: The system comprises: A data acquisition module is used to identify and classify various communication nodes on the ship according to different communication protocols and sensor types to form a communication node set; A demand analysis module, used to analyze the transmission demand of each of the communication nodes in the communication node set; the transmission demand includes data type, frequency and bandwidth requirements; A gateway configuration module, configured to configure an optimized gateway according to the transmission requirements to form a gateway set; wherein each gateway supports a corresponding protocol set; A path determination module, used to determine the transmission paths between different communication nodes through an adaptive routing algorithm; A cost calculation module, used to calculate the link cost of each link in the transmission path; A gateway optimization module, used to optimize the gateway set according to the link cost, obtain an optimized gateway configuration set, and communicate according to the optimized gateway configuration set; The configuring an optimized gateway according to the transmission requirement to form a gateway set includes: Obtaining data transmission requirements of each of the communication nodes; Obtaining the bandwidth requirement of each of the communication nodes; According to the data transmission requirement and the bandwidth requirement, configuring the constraint conditions of the gateway set to form the gateway set; The constraints for configuring the gateway set include: ; ; in, N j To connect to the gateway g j The node set of D i is the i-th communication node n i data transmission needs, B i is the i-th communication node n i The bandwidth requirement, C j For Gateway g j The maximum data processing capacity of W j For Gateway g j Maximum bandwidth capacity; Determining the transmission paths between different communication nodes by using an adaptive routing algorithm includes: Obtain the transmission requirements of each link on the path between each communication node; Obtain link bandwidth between each communication node; Obtain the protocol switching overhead between each communication node; Determining a transmission path between different communication nodes according to the transmission demand, the link bandwidth and the protocol switching overhead; The transmission paths between different communication nodes include: ; in, R ij From the communication node n i arrive n j The transmission path, D ij For communication nodes n i and n j The transmission requirements of each link on the path between B ij For communication nodes n i and n j The link bandwidth between P ij For communication nodes n i and n j The protocol switching overhead between α is the first weight; The calculating the link cost of each link in the transmission path includes: Obtaining the transmission requirements of each link on the path between the communication nodes; Obtaining the link bandwidth between each of the communication nodes; Obtaining link energy consumption between each of the communication nodes; Acquire the protocol switching overhead between each of the communication nodes; Performing weighted summation on the transmission requirements, link bandwidth, link energy consumption and protocol switching overhead between the communication nodes to obtain the link cost of each link in the transmission path; The link cost is expressed as: ; in, For communication nodes and The link cost between For communication nodes and The transmission requirements of each link on the path between For communication nodes and The link bandwidth between For communication nodes and The link energy consumption between For communication nodes and The protocol switching overhead between They are the second weight, the third weight and the fourth weight, respectively, reflecting the influence of different factors on the link cost.
