A remapping method and device based on an ID preserving order circuit and a storage medium

By creating a remapping table and a downstream status table in a many-to-one circuit system and dynamically adjusting the ID mapping strategy, the problem of limited master ID usage range is solved, enabling the master to efficiently use all slave IDs and meet the order preservation requirements.

CN117909263BActive Publication Date: 2026-11-27BEIJING SUIYUAN INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410088504.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-22
Publication Date
2026-11-27
Estimated Expiration
2044-01-22

AI Technical Summary

Technical Problem

In many-to-one circuit systems, existing technologies limit the range of slave IDs that the master can use in order to avoid master ID collisions, resulting in low master efficiency.

Method used

By creating remapping tables and downstream status tables corresponding to the host respectively, ID remapping information and usage status are recorded, and the ID mapping strategy is dynamically adjusted to meet the order preservation requirements, allowing each host to use all the IDs of the slave.

Benefits of technology

This allows each host to effectively use all slave IDs without increasing the ID bit width or reordering storage, while adhering to the ID order preservation principle and improving the host's working efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117909263B_ABST
    Figure CN117909263B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a remapping method and device based on an ID preserving sequence circuit and a storage medium. The ID preserving sequence circuit comprises a host and a slave, the host sends a request to the slave through an upstream ID, and the slave responds using a downstream ID of the slave, and the ID is preserved in sequence. The method comprises creating a remapping table corresponding to each host respectively, for recording ID remapping information of the corresponding host; creating a downstream state table corresponding to the slave, for recording use information of the downstream ID by each host; when detecting that a first host sends a request to the slave through a first ID, determining a use state of the first ID through a first remapping table and the downstream state table corresponding to the first host; determining a remapping strategy of the first ID according to the use state of the first ID, sending a request according to the remapping strategy, and updating the first remapping table and the downstream state table, so that each host can use all IDs of the slave through the state table and the remapping table, and the remapping resource occupation is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a remapping method, device and storage medium based on ID order preservation circuit. Background Technology

[0002] In systems conforming to the Advanced eXtensible Interface (AXI) bus protocol, ID ordering needs to be considered. Specifically, in many-to-one circuit systems, collisions may occur, therefore IDs on different hosts need to be managed independently. ID ordering is required for the same host, but not for identical IDs on different hosts. For example, when multiple CPUs access the same storage module, or when multiple cores within a CPU process data, many-to-one circuit systems are involved, requiring consideration of ID ordering.

[0003] In existing technologies, to avoid ID collisions between different hosts in a many-to-one circuit system, the traditional solution is to assign a fixed range of IDs to different hosts. This means each host can only use a portion of the slave's total ID range, and the usable ID ranges between different hosts do not overlap, thus preventing ID collisions. Another method is to increase the slave ID bit width in the many-to-one management circuit, assigning a fixed tag ID to each host and adding it to the slave ID, thereby avoiding host ID collisions. Both of these methods severely limit the host's ID usage space, meaning the host can only use a portion of the slave IDs, affecting the host's operating efficiency. Summary of the Invention

[0004] This invention provides a remapping method, device, and storage medium based on ID sequence preservation circuitry, enabling each host to use all slave IDs and improving host operating efficiency.

[0005] According to one aspect of the present invention, a remapping method based on an ID-preserving circuit is provided. The ID-preserving circuit includes: at least two hosts and one slave; each host sends a request to the slave via an upstream ID and responds using a downstream ID of the slave; requests sent by the same host based on the same upstream ID require order preservation processing; requests sent by different hosts or requests sent by the same host based on different upstream IDs do not require order preservation processing; the method includes:

[0006] Create a remapping table corresponding to each host. Each remapping table is used to record the ID remapping information of the corresponding host.

[0007] Create a downstream status table corresponding to the slave device. The downstream status table is used to record the usage information of each host for the downstream ID.

[0008] When it is detected that the first host sends a request to the slave through the first ID, the usage status of the first ID is determined by the first remapping table corresponding to the first host and the downstream status table.

[0009] Based on the usage status of the first ID, a remapping strategy for the first ID is determined, and a request is sent according to the remapping strategy, and the first remapping table and the downstream status table are updated.

[0010] According to another aspect of the present invention, a remapping device based on an ID-preserving circuit is provided. The ID-preserving circuit includes: at least two hosts and one slave; each host sends a request to the slave via an upstream ID and responds using a downstream ID of the slave; requests sent by the same host based on the same upstream ID require order preservation processing; requests sent by different hosts or requests sent by the same host based on different upstream IDs do not require order preservation processing; the device includes:

[0011] The remapping information recording module is used to create remapping tables corresponding to each host. Each remapping table is used to record the ID remapping information of the corresponding host.

[0012] The information recording module is used to create a downstream status table corresponding to the slave device. The downstream status table is used to record the usage information of each host for the downstream ID.

[0013] The status determination module is used to determine the usage status of the first ID by means of the first remapping table corresponding to the first host and the downstream status table when it is detected that the first host sends a request to the slave through the first ID.

[0014] The table information determination module is used to determine the remapping strategy of the first ID based on the usage status of the first ID, send a request according to the remapping strategy, and update the first remapping table and the downstream status table.

[0015] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0016] At least one processor; and

[0017] A memory communicatively connected to the at least one processor; wherein,

[0018] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the ID-preserving circuit-based remapping method according to any embodiment of the present invention.

[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions, the computer instructions being configured to cause a processor to execute and implement the remapping method based on the ID-preserving circuit as described in any embodiment of the present invention.

[0020] The technical solution of this invention addresses the problem in many-to-one circuit systems where hosts cannot use all slave IDs due to ID order preservation considerations. By setting up status tables and remapping tables, each host can use all slave IDs, improving host efficiency and reducing remapping resource consumption. This is achieved by creating remapping tables corresponding to each host, recording ID remapping information for each host; creating downstream status tables corresponding to slaves, recording the usage information of each host for downstream IDs; and when a first host sends a request to a slave using a first ID, determining the usage status of the first ID through the first remapping table and the downstream status table.

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

[0022] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0023] Figure 1 This is a flowchart of a remapping method based on an ID-preserving circuit according to Embodiment 1 of the present invention;

[0024] Figure 2 This is a flowchart of a remapping method based on an ID-preserving circuit according to Embodiment 2 of the present invention;

[0025] Figure 3 This is a schematic diagram of the request and response operation timing based on the remapping method in an ID sequence preservation circuit according to Embodiment 2 of the present invention;

[0026] Figure 4 This is a schematic diagram of a remapping device based on an ID-preserving circuit according to Embodiment 3 of the present invention;

[0027] Figure 5 This is a schematic diagram of the structure of an electronic device that implements the ID-preserving sequence circuit-based remapping method according to an embodiment of the present invention. Detailed Implementation

[0028] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0029] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0030] Example 1

[0031] Figure 1 This is a flowchart of a remapping method based on an ID-preserving circuit according to Embodiment 1 of the present invention. This embodiment is applicable to a many-to-one circuit system where ID preservation is considered and the host can use all the IDs of the slave. The method can be executed by a remapping device based on an ID-preserving circuit. The remapping device based on an ID-preserving circuit can be implemented in hardware and / or software. The remapping device based on an ID-preserving circuit can be configured in electronic devices, such as computers containing multi-core CPUs.

[0032] The ID ordering circuit includes: at least two hosts and one slave; each host sends a request to the slave via an upstream ID and responds using the slave's downstream ID; requests sent by the same host based on the same upstream ID must be processed in order; requests sent by different hosts or requests sent by the same host based on different upstream IDs do not require ordering processing.

[0033] For example, when multiple CPUs access the same storage module based on the AXI ID ordering protocol, this can be understood as the ID ordering circuit provided in this embodiment of the invention. In this case, the host can be understood as the CPU, and the slave can be understood as the device where the storage module is located. Similarly, when ID collisions occur between multiple cores within a single CPU, the ID ordering circuit provided in this embodiment of the invention can also be formed.

[0034] In this embodiment of the invention, the ID order preservation principle specifically means that for the same host, the same ID needs to be kept in order, while different IDs do not need to be kept in order. For example, if there are 10 processes in the CPU, and each process has its own order preservation requirement, then each process can use one ID, and the 10 processes can use 10 IDs. In this way, each process can work in an orderly manner without interfering with each other.

[0035] Specifically, the upstream ID0 used by process 0 of CPU0 is unrelated to the upstream ID0 used by process 0 of CPU1. However, when downstream devices all respond through ID0, the ID allocation of the two CPUs collides. This problem can be solved by the remapping method based on ID order preservation circuit provided in this embodiment of the invention.

[0036] like Figure 1 As shown, the remapping method based on ID-preserving circuits provided in this embodiment of the invention includes:

[0037] Step 110: Create a remapping table corresponding to each host. Each remapping table is used to record the ID remapping information of the corresponding host.

[0038] The number of remapping tables can correspond to the number of hosts. Each host can have its own corresponding remapping table, which records the host's ID remapping information. For example, with two hosts, host 0 corresponds to remapping table 0, and host 1 corresponds to remapping table 1.

[0039] For example, Table 1 is a remapping representation table provided according to Embodiment 1 of the present invention. The remapping table may include, but is not limited to, the following information: upstream ID, remapping ID, and remaining dequeue count for the remapping. Optionally, the remapping table may also include the remapping status. The upstream ID can correspond one-to-one with the upstream ID of each host. For example, if ID0 of host 0 is remapped, the remapping information of host 0's ID can be recorded at the upstream ID0 position in remapping table 0. Similarly, if ID3 of host 1 is remapped, the remapping information of host 1's ID can be recorded at the upstream ID3 position in remapping table 1. The remapping ID can be the ID to which the current upstream ID is remapped. The remaining dequeue count for the remapping is used to count the number of commands en route for this remapping. The remapping status has two states: empty and non-empty. Non-empty indicates that the current ID of the corresponding host has been remapped; if empty, it indicates that the current ID of the corresponding host has not been remapped.

[0040] Table 1

[0041]

[0042] Specifically, the data in Table 1 indicates that upstream ID1 of host 0 has been remapped to ID2, and the number of commands in transit for upstream ID1 is 3.

[0043] In practical applications, since the remaining dequeue count of remapping can also reflect the remapping status, it is not necessary to set a remapping status entry in the remapping table.

[0044] Step 120: Create a downstream status table corresponding to the slave device. The downstream status table is used to record the usage information of each host for the downstream ID.

[0045] In this embodiment of the invention, the number of downstream status tables can be 1. Table 2 is a schematic table of a downstream status table provided according to Embodiment 1 of the present invention. The downstream status table may include, but is not limited to: downstream ID, usage method of each downstream ID, host number using the downstream ID, corresponding original ID, and remaining dequeue quantity of the downstream ID. The downstream status table may also include: downstream ID status. Each downstream ID corresponds one-to-one with the downstream ID of the slave device. For example, if an ID0 command is sent downstream, it is recorded at the downstream ID0 position in the downstream status table.

[0046] Table 2

[0047]

[0048] Downstream IDs can be used in two ways: normal use and remapping. Normal use means the downstream ID is the same as the original upstream ID and no remapping has occurred. Remapping means the downstream ID is a different ID obtained by remapping the original upstream ID. The host ID used for the downstream ID can be the host identifier corresponding to the original upstream ID. The corresponding original ID refers to the original upstream ID corresponding to the downstream ID. The remaining dequeue count for each downstream ID is used to count the number of commands en route for that downstream ID.

[0049] The downstream ID status has two states: empty and non-empty. Non-empty indicates that there are commands en route downstream that have not all received responses; empty indicates that there are no commands en route for the current downstream ID. Furthermore, the downstream ID status can also be determined by the remaining dequeue count. For example, if the remaining dequeue count for a downstream ID is 0, the downstream ID status is empty; otherwise, the downstream ID status is non-empty. Therefore, the downstream status table may not contain a downstream ID status entry.

[0050] The data in Table 2 shows that host 1 uses upstream ID0 to initiate a request to slave, and uses slave's downstream ID0 for data storage, with 1 command in transit; host 3 uses upstream ID5 to initiate a request to slave, resulting in ID remapping, and uses slave's downstream ID1 for data storage, with 2 commands in transit.

[0051] Step 130: When it is detected that the first host sends a request to the slave through the first ID, the usage status of the first ID is determined by the first mapping table corresponding to the first host and the downstream status table.

[0052] There are several ways to determine the usage status of the first ID. For example, in the first remapping table, the remaining dequeue count and / or remapping status of the first ID can be used to determine whether a remapping has occurred. In the downstream status table, the remaining dequeue count and / or downstream ID status of the downstream ID can be used to determine whether the first ID is being used. In the downstream status table, by querying the host number and corresponding original ID of the downstream ID, it can be determined whether there are any in-transit commands for the first host's first ID. Furthermore, the usage patterns of each downstream ID can be used to determine whether a remapping has occurred or whether it is being used normally.

[0053] Step 140: Determine the remapping strategy for the first ID based on its usage status, send a request according to the remapping strategy, and update the first remapping table and the downstream status table.

[0054] The remapping strategy for the first ID can differ depending on its usage status. For example, if the first ID is in a remapping state, the remapping result can be used. That is, if the first host uses the first ID to map to the first remapping ID of the slave device, the first remapping ID can continue to be used for request transmission, thus ensuring ID order preservation. When the first ID is not remapping, different remapping strategies can be determined based on its usage status. For example, if the first ID is in normal use by the same host, the first ID can continue to be used for request transmission, thus ensuring ID order preservation. If the first ID is being remapped and used by the same host, other idle IDs can be selected for request transmission. If the first ID is unused, either the first ID or other idle IDs can be used for request transmission. Furthermore, if the first ID is being used by another host, other idle IDs can be used for request transmission.

[0055] Furthermore, when determining the remapping strategy for request transmission, the information in the first remapping table and the downstream status table can be updated according to the remapping strategy. The first remapping table only needs to be updated when remapping occurs. Remapping can be understood as follows: the first host uses the first ID to map to the first host using the slave's first remapping ID; or, when the first ID has not been remapped, the remapping strategy is determined to use an ID different from the first ID for request transmission. When updating the first remapping table, the upstream ID, remapping ID, remaining dequeue count for remapping, and remapping status need to be updated.

[0056] When updating the downstream status table, it is necessary to update the downstream ID, the usage method of each downstream ID, the host number using the downstream ID, the corresponding original ID, the remaining dequeue quantity of the downstream ID, and the status of the downstream ID. By updating the first remapping table and the downstream status table, the usage of upstream and downstream IDs can be updated in a timely manner. This allows for a more accurate determination of the remapping strategy in the next request, based on the remapping table and the downstream status table. This approach eliminates the need for reordering storage when the host can use all slave IDs, saving hardware resources; it eliminates the need to expand the ID bit width; it satisfies the ordering principle when the same host uses the same ID without mandatory ordering; and since the IDs of different hosts are different after remapping, the hosts can be decoupled without requiring an additional mandatory ordering mechanism.

[0057] The technical solution of this embodiment solves the ID remapping problem in many-to-one circuit systems by creating a remapping table corresponding to each host, which records the ID remapping information of the corresponding host; and creating a downstream status table corresponding to each slave, which records the usage information of each host for the downstream ID. When a request is detected from a first host to a slave via a first ID, the usage status of the first ID is determined by the first remapping table and the downstream status table corresponding to the first host. Based on the usage status of the first ID, a remapping strategy for the first ID is determined, and the request is sent according to the remapping strategy. The first remapping table and the downstream status table are then updated. This solves the ID ordering problem in many-to-one circuit systems, allowing each host to use all the IDs of the slave without the need for a mandatory ordering mechanism, without expanding the ID bit width, and without reordering the storage, thus satisfying the ID ordering principle and improving the working efficiency of each host.

[0058] Based on the above implementation, the method may optionally further include: when a slave device is detected to provide a response feedback via a response ID, determining the usage method of the response ID according to the downstream status table; if the usage method of the response ID is remapping, determining the second host and the original request ID corresponding to the response ID according to the downstream status table; updating the corresponding second remapping table according to the second host and the original request ID, and updating the downstream status table according to the response ID; and providing a response feedback based on the second host.

[0059] When a request requires a response, the method of using the response ID can be determined based on the downstream status table, as well as the corresponding host number (second host) using the downstream ID and the original ID (original request ID), and then the response can be provided based on the host number using the downstream ID and the original ID.

[0060] Specifically, when determining that the response ID is used for remapping based on the usage of the downstream ID in the downstream status table, the host number using the downstream ID in the downstream status table and the corresponding original ID are used as the second host and the original request ID, respectively; the response is fed back based on the second host and the original request ID, and the remaining dequeue quantity of the downstream ID in the downstream status table and the remaining dequeue quantity of the remapping in the second remapping table corresponding to the second host are updated.

[0061] When the response ID is determined to be in normal use based on the downstream ID usage in the downstream status table, a response can be sent to the corresponding host (which can be determined by the host number in the downstream status table that uses the downstream ID corresponding to the response ID) based on the response ID. The remaining outbound quantity of the downstream ID corresponding to the response ID in the downstream status table can be decremented by 1.

[0062] Based on the above response strategy, the usage of upstream and downstream IDs can be updated in a timely manner. Thus, in the next request, the remapping strategy can be determined more accurately based on the remapping table and the downstream status table. There is no need to expand the ID bit width, no need to force order preservation, and the order preservation principle can be satisfied when the same host uses the same ID. The host can use all the IDs of the slave.

[0063] Example 2

[0064] Figure 2 This is a flowchart of a remapping method based on an ID-preserving circuit according to Embodiment 2 of the present invention. This embodiment is a further refinement of the above technical solution, and the technical solution in this embodiment can be combined with various optional solutions in one or more of the above embodiments. The ID-preserving circuit includes: at least two hosts and one slave; each host sends a request to the slave through an upstream ID and responds by using the slave's downstream ID; requests sent by the same host based on the same upstream ID need to be processed in order; requests sent by different hosts or requests sent by the same host based on different upstream IDs do not need to be processed in order.

[0065] like Figure 2 As shown, the method includes:

[0066] Step 210: Create a remapping table corresponding to each host. Each remapping table is used to record the ID remapping information of the corresponding host.

[0067] The remapping table includes, but is not limited to: upstream ID, remapping ID, and remaining dequeue count for the remapping. Optionally, the remapping table may also include the remapping status.

[0068] Step 220: Create a downstream status table corresponding to the slave device. The downstream status table is used to record the usage information of each host for the downstream ID.

[0069] The downstream status table may include, but is not limited to: downstream ID, usage of each downstream ID, host number using the downstream ID, corresponding original ID, and remaining dequeue count for the downstream ID. The downstream status table may also include: downstream ID status.

[0070] Step 230: When it is detected that the first host sends a request to the slave through the first ID, check whether the first ID has been remapped through the first remapping table corresponding to the first host.

[0071] When a request is detected from the first host to the slave device via the first ID, it can be first determined whether the first ID has been remapped. This can be done by: determining the remapped state corresponding to the first ID in the first remapped table, and then determining whether the first ID has been remapped based on the remapped state. If the remapped state is not empty, it means the first ID has been remapped; if the remapped state is empty, it means the first ID has not been remapped. Alternatively, it can be done by: determining whether the remaining dequeue count for the remapped ID corresponding to the first ID in the first remapped table is greater than 0. If the remaining dequeue count is greater than 0, it means the first ID has been remapped; if the remaining dequeue count is not greater than 0, it means the first ID has not been remapped. Another possible method is: determining whether the remapped ID corresponding to the first ID exists in the first remapped table. If the remapped ID exists, it means the first ID has been remapped; if the remapped ID does not exist, it means the first ID has not been remapped.

[0072] Step 240: If the first ID is remapped, determine the first mapping ID corresponding to the first ID according to the first mapping table; update the usage information of the first mapping ID in the downstream status table according to the first mapping ID; update the remapping information between the first ID and the first mapping ID in the first mapping table according to the first mapping ID; send a request according to the first mapping ID.

[0073] In this context, the ID recorded in the remapping ID entry corresponding to the first ID in the first-level mapping table can be used as the first-level mapping ID. Updating the usage information of the first-level mapping ID in the downstream status table can be done by incrementing the remaining dequeue count of the downstream ID corresponding to the first-level mapping ID in the downstream status table by 1. Updating the remapping information between the first ID and the first-level mapping ID in the first-level mapping table can be done by incrementing the remaining dequeue count of the remapping corresponding to the first ID in the first-level mapping table by 1.

[0074] Step 250: If the first ID has not been remapped, determine whether the first ID has been used based on the downstream status table.

[0075] Determining whether the first ID is used based on the downstream status table can be done by checking if the status of the downstream ID corresponding to the first ID in the downstream status table is not empty. If the status of the downstream ID corresponding to the first ID is empty, then the first ID is not used; if the status of the downstream ID corresponding to the first ID is not empty, then the first ID is used. Alternatively, determining whether the first ID is used based on the downstream status table can be done by checking if the remaining dequeue count of the downstream ID corresponding to the first ID in the downstream status table is greater than 0. If the remaining dequeue count of the downstream ID corresponding to the first ID is greater than 0, then the first ID is used; if the remaining dequeue count of the downstream ID corresponding to the first ID is not greater than 0, then the first ID is not used.

[0076] Step 260: If the first ID is not in use, update the first ID usage information in the downstream status table according to the first ID; send a request according to the first ID.

[0077] Updating the usage information of the first ID in the downstream status table based on the first ID can be done as follows: the usage method record of the downstream ID corresponding to the first ID in the downstream status table is set to normal use, the host number record of the host using the downstream ID is set to the host number of the first host, the corresponding original ID record is set to the first ID, and the remaining dequeue quantity of the downstream ID is incremented by 1. Furthermore, if a downstream ID status exists in the downstream status table, the downstream ID status record corresponding to the first ID can be set to non-empty.

[0078] Step 270: If the first ID is used, determine how the first ID is used based on the downstream status table.

[0079] The usage methods include: normal use by the first host, remapping use by the first host, and use by other hosts.

[0080] Determining the usage of the first ID based on the downstream status table can be done as follows: Based on the usage of the downstream ID corresponding to the first ID in the downstream status table, determine whether the first ID is being used normally or remapped. Further, compare the host ID corresponding to the first ID in the downstream status table with the host ID that initiated the request to determine whether they are the same host or different hosts. The determination of the usage method and host ID can be done in any order. Therefore, based on the determined usage method and host ID, it can be determined whether the first ID is being used normally by the first host, remapped by the first host, or used by another host.

[0081] Step 280: If the usage method is normal use by the first host, update the first ID usage information in the downstream status table according to the first ID; and send a request according to the first ID.

[0082] Among them, updating the first ID usage information in the downstream status table based on the first ID can be: incrementing the remaining outgoing quantity of the downstream ID corresponding to the first ID by 1.

[0083] Step 290: If the usage method is remapping by the first host or using by other hosts, select the second ID from the slave according to the downstream status table; update the usage information of the second ID in the downstream status table according to the second ID; update the remapping information of the first ID and the second ID in the first remapping table according to the second ID; and send a request according to the second ID.

[0084] The second ID differs from the first ID and is idle. The second ID can be determined by: based on the downstream status table, identifying the downstream ID whose remaining dequeue count is 0 or unrecorded, and / or whose status is empty; selecting one of these downstream IDs as the second ID. Various selection methods are possible, such as arbitrary selection, polling for the maximum, or polling for the minimum. If no idle ID is found, the bus can be backpressured to trigger a downstream response that releases the ID; backpressure is then canceled once an idle ID becomes available.

[0085] Updating the usage information of the second ID in the downstream status table based on the second ID can be done as follows: update the usage mode of the downstream ID corresponding to the second ID in the downstream status table to remapping; the host number using the downstream ID is the number of the first host; the corresponding original ID is the first ID; increment the remaining dequeue count of the downstream ID by 1; and ensure that the downstream ID status is not empty.

[0086] Updating the remapping information between the first ID and the second ID in the first remapping table based on the second ID can be done as follows: update the remapping ID corresponding to the first ID in the first remapping table to the second ID; increment the remaining dequeue count of the remapping by 1.

[0087] Step 2100: When a slave device is detected to be responding via a response ID, determine the usage of the response ID based on the downstream status table.

[0088] The method of determining the usage of the response ID based on the downstream status table can be as follows: determine whether the response ID is used normally or remapped based on the usage of the downstream ID corresponding to the response ID in the downstream status table.

[0089] Step 2110: If the response ID is used for remapping, determine the second host and the original request ID corresponding to the response ID based on the downstream status table; update the corresponding second remapping table based on the second host and the original request ID, and update the downstream status table based on the response ID; and provide response feedback based on the second host.

[0090] Determining the second host and the original request ID corresponding to the response ID based on the downstream status table can be done as follows: In the downstream status table, query the host number that uses the downstream ID corresponding to the response ID, and use the number as the second host; query the original ID corresponding to the response ID, and use the original ID as the original request ID.

[0091] The second mapping table can be the remapping table corresponding to the second host. Updating the corresponding second mapping table based on the second host and the original request ID, and updating the downstream status table based on the response ID, can be done by decrementing the remaining dequeue count of the remapping corresponding to the original request ID by 1 in the second mapping table.

[0092] Updating the downstream status table based on the response ID can be done by decrementing the remaining dequeue count of the downstream ID corresponding to the response ID in the downstream status table by 1.

[0093] Step 2120: If the response ID is used in a normal manner, determine the response host corresponding to the response ID based on the downstream status table; provide a response based on the response ID and the response host, and update the downstream status table.

[0094] Determining the responding host corresponding to the response ID based on the downstream state table can be done by: determining the host number using the downstream ID corresponding to the response ID in the downstream state table, and then determining the responding host based on the host number using the downstream ID. Updating the downstream state table can be done by: decrementing the remaining dequeue count of the downstream ID corresponding to the response ID in the downstream state table by 1.

[0095] In this embodiment of the invention, when the remaining dequeue count for a downstream ID is 0, the downstream ID status of the corresponding downstream ID can be recorded as empty; alternatively, the record information for the corresponding downstream ID (the downstream ID usage method, the host number using the downstream ID, the corresponding original ID, the remaining dequeue count for the downstream ID, and the downstream ID status) can be cleared. When the remaining dequeue count for remapping is 0, the remapping status of the corresponding upstream ID in the remapping table can be recorded as empty; alternatively, the record information for the corresponding upstream ID (the remapping ID corresponding to the upstream ID, the remaining dequeue count for remapping, and the remapping status) can be cleared. By timely updating the records in the remapping table and the downstream status table, it can be ensured that the ID usage status is updated promptly and accurately, and that the host correctly uses the slave ID for information interaction.

[0096] The technical solution of this invention involves creating a remapping table corresponding to each host, whereby each remapping table records the ID remapping information of the corresponding host; and creating a downstream status table corresponding to each slave, whereby the downstream status table records the usage information of each host for the downstream ID. When a request is detected from a first host to a slave via a first ID, the system checks whether the first ID has been remapped using the first remapping table corresponding to the first host. If the first ID has been remapped, the system determines the first remapping ID corresponding to the first ID based on the first remapping table; updates the usage information of the first remapping ID in the downstream status table based on the first remapping ID; updates the remapping information between the first ID and the first remapping ID in the first remapping table based on the first remapping ID; and sends a request based on the first remapping ID. If the first ID has not been remapped, the system determines whether the first ID is being used based on the downstream status table. If the first ID is not being used, the system updates the usage information of the first ID in the downstream status table based on the first ID; and sends a request based on the first ID. If the first ID is being used, the system determines the usage method of the first ID based on the downstream status table. If the usage method is normal use by the first host, the system updates the usage information of the first ID in the downstream status table based on the first ID. The process involves sending a request based on the first ID; if the usage is remapping by the first host or by another host, then selecting the second ID from the slave based on the downstream status table; updating the usage information of the second ID in the downstream status table based on the second ID; updating the remapping information between the first ID and the second ID in the first remapping table based on the second ID; sending a request based on the second ID; when a slave responds with a response ID, the usage of the response ID is determined based on the downstream status table; if the response ID is remapping, then determining the second host and the original request ID corresponding to the response ID based on the downstream status table; updating the corresponding second remapping table based on the second host and the original request ID, and updating the downstream status table based on the response ID; and responding based on the second host; if the response ID is used normally, then determining the responding host corresponding to the response ID based on the downstream status table; and responding based on the response ID and the responding host, and updating the downstream status table. This process solves the ID ordering problem in many-to-one circuit systems, allowing each host to use all the slave's IDs without a mandatory ordering mechanism, without expanding the ID bit width, and without reordering storage, thus satisfying the ID ordering principle and improving the working efficiency of each host.

[0097] Figure 3 This is a schematic diagram of the request and response operation timing in an ID order preservation circuit based on a remapping method, according to Embodiment 2 of the present invention. Figure 3 As shown in Scenario 1: The upstream host sent two consecutive requests to host 0, and then sent a request to host 1, both with ID 0.

[0098] Table 3

[0099] Downstream ID How to use Host Number Original ID Remaining number of teams Downstream ID status ID0 Normal use 0 0 1 non-empty

[0100] Table 3 is an exemplary downstream state table provided according to Embodiment 2 of the present invention. Table 4 is yet another exemplary downstream state table provided according to Embodiment 2 of the present invention. Table 5 is an exemplary remapping table provided according to Embodiment 2 of the present invention.

[0101] In the first instance, upstream ID0 was not remapped and was not used. Therefore, there is no need to update the remapping table corresponding to host 0. The update status of ID0 in the downstream status table can be shown in Table 3.

[0102] Table 4

[0103]

[0104] In the second instance, the upstream ID is used regularly by the same host. At this time, there is no need to update the remapping table corresponding to host 0. The update status of ID0 in the downstream status table can be shown in Table 4.

[0105] Table 5

[0106]

[0107] In the third transaction, the upstream ID0 has been used by other hosts and needs to be remapped. Taking ID5 as the remapped ID as an example, the remapped table corresponding to host 1 is updated. At this time, the remapped table corresponding to host 1 is shown in Table 5, and the update status of ID5 in the downstream status table can be shown in Table 4.

[0108] like Figure 3 As shown, in Scenario 1, the host IDs initiating the request are 0, 0, and 1 respectively; the original upstream IDs used in the request are 0, 0, and 0 respectively; and the downstream IDs used after remapping are 0, 0, and 5 respectively. When responding, it is assumed that the response IDs (response downstream IDs) are 0, 0, and 5 respectively; at this time, according to the method provided in this embodiment of the invention, the determined original request IDs (response upstream IDs) are 0, 0, and 0 respectively; the corresponding response hosts are 0, 1, and 0 respectively (completely corresponding to the hosts corresponding to the response IDs). It can be seen that the response order conforms to the ID ordering principle, and the host can use IDs from all slave IDs without needing to define a range for slave IDs.

[0109] like Figure 3As shown, in scenario two: the upstream sends one request for ID0 of host 0, two requests for ID0 of host 1, and one request for ID5 of host 1. Tables 6, 8, and 10 are exemplary downstream status tables provided according to embodiment two of the present invention. Tables 7 and 9 are exemplary remapping tables provided according to embodiment two of the present invention.

[0110] Table 6

[0111] Downstream ID How to use Host Number Original ID Remaining number of teams Downstream ID status ID0 Normal use 0 0 1 non-empty

[0112] In the first instance, upstream ID0 was not remapped or used, so there was no need to update the remapping table. The update of ID0 in the downstream status table is shown in Table 6.

[0113] Table 7

[0114]

[0115] In the second instance, upstream ID0 has been used by other hosts and needs to be remapped. Taking ID5 as an example, the remapping table 1 corresponding to host 1 needs to be updated. The update status of remapping table 1 is shown in Table 7, and the update status of ID5 in the downstream status table is shown in Table 8.

[0116] Table 8

[0117]

[0118] In the third transaction, according to Table 7, the upstream ID0 of host 1 has been remapped to ID5, and the remapping result needs to be used again. At this time, the remapping table 1 corresponding to host 1 is updated. In Table 7 (remapping table 1), the remaining dequeue quantity corresponding to upstream ID0 becomes 2, and the rest remain unchanged; in Table 8 (downstream status table), the remaining dequeue quantity corresponding to ID5 becomes 2, and the rest remain unchanged.

[0119] Table 9

[0120]

[0121] In the fourth transaction, according to the updated Tables 7 and 8, ID5 has already been remapped to the same host, so an idle ID needs to be selected for remapping. Taking ID6 as an example, the remapping table 1 corresponding to host 1 needs to be updated. The update status of remapping table 1 at this time is shown in Table 9, and the update status of the downstream status table at this time is shown in Table 10.

[0122] Table 10

[0123]

[0124] like Figure 3As shown, in Scenario 2, the host IDs initiating the request are 0, 1, 1, 1 in sequence; the original upstream IDs used in the request are 0, 0, 0, 5 in sequence; and the downstream IDs used after remapping are 0, 5, 5, 6 in sequence. When responding, assuming the response IDs (response downstream IDs) are 0, 5, 5, 6 in sequence; at this time, according to the method provided in this embodiment of the invention, the determined original request IDs (response upstream IDs) are 0, 0, 0, 5 in sequence; and the corresponding response hosts are 0, 1, 1, 1 in sequence (completely corresponding to the hosts corresponding to the response IDs). It can be seen that the response order conforms to the ID ordering principle, and the host can use IDs from all slave IDs without needing to define the range of slave IDs.

[0125] Example 3

[0126] Figure 4 This is a schematic diagram of a remapping device based on an ID-preserving circuit according to Embodiment 3 of the present invention. The ID-preserving circuit includes: at least two hosts and one slave; each host sends a request to the slave via an upstream ID, and responds using the slave's downstream ID; requests sent by the same host based on the same upstream ID require order preservation processing; requests sent by different hosts or requests sent by the same host based on different upstream IDs do not require order preservation processing. Figure 4 As shown, the device includes: a remapping information recording module 410, a usage information recording module 420, a usage status determination module 430, and a table information determination module 440. Wherein:

[0127] The remapping information recording module 410 is used to create remapping tables corresponding to each host. Each remapping table is used to record the ID remapping information of the corresponding host.

[0128] The information recording module 420 is used to create a downstream status table corresponding to the slave device. The downstream status table is used to record the usage information of each host for the downstream ID.

[0129] The usage status determination module 430 is used to determine the usage status of the first ID by means of the first remapping table and the downstream status table corresponding to the first host when it is detected that the first host sends a request to the slave through the first ID.

[0130] The table information determination module 440 is used to determine the remapping strategy of the first ID based on the usage status of the first ID, send a request according to the remapping strategy, and update the first remapping table and the downstream status table.

[0131] Optionally, the status determination module 430 is used, including:

[0132] The remapping detection unit is used to detect whether the first ID has been remapped when the first host sends a request to the slave through the first ID, by referring to the first remapping table corresponding to the first host.

[0133] Optionally, the table information determination module 440 includes:

[0134] The first mapping ID determination unit is used to determine the first mapping ID corresponding to the first ID according to the first mapping table if the first ID is remapped.

[0135] The first mapping ID usage information determination unit is used to update the usage information of the first mapping ID in the downstream status table according to the first mapping ID;

[0136] The first mapping information update unit is used to update the remapping information between the first ID and the first mapping ID in the first mapping table according to the first mapping ID.

[0137] The first request sending unit is used to send a request based on the first mapping ID.

[0138] Optionally, the status determination module 430 is used, including:

[0139] A detection unit is used to determine whether the first ID is used based on the downstream status table if the first ID has not been remapped.

[0140] Optionally, the table information determination module 440 includes:

[0141] The first ID usage information determination unit is used to update the first ID usage information in the downstream status table according to the first ID if the first ID is not used.

[0142] The second request sending unit is used to send a request based on the first ID.

[0143] Optionally, the status determination module 430 is used, including:

[0144] The usage method determination unit is used to determine the usage method of the first ID based on the downstream status table if the first ID is used.

[0145] The usage methods include: normal use by the first host, remapping use by the first host, and use by other hosts.

[0146] Optionally, the table information determination module 440 includes:

[0147] The third request sending unit is used to update the first ID usage information in the downstream status table according to the first ID if the usage mode is normal use by the first host; and to send a request according to the first ID.

[0148] The second ID determination unit is used to select a second ID from the slave according to the downstream status table if the usage is remapped by the first host or used by other hosts, wherein the second ID is different from the first ID and the second ID is idle;

[0149] The second ID usage information update unit is used to update the usage information of the second ID in the downstream status table according to the second ID.

[0150] The second mapping information update unit is used to update the remapping information between the first ID and the second ID in the first mapping table according to the second ID;

[0151] The fourth request sending unit is used to send a request based on the second ID.

[0152] Optionally, the method further includes:

[0153] The usage method determination module is used to determine the usage method of the response ID based on the downstream status table when a slave device is detected to be responding with a response ID.

[0154] The original information determination module is used to determine the second host and the original request ID corresponding to the response ID based on the downstream status table if the response ID is used in a remapping manner.

[0155] The table information update module is used to update the corresponding second mapping table based on the second host and the original request ID, and to update the downstream status table based on the response ID.

[0156] The response feedback module is used to provide response feedback based on the second host.

[0157] The ID-preserving circuit-based remapping device provided in this embodiment of the invention can execute the ID-preserving circuit-based remapping method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method execution.

[0158] Example 4

[0159] Figure 5A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention 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 electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0160] like Figure 5 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

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

[0162] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the ID-preserving circuit-based remapping method.

[0163] In some embodiments, the ID-preserving circuit-based remapping method can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the ID-preserving circuit-based remapping method described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the ID-preserving circuit-based remapping method by any other suitable means (e.g., by means of firmware).

[0164] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments 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.

[0165] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0166] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0167] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. 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).

[0168] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include 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 local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0169] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through 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. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0170] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0171] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. 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 invention should be included within the scope of protection of this invention.

Claims

1. A remapping method based on ID-preserving circuits, characterized in that, The ID ordering circuit includes: at least two hosts and one slave; each host sends a request to the slave via an upstream ID and responds using the slave's downstream ID; requests sent by the same host based on the same upstream ID need to be processed in order; requests sent by different hosts or requests sent by the same host based on different upstream IDs do not need to be processed in order. Create a remapping table corresponding to each host. Each remapping table is used to record the ID remapping information of the corresponding host. Create a downstream status table corresponding to the slave device. The downstream status table is used to record the usage information of each host for the downstream ID. When it is detected that the first host sends a request to the slave through the first ID, the usage status of the first ID is determined by the first remapping table corresponding to the first host and the downstream status table. Based on the usage status of the first ID, a remapping strategy for the first ID is determined, and a request is sent according to the remapping strategy, and the first remapping table and the downstream status table are updated.

2. The method according to claim 1, characterized in that, When a request is detected from a first host to a slave device via a first ID, the usage status of the first ID is determined using a first remapping table corresponding to the first host and the downstream status table, including: When it is detected that the first host sends a request to the slave through the first ID, the system checks whether the first ID has been remapped using the first remapping table corresponding to the first host.

3. The method according to claim 2, characterized in that, Based on the usage status of the first ID, a remapping strategy for the first ID is determined, and a request is sent according to the remapping strategy. The first remapping table and the downstream status table are then updated, including: If the first ID is remapped, then the first remapped ID corresponding to the first ID is determined according to the first remapped ID table; Update the usage information of the first mapping ID in the downstream status table according to the first mapping ID; Update the remapping information between the first ID and the first remapping ID in the first remapping table according to the first remapping ID; Send a request based on the first mapping ID.

4. The method according to claim 2, characterized in that, When a request is detected from a first host to a slave device via a first ID, the usage status of the first ID is determined using a first remapping table corresponding to the first host and the downstream status table, including: If the first ID is not remapped, then determine whether the first ID is used based on the downstream status table.

5. The method according to claim 4, characterized in that, Based on the usage status of the first ID, a remapping strategy for the first ID is determined, and a request is sent according to the remapping strategy. The first remapping table and the downstream status table are then updated, including: If the first ID is not used, then update the first ID usage information in the downstream status table according to the first ID; Send a request based on the first ID.

6. The method according to claim 4, characterized in that, When a request is detected from a first host to a slave device via a first ID, the usage status of the first ID is determined using a first remapping table corresponding to the first host and the downstream status table, including: If the first ID is used, the usage method of the first ID is determined according to the downstream status table; The usage methods include: normal use by the first host, remapping use by the first host, and use by other hosts.

7. The method according to claim 6, characterized in that, Based on the usage status of the first ID, a remapping strategy for the first ID is determined, and a request is sent according to the remapping strategy. The first remapping table and the downstream status table are then updated, including: If the usage method is normal use by the first host, then update the usage information of the first ID in the downstream status table according to the first ID; and send a request according to the first ID; If the usage method is remapped by the first host or used by other hosts, then a second ID is selected from the slave according to the downstream status table, wherein the second ID is different from the first ID and the second ID is idle; Update the usage information of the second ID in the downstream status table according to the second ID; Update the remapping information between the first ID and the second ID in the first remapping table according to the second ID; Send the request based on the second ID.

8. The method according to any one of claims 1-7, characterized in that, Also includes: When the slave device is detected to respond with a response ID, the usage of the response ID is determined according to the downstream status table. If the response ID is used for remapping, then the second host and the original request ID corresponding to the response ID are determined according to the downstream status table; Update the corresponding second mapping table based on the second host and the original request ID, and update the downstream status table based on the response ID; The response feedback is based on the second host.

9. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the remapping method based on the ID-preserving circuit according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the remapping method based on the ID-preserving circuit according to any one of claims 1-7.

Citation Information

Patent Citations

  • Read-write order preserving method based on AXI bus and SoC system

    CN115617718A

  • ID compression device and method of AXI bus

    CN115658588A