Method and device for dynamically adjusting read-write operation, equipment and medium

By detecting handshake requests in the AXI slave device and determining the establishment of the handshake system according to the dynamic adjustment rules, the lack of dynamic adjustment of read and write mode of the AXI slave device is solved, and more efficient data transmission and system stability are achieved.

CN119988292AActive Publication Date: 2025-05-13SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510080305.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-05-13
Estimated Expiration
2045-01-17

AI Technical Summary

Technical Problem

The existing AXI slave devices lack dynamically adjusting read and write modes and lack effective scheduling mechanisms for read and write operations, resulting in low data transmission delay and system stability.

Method used

By detecting the handshake request of the AXI master device, the channel identification and request time of the read/write channel are obtained, and the handshake system is determined according to the dynamic adjustment rules, and the operation instructions are received and forwarded through the specified channel.

Benefits of technology

It realizes reducing data transmission delay, improving system stability and response speed, prioritizing high-priority operations, enhancing data processing flexibility, and simplifying system design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119988292A_ABST
    Figure CN119988292A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and discloses a read-write operation dynamic adjustment method and device, equipment and a medium, and the method comprises the steps: when slave equipment of a high-level extension interface detects that master equipment sends a handshake mechanism request through at least one read / write channel, obtaining a channel identifier of each read / write channel, detecting the moment of each handshake mechanism request; and according to the dynamic adjustment rule, the detected moment of each handshake mechanism request and one or more factors in the channel identifier of each read / write channel, determining whether the slave device establishes a handshake mechanism with the master device through the first channel at the current moment. And after receiving the operation instruction transmitted by the main equipment through the first channel, forwarding the operation instruction to the instruction execution equipment so as to complete the operation corresponding to the operation instruction. The slave device can adjust the sequence of establishing the handshake mechanism with the master device at any time according to the real-time requirement of the system, and preferentially process high-priority read-write operation, so that the execution efficiency of the system 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 computer technology, and in particular to a method and device for dynamically adjusting read and write operations. Background Art

[0002] The Advanced eXtensible Interface (AXI) bus is a high-performance point-to-point communication interface that is widely used for data transmission between processors and peripherals in embedded systems. As the data receiver, the AXI slave device needs to be able to process data requests from the AXI master device.

[0003] In the related art, the AXI protocol provides a set of standard signals and interfaces for controlling the handshake process of data transmission. The AXI slave device can receive read and write requests from the AXI master device and respond according to the protocol standard. However, some systems in the related art may implement simple serial or parallel read and write operations, but these are usually fixed modes and cannot be dynamically adjusted according to actual needs. Summary of the invention

[0004] In view of this, the present invention provides a method, apparatus, device and medium for dynamically adjusting read and write operations to solve the problem that the existing AXI slave device lacks dynamic adjustment of read and write modes and lacks an effective scheduling mechanism for read and write operations.

[0005] In a first aspect, the present invention provides a method for dynamically adjusting read and write operations, the method being executed by a slave device of an advanced extension interface, comprising:

[0006] When it is detected that the master device of the advanced extension interface sends a handshake mechanism request through at least one read / write channel, a channel identifier of each read / write channel and a time when each handshake mechanism request is detected are obtained;

[0007] Determine whether a slave device of the advanced extension interface establishes a handshake mechanism with a master device of the advanced extension interface through a first channel at a current moment according to a dynamic adjustment rule, a moment when each handshake mechanism request is detected, and one or more factors in a channel identifier of each read / write channel, wherein the dynamic adjustment rule is used to indicate whether to receive an operation instruction of the first channel, the dynamic adjustment rule is determined by one or more attributes of a data read / write mode, a channel type, and a read / write priority, and the first channel is any one of at least one read / write channel;

[0008] An operation instruction transmitted by a master device of the advanced expansion interface is received through the first channel, and the operation instruction is forwarded to a preconfigured instruction execution device to complete an operation corresponding to the operation instruction, wherein the operation instruction includes a read instruction or a write instruction.

[0009] The present invention provides a method for dynamically adjusting read and write operations, which has the following advantages:

[0010] The master device of the advanced extension interface is detected to send a handshake mechanism request through at least one read / write channel, and the handshake request of the master device of the advanced extension interface can be responded to in time, reducing the delay of data transmission. According to the dynamic adjustment rules, the time of each handshake mechanism request detected, and one or more factors in the channel identification of each read / write channel, it is determined whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment, which can not only reduce communication errors caused by channel conflicts or overloads, improve the stability and reliability of the system, but also give priority to high-priority read and write operations, significantly improve the system response speed, and thus improve the overall performance. The dynamic adjustment rules are determined by one or more attributes in the data read and write mode, channel type, and read and write priority, which enables the slave device of the advanced extension interface to select the most appropriate operation mode according to the specific application scenario, further improving the flexibility of data processing. The slave device of the advanced extension interface can adjust the order of establishing the handshake mechanism with the master device of the advanced extension interface at any time according to the real-time needs of the system, and centrally handle the dynamic adjustment of the handshake mechanism, which can reduce the complexity in the system design, making the system design more concise, easy to maintain and upgrade.

[0011] In an optional implementation manner, detecting whether a master device of the advanced extension interface sends a handshake mechanism request through a first channel includes:

[0012] When it is detected that the state of the master device of the advanced extension interface indicating sending the handshake mechanism request signal on the first channel is valid, it is determined that the master device of the advanced extension interface sends the handshake mechanism request through the first channel.

[0013] Specifically, the signal indicating the sending of the handshake mechanism request is collectively referred to as the VALID signal. By detecting the state of the VALID signal to determine whether the master device of the advanced extension interface has sent a handshake mechanism request, a simple and clear indication is provided, so that the slave device of the advanced extension interface can quickly identify the intention of the Master, and thus respond to the handshake request of the master device of the advanced extension interface in a timely manner, which helps to reduce the system response time and improve the overall data transmission efficiency. At the same time, the effective state of the VALID signal, as a clear handshake request flag, helps to reduce misjudgments caused by signal instability or interference, thereby reducing the risk of communication errors and channel conflicts.

[0014] In an optional implementation, the data reading and writing mode includes a serial mode or a parallel mode;

[0015] When the data read / write mode is the serial mode, the dynamic adjustment rule is to establish a handshake mechanism according to the handshake mechanism request sent to each read / write channel in turn according to the order in which the handshake mechanism request is detected;

[0016] or,

[0017] When the data read and write mode is in parallel mode, the dynamic adjustment rule is to determine the read and write order according to the read and write priority;

[0018] The read and write sequence is used to indicate the channel types corresponding to the multiple handshake mechanism requests that have been detected, and determine the operation type;

[0019] After controlling all channels corresponding to the first operation type to establish a handshake mechanism respectively, all channels corresponding to the second operation type are then controlled to establish a handshake mechanism respectively;

[0020] The operation type includes a read operation type and a write operation type, and the priority of the first operation type is higher than the priority of the second operation type.

[0021] Specifically, when the data read and write mode is in serial mode, the dynamic adjustment rule is to establish a handshake mechanism according to the order in which the handshake mechanism requests are detected, and in turn according to the handshake mechanism requests sent to each read / write channel; when the data read and write mode is in parallel mode, the dynamic adjustment rule is to determine the reading and writing order according to the reading and writing priority, which can ensure that high-priority operations are executed first, thereby improving the transmission efficiency of key data. At the same time, it ensures the sequentiality of data transmission, reduces delays caused by channel conflicts or resource competition, and improves the stability and reliability of the system.

[0022] By dynamically adjusting the handshake mechanism, the system can dynamically allocate channel resources according to the current communication status and priority, thereby improving resource utilization and system throughput.

[0023] In general, this method improves the flexibility, efficiency and stability of the system by configuring corresponding dynamic adjustment rules for different data reading and writing modes, while optimizing the allocation and utilization of resources and improving the response speed and reliability of the system.

[0024] In an optional implementation, when the dynamic adjustment rule is to establish a handshake mechanism according to the handshake mechanism requests sent to each read / write channel in sequence according to the order in which the handshake mechanism requests are detected, determining whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment according to the dynamic adjustment rule, the moment when each handshake mechanism request is detected, and one or more factors in the channel identifier of each read / write channel, specifically includes:

[0025] Determine the order of sending the handshake mechanism requests through each of the read / write channels according to the timing of each handshake mechanism request;

[0026] When the execution order of establishing a handshake mechanism with the master device of the advanced extension interface through the first channel is determined according to the order in which the handshake mechanism requests are sent by each read / write channel, a handshake mechanism is established with the master device of the advanced extension interface through the first channel.

[0027] Specifically, according to the moment of each handshake mechanism request, the order of sending handshake mechanism requests through each read / write channel is determined, and the handshake mechanism is established with the master device of the advanced expansion interface in turn, ensuring the sequentiality of data transmission, which is crucial for application scenarios that require strict sequential control (such as time synchronization or sequential processing tasks). At the same time, it also avoids potential data confusion or conflicts caused by disordered processing and reduces the error rate of channel transmission. Orderly processing of handshake requests can not only reduce the communication conflicts that may occur when multiple channels try to establish handshakes at the same time, but also reduce unnecessary channel activations, thereby improving system stability and reducing system power consumption.

[0028] In an optional implementation, when the dynamic adjustment rule is to determine the read and write sequence according to the read and write priority, and the read and write sequence is used to indicate the channel types corresponding to the multiple handshake mechanism requests that have been detected, determine the operation type, and control all channels corresponding to the first operation type to establish a handshake mechanism respectively, and then execute all channels corresponding to the second operation type to establish a handshake mechanism respectively, determine whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment according to the dynamic adjustment rule, the moment when each handshake mechanism request is detected, and one or more factors in the channel identifier of each read / write channel, specifically including:

[0029] According to the channel identifier of each read / write channel, identify the channel type of each read / write channel;

[0030] Determine the priority of each read / write channel based on the channel type and read / write priority;

[0031] According to the priority of the first channel, it is determined whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment.

[0032] Specifically, each read / write channel has its corresponding channel identifier, and according to the channel identifier of each read / write channel, the channel type, read operation type or write operation type of each read / write channel is identified;

[0033] The operation type priority is dynamically determined according to the channel type and read-write priority. When the channel with a high priority is transmitting, the channel with a low priority is in a waiting state. This allows system resources to be more reasonably allocated to different channels according to the read-write priority to complete instruction transmission requests and improve resource utilization efficiency. Since the handshake mechanism is established based on the channel type and read-write priority, the system behavior becomes more predictable and is more conducive to system performance optimization.

[0034] In an optional implementation, the channel type includes one or more of a read address type, a read data type, a write address type, a write data type, and a write response type.

[0035] Specifically, by distinguishing different types of channels, interference between different types of data can be reduced, data conflicts can be avoided, and system stability can be improved. In addition, multiple channels with the same read and write priority can work in parallel to provide higher data transmission bandwidth.

[0036] In an optional implementation, when determining whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment according to the dynamic adjustment rule, the moment when each handshake mechanism request is detected, and one or more factors in the channel identifier of each read / write channel, the method further includes:

[0037] The signal state indicating the establishment of the handshake mechanism in the slave device of the advanced expansion interface on the first channel side is in a valid state.

[0038] Specifically, the signals indicating the establishment of a handshake mechanism are collectively referred to as READY signals. By dynamically adjusting the state of the READY signal on the first channel side, the system can optimize resource allocation according to the current communication demand state. In the channel that does not receive data transmission, the READY signal is set to an invalid state, which can reduce unnecessary channel activation, improve resource utilization efficiency and reduce power consumption.

[0039] In a second aspect, the present invention provides a device for dynamically adjusting read and write operations, the device comprising:

[0040] A detection module, used for detecting whether a master device of the advanced extension interface sends a handshake mechanism request through at least one read / write channel;

[0041] The acquisition module is used to acquire the channel identifier of each read / write channel and the time when each handshake mechanism request is detected when the detection module detects that the master device of the advanced extension interface sends a handshake mechanism request through at least one read / write channel;

[0042] A processing module, used for determining whether a slave device of the advanced extension interface establishes a handshake mechanism with a master device of the advanced extension interface through a first channel at a current moment according to a dynamic adjustment rule, a moment when each handshake mechanism request is detected, and one or more factors in a channel identifier of each read / write channel, wherein the dynamic adjustment rule is used to indicate whether an operation instruction of the first channel is received, and the dynamic adjustment rule is determined by one or more attributes in a data read / write mode, a channel type, and a read / write priority;

[0043] A control module, configured to control a signal state indicating establishment of a handshake mechanism on the first channel side in the slave device of the advanced extension interface to be in a valid state when determining whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through the first channel at a current moment according to a dynamic adjustment rule, a moment when each handshake mechanism request is detected, and one or more factors in a channel identifier of each read / write channel;

[0044] A receiving module, used for receiving an operation instruction transmitted by a master device of the advanced extension interface through a first channel;

[0045] The sending module is used to forward the operation instruction to the pre-configured instruction execution device to complete the operation corresponding to the operation instruction, wherein the operation instruction includes a read instruction or a write instruction.

[0046] The present invention provides a read-write operation dynamic adjustment device, which has the following advantages:

[0047] By detecting that the master device of the advanced extension interface sends a handshake mechanism request through at least one read / write channel, the handshake request of the master device of the advanced extension interface can be responded to in time, the delay of data transmission can be reduced, and according to the dynamic adjustment rules, the time of each handshake mechanism request detected, and one or more factors in the channel identification of each read / write channel, it is determined whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment, which can not only reduce communication errors caused by channel conflicts or overloads, improve the stability and reliability of the system, but also give priority to high-priority read and write operations, significantly improve the system response speed, and thus improve the overall performance. The dynamic adjustment rules are determined by one or more attributes in the data read and write mode, channel type, and read and write priority, which enables the slave device of the advanced extension interface to select the most appropriate operation mode according to the specific application scenario, further improve the flexibility of data processing, and reduce the complexity in system design by centrally processing the dynamic adjustment of the handshake mechanism, making the system design more concise, easy to maintain and upgrade.

[0048] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method for dynamically adjusting read and write operations of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0049] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for dynamically adjusting read and write operations of the first aspect or any corresponding embodiment thereof.

[0050] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions, wherein the computer instructions are used to enable a computer to execute the method for dynamically adjusting read and write operations of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0052] Figure 1 It is a flowchart of a method for dynamically adjusting read and write operations provided by an embodiment of the present invention;

[0053] Figure 2 It is a flowchart of another method for dynamically adjusting read and write operations provided by an embodiment of the present invention;

[0054] Figure 3 It is a flowchart of another method for dynamically adjusting read and write operations provided by an embodiment of the present invention;

[0055] Figure 4 Schematic diagram of another method for dynamically adjusting read and write operations provided by an embodiment of the present invention

[0056] Figure 5 It is a structural schematic diagram of a read-write operation dynamic adjustment device provided by an embodiment of the present invention;

[0057] Figure 6 It is a schematic diagram of the hardware structure of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0059] The Advanced eXtensible Interface (AXI) bus is a high-performance point-to-point communication interface that is widely used for data transmission between processors and peripherals in embedded systems. As the data receiver, the slave device of the AXI advanced expansion interface needs to be able to process data requests from the master device of the AXI advanced expansion interface.

[0060] In the related art, the AXI protocol provides a set of standard signals and interfaces for controlling the handshake process of data transmission. The slave device of the AXI advanced extension interface can receive read and write requests from the AXI Master and respond according to the protocol standard. However, some systems in the related art may implement simple serial or parallel read and write operations, but these are usually fixed modes and cannot be dynamically adjusted according to actual needs.

[0061] To solve the above problems, an embodiment of the present invention provides an embodiment of dynamic adjustment of read and write operations. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system (computer device) including a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0062] In this embodiment, a method for dynamically adjusting read and write operations is provided, which can be used for the above-mentioned terminal devices, such as mobile phones, tablet computers, etc. Figure 1 FIG. 1 is a flow chart of a method for dynamically adjusting read and write operations provided by an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0063] Step S101, when it is detected that the master device of the advanced extension interface sends a handshake mechanism request through at least one read / write channel, the channel identifier of each read / write channel and the time when each handshake mechanism request is detected are obtained.

[0064] In a specific example, a single read / write channel or multiple read / write channels may be configured between the master device of the advanced extension interface and the slave device of the advanced extension interface, and each read / write channel has a corresponding different channel identifier, which may be named based on the physical location and function of the channel and is used to indicate the channel type of the read / write channel.

[0065] Among them, the main function of the read / write channel is to receive operation instructions from the master device of the advanced extension interface or data transmission operations during the execution of instructions. When the slave device of the advanced extension interface detects that the master device of the advanced extension interface sends a handshake mechanism request through at least one read / write channel, the slave device of the advanced extension interface obtains the channel identification of each read / write channel and the time when each handshake mechanism request is detected. According to the channel identification of each handshake mechanism and the time of the request, the order of receiving the requests can be clearly determined, thereby ensuring the accuracy and sequentiality of data transmission.

[0066] Step S102, determining whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment according to the dynamic adjustment rule, the moment when each handshake mechanism request is detected, and one or more factors in the channel identifier of each read / write channel.

[0067] Among them, the dynamic adjustment rule is used to indicate whether to receive the operation instruction of the first channel. The dynamic adjustment rule is determined by one or more attributes of the data read and write mode, channel type, and read and write priority. The first channel is any channel of at least one read / write channel.

[0068] Specifically, whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment may be determined by the moment of each handshake mechanism request, or may be determined by the dynamic adjustment rule and the channel identifier of each read / write channel. One or more factor control is mainly to achieve the dynamic adjustment of one or more attributes in the data read / write mode, channel type, and read / write priority to change the instruction receiving order according to the actual demand changes.

[0069] In a specific example, the data read and write modes are divided into serial mode and parallel mode. The channel type is divided into read operation type and write operation type. The read and write priority includes read operation type priority and write operation type priority and whether the read and write operation types are sequence-preserving. Different combinations will result in different instruction receiving orders. The first channel can be any channel.

[0070] Step S103: receiving an operation instruction transmitted by the master device of the advanced extension interface through the first channel, and forwarding the operation instruction to a pre-configured instruction execution device to complete the operation corresponding to the operation instruction.

[0071] Specifically, when the slave device of the advanced extension interface determines at the current moment that a handshake mechanism is established with the master device of the advanced extension interface through the first channel, the corresponding handshake operation is performed. Then, the operation instruction transmitted by the master device of the advanced extension interface is received through the first channel. And, the operation instruction is forwarded to the preconfigured instruction execution device. In a specific example, for example, the operation instruction may include a read instruction or a write instruction. The instruction execution device includes but is not limited to the following devices: a memory controller (responsible for managing memory access, which can respond to read instructions and write instructions to read and write data), a processor core (a processor core directly connected to the AXI bus, which accesses memory or peripherals or a bridge device (AXI bus is connected to bridge devices of other bus protocols, which can convert AXI instructions to other protocols to achieve communication between different buses).

[0072] The embodiment of the present application provides a method for dynamically adjusting read and write operations, which detects that the master device of the advanced extension interface sends a handshake mechanism request through at least one read / write channel, can respond to the handshake request of the master device of the advanced extension interface in a timely manner, reduce the delay of data transmission, and determine whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment according to the dynamic adjustment rules, the moment of each handshake mechanism request detected, and one or more factors in the channel identifier of each read / write channel. It can not only reduce communication errors caused by channel conflicts or overloads, improve the stability and reliability of the system, but also give priority to high-priority read and write operations, significantly improve the system response speed, and thus improve the overall performance. The dynamic adjustment rules are determined by one or more attributes in the data read and write mode, channel type, and read and write priority, which enables the slave device of the advanced extension interface to select the most appropriate operation mode according to the specific application scenario, further improving the flexibility of data processing. The method can reduce the complexity in system design by centrally processing the dynamic adjustment of the handshake mechanism, making the system design more concise, easy to maintain and upgrade.

[0073] In an optional embodiment, based on the above embodiment, detecting whether the master device of the advanced extension interface sends a handshake mechanism request through the first channel can be implemented in the following manner, which specifically includes the following method steps:

[0074] For example, when it is detected that the state of the signal indicating sending the handshake mechanism request of the master device of the advanced extension interface on the first channel is valid, it is determined that the master device of the advanced extension interface sends the handshake mechanism request through the first channel.

[0075] In an optional example, the signal indicating sending the handshake mechanism request may be a VALID signal, and the state of the VALID signal includes a valid state and an invalid state.

[0076] In a specific application process, for example, the level state of the VALID signal is used to indicate whether the signal is valid, wherein a high level state is a valid state and a low level state is an invalid state. Of course, in actual application processes, other methods can also be used to define whether the state of the VALID signal is valid. For example, a logical value of 1 indicates valid, and a logical value of 0 indicates invalid.

[0077] Specifically, by detecting the state of the VALID signal to determine whether the master device of the advanced expansion interface has sent a handshake mechanism request, a simple and clear indication is provided, so that the slave device of the advanced expansion interface can quickly identify the intention of the Master, and thus respond to the handshake request of the master device of the advanced expansion interface in a timely manner, which helps to reduce the system response time and improve the overall data transmission efficiency. At the same time, the effective state of the VALID signal, as a clear handshake request flag, helps to reduce misjudgments caused by signal instability or interference, thereby reducing the risk of communication errors and channel conflicts.

[0078] In an optional embodiment, when determining whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment according to the dynamic adjustment rule, the moment when each handshake mechanism request is detected, and one or more factors in the channel identifier of each read / write channel, the method further includes:

[0079] The signal state indicating the establishment of the handshake mechanism in the slave device of the advanced expansion interface on the first channel side is in a valid state.

[0080] In an optional example, the signal indicating establishment of the handshake mechanism may be a READY signal, and the state of the READY signal includes a valid state and an invalid state.

[0081] In a specific application, for example, the signal level state is used to indicate that the high level state is a valid state and the low level state is an invalid state. Of course, other methods can also be used to define whether the state of the READY signal is valid. For example, a logical value of 1 indicates valid, and a logical value of 0 indicates invalid.

[0082] Specifically, by dynamically adjusting the state of the READY signal on the first channel side, the system can optimize resource allocation according to the current communication demand state. By setting the READY signal to an invalid state on the channel that does not receive data transmission, unnecessary channel activation can be reduced, thereby improving resource utilization efficiency and reducing power consumption.

[0083] In an optional example, as described above, the data reading and writing mode includes a serial mode or a parallel mode.

[0084] Among them, when the data reading and writing mode is serial mode, the dynamic adjustment rules are:

[0085] Establishing a handshake mechanism according to the handshake mechanism request sent to each read / write channel in turn in the order in which the handshake mechanism request is detected;

[0086] Alternatively, when the data read and write mode is parallel mode, the dynamic adjustment rule is:

[0087] Determine the read and write sequence according to the read and write priority, wherein the read and write sequence is used to indicate the channel types corresponding to the multiple handshake mechanism requests that have been detected, and determine the operation type;

[0088] After controlling all channels corresponding to the first operation type to establish a handshake mechanism respectively, all channels corresponding to the second operation type are then controlled to establish a handshake mechanism respectively;

[0089] The operation type includes a read operation type and a write operation type, and the priority of the first operation type is higher than the priority of the second operation type.

[0090] Furthermore, there may be one or more channels corresponding to the first operation type. When there are multiple channels, instruction reception between the channels is performed in parallel.

[0091] In a specific example, when the dynamic adjustment rule is to establish a handshake mechanism according to the handshake mechanism request sent to each read / write channel in sequence according to the order in which the handshake mechanism request is detected, the step of determining whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment according to the dynamic adjustment rule, the moment when each handshake mechanism request is detected, and one or more factors in the channel identifier of each read / write channel can be referred to. Figure 2 As shown, the method comprises the following steps:

[0092] Step S201, according to the time of each handshake mechanism request, determine the order of sending the handshake mechanism request through each read / write channel.

[0093] Specifically, the master device of the advanced extension interface is referred to as the Master device hereinafter, and the slave device of the advanced extension interface is referred to as the Slave device hereinafter.

[0094] In a specific example, when it is detected that the Master device has sent a handshake mechanism request through at least one read / write channel, the time of each handshake mechanism request is obtained. The time format may be, for example, a value generated by 'year-month-day-hour-minute-second'. The order in which each read / write channel sends the handshake mechanism request is determined by the time of each handshake mechanism request. The earlier the received time is, the earlier the order in which the channel sends the handshake mechanism request is.

[0095] Step S202: determining the order of establishing a handshake mechanism with a master device of the advanced extension interface through the first channel according to the order in which the handshake mechanism requests are sent by each read / write channel.

[0096] Step S203: establishing a handshake mechanism with the master device of the advanced extension interface through the first channel.

[0097] Specifically, after determining that the execution order of establishing a handshake mechanism with a master device of an advanced expansion interface through a first channel is reached according to the order in which the handshake mechanism requests are sent by each read / write channel, the READY signal of the first channel is controlled to be in a valid state in the above order, wherein the first channel is any one of at least one read / write channel.

[0098] In another optional example, when the dynamic adjustment rule is to determine the read and write sequence according to the read and write priority, and the read and write sequence is used to indicate the channel types corresponding to the multiple handshake mechanism requests that have been detected, determine the operation type, and control all channels corresponding to the first operation type to establish a handshake mechanism respectively, and then execute all channels corresponding to the second operation type to establish a handshake mechanism respectively, according to the dynamic adjustment rule, the moment when each handshake mechanism request is detected, and one or more factors in the channel identifier of each read / write channel, determine whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment, for details, see Figure 3 As shown, the method comprises the following steps:

[0099] Step S301 , identifying the channel type of each read / write channel according to the channel identifier of each read / write channel.

[0100] Specifically, each read / write channel has its corresponding channel identifier, each channel identifier has its corresponding channel type, each channel type has its corresponding operation type, and the operation type is divided into a read operation type and a write operation type.

[0101] Step S302, determining the priority of each read / write channel according to the channel type and the read / write priority;

[0102] Specifically, the channel type may include one or more of a read address channel, a read data channel, a write address channel, a write data channel, and a write response channel. Because the channel type includes a read type and a write type, the operation type corresponding to the channel type may include a read operation type and a write operation type.

[0103] Among them, the read / write priority can determine the priority of the operation type. For example, the read operation type is prioritized or the write operation type is prioritized. According to the priorities of different read / write operations, the order of read / write operations can be determined. Each read / write channel determines the priority according to the operation type corresponding to its channel type.

[0104] In a specific example, for example, if the read operation priority is higher than the write operation priority, then the priority of the read address channel and the read data channel are higher than the priority of the write data channel, the write address channel, and the write response channel. That is, all write operations will be executed only after all read operations are executed. Of course, if the write operation priority is higher than the read operation priority, all write operations will be executed first, and then all read operations will be further executed. In the specific application process, the priority of channels of the same operation type can be equal. In the specific execution, if the handshake mechanism request is sent in sequence through different channels of the same operation type, the corresponding operation can also be executed first according to the order of sending.

[0105] Step S303: determining, according to the priority of the first channel, whether the slave device of the advanced extension interface has established a handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment.

[0106] Specifically, as described above, the priority of the first channel may be determined first, and then according to the criteria for establishing a handshake mechanism with the Master device corresponding to different priorities, it is determined whether to establish a handshake mechanism with the Slave device through the first channel.

[0107] For example, if the first channel is a read channel and the priority of the read channel is high, that is, when there are read and write operations at the same time, the read operation is performed first. Then, at this time, according to the priority of the first channel, it can be determined that the slave device establishes a handshake mechanism with the master device through the first channel at the current moment.

[0108] In this embodiment, the operation type priority is dynamically determined according to the channel type and read-write priority. When the channel with a high priority is transmitting, the channel with a low priority is in a waiting state, so that system resources can be more reasonably allocated to different channels according to the read-write priority to complete the instruction transmission request, thereby improving the efficiency of resource utilization. Since the handshake mechanism is established based on the channel type and read-write priority, the behavior of the system becomes more predictable, which is more conducive to system performance optimization.

[0109] The following is a specific example to illustrate the overall operation process of the above method of the present application. Figure 4 As shown:

[0110] Assume that five channels are configured between the Master device and the Slave device, channel 0 and channel 1 are read operation types, channel 2, channel 3 and channel 4 are write operation types, channel 0 is specified as a read address type, channel 1 is a read data type, channel 2 is a write address type, channel 3 is a write data type, and channel 4 is a write response type. The priorities of channels of the same operation type (for example, all are read channels) are equal.

[0111] In a specific example, when the data read / write mode is set to serial, the order of receiving requests is clearly defined according to the timing of each handshake mechanism request, and a handshake mechanism is established with each read / write channel in turn.

[0112] For example, at the first moment, the handshake mechanism request received is the channel 0, at the second moment, the handshake mechanism request received is the channel 1, at the third moment, the handshake mechanism request received is the channel 2, at the fourth moment, the handshake mechanism request received is the channel 3, and at the fifth moment, the handshake mechanism request received is the channel 4.

[0113] Then, according to the timing of each handshake mechanism request, it can be clearly determined that the order of channels receiving the request is channels 01234. And a handshake mechanism is established with each read / write channel in the above order.

[0114] or,

[0115] In another specific example, the example takes the read-write priority setting as read priority as an example, and the write priority operation example is symmetrical to this and will not be repeated.

[0116] When the data read and write mode is set to parallel and the read and write priority is read priority, according to the above example, the VALID signals of the five channels are all in valid state at this time. The Slave device identifies the channel type according to the channel identifier. Channel 0 is specified as the read address type, channel 1 is the read data type, channel 2 is the write address type, channel 3 is the write data type, and channel 4 is the write response type. The operation type is determined according to the channel type. Channels 0 and 1 are read operation types, and channels 2, 3, and 4 are write operation types. According to the read priority in the read and write priority, the read operation type is the first operation type. It can be concluded that a handshake mechanism is established with channel 01 (read operation type) first. After channel 01 (read operation type) is received, a handshake mechanism is established with channel 234 (write operation type) and instructions are received.

[0117] In particular, when the read-write sequence preservation selection is yes, when channel 0 (read address type) is received and channel 1 (read data type) is still in the execution process, the VALID signal of channel 0 (read address type) is detected as valid again, then the handshake mechanism with channel 0 (read address type) will continue to be established. When the read-write sequence preservation selection is no, after the instruction of channel 01 (read operation type) is received and completed, a handshake mechanism with channel 234 (write operation type) will be established. When the above-mentioned situation of channel 0 occurs, wait until the instruction of channel 234 is received and completed, and then establish a handshake mechanism with channel 0.

[0118] Among them, the read and write priority includes read and write order-preserving selection.

[0119] The above examples fully demonstrate the process of dynamic adjustment of read and write operations, which can be achieved by continuously adjusting the dynamic adjustment rules according to actual needs.

[0120] In the present embodiment, a read-write operation dynamic adjustment device is also provided, and the device is used to implement the above-mentioned embodiment and preferred implementation mode, and the description has been made no further. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware is also possible and conceived.

[0121] This embodiment provides a device for dynamically adjusting read and write operations. Figure 5 As shown, it includes: a detection module 501, an acquisition module 502, a processing module 503, a receiving module 504, and a sending module 505.

[0122] A detection module 501 is used to detect whether a master device of the advanced extension interface sends a handshake mechanism request through at least one read / write channel;

[0123] The acquisition module 502 is used to acquire the channel identifier of each read / write channel and the time when each handshake mechanism request is detected when the detection module detects that the master device of the advanced extension interface sends a handshake mechanism request through at least one read / write channel;

[0124] The processing module 503 is used to determine whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment according to the dynamic adjustment rule, the moment when each handshake mechanism request is detected, and one or more factors in the channel identifier of each read / write channel, wherein the dynamic adjustment rule is used to indicate whether to receive the operation instruction of the first channel, and the dynamic adjustment rule is determined by one or more attributes in the data read / write mode, channel type, and read / write priority;

[0125] The receiving module 504 is used to receive an operation instruction transmitted by a master device of the advanced extension interface through the first channel;

[0126] The sending module 505 is used to forward the operation instruction to the pre-configured instruction execution device to complete the operation corresponding to the operation instruction, wherein the operation instruction includes a read instruction or a write instruction.

[0127] In an optional embodiment, the detection module 501 is specifically configured to determine that the master device of the advanced extension interface sends a handshake mechanism request through the first channel when it is detected that the master device of the advanced extension interface indicates that the state of sending the handshake mechanism request signal on the first channel is valid.

[0128] In an optional embodiment, the data reading and writing mode includes a serial mode or a parallel mode;

[0129] When the data read / write mode is the serial mode, the dynamic adjustment rule is to establish a handshake mechanism according to the handshake mechanism request sent to each read / write channel in turn according to the order in which the handshake mechanism request is detected;

[0130] Alternatively, when the data read and write mode is a parallel mode, the dynamic adjustment rule is to determine the read and write sequence according to the read and write priority, wherein the read and write sequence is used to indicate the channel types corresponding to the multiple handshake mechanism requests that have been detected, and determine the operation type;

[0131] After controlling all channels corresponding to the first operation type to establish a handshake mechanism respectively, all channels corresponding to the second operation type are then controlled to establish a handshake mechanism respectively;

[0132] The operation type includes a read operation type and a write operation type, and the priority of the first operation type is higher than the priority of the second operation type.

[0133] In an optional embodiment, the processing module 503 is further used to determine the order of sending the handshake mechanism request through each channel of the read / write channel according to the time of each handshake mechanism request;

[0134] When the execution order of establishing a handshake mechanism with the master device of the advanced extension interface through the first channel is determined according to the order in which the handshake mechanism requests are sent by each read / write channel, a handshake mechanism is established with the master device of the advanced extension interface through the first channel.

[0135] In an optional embodiment, the processing module 503 is further used to identify the channel type of each read / write channel according to the channel identifier of each read / write channel;

[0136] Determine the priority of each read / write channel based on the channel type and read / write priority;

[0137] According to the priority of the first channel, it is determined whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment.

[0138] In an optional embodiment, the channel type includes one or more of a read address type, a read data type, a write address type, a write data type, and a write response type.

[0139] In an optional embodiment, the device further includes: a control module 506;

[0140] The control module 506 is specifically used to control the signal state of the slave device of the advanced extension interface indicating the establishment of the handshake mechanism on the first channel side to be a valid state when determining whether the slave device of the advanced extension interface has established the handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment according to the dynamic adjustment rule, the moment when each handshake mechanism request is detected, and one or more factors in the channel identifier of each read / write channel.

[0141] The read-write operation dynamic adjustment device in this embodiment is presented in the form of a functional module, where the module refers to an application specific integrated circuit (ASIC), a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0142] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0143] The embodiment of the present invention provides a read / write operation dynamic adjustment device, which detects that the master device of the advanced extension interface sends a handshake mechanism request through at least one read / write channel, can respond to the handshake request of the master device of the advanced extension interface in time, reduce the delay of data transmission, and determine whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment according to the dynamic adjustment rule, the moment of each handshake mechanism request detected, and one or more factors in the channel identifier of each read / write channel, which can not only reduce communication errors caused by channel conflicts or overloads, improve the stability and reliability of the system, but also give priority to high-priority read and write operations, significantly improve the system response speed, and thus improve the overall performance. The dynamic adjustment rule is determined by one or more attributes in the data read and write mode, channel type, and read and write priority, which enables the slave device of the advanced extension interface to select the most appropriate operation mode according to the specific application scenario, further improve the flexibility of data processing, and reduce the complexity in system design by centrally processing the dynamic adjustment of the handshake mechanism, making the system design more concise, easy to maintain and upgrade.

[0144] An embodiment of the present invention further provides a computer device, Figure 6 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 6 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.

[0145] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include an integrated circuit. The integrated circuit may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0146] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0147] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the use of a computer device based on the presentation of a small program landing page, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0148] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0149] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0150] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0151] The embodiment of the present invention also provides a computer-readable storage medium. The method provided in the above embodiment of the present invention can be implemented in hardware, firmware, or implemented as a computer code that can be recorded in a storage medium, or is implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium and downloaded through a network, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0152] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0153] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for dynamically adjusting read and write operations, characterized in that: The method is executed by a slave device of the advanced extension interface, and the method includes: When it is detected that the master device of the advanced extension interface sends a handshake mechanism request through at least one read / write channel, a channel identifier of each of the read / write channels and a time when each of the handshake mechanism requests is detected are obtained; Determine whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through a first channel at a current moment according to a dynamic adjustment rule, a detected moment of each of the handshake mechanism requests, and one or more factors in a channel identifier of each of the read / write channels, wherein the dynamic adjustment rule is used to indicate whether to receive an operation instruction of the first channel, and the dynamic adjustment rule is determined by one or more attributes of a data read / write mode, a channel type, and a read / write priority, and the first channel is any one of at least one read / write channel; An operation instruction transmitted by a master device of the advanced expansion interface is received through the first channel, and the operation instruction is forwarded to a preconfigured instruction execution device to complete an operation corresponding to the operation instruction, wherein the operation instruction includes a read instruction or a write instruction.

2. The method according to claim 1, characterized in that: Detect whether the master device of the advanced extension interface sends a handshake mechanism request through the first channel, including: When it is detected that the state of the master device of the advanced extension interface indicating sending the handshake mechanism request signal on the first channel is valid, it is determined that the master device of the advanced extension interface sends the handshake mechanism request through the first channel.

3. The method according to claim 1 or 2, characterized in that: The data reading and writing mode includes a serial mode or a parallel mode; When the data read / write mode is a serial mode, the dynamic adjustment rule is to establish the handshake mechanism in accordance with the order in which the handshake mechanism requests are detected and in turn according to the handshake mechanism requests sent to each read / write channel; Alternatively, when the data read and write mode is a parallel mode, the dynamic adjustment rule is to determine a read and write sequence according to the read and write priority, wherein the read and write sequence is used to indicate the channel types corresponding to the multiple handshake mechanism requests that have been detected, and to determine the operation type; After controlling all channels corresponding to the first operation type to establish a handshake mechanism respectively, all channels corresponding to the second operation type are then controlled to establish a handshake mechanism respectively; The operation type includes a read operation type and a write operation type, and the priority of the first operation type is higher than the priority of the second operation type.

4. The method according to claim 3, characterized in that When the dynamic adjustment rule is to establish the handshake mechanism according to the handshake mechanism requests sent to each read / write channel in sequence according to the order in which the handshake mechanism requests are detected, determining whether the slave device of the advanced extension interface establishes the handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment according to the dynamic adjustment rule, the moment when each handshake mechanism request is detected, and one or more factors in the channel identifier of each read / write channel, specifically includes: According to the timing of each of the handshake mechanism requests, determining the order of sending the handshake mechanism requests through each of the read / write channels; When the execution order of establishing a handshake mechanism with the master device of the advanced extension interface through the first channel is determined to be reached according to the order in which the channels of each of the read / write channels send the handshake mechanism requests, a handshake mechanism is established with the master device of the advanced extension interface through the first channel.

5. The method according to claim 3, characterized in that: When the dynamic adjustment rule is to determine the read and write sequence according to the read and write priority, and the read and write sequence is used to indicate that the operation type is determined according to the channel types corresponding to the multiple handshake mechanism requests that have been detected, and all channels corresponding to the first operation type are controlled to establish a handshake mechanism respectively, and then all channels corresponding to the second operation type are executed to establish a handshake mechanism respectively, the determination of whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment according to the dynamic adjustment rule, the moment when each handshake mechanism request is detected, and one or more factors in the channel identifier of each read / write channel specifically includes: According to the channel identifier of each of the read / write channels, identifying the channel type of each of the read / write channels; Determining the priority of each of the read / write channels according to the channel type and the read / write priority; According to the priority of the first channel, it is determined whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through the first channel at a current moment.

6. The method according to claim 5, characterized in that The channel type includes one or more of a read address type, a read data type, a write address type, a write data type, and a write response type.

7. The method according to claim 1 or 2, characterized in that: When determining whether the slave device of the advanced extension interface establishes a handshake mechanism with the master device of the advanced extension interface through the first channel at the current moment according to the dynamic adjustment rule, the moment when each handshake mechanism request is detected, and one or more factors in the channel identifier of each read / write channel, the method further includes: The signal state indicating establishment of the handshake mechanism in the slave device of the advanced expansion interface on the first channel side is controlled to be a valid state.

8. A device for dynamically adjusting read and write operations, characterized in that: The device comprises: A detection module, used for detecting whether a master device of the advanced extension interface sends a handshake mechanism request through at least one read / write channel; an acquisition module, configured to acquire a channel identifier of each read / write channel and a time when each handshake mechanism request is detected when the detection module detects that the master device of the advanced extension interface sends a handshake mechanism request through at least one read / write channel; a processing module, configured to determine whether a slave device of the advanced extension interface establishes a handshake mechanism with a master device of the advanced extension interface through a first channel at a current moment according to a dynamic adjustment rule, a moment when each of the handshake mechanism requests is detected, and one or more factors in a channel identifier of each of the read / write channels, wherein the dynamic adjustment rule is used to indicate whether to receive an operation instruction of the first channel, and the dynamic adjustment rule is determined by one or more attributes of a data read / write mode, a channel type, and a read / write priority, and the first channel is any one of at least one read / write channel; a control module, configured to control the signal state of indicating establishment of the handshake mechanism on the first channel side in the slave device of the advanced extension interface to be in a valid state when determining whether the slave device of the advanced extension interface establishes the handshake mechanism with the master device of the advanced extension interface through the first channel at a current moment according to the dynamic adjustment rule, the moment when each of the handshake mechanism requests is detected, and one or more factors in the channel identifier of each of the read / write channels; A receiving module, used for receiving an operation instruction transmitted by a master device of the advanced extension interface through the first channel; The sending module is used to forward the operation instruction to a preconfigured instruction execution device to complete the operation corresponding to the operation instruction, wherein the operation instruction includes a read instruction or a write instruction.

9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for dynamically adjusting read and write operations according to any one of claims 1 to 7 by executing the computer instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for dynamically adjusting read and write operations according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Data transmission method between master and slave equipments through bus

    CN101477505A

  • ICB bus system and protocol

    CN109032973A

  • Bus-based transaction processing method and system, storage medium and equipment

    CN115129645A

  • System of distributed microprocessor interfaces toward macro-cell based designs implemented as ASIC or FPGA bread boarding and relative common bus protocol

    US20030101307A1

  • Magnetic read / write circuit

    US5270883A