The embodiment of the invention provides a
chip platform
hardware abstraction layer construction method, which comprises the following steps: scanning
chip platform hardware characteristic information, constructing a hardware characteristic analysis model, carrying out classified labeling on the hardware characteristic information to extract equipment interfaces, resource attributes and operation characteristics, establishing a characteristic vector
library of hardware components, and constructing a
hardware abstraction layer of the hardware components, grouping the hardware components by adopting a
hierarchical clustering algorithm to form a function category tree; training an adaptive abstract model based on the function category tree, mapping hardware components with similar functions to a
unified interface space, and calculating target Q value update strategy network parameters based on a
time sequence difference
algorithm to generate a hardware abstract rule base; loading a
hardware abstraction rule base in a
hardware abstraction layer engine, dynamically monitoring a
resource use state, updating an allocation strategy, and returning a hardware operation result to an
application layer through a uniform interface; according to the method, hardware features can be deeply understood, an
intelligent interface packaging strategy is constructed, and efficient scheduling of resources is realized through technologies such as
reinforcement learning.