Unmanned ship communication system in-ship unit software remote upgrading system and method
Through the multi-link communication system and intelligent serial port power supply signal switching design, the remote software upgrade of the unmanned ship communication system is realized, solving the problems of cumbersome operation and low maintenance efficiency in the existing technology, and improving the maintenance efficiency and reliability of the unmanned ship system.
Patent Information
- Application Number
- CN202510647608.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-20
- Publication Date
- 2025-08-15
AI Technical Summary
The software upgrade of the unmanned ship communication system requires disassembly of equipment and connected to the target module one by one for firmware update. The operation is cumbersome and the maintenance efficiency is low. It cannot meet the needs of remote real-time upgrades, and it is easy to cause artificial errors.
By building a multi-link communication system between shore equipment and in-ship units, using broadband link transmission upgrade instructions and files, combining the combined control unit to centrally control the software upgrade of the mast transceiver unit and clock distribution unit, remote maintenance is realized, and through the intelligent serial port and power supply signal switching design, dynamically select the upgrade channel to reduce the hardware interface resource occupation.
Remote software upgrade of unmanned ship systems has been realized, maintenance efficiency and reliability have been improved, the risks of traditional disassembly and maintenance have been avoided, and the continuous operation of time synchronization functions and the stability of the upgrade process have been ensured.
Smart Images

Figure CN120496362A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of unmanned ship communications, and in particular relates to a system and method for remotely upgrading software of an onboard unit of an unmanned ship communication system. Background Art
[0002] With the rapid development of unmanned vessel technology, its communication systems are playing a vital role in ocean exploration, environmental monitoring, security patrol, and other fields. Modern unmanned vessel communication systems typically consist of onshore control equipment and an onboard communication unit. The onboard unit includes multiple functional modules, such as navigation control, data acquisition, and communication transmission. These modules are typically implemented using embedded software and require software upgrades based on mission requirements or technical optimization to ensure system stability and functional scalability. Currently, remote maintenance and software updates for unmanned vessel communication systems have become a hot topic in the industry, aiming to improve operational efficiency and reduce manual intervention costs.
[0003] In existing technology, software upgrades for unmanned vessel communication systems are typically accomplished through physical connections. Specifically, each functional module within the vessel has an independent upgrade interface. Due to limited space and interface resources within the vessel, it is not possible to centrally connect all modules to the upgrade interface. Therefore, the actual upgrade process requires disassembling the device casing, removing the target modules one by one, and performing the firmware update using a dedicated burning tool or debugger.
[0004] However, since the various functional modules on the ship are scattered in different devices and are limited by interface resources, the equipment needs to be disassembled and the target modules need to be connected one by one for firmware updates during upgrades, resulting in cumbersome operation procedures and low maintenance efficiency. At the same time, frequent physical contact can easily lead to human errors, and relying on local burning or short-distance communication cannot meet the needs of remote real-time upgrades, which seriously restricts the flexibility and operation and maintenance convenience of the unmanned ship system. Summary of the Invention
[0005] Purpose of the invention: The purpose of the present invention is to provide a remote upgrade system for the onboard unit software of an unmanned ship communication system, which can minimize the use of unmanned ship interface resources, realize remote upgrade of the onboard unit software, and improve the maintenance efficiency of the unmanned ship communication system; on the other hand, a remote upgrade method for the onboard unit software of an unmanned ship communication system is provided.
[0006] Technical solution: The onboard unit software remote upgrade system of the present invention comprises an onshore device and an onboard unit, wherein the onshore device and the onboard unit communicate via broadband, narrowband and Tiantong communication links;
[0007] The onshore equipment includes a display and control computer and a shore-based communication support device; the display and control computer is connected to the shore-based communication support device via a network port, and is used to run a remote upgrade program and send upgrade instructions and upgrade files; the shore-based communication support device includes a broadband data transmission unit, which is used to transmit upgrade instructions and upgrade files via a broadband link;
[0008] The onboard unit includes a combined control unit, a mast transceiver unit and at least one clock distribution unit; the combined control unit receives upgrade instructions and upgrade files from onshore equipment through a broadband link, and controls the software upgrade of the mast transceiver unit and the clock distribution unit; the combined control unit includes a time synchronization module for time synchronization and timing, the mast transceiver unit includes a mast information processing module, and the clock distribution unit includes a clock distribution module for realizing local synchronization of time information and external timing, wherein the time synchronization module, mast information processing module and clock distribution module are modules that can be upgraded remotely.
[0009] By building a multi-link communication system between onshore equipment and onboard units, using broadband links to efficiently transmit upgrade instructions and files, and centrally controlling the software upgrades of the mast transceiver unit and clock distribution unit by the combined control unit, the unmanned ship system can be remotely maintained without increasing the burden on the hardware interface. This significantly improves the upgrade efficiency and reliability of various functional modules on board, while maintaining the continuous operation of key functions such as time synchronization.
[0010] Preferably, the shore-based communication support equipment also includes an information processing unit, a narrowband data transmission unit, a satellite-guided skycommunication unit, a switching power supply unit, a display panel unit, an interface panel unit and a motherboard unit; the information processing unit is used to process information on narrowband, broadband and skycommunication links, and communicate with the display and control computer through the network port to complete information interaction; the narrowband data transmission unit is used to complete narrowband link communication, and is connected to the information processing unit through the serial port; the satellite-guided skycommunication unit is used to complete skycommunication link communication and positioning and navigation functions; the switching power supply unit is used to complete equipment power supply control; the display panel unit is used to complete the display of equipment status; the interface panel unit is used to provide various interface aviation plugs to the outside; the motherboard unit is used to complete the interconnection of other functional units.
[0011] By integrating shore-based communication support equipment with multi-functional modules such as information processing units, narrowband data transmission units, satellite navigation and Tiantong units, unified management and collaborative work of broadband, narrowband and Tiantong communication links are achieved, which not only ensures the efficient transmission of upgrade instructions and files, but also provides stable power supply guarantee, real-time status monitoring and flexible external interface expansion capabilities through the cooperation of switching power supply units, display panel units and interface panel units, significantly improving the overall reliability and maintenance convenience of the unmanned ship communication system.
[0012] Preferably, the mast transceiver unit also includes a narrowband data transmission module, a broadband data transmission module and a satellite-guided-intercom module. The mast information processing module is connected to the combined control unit through a network port, and is connected to the narrowband data transmission module, the broadband data transmission module and the satellite-guided-intercom module through a serial port for control and management, and is used to forward the communication data of the narrowband data transmission module and the satellite-guided-intercom module to the combined control unit; the communication network port wiring of the broadband data transmission module is directly connected to the combined control unit through the mast information processing module.
[0013] Through the integrated design of the mast transceiver unit, the mast information processing module uniformly manages the communication links of the narrowband data transmission module, broadband data transmission module and satellite navigation and sky communication module, and is directly connected to the combined control unit through the network port. It not only realizes the intelligent forwarding and centralized processing of multi-mode communication data, but also ensures the high-speed and reliable transmission of upgraded data through the direct connection design of the broadband data transmission module, which significantly improves the data transmission efficiency of the unmanned ship communication system and the stability of remote upgrades.
[0014] Preferably, the combined control unit also includes a combined information processing module, which is used to process information of broadband, narrowband and Tiantong communication links, and control the software upgrade of the mast information processing module, clock distribution module and timing module.
[0015] By combining the combined information processing module in the control unit, unified information processing of broadband, narrowband and Tiantong communication links is achieved, and the software upgrades of the mast information processing module, clock distribution module and timing module are centrally controlled. This not only ensures the efficient collaborative processing of multi-mode communication data, but also significantly improves the maintenance efficiency of various functional modules of the unmanned ship and the reliability of system operation through integrated upgrade management.
[0016] Preferably, the combined information processing module is connected to the upgrade serial ports of all functional modules to be upgraded via the first communication serial port, and controls the multi-channel serial port switch to select the target module via GPIO; wherein:
[0017] When upgrading the mast information processing module, the combined information processing module controls the GPIO to turn on the first serial port switch and turn off the second and third serial port switches;
[0018] When upgrading the time system module, the combined information processing module controls the GPIO to open the second serial port switch and close the first serial port switch and the third serial port switch;
[0019] When the clock distribution module is upgraded, the combined information processing module controls the GPIO to turn on the third serial port switch and turn off the first serial port switch and the second serial port switch.
[0020] By combining the intelligent serial port switching design of the information processing module and utilizing a single-channel communication serial port in conjunction with a multi-channel serial port switch controlled by GPIO, dynamic selection of upgrade channels for different functional modules (mast information processing module, time system module, and clock distribution module) is achieved. This not only greatly reduces the hardware interface resource usage, but also ensures the independence and reliability of the upgrade process of each module, significantly improving the flexibility and maintenance efficiency of remote upgrades of the unmanned ship system.
[0021] Preferably, the display and control computer is connected to the first network port of the information processing unit via the management network port of the interface panel unit;
[0022] The information processing unit is connected to the communication network port of the broadband data transmission unit through the second network port, and the core board of the information processing unit bridges the first network port and the second network port to realize the network switching function;
[0023] The communication network port of the broadband data transmission module is directly connected to the network port of the combined information processing module, and is used to receive upgrade instructions from the display and control computer and send upgrade feedback.
[0024] Through optimized network architecture design, efficient data interaction between the display and control computer and the onboard units is achieved: the display and control computer is connected to the information processing unit through the management network port, and the information processing unit realizes network exchange with the broadband data transmission unit through network port bridging technology. At the same time, the broadband data transmission module is directly connected to the combined information processing module, building a stable and reliable upgrade command transmission channel, which not only ensures high-speed transmission of upgrade data, but also reduces system complexity through simplified network topology, significantly improving the real-time performance and reliability of remote upgrades.
[0025] Preferably, the clock distribution unit is connected to the combined control unit via a cascade interface, the cascade interface including a first RS422 serial port signal line and a first power supply signal line, a second power supply signal line, and a third power supply signal line; the power supply signal is converted into a 3.3V control signal in the clock distribution module, which is used to control the on / off state of the fourth serial port switch, the fifth serial port switch, and the sixth serial port switch, wherein:
[0026] When the first clock distribution module is upgraded, the combined information processing module controls the GPIO to turn on the first power switch, and turn off the second and third power switches, so that the fourth serial port switch is turned on and the fifth and sixth serial port switches are turned off;
[0027] When the second clock distribution module is upgraded, the combined information processing module controls the GPIO to turn on the second power switch, and turn off the first power switch and the third power switch, so that the fifth serial port switch is turned on and the fourth serial port switch and the sixth serial port switch are turned off;
[0028] When upgrading the third clock distribution module, the combined information processing module controls the GPIO to open the third power switch and close the first and second power switches, turning on the sixth serial port switch and disconnecting the fourth and fifth serial port switches.
[0029] Through the innovative cascade interface design, a single RS422 serial port is used in conjunction with multi-channel power supply signal control to achieve intelligent selection and independent upgrade of multiple clock distribution modules: by precisely switching the power supply signal to control the switch status of each module's serial port, it not only greatly reduces the interface resource usage, but also ensures the continuous and stable operation of the clock synchronization function during the upgrade process. At the same time, the anti-interference characteristics of the RS422 level ensure the reliability of long-distance transmission, significantly improving the maintenance efficiency and upgrade security of the unmanned ship system time synchronization module.
[0030] The method for remotely upgrading the software of an onboard unit according to the present invention comprises the following steps:
[0031] (1) The display and control computer sends an upgrade instruction to the combined information processing module via a broadband link, specifying the target upgrade module;
[0032] (2) The combined information processing module controls the GPIO switching serial port and power switch according to the upgrade instruction to establish a communication path with the target upgrade module;
[0033] (3) The display and control computer sends a soft restart command, and the target upgrade module enters the BootLoader mode after restarting;
[0034] (4) The display and control computer sends the executable file through the YMODEM protocol, and the target upgrade module receives and burns the file;
[0035] (5) The target upgrade module feeds back the upgrade result, and the combined information processing module disconnects the communication path and exits the upgrade mode.
[0036] Through the intelligent remote upgrade process design, efficient and reliable maintenance of the unmanned ship system is achieved: the display and control computer sends upgrade instructions through the broadband link, the combined information processing module intelligently switches the communication path, and the target module enters the BootLoader mode after soft restart. The YMODEM protocol is used to complete file transfer and burning, and the upgrade results are finally fed back. This solution not only ensures the controllability and integrity of the upgrade process, but also realizes seamless upgrades of different functional units through modular design, significantly improving the remote maintenance efficiency and operational safety of the unmanned ship system.
[0037] Preferably, the step 2 of establishing a communication path with the target module includes:
[0038] If the target upgrade module is the mast information processing module, turn on the first serial port switch and turn off the second and third serial port switches;
[0039] If the target upgrade module is the time system module, turn on the second serial port switch and turn off the first and third serial port switches;
[0040] If the target upgrade module is a clock distribution module, turn on the third serial port switch and turn off the first and second serial port switches, and activate the corresponding power switch at the same time.
[0041] Through the intelligent serial port switch control strategy, accurate selection of upgrade paths for different functional modules is achieved: differentiated switch combination control methods are adopted for the mast information processing module, time system module and clock distribution module respectively. While ensuring the independent upgrade of each module, the system power consumption and signal interference are significantly reduced by minimizing the activation of necessary communication channels, which not only improves the reliability of the upgrade process, but also maintains the normal operation of other system functions, and effectively solves the resource conflict problem during the collaborative upgrade of multiple modules.
[0042] Preferably, the step 3 of entering the BootLoader mode includes:
[0043] If the display and control computer does not receive the restart mark of the target upgrade module within 3 seconds, it will resend the soft restart command;
[0044] After the target upgrade module sends the restart flag, if it does not receive the BootLoader command within 3 seconds, it jumps to the application;
[0045] After entering the BootLoader mode, the target upgrade module sends a waiting upgrade feedback and starts the YMODEM receiving process.
[0046] Through the intelligent BootLoader entry mechanism and the use of a dual timeout protection design (3-second command retransmission and mode automatic recovery), the reliability of the upgrade process is ensured, and the system is prevented from falling into a deadlock state due to communication anomalies: when the target module is successfully restarted, the system uses strict timing control to achieve accurate entry into the BootLoader mode, and then immediately starts the YMODEM receiving process. This fault self-recovery design significantly improves the success rate of remote upgrades, while ensuring the unmanned ship system's ability to quickly recover in the event of an upgrade anomaly.
[0047] Beneficial effects: Compared with the existing technology, the present invention has the following significant advantages: 1. By multiplexing broadband communication links and sharing serial port resources, remote upgrading of the software of each unit in the ship is realized with minimal hardware interface occupancy, which significantly improves the maintenance efficiency of the unmanned ship system and avoids the operational risks brought by traditional disassembly and maintenance; 2. The design of dynamically switching serial port switches and power supply switches is adopted to achieve independent selection and precise control of mast information processing modules, time system modules and multiple clock distribution modules, ensuring flexible upgrade capabilities under complex scenarios; 3. The upgrade process based on BootLoader mode and YMODEM protocol, combined with the timeout retransmission and status feedback verification mechanism, can effectively ensure the integrity of file transmission and the stability of the upgrade process, and reduce the risk of upgrade failure; 4. Through RS422 level signal transmission and power supply signal conversion technology, anti-interference performance and low power consumption requirements are taken into account in long-distance communication, ensuring the long-term and reliable operation of unmanned ships in complex electromagnetic environments. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 It is a system structure diagram of the present invention;
[0049] Figure 2 It is a block diagram of the system composition of the present invention;
[0050] Figure 3 This is a connection block diagram of the onshore equipment remote upgrade link of the present invention;
[0051] Figure 4 This is a block diagram of the in-vessel unit remote upgrade link connection of the present invention;
[0052] Figure 5 This is a flowchart of the remote software upgrade process for the display and control computer of the present invention;
[0053] Figure 6 This is a flowchart of the upgrade process of the combined information processing module of the present invention;
[0054] Figure 7 This is a flowchart of the upgrade process of the upgraded module of the present invention. DETAILED DESCRIPTION
[0055] The technical solution of the present invention will be further described below with reference to the accompanying drawings.
[0056] like Figure 1As shown, the onboard unit software remote upgrade system described in this invention consists of two parts: onshore equipment and an onboard unit. The onshore equipment includes a display and control computer and shore-based communication support equipment, while the onboard unit includes a mast transceiver unit, a combined control unit, and three clock distribution units. Communication between the onshore equipment and the onboard unit is possible via three communication links: broadband, narrowband, and Skycom. The proposed onboard unit software remote upgrade solution uses a broadband link to transmit upgrade instructions and files to the combined control unit, which then controls the upgrade of other unit software.
[0057] In the present invention, the display and control computer is connected to the shore-based communication support equipment through the network port, and is mainly used for displaying and managing the information of the unmanned ship communication system, and also serves as a platform for running the remote upgrade program.
[0058] like Figure 2 As shown, the shore-based communication support equipment is mainly composed of an information processing unit, a narrowband data transmission unit, a broadband data transmission unit, a satellite-guided-Skycom unit, a switching power supply unit, a display panel unit, an interface panel unit, and a motherboard unit. The information processing unit mainly completes information processing of the three communication links of narrowband, broadband, and Skycom, communicates with the display and control computer through the network port, and completes information interaction; the narrowband data transmission unit mainly completes narrowband link communication, and is connected to the information processing unit through the serial port; the broadband data transmission unit mainly completes narrowband and broadband link communication, and is connected to the information processing unit through the network port; the satellite-guided-Skycom unit mainly completes Skycom link communication and positioning and navigation functions; the switching power supply unit mainly completes equipment power supply control; the display panel unit mainly completes the display of equipment status; the interface panel unit provides various interface aviation plugs to the outside; the motherboard unit mainly completes the interconnection of other functional units. In the present invention, a broadband data transmission link is selected to transmit upgrade instructions and data, which involves the information processing unit and the broadband data transmission unit. The main function of the information processing unit is to bridge the network port of the display and control computer and the network port of the broadband data transmission unit to realize the function of network switching.
[0059] The mast transceiver unit primarily consists of a narrowband data transmission module, a broadband data transmission module, a satellite-guided-intercom module, and a mast information processing module. The mast information processing module, which requires remote upgrades, connects to the narrowband data transmission module, satellite-guided-intercom module, and broadband data transmission module via a serial port, and to the combined control unit via a network port. The broadband data transmission module's communication network port is wired directly through the mast information processing module and connected to the combined control unit. The mast information processing module primarily controls and manages the narrowband data transmission module, broadband data transmission module, and satellite-guided-intercom module, as well as forwarding communication data between the narrowband data transmission module, satellite-guided-intercom module, and the combined control unit.
[0060] The combined control unit primarily consists of a combined information processing module and a time synchronization module. The time synchronization module, which requires remote upgrades, primarily performs time synchronization and timing functions. The combined information processing module primarily handles information processing for narrowband, broadband, and Tiantong communication links, interacts with other onboard units, and performs software upgrades for other functional modules.
[0061] The clock distribution unit is mainly composed of the clock distribution module. The clock distribution module is a module that needs to be remotely upgraded. It mainly completes the local synchronization function of time information and completes the external time service function.
[0062] The onboard functional modules that need to be remotely upgraded are the mast information processing module in the mast transceiver unit, the timing module in the combined control unit, and the clock distribution module in the three clock distribution units.
[0063] In the present invention, the proposed remote upgrade solution for the onboard unit software is that the display and control computer transmits the upgrade instructions and upgrade files to the combined information processing module in the onboard combined control unit via a broadband link, and the combined information processing module then controls the upgrade of the functional module software in other units.
[0064] like Figure 3 As shown, in this example, the onshore equipment remote upgrade link mainly consists of a display and control computer, an information processing unit, and a broadband data transmission unit.
[0065] The display and control computer is connected to the network port 1 of the information processing unit through the management network port of the interface panel unit; the information processing unit is connected to the communication network port of the broadband data transmission unit through network port 2; the core board of the information processing unit bridges the network port 1 and the network port 2 to realize the network switching function of the network port 1 and the network port 2.
[0066] like Figure 4 As shown, in this example, the remote upgrade link of the onboard unit is mainly composed of the broadband data transmission module, the combined information processing module, and the mast information processing module, the timing module, the clock distribution module 1, the clock distribution module 2, the clock distribution module 3 and other functional modules that need to be upgraded.
[0067] The network port of the combined information processing module is connected to the communication network port of the broadband data transmission module to receive upgrade instructions and upgrade files from the display and control computer and to send upgrade feedback information. The communication serial port of the combined information processing module is used to communicate with the upgrade serial port of the functional module that needs to be upgraded. The serial port levels of both sides are converted to RS422 levels before being connected.
[0068] The combined information processing module uses one serial communication port and, in conjunction with the core board's GPIO, controls three serial port switches to bind the serial port's connection targets. Three clock distribution units are connected in series behind the combined control unit. The upgrade signal uses one serial RS422 signal and three 28V power supply signals. The 28V power supply signal is converted to a 3.3V control signal in the clock distribution module, which controls serial port switches 4, 5, and 6.
[0069] When upgrading the mast information processing module, the core board needs to control GPIO to open serial port switch 1 and close serial port switches 2 and 3; when upgrading the timing module, the core board needs to control GPIO to open serial port switch 2 and close serial port switches 1 and 3; when upgrading the clock distribution module 1, the core board needs to control GPIO to open serial port switch 3, close serial port switches 1 and 2, open power switch 1, and close power switches 2 and 3; when upgrading the clock distribution module 2, the core board needs to control GPIO to open serial port switch 3, close serial port switches 1 and 2, open power switch 2, and close power switches 1 and 3; when upgrading the clock distribution module 3, the core board needs to control GPIO to open serial port switch 3, close serial port switches 1 and 2, open power switch 3, and close power switches 1 and 2.
[0070] In this example, the remote upgrade process of the onboard unit software of the unmanned ship communication system is completed by the coordinated execution of three parts: the remote upgrade software of the display and control computer, the combined information processing module software, and the upgraded functional module software.
[0071] Among them, the display and control computer remote upgrade software upgrade process, such as Figure 5 As shown, the following steps are included:
[0072] Step 1, bridge network port 1 and network port 2;
[0073] Step 2: Check the communication status of the broadband link. If the communication is normal, go to step 3: Check the communication status of the broadband link by polling if the communication is abnormal.
[0074] Step 3: The broadband link sends an upgrade instruction to the combined information processing module, specifying the functional module that needs to be upgraded;
[0075] Step 4: If the combined information processing unit is ready within 3 seconds, go to step 5; if not, go to step 3.
[0076] Step 5: Send a command to soft-restart the functional module that needs to be upgraded;
[0077] Step 6: If the restart flag of the upgraded functional module is received within 3 seconds, go to step 7; if not, go to step 5.
[0078] Step 7: Send the command to enter BootLoader mode;
[0079] Step 8: If you receive a notification within 3 seconds that the upgraded functional module is waiting for upgrade, go to step 9; if not, go to step 5.
[0080] Step 9, calling the YMODEM sending function to send the executable file (bin file), and displaying the feedback information of the upgraded functional module in real time;
[0081] Step 10: If the upgraded functional module upgrade success flag is received, go to step 11; otherwise, go to step 9;
[0082] Step 11: Send an exit upgrade mode instruction;
[0083] Step 12: If the feedback indicating that the combined information processing module has exited the upgrade mode is received within 3 seconds, the upgrade process ends; if not, go to step 11.
[0084] Among them, the software upgrade process of the combined information processing module is as follows: Figure 6 As shown, the following steps are included:
[0085] Step 1: If the broadband link receives an upgrade instruction, go to step 2;
[0086] Step 2: According to the upgrade target module specified by the upgrade instruction, control the GPIO port to connect the communication serial port to the upgrade serial port of the target module; upgrade the mast information processing module, turn on serial port switch 1, and turn off serial port switches 2 and 3; upgrade the timing module, turn on serial port switch 2, and turn off serial port switches 1 and 3; upgrade the clock distribution module 1, turn on serial port switch 3, turn off serial port switches 1 and 2, turn on power switch 1, and turn off power switches 2 and 3; upgrade the clock distribution module 2, turn on serial port switch 3, turn off serial port switches 1 and 2, turn on power switch 2, and turn off power switches 1 and 3; upgrade the clock distribution module 3, turn on serial port switch 3, turn off serial port switches 1 and 2, turn on power switch 3, and turn off power switches 1 and 2;
[0087] Step 3: The broadband link sends a ready response.
[0088] Step 4: If the broadband link receives data, go to step 5; if the communication serial port receives data, go to step 7;
[0089] Step 5: If the broadband link data is an upgrade-related instruction or data, go to step 6; otherwise, go to step 8;
[0090] Step 6: The data is forwarded to the target module through the communication serial port, and then go to step 4;
[0091] Step 7: The communication serial port data is forwarded to the display and control computer via the broadband link, and then go to step 4;
[0092] Step 8: If the broadband link data is an instruction to exit the upgrade mode, go to step 9; otherwise, go to step 4.
[0093] Step 9: Exit the upgrade mode, and the broadband link sends an exit upgrade mode feedback.
[0094] Among them, the software upgrade process of the upgraded functional module is as follows: Figure 7 As shown, the following steps are included:
[0095] Step 1: If the upgrade serial port receives a restart command, go to step 2;
[0096] Step 2: The software performs a soft restart operation;
[0097] Step 3: After the software is restarted, the restart flag is sent to the combination information processing module through the upgrade serial port;
[0098] Step 4: If the command to enter BootLoader mode is received within 3 seconds, go to step 5; otherwise, go to step 8.
[0099] Step 5: Sending a waiting upgrade feedback to the combination information processing module through the upgrade serial port;
[0100] Step 6, call the YMODEM receiving function to receive the executable file (bin file);
[0101] Step 7: After the upgrade is completed, feedback information is sent to the combined information processing module;
[0102] Step 8: The software enters the application.
Claims
1. A remote upgrade system for the onboard unit software of an unmanned ship communication system, characterized in that: It includes onshore equipment and onboard units, wherein the onshore equipment and the onboard units communicate via broadband, narrowband and skylink communication links; The onshore equipment includes a display and control computer and a shore-based communication support device; the display and control computer is connected to the shore-based communication support device via a network port, and is used to run a remote upgrade program and send upgrade instructions and upgrade files; the shore-based communication support device includes a broadband data transmission unit, which is used to transmit upgrade instructions and upgrade files via a broadband link; The onboard unit includes a combined control unit, a mast transceiver unit and at least one clock distribution unit; the combined control unit receives upgrade instructions and upgrade files from onshore equipment through a broadband link, and controls the software upgrade of the mast transceiver unit and the clock distribution unit; the combined control unit includes a time synchronization module for time synchronization and timing, the mast transceiver unit includes a mast information processing module, and the clock distribution unit includes a clock distribution module for realizing local synchronization of time information and external timing, wherein the time synchronization module, mast information processing module and clock distribution module are modules that can be upgraded remotely.
2. The system for remotely upgrading the software of the shipboard unit according to claim 1, characterized in that: The shore-based communication support equipment also includes an information processing unit, a narrowband data transmission unit, a satellite-guided skycommunication unit, a switching power supply unit, a display panel unit, an interface panel unit and a motherboard unit; the information processing unit is used to process information on narrowband, broadband and skycommunication links, and communicate with the display and control computer through the network port to complete information interaction; the narrowband data transmission unit is used to complete narrowband link communication and is connected to the information processing unit through the serial port; the satellite-guided skycommunication unit is used to complete skycommunication link communication and positioning and navigation functions; the switching power supply unit is used to complete equipment power supply control; the display panel unit is used to complete the display of equipment status; the interface panel unit is used to provide various interface aviation plugs to the outside; the motherboard unit is used to complete the interconnection of other functional units.
3. The system for remotely upgrading the software of the shipboard unit according to claim 1, characterized in that: The mast transceiver unit also includes a narrowband data transmission module, a broadband data transmission module and a satellite-guided-interconnection module. The mast information processing module is connected to the combined control unit through a network port, and is connected to the narrowband data transmission module, the broadband data transmission module and the satellite-guided-interconnection module through a serial port for control and management, and is used to forward the communication data of the narrowband data transmission module and the satellite-guided-interconnection module to the combined control unit; the communication network port wiring of the broadband data transmission module passes through the mast information processing module and is directly connected to the combined control unit.
4. The system for remotely upgrading the software of the shipboard unit according to claim 1, characterized in that: The combined control unit also includes a combined information processing module, which is used to process information of broadband, narrowband and Tiantong communication links, and control the software upgrade of the mast information processing module, clock distribution module and timing module.
5. The system for remotely upgrading the software of the shipboard unit according to claim 4, characterized in that: The combined information processing module is connected to the upgrade serial ports of all functional modules to be upgraded through the first communication serial port, and controls the multi-channel serial port switch to select the target module through the GPIO; wherein: When upgrading the mast information processing module, the combined information processing module controls the GPIO to turn on the first serial port switch and turn off the second and third serial port switches; When upgrading the time system module, the combined information processing module controls the GPIO to open the second serial port switch and close the first serial port switch and the third serial port switch; When the clock distribution module is upgraded, the combined information processing module controls the GPIO to turn on the third serial port switch and turn off the first serial port switch and the second serial port switch.
6. The system for remotely upgrading the software of the shipboard unit according to claim 1, characterized in that: The display and control computer is connected to the first network port of the information processing unit via the management network port of the interface panel unit; The information processing unit is connected to the communication network port of the broadband data transmission unit through the second network port, and the core board of the information processing unit bridges the first network port and the second network port to realize the network switching function; The communication network port of the broadband data transmission module is directly connected to the network port of the combined information processing module, and is used to receive upgrade instructions from the display and control computer and send upgrade feedback.
7. The system for remotely upgrading the software of the shipboard unit according to claim 1, characterized in that: The clock distribution unit is connected to the combined control unit via a cascade interface, which includes a first RS422 serial port signal line and a first power supply signal line, a second power supply signal line, and a third power supply signal line; the power supply signal is converted into a 3.3V control signal in the clock distribution module, which is used to control the on / off state of the fourth serial port switch, the fifth serial port switch, and the sixth serial port switch, wherein: When the first clock distribution module is upgraded, the combined information processing module controls the GPIO to turn on the first power switch, and turn off the second and third power switches, so that the fourth serial port switch is turned on and the fifth and sixth serial port switches are turned off; When the second clock distribution module is upgraded, the combined information processing module controls the GPIO to turn on the second power switch, and turn off the first power switch and the third power switch, so that the fifth serial port switch is turned on and the fourth serial port switch and the sixth serial port switch are turned off; When upgrading the third clock distribution module, the combined information processing module controls the GPIO to open the third power switch and close the first and second power switches, turning on the sixth serial port switch and disconnecting the fourth and fifth serial port switches.
8. A method for remotely upgrading the software of an onboard unit of an unmanned ship communication system, characterized in that: The following steps are involved: (1) The display and control computer sends an upgrade instruction to the combined information processing module via a broadband link, specifying the target upgrade module; (2) The combined information processing module controls the GPIO switching serial port and power switch according to the upgrade instruction to establish a communication path with the target upgrade module; (3) The display and control computer sends a soft restart command, and the target upgrade module enters the BootLoader mode after restarting; (4) The display and control computer sends the executable file through the YMODEM protocol, and the target upgrade module receives and burns the file; (5) The target upgrade module feeds back the upgrade result, and the combined information processing module disconnects the communication path and exits the upgrade mode.
9. The method for remotely upgrading the software of an onboard unit according to claim 8, characterized in that: The step 2 of establishing a communication path with the target module includes: If the target upgrade module is the mast information processing module, turn on the first serial port switch and turn off the second and third serial port switches; If the target upgrade module is the time system module, turn on the second serial port switch and turn off the first and third serial port switches; If the target upgrade module is a clock distribution module, turn on the third serial port switch and turn off the first and second serial port switches, and activate the corresponding power switch at the same time.
10. The method for remotely upgrading the software of an onboard unit according to claim 8, characterized in that: Step 3 of entering BootLoader mode includes: If the display and control computer does not receive the restart mark of the target upgrade module within 3 seconds, it will resend the soft restart command; After the target upgrade module sends the restart flag, if it does not receive the BootLoader command within 3 seconds, it jumps to the application; After entering the BootLoader mode, the target upgrade module sends a waiting upgrade feedback and starts the YMODEM receiving process.