IP Library Granted Patent US 12,265,852
Granted Patent B1
US 12,265,852 · App. 18/859,208 · Granted Apr 1, 2025

Resource allocation method and apparatus for peripheral, server, and storage medium

Inventors: Shuxian Wang (Jiangsu, CN); Fanyi Yao (Jiangsu, CN); Bing Wang (Jiangsu, CN); Yuqi Tan (Jiangsu, CN)
Assignee: Suzhou MetaBrain Intelligent Technology Co., Ltd.
G06F9/5027G06F9/4401
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,265,852
App. No.
18/859,208
Granted
Apr 1, 2025
Kind
B1
Abstract

The present application discloses a resource allocation method for a peripheral, including: determining identification information of all network card devices from acquired peripheral information; establishing a special device list on the basis of the identification information; and performing resource allocation on a currently connected device on the basis of a boot mode of a basic input output system (BIOS) and the special device list. The identification information of all the network card devices is acquired, then the special device list is identified, and finally, on the basis of the boot mode and the special device list, resource allocation is performed on a network card device which is a special device. The present application further discloses a resource allocation apparatus for the peripheral, a server, and a non-volatile computer readable storage medium, which have the described beneficial effects.

Claims (53)

1. A resource allocation method for a peripheral, comprising:

determining identification information of all network card devices from acquired peripheral information;

establishing a special device list on a basis of the identification information, wherein the special device list is used for recording special network card devices; and

performing resource allocation on a currently connected device on a basis of a boot mode of a basic input output system (BIOS) and the special device list, wherein the boot mode comprises a 64-bit resource boot mode and a 32-bit resource boot mode.

2. The resource allocation method according to claim 1 , wherein the determining identification information of all network card devices from acquired peripheral information comprises:

acquiring peripheral information of all peripherals through a peripheral component interconnection standard protocol to yield the acquired peripheral information; and

acquiring the identification information of all the network card devices from the acquired peripheral information.

3. The resource allocation method according to claim 2 , wherein the acquiring the identification information of all the network card devices from the acquired peripheral information comprises:

acquiring information of all the network card devices from the acquired peripheral information; and

acquiring Vendor Identification (VID) information and Device Identification (DID) information from the information of all the network card devices as corresponding identification information.

4. The resource allocation method according to claim 2 , wherein the acquiring peripheral information of all peripherals through a peripheral component interconnection standard protocol to yield the acquired peripheral information comprises:

acquiring the peripheral information of all the peripherals through the peripheral component interconnection standard protocol and corresponding interfaces.

5. The resource allocation method according to claim 1 , wherein the determining identification information of all network card devices from acquired peripheral information comprises:

determining Vendor Identification (VID) information and Device Identification (DID) information of all connected network card devices from the acquired peripheral information; and

taking the VID information and the DID information as corresponding identification information.

6. The resource allocation method according to claim 1 , wherein the establishing a special device list on a basis of the identification information comprises:

identifying the special network card devices from the identification information; and

establishing the special device list on a basis of all identified special network card devices.

7. The resource allocation method according to claim 6 , wherein the identifying the special network card devices from the identification information comprises:

identifying the special network card devices on a basis of Vendor Identification (VID) information and Device Identification (DID) information of the identification information.

8. The resource allocation method according to claim 6 , wherein the identifying the special network card devices from the identification information comprises:

performing mode simulation on all the network card devices corresponding to the identification information, determining network card devices only supporting low-level resources, and taking the network card devices of the low-level resources as the special network card devices.

9. The resource allocation method according to claim 6 , wherein the establishing the special device list on a basis of all identified special network card devices comprises:

establishing the special device list on the basis of Vendor Identification (VID) information and Device Identification (DID) information of the special network card devices.

10. The resource allocation method according to claim 1 , wherein the performing resource allocation on a currently connected device on a basis of a boot mode of a BIOS and the special device list comprises:

acquiring the boot mode of the BIOS; and

performing the resource allocation on a currently connected network card device on the basis of the boot mode and the special device list.

11. The resource allocation method according to claim 10 , wherein the performing the resource allocation on a currently connected network card device on the basis of the boot mode and the special device list comprises:

in response to the boot mode being the 64-bit resource boot mode, allocating resources of 32 bits or more to the currently connected network card device; and

in response to the boot mode being the 32-bit resource boot mode, allocating resources of 32 bits or less to network card devices matching the special device list.

12. The resource allocation method according to claim 10 , wherein the performing the resource allocation on a currently connected network card device on the basis of the boot mode and the special device list comprises:

in response to the boot mode being a Unified Extensible Firmware Interface (UEFI) mode, allocating resources of 32 bits or more to the currently connected network card device; and

in response to the boot mode being a Legacy mode, allocating resources of 32 bits or less to network card devices matching the special device list.

13. The resource allocation method according to claim 12 , wherein the allocating resources of 32 bits or less to network card devices matching the special device list comprises:

in response to the identification information of the currently connected network card device matching the identification information in the special device list, allocating resources of 32 bits or less to the currently connected network card device.

14. The resource allocation method according to claim 13 , further comprising:

in response to the identification information of the currently connected network card device not matching the identification information in the special device list, allocating resources of 32 bits or more to the currently connected network card device.

15. The resource allocation method according to claim 10 , wherein the acquiring the boot mode of the BIOS comprises:

acquiring the boot mode of the BIOS through a system variable value.

16. The resource allocation method according to claim 10 , wherein the acquiring the boot mode of the BIOS comprises:

acquiring the boot mode of the BIOS through a GetVariable function.

17. The resource allocation method according to claim 1 , further comprising:

booting a system through a Preboot eXecution Environment (PXE) after the resource allocation is completed.

18. The resource allocation method according to claim 6 , wherein the special network card devices are network card devices with limited allocated resources in the boot mode.

19. A server, comprising:

a memory, configured to store computer readable instructions; and

a processor, configured to execute the computer readable instructions, wherein upon execution by the processor, the processor is configured to:

determine identification information of all network card devices from acquired peripheral information;

establish a special device list on a basis of the identification information, wherein the special device list is used for recording special network card devices; and

perform resource allocation on a currently connected device on a basis of a boot mode of a basic input output system (BIOS) and the special device list, wherein the boot mode comprises a 64-bit resource boot mode and a 32-bit resource boot mode.

20. A computer readable storage medium, having stored thereon computer readable instructions executable by one or more processors, wherein the computer readable instructions, upon execution by the one or more processors, are figured to cause the one or more processors to: determine identification information of all network card devices from acquired peripheral information;

establish a special device list on a basis of the identification information, wherein the special device list is used for recording special network card devices; and

perform resource allocation on a currently connected device on a basis of a boot mode of a basic input output system (BIOS) and the special device list, wherein the boot mode comprises a 64-bit resource boot mode and a 32-bit resource boot mode.

Assignments (2)
LICENSE Recorded Jun 30, 2026
From: IEIT SYSTEMS CO., LTD
To: AIVRES SYSTEMS INC.
Reel/Frame 075857/0939 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 24, 2024
From: WANG, SHUXIAN; YAO, FANYI; WANG, BING; TAN, YUQI
To: SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD.
Reel/Frame 068998/0483 →
Priority Claims (1)
CN 202211519340.6 · Nov 30, 2022 · national
References Cited (15)
US 20150149660A1 · Huang et al. · 2015 [cited by applicant]
CN 107193760A · 2017 [cited by applicant]
CN 107566174A · 2018 [cited by applicant]
CN 107861790A · 2018 [cited by applicant]
CN 110045991A · 2019 [cited by applicant]
CN 110399217A · 2019 [cited by applicant]
CN 112860330A · 2021 [cited by applicant]
CN 113190279A · 2021 [cited by applicant]
CN 113791905A · 2021 [cited by applicant]
CN 114860268A · 2022 [cited by applicant]
CN 115664953A · 2023 [cited by applicant]
International Search Report of corresponding PCT application (PCT/CN2023/107011) Oct. 24, 2023, 5 pages. [cited by applicant]
Written Opinion of International Searching Authority of corresponding PCT application (PCT/CN2023/107011) Oct. 24, 2023, 9 pages. [cited by applicant]
First CN Office Action of corresponding CN priority application (CN202211519340.6), mailed Mar. 2, 2023, 12 pages. [cited by applicant]
Notification to Grant Patent Right for Invention of corresponding CN priority application (CN202211519340.6) Apr. 28, 2024, 3 pages. [cited by applicant]