User parameter table operation method, device and storage medium with configurable data structure

By configuring the length of the data structure in the user parameter table operation method, the redundant space problem caused by the fixed-length data structure is solved, and efficient utilization of memory space and data access efficiency are achieved.

CN118035230BActive Publication Date: 2025-01-10YUSUR TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311660127.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-05
Publication Date
2025-01-10
Estimated Expiration
2043-12-05

AI Technical Summary

Technical Problem

In the prior art, fixed-length data structures will lead to waste of redundant space for certain data of shorter specific lengths, resulting in ineffective utilization of memory address space.

Method used

By providing a user parameter table operation method of configurable data structure, receiving data operation instructions, determining the length of the data structure, and allocating storage space in memory based on the length, supporting any length between 16 bytes and 256 bytes. , avoid the generation of redundant space.

Benefits of technology

It effectively avoids the waste of memory address space, improves the space utilization of memory, and improves data access efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118035230B_ABST
    Figure CN118035230B_ABST
Patent Text Reader

Abstract

The present invention provides a user parameter table operation method, device and storage medium with configurable data structure, the method comprising: receiving a data operation instruction; the data operation instruction is used to indicate the operation of table item data in the user parameter table; the user parameter table is obtained by accessing the terminal configuration parameter information of the database unloading engine through a designated terminal, and the parameter information includes the length of the user parameter table data structure; extracting a data position identifier in the data operation instruction; when the data position identifier indicates that the storage position is a memory, converting the data operation instruction into an access interface for accessing the memory; the storage of the operation data in the memory is allocated based on the length of the data structure; accessing the memory based on the access interface, and executing the data operation corresponding to the data operation instruction; generating feedback information when the data operation is completed and returning it to the designated device through a cache; the problem that a large amount of redundant space is caused by adopting a fixed-length data structure and there is a waste of memory address space can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method, device and storage medium for operating a user parameter table with a configurable data structure. Background Art

[0002] In a computer, each variable or data structure requires a certain amount of memory space to store its value. Each byte in memory has a unique address that identifies the location of that byte in memory. Therefore, the length of the data structure will affect their starting address in memory and the amount of space they occupy.

[0003] Currently, the common memory alignment scheme is to align data structures according to fixed sizes, which are usually powers of 2, such as 32B, 64B, 128B, etc.

[0004] However, only fixed-length data structures are supported. For certain data of shorter length, if a fixed-length data structure is used, a large amount of redundant space may be caused, resulting in a problem of wasting memory address space. Summary of the invention

[0005] In view of this, the embodiments of the present invention provide a user parameter table operation method, device and storage medium with a configurable data structure to eliminate or improve one or more defects in the prior art. It can solve the problem that for certain data with a short length, if a fixed-length data structure is used, a large amount of redundant space may be generated, and there is a waste of memory address space.

[0006] One aspect of the present invention provides a method for operating a user parameter table of a configurable data structure, the method comprising the following steps:

[0007] Receive a data operation instruction sent by a designated terminal and determine the type of the data operation instruction; the data operation instruction is used to indicate the operation of the table item data in the user parameter table; the user parameter table is obtained by configuring parameter information of the access interface of the database unloading engine terminal through the designated terminal, and the parameter information includes the length of the user parameter table data structure;

[0008] Extracting a first data location identifier in the data operation instruction; the first data location identifier is used to indicate a storage location of the operation data corresponding to the user parameter table;

[0009] In the case where the first data location identifier indicates that the storage location is a memory, the data operation instruction is converted into an access interface for accessing the memory; the storage of the operation data in the memory is allocated based on the length of the data structure;

[0010] Access the memory based on the access interface and execute the data operation corresponding to the data operation instruction;

[0011] When the data operation is completed, status information is generated, and feedback information is generated based on the data operation instruction and status information, and returned to the specified device through the cache.

[0012] Optionally, when the data operation instruction is a first type instruction, accessing the memory based on the access interface to perform the data operation corresponding to the data operation instruction further includes:

[0013] The first data location identifier is written into the lower 8B of the first data in the operation data corresponding to the data operation instruction; the first type of instruction includes a data storage instruction, a data update instruction, a data query instruction, a data add instruction, a data lock instruction, a data unlock instruction, a clear flag instruction or a clear instruction.

[0014] Optionally, the second type of instruction includes a data read instruction and a data write instruction; when the data operation instruction is a data read instruction, accessing the memory based on the access interface and executing the data operation corresponding to the data operation instruction include:

[0015] When the target data is read, the lower 8B of the first data in the target data are extracted to obtain a second data position identifier corresponding to the target data.

[0016] Optionally, when the data operation is completed, status information is generated, and feedback information is generated based on the data operation instruction and the status information, and is returned to the designated device through the cache, further comprising:

[0017] The second data location identifier, the data operation instruction, and the state information target data are packaged to obtain feedback information and send it to the cache, and then returned to the designated device through the cache.

[0018] Optionally, before determining the type of the data operation instruction, the method further includes:

[0019] Extracting a first data location identifier in the data operation instruction;

[0020] When the first data location identifier indicates that the data storage location is a memory, a step of converting the data operation instruction into an access interface for accessing the memory is performed.

[0021] Optionally, when the first data location identifier indicates that the data storage location is a cache, the cache is accessed to perform a data operation corresponding to the data operation instruction.

[0022] Optionally, the cache includes a first cache and a second cache; the first data location identifier includes a first cache valid identifier and a second cache valid identifier; when the first cache valid identifier is a valid identifier, the first cache is accessed;

[0023] When the second cache valid flag is a valid flag, the second cache is accessed.

[0024] Optionally, when the data operation is completed, status information is generated, and feedback information is generated based on the data operation instruction and the status information, and is returned to the designated device through the cache, including:

[0025] The feedback information is sent to the first cache and the second cache respectively.

[0026] Another aspect of the present invention provides a cache implementation device for variable-length data blocks, including a processor and a memory, wherein computer instructions are stored in the memory, and the processor is used to execute the computer instructions stored in the memory. When the computer instructions are executed by the processor, the device implements the steps of the user parameter table operation method of the above-mentioned configurable data structure.

[0027] Another aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, characterized in that when the program is executed by a processor, the program implements the steps of the user parameter table operation method of the configurable data structure.

[0028] The user parameter table operation method, device and storage medium of the configurable data structure of the present invention determine the type of data operation instruction by receiving the data operation instruction sent by the designated terminal; the data operation instruction is used to indicate the operation of the table item data in the user parameter table; the user parameter table is obtained by the designated terminal through the user parameter table access interface configuration of the database unloading engine terminal; the user parameter table is obtained by the designated terminal accessing the access interface configuration parameter information of the database unloading engine terminal, and the parameter information includes the length of the user parameter table data structure; when the data operation instruction is a first type instruction, the first data position identifier in the data operation instruction is extracted; the first data position identifier is used to indicate the storage location of the operation data corresponding to the user parameter table; the data operation instruction is converted into an access interface for accessing the memory; the storage of the operation data in the memory is allocated based on the length of the data structure The invention relates to a method for accessing memory based on a data operation interface, and performing data operations corresponding to data operation instructions. The method generates status information when data operation is completed, and generates feedback information based on the data operation instruction and the status information, and returns the feedback information to the designated device through the cache. The method can solve the problem that a large amount of redundant space and a waste of memory address space may be caused for certain data of a shorter length if a fixed-length data structure is used. The method can satisfy the problem that a large amount of redundant space and a waste of memory address space may be caused by configuring the data length of the user parameter table of the specified terminal. The method can avoid causing a large amount of redundant space, thereby avoiding a waste of memory address space and improving the space utilization of memory. At the same time, the method can improve the access efficiency of the operation data by configuring the data location identifier, and accessing the memory when the data location identifier indicates that the operation data is located in the memory, and accessing the cache when the data location identifier indicates that the operation data is located in the cache.

[0029] Additional advantages, purposes, and features of the present invention will be described in part in the following description, and will become apparent to those skilled in the art after studying the following, or may be learned from the practice of the present invention. The purposes and other advantages of the present invention may be achieved and obtained by the structures specifically indicated in the specification and the accompanying drawings.

[0030] Those skilled in the art will appreciate that the objectives and advantages that can be achieved with the present invention are not limited to the above specific description, and the above and other objectives that can be achieved by the present invention will be more clearly understood from the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The drawings described herein are used to provide a further understanding of the present invention, constitute a part of the present application, and do not constitute a limitation of the present invention. In the drawings:

[0032] Figure 1 A block diagram of a database unloading engine terminal provided by an embodiment of the present invention;

[0033] Figure 2 The flowchart is a method for operating a user parameter table of a configurable data structure according to another embodiment of the present invention. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments and the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0035] It should also be noted that, in order to avoid obscuring the present invention due to unnecessary details, only structures and / or processing steps closely related to the solutions according to the present invention are shown in the accompanying drawings, while other details that are not closely related to the present invention are omitted.

[0036] It should be emphasized that the term “include / comprises” when used herein refers to the presence of features, elements, steps or components, but does not exclude the presence or addition of one or more other features, elements, steps or components.

[0037] It should also be noted that, unless otherwise specified, the term “connection” herein may refer not only to a direct connection but also to an indirect connection involving an intermediate.

[0038] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the accompanying drawings, the same reference numerals represent the same or similar components, or the same or similar steps.

[0039] The following is an introduction to the method for operating the user parameter table of the configurable data structure provided in this embodiment.

[0040] This embodiment takes the method applied to the database unloading engine terminal as an example for explanation. Figure 1 As shown, this embodiment provides a schematic diagram of the structure of a database unloading engine terminal. The database unloading engine terminal includes: an instruction interface module 110, a user parameter table processing module 120, a memory interface module 130, a hash calculation module 140, a first cache module 150, a second cache module 160, a consistency control module 170, a dedicated table module 180 and a bus interconnection module 190.

[0041] The instruction interface module 110 is used to receive data operation instructions of the user parameter table; based on the type of the user parameter table, the data operation instructions are sent to the user parameter table engine module 120 for processing.

[0042] In this embodiment, the user parameter table includes an array table and a hash table; accordingly, the user parameter table processing module 120 includes a hash instruction engine submodule 1210 and a data instruction engine submodule 1220 .

[0043] The memory interface module 130 is an interface between the user parameter table processing module and the DDR memory (Double Data Rate Synchronous Dynamic Random Access Memory), and is used to process the read and write operations of the user parameter table data.

[0044] The hash calculation module 140 is used to independently calculate hash values, which can improve the efficiency and performance of data operations while ensuring the correctness and integrity of data.

[0045] In this embodiment, when the user parameter table operation request received by the instruction interface module 110 is a hash table operation request, the user parameter table operation request is converted into a hash instruction, and the instruction interface module 110 sends the key value in the hash instruction to the hash calculation module 140, and the hash calculation module 140 calculates the hash value based on the key value of the hash instruction.

[0046] In this embodiment, the array instruction engine submodule 1220 is used to access the DDR memory through the memory interface module 130 and execute array instructions.

[0047] In this embodiment, the DDR memory is used as the main memory, and the data corresponding to the data operation instruction is stored. When the user parameter table processing module 120 accesses the DDR memory through the memory interface module 130, the data in the DDR memory will be read for processing. According to the instruction of the data operation instruction, the data in the DDR memory may need to be modified or directly read. In the case where the data in the DDR memory needs to be modified, the user parameter table processing module 120 will write the new data back to the DDR memory to update the original data.

[0048] The first cache module 150 and the second cache module 160 are used to store temporary data generated by the hash instruction engine submodule 1210 or the array instruction engine submodule 1220 or operation data corresponding to data operation instructions; when the required operation data already exists in the first cache module 150 or the second cache module 160, it can be read directly from the first cache module 150 or the second cache module 160 without accessing the DDR memory again, which can improve the efficiency of accessing data.

[0049] In addition, when the data in the DDR memory is updated, the data in the first cache module 150 and the second cache module 160 need to be synchronously updated through the consistency control module 170 to ensure that the data in the first cache module 150 and the second cache module 160 are consistent with the data in the DDR memory.

[0050] The dedicated table module 180 is used to create or delete the user parameter table. The bus interconnection module 190 is respectively connected to the instruction interface module 110, the user parameter table engine module 120, the hash calculation module 140, the first cache module 150, the second cache module 160 and the consistency control module 170 to realize data transmission between various functional modules.

[0051] Figure 2 is a flow chart of the user parameter table method of the configurable data structure. Figure 2 As shown, the user parameter table method of the configurable data structure at least includes steps S201 to S206:

[0052] Step S201, receiving a data operation instruction sent by a designated terminal.

[0053] In this embodiment, the data operation instruction is used to instruct the operation of the table item data in the user parameter table.

[0054] The user parameter table is obtained by accessing the access interface configuration parameter information of the database unloading engine terminal through the designated terminal. The designated device includes a host (HOST) or a programmable processing element (PPE); the parameter information includes the length of the user parameter table data structure.

[0055] By specifying the terminal, the length of the data structure can be configured according to actual needs, ranging from 16 bytes to 256 bytes, to support data structures of various sizes, to adapt to different application scenarios and data requirements, to avoid causing a large amount of redundant space, and thus to avoid wasting memory address space.

[0056] In actual implementation, the parameter information configured by the specified terminal also includes the table number of the user parameter table, table attributes, storage space occupied by a single table item, the number of table items, storage space of the table, base address or cache configuration, etc.

[0057] In this embodiment, the data operation instruction includes a data location identification parameter, which is used to indicate the storage location of the operation data corresponding to the user parameter table. Based on this, when receiving the data operation instruction, the data location identification parameter needs to be extracted first to determine the access object.

[0058] The access object includes a cache or a memory.

[0059] In this embodiment, the data location identifier includes a cache validity identifier. When the cache validity identifier is a valid identifier, it is confirmed that the operation data is stored in the cache; correspondingly, when the cache validity identifier is an invalid identifier, it is confirmed that the operation data is stored in the memory.

[0060] Specifically, before determining the type of the data operation instruction, it also includes: extracting a first data location identifier in the data operation instruction; when the first data location identifier indicates that the data storage location is a memory, executing the step of converting the data operation instruction into an access interface for accessing the memory.

[0061] When the first data location identifier indicates that the data storage location is a cache, the cache is accessed to perform the data operation corresponding to the data operation instruction.

[0062] In this embodiment, the cache includes a first cache and a second cache; accordingly, the first data location identifier includes a first cache valid identifier and a second cache valid identifier; when the first cache valid identifier is a valid identifier, the first cache is accessed; when the second cache valid identifier is a valid identifier, the second cache is accessed; when the first cache valid identifier and the second cache valid identifier are both invalid identifiers, the memory is accessed.

[0063] Step S202: extracting the first data location identifier in the data operation instruction.

[0064] The first data location identifier is used to indicate the storage location of the storage data corresponding to the user parameter table.

[0065] Step S203: when the first data location identifier indicates that the storage location is a memory, convert the data operation instruction into an access interface for accessing the memory.

[0066] In this embodiment, the storage of operation data in the memory is allocated based on the length of the data structure. When allocating memory, it is usually allocated according to the length of the data structure to ensure that all data can be accommodated; by specifying the length of the terminal configuration data structure, any byte between 16 bytes and 256 bytes is supported; by flexibly specifying the length of the data structure, a large amount of redundant space caused by a fixed length can be avoided, thereby reducing the waste of memory address space. This flexible length configuration can be adjusted according to specific application requirements to balance memory occupancy and data storage requirements. In this way, memory resources can be used more effectively and the performance and efficiency of the program can be improved. Step S204, access the memory based on the access interface, and execute the data operation corresponding to the data operation instruction.

[0067] In the process of executing the data operation corresponding to the data operation instruction, when the data operation instruction is a first type instruction, the first data position identifier needs to be written into the memory. In this embodiment, the first data position identifier is written into the last byte of the first data in the operation data, and the operation data is written into the memory, so as to realize writing the first position identifier into the memory.

[0068] In this embodiment, the data operation instructions include first type instructions and second type instructions; when the data operation instructions are first type instructions, the first data location identifier needs to be stored in the memory; the first type instructions include data storage instructions, data update instructions, data query instructions, data addition instructions, data lock instructions, data unlock instructions, clear flag instructions or clear instructions.

[0069] Specifically, when the data operation instruction is a first type instruction, accessing the memory based on the access interface, executing the data operation corresponding to the data operation instruction, also includes: writing the first data location identifier into the lower 8B of the first data in the operation data corresponding to the data operation instruction.

[0070] When the data operation instruction is a second type instruction, there is no need to write the first data location identifier into the memory. The second type instruction includes a data read instruction and a data write instruction.

[0071] When the data operation instruction is a data read instruction, the data operation corresponding to the data operation instruction is executed to read the target data from the memory. When the target data is read, the last byte of the first data in the target data can be extracted to obtain the second data position identifier corresponding to the target data.

[0072] Specifically, when the data operation instruction is a data read instruction, the memory is accessed based on the access interface to execute the data operation corresponding to the data operation instruction, and also includes: when the target data is read, the lower 8B of the first data in the target data is extracted to obtain the second data position identifier corresponding to the target data.

[0073] Step S205, when the data operation is completed, status information is generated, and feedback information is generated based on the data operation instruction and the status information, and returned to the designated device through the cache.

[0074] In the case where the data operation instruction is a data read instruction, when the data operation is completed, status information is generated, and feedback information is generated based on the data operation instruction and the status information, and returned to the designated device through the cache. It also includes: packaging the second data location identifier, the data operation instruction, and the status information target data, obtaining feedback information and sending it to the cache, and returning it to the designated device through the cache.

[0075] In addition, in this embodiment, the cache includes a first cache and a second cache. In order to ensure the consistency of data in the memory and the first cache and the second cache, feedback information needs to be sent to the first cache and the second cache respectively for synchronization.

[0076] Specifically, when the data operation is completed, status information is generated, and feedback information is generated based on the data operation instruction and the status information, and returned to the designated device through the cache, including: sending the feedback information to the first cache and the second cache respectively.

[0077] The user parameter table operation method of the configurable data structure provided in the present embodiment determines the type of the data operation instruction by receiving the data operation instruction sent by the designated terminal; the data operation instruction is used to indicate the operation of the table item data in the user parameter table; the user parameter table is obtained by the designated terminal through the user parameter table access interface of the database unloading engine terminal; the user parameter table is obtained by the designated terminal accessing the access interface configuration parameter information of the database unloading engine terminal, and the parameter information includes the length of the user parameter table data structure; when the data operation instruction is a first type instruction, extract the first data position identifier in the data operation instruction; the first data position identifier is used to indicate the storage location of the operation data corresponding to the user parameter table; the data operation instruction is converted into an access interface for accessing the memory; the storage of the operation data in the memory is allocated based on the length of the data structure; The memory is accessed based on the access interface, and the data operation corresponding to the data operation instruction is executed; when the data operation is completed, the status information is generated, and the feedback information is generated based on the data operation instruction and the status information, and returned to the designated device through the cache; it can solve the problem that for certain specific shorter data, if a fixed-length data structure is used, a large amount of redundant space may be caused, and there is a waste of memory address space; by specifying the data length of the user parameter table configured in the terminal, it can meet the data structure of any length, avoid causing a large amount of redundant space, thereby avoiding wasting memory address space and improving memory space utilization; at the same time, by configuring the data location identifier, when the data location identifier indicates that the operation data is located in the memory, the memory is accessed, and when the data location identifier indicates that the operation data is located in the cache, the cache is accessed, which can improve the access efficiency of the operation data.

[0078] Corresponding to the above method, the present invention also provides a user parameter table operation device for a configurable data structure, the device includes a computer device, the computer device includes a processor and a memory, the memory stores computer instructions, the processor is used to execute the computer instructions stored in the memory, when the computer instructions are executed by the processor, the device implements the steps of the user parameter table operation method for a configurable data structure as mentioned above.

[0079] The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the user parameter table operation method of the configurable data structure are implemented. The computer-readable storage medium can be a tangible storage medium, such as a random access memory (RAM), a cache, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a floppy disk, a hard disk, a removable storage disk, a CD-ROM, or any other form of storage medium known in the technical field.

[0080] It should be understood by those skilled in the art that the exemplary components, systems and methods described in conjunction with the embodiments disclosed herein can be implemented in hardware, software or a combination of the two. Whether it is performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link via a data signal carried in a carrier.

[0081] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.

[0082] In the present invention, features described and / or illustrated for one embodiment may be used in the same or similar manner in one or more other embodiments, and / or combined with features of other embodiments or replace features of other embodiments.

[0083] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the embodiments of the present invention may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention shall be included in the scope of protection of the present invention. The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the embodiments of the present invention may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention shall be included in the scope of protection of the present invention.

Claims

1. A method for operating a user parameter table with a configurable data structure, characterized in that: Applied in a database unloading engine terminal, the method comprises the following steps: Receive a data operation instruction sent by a designated terminal; the data operation instruction is used to indicate the operation of table item data in a user parameter table; the user parameter table is obtained by the designated terminal accessing the access interface configuration parameter information of the database unloading engine terminal, and the parameter information includes the length of the user parameter table data structure; Extracting a first data location identifier in the data operation instruction; the first data location identifier is used to indicate a storage location of the operation data corresponding to the user parameter table; In the case where the first data location identifier indicates that the storage location is a memory, converting the data operation instruction into an access interface for accessing the memory; the storage of the operation data in the memory is allocated based on the length of the data structure; Accessing the memory based on the access interface, and executing the data operation corresponding to the data operation instruction; When the data operation is completed, status information is generated, and feedback information is generated based on the data operation instruction and the status information, and is returned to the designated terminal through the cache.

2. The method for operating a user parameter table of a configurable data structure according to claim 1, characterized in that: In the case where the data operation instruction is a first type instruction, accessing the memory based on the access interface to perform the data operation corresponding to the data operation instruction further includes: The first data location identifier is written into the lower 8B of the first data in the operation data corresponding to the data operation instruction; the first type of instruction includes a data storage instruction, a data update instruction, a data query instruction, a data addition instruction, a data lock instruction, a data unlock instruction, a clear flag instruction or a clear instruction.

3. The method for operating a user parameter table of a configurable data structure according to claim 1, characterized in that: In the case where the data operation instruction is a second type instruction, the second type instruction includes a data read instruction and a data write instruction; in the case where the data operation instruction is the data read instruction, accessing the memory based on the access interface to perform the data operation corresponding to the data operation instruction includes: When the target data is read, the lower 8B of the first data in the target data are extracted to obtain a second data position identifier corresponding to the target data.

4. The method for operating a user parameter table of a configurable data structure according to claim 3, characterized in that: When the data operation is completed, status information is generated, and feedback information is generated based on the data operation instruction and the status information, and is returned to the designated device through a cache, and further includes: The second data location identifier, the data operation instruction, the status information and the target data are packaged to obtain the feedback information and send it to the cache, and then the feedback information is returned to the designated device through the cache.

5. The method for operating a user parameter table of a configurable data structure according to claim 1, characterized in that: Before determining the type of the data operation instruction, the method further includes: Extracting the first data location identifier in the data operation instruction; In the case where the first data location identifier indicates that the data storage location is the memory, the step of converting the data operation instruction into an access interface for accessing the memory is performed.

6. The method for operating a user parameter table of a configurable data structure according to claim 5, characterized in that: In a case where the first data location identifier indicates that the data storage location is the cache, the cache is accessed to perform the data operation corresponding to the data operation instruction.

7. The method for operating a user parameter table of a configurable data structure according to claim 5, characterized in that: The cache includes a first cache and a second cache; the first data location identifier includes a first cache valid identifier and a second cache valid identifier; when the first cache valid identifier is a valid identifier, the first cache is accessed; When the second cache validity flag is a valid flag, the second cache is accessed.

8. The method for operating a user parameter table of a configurable data structure according to claim 7, characterized in that: The step of generating status information upon completion of the data operation, and generating feedback information based on the data operation instruction and the status information, and returning the feedback information to the designated device through a cache, includes: The feedback information is sent to the first cache and the second cache respectively.

9. A user parameter table operation device with a configurable data structure, comprising a processor and a memory, characterized in that: The memory stores computer instructions, and the processor is used to execute the computer instructions stored in the memory. When the computer instructions are executed by the processor, the device implements the steps of the method as claimed in any one of claims 1 to 8.

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

Citation Information

Patent Citations

  • Memory simulation system and method, electronic equipment and storage medium

    CN114817085A

  • Memory allocation method and device, computer equipment, storage medium and program product

    CN115878254A