Implementation method and system for switching data sources, terminal equipment and storage medium

The invention provides a data source switching implementation method and system, terminal equipment and a storage medium. The method comprises the following steps: detecting whether a host is downtimeor not; upgrading the cold standby data source into a temporary main data source and broadcasting to...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: GUI HAOZONG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a data source switching implementation method and system, terminal equipment and a storage medium. The method comprises the following steps: detecting whether a host is downtimeor not; upgrading the cold standby data source into a temporary main data source and broadcasting to inform the application program when the host is down, so that the application program provides a short message aggregation service according to the temporary main data source; and when the host does not downtime, the application program provides a short message aggregation service according to themain data source. The invention provides a continuously available short message capability, so that a data source can be replaced without restarting, and a reliable and stable short message aggregation service is provided for a user. 本发明提供了一种切换数据源的实现方法、系统、终端设备和存储介质,其方法包括:检测主机是否宕机;在主机宕机时将冷备数据源升级为临时主数据源并广播告知应用程序,使得应用程序根据临时主数据源提供短信聚合服务;在主机未宕机时应用程序根据主数据源提供短信聚合服务。本发明提供持续可用的短信能力,以便能够在不重启情况下替换数据源,从而为用户提供可靠、稳定的短信聚合服务。