# US 2021/0334086 A1 · Method of adding a sensor monitoring feature of a newly-added sensor to a system monitoring feature provided by a baseboard management controller

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0334086 A1
- Document ID: US20210334086A1
- Status: Published application
- Kind: A1
- Application number: 17/239,283
- Filed: 2021-04-23
- Published: 2021-10-28
- Earliest claimed: 2020-04-27
- Assignees: Mitac Computing Technology Corporation
- Applicants: Mitac Computing Technology Corporation
- Inventors: Hsin-Hao CHU
- Web page: https://patentgrep.com/patent/US20210334086A1

## CPC

- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 9/4411: {Configuring for operating with peripheral devices; Loading of device drivers}
- G06F 11/3031: {where the computing system component is a motherboard or an expansion card}
- G06F 11/3058: {Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations (thermal management in cooling arrangements of a computing system G06F1/206)}
- G06F 11/3093: {Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method is provided for adding a sensor monitoring feature of a newly-added sensor to a system monitoring feature provided by a baseboard management controller (BMC). The BMC stores a BMC firmware that contains a main program, a sensor library and a sensor data record. The BMC updates the sensor library to a target sensor library that includes identification information of the additional sensor, and functions used to execute the sensor monitoring feature of the additional sensor. By executing the main program, the BMC loads the target sensor library, and adds the identification information of the additional sensor to the sensor data record.

## Claims

### Claim 1

A method of adding a sensor monitoring feature of at least one additional sensor that is newly installed in a computer device to a system monitoring feature that is provided by a baseboard management controller (BMC), the BMC being included in the computer device and storing a BMC firmware that contains a main program, a sensor library and a sensor data record, said method being implemented by the BMC and comprising steps of:
A) updating the sensor library to a target sensor library that includes identification information of the at least one additional sensor, and functions used to execute the sensor monitoring feature of the at least one additional sensor, each of the functions being a sequence of program instructions that is configured to perform a specific task;
B) loading the target sensor library by executing the main program;
C) determining, by executing the main program, whether the sensor data record already has the identification information of the at least one additional sensor;
D) upon determining that the sensor data record does not have the identification information of the at least one additional sensor in step C), adding the identification information of the at least one additional sensor to the sensor data record by using the main program to call a first function that is stored in the target sensor library and that is related to the at least one additional sensor; and
E) initializing function variables that are stored in the target sensor library and that are related to the at least one additional sensor by using the main program to call a second function that is stored in the target sensor library and that is related to the at least one additional sensor.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first function is a create function configured to define the sensor monitoring feature of the at least one additional sensor in the BMC firmware, and the second function is an initializing function configured to initialize the at least one additional sensor.

### Claim 3 (depends on 1)

The method of claim 1, further comprising a step of maintaining the sensor data record to be unchanged when it is determined in step C) that the sensor data record already has the identification information of the at least one additional sensor.

### Claim 4 (depends on 1)

The method of claim 1, further comprising, between steps B) and C), a step of: F) determining, by executing the main program and based on a number of the at least one additional sensor, whether the identification information of every single one of the at least one additional sensor is allowed to be added to the sensor data record;
wherein step C) is performed only when it is determined in step F) that the identification information of every single one of the at least one additional sensor is allowed to be added to the sensor data record.

### Claim 5 (depends on 4)

The method of claim 4, wherein step F) includes sub-steps of:
F-1) obtaining a total number of sensors with reference to the target sensor library and the sensor data record; and
F-2) determining whether the identification information of each of the at least one additional sensor is allowed to be added to the sensor data record by comparing the total number of sensors with a predetermined threshold number.

### Claim 6 (depends on 5)

The method of claim 5, wherein sub-step F-1) includes:
obtaining, from the sensor data record, a first sensor number which is number of sensors that are already recorded in the sensor data record;
obtaining, from the target sensor library, a second sensor number which is the number of the at least one additional sensor; and
adding the first sensor number and the second sensor number together to obtain the total number of sensors.

### Claim 7 (depends on 5)

The method of claim 5, wherein, in sub-step F-2), it is determined that not the identification information of every single one of the at least one additional sensor is allowed to be added to the sensor data record when the total number of sensors is greater than the predetermined threshold number, and that the identification information of every single one of the at least one additional sensor is allowed to be added to the sensor data record when otherwise.

### Claim 8 (depends on 5)

The method of claim 5, further comprising:
upon determining in sub-step F-2) that not the identification information of every single one of the at least one additional sensor is allowed to be added to the sensor data record, maintaining the sensor data record to be unchanged.

### Claim 9 (depends on 1)

The method of claim 1, wherein, in step B), the BMC executes the main program to load the target sensor library in response to an original equipment manufacturer (OEM; command received thereby.

### Claim 10 (depends on 9)

The method of claim 9, wherein step B) includes triggering the main program to create a task in response to the OEM command;
wherein, in step D), the BMC uses the task created by the main program to call the first function; and
wherein, in step E), the BMC uses the task created by the main program to call the second function.

### Claim 11 (depends on 10)

The method of claim 10, wherein step C) is performed by executing the task created by the main program.

### Claim 12 (depends on 1)

The method of claim 1, wherein, in step B), the BMC automatically executes the main program to load the target sensor library when the BMC is being powered on.

### Claim 13 (depends on 1)

The method of claim 1, wherein, in step B), the BMC automatically executes the main program to load the target sensor library during a booting process of the BMC.

### Claim 14 (depends on 1)

The method of claim 1, wherein the BMC performs steps D) and E) by executing a function of the main program.

### Claim 15 (depends on 1)

The method of claim 1, wherein, in step B), the BMC loads the target sensor library in response to an original equipment manufacturer (OEM) command received thereby, step B) includes triggering the main program to create a task in response to the OEM command, and, in step C), the BMC uses the task created by the main program to call the first function.
