Resource management method of multiple nucleus system and its controlling nucleus
A resource management and multi-core system technology, applied in the field of resource allocation, can solve problems such as increasing algorithm complexity, useless search operations, and affecting resource allocation efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0091] In this embodiment, resources are allocated in order of serial numbers, so that it can be conveniently realized that the serial numbers corresponding to the address information of the allocated resources are continuous during the resource allocation process.
[0092] Figure 4 It is a specific flowchart of the resource management method in Embodiment 1 of the present invention. like Figure 4 As shown, the method includes:
[0093] Step 401, creating and initializing a resource management table in advance, storing address information of all available resources in the resource pool, and setting idle indexes and resource IDs.
[0094] In this embodiment, the resource management table is implemented in the form of a pointer array ppStPoolCtrl[], and is used to store the address information of each allocatable resource in the resource pool. Specifically, each element in the pointer array points to a resource in the resource pool, which is called the resource management p...
Embodiment 2
[0127] In this embodiment, an allocation index is further introduced for resource allocation, which can also ensure that after resource allocation, the sequence numbers corresponding to the address information of the allocated resources are continuous. See the following description for specific implementation methods.
[0128] Figure 7 It is a specific flowchart of the resource management method in Embodiment 2 of the present invention. like Figure 7 As shown, the method includes:
[0129] Step 701, creating and initializing a resource management table in advance, saving address information of each resource that can be allocated in the resource pool, setting free index, allocation index and resource ID.
[0130] In this embodiment, the resource management table is implemented in the form of a pointer array ppStPoolCtrl[], and is used to store the correspondence between the address information of each allocatable resource in the resource pool and the sequence numbers set fo...
Embodiment 3
[0174] For the resource management method based on the first and second embodiments above, the packet forwarding table can be formed by writing the forwarding table items in the allocated resources. This embodiment describes in detail the specific implementation manner of packet forwarding by using the forwarding table.
[0175] Figure 9 It is the specific process of packet forwarding in this embodiment. like Figure 9 As shown, the process includes:
[0176] Step 901, receiving a message to be forwarded, extracting key information from the message content to calculate a HASH value.
[0177] Step 902, determine the corresponding resource and the resource ID of the resource according to the HASH value.
[0178] The manner of determining the corresponding resource according to the HASH value may adopt the same manner as in the solution of the background art, and details will not be repeated here. The resource ID is determined according to the resource, that is, the element...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com