US 12,299,767 B2
Information acquisition method and apparatus, electronic device, and storage medium
Zeen Li, Beijing (CN)
Assigned to BEIJING BAIDU NETCOM SCIENCE TECHNOLOGY CO., LTD., Beijing (CN)
Filed by BEIJING BAIDU NETCOM SCIENCE TECHNOLOGY CO., LTD., Beijing (CN)
Filed on Feb. 28, 2023, as Appl. No. 18/115,125.
Claims priority of application No. 202211139391.6 (CN), filed on Sep. 19, 2022.
Prior Publication US 2024/0095869 A1, Mar. 21, 2024
Int. Cl. G06T 1/20 (2006.01); G06F 9/50 (2006.01)
CPC G06T 1/20 (2013.01) [G06F 9/5044 (2013.01)] 16 Claims
OG exemplary drawing
 
1. A method for information acquisition, comprising:
determining hardware devices located on a to-be-processed node in response to determining that a trigger condition is met;
selecting an x processing unit (XPU) from the hardware devices; and
acquiring predetermined information of the XPU by using a system management interface (SMI) management tool corresponding to the XPU, the predetermined information comprising model information of the XPU,
wherein the determining hardware devices located on a to-be-processed node comprises:
acquiring the hardware devices located on the to-be-processed node by calling a list peripheral component interconnect device information (lspci-vv) command,
wherein the method further comprising:
acquiring vendor identifications of the hardware devices respectively by calling the lspci-vv command; and
acquiring the SMI management tool corresponding to the XPU according to a vendor identification of the XPU.