Server Sensor Polling via Cycle-Based Thread Segmentation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current BMC polling methods for server sensors are inefficient due to the use of a single thread for sensors with different polling cycles, leading to low polling efficiency and delayed updates in sensor values.
Innovation Solution
Classifying sensors by polling cycles and grouping them into preset data structures, where sensors with the same polling cycle are polled using threads, either child threads initiated by a main thread or independent threads, to minimize interference and improve efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If all sensors are traversed in a single thread, then the system structure is simple, but the polling efficiency is low and sensor values cannot be updated timely
Solution Approach 1:
The patent divides sensors into different types (discrete and continuous) and creates separate processing functions for each type. It also implements multi-threading where different threads handle different sensor polling tasks simultaneously, segmenting the single-threaded traversal into parallel execution units that can update sensor values timely without waiting for sequential processing
2Reliability
If sensors with different polling cycles are processed in sequence, then resource usage is low, but the periodicity requirement cannot be met and updates are delayed
Solution Approach 1:
The patent implements dynamic thread management where threads are created and destroyed based on sensor polling requirements. Different threads are allocated to sensors with different polling cycles, allowing each sensor to be updated at its required periodicity without being constrained by sequential processing delays. The system dynamically adjusts the number and timing of threads to match the diverse polling cycle requirements of various sensors
3Productivity
If a single thread polls all sensors, then thread management is simple, but influences between polling of sensors increase and efficiency decreases
Solution Approach 1:
The patent segments sensor polling into multiple independent threads, each responsible for specific sensors or sensor types. This segmentation reduces interference between sensor polling operations since threads can execute concurrently without blocking each other. The system manages this complexity through structured thread creation, assignment, and synchronization mechanisms that organize the parallel operations
Data Source
AI summary
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.


