Calculation method and device based on big data
The invention discloses a calculation method and device based on big data. The method comprises the following steps: S1, acquiring a service requirement of a user, and determining a target calculation data magnitude of a service according to the service requirement; S2, judging whether the target ca...
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 discloses a calculation method and device based on big data. The method comprises the following steps: S1, acquiring a service requirement of a user, and determining a target calculation data magnitude of a service according to the service requirement; S2, judging whether the target calculation data magnitude is greater than a preset threshold value or not; S3, if the target calculation data magnitude is greater than the preset threshold value, performing offline calculation on the service; S4, if the target calculation data magnitude is smaller than or equal to the preset threshold value, acquiring a current target data set, judging whether a memory required by calculation of the current target data set is larger than a preset memory or not, if the memory required by calculation of the current target data set is larger than the preset memory, performing iterative calculation on the current target data set through a cluster, otherwise, performing the iterative calculation on the current target d |
---|