Multi-station multi-seat software remote synchronization method and system

By configuring the host table and passwordless login authentication information table, and using Ansible to write remote synchronization scripts, the problem of low efficiency in multi-station and multi-host software synchronization updates for over-the-horizon radar was solved, achieving efficient and simple multi-host software synchronization, which is applicable to various operating systems.

CN116708475BActive Publication Date: 2025-12-09NANJING RES INST OF ELECTRONICS TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310714202.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-16
Publication Date
2025-12-09
Estimated Expiration
2043-06-16

AI Technical Summary

Technical Problem

Existing technologies are inefficient in the process of synchronizing software updates for multi-station, multi-position skywave over-the-horizon radar. They require manual file transfer for each position, which is time-consuming and affects the efficiency of the update synchronization.

Method used

By adopting Internet-based automated operation and maintenance technology, configuring a host table and a passwordless login authentication information table, and using the Ansible automated operation and maintenance tool to write remote synchronization scripts, remote synchronization of software across multiple sites and multiple seats can be achieved, including parallel execution of tasks such as software link status detection, backup, update, and permission settings.

Benefits of technology

It enables efficient synchronous updates of multi-site, multi-seat software, improves update efficiency, has strong scalability, is applicable to all operating systems that support the SSH protocol, and is simple to implement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116708475B_ABST
    Figure CN116708475B_ABST
Patent Text Reader

Abstract

The application discloses a kind of multi-station multi-seat software remote synchronization method and system, belong to software automation operation technology field.The method of the application includes:10) in control end seat, the communication address of all controlled end seat is configured, and group is divided, and controlled end seat host table is formed;20) through standard SSH protocol configuration password-free login authentication information table, including the password-free login authentication information of all controlled end seat;30) in control end seat, enable automation operation tool, select a controlled end seat group, implement remote synchronization scenario.The application can realize the remote update synchronization of sky-wave over-the-horizon radar multi-station multi-seat software, effectively improve the update synchronization efficiency of sky-wave over-the-horizon radar multi-station multi-seat software, and implementation process is simple, and good universality.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of software automatic operation and maintenance, and particularly relates to a multi-station multi-position software remote synchronization method and system. BACKGROUND

[0002] Over-the-horizon radar (OTHR) is a special system radar in China, which adopts a large-scale distributed fixed station system, and the whole system is composed of multiple stations distributed in different places, each station is configured with multiple terminal control positions, as shown in the drawing. Figure 1

[0003] A radar display software is deployed on each terminal control position, and in the past, software synchronization update is generally realized by file transmission, and each time of software synchronization update of a single terminal control position by file transmission needs a certain time, when a large number of terminal positions need to be updated, the cumulative time will be multiplied, which is not only inconvenient, but also time-consuming, and seriously affects the software update synchronization efficiency.

[0004] Based on the above disadvantages, we will draw lessons from the Internet automatic operation and maintenance technology, and apply it to the update and maintenance of the terminal control position software of the over-the-horizon radar, so that the software development and maintenance personnel can greatly improve the update synchronization efficiency of the multi-station multi-position software of the over-the-horizon radar. SUMMARY

[0005] The application aims to provide a multi-station multi-position software remote synchronization method and system, which can realize remote update synchronization of the multi-station multi-position software of the over-the-horizon radar, effectively improve the update synchronization efficiency of the multi-station multi-position software of the over-the-horizon radar, and has simple implementation process and good universality.

[0006] Specifically, on one hand, the application provides a multi-station multi-position software remote synchronization method, which comprises the following steps:

[0007] 10) configuring a position host table:

[0008] Select one position as a control end, and other positions as controlled ends, configure the communication addresses of all controlled end positions on the control end position, and divide groups to form a controlled end position host table;

[0009] 20) configuring a password-free login authentication information table:

[0010] Configure a password-free login authentication information table through a standard SSH protocol, and the password-free login authentication information table comprises password-free login authentication information of all controlled end positions;

[0011] 30) implementing a remote synchronization script:

[0012] ​Enabling the automation operation tool on the control terminal seat, selecting a controlled terminal seat group, and implementing the remote synchronization script; the specific process is as follows:

[0013] The automation operation tool performs the controlled terminal seat link state detection task in the remote synchronization script according to the seat host table and the seat password-free login authentication information table;

[0014] The automation operation tool continues to perform other tasks in the remote synchronization script in parallel on the controlled terminal seat whose link state detection task is successfully executed.

[0015] Further, in the seat host table, all controlled terminal seats are divided into one group, or all controlled terminal seats are divided into different groups.

[0016] Further, the controlled terminal seats that need to remotely synchronize the same software version are divided into the same group.

[0017] Further, after the password-free login authentication information table is configured successfully, it further includes logging into the controlled terminal host from the control terminal seat, and recording the connected successful controlled terminal host information to the SSH authentication list.

[0018] Further, the remote synchronization script is written in YAML language on the control terminal seat, and the script includes the parallel controlled terminal seat link state detection task and other tasks.

[0019] Further, the other tasks include the controlled terminal seat software running state detection task, the controlled terminal seat software backup task, the software remote synchronization to the controlled terminal task, and / or the controlled terminal software execution permission setting task.

[0020] Further, the automation operation tool is Ansible.

[0021] On the other hand, the present application also provides a multi-station multi-seat software remote synchronization system, which implements the above-mentioned multi-station multi-seat software remote synchronization method, and includes one control terminal host and a plurality of controlled terminal hosts; the control terminal host and the controlled terminal host communicate through the SSH protocol; the control terminal host is configured with the seat host table, the seat password-free login authentication information table, and runs the automation operation tool to implement the remote synchronization script.

[0022] The multi-station multi-seat software remote synchronization method and system of the present application have the following advantages:

[0023] (1) High updating efficiency: the traditional software updating needs manual file transmission for each seat, and the updating time increases exponentially with the increase of seats, which is not only inconvenient but also time-consuming, seriously affecting the software updating synchronization efficiency. The multi-station multi-seat software remote synchronization method and system can complete the software synchronization updating of multiple seats in one key parallel mode, effectively improving the updating synchronization efficiency of the multi-station multi-seat software of the sky wave over-the-horizon radar.

[0024] (2) Good expansibility: the multi-station multi-seat software remote synchronization method and system can write scenarios other than software synchronization updating in the remote synchronization script, including software running state detection, software running garbage cleaning, software recovery, etc.

[0025] (3) Good versatility: the multi-station multi-seat software remote synchronization method and system is suitable for all operating systems supporting SSH protocol.

[0026] (4) Simple implementation process: the multi-station multi-seat software remote synchronization method and system does not need to judge whether the controlled end meets the updating condition, and only needs to install the automatic operation and maintenance component on the control end, without the need to install on the controlled end. BRIEF DESCRIPTION OF DRAWINGS

[0027] Figure 1 is a sky wave over-the-horizon radar multi-station terminal control seat configuration schematic diagram of an embodiment of the present application.

[0028] Figure 2 is a seat host table configuration interface of an embodiment of the present application.

[0029] Figure 3 is a workflow of implementing a script based on Ansible of an embodiment of the present application.

[0030] Figure 4 is a remote synchronization script writing interface of an embodiment of the present application.

[0031] Figure 5 is a remote synchronization script implementation interface of an embodiment of the present application. DETAILED DESCRIPTION

[0032] The present application will be further described in detail below in combination with embodiments and with reference to the drawings.

[0033] Embodiment 1:

[0034] An embodiment of the present application is a multi-station multi-seat software remote synchronization method, and the specific implementation steps are as follows:

[0035] 10) Configure the seat host table:

[0036] Communication between stations and seats is achieved via a network, with each seat having a fixed communication address. One seat is selected as the control terminal, and the others act as controlled terminals. Figure 2 As shown, the communication addresses of all controlled end seats are configured on the control end seat and divided into groups to form a controlled end seat host table.

[0037] Preferably, in the host table, all controlled endpoints are divided into one group, or all controlled endpoints are divided into different groups. For example, controlled endpoints that need to be remotely synchronized with the same software version are divided into the same group, and remote software synchronization updates are performed on each controlled endpoint within the group.

[0038] 20) Configure the passwordless login authentication information table:

[0039] The control terminal connects to the controlled terminal primarily via the SSH protocol. A passwordless login authentication information table is configured using the standard SSH protocol, and this table includes passwordless login authentication information for all controlled terminals.

[0040] Preferably, after the passwordless login authentication information table is successfully configured, the method further includes logging into the controlled host from the control terminal and recording the successfully connected controlled host information in the SSH authentication list ".SSH / known_hosts".

[0041] 30) Implement remote synchronous scripts:

[0042] like Figure 3 As shown, an automated operation and maintenance tool, such as Ansible, is enabled on the control console. A controlled console group is selected, and a remote synchronization script is implemented. The remote synchronization script is written in YAML on the control console and includes tasks for parallel controlled console link status detection and other tasks, such as... Figure 4 As shown, the other tasks include tasks for detecting the running status of the controlled terminal software, backing up the controlled terminal software, remotely synchronizing the software to the controlled terminal, and / or setting execution permissions for the controlled terminal software. One or more of these tasks can be included in the remote synchronization script as needed. The running status of the controlled terminal software can be detected by monitoring the running processes of the controlled terminal.

[0043] The specific process for implementing remote synchronous scripts is as follows:

[0044] The automated operation and maintenance tool performs a task to detect the connection status of the controlled end seats in the remote synchronization script based on the seat host table and the seat passwordless login authentication information table.

[0045] The automation operation tool continues to execute other tasks such as backup, update and / or permission setting of software in the remote synchronization script on the controlled end seat position where the seat position link state detection task is successfully executed. All tasks on the controlled end seat positions are executed in parallel. The implementation result of the remote synchronization script is as shown in Figure 5

[0046] The multi-station multi-seat software remote synchronization method of the present application is implemented by a multi-station multi-seat software remote synchronization system. The system comprises a control end host and a plurality of controlled end hosts; the control end host and the controlled end hosts communicate through SSH protocol. The control end host is configured with the seat host table, seat password-free login authentication information table, and runs the automation operation tool to implement the remote synchronization script.

[0047] The multi-station multi-seat software remote synchronization method and system of the present application have the following advantages:

[0048] (1) High update efficiency: traditional software update requires manual file transfer for each seat, and the update time increases exponentially with the increase of seats, which is not only inconvenient but also time-consuming, seriously affecting the software update synchronization efficiency. The multi-station multi-seat software remote synchronization method and system of the present application can complete the software synchronization update of multiple seats in one key, effectively improving the update synchronization efficiency of the multi-station multi-seat software of the over-the-horizon radar.

[0049] (2) Good expansibility: the multi-station multi-seat software remote synchronization method and system of the present application can write scripts other than software synchronization update in the remote synchronization script, including software running state detection, software running garbage cleaning, software recovery, etc.

[0050] (3) Good versatility: the multi-station multi-seat software remote synchronization method of the present application is applicable to all operating systems supporting SSH protocol.

[0051] (4) Simple implementation process: the multi-station multi-seat software remote synchronization method and system of the present application do not need to judge whether the controlled end meets the update condition, and only need to install the automation operation component on the control end, without the need to install on the controlled end.

[0052] Although the present application has been disclosed with the above preferred embodiments, the embodiments are not intended to limit the present application. Any equivalent changes or modifications made without departing from the spirit and scope of the present application shall also fall within the protection scope of the present application. Therefore, the protection scope of the present application shall be defined by the content of the claims of the present application.​

Claims

1. A multi-station multi-seat software remote synchronization method, characterized in that, Comprise: 10) configure the seat host table: Select a seat as the control end, and the other seats as the controlled end. Configure the communication address of all controlled end seats on the control end seat, and divide groups to form a controlled end seat host table; 20) configure the password-free login authentication information table: Configure the password-free login authentication information table through the standard SSH protocol. The password-free login authentication information table includes the password-free login authentication information of all controlled end seats; 30) implement remote synchronization scripts: Enable the automation operation and maintenance tool on the control end seat, select a controlled end seat group, and implement remote synchronization scripts. The remote synchronization scripts contain one or more of the following tasks: parallel controlled end seat link state detection task, controlled end seat software running state detection task, controlled end seat software backup task, software remote synchronization to controlled end task, and controlled end software execution permission setting task. The specific process is as follows: The automation operation and maintenance tool executes the controlled end seat link state detection task in the remote synchronization script according to the seat host table and the seat password-free login authentication information table; The automation operation and maintenance tool continues to execute other tasks in the remote synchronization script in parallel on the controlled end seat whose link state detection task has been successfully executed.

2. The multi-site multi-seat software remote synchronization method of claim 1, wherein, In the seat host table, all controlled end seats are divided into one group, or all controlled end seats are divided into different groups.

3. The multi-site, multi-seat software remote synchronization method of claim 2, wherein, Controlled end seats that need to remotely synchronize the same software version are divided into the same group.

4. The multi-site multi-seat software remote synchronization method of claim 1, wherein, After the password-free login authentication information table is successfully configured, it also includes logging into the controlled end host from the control end seat, and recording the connected successful controlled end host information to the SSH authentication list.

5. The multi-site multi-seat software remote synchronization method of claim 1, wherein, The remote synchronization script is written in YAML language on the control end seat.

6. The multi-site, multi-seat software remote synchronization method of claim 1, wherein, The automation operation and maintenance tool is Ansible.

7. A multi-station multi-seat software remote synchronization system, implementing the multi-station multi-seat software remote synchronization method according to any one of claims 1-6, characterized in that, Comprise a control end host and several controlled end hosts; the control end host and the controlled end host communicate through the SSH protocol; The control end host is configured with the seat host table, the seat password-free login authentication information table, and runs the automation operation and maintenance tool to implement the remote synchronization script.

Citation Information

Patent Citations

  • Low-altitude radar multi-seat airspace data editing method

    CN111523291A

  • Multi-mode one-station-control double-vehicle method for unmanned aerial vehicle ground station

    CN112034884A