Method and device for guaranteeing web service connection stability
The invention provides a method for guaranteeing web service connection stability. The method comprises the steps of obtaining a sample data set; obtaining a fitting function using the sample data set; obtaining a proportionality coefficient Kp, an integral coefficient Ki and a differential coeffici...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a method for guaranteeing web service connection stability. The method comprises the steps of obtaining a sample data set; obtaining a fitting function using the sample data set; obtaining a proportionality coefficient Kp, an integral coefficient Ki and a differential coefficient Kd of a PID controller according to the fitting function; calculating the increment of the control quantity of an increment type PID algorithm based on the proportionality coefficient Kp, the integral coefficient Ki and the differential coefficient Kd; calculating the number of resources that the web service should have in a current minute based on the increment; and comparing the number of resources that the web service should have in the current minute with the number of resources allocated in the last minute to determine whether the resource deployment needs to be updated. In addition, the invention also provides a device for guaranteeing the web service connection stability. Through the method and the devic |
---|