[go: up one dir, main page]

CN119988292A - Method, device, equipment and medium for dynamic adjustment of read and write operations - Google Patents

Method, device, equipment and medium for dynamic adjustment of read and write operations Download PDF

Info

Publication number
CN119988292A
CN119988292A CN202510080305.6A CN202510080305A CN119988292A CN 119988292 A CN119988292 A CN 119988292A CN 202510080305 A CN202510080305 A CN 202510080305A CN 119988292 A CN119988292 A CN 119988292A
Authority
CN
China
Prior art keywords
channel
read
write
handshake mechanism
expansion interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202510080305.6A
Other languages
Chinese (zh)
Other versions
CN119988292B (en
Inventor
董艳
李瑞东
钟戟
姚香君
姜宝来
烟晓凤
董志豪
刘世伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd
Original Assignee
Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd filed Critical Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd
Priority to CN202510080305.6A priority Critical patent/CN119988292B/en
Publication of CN119988292A publication Critical patent/CN119988292A/en
Application granted granted Critical
Publication of CN119988292B publication Critical patent/CN119988292B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The invention relates to the technical field of computers and discloses a read-write operation dynamic adjustment method, a device, equipment and a medium, wherein the method is that when a slave device of an advanced expansion interface detects that a master device sends a handshake mechanism request through at least one read/write channel, a channel identifier of each read/write channel is obtained, and the moment of each handshake mechanism request is detected; determining whether the slave device establishes a handshake mechanism via the first channel and the master device at the current time based on one or more factors in the dynamic adjustment rules, the detected time of each handshake mechanism request, and the channel identification of each read/write channel. After receiving the operation instruction transmitted by the main device through the first channel, the operation instruction is forwarded to the instruction execution device, so as to complete the operation corresponding to the operation instruction. The slave device can adjust the order of establishing a handshake mechanism with the master device at any time according to the real-time requirement of the system, and the slave device can preferentially process the read-write operation with high priority, so that the execution efficiency of the system is improved.

Description

Method, device, equipment and medium for dynamically adjusting read-write operation
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for dynamically adjusting read-write operation.
Background
An advanced extensible interface (Advanced eXtensible Interface, AXI) bus is a high-performance point-to-point communication interface, and is widely used for data transmission between a processor and a peripheral in an embedded system. The slave device of AXI needs to be able to handle data requests from the master device of AXI as a data receiver.
In the related art, the AXI protocol provides a standard set of signals and interfaces for controlling the handshake process of data transmission, and the slave device of AXI can receive read and write requests from the master device of AXI and respond according to the protocol standard. However, some related art systems may implement simple serial or parallel read/write operations, but these are usually in a fixed mode and cannot be dynamically adjusted according to actual requirements.
Disclosure of Invention
In view of this, the present invention provides a method, apparatus, device and medium for dynamically adjusting read-write operations, so as to solve the problem that the existing AXI slave device lacks in dynamically adjusting read-write modes and lacks in effective scheduling mechanism for read-write operations.
In a first aspect, the present invention provides a method for dynamically adjusting read and write operations, the method being performed by a slave device of an advanced expansion interface, including:
When detecting that the master device of the advanced expansion interface sends a handshake mechanism request through at least one read/write channel, acquiring a channel identifier of each read/write channel and detecting the moment of each handshake mechanism request;
Determining whether a slave device of the advanced expansion interface establishes a handshake mechanism through a first channel and a master device of the advanced expansion interface at the current moment according to one or more factors in a dynamic adjustment rule, a moment when each handshake mechanism request is detected and a channel identifier of each read/write channel, wherein the dynamic adjustment rule is used for indicating whether an operation instruction of the first channel is received or not, 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, and the first channel is any one channel in at least one read/write channel;
And receiving an operation instruction transmitted by the main equipment of the advanced expansion interface through the first channel, and forwarding the operation instruction to the pre-configured instruction execution equipment so as to finish the operation corresponding to the operation instruction, wherein the operation instruction comprises a reading instruction or a writing instruction.
The method for dynamically adjusting the read-write operation has the following advantages:
The master device of the high-level expansion interface sends a handshake mechanism request through at least one read/write channel, can timely respond to the handshake request of the master device of the high-level expansion interface, reduces delay of data transmission, determines whether the slave device of the high-level expansion interface establishes the handshake mechanism through the first channel and the master device of the high-level expansion interface at the current moment according to one or more factors in a dynamic adjustment rule, the detected moment of each handshake mechanism request and the channel identification of each read/write channel, not only can reduce communication errors caused by channel conflict or overload be improved, but also can preferentially process read-write operation of high priority, remarkably improves the response speed of the system, and further improves the overall performance. The dynamic adjustment rule is determined by one or more attributes of the data read-write mode, the channel type and the read-write priority, so that the slave device of the advanced expansion interface can select the most suitable operation mode according to a specific application scene, and the flexibility of data processing is further improved. The slave device of the advanced expansion interface can adjust the order of establishing a handshake mechanism with the master device of the advanced expansion interface at any time according to the real-time requirement of the system, and the dynamic adjustment of the handshake mechanism is intensively processed, so that the complexity in the system design can be reduced, and the system design is simpler and is easy to maintain and upgrade.
In an alternative embodiment, detecting whether the master device of the advanced expansion interface sends a handshake mechanism request through the first channel comprises:
when detecting that the state of the main device of the advanced expansion interface, which indicates to send the handshake mechanism request signal, in the first channel is in an effective state, determining that the main device of the advanced expansion interface sends the handshake mechanism request through the first channel.
Specifically, the indication sending handshake mechanism request signals are collectively called as VALID signals, and whether the Master device of the advanced expansion interface sends the handshake mechanism request is judged by detecting the state of the VALID signals, so that a simple and clear indication is provided, and the slave device of the advanced expansion interface can quickly identify the intention of a Master, so that the handshake request of the Master device of the advanced expansion interface can be responded in time, the system response time is reduced, and the overall data transmission efficiency is improved. Meanwhile, the effective state of the VALID signal is used as an explicit handshake request mark, so that misjudgment caused by signal instability or interference is reduced, and the risks of communication errors and channel conflicts are reduced.
In an alternative embodiment, the data read-write mode includes a serial mode or a parallel mode;
when the data read-write mode is a serial mode, the dynamic regulation rule is to establish a handshake mechanism according to the sequence of detecting the handshake mechanism requests and the handshake mechanism requests sent by each read/write channel in sequence;
Or alternatively
When the data read-write mode is a parallel mode, the dynamic adjustment rule is to determine the read-write sequence according to the read-write priority;
The read-write sequence is used for indicating the channel types respectively corresponding to the detected requests of the handshake mechanisms and determining the operation types;
After all channels corresponding to the first operation type are controlled to respectively establish a handshake mechanism, executing all channels corresponding to the second operation type to respectively establish the handshake mechanism;
the operation types comprise a read operation type and a write operation type, and the priority of the first operation type is higher than that of the second operation type.
The dynamic regulation rule is used for determining the reading and writing priority according to the reading and writing priority when the data reading and writing mode is the parallel mode, so that the priority of high-priority operation can be ensured, the transmission efficiency of key data is improved, the sequency of data transmission is ensured, the delay caused by channel conflict or resource competition is reduced, and the stability and reliability of the system are improved.
By dynamically adjusting the handshake mechanism, the system can dynamically allocate channel resources according to the current communication condition and priority, and the utilization rate of the resources and the throughput of the system are improved.
In general, the method improves the flexibility, efficiency and stability of the system by configuring corresponding dynamic adjustment rules for different data read-write modes, optimizes the allocation and utilization of resources, and improves the response speed and reliability of the system.
In an alternative embodiment, when the dynamic adjustment rule is that, in order of detecting handshake mechanism requests, handshake mechanisms are sequentially established according to handshake mechanism requests sent with each read/write channel, determining whether a slave device of the advanced expansion interface establishes a handshake mechanism through a first channel and a master device of the advanced expansion interface at a current time according to one or more factors in the dynamic adjustment rule, a time of detecting each handshake mechanism request, and a channel identifier of each read/write channel, specifically including:
Determining the sequence of sending the handshake mechanism requests through the channels of each read/write channel according to the moment of each handshake mechanism request;
when the execution sequence of the handshake mechanism established with the main device of the advanced expansion interface through the first channel is determined according to the sequence of the handshake mechanism request sent by the channel of each read/write channel, the handshake mechanism is established with the main device of the advanced expansion interface through the first channel.
Specifically, according to the moment of each handshake mechanism request, the sequence of sending the handshake mechanism requests through the channels of each read/write channel is determined, and the handshake mechanism is built with the master device of the advanced expansion interface in sequence, so that the sequence of data transmission is ensured, which is crucial to an application scene (such as time synchronization or sequence processing task) needing strict sequence control, simultaneously, potential data confusion or conflict caused by unordered processing is avoided, the error rate of channel transmission is reduced, and orderly processing the handshake requests can not only reduce communication conflict possibly occurring when a plurality of channels attempt to build handshake at the same time, but also reduce unnecessary channel activation, thereby improving the stability of the system and reducing the power consumption of the system.
In an optional implementation manner, when the dynamic adjustment rule is that a read-write sequence is determined according to a read-write priority, the read-write sequence is used for indicating channel types corresponding to a plurality of detected handshake mechanism requests respectively, determining an operation type, controlling all channels corresponding to a first operation type to respectively establish handshake mechanisms, and executing all channels corresponding to a second operation type to respectively establish handshake mechanisms, determining whether a slave device of an advanced expansion interface establishes a handshake mechanism through a first channel and a master device of the advanced expansion interface at a current moment according to one or more factors in a dynamic adjustment rule, a time when each handshake mechanism request is detected, and channel identifiers of each read/write channel, specifically including:
Identifying the channel type of each read/write channel according to the channel identification of each read/write channel;
determining the priority of each read/write channel according to the channel type and the read/write priority;
And determining whether the slave device of the advanced expansion interface establishes a handshake mechanism through the first channel and the master device of the advanced expansion interface at the current moment according to the priority of the first channel.
Specifically, each read/write channel has a corresponding channel identifier, and the channel type, the read operation type or the write operation type of each read/write channel is identified according to the channel identifier of each read/write channel;
The operation type priority is dynamically determined according to the channel type and the read-write priority, when the channel with high priority is transmitted, the channel with low priority is in a waiting state, so that system resources can be more reasonably distributed to different channels according to the read-write priority to finish instruction transmission requests, the use efficiency of the resources is improved, and because the handshake mechanism is established based on the channel type and the read-write priority, the system behavior becomes more predictable, and the optimization of the system performance is more facilitated.
In an alternative embodiment, the channel types include 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.
Specifically, by distinguishing channels of different types, interference among data of different types can be reduced, data collision is avoided, stability of the system is improved, and a plurality of channels with the same read-write priority can work in parallel, so that higher data transmission bandwidth is provided.
In an alternative embodiment, when determining whether the slave device of the advanced expansion interface establishes a handshake mechanism via the first channel and the master device of the advanced expansion interface at the current time according to one or more factors of the dynamic adjustment rules, the time when each handshake mechanism request is detected, and the channel identification of each read/write channel, the method further comprises:
The slave device controlling the advanced expansion interface indicates that the signal state of the established handshake mechanism is an active state at the first channel side.
Specifically, the signals indicating the establishment of the handshake mechanism are collectively called READY signals, by dynamically adjusting the state of the READY signals on one side of the first channel, the system can optimize resource allocation according to the current communication demand state, and in the channel which does not receive data transmission, the READY signals are set to be in an invalid state, so that unnecessary channel activation can be reduced, the use efficiency of resources is improved, and the power consumption is reduced.
In a second aspect, the present invention provides a dynamic adjustment device for read-write operations, the device comprising:
The detection module is used for detecting whether the master equipment of the high-level expansion interface sends a handshake mechanism request through at least one read/write channel;
The acquisition module is used for acquiring the channel identification of each read/write channel and detecting the moment of each handshake mechanism request when the detection module detects that the master device of the advanced expansion interface sends the handshake mechanism request through at least one read/write channel;
The processing module is used for determining whether the slave device of the advanced expansion interface establishes a handshake mechanism through the first channel and the master device of the advanced expansion interface at the current moment according to one or more factors in a dynamic adjustment rule, the moment when each handshake mechanism request is detected and the channel identifier of each read/write channel, wherein the dynamic adjustment rule is used for indicating whether an operation instruction of the first channel is received or not, and dynamically adjusting one or more attributes in a regular data read-write mode, a channel type and a read-write priority;
The control module is used for determining whether the slave device of the advanced expansion interface establishes a handshake mechanism through the first channel and the master device of the advanced expansion interface at the current moment according to one or more factors in the dynamic adjustment rule, the moment when each handshake mechanism request is detected and the channel identification of each read/write channel, and controlling the signal state of the slave device of the advanced expansion interface, which indicates the handshake mechanism establishment at the first channel side, to be an effective state;
the receiving module is used for receiving the operation instruction transmitted by the main equipment of the advanced expansion interface through the first channel;
The sending module is used for forwarding the operation instruction to the pre-configured instruction execution equipment to finish the operation corresponding to the operation instruction, wherein the operation instruction comprises a reading instruction or a writing instruction.
The read-write operation dynamic adjusting device provided by the invention has the following advantages:
The master device of the high-level expansion interface sends a handshake mechanism request through at least one read/write channel, can timely respond to the handshake request of the master device of the high-level expansion interface, reduces delay of data transmission, determines whether the slave device of the high-level expansion interface establishes the handshake mechanism through the first channel and the master device of the high-level expansion interface at the current moment according to one or more factors in a dynamic adjustment rule, the detected moment of each handshake mechanism request and the channel identification of each read/write channel, not only can reduce communication errors caused by channel conflict or overload be improved, but also can preferentially process read-write operation of high priority, remarkably improves the response speed of the system, and further improves the overall performance. The dynamic adjustment rule is determined by one or more attributes of the data read-write mode, the channel type and the read-write priority, so that the slave device of the advanced expansion interface can select the most appropriate operation mode according to a specific application scene, the flexibility of data processing is further improved, the complexity in system design can be reduced through dynamic adjustment of a centralized processing handshake mechanism, and the system design is simpler and easy to maintain and upgrade.
In a third aspect, the present invention provides a computer device, including a memory and a processor, where the memory and the processor are communicatively connected to each other, and the memory stores computer instructions, and the processor executes the computer instructions, so as to execute the read-write operation dynamic adjustment method of the first aspect or any implementation manner corresponding to the first aspect.
In a fourth aspect, the present invention provides a computer readable storage medium, where computer instructions are stored on the computer readable storage medium, where the computer instructions are configured to cause a computer to perform the method for dynamically adjusting a read/write operation according to the first aspect or any one of the embodiments corresponding to the first aspect.
In a fifth aspect, the present invention provides a computer program product, including computer instructions for causing a computer to perform the method for dynamically adjusting a read/write operation according to the first aspect or any implementation manner corresponding to the first aspect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a dynamic adjustment method for read-write operation according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for dynamically adjusting read/write operations according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of another method for dynamically adjusting read/write operations according to an embodiment of the present invention;
FIG. 4 is a flow chart of a dynamic adjustment method for read/write operations according to an embodiment of the present invention
FIG. 5 is a schematic diagram of a dynamic adjusting device for read/write operations according to an embodiment of the present invention;
fig. 6 is a schematic hardware structure of a computer device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
An advanced extensible interface (Advanced eXtensible Interface, AXI) bus is a high-performance point-to-point communication interface, and is widely used for data transmission between a processor and a peripheral in an embedded system. A slave device of the AXI advanced expansion interface needs to be able to handle data requests from a master device of the AXI advanced expansion interface as a data receiver.
In the related art, the AXI protocol provides a standard set of signals and interfaces for controlling the handshake process of data transmission, and slave devices of the AXI advanced expansion interface can receive read and write requests from the AXI Master and respond according to the protocol standard. However, some related art systems may implement simple serial or parallel read/write operations, but these are usually in a fixed mode and cannot be dynamically adjusted according to actual requirements.
To solve the above-described problems, embodiments of the present invention provide a dynamic adjustment of read and write operations, and it should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system (computer device) including, for example, a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order other than that illustrated herein.
In this embodiment, a method for dynamically adjusting a read-write operation is provided, which may be used in the above terminal device, such as a mobile phone, a tablet computer, etc., and fig. 1 is a schematic flow chart of the method for dynamically adjusting a read-write operation provided in the embodiment of the present invention, as shown in fig. 1, where the flow includes the following steps:
step S101, when detecting that the master device of the advanced expansion interface sends a handshake mechanism request through at least one read/write channel, acquiring a channel identifier of each read/write channel, and detecting a time of each handshake mechanism request.
In a specific example, a single read/write channel may be configured between the master device of the advanced expansion interface and the slave device of the advanced expansion interface, or a plurality of read/write channels may be configured, each having a corresponding different channel identification, which may be named based on the physical location and function of the channel, for indicating the channel type of the read/write channel.
The main function of the read/write channel is to receive the operation instruction of the main device of the advanced expansion interface or the data transmission operation in the process of executing the instruction, when the slave device of the advanced expansion interface detects that the main device of the advanced expansion interface sends a handshake mechanism request through at least one read/write channel, the slave device of the advanced expansion interface obtains the channel identification of each read/write channel and detects the moment of each handshake mechanism request, the sequence of receiving the request can be definitely received according to the channel identification of each handshake mechanism and the moment of the request, and the accuracy and the sequence of data transmission are ensured.
Step S102, determining whether the slave device of the advanced expansion interface establishes a handshake mechanism through the first channel and the master device of the advanced expansion interface at the current moment according to one or more factors in the dynamic adjustment rule, the moment when each handshake mechanism request is detected, and the channel identifier of each read/write channel.
The dynamic adjustment rule is used for indicating whether an operation instruction of a first channel is received, 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, and the first channel is any one channel in at least one read/write channel.
Specifically, whether the slave device of the advanced expansion interface establishes a handshake mechanism with the master device of the advanced expansion interface through the first channel at the current time may be determined by the time requested by each handshake mechanism, or may be determined by a dynamic adjustment rule and a channel identifier of each read/write channel. One or more factors are mainly used for controlling to dynamically adjust one or more attributes of a data read-write mode, a channel type and a read-write priority according to actual demand changes so as to change the instruction receiving sequence.
In a specific example, the data read/write mode is divided into a serial mode and a parallel mode. Channel types are classified into a read operation type and a write operation type. The read-write priorities include read operation type priority and write operation type priority, and whether the read-write operation type is order-preserving, and different combinations result in different instruction receiving orders. The first channel may be any one of the channels.
Step S103, receiving an operation instruction transmitted by the main device of the advanced expansion interface through the first channel, and forwarding the operation instruction to a pre-configured instruction execution device for completing the operation corresponding to the operation instruction.
Specifically, when the slave device of the advanced expansion interface determines that the handshake mechanism is established through the first channel and the master device of the advanced expansion interface at the current moment, corresponding handshake operation is executed. And then, receiving an operation instruction transmitted by the main equipment of the advanced expansion interface through the first channel. And forwarding the operation instruction to a preconfigured instruction execution device. In one particular example, the operation instructions may include, for example, read instructions or write instructions. The instruction execution device includes, but is not limited to, a memory controller (responsible for managing memory accesses, and for reading and writing data in response to read and write instructions), a processor core (a processor core directly coupled to an AXI bus, accessing memory or peripherals or bridge devices based on the read or write instructions (an AXI bus coupled to bridge devices of other bus protocols that may translate AXI instructions to other protocols to enable communication between the different buses).
According to the method for dynamically adjusting the read-write operation, provided by the embodiment of the application, the master device of the high-level expansion interface sends the handshake mechanism request through at least one read/write channel, so that the master device of the high-level expansion interface can timely respond to the handshake request of the master device of the high-level expansion interface, the delay of data transmission is reduced, and according to a dynamic adjustment rule, the detected moment of each handshake mechanism request and one or more factors in the channel identification of each read/write channel, whether the slave device of the high-level expansion interface establishes the handshake mechanism through the first channel and the master device of the high-level expansion interface at the current moment is determined, so that the communication errors caused by channel conflict or overload can be reduced, the stability and the reliability of the system can be improved, the read-write operation of high priority can be preferentially processed, the response speed of the system can be remarkably improved, and the overall performance can be improved. The dynamic adjustment rule is determined by one or more attributes of the data read-write mode, the channel type and the read-write priority, so that the slave device of the advanced expansion interface can select the most appropriate operation mode according to a specific application scene, the flexibility of data processing is further improved, and the method can reduce the complexity in system design by dynamically adjusting the centralized processing handshake mechanism, so that the system design is simpler and easy to maintain and upgrade.
In an alternative embodiment, based on the foregoing embodiment, whether the master device that detects the advanced expansion interface sends a handshake mechanism request through the first channel may be implemented by specifically including the following method steps:
For example, when detecting that the master device of the advanced expansion interface is in an active state in the first channel indicating that the handshake mechanism request signal is sent, determining that the master device of the advanced expansion interface sends a handshake mechanism request through the first channel.
Wherein in an alternative example, the indication sending handshake mechanism request signal may be a VALID signal, and states of the VALID signal include an active state and an inactive state.
In a specific application process, for example, the level state of the VALID signal is used to indicate whether the signal is VALID, where the high level state is a VALID state and the low level state is an invalid state. Of course, in the practical application process, it is also possible to define in other ways 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.
Specifically, whether the Master device of the advanced expansion interface sends a handshake mechanism request is judged by detecting the state of the VALID signal, 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 the handshake request of the Master device of the advanced expansion interface is responded in time, which is beneficial to reducing the response time of the system and improving the overall data transmission efficiency. Meanwhile, the effective state of the VALID signal is used as an explicit handshake request mark, so that misjudgment caused by signal instability or interference is reduced, and the risks of communication errors and channel conflicts are reduced.
In an alternative embodiment, when determining whether the slave device of the advanced expansion interface establishes a handshake mechanism via the first channel and the master device of the advanced expansion interface at the current time according to one or more factors of the dynamic adjustment rules, the time when each handshake mechanism request is detected, and the channel identification of each read/write channel, the method further comprises:
The slave device controlling the advanced expansion interface indicates that the signal state of the established handshake mechanism is an active state at the first channel side.
Wherein in an alternative example, the signal indicating the establishment of the handshake mechanism may be a READY signal, the state of which comprises an active state and an inactive state.
In a specific application, for example, a signal level state is used to indicate that a high level state is an active state and a low level state is an inactive state. Of course, it is also possible to define in other ways 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.
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, and in the channel which does not receive data transmission, the READY signal is set to be in an inactive state, so that unnecessary channel activation can be reduced, the use efficiency of resources can be improved, and the power consumption can be reduced.
In an alternative example, the data read/write mode includes a serial mode or a parallel mode, as described above.
When the data read-write mode is a serial mode, the dynamic adjustment rule is as follows:
According to the sequence of detecting the handshake mechanism requests, establishing a handshake mechanism according to the handshake mechanism requests sent by each read/write channel in turn;
or when the data read-write mode is a parallel mode, the dynamic adjustment rule is as follows:
determining a read-write sequence according to the read-write priority, wherein the read-write sequence is used for indicating channel types respectively corresponding to the detected multiple handshake mechanism requests and determining an operation type;
After all channels corresponding to the first operation type are controlled to respectively establish a handshake mechanism, executing all channels corresponding to the second operation type to respectively establish the handshake mechanism;
the operation types comprise a read operation type and a write operation type, and the priority of the first operation type is higher than that of the second operation type.
And, there may be one or more channels corresponding to the first operation type, and when there are multiple channels, instruction receiving between the channels is performed in parallel.
In a specific example, when the dynamic adjustment rule is that, in order of detecting handshake mechanism requests, handshake mechanisms are sequentially established according to handshake mechanism requests sent with each read/write channel, determining whether a slave device of the advanced expansion interface establishes a handshake mechanism through a first channel and a master device of the advanced expansion interface at a current time according to one or more factors in the dynamic adjustment rule, a time when each handshake mechanism request is detected, and a channel identifier of each read/write channel, as shown in fig. 2, the method includes the following steps:
Step S201, determining the order of sending handshake mechanism requests through the channels of each read/write channel according to the time of each handshake mechanism request.
Specifically, the Master device of the advanced expansion interface is hereinafter abbreviated as a Master device, and the Slave device of the advanced expansion interface is abbreviated as a Slave device.
In a specific example, when it is detected that the Master device sends a handshake mechanism request through at least one read/write channel, a time of each handshake mechanism request is obtained, and a value generated by the time format, for example, of 'time of year, month, day, minute, second' is obtained, and an order in which each read/write channel sends the handshake mechanism request is determined according to the time of each handshake mechanism request, where the earlier the received time indicates that the order in which the channel sends the handshake mechanism request is the earlier.
In step S202, when the order of sending the handshake mechanism requests according to the channel of each read/write channel is determined, the order of establishing the handshake mechanism with the master device of the advanced expansion interface through the first channel is reached.
In step S203, a handshake mechanism is established with the master device of the advanced extension interface through the first channel.
Specifically, when the execution sequence of the handshake mechanism established by the primary device of the advanced expansion interface through the first channel is determined according to the sequence of sending handshake mechanism requests by the channels of each read/write channel, the READY signal of the first channel is controlled to be in an active state according to the sequence, wherein the first channel is any one of at least one read/write channel.
In another alternative example, when the dynamic adjustment rule is that a read-write sequence is determined according to a read-write priority, the read-write sequence is used for indicating channel types respectively corresponding to a plurality of detected handshake mechanism requests, determining an operation type, and controlling all channels corresponding to a first operation type to respectively establish handshake mechanisms, and executing all channels corresponding to a second operation type to respectively establish handshake mechanisms, according to the dynamic adjustment rule, a time when each handshake mechanism request is detected, and one or more factors in channel identifiers of each read/write channel, determining whether a slave device of an advanced expansion interface establishes a handshake mechanism through a first channel and a master device of the advanced expansion interface at a current time, specifically referring to fig. 3, the method includes the following method steps:
Step S301, identifying the channel type of each read/write channel according to the channel identifier of each read/write channel.
Specifically, each read/write channel has its corresponding channel identifier, each channel identifier has its corresponding channel type, and each channel type has its corresponding operation type, which is classified into a read operation type and a write operation type.
Step S302, determining the priority of each read/write channel according to the channel type and the read/write priority;
in particular, the channel types may include, for example, 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 included operation type corresponding to the channel type may include a read operation type and a write operation type.
The read-write priority may determine the priority of the operation type. For example, read operation type priority or write operation type priority. According to the priorities of different read-write operations, the sequence of the read-write operations can be determined. Each read/write channel determines priority according to its channel type corresponding operation type.
In a specific example, for example, the read operation priority is higher than the write operation priority, then the read address channel and the read data channel are both higher than the write data channel, the write address channel, and the write response channel. That is, all write operations are performed only after all read operations have been performed. Of course, if the write operation priority is higher than the read operation priority, then all write operations are performed preferentially, and then all read operations are performed further. In a specific application, the priority of channels of the same operation type may be a level. When the handshake mechanism requests are sent in sequence through different channels of the same operation type, the corresponding operations can be preferentially executed according to the sending sequence.
In step S303, it is determined whether the slave device of the advanced expansion interface establishes a handshake mechanism with the master device of the advanced expansion interface through the first channel at the current moment according to the priority of the first channel.
Specifically, as described above, the priority of the first channel may be first determined, and then, according to criteria corresponding to different priorities and establishing a handshake mechanism by the Master device, whether to establish the handshake mechanism through the first channel and the Slave device may be determined.
For example, if the first channel is a read type channel and the priority of the read type channel is high priority, i.e., when read and write operations are simultaneously present, the read operation is preferentially performed. At this time, it may be determined that the Slave device establishes a handshake mechanism through the first channel and the Master device at the current time according to the priority of the first channel.
In this embodiment, the operation type priority is dynamically determined according to the channel type and the read-write priority, and when the channel with high priority is transmitted, the channel with 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 instruction transmission requests, the use efficiency of the resources is improved, and because the handshake mechanism is established based on the channel type and the read-write priority, the behavior of the system becomes more predictable, and the optimization of the system performance is more facilitated.
The overall operational flow of the above-described method of the present application will now be described by way of a specific example, with particular reference to fig. 4:
Assuming five channels are configured between the Master device and the Slave device, channel 0 and channel 1 are of a read operation type, channel 2, channel 3 and channel 4 are of a write operation type, channel 0 is designated as a read address type, channel 1 is of a read data type, channel 2 is of a write address type, channel 3 is of a write data type, and channel 4 is of a write response type, the priorities among the channels of the same operation type (e.g., both are read channels) are equivalent.
In a specific example, when the data read-write mode is set as a serial line, a handshake mechanism is established with each read/write channel in turn according to the order in which requests are explicitly received at the time of each handshake mechanism request.
For example, a handshake mechanism request of channel 0 is received at a first time, a handshake mechanism request of channel 1 is received at a second time, a handshake mechanism request of channel 2 is received at a third time, a handshake mechanism request of channel 3 is received at a fourth time, and a handshake mechanism request of channel 4 is received at a fifth time.
Then, according to the time of each handshake mechanism request, the channel order in which the requests are explicitly received is 01234 channel. And establishes a handshake mechanism with each read/write channel in the order described above.
Or alternatively
In another specific example, the read-write priority is set as the read priority, and the write-priority operation is symmetrical to this, which is not described in detail.
When the data read-write mode is set to be parallel and the read-write priority is set to be the read priority, according to the above example, the VALID signals of the five channels are all in a VALID state, the Slave device identifies the channel type according to the channel identifier, the channel 0 designates the read address type, the channel 1 designates the read data type, the channel 2 designates the write address type, the channel 3 designates the write data type, and the channel 4 designates the write response type, the operation types are determined according to the channel types, the channel 0 and the channel 1 designate the read operation types, the channel 2, the channel 3 and the channel 4 designate the write operation types, and according to the read priority in the read-write priority, the read operation type designates the first operation type, thereby establishing a handshake mechanism with the 01 channel (read operation type), and after the 01 channel (read operation type) is received, establishing the handshake mechanism with the 234 channel (write operation type) and receiving the instruction.
Specifically, when the order-preserving selection is yes, after the 0 channel (read address type) is received, the 1 channel (read address type) is still detected to be in a VALID state in the execution process, the handshake mechanism is continuously established with the 0 channel (read address type) when the 0 channel (read address type) is received, when the order-preserving selection is no, the handshake mechanism is established with the 234 channel (write operation type) after the 01 channel (read operation type) instruction is received, and when the 0 channel condition appears, the handshake mechanism is established with the 0 channel after the 234 channel instruction is received.
The read-write priority comprises read-write order-preserving selection.
The above examples fully demonstrate the process of dynamically adjusting the read-write operation, and the dynamic adjustment rule is continuously adjusted according to the actual requirement.
The embodiment also provides a dynamic adjustment device for read-write operation, which is used for implementing the foregoing embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The embodiment provides a dynamic adjustment device for read-write operation, as shown in fig. 5, which comprises a detection module 501, an acquisition module 502, a processing module 503, a receiving module 504, and a sending module 505.
A detection module 501, configured to detect whether a master device of the advanced expansion interface sends a handshake mechanism request through at least one read/write channel;
an obtaining module 502, configured to obtain a channel identifier of each read/write channel and a time when each handshake mechanism request is detected when the detecting module detects that the master device of the advanced expansion interface sends the handshake mechanism request through at least one read/write channel;
a processing module 503, configured to determine whether the slave device of the advanced expansion interface establishes a handshake mechanism through the first channel and the master device of the advanced expansion interface at the current time according to one or more factors in a dynamic adjustment rule, a time when each handshake mechanism request is detected, and a channel identifier of each read/write channel, where the dynamic adjustment rule is used to indicate whether to receive an operation instruction of the first channel, dynamically adjust one or more attributes in a rule data read/write mode, a channel type, and a read/write priority;
A receiving module 504, configured to receive, through a first channel, an operation instruction transmitted by a master device of the advanced expansion interface;
the sending module 505 is configured to forward the operation instruction to a pre-configured instruction execution device, so as to complete an operation corresponding to the operation instruction, where the operation instruction includes a read instruction or a write instruction.
In an alternative embodiment, the detection module 501 is specifically configured to determine that the master device of the advanced expansion interface sends the handshake mechanism request through the first channel when it is detected that the master device of the advanced expansion interface indicates that the state of sending the handshake mechanism request signal is in a valid state in the first channel.
In an alternative embodiment, the data read-write mode includes a serial mode or a parallel mode;
when the data read-write mode is a serial mode, the dynamic regulation rule is to establish a handshake mechanism according to the sequence of detecting the handshake mechanism requests and the handshake mechanism requests sent by each read/write channel in sequence;
Or when the data read-write mode is a parallel mode, the dynamic adjustment rule is to determine the read-write sequence according to the read-write priority, wherein the read-write sequence is used for indicating the channel types respectively corresponding to the detected multiple handshake mechanism requests and determining the operation type;
After all channels corresponding to the first operation type are controlled to respectively establish a handshake mechanism, executing all channels corresponding to the second operation type to respectively establish the handshake mechanism;
the operation types comprise a read operation type and a write operation type, and the priority of the first operation type is higher than that of the second operation type.
In an alternative embodiment, the processing module 503 is further configured to determine, according to the time of each handshake mechanism request, an order in which the handshake mechanism requests are sent through the channels of each read/write channel;
When it is determined that the order of execution of the handshake mechanism established with the master device of the advanced expansion interface through the first channel is reached according to the order in which the handshake mechanism requests are sent by the channels of each read/write channel, the handshake mechanism is established with the master device of the advanced expansion interface through the first channel.
In an alternative embodiment, the processing module 503 is further configured to identify a channel type of each read/write channel according to a channel identifier of each read/write channel;
determining the priority of each read/write channel according to the channel type and the read/write priority;
And determining whether the slave device of the advanced expansion interface establishes a handshake mechanism through the first channel and the master device of the advanced expansion interface at the current moment according to the priority of the first channel.
In an alternative embodiment, the channel types include 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.
In an alternative embodiment, the apparatus further comprises a control module 506;
The control module 506 is specifically configured to, when determining whether the slave device of the advanced expansion interface establishes the handshake mechanism through the first channel and the master device of the advanced expansion interface 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, control the signal state of the slave device of the advanced expansion interface indicating that the handshake mechanism is established on the first channel side to be an active state.
The dynamic adjustment device for read/write operations 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 a memory that execute one or more software or fixed programs, and/or other devices that can provide the above functions.
Further functional descriptions of the above respective modules and units are the same as those of the above corresponding embodiments, and are not repeated here.
According to the dynamic adjusting device for the read-write operation, provided by the embodiment of the invention, the master device of the high-level expansion interface sends the handshake mechanism request through at least one read/write channel, so that the master device of the high-level expansion interface can timely respond to the handshake request of the master device of the high-level expansion interface, the delay of data transmission is reduced, and according to the dynamic adjusting rule, the detected moment of each handshake mechanism request and one or more factors in the channel identification of each read/write channel, whether the slave device of the high-level expansion interface establishes the handshake mechanism through the first channel and the master device of the high-level expansion interface at the current moment is determined, so that the communication errors caused by channel conflict or overload can be reduced, the stability and the reliability of the system can be improved, the read-write operation of high priority can be processed preferentially, the response speed of the system can be remarkably improved, and the overall performance can be improved. The dynamic adjustment rule is determined by one or more attributes of the data read-write mode, the channel type and the read-write priority, so that the slave device of the advanced expansion interface can select the most appropriate operation mode according to a specific application scene, the flexibility of data processing is further improved, the complexity in system design can be reduced through dynamic adjustment of a centralized processing handshake mechanism, and the system design is simpler and easy to maintain and upgrade.
An embodiment of the present invention further provides a computer device, and fig. 6 is a schematic structural diagram of a computer device provided in an alternative embodiment of the present invention, where, as shown in fig. 6, the computer device includes one or more processors 10, a memory 20, and interfaces for connecting components, including a high-speed interface and a low-speed interface. The various components are communicatively coupled to each other using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the computer device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In some alternative embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple computer devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 10 is illustrated in fig. 6.
The processor 10 may be a central processor, a network processor, or a combination thereof. Wherein the processor 10 may further comprise an integrated circuit. The integrated circuit may be an application specific 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.
Wherein the memory 20 stores instructions executable by the at least one processor 10 to cause the at least one processor 10 to perform a method for implementing the embodiments described above.
The memory 20 may include a storage program area that may store an operating system, an application program required for at least one function, and a storage data area that may store data created from the use of a computer device according to the presentation of an applet landing page, etc. In addition, the memory 20 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, memory 20 may optionally include memory located remotely from processor 10, which may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The memory 20 may comprise volatile memory, such as random access memory, or nonvolatile memory, such as flash memory, hard disk or solid state disk, or the memory 20 may comprise a combination of the above types of memory.
The computer device further comprises input means 30 and output means 40. The processor 10, memory 20, input device 30, and output device 40 may be connected by a bus or other means, for example in fig. 6.
The input device 30 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the computer apparatus, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointer stick, one or more mouse buttons, a trackball, a joystick, and the like. The output means 40 may include a display device, auxiliary lighting means (e.g., LEDs), tactile feedback means (e.g., vibration motors), and the like. Such display devices include, but are not limited to, liquid crystal displays, light emitting diodes, displays and plasma displays. In some alternative implementations, the display device may be a touch screen.
The embodiments of the present invention also provide a computer readable storage medium, and the method provided by the embodiments of the present invention described above may be implemented in hardware, firmware, or as a computer code which may be recorded on a storage medium, or may be originally stored in a remote storage medium or a non-transitory machine-readable storage medium and to be stored in a local storage medium, downloaded through a network, so that the method described herein may be stored on such software processes on a storage medium using a general purpose computer, special purpose processor, or programmable or special purpose hardware. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random-access memory, a flash memory, a hard disk, a solid state disk, or the like, and further, the storage medium may further include a combination of the above types of memories. It will be appreciated that a computer, processor, microprocessor controller or programmable hardware includes a storage element that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the methods illustrated by the above embodiments.
Portions of the present invention may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or aspects in accordance with the present invention by way of operation of the computer. Those skilled in the art will appreciate that the existence of computer program instructions in a computer-readable medium includes, but is not limited to, source files, executable files, installation package files, and the like, and accordingly, the manner in which computer program instructions are executed by a computer includes, but is not limited to, the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled programs, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed programs. Herein, a computer-readable medium may be any available computer-readable storage medium or communication medium that can be accessed by a computer.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope of the invention as defined by the appended claims.

Claims (10)

1. A method for dynamically adjusting read and write operations, the method performed by a slave device of an advanced expansion interface, the method comprising:
When detecting that a master device of an advanced expansion interface sends a handshake mechanism request through at least one read/write channel, acquiring a channel identifier of each read/write channel and detecting the moment of each handshake mechanism request;
Determining whether a slave device of the advanced expansion interface establishes a handshake mechanism through a first channel and a master device of the advanced expansion interface at the current moment according to one or more factors in a dynamic adjustment rule, a detected moment of each handshake mechanism request and a channel identifier of each read/write channel, wherein the dynamic adjustment rule is used for indicating whether an operation instruction of the first channel is received or not, 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, and the first channel is any one channel in at least one read/write channel;
And receiving an operation instruction transmitted by the main equipment of the advanced expansion interface through the first channel, and forwarding the operation instruction to a pre-configured instruction execution equipment to finish the operation corresponding to the operation instruction, wherein the operation instruction comprises a reading instruction or a writing instruction.
2. The method of claim 1, wherein detecting whether the master device of the advanced expansion interface sends a handshake mechanism request via the first channel comprises:
And when detecting that the state of the master device of the advanced expansion interface indicating to send the handshake mechanism request signal in the first channel is in a valid state, determining that the master device of the advanced expansion interface sends the handshake mechanism request through the first channel.
3. The method according to claim 1 or 2, wherein the data read-write mode comprises a serial mode or a parallel mode;
When the data read-write mode is a serial mode, the dynamic adjustment rule establishes the handshake mechanism according to the handshake mechanism requests sent by each read/write channel in sequence according to the sequence of detecting the handshake mechanism requests;
or when the data read-write mode is a parallel mode, the dynamic adjustment rule is to determine the read-write sequence according to the read-write priority, wherein the read-write sequence is used for indicating channel types respectively corresponding to the detected multiple handshake mechanism requests and determining an operation type;
After all channels corresponding to the first operation type are controlled to respectively establish a handshake mechanism, executing all channels corresponding to the second operation type to respectively establish the handshake mechanism;
Wherein the operation types include a read operation type and a write operation type, and the first operation type has a higher priority than the second operation type.
4. A method according to claim 3, wherein when the dynamic adjustment rule is that the handshake mechanism is established sequentially according to the handshake mechanism requests sent with each read/write channel in the order in which the handshake mechanism requests are detected, determining whether a slave device of the advanced expansion interface establishes a handshake mechanism through the first channel and a master device of the advanced expansion interface at the current time according to one or more factors of the dynamic adjustment rule, the time at which each of the handshake mechanism requests is detected, and the channel identification of each of the read/write channels, specifically comprises:
determining the sequence of sending the handshake mechanism requests through the channels of each read/write channel according to the moment of each handshake mechanism request;
And when the execution sequence of establishing the handshake mechanism with the main equipment of the advanced expansion interface through the first channel is determined according to the sequence of sending handshake mechanism requests by the channel of each read/write channel, establishing the handshake mechanism with the main equipment of the advanced expansion interface through the first channel.
5. The method according to claim 3, wherein when the dynamic adjustment rule is one or more factors of the dynamic adjustment rule, the time when each of the handshake mechanism requests is detected, and the channel identifier of each of the read/write channels, the read/write sequence is used for indicating whether the slave device of the advanced expansion interface establishes a handshake mechanism through the first channel and the master device of the advanced expansion interface at the current time, after determining the operation type according to the channel types respectively corresponding to the detected plurality of handshake mechanism requests and controlling all channels corresponding to the first operation type to establish the handshake mechanism respectively, and executing all channels corresponding to the second operation type to establish the handshake mechanism respectively, the method specifically comprises:
identifying the channel type of each read/write channel according to the channel identification of each read/write channel;
Determining the priority of each read/write channel according to the channel type and the read/write priority;
And determining whether the slave device of the advanced expansion interface establishes a handshake mechanism through the first channel and the master device of the advanced expansion interface at the current moment according to the priority of the first channel.
6. The method of claim 5, wherein the channel type comprises 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 or2, wherein when determining whether a slave device of the advanced expansion interface establishes a handshake mechanism at a current time via the first channel and a master device of the advanced expansion interface according to one or more factors in the dynamic adjustment rules, the time at which each of the handshake mechanism requests is detected, and the channel identification of each of the read/write channels, the method further comprises:
and controlling the slave equipment of the advanced expansion interface to indicate the signal state of establishing a handshake mechanism to be an effective state at the side of the first channel.
8. A dynamic adjustment device for read and write operations, the device comprising:
The detection module is used for detecting whether the master equipment of the high-level expansion interface sends a handshake mechanism request through at least one read/write channel;
The acquisition module is used for acquiring the channel identification of each read/write channel and detecting the moment of each handshake mechanism request when the detection module detects that the master device of the advanced expansion interface sends the handshake mechanism request through at least one read/write channel;
A processing module, configured to determine whether a slave device of the advanced expansion interface establishes a handshake mechanism through a first channel and a master device of the advanced expansion interface at a current time according to one or more factors in a dynamic adjustment rule, a time when each handshake mechanism request is detected, and a channel identifier of each read/write channel, where 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, and the first channel is any one channel of at least one read/write channel;
A control module, configured to, when determining, according to the dynamic adjustment rule, a time when each handshake mechanism request is detected, and one or more factors in a channel identifier of each read/write channel, whether a slave device of the advanced expansion interface establishes a handshake mechanism through the first channel and a master device of the advanced expansion interface at a current time, control a signal state of the slave device of the advanced expansion interface, where the signal state indicates to establish the handshake mechanism on the first channel side, to be an active state;
The receiving module is used for receiving the operation instruction transmitted by the main equipment of the advanced expansion interface through the first channel;
and the sending module is used for forwarding the operation instruction to a pre-configured instruction execution device to complete the operation corresponding to the operation instruction, wherein the operation instruction comprises a reading instruction or a writing instruction.
9. A computer device, comprising:
A memory and a processor, the memory and the processor are in communication connection, the memory stores computer instructions, and the processor executes the computer instructions, thereby executing the method for dynamically adjusting the read-write operation according to any one of claims 1 to 7.
10.A computer-readable storage medium having stored thereon computer instructions for causing a computer to perform the read-write operation dynamic adjustment method according to any one of claims 1 to 7.
CN202510080305.6A 2025-01-17 2025-01-17 Methods, devices, equipment and media for dynamic adjustment of read and write operations Active CN119988292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202510080305.6A CN119988292B (en) 2025-01-17 2025-01-17 Methods, devices, equipment and media for dynamic adjustment of read and write operations

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202510080305.6A CN119988292B (en) 2025-01-17 2025-01-17 Methods, devices, equipment and media for dynamic adjustment of read and write operations

Publications (2)

Publication Number Publication Date
CN119988292A true CN119988292A (en) 2025-05-13
CN119988292B CN119988292B (en) 2025-12-02

Family

ID=95630930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202510080305.6A Active CN119988292B (en) 2025-01-17 2025-01-17 Methods, devices, equipment and media for dynamic adjustment of read and write operations

Country Status (1)

Country Link
CN (1) CN119988292B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5270883A (en) * 1991-08-29 1993-12-14 Mitsubishi Denki Kabushiki Kaisha Magnetic read/write circuit
US20030101307A1 (en) * 2001-03-15 2003-05-29 Riccardo Gemelli System of distributed microprocessor interfaces toward macro-cell based designs implemented as ASIC or FPGA bread boarding and relative common bus protocol
CN101477505A (en) * 2008-12-23 2009-07-08 北京中星微电子有限公司 Data transmission method between master and slave equipments through bus
CN109032973A (en) * 2018-07-09 2018-12-18 胡振波 ICB bus system and agreement
CN115129645A (en) * 2022-08-31 2022-09-30 苏州浪潮智能科技有限公司 Transaction processing method, system, storage medium and equipment based on bus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5270883A (en) * 1991-08-29 1993-12-14 Mitsubishi Denki Kabushiki Kaisha Magnetic read/write circuit
US20030101307A1 (en) * 2001-03-15 2003-05-29 Riccardo Gemelli System of distributed microprocessor interfaces toward macro-cell based designs implemented as ASIC or FPGA bread boarding and relative common bus protocol
CN101477505A (en) * 2008-12-23 2009-07-08 北京中星微电子有限公司 Data transmission method between master and slave equipments through bus
CN109032973A (en) * 2018-07-09 2018-12-18 胡振波 ICB bus system and agreement
CN115129645A (en) * 2022-08-31 2022-09-30 苏州浪潮智能科技有限公司 Transaction processing method, system, storage medium and equipment based on bus

Also Published As

Publication number Publication date
CN119988292B (en) 2025-12-02

Similar Documents

Publication Publication Date Title
KR102563165B1 (en) Memory access request scheduling method, device, apparatus, and storage medium
CN111694646B (en) Resource scheduling method, device, electronic equipment and computer readable storage medium
JP2000330806A (en) Computer system
US10459773B2 (en) PLD management method and PLD management system
US20120297216A1 (en) Dynamically selecting active polling or timed waits
CN118860507B (en) Service interaction system, method, storage medium and electronic equipment
JP2016504696A (en) Distributed computing architecture
CN116723198A (en) Multi-node server host control method, device, equipment and storage medium
CN119356975A (en) A method, device, equipment and medium for reporting server asset information
CN117827423A (en) GPU sharing method and device, electronic equipment and storage medium
US8484642B2 (en) Processor core selection based at least in part upon at least one inter-dependency
CN119988292B (en) Methods, devices, equipment and media for dynamic adjustment of read and write operations
CN119341916B (en) Bandwidth adaptive equalization method, device, equipment, storage medium and program product
US9690619B2 (en) Thread processing method and thread processing system for setting for each thread priority level of access right to access shared memory
JP5704176B2 (en) Processor processing method and processor system
US12461773B2 (en) Virtual machine operation controlling method, apparatus, device and medium
CN119473957A (en) Interruption control device and method, electronic device and computer-readable storage medium
CN116089049B (en) Asynchronous parallel I/O request-based process synchronous scheduling method, device and equipment
CN118605964A (en) Resource configuration method of intelligent network card, computer equipment and medium
JP2008225641A (en) Computer system, interrupt control method and program
US10951537B1 (en) Adjustable receive queue for processing packets in a network device
CN119440803B (en) Control authority acquisition method and device, computer equipment and storage medium
JP2007011739A (en) Load management apparatus and load management method
CN120849314A (en) Cache architecture, method, electronic device and storage medium of AXI interconnect module
CN118409704A (en) Storage resource processing method, computer device, storage medium, and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant