Transaction request processing method and device and storage medium

By managing transaction requests in the emission queue and judging the processing sequence based on status information, the problem of performance degradation of IOMMU during out-of-order responses is solved, orderly and efficient processing of transaction requests is achieved, and overall performance is improved.

CN118708302AActive Publication Date: 2024-09-27SHENZHEN AOWEI LINGXIN TECH CO LTD

Patent Information

Application Number
CN202410778534.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-09-27
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

When IOMMU supports out-of-order responses, transaction request processing performance decreases, and it is difficult for existing technologies to effectively improve performance.

Method used

By managing transaction requests in the emission queue, assigning unique transaction numbers, judging whether to process the request based on status information, and calling IOMMU to respond to the request, it ensures the orderliness and efficiency of the request.

Benefits of technology

It effectively solves the performance degradation problem of IOMMU when supporting out-of-order responses, improves the overall performance of transaction request processing, and ensures the accuracy of requests and efficient utilization of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708302A
    Figure CN118708302A
Patent Text Reader

Abstract

The invention relates to the field of data processing, and discloses a transaction request processing method and device and a storage medium. The method comprises the following steps: extracting a transaction request from a transmitting queue; in a preset transaction number set, obtaining a transaction number corresponding to the transaction request; acquiring state information corresponding to the transaction number; judging whether to process the transaction request according to the state information: if the transaction request is judged to be processed, calling the IOMMU to respond to the result transaction request, and updating the transaction number set; according to the transaction number set, judging whether the transaction request is a final to-be-processed request or not; and if the transaction request is the last to-be-processed request, determining that the request processing is completed. In the embodiment of the invention, mechanisms such as queues, numbering, state judgment and IOMMU calling are utilized, so that ordered and efficient processing of the transaction request is ensured, and the overall performance of transaction request processing is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a transaction request processing method, device and storage medium. Background Art

[0002] IOMMU (Input / Output Memory Management Unit) is a hardware component used to isolate the memory space of virtual devices from the system memory space. The principle of implementing address translation and memory protection is similar to that of the MMU of the CPU core. It mainly implements address translation and memory protection by searching the page table through the transaction information of virtual peripherals.

[0003] In order to improve the performance of IOMMU, it is necessary to support out-of-order responses. Most peripheral IPs use the AMBA protocol interface to communicate with the system memory through the bus. Both the request and the response need to meet the bus standard protocol specifications. When IOMMU supports out-of-order responses, the processing of AMBA requests must be reordered. This method will cause a serious degradation in response performance. A new technical solution is needed to solve the above technical problems. Summary of the invention

[0004] The main purpose of the present invention is to solve the technical problem of low processing performance of transaction requests.

[0005] A first aspect of the present invention provides a method for processing a transaction request, the method for processing a transaction request comprising:

[0006] Extract transaction requests from the emission queue;

[0007] Obtaining a transaction number corresponding to the transaction request from a preset transaction number set;

[0008] Obtaining status information corresponding to the transaction number;

[0009] Determine whether to process the transaction request according to the status information:

[0010] If it is determined to process the transaction request, calling the IOMMU to respond to the transaction request and updating the transaction number set;

[0011] Determining, according to the transaction number set, whether the transaction request is the last request to be processed;

[0012] If the transaction request is the last request to be processed, it is determined that the request processing is completed.

[0013] Optionally, in a first implementation manner of the first aspect of the present invention, before the step of extracting the transaction request from the transmission queue, the method further includes:

[0014] Collecting the pending transaction requests from different I / O devices, and assigning numbers to the pending transaction requests to obtain a transaction number set;

[0015] The pending transaction request is placed in the transmit queue.

[0016] Optionally, in a second implementation of the first aspect of the present invention, if it is determined to process the transaction request, the step of calling the IOMMU to respond to the transaction request includes:

[0017] If it is determined to process the transaction request, calling the IOMMU to determine the transaction type of the transaction request;

[0018] If the transaction type is a read transaction, a read transaction buffer and a read transaction IssueQueue are allocated to the read transaction;

[0019] Based on the buffer and the read transaction Issue Queue, an IOMMU request is initiated to the IOMMU, and an IOMMU response result is received;

[0020] According to the IOMMU response result, determining whether the read transaction is correctly responded to;

[0021] If the read transaction is responded to correctly, the read transaction buffer and the read transaction Issue Queue are released.

[0022] Optionally, in a third implementation manner of the first aspect of the present invention, after the step of determining whether the read transaction is correctly responded to according to the IOMMU response result, the method further includes:

[0023] If the read transaction is not responded correctly, stop processing the write transaction and return to the step of extracting the transaction request from the transmit queue.

[0024] Optionally, in a fourth implementation of the first aspect of the present invention, after the step of determining whether the read transaction is correctly responded to according to the IOMMU response result, the method further includes:

[0025] If the read transaction is not responded to correctly, a prompt message corresponding to the read transaction is output.

[0026] Optionally, in a fifth implementation manner of the first aspect of the present invention, after the step of determining to process the transaction request and calling the IOMMU to determine the transaction type of the transaction request, the method further includes:

[0027] If the transaction type is a write transaction, allocate a write transaction buffer and an entry of the Issue Queue for the write transaction;

[0028] Based on the buffer and the entry, an IOMMU request is initiated to the IOMMU, and an IOMMU response result is received;

[0029] According to the IOMMU response result, determining whether the write transaction is correctly responded to;

[0030] If the write transaction is responded to correctly, the write transaction buffer and the entry of the Issue Queue are released.

[0031] Optionally, in a sixth implementation of the first aspect of the present invention, after the step of determining whether the write transaction is correctly responded to according to the IOMMU response result, the method further includes:

[0032] If the write transaction is not responded to correctly, stop processing the write transaction and return to the step of extracting the transaction request from the transmit queue.

[0033] Optionally, in a seventh implementation manner of the first aspect of the present invention, after the step of determining, according to the transaction number set, whether the transaction request is the last request to be processed, the method further includes:

[0034] If the transaction request is not the last request to be processed, the process returns to the step of extracting the transaction request from the transmission queue.

[0035] A second aspect of the present invention provides a transaction request processing device, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected via a line; the at least one processor calls the instructions in the memory so that the transaction request processing device executes the above-mentioned transaction request processing method.

[0036] A third aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned transaction request processing method.

[0037] In an embodiment of the present invention, transaction requests are managed by transmitting queues to ensure the orderliness of requests. In a preset transaction number set, a unique transaction number is assigned to each transaction request, so that the transaction request processing device can accurately track the status and processing progress of each request. According to the transaction number, the transaction request processing device can quickly obtain the status information of the transaction request. According to the status information, the transaction request processing device can intelligently determine whether the transaction request should be processed at present, avoiding unnecessary resource waste and waiting. If the transaction request processing device determines that a transaction request needs to be processed, the IOMMU will be called to respond to the request and update the corresponding transaction number set. It is ensured that the IOMMU can accurately process the request according to the instructions of the transaction request processing device. The performance degradation problem that may be caused by the IOMMU when supporting out-of-order responses is effectively solved. By using mechanisms such as queues, numbers, status judgments and IOMMU calls, the orderly and efficient processing of transaction requests is ensured, and the overall performance of transaction request processing is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A schematic diagram of an embodiment of a method for processing a transaction request in an embodiment of the present invention;

[0039] Figure 2 An internal module diagram of a transaction request processing device in an embodiment of the present invention;

[0040] Figure 3 A schematic diagram of a specific embodiment of step 105 of the method for processing a transaction request in an embodiment of the present invention;

[0041] Figure 4 It is a schematic diagram of a specific embodiment after step 1051 of the method for processing a transaction request in an embodiment of the present invention;

[0042] Figure 5 The figure is a schematic diagram of an embodiment of a transaction request processing device in an embodiment of the present invention. DETAILED DESCRIPTION

[0043] The embodiment of the present invention provides a transaction request processing method, device and storage medium.

[0044] The embodiments disclosed in the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments disclosed in the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments disclosed in the present invention are only for exemplary purposes and are not intended to limit the scope of protection disclosed in the present invention.

[0045] In the description of the embodiments disclosed in the present invention, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0046] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of a method for processing a transaction request in an embodiment of the present invention includes:

[0047] 101. Extract the transaction request from the transmission queue;

[0048] Hardware virtualization is a technology that allows multiple virtual machines to run on a physical computer at the same time, with each virtual machine having its own independent operating system, hardware resources, and applications. Virtual machines implement peripheral virtualization through IOMMU.

[0049] IOMMU (Input / Output Memory Management Unit) is a hardware component used to isolate the device's memory space from the system's memory space.

[0050] The principle of IOMMU to achieve address translation and memory protection is similar to that of the MMU of the CPU core. It mainly achieves address translation and memory protection by searching the page table through the transaction information of the DEVICE. The efficiency of IOMMU in completing the address translation and memory protection function depends on its page table search efficiency. Factors such as the size of the internal TLB cache and the bus rate will affect the conversion efficiency. The general method used by IOMMU to improve the conversion efficiency is to increase the cache to increase the hit rate and use the out-of-order method to complete the address translation and memory protection.

[0051] Most peripheral IPs use the AMBA protocol interface to communicate with the system memory through the bus, and their requests and responses all meet the bus standard protocol specifications. Because IOMMU supports out-of-order responses and response time uncertainty to improve its performance, the storage space used to cache peripheral requests has increased, resulting in a huge increase in the logic implementation area. IOMMU responses cannot follow the AMBA protocol request order and need to be reordered according to the AMBA request order, resulting in a serious performance degradation. IOMMU implements address protection, terminates the request with Page-fault and makes the request response peripheral order complicated.

[0052] The transaction request processing method proposed in this embodiment is applied to a transaction request processing device. The internal module diagram of the transaction request processing device is shown in FIG. Figure 2 The transaction request processing method is to solve the design method of improving the performance of the out-of-order scheduling algorithm. By optimizing the search and scheduling of the request entry in the request cache, the performance can be improved as much as possible while ensuring the AMBA protocol regulations, reducing the cache area and optimizing the physical memory protection response logic.

[0053] Specifically, initialize or connect to the emission queue. Check whether the queue is empty.

[0054] If it is empty, wait or perform other tasks. If it is not empty, execute the next step.

[0055] Extract a transaction request from the queue. And remove the request from the queue.

[0056] Specifically, step 101 also includes the following specific implementation methods:

[0057] 1011. Collect the pending transaction requests from different I / O devices, and assign numbers to the pending transaction requests to obtain a transaction number set;

[0058] 1012. Put the pending transaction request into the transmission queue.

[0059] Among them, create an empty issue queue (Issue Queue).

[0060] Create a transaction ID set (Transaction ID Set), which is initially empty. Set a counter (Counter) to generate a unique transaction ID, which is initialized to 0.

[0061] Listen to transaction requests from different I / O devices.

[0062] When an I / O device issues a transaction request, the request is received and detailed information of the request (such as source, type, data, etc.) is obtained.

[0063] Verify received transaction requests to ensure that the requests are legitimate and that the system is capable of processing them.

[0064] If the request is illegal or the system resources are insufficient, the request is rejected and an error message is returned. If the transaction request is verified, the counter is incremented by 1. The current value of the counter is used as the new transaction number. The new transaction number is added to the transaction number set. The transaction number is associated with the corresponding transaction request. The transaction request with the assigned number is placed in the transmission queue.

[0065] In steps 1011-1012, by orderly collecting, assigning numbers, and placing in a transmission queue, the processing efficiency of the system is effectively improved, resource management is simplified, concurrent processing is optimized, and the reliability of the transaction request processing equipment is enhanced.

[0066] 102. Obtain a transaction number corresponding to the transaction request from a preset transaction number set;

[0067] Specifically, initialize or connect to a collection (array, hash table) of transaction numbers.

[0068] Use the identifier (such as ID, tag, etc.) in the transaction request to find the corresponding transaction number in the transaction number collection.

[0069] If a corresponding transaction number is found, the number is recorded; otherwise, a new number is generated and added to the collection.

[0070] 103. Obtain status information corresponding to the transaction number;

[0071] Specifically, initialize or connect to the state information storage (database, in-memory data structure).

[0072] Use the transaction number as a key to retrieve the corresponding status information.

[0073] If status information is found, it is logged; otherwise, a default status is set or error handling is performed.

[0074] 104. Determine whether to process the transaction request according to the status information:

[0075] Specifically, the obtained status information is read. According to the preset rules or logic, it is determined whether the status allows the transaction request to be processed. For example, the status may be "pending", "processing", "completed", etc. Only "pending" requests need to be further processed.

[0076] If processing is allowed, execute the next step; otherwise, perform error processing or wait for a state change.

[0077] 105. If it is determined to process the transaction request, call the IOMMU to respond to the transaction request and update the transaction number set;

[0078] Specifically, call the interface or function of the IOMMU to process the transaction request, wait for the response or processing result of the IOMMU, and update the status information in the transaction number set according to the processing result (for example, change "pending" to "processing" or "completed").

[0079] Specifically, refer to Figure 3 , Figure 3This is a schematic diagram of a specific embodiment of step 105 of the method for processing a transaction request in an embodiment of the present invention. Step 105 also includes the following specific implementation methods:

[0080] 1051. If it is determined to process the transaction request, call the IOMMU to determine the transaction type of the transaction request;

[0081] 1052. If the transaction type is a read transaction, allocate a read transaction buffer and a read transaction IssueQueue for the read transaction;

[0082] 1053. Initiate an IOMMU request to the IOMMU based on the buffer and the read transaction Issue Queue, and receive an IOMMU response result;

[0083] 1054. Determine whether the read transaction is correctly responded to according to the IOMMU response result;

[0084] 1055. If the read transaction is responded to correctly, release the read transaction buffer and the read transaction IssueQueue.

[0085] Optionally, if the read transaction is not responded to correctly, stop processing the write transaction and return to execute the step of extracting the transaction request from the transmit queue.

[0086] Optionally, if the read transaction is not responded to correctly, prompt information corresponding to the read transaction is output.

[0087] Specifically, the read transaction processing steps include:

[0088] Step a: Allocate buffer and Issue Queue

[0089] The input of the AR channel is cached in a buffer (AR_Buffer).

[0090] Allocate Issue Queue Entry, parse the Ar_User field according to the protocol agreement and write related information such as Ar_addr, Ar_ID, and entry index of the allocated Ar_buffer into the Issue Queue.

[0091] Allocate Ar_ID_Buffer Entry, allocate a different entry for each Ar_ID, and each entry is used to store the index of the allocated AR_Buffer Entry through a MAXIMUM depth FIFO.

[0092] Step b: Initiate IOMMU request and receive IOMMU response

[0093] Step c: Read transaction reordering and Issue: Wake up AR_Buffer through the response of IOMMU to poll the entry, issue the read transaction, release the request buffer and allocate the read response buffer (R_Buffer); for requests with address decoding errors, the write transaction will not be issued, but it will be recorded in R_Buffer.

[0094] Step d: Read transaction response: A normal response receives the response of the read response channel to release the entry of R_buffer and update the related entry of RID_buffer. Page-fault response When the head node of the linked list of IDs managed by any RID buffer entry is an error transaction, the slave is prevented from responding and the IOMMU conversion error transaction is directly responded to the master.

[0095] In steps 1051-1055, by allocating buffers (such as AR_Buffer) and Issue Queue Entry, it is ensured that read transaction requests can be stored and processed in an orderly and efficient manner. This helps reduce data loss and confusion and improves the accuracy of data processing. By allocating a different entry for each Ar_ID and storing the index of the allocated AR_Buffer Entry through a FIFO with a MAXIMUM depth, fine management of read transaction requests is achieved.

[0096] Specifically, refer to Figure 4 , Figure 4 This is a schematic diagram of a specific embodiment after step 1051 of the method for processing a transaction request in an embodiment of the present invention. Step 1051 also includes the following specific implementation methods:

[0097] 1056. If the transaction type is a write transaction, allocate a write transaction buffer and an entry of an Issue Queue to the write transaction;

[0098] 1057. Initiate an IOMMU request to the IOMMU based on the buffer and the entry, and receive an IOMMU response result;

[0099] 1058. Determine whether the write transaction is correctly responded to according to the IOMMU response result;

[0100] 1059. If the write transaction is responded to correctly, release the write transaction buffer and the entry of the Issue Queue.

[0101] Optionally, if the write transaction is not responded to correctly, stop processing the write transaction and return to execute the step of extracting the transaction request from the transmit queue.

[0102] In steps 1056-1059, by allocating dedicated write transaction buffers and issue queue entries for write transactions, the system can efficiently manage write transaction requests and responses. Resource conflicts and waiting time are avoided, and the processing efficiency of write transactions is improved. After initiating a write transaction request, the system determines whether the write transaction is correctly responded to by receiving the response result of the IOMMU. The reliability of the write transaction is ensured, and data write errors or omissions are avoided.

[0103] 106. Determine, according to the transaction number set, whether the transaction request is the last request to be processed;

[0104] Specifically, the transaction number set is traversed or checked. The number of transaction requests in the "pending" state is counted. If the number is 0, it means there are no pending transaction requests; otherwise, it means there are unprocessed transactions.

[0105] 107. If the transaction request is the last request to be processed, determine that the request processing is completed.

[0106] Specifically, it is determined whether all transaction requests have been processed according to the judgment result. If all requests have been processed, subsequent operations such as completion notification, logging, and resource release are performed. If there are still unprocessed requests, it continues to wait or perform other tasks.

[0107] Optionally, if the transaction request is not the last pending request, the step of extracting the transaction request from the transmission queue is returned to be executed. By continuously and cyclically extracting and processing transaction requests from the transmission queue until all pending requests are processed, the continuity and efficiency of transaction processing are ensured.

[0108] In an embodiment of the present invention, transaction requests are managed by transmitting queues to ensure the orderliness of requests. In a preset transaction number set, a unique transaction number is assigned to each transaction request, so that the transaction request processing device can accurately track the status and processing progress of each request. According to the transaction number, the transaction request processing device can quickly obtain the status information of the transaction request. According to the status information, the transaction request processing device can intelligently determine whether the transaction request should be processed at present, avoiding unnecessary resource waste and waiting. If the transaction request processing device determines that a transaction request needs to be processed, the IOMMU will be called to respond to the request and update the corresponding transaction number set. It is ensured that the IOMMU can accurately process the request according to the instructions of the transaction request processing device. The performance degradation problem that may be caused by the IOMMU when supporting out-of-order responses is effectively solved. By using mechanisms such as queues, numbers, status judgments and IOMMU calls, the orderly and efficient processing of transaction requests is ensured, and the overall performance of transaction request processing is improved.

[0109] Figure 5 1 is a schematic diagram of the structure of a transaction request processing device provided by an embodiment of the present invention. The transaction request processing device 500 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more mass storage devices) storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 may be temporary storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the transaction request processing device 500. Furthermore, the processor 510 may be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the transaction request processing device 500.

[0110] The transaction request-based processing device 500 may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Serve, Mac OS X, Unix, Linux, Free BSD, etc. It will be appreciated by those skilled in the art that Figure 5 The structure of the transaction request processing device shown does not constitute a limitation on the transaction request processing device, and may include more or less components than shown in the figure, or combine some components, or arrange the components differently.

[0111] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the method for processing the transaction request.

[0112] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0113] In addition, although each operation is described in a specific order, this should be understood as requiring such operation to be performed in the specific order shown or in a sequential order, or requiring that all illustrated operations should be performed to obtain desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination mode.

[0114] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A method for processing a transaction request, characterized in that: The transaction request processing method includes: Extract transaction requests from the emission queue; Obtaining a transaction number corresponding to the transaction request from a preset transaction number set; Obtaining status information corresponding to the transaction number; Determine whether to process the transaction request according to the status information: If it is determined to process the transaction request, calling the IOMMU to respond to the transaction request and updating the transaction number set; Determining, according to the transaction number set, whether the transaction request is the last request to be processed; If the transaction request is the last request to be processed, it is determined that the request processing is completed.

2. The method for processing a transaction request according to claim 1, characterized in that: Before the step of extracting the transaction request from the transmission queue, the method further includes: Collecting the pending transaction requests from different I / O devices, and assigning numbers to the pending transaction requests to obtain a transaction number set; The pending transaction request is placed in the transmit queue.

3. The method for processing a transaction request according to claim 1, characterized in that: If it is determined that the transaction request is processed, the step of calling the IOMMU to respond to the transaction request includes: If it is determined to process the transaction request, calling the IOMMU to determine the transaction type of the transaction request; If the transaction type is a read transaction, a read transaction buffer and a read transaction Issue Queue are allocated to the read transaction; Based on the buffer and the read transaction Issue Queue, an IOMMU request is initiated to the IOMMU, and an IOMMU response result is received; According to the IOMMU response result, determining whether the read transaction is correctly responded to; If the read transaction is responded to correctly, the read transaction buffer and the read transaction Issue Queue are released.

4. The method for processing a transaction request according to claim 3, characterized in that: After the step of determining whether the read transaction is correctly responded to according to the IOMMU response result, the method further includes: If the read transaction is not responded correctly, stop processing the write transaction and return to the step of extracting the transaction request from the transmit queue.

5. The method for processing a transaction request according to claim 3, characterized in that: After the step of determining whether the read transaction is correctly responded to according to the IOMMU response result, the method further includes: If the read transaction is not responded to correctly, a prompt message corresponding to the read transaction is output.

6. The method for processing a transaction request according to claim 3, characterized in that: After the step of determining to process the transaction request and calling the IOMMU to determine the transaction type of the transaction request, the method further includes: If the transaction type is a write transaction, allocate a write transaction buffer and an entry of the Issue Queue for the write transaction; Based on the buffer and the entry, an IOMMU request is initiated to the IOMMU, and an IOMMU response result is received; According to the IOMMU response result, determining whether the write transaction is correctly responded to; If the write transaction is responded to correctly, the write transaction buffer and the entry of the Issue Queue are released.

7. The method for processing a transaction request according to claim 6, characterized in that: After the step of determining whether the write transaction is correctly responded to according to the IOMMU response result, the method further includes: If the write transaction is not correctly responded, stop processing the write transaction and return to the step of extracting the transaction request from the transmit queue.

8. The method for processing a transaction request according to claim 1, characterized in that: After the step of determining whether the transaction request is the last request to be processed according to the transaction number set, the method further includes: If the transaction request is not the last request to be processed, the process returns to the step of extracting the transaction request from the transmission queue.

9. A transaction request processing device, characterized in that: The transaction request processing device comprises: a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected via a line; The at least one processor calls the instruction in the memory to enable the transaction request processing device to execute the transaction request processing method according to any one of claims 1 to 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for processing a transaction request according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Transaction processing method and device

    CN105989133A

  • Systems and methods for input / output computing resource control

    CN108351829A

  • Long transaction handling method and system, electronic equipment and storage medium

    CN113515353A

  • Transaction processing method and device, equipment and storage medium

    CN116932151A

  • Memory transaction prioritization

    US20180165008A1

Cited By

  • Label management method, data read-write method, system, equipment, medium and product

    CN119376659A

  • Label management method, data reading and writing method, system, device, medium and product

    CN119376659B

  • On-chip transaction processing system and method, electronic equipment and storage medium

    CN120045514A

  • Tag management method and system, data reading and writing method and system, and device, medium and product

    WO2026144790A1