Data access system, method, electronic device, and storage medium

By setting up a bypass data path and address mapping of the memory management module in the 3D stacked processor, the multi-hop transmission problem between the computing module and the storage module is solved, achieving low-latency and low-power data access and improving system performance.

CN123178291APending Publication Date: 2026-11-27BEIJING TSINGMICRO INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611062573.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-16
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In 3D stacked processors, data transfer between computing and storage modules requires multi-hop transmission via on-chip network, which increases access latency, power consumption, and on-chip network bandwidth, affecting overall system performance.

Method used

Bypass data paths are set up between computing modules, and the target logical address is converted into the target physical address through the memory management module based on the mapping relationship between logical address and physical address. The control module controls the target storage module to perform data operations, and the results are directly transmitted through the bypass data path to avoid multi-hop migration.

Benefits of technology

It reduces access latency and power consumption, avoids on-chip network bandwidth occupation, and improves system performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178291A_ABST
    Figure CN123178291A_ABST
Patent Text Reader

Abstract

The present disclosure provides a data access system, method, electronic device and storage medium, and the main technical features include: at least one computing module, memory management module, control module and at least one storage module; the computing module is used for initiating an access request for target data; wherein the access request at least includes a target logical address of the target data; the memory management module is used for converting the target logical address into a target physical address pointing to the target storage module based on the mapping relationship between the logical address and the physical address; the control module is used for controlling the target storage module to execute a data operation corresponding to the access request according to the target physical address, and transmitting the result of the data operation to the computing module initiating the access request through the target bypass data channel; wherein the target bypass data channel is a bypass data channel between the target computing module vertically stacked and directly connected with the computing module initiating the access request.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of chip technology, and in particular to a data access system, method, electronic device, and storage medium. Background Technology

[0002] With the rapid development of large-scale artificial intelligence models, 3D stacked processors are widely used in high-performance computing due to their advantages of high bandwidth and low latency. In a typical 3D stacked architecture, compute modules and storage modules are vertically stacked and interconnected. The compute module has a direct physical bandwidth connection with the storage module directly below it, enabling fast data access.

[0003] However, in real-world applications, due to the uneven distribution of data, the target data that a computing module needs to access may not be stored in the storage module directly below it, but rather in a storage module that is vertically stacked and interconnected with other computing modules. The computing module cannot directly access the data using the vertical direct connection channel directly below it. Instead, it needs to use the on-chip network to move the target data from its current storage module to the computing module that initiates the access, hop by hop, through multiple intermediate computing modules. This results in a longer data movement path, increased access latency and power consumption. At the same time, the transmission of a large amount of data through the on-chip network will occupy the on-chip network bandwidth, causing on-chip network congestion and affecting the overall system performance. Summary of the Invention

[0004] This disclosure provides a data access system, method, electronic device, and storage medium. Its main objective is to address the problems in the prior art where data transfer between different computing modules and storage modules requires multi-hop transmission via on-chip network, leading to increased access latency, higher power consumption, and on-chip network bandwidth consumption, causing on-chip network congestion and affecting overall system performance.

[0005] According to a first aspect of this disclosure, a data access system is provided, comprising: at least one computing module, a memory management module, a control module, and at least one storage module; wherein each computing module is vertically stacked and directly connected to each storage module, and a bypass data path is provided between the computing modules.

[0006] The computing module is used to initiate an access request to the target data; wherein the access request includes at least the target logical address of the target data; The memory management module is used to convert the target logical address into a target physical address based on the mapping relationship between logical addresses and physical addresses; wherein the target physical address points to the target storage module; The control module is configured to control the target storage module to perform the data operation corresponding to the access request according to the target physical address, and transmit the result of the data operation to the computing module that initiated the access request through the target bypass data path; wherein, the target bypass data path is a bypass data path between the target computing module that is vertically stacked and directly connected to the target storage module and the computing module that initiated the access request.

[0007] In some embodiments, the system further includes: a monitoring module; wherein, The monitoring module is used to monitor the access popularity of each storage module and identify storage modules whose access popularity exceeds a preset threshold. The control module is also used to control the storage module whose access popularity exceeds a preset threshold to copy its corresponding data to the idle storage module whose access popularity is lower than the preset threshold; The memory management module is also used to adjust the mapping relationship, redirecting some access requests that point to the storage module whose access popularity exceeds a preset threshold to the idle storage module.

[0008] In some embodiments, the memory management module is configured to: The system receives the target logical address sent by the computing module and matches the target logical address with the mapping relationship through a hardware comparison circuit. When a match is found, the target physical address corresponding to the target logical address is output; If no match is found, an interrupt is triggered.

[0009] In some embodiments, the control module is configured to: Identify the access type of the access request; wherein, the access type includes in-memory computation operations and data read operations; When the access type is the in-memory computation operation, the target storage module is controlled to perform the computation locally and store the computation result in the target storage module, or the computation result is transmitted to the computation module that initiated the access request through the target bypass data path; When the access type is the data read operation, the target storage module is controlled to transmit the target data to the computing module that initiated the access request through the target bypass data path.

[0010] According to a second aspect of this disclosure, a data access method is provided, the method being applied to the data access system described in the first aspect above, comprising: In response to an access request for target data initiated by the computing module, the target logical address in the access request is converted into a target physical address based on the mapping relationship between logical addresses and physical addresses; wherein, the target physical address points to the target storage module; Based on the target physical address, the target storage module is controlled to perform the data operation corresponding to the access request to obtain the result of the data operation; the result of the data operation is transmitted to the computing module that initiated the access request through the target bypass data path; wherein, the target bypass data path is a bypass data path between the target computing module that is vertically stacked and directly connected to the target storage module and the computing module that initiated the access request.

[0011] In some embodiments, the method further includes: Monitor the access frequency of each storage module and identify storage modules whose access frequency exceeds a preset threshold; The storage module whose access popularity exceeds a preset threshold copies its corresponding data to an idle storage module whose access popularity is below the preset threshold; Adjust the mapping relationship between the logical address and the physical address, and redirect some access requests that point to the storage module whose access popularity exceeds a preset threshold to the idle storage module.

[0012] In some embodiments, controlling the target storage module to perform data operations corresponding to the access request, obtaining the result of the data operations, and transmitting the result of the data operations to the computing module that initiated the access request through a target bypass data path includes: Identify the access type of the access request; wherein, the access type includes in-memory computation operations and data read operations; When the access type is the in-memory computation operation, the target storage module is controlled to perform the computation locally and store the computation result in the target storage module, or the computation result is transmitted to the computation module that initiated the access request through the target bypass data path; When the access type is the data read operation, the target storage module is controlled to transmit the target data to the computing module that initiated the access request through the target bypass data path.

[0013] According to a third aspect of this disclosure, a data access apparatus is provided, the apparatus being configured in the data access system described in the first aspect above, comprising: A conversion unit is used to respond to an access request for target data initiated by the computing module, and convert the target logical address in the access request into a target physical address based on the mapping relationship between logical addresses and physical addresses; wherein the target physical address points to the target storage module; The transmission unit is configured to control the target storage module to perform the data operation corresponding to the access request according to the target physical address, and obtain the result of the data operation; and transmit the result of the data operation to the computing module that initiated the access request through the target bypass data path; wherein, the target bypass data path is a bypass data path between the target computing module that is vertically stacked and directly connected to the target storage module and the computing module that initiated the access request.

[0014] In some embodiments, the apparatus further includes: The monitoring unit is used to monitor the access frequency of each storage module and identify storage modules whose access frequency exceeds a preset threshold. The control unit is used to control the storage modules whose access popularity exceeds a preset threshold to copy their corresponding data to the idle storage modules whose access popularity is lower than the preset threshold; The adjustment unit is used to adjust the mapping relationship between the logical address and the physical address, redirecting some access requests that point to the storage module whose access popularity exceeds a preset threshold to the idle storage module.

[0015] In some embodiments, the transmission unit includes: The identification module is used to identify the access type of the access request; wherein the access type includes in-memory computation operation and data reading operation; The first control module is used to control the target storage module to perform calculation locally and store the calculation result in the target storage module when the access type is the in-memory calculation operation, or to transmit the calculation result to the calculation module that initiated the access request through the target bypass data path; The second control module is used to control the target storage module to transmit the target data to the computing module that initiated the access request through the target bypass data path when the access type is the data read operation.

[0016] According to a fourth aspect of this disclosure, an electronic device is provided, comprising: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method described in the second aspect above.

[0017] According to a fifth aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions, wherein the computer instructions are configured to cause the computer to perform the method described in the second aspect above.

[0018] According to a sixth aspect of this disclosure, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the method described in the second aspect above.

[0019] In summary, the data access system, method, electronic device, and storage medium provided in this disclosure include: at least one computing module, a memory management module, a control module, and at least one storage module; wherein each computing module is vertically stacked and directly connected to each storage module, and a bypass data path is provided between the computing modules; the computing module is used to initiate an access request for target data; wherein the access request includes at least the target logical address of the target data; the memory management module is used to convert the target logical address into a target physical address based on the mapping relationship between logical addresses and physical addresses; wherein the target physical address points to a target storage module; the control module is used to control the target storage module to perform the data operation corresponding to the access request according to the target physical address, and transmit the result of the data operation to the computing module that initiated the access request through the target bypass data path; wherein the target bypass data path is a bypass data path between the target computing module vertically stacked and directly connected to the target storage module and the computing module that initiated the access request. Compared with related technologies, the solution disclosed herein can set up a bypass data path between each computing module. The memory management module converts the target logical address into a target physical address pointing to the target storage module based on the mapping relationship between logical addresses and physical addresses. The control module controls the target storage module to perform data operations according to the target physical address. The result of the data operation is then directly transmitted through the target bypass data path between the target computing module and the computing module that initiated the access request. This eliminates the need for the target data or calculation result to be moved between multiple computing modules through the on-chip network, thereby reducing access latency and power consumption, and avoiding on-chip network bandwidth occupation.

[0020] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this application, nor is it intended to limit the scope of this application. Other features of this application will become readily apparent from the following description. Attached Figure Description

[0021] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein: Figure 1 This is a schematic diagram of the structure of a data access system provided in an embodiment of the present disclosure; Figure 2 This is a schematic diagram of a three-dimensional structure of a 3D stacked chip provided in an embodiment of the present disclosure; Figure 3This is a schematic diagram of the structure of another data access system provided in an embodiment of the present disclosure; Figure 4 This is a flowchart illustrating a data access method provided in an embodiment of the present disclosure; Figure 5 This is a schematic diagram of the structure of a data access device provided in an embodiment of the present disclosure; Figure 6 This is a schematic diagram of another data access device provided in an embodiment of the present disclosure; Figure 7 This is a schematic block diagram of an example electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0022] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0023] This invention has a wide range of applications, especially suitable for in-memory computing chips.

[0024] The following description, with reference to the accompanying drawings, outlines a data access system, method, electronic device, and storage medium according to embodiments of the present disclosure.

[0025] Figure 1 This is a schematic diagram of the structure of a data access system provided in an embodiment of this disclosure.

[0026] like Figure 1 As shown, the system includes at least one computing module 11, a memory management module 12, a control module 13, and at least one storage module 14.

[0027] Each computing module is vertically stacked and directly connected to a corresponding storage module, and a bypass data path is provided between the computing modules.

[0028] In some embodiments, Figure 2 This is a schematic diagram of a three-dimensional structure of a 3D stacked chip provided in an embodiment of the present disclosure, as shown below. Figure 2 As shown, the computing modules and storage modules are stacked in three-dimensional space, with a storage module physically connected directly beneath each computing module, forming a vertically connected channel. This vertical stacking interconnect can be achieved using processes such as through-silicon vias (TSVs), resulting in extremely short data transmission paths between the upper and lower layers.

[0029] A bypass data path is set up between different computing modules. The bypass data path connects each computing module and is used to directly transfer data between modules without going through the Network on Chip (NoC) or the computing pipeline inside the computing module.

[0030] The computing module 11 is used to initiate an access request to the target data; wherein the access request includes at least the target logical address of the target data.

[0031] In some embodiments, the target logical address can be a virtual address generated by an application or operating system running on the computing module 11. When the computing module 11 needs to read, write, or process certain data, it sends the logical address corresponding to that data in an access request to the memory management module 12. For example, when the computing module is performing an inference task of an artificial intelligence model, it may need to access the weight parameters of a neural network, which are requested in the form of a logical address.

[0032] In this way, the computing module only needs to provide the target logical address to initiate data access, without needing to know which storage module the target data is actually stored in, thus decoupling the access request from the physical storage location.

[0033] The memory management module 12 is used to convert the target logical address into a target physical address based on the mapping relationship between logical addresses and physical addresses; wherein the target physical address points to the target storage module.

[0034] In some embodiments, the mapping relationship between logical addresses and physical addresses can be stored in the system in the form of a virtual window table. After receiving the target logical address sent by the computing module 11, the memory management module 12 looks up the mapping relationship between logical addresses and physical addresses to obtain the corresponding target physical address. The target physical address explicitly indicates the storage module where the target data is located (i.e., the target storage module), and may further indicate the specific row address and column address within the target storage module. The mapping relationship between logical addresses and physical addresses can be updated by the system software during system initialization or operation to ensure the correctness and real-time performance of the mapping relationship.

[0035] In this way, the memory management module provides the system with a unified address translation function, enabling any computing module to access data in any storage module through a logical address.

[0036] The control module 13 is configured to control the target storage module to perform the data operation corresponding to the access request according to the target physical address, and transmit the result of the data operation to the computing module that initiated the access request through the target bypass data path; wherein, the target bypass data path is a bypass data path between the target computing module that is vertically stacked and directly connected to the target storage module and the computing module that initiated the access request.

[0037] In some embodiments, after obtaining the target physical address converted by the memory management module 12, the control module 13 sends a control command to the target storage module, the type of which corresponds to the access request. The target storage module performs the corresponding operation according to the command, generating the result of the data operation. If it is a read operation, the result is the target data itself; if it is a calculation operation, the result is the calculated value. Then, the control module 13 transmits the result of the data operation back to the requesting calculation module through the target bypass data path. The target bypass data path specifically refers to the bypass data path set between the calculation module (i.e., the target calculation module) that is vertically stacked and directly connected to the target storage module and the requesting calculation module. After the data is read from the target storage module, it first reaches the target calculation module above it through the vertical channel, and then, instead of entering the internal calculation pipeline of the target calculation module, it is directly transmitted horizontally to the requesting calculation module through the bypass data path deployed on the chip. The entire process does not require multi-hop routing through the on-chip network.

[0038] In this way, the control module 13 directly controls the remote storage module based on the physical address and uses the bypass data path to return the result. This avoids the high latency and high power consumption caused by moving data between computing modules through the on-chip network in the traditional solution, and also frees up the bandwidth resources of the on-chip network.

[0039] In summary, the data access system provided by the embodiments of this disclosure can set up a bypass data path between each computing module. The memory management module converts the target logical address into a target physical address pointing to the target storage module based on the mapping relationship between logical addresses and physical addresses. After the control module controls the target storage module to perform data operations according to the target physical address, the result of the data operation is directly transmitted through the target bypass data path between the target computing module and the computing module that initiated the access request. This eliminates the need for the target data or calculation result to be moved between multiple computing modules through the on-chip network, thereby reducing access latency and power consumption and avoiding on-chip network bandwidth occupation.

[0040] Figure 3 A schematic diagram of the structure of a data access system provided in an embodiment of this disclosure is further shown, such as... Figure 3 As shown, the system further includes: a monitoring module 15; wherein, The monitoring module 15 is used to monitor the access popularity of each storage module and identify storage modules whose access popularity exceeds a preset threshold.

[0041] In some embodiments, access popularity can refer to indicators that reflect the load status of a storage module, such as the number of times a storage module is accessed per unit time, the number of currently queued access requests, or the bandwidth utilization rate of the storage module. The monitoring module 15 can be implemented as a hardware counter to statistically analyze the access status of each storage module in real time. A preset threshold can be set by the system software based on the performance parameters of the storage modules and the system load requirements. When the access popularity of a storage module exceeds the preset threshold, it indicates that the current load of that storage module is too high and may become a performance bottleneck of the system. For example, in a hybrid expert model inference scenario, the storage module containing the parameter data of certain popular experts may be frequently accessed by multiple computing modules, resulting in its access popularity being higher than other storage modules.

[0042] The control module 13 is also used to control the storage module whose access popularity exceeds a preset threshold to copy its corresponding data to the idle storage module whose access popularity is lower than the preset threshold.

[0043] In some embodiments, after the monitoring module 15 determines that a storage module's access popularity exceeds a preset threshold, the control module 13 selects one or more storage modules from those with access popularity below the preset threshold as idle storage modules. Then, it sends a data copy command to the storage module with access popularity exceeding the preset threshold, copying its stored data to the idle storage module. The copying process can be performed in the background without blocking ongoing access requests from the computing module, allowing data copying operations to be performed in parallel with normal access operations.

[0044] The memory management module 12 is also used to adjust the mapping relationship, redirecting some access requests that point to the storage module whose access popularity exceeds a preset threshold to the idle storage module.

[0045] In some embodiments, after the control module 13 completes data copying, the memory management module 12 updates the mapping relationship between logical addresses and physical addresses. It modifies the physical addresses of some entries that were originally mapped to storage modules with access activity exceeding a preset threshold, so that they point to free storage modules. In this way, subsequent access requests for the data initiated by the computing module will be directed to free storage modules during address translation by the memory management module 12, instead of all being concentrated on the storage modules with access activity exceeding the preset threshold.

[0046] By distributing the access load from the overheated storage module to multiple storage modules in the above manner, a single storage module is prevented from becoming a performance bottleneck, thereby improving the overall access efficiency of the system.

[0047] Optionally, based on any of the above embodiments or optional methods, the memory management module 12 is used for: The system receives the target logical address sent by the computing module and matches the target logical address with the mapping relationship through a hardware comparison circuit. When a match is found, the system outputs the target physical address corresponding to the target logical address. When a match is not found, an interrupt is triggered.

[0048] In some embodiments, the hardware comparison circuit can be a dedicated logic circuit used to perform parallel comparisons between the input target logical address and the logical address fields of each record in the mapping relationship. The mapping relationship can be stored in the internal or external memory of the memory management module 12 in a lookup table structure. When the computing module initiates an access request, the memory management module 12 receives the target logical address carried therein, and the hardware comparison circuit matches the target logical address with multiple records in the mapping relationship simultaneously. If a record corresponding to the target logical address exists in the mapping relationship, it is determined to be a match hit, and the memory management module 12 directly outputs the target physical address corresponding to that record for use by the control module 13. If no corresponding record exists in the mapping relationship, it is determined to be a match miss, and the hardware comparison circuit generates an interrupt signal to notify the system software to process it. After receiving the interrupt, the system software can allocate new physical storage space for the target logical address according to the actual situation, establish the corresponding mapping relationship and write it into the mapping relationship, and then re-trigger the access request to complete the data access. It should be noted that the specific implementation of the hardware comparison circuit may include, but is not limited to, content-addressable memory or parallel comparator arrays, etc., and the specific implementation of this disclosure is not limited in this respect. Furthermore, the specific process of interrupt handling can be flexibly defined by the operating system or driver based on the system architecture.

[0049] In this way, the memory management module 12 uses a hardware comparison circuit to achieve fast matching and searching of the mapping relationship. When a match is found, the target physical address can be directly output to complete the address translation. When a match is missed, an interrupt can be triggered in time for system software to intervene and handle the issue, thus ensuring the correctness of the address translation and the scalability of the system.

[0050] Optionally, based on any of the above embodiments or optional methods, the control module 13 is used to: Identify the access type of the access request; wherein, the access type includes in-memory computation operations and data read operations; When the access type is the in-memory computation operation, the target storage module is controlled to perform the computation locally and store the computation result in the target storage module, or the computation result is transmitted to the computation module that initiated the access request through the target bypass data path; When the access type is the data read operation, the target storage module is controlled to transmit the target data to the computing module that initiated the access request through the target bypass data path.

[0051] In some embodiments, the access request may carry an access type identifier, and the control module 13 identifies the access type by parsing the opcode or type field in the access request. In-memory computation operations refer to tasks that need to be performed directly within the storage module, including but not limited to vector addition, accumulation operations in matrix multiplication, data scaling, and data format conversion. Data read operations refer to tasks that need to read target data from the storage module and return it to the requesting computation module.

[0052] When the control module 13 identifies an in-memory computation operation as the access type, it sends a computation command to the target storage module. This command may include the operation type, operand location, and the method for processing the computation result. The target storage module may integrate a local computation unit. Based on the computation command, the local computation unit directly uses the data stored in the target storage module to perform computation locally, without needing to move the data to the computation module for further computation. After computation, the result can be processed in one of two ways as indicated by the command: one way is to write the result directly back to the target storage module, overwriting the original data or storing it at a new physical address, suitable for scenarios where the result needs to be accessed later; the other way is to transmit the result to the computation module that initiated the access request via the target bypass data path, suitable for scenarios where the result needs to be immediately used in subsequent operations.

[0053] When the control module 13 identifies the access type as a data read operation, it sends a read command to the target storage module. The target storage module then reads the target data according to the read command. The read target data does not pass through the control module 13; instead, it is directly transmitted to the computing module that initiated the access request via the target bypass data path. The specific transmission path of the target bypass data path is as follows: the target data travels from the target storage module through a vertical channel to the target computing module above it, and then the horizontal transmission is completed using the bypass data path between the target computing module and the computing module that initiated the access request. The entire process does not pass through the internal computing pipeline of the target computing module, nor does it consume on-chip network bandwidth.

[0054] In this way, the control module 13 can execute different processing strategies according to different types of access requests, effectively reducing data access latency and power consumption, and improving system performance.

[0055] Corresponding to the data access system described above, this invention also proposes a data access method. Since the method embodiments of this invention correspond to the system embodiments described above, details not disclosed in the method embodiments can be referred to in the system embodiments described above, and will not be repeated here.

[0056] Figure 4 This is a flowchart illustrating a data access method provided in an embodiment of the present disclosure, which is applied to the aforementioned data access system.

[0057] like Figure 4 As shown, the method includes steps 101-102.

[0058] Step 101: In response to the access request for target data initiated by the computing module, based on the mapping relationship between logical address and physical address, the target logical address in the access request is converted into a target physical address; wherein, the target physical address points to the target storage module.

[0059] In some embodiments, when a computing module needs to access certain data, it initiates an access request carrying the target logical address corresponding to the target data. The target logical address can be a virtual address, generated by an application or operating system running on the computing module; the computing module does not need to know which storage module the target data is actually stored in. Upon receiving the access request, the memory management module looks up the mapping relationship between logical and physical addresses. This mapping relationship can be stored in the form of a virtual window table. The mapping relationship records the correspondence between logical and physical addresses, where the target physical address explicitly indicates the target storage module where the target data resides, and can further indicate specific location information such as row and column addresses within the storage module. The mapping relationship between logical and physical addresses can be updated by the system software during system initialization or operation to ensure the correctness and real-time nature of the mapping relationship.

[0060] Step 102: Based on the target physical address, control the target storage module to perform the data operation corresponding to the access request, and obtain the result of the data operation; transmit the result of the data operation to the computing module that initiated the access request through the target bypass data path; wherein, the target bypass data path is a bypass data path between the target computing module that is vertically stacked and directly connected to the target storage module and the computing module that initiated the access request.

[0061] In some embodiments, after the memory management module completes address translation to obtain the target physical address, the control module sends a control command to the target storage module based on the target physical address. The type of the command corresponds to the access request. Upon receiving the command, the target storage module executes the corresponding operation, generating the result of the data operation. If the access request is a read request, the result of the data operation is the target data itself; if the access request is a computation request, the result of the data operation is the calculated value. Then, the control module transmits the result of the data operation back to the requesting computation module through the target bypass data path. Specifically, the target bypass data path refers to the bypass data path established between the computation module (i.e., the target computation module) that is vertically stacked and directly connected to the target storage module and the requesting computation module. After data is read from the target storage module, it first passes through the vertical channel to the target computation module above it. Then, without entering the internal computation pipeline of the target computation module or passing through the on-chip network, it is directly transmitted horizontally to the requesting computation module through the bypass data path deployed on the chip.

[0062] In summary, the data access method provided by the embodiments of this disclosure can set up a bypass data path between each computing module. The memory management module converts the target logical address into a target physical address pointing to the target storage module based on the mapping relationship between logical addresses and physical addresses. After the control module controls the target storage module to perform data operations according to the target physical address, the result of the data operation is directly transmitted through the target bypass data path between the target computing module and the computing module that initiated the access request. This eliminates the need for the target data or calculation result to be moved between multiple computing modules through the on-chip network, thereby reducing access latency and power consumption, and avoiding on-chip network bandwidth occupation.

[0063] Optionally, based on any of the above embodiments or optional methods, the method further includes: Monitor the access frequency of each storage module and identify storage modules whose access frequency exceeds a preset threshold; The storage module whose access popularity exceeds a preset threshold copies its corresponding data to an idle storage module whose access popularity is below the preset threshold; Adjust the mapping relationship between the logical address and the physical address, and redirect some access requests that point to the storage module whose access popularity exceeds a preset threshold to the idle storage module.

[0064] It should be noted that for the specific implementation methods and details of the above methods, please refer to [link / reference needed]. Figure 3 The detailed descriptions of the relevant embodiments are not repeated here.

[0065] Optionally, based on any of the above embodiments or optional methods, controlling the target storage module to perform the data operation corresponding to the access request, obtaining the result of the data operation, and transmitting the result of the data operation to the computing module that initiated the access request through the target bypass data path, includes: Identify the access type of the access request; wherein, the access type includes in-memory computation operations and data read operations; When the access type is the in-memory computation operation, the target storage module is controlled to perform the computation locally and store the computation result in the target storage module, or the computation result is transmitted to the computation module that initiated the access request through the target bypass data path; When the access type is the data read operation, the target storage module is controlled to transmit the target data to the computing module that initiated the access request through the target bypass data path.

[0066] It should be noted that the specific implementation methods and details of the above methods can be found in the detailed description of the control module 13 in the aforementioned system embodiments, and will not be repeated here in this disclosure.

[0067] Corresponding to the data access method described above, this invention also proposes a data access device. Since the device embodiments of this invention correspond to the method embodiments described above, details not disclosed in the device embodiments can be referred to in the method embodiments described above, and will not be repeated here.

[0068] Figure 5 This is a schematic diagram of the structure of a data access device provided in an embodiment of the present disclosure, as shown below. Figure 5 As shown, the data access device is configured in the aforementioned data access system and includes: The conversion unit 51 is used to respond to an access request for target data initiated by the computing module, and convert the target logical address in the access request into a target physical address based on the mapping relationship between logical addresses and physical addresses; wherein the target physical address points to the target storage module; The transmission unit 52 is configured to control the target storage module to perform the data operation corresponding to the access request according to the target physical address, and obtain the result of the data operation; and transmit the result of the data operation to the computing module that initiated the access request through the target bypass data path; wherein, the target bypass data path is a bypass data path between the target computing module that is vertically stacked and directly connected to the target storage module and the computing module that initiated the access request.

[0069] The data access device provided in this disclosure can set up a bypass data path between each computing module. The memory management module converts the target logical address into a target physical address pointing to the target storage module based on the mapping relationship between logical addresses and physical addresses. After the control module controls the target storage module to perform data operations according to the target physical address, the result of the data operation is directly transmitted through the target bypass data path between the target computing module and the computing module that initiated the access request. This eliminates the need for the target data or calculation result to be moved between multiple computing modules through the on-chip network, thereby reducing access latency and power consumption and avoiding on-chip network bandwidth occupation.

[0070] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 6 As shown, the device further includes: The monitoring unit 53 is used to monitor the access popularity of each storage module and identify the storage module whose access popularity exceeds a preset threshold. Control unit 54 is used to control the storage module whose access popularity exceeds a preset threshold to copy its corresponding data to an idle storage module whose access popularity is lower than the preset threshold; The adjustment unit 55 is used to adjust the mapping relationship between the logical address and the physical address, and redirect some access requests that point to the storage module whose access popularity exceeds a preset threshold to the idle storage module.

[0071] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 6 As shown, the transmission unit 52 includes: The identification module 521 is used to identify the access type of the access request; wherein the access type includes in-memory computation operation and data reading operation; The first control module 522 is used to control the target storage module to perform calculation locally and store the calculation result in the target storage module when the access type is the in-memory calculation operation, or to transmit the calculation result to the calculation module that initiated the access request through the target bypass data path; The second control module 523 is used to control the target storage module to transmit the target data to the computing module that initiated the access request through the target bypass data path when the access type is the data read operation.

[0072] It should be noted that the foregoing explanation of the method embodiments also applies to the apparatus of the embodiments of this disclosure, and the principle is the same. Therefore, the embodiments of this disclosure are not limited thereto.

[0073] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.

[0074] Figure 7 A schematic block diagram of an example electronic device 900 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0075] like Figure 7 As shown, the electronic device 900 includes a computing unit 901, which can perform various appropriate actions and processes based on a computer program stored in ROM (Read-Only Memory) 902 or a computer program loaded from storage unit 908 into RAM (Random Access Memory) 903. The RAM 903 can also store various programs and data required for the operation of the electronic device 900. The computing unit 901, ROM 902, and RAM 903 are interconnected via bus 904. An I / O (Input / Output) interface 905 is also connected to bus 904.

[0076] Multiple components in electronic device 900 are connected to I / O interface 905, including: input unit 906, such as keyboard, mouse, etc.; output unit 907, such as various types of displays, speakers, etc.; storage unit 908, such as disk, optical disk, etc.; and communication unit 909, such as network card, modem, wireless transceiver, etc. Communication unit 909 allows electronic device 900 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0077] The computing unit 901 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, CPUs (Central Processing Units), GPUs (Graphics Processing Units), various special-purpose AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, DSPs (Digital Signal Processors), and any suitable processor, controller, microcontroller, etc. The computing unit 901 performs the various methods and processes described above, such as data access methods. For example, in some embodiments, the data access method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 908. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 900 via ROM 902 and / or communication unit 909. When the computer program is loaded into RAM 903 and executed by the computing unit 901, one or more steps of the methods described above may be performed. Alternatively, in other embodiments, the computing unit 901 may be configured to perform the aforementioned data access method by any other suitable means (e.g., by means of firmware).

[0078] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application-Specific Standard Products), SOCs (System-on-Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0079] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0080] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, RAM, ROM, EPROM (Electrically Programmable Read-Only Memory) or flash memory, optical fiber, CD-ROM (Compact Disc Read-Only Memory), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0081] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0082] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include LANs (Local Area Networks), WANs (Wide Area Networks), the Internet, and blockchain networks.

[0083] Computer systems can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. A server can be a cloud server, also known as a cloud computing server or cloud host, a hosting product within the cloud computing service system that addresses the shortcomings of traditional physical hosts and VPS (Virtual Private Server) services, such as high management difficulty and weak business scalability. Servers can also be servers for distributed systems or servers incorporating blockchain technology.

[0084] It's important to note that artificial intelligence (AI) is the study of enabling computers to simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, and planning). It encompasses both hardware and software technologies. AI hardware technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, and big data processing. AI software technologies primarily include computer vision, speech recognition, natural language processing, machine learning / deep learning, big data processing, and knowledge graph technologies.

[0085] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this application can be achieved, and this is not limited herein.

[0086] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A data access system, characterized in that, include: The system includes at least one computing module, a memory management module, a control module, and at least one storage module; wherein each computing module is vertically stacked and directly connected to a corresponding storage module, and a bypass data path is provided between the computing modules. The computing module is used to initiate an access request to the target data; wherein the access request includes at least the target logical address of the target data; The memory management module is used to convert the target logical address into a target physical address based on the mapping relationship between logical addresses and physical addresses; wherein the target physical address points to the target storage module; The control module is configured to control the target storage module to perform the data operation corresponding to the access request according to the target physical address, and transmit the result of the data operation to the computing module that initiated the access request through the target bypass data path; wherein, the target bypass data path is a bypass data path between the target computing module that is vertically stacked and directly connected to the target storage module and the computing module that initiated the access request.

2. The system according to claim 1, characterized in that, The system also includes: a monitoring module; wherein, The monitoring module is used to monitor the access popularity of each storage module and identify storage modules whose access popularity exceeds a preset threshold. The control module is also used to control the storage module whose access popularity exceeds a preset threshold to copy its corresponding data to the idle storage module whose access popularity is lower than the preset threshold; The memory management module is also used to adjust the mapping relationship, redirecting some access requests that point to the storage module whose access popularity exceeds a preset threshold to the idle storage module.

3. The system according to claim 1, characterized in that, The memory management module is used for: The system receives the target logical address sent by the computing module and matches the target logical address with the mapping relationship through a hardware comparison circuit. When a match is found, the target physical address corresponding to the target logical address is output; If no match is found, an interrupt is triggered.

4. The system according to claim 1, characterized in that, The control module is used for: Identify the access type of the access request; wherein, the access type includes in-memory computation operations and data read operations; When the access type is the in-memory computation operation, the target storage module is controlled to perform the computation locally and store the computation result in the target storage module, or the computation result is transmitted to the computation module that initiated the access request through the target bypass data path; When the access type is the data read operation, the target storage module is controlled to transmit the target data to the computing module that initiated the access request through the target bypass data path.

5. A data access method, characterized in that, The method, when applied to the system according to any one of claims 1-4, includes: In response to an access request for target data initiated by the computing module, the target logical address in the access request is converted into a target physical address based on the mapping relationship between logical addresses and physical addresses; wherein, the target physical address points to the target storage module; Based on the target physical address, the target storage module is controlled to perform the data operation corresponding to the access request to obtain the result of the data operation; the result of the data operation is transmitted to the computing module that initiated the access request through the target bypass data path; wherein, the target bypass data path is a bypass data path between the target computing module that is vertically stacked and directly connected to the target storage module and the computing module that initiated the access request.

6. The method according to claim 5, characterized in that, The method further includes: Monitor the access frequency of each storage module and identify storage modules whose access frequency exceeds a preset threshold; The storage module whose access popularity exceeds a preset threshold copies its corresponding data to an idle storage module whose access popularity is below the preset threshold; Adjust the mapping relationship between the logical address and the physical address, and redirect some access requests that point to the storage module whose access popularity exceeds a preset threshold to the idle storage module.

7. The method according to claim 5, characterized in that, The target storage module is controlled to perform the data operation corresponding to the access request, and the result of the data operation is obtained. Transmitting the result of the data operation to the computing module that initiated the access request via the target bypass data path includes: Identify the access type of the access request; wherein, the access type includes in-memory computation operations and data read operations; When the access type is the in-memory computation operation, the target storage module is controlled to perform the computation locally and store the computation result in the target storage module, or the computation result is transmitted to the computation module that initiated the access request through the target bypass data path; When the access type is the data read operation, the target storage module is controlled to transmit the target data to the computing module that initiated the access request through the target bypass data path.

8. An electronic device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 5-7.

9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method according to any one of claims 5-7.

10. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the method as described in any one of claims 5-7.