Polling method and system for server sensors, and related apparatus
AssigneeInspur Suzhou Intelligent Technology Co., Ltd.
InventorZhili Hou
Life of this patent
Estimating the term…
Abstract
A polling method for server sensors, a polling system for server sensors, and a computer-readable memory medium. The polling method includes: when a BMC is activated, acquiring attribute information of sensors (S101); classifying the sensors according to polling cycles in the attribute information (S102); adding the sensors with the same polling cycle into a same preset data structure (S103); and polling the sensors in the preset data structure using a thread (S104). According to the method, the problem of low polling efficiency caused by polling sensors with different cycles using a single thread may be solved, and each sensor may be polled independently while minimizing influences between polling of the sensors.
Claims19
A polling method for server sensors, comprising:
- in response to a Baseboard Management Controller (BMC) being activated, acquiring attribute information of sensors;
- classifying the sensors according to polling cycles in the attribute information;
- adding the sensors with a same polling cycle into a same preset data structure, wherein the step of adding the sensors with the same polling cycle into the same preset data structure comprises:
- adding the sensors with high priorities in the sensors with the same polling cycle into the same preset data structure;
- and
- polling the sensors in the preset data structure using a thread.
Dependencies are inferred from the claim text.