US 12,277,351 B1
Polarity inversion method and apparatus, storage medium and electronic apparatus
Yanguang Guan, Jiangsu (CN)
Assigned to SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
Appl. No. 18/853,016
Filed by SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
PCT Filed Mar. 30, 2023, PCT No. PCT/CN2023/085260
§ 371(c)(1), (2) Date Sep. 30, 2024,
PCT Pub. No. WO2024/113571, PCT Pub. Date Jun. 6, 2024.
Claims priority of application No. 202211519720.X (CN), filed on Nov. 30, 2022.
Int. Cl. G06F 3/06 (2006.01); G06F 13/40 (2006.01); G06F 13/42 (2006.01)
CPC G06F 3/0676 (2013.01) [G06F 3/0604 (2013.01); G06F 13/4068 (2013.01); G06F 13/4295 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A polarity inversion method, comprising:
acquiring a product ID of a current hard disk, an identity ID of a slot of a Serial Attached SCSI (SAS) card connected to the current hard disk, and type information of the SAS card, wherein the identity ID comprises a bus ID, a device ID, and a function ID;
determining corresponding polarity inversion information from a preset table according to the product ID, the identity ID, and the type information, wherein different columns of the preset table are respectively configured to indicate different product IDs of the hard disk, different identity IDs of the slot, and different ID information of the SAS card; and
inverting polarity of the SAS card according to the polarity inversion information, so that the polarity which is inverted is consistent with polarity of the current hard disk.