The invention provides a main and standby system selection method, electronic equipment and a readable storage medium, and relates to the technical field of system redundancy, the method comprises the following steps: counting a first number of other systems normally communicating with a main system and a second number of other systems normally communicating with a standby system, the other systems being systems connected with the main system, and the standby system being systems connected with the standby system; other systems are also connected with the backup system; obtaining a first score of the main system according to the first number, and obtaining a second score of the backup system according to the second number; determining a first system which normally communicates with the main system and normally communicates with the backup system in other systems; and according to the first score and the second score, determining a target system which performs service interaction with the first system from the main system and the backup system, so as to select the backup system for service interaction under the condition that the number of other systems which communicate with the main system abnormally is relatively large, and solve the problem of long time of abnormal service interaction in related technologies.
本发明提供一种主备系统的选择方法、电子设备及可读存储介质,涉及系统冗余技术领域,方法包括:统计与主系统通信正常的其他系统的第一数量,以及与备份系统通信正常的其他系统的第二数量,其他系统为与主系统连接的系统,其他系统也与备份系统连接;根据第一数量,获取主系统的第一分数,以及根据第二数量,获取备份系统的第二分数;确定其他系统中,与主系统通信正常且与备份系统通信正常的第一系统;根据第一分数与第二分数,从主系统与备份系统中,确定与第一系统进行业务交互的目标系统,以实现在与主系统通信异常的其他系统的数量较多的情况下,选择备份系统业务交互,解决了相关技术中业务交互异常的时间长的问题。
Main and standby system selection method, electronic equipment and readable storage medium
主备系统的选择方法、电子设备及可读存储介质
2024-06-25
Patent
Electronic Resource
Chinese
IPC: | B61L Leiten des Eisenbahnverkehrs , GUIDING RAILWAY TRAFFIC |
Standby sound production method and device, electronic equipment and readable storage medium
European Patent Office | 2024
|European Patent Office | 2023
|European Patent Office | 2022
|Main and standby power supply circuit, communication device, method, equipment and storage medium
European Patent Office | 2024
|Main-standby switching method and device of train control system, equipment and medium
European Patent Office | 2024
|