Service offline method and device and storage medium

The embodiment of the invention discloses a service offline method and device, electronic equipment and a storage medium, relates to the technical field of computer software, and can improve the high availability of services and reduce the probability of service abnormality caused by direct offline...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LIANG GUICHUAN, BI YINGYING, DONG FANDONG, JIA CHAOHUI
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 embodiment of the invention discloses a service offline method and device, electronic equipment and a storage medium, relates to the technical field of computer software, and can improve the high availability of services and reduce the probability of service abnormality caused by direct offline of the services. The method comprises the following steps: sending a service offline request to a registration center or a flow balancing server, so that the registration center or the flow balancing server cancels the service; in response to a shutdown setting request sent by the registration center or the traffic balancing server, setting a service state flag of the service as shutdown; judging whether the service meets an offline condition or not; and if the service meets the offline condition, the service is offline. The method can be used for the occasion of safe offline of the service. 本发明实施例公开一种服务下线方法、装置、电子设备及存储介质,涉及计算机软件技术领域,能够提高服务的高可用性,降低因服务直接下线带来的服务异常概率。所述方法包括:向注册中心或流量均衡服务器发送服务下线请求,以使所述注册中心或流量均衡服务器注销所述服务;