Upgrading method and device

The invention discloses an upgrading method and device. The method comprises the following steps: receiving a request carrying a first parameter sent by a client; distributing the request to a server in an environment corresponding to the first parameter according to the priority; wherein the enviro...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: CHEN KUNLIANG, LUO KUNMING, LYU SIYUAN
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 discloses an upgrading method and device. The method comprises the following steps: receiving a request carrying a first parameter sent by a client; distributing the request to a server in an environment corresponding to the first parameter according to the priority; wherein the environment comprises a first environment and a second environment, the first environment comprises a server in a use state, the second environment comprises a server in a gray level state, and the priority is determined according to the running state of the server in a preset time. When the system performs gray scale, the access request of the user or the commercial tenant is redistributed, and normal use of the user or the commercial tenant is ensured. 本发明公开一种升级方法及装置,方法包括:接收客户端发送的携带第一参数的请求;按照优先级将请求分配至第一参数对应的环境中的服务器;其中,环境包括第一环境和第二环境,第一环境包括处于使用状态的服务器,第二环境包括处于灰度状态的服务器,优先级按照预设时间内的服务器运行状态确定。能够在系统进行灰度时,将用户或者商户的访问请求进行重新分配,保证用户或者商户的正常使用。