Storage medium, storage element, storage medium configuration method and data transmission method
By using signal lines in the storage medium to control the priority and data transmission sequence of media particles, the problems of data transmission delay and resource occupation in the prior art are solved, and more efficient data transmission is achieved.
Patent Information
- Application Number
- CN202411263253.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2021-12-08
- Filing Date
- 2022-02-15
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2042-02-15
AI Technical Summary
Existing storage media occupies a lot of processing resources during data transmission, with a large delay, resulting in low efficiency.
A storage medium is designed in which at least two media particles are connected in an orderly manner through signal lines to form a closed loop, and the level of the signal lines is controlled by two connected media particles to determine the order in which data is transmitted through the bus, avoiding polling checks Save processing resources and reduce latency.
The priority and data transmission sequence of media particles are controlled by signal lines, saving processing resources and reducing data transmission delays are achieved, transmission efficiency is improved, and priority of media particles is allowed to be adjusted after packaging.
Smart Images

Figure CN119201794A_ABST
Abstract
Description
[0001] This application is a divisional application. The application number of the original application is 202210138758.6, and the original application date is February 15, 2022. The entire contents of the original application are incorporated into this application by reference. Technical Field
[0002] The present application relates to the field of data processing technology, and in particular to a storage medium, a storage element, a storage medium configuration method, and a data transmission method. Background Art
[0003] The storage medium includes medium particles (die), and the medium particles are used for data transmission. Before the medium particles transmit data, they need to be prepared first.
[0004] The related art provides a storage medium, which includes discrete media particles. Based on the storage medium of this structure, the controller first sends instructions to the media particles, and the media particles prepare according to the received instructions. After that, the controller polls and checks the media particles. After the controller confirms that the media particles have completed preparation through polling, the controller then transmits data with the prepared media particles.
[0005] However, the process of the controller polling and checking the medium particles not only occupies processing resources, but also increases the delay of the data transmission process. Therefore, data transmission through the storage medium provided by the related technology occupies more processing resources and has a larger delay in the data transmission process. Summary of the invention
[0006] The present application provides a storage medium, a storage element, a storage medium configuration method and a data transmission method to improve the problem that the storage medium provided by the related technology is used for data transmission, occupies more processing resources and has a longer delay in the data transmission process. The technical solution provided by the present application is as follows.
[0007] In a first aspect, a storage medium is provided, the storage medium comprising at least two medium particles, the at least two medium particles being sequentially connected via a signal line to form a closed loop, and the at least two medium particles being used to transmit data via a bus. The level of the signal line is controlled by the two medium particles connected via the signal line, and the level of the signal line is used by the at least two medium particles to determine the order in which data is transmitted via the bus.
[0008] In the present application, the medium particles can determine the order of transmitting data through the bus according to the level of the signal line, so the medium particles can occupy the bus by themselves to complete the data transmission after completing the preparation, without consuming processing resources to poll and check whether the medium particles have completed the preparation. As a result, processing resources are saved, the delay of data transmission is reduced, and the data transmission efficiency is improved. In addition, since at least two medium particles are connected in order to form a closed loop, the present application does not need to determine the priority of the medium particles when encapsulating the medium particles, but can adjust the priority of the medium particles after the encapsulation is completed.
[0009] In some possible implementations, the level of any signal line is a fixed level, or the levels of each signal line are fixed levels. Wherein, when the level of any signal line is a fixed level, one of the two medium particles connected to the signal line has the highest priority. Among at least two medium particles, the priority of other medium particles is determined based on the medium particle with the highest priority, and the priority of each medium particle is different. Alternatively, when the level of each signal line is a fixed level, the priority of each medium particle is the same. The present application can adjust the priority of the medium particles by controlling the level of the signal line.
[0010] In some possible implementations, the medium particles in at least two medium particles include a selector and a register, the selector is used to select a first end or a second end of the selector, the first end is used to configure the level of a signal line associated with the register to a fixed level, and the second end is used to indicate that the two medium particles connected by the signal line control the level of the signal line according to the data transmission situation. On the basis of the medium particles, the level of the signal line is also controlled by the selector and the register, and the control method is relatively flexible.
[0011] In some possible implementations, one of the two dielectric particles connected by a signal line includes a selector and a register, and provides a setting method for the selector and the register, which has a simple structure and is easy to use.
[0012] In some possible implementations, two medium particles connected by a signal line both include a selector and a register. Another configuration method of the selector and the register is provided, which provides a surplus selector and register for the signal line and has high reliability.
[0013] In some possible implementations, the signal line includes a request signal line and a feedback signal line.
[0014] In some possible implementations, when the level of the signal line is a fixed level, the level of the request signal line is a first level, the first level is used to indicate that authorization is not requested, and the level of the feedback signal line is a second level, the second level is used to indicate that authorization is obtained, and authorization is used to indicate that data transmission through the bus is allowed. Since the first level indicates that authorization is not requested and the second level is used to indicate that authorization is obtained, the medium particle can obtain authorization without requesting authorization, so that the medium particle has the highest priority.
[0015] In some possible implementations, when the level of the signal line is controlled by two medium particles connected by the signal line according to the data transmission situation, the level of the request signal line is the first level or the third level, the first level is used to indicate that authorization is not requested, and the third level is used to indicate that authorization is requested, and the level of the feedback signal line is the second level or the fourth level, the second level is used to indicate that authorization is already authorized, the fourth level is used to indicate that authorization is not authorized, and authorization is used to indicate that data transmission through the bus is allowed. The medium particles control the level of the controller according to the data transmission situation, thereby realizing the negotiation of the order of data transmission through the bus between different medium particles.
[0016] In some possible implementations, the storage medium further includes a state machine, which is used to record the state of the medium particles, including an idle state, a prepared state, a data transmission state, and other medium particle data transmission states, and other medium particle transmission states are used to indicate that other medium particles located before the medium particles are performing data transmission. Recording the state of each medium particle by the state machine is helpful for monitoring whether the medium particles can work normally during the data transmission process, and avoiding the abnormality of the medium particles affecting the data transmission process.
[0017] In some possible implementations, the medium particle includes a first data pin and a second data pin, the bus includes a first data bus and a second data bus, the first data pin is used to connect the first data bus, and the second data pin is used to connect the second data bus; the first data bus is used to send data between at least two medium particles, and the second data bus is used to send data to at least two medium particles. In this implementation, the reading process and the writing process use different data buses, so that the reading and writing are separated, and conflicts between the reading process and the writing process are avoided.
[0018] In a second aspect, a storage element is provided, which includes a controller and a storage medium provided by the first aspect or any possible implementation of the first aspect, and the controller is connected to at least two medium particles included in the storage medium through a bus.
[0019] The controller is used to send a data transmission instruction to a first medium particle among the at least two medium particles, and the first medium particle is any medium particle among the at least two medium particles;
[0020] The first medium particle is used to receive the data transmission instruction sent by the controller;
[0021] The first medium particle is also used to transmit data and a data identifier corresponding to the data to the controller through a bus based on the data transmission instruction and the level of the signal line in the storage medium. The level of the signal line is controlled by two medium particles connected by the signal line. The level of the signal line is used by at least two medium particles to determine the order of transmitting data through the bus.
[0022] In some possible implementations, the level of the first signal line in the signal line is a fixed level, the level of the second signal line in the signal line other than the first signal line is controlled by two medium particles connected by the second signal line according to the data transmission situation, the first signal line is located between the first medium particle and the next medium particle of the first medium particle, the data transmission instruction is used to instruct the first medium particle to transmit data; the first medium particle is used to complete the preparation based on the data transmission instruction; the first medium particle is used to send data and data identification to the controller through the bus when it is detected that the first signal line is a fixed level and it is determined through the level of the third signal line that the first medium particle has not authorized the previous medium particle of the first medium particle, the third signal line is the second signal line located between the first medium particle and the previous medium particle, and the authorization is used to indicate that data transmission is allowed through the bus. In this implementation, the first medium particle has the highest priority, so as long as the first medium particle determines that it has not authorized the previous medium particle, it can occupy the bus for data transmission.
[0023] In some possible implementations, the first medium particle is further configured to, after completing the transmission, in response to determining through the level of the third signal line that the previous medium particle requested authorization, authorize the previous medium particle by controlling the level of the third signal line if it is determined that the first medium particle has not performed the transmission. When the previous medium particle requests authorization, if the first medium particle does not need to occupy the bus to transmit data, the first medium particle may authorize the previous medium particle.
[0024] In some possible implementations, the level of the first signal line in the signal line is controlled by the first medium particle and the next medium particle of the first medium particle according to the data transmission situation, the level of a second signal line in the signal line other than the first signal line is a fixed level, the first signal line is located between the first medium particle and the next medium particle, the data transmission instruction is used to instruct the first medium particle to transmit data; the first medium particle is used to complete the preparation based on the data transmission instruction; the first medium particle is used to request authorization from the next medium particle by controlling the level of the first signal line when it is determined through the level of the third signal line that the first medium particle has not authorized the previous medium particle of the first medium particle, the third signal line is the second signal line located between the first medium particle and the previous medium particle, the authorization is used to indicate that data transmission through the bus is allowed; the first medium particle is used to transmit data and a data identifier corresponding to the data to the controller through the bus when it is determined through the level of the first signal line that the next medium particle has authorized. In this implementation, the first medium particle does not have the highest priority. Therefore, in addition to determining that the previous medium particle has not been authorized, the first medium particle also needs to obtain authorization from the next medium particle with a higher priority before it can occupy the bus for data transmission.
[0025] In some possible implementations, the medium particle is further configured to request the next medium particle to cancel authorization by controlling the level of the first signal line after completing the transmission; the first medium particle is further configured to determine that the next medium particle has canceled authorization by the level of the first signal line. Since the first medium particle has previously requested authorization, the first medium particle also needs to request to cancel authorization to release the bus so that other medium particles can occupy the bus for data transmission.
[0026] In some possible implementations, the first medium particle is used to, before the first medium particle completes sending, determine through the level of the third signal line that the previous medium particle has not requested authorization, and then request the next medium particle to cancel authorization by controlling the level of the first signal line. If the previous medium particle has not requested authorization from the first medium particle during the first medium particle's sending, the first medium particle directly requests to cancel authorization after completing the sending.
[0027] In some possible implementations, the first medium particle is further configured to, before the first medium particle completes sending, determine through the level of the third signal line whether the previous medium particle requests authorization, and then, after the first medium particle completes sending, authorize the previous medium particle by controlling the level of the third signal line. If, during the process of the first medium particle sending, the previous medium particle requests authorization from the first medium particle, after the first medium particle completes sending, the first medium particle does not request the next medium particle to cancel authorization for the time being, but authorizes the previous medium particle.
[0028] In some possible implementations, the first media particle is further configured to request authorization from the next media particle by controlling the level of the first signal line when it is determined through the level of the first signal line that the next media particle has cancelled authorization and when it is determined through the level of the third signal line that the previous media particle has requested authorization and the first media particle has not sent any information; the first media particle is further configured to authorize the previous media particle by controlling the level of the third signal line when it is determined through the level of the first signal line that the next media particle has been authorized. If the first media particle determines that the previous media particle has requested authorization after it has requested cancellation of authorization from the next media particle, the first media particle needs to request authorization from the next media particle again to authorize the previous media particle.
[0029] In some possible implementations, the bus includes a first data bus and a second data bus; the first medium particle is used to send data and data identification to the controller via the first data bus, and the second data bus is used by the controller to send data to be written to at least two medium particles. This implementation is used for read-write separation.
[0030] In some possible implementations, the level of each signal line is a fixed level, and the data transmission instruction is used to instruct the first medium particle to prepare; the first medium particle is used to complete the preparation based on the data transmission instruction when detecting that the first signal line is a fixed level and the third signal line is also a fixed level, the first signal line is located between the first medium particle and the next medium particle of the first medium particle, and the third signal line is located between the first medium particle and the previous medium particle of the first medium particle; the first medium particle is used to transmit data and a data identifier corresponding to the data to the controller through the bus according to the control of the controller. In this implementation, the priority of each medium particle is the same, and the medium particle needs to complete the data transmission process according to the control of the controller. This implementation can be compatible with the communication protocol in the relevant technology.
[0031] In some possible implementations, the bus includes a first data bus and a second data bus; the first medium particle is used to send data and a data identifier corresponding to the data to the controller through a target data bus, the target data bus is the first data bus or the second data bus, and the target data bus is also used by the controller to send data to be written to at least two medium particles. This implementation is a read-write merge method, which can be compatible with the communication protocol in the relevant technology.
[0032] In some possible implementations, the medium particles of at least two medium particles include a selector and a register; in response to the level of the signal line being a fixed level, the selector has selected the first end of the selector, and the first end is used to configure the level of the signal line associated with the register to a fixed level; in response to the level of the signal line being controlled by two medium particles connected by the signal line according to data transmission conditions, the selector has selected the second end of the selector, and the second end is used to indicate that the level of the signal line is controlled by the two medium particles connected by the signal line according to data transmission conditions.
[0033] In some possible implementations, the signal line includes a request signal line and a feedback signal line. In response to the level of the signal line being a fixed level, the level of the request signal line is a first level, the first level is used to indicate that authorization is not requested, and the level of the feedback signal line is a second level, the second level is used to indicate that authorization has been requested, and authorization is used to indicate that data transmission through the bus is allowed.
[0034] In some possible implementations, the signal line includes a request signal line and a feedback signal line. In response to the level of the signal line being controlled by two medium particles connected by the signal line according to data transmission conditions, the level of the request signal line is a first level or a third level, the first level is used to indicate that authorization is not requested, and the third level is used to indicate that authorization is requested. The level of the feedback signal line is a second level or a fourth level, the second level is used to indicate authorization, the fourth level is used to indicate unauthorized, and authorization is used to indicate that data transmission through the bus is allowed.
[0035] In some possible implementations, the storage medium includes a state machine, which is used to record the state of a first medium particle; before the first medium particle completes preparation and after the first medium particle completes sending data and data identifiers, the state of the first medium particle is an idle state; after the first medium particle completes preparation, the state of the first medium particle is a prepared state; when the first medium particle sends data and data identifiers to a controller, the state of the first medium particle is a data transmission state; after the first medium particle authorizes the previous medium particle of the first medium particle, the state of the first medium particle is a data transmission state of other medium particles, and the data transmission state of other medium particles is used to indicate that other medium particles located before the first medium particle are performing data transmission.
[0036] In a third aspect, a storage medium configuration method is provided, characterized in that the method is used to configure the storage medium provided by the first aspect or any possible implementation of the first aspect, and the method includes: obtaining signal line information of the storage medium, the signal line information is used to indicate the signal line in the storage medium; configuring the level of the signal line indicated by the signal line information, the level of the signal line is controlled by two medium particles connected by the signal line, and the level of the signal line is used by at least two medium particles included in the storage medium to determine the order of transmitting data through the bus. The present application can adjust the priority of the medium particles by configuring the level of the signal line after encapsulating the medium particles to obtain the storage medium.
[0037] In some possible implementations, the level of one of the signal lines is a fixed level, and the levels of the other signal lines are controlled by two medium particles connected through the other signal lines according to data transmission conditions; or, the levels of the signal lines are all fixed levels.
[0038] In some possible implementations, the medium particles of the at least two medium particles include a selector and a register, the selector is used to select a first end or a second end of the selector, the first end is used to configure the level of a signal line associated with the register to a fixed level, and the second end is used to indicate that the level of the signal line is controlled by two medium particles connected by the signal line according to data transmission conditions. Configuring the level of the signal line indicated by the signal line information includes: configuring the selector so that the selector selects the first end or the second end.
[0039] The technical effects of some possible implementations in the second and third aspects can be referred to the technical effects of the corresponding implementations in the first aspect, and will not be repeated here.
[0040] In a fourth aspect, a data transmission method is provided, the method being applied to the storage element provided by the second aspect or any possible implementation manner of the second aspect, the method comprising:
[0041] The controller sends a data transmission instruction to a first medium particle among the at least two medium particles, where the first medium particle is any one of the at least two medium particles;
[0042] The first medium particle receives a data transmission instruction sent by the controller;
[0043] The first medium particle transmits data and a data identifier corresponding to the data to the controller through a bus based on the data transmission instruction and the level of the signal line in the storage medium. The level of the signal line is controlled by two medium particles connected by the signal line. The level of the signal line is used by at least two medium particles to determine the order of transmitting data through the bus.
[0044] In a possible implementation, a level of a first signal line among the signal lines is a fixed level, a level of a second signal line among the signal lines other than the first signal line is controlled by two medium particles connected by the second signal line according to a data transmission situation, the first signal line is located between the first medium particle and a medium particle next to the first medium particle, and the data transmission instruction is used to instruct the first medium particle to transmit data;
[0045] The first medium particle transmits data and a data identifier corresponding to the data to the controller through a bus based on a data transmission instruction and a level of a signal line in a storage medium, including: the first medium particle completes preparation based on the data transmission instruction; the first medium particle sends the data and the data identifier to the controller through the bus when detecting that the first signal line is at a fixed level and determining through the level of a third signal line that the first medium particle has not authorized the previous medium particle of the first medium particle, the third signal line is a second signal line located between the first medium particle and the previous medium particle, and the authorization is used to indicate that data transmission through the bus is allowed.
[0046] In a possible implementation, after sending the data and the data identifier to the controller via the bus, the method further includes: the first medium particle determines, in response to the level of the third signal line, that the previous medium particle requests authorization, and when it is determined that the first medium particle has not sent, authorizing the previous medium particle by controlling the level of the third signal line.
[0047] In a possible implementation, the level of a first signal line among the signal lines is controlled by the first medium particle and the next medium particle of the first medium particle according to data transmission conditions, the level of a second signal line among the signal lines other than the first signal line is a fixed level, the first signal line is located between the first medium particle and the next medium particle, and the data transmission instruction is used to instruct the first medium particle to transmit data;
[0048] The first medium particle transmits data and a data identifier corresponding to the data to the controller through a bus based on a data transmission instruction and a level of a signal line in a storage medium, including: the first medium particle completes preparation based on the data transmission instruction; when the first medium particle determines through the level of a third signal line that the first medium particle has not authorized the previous medium particle of the first medium particle, the first medium particle requests authorization from the next medium particle by controlling the level of the first signal line, the third signal line is a second signal line located between the first medium particle and the previous medium particle, and the authorization is used to indicate that data transmission through the bus is allowed; when the first medium particle determines through the level of the first signal line that the next medium particle has authorized, the first medium particle transmits data and a data identifier corresponding to the data to the controller through the bus.
[0049] In a possible implementation, after transmitting the data and the data identifier corresponding to the data to the controller via the bus, the method further includes: the first medium particle requests the next medium particle to cancel authorization by controlling the level of the first signal line; and the first medium particle determines that the next medium particle has canceled authorization by the level of the first signal line.
[0050] In a possible implementation, the first medium particle requests the next medium particle to cancel authorization by controlling the level of the first signal line, including: before the first medium particle completes sending, the first medium particle determines through the level of the third signal line that the previous medium particle has not requested authorization, and then requests the next medium particle to cancel authorization by controlling the level of the first signal line.
[0051] In a possible implementation, the method further includes: before the first medium particle completes sending, when the first medium particle determines through the level of the third signal line that the previous medium particle requests authorization, then after completing sending, the first medium particle authorizes the previous medium particle by controlling the level of the third signal line.
[0052] In one possible implementation, after the first medium particle determines through the level of the first signal line that the next medium particle has canceled authorization, the method further includes: when the first medium particle determines through the level of the third signal line that the previous medium particle requested authorization and the first medium particle has not sent anything, the first medium particle requests authorization from the next medium particle by controlling the level of the first signal line; the first medium particle is further used to authorize the previous medium particle by controlling the level of the third signal line when it is determined through the level of the first signal line that the next medium particle has been authorized.
[0053] In a possible implementation, the bus includes a first data bus and a second data bus; transmitting data and a data identifier corresponding to the data to the controller via the bus includes: a first medium particle sends data and a data identifier to the controller via the first data bus, and the second data bus is used by the controller to send data to be written to at least two medium particles.
[0054] In a possible implementation, the level of each signal line is a fixed level, and the data transmission instruction is used to instruct the first medium particle to prepare; the first medium particle transmits data and a data identifier corresponding to the data to the controller through a bus based on the data transmission instruction and the level of the signal line in the storage medium, including: when the first medium particle detects that the first signal line is a fixed level and the third signal line is also a fixed level, the first medium particle completes the preparation based on the data transmission instruction, the first signal line is located between the first medium particle and the next medium particle of the first medium particle, and the third signal line is located between the first medium particle and the previous medium particle of the first medium particle; the first medium particle transmits data and a data identifier corresponding to the data to the controller through the bus according to the control of the controller.
[0055] In a possible implementation, the bus includes a first data bus and a second data bus; transmitting data and a data identifier corresponding to the data to the controller via the bus includes: the first medium particle sends the data and the data identifier corresponding to the data to the controller via a target data bus, the target data bus is the first data bus or the second data bus, and the target data bus is also used by the controller to send data to be written to at least two medium particles.
[0056] In one possible implementation, the medium particles of at least two medium particles include a selector and a register; in response to the level of the signal line being a fixed level, the selector has selected the first end of the selector, and the first end is used to configure the level of the signal line associated with the register to a fixed level; in response to the level of the signal line being controlled by two medium particles connected by the signal line according to data transmission conditions, the selector has selected the second end of the selector, and the second end is used to indicate that the level of the signal line is controlled by the two medium particles connected by the signal line according to data transmission conditions.
[0057] In one possible implementation, the signal line includes a request signal line and a feedback signal line. In response to the level of the signal line being a fixed level, the level of the request signal line is a first level, the first level is used to indicate that authorization is not requested, and the level of the feedback signal line is a second level, the second level is used to indicate authorization is requested, and authorization is used to indicate that data transmission through the bus is allowed.
[0058] In one possible implementation, the signal line includes a request signal line and a feedback signal line. In response to the level of the signal line being controlled by two medium particles connected by the signal line according to data transmission conditions, the level of the request signal line is a first level or a third level, the first level is used to indicate that authorization is not requested, and the third level is used to indicate that authorization is requested. The level of the feedback signal line is a second level or a fourth level, the second level is used to indicate authorization, the fourth level is used to indicate unauthorization, and authorization is used to indicate that data transmission through the bus is allowed.
[0059] In one possible implementation, the storage medium includes a state machine, which is used to record the state of a first medium particle; before the first medium particle completes preparation and after the first medium particle completes sending data and data identifiers, the state of the first medium particle is an idle state; after the first medium particle completes preparation, the state of the first medium particle is a prepared state; when the first medium particle sends data and data identifiers to a controller, the state of the first medium particle is a data transmission state; after the first medium particle authorizes the previous medium particle of the first medium particle, the state of the first medium particle is a data transmission state of other medium particles, and the data transmission state of other medium particles is used to indicate that other medium particles located before the first medium particle are performing data transmission.
[0060] The technical effects of the possible implementation methods included in the fourth aspect can be referred to the technical effects of the corresponding implementation methods in the second aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 A schematic diagram of the structure of a storage medium provided in an embodiment of the present application;
[0062] Figure 2 A schematic diagram of the structure of a storage medium provided in an embodiment of the present application;
[0063] Figure 3 A schematic diagram of the structure of a storage medium provided in an embodiment of the present application;
[0064] Figure 4 A schematic diagram of the structure of a storage medium provided in an embodiment of the present application;
[0065] Figure 5 A schematic diagram of the structure of a storage medium provided in an embodiment of the present application;
[0066] Figure 6 A schematic diagram of the structure of a storage medium provided in an embodiment of the present application;
[0067] Figure 7 A schematic diagram of the structure of a storage medium provided in an embodiment of the present application;
[0068] Figure 8 A schematic diagram of the structure of a storage element provided in an embodiment of the present application;
[0069] Fig. 9 A schematic diagram of the structure of a storage element provided in an embodiment of the present application;
[0070] Fig.10 A flowchart of a storage medium configuration method provided in an embodiment of the present application;
[0071] Fig.11 A flowchart of a data transmission method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0072] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.
[0073] The present application embodiment provides a storage medium, see Figure 1 The storage medium includes at least two medium particles. The at least two medium particles are connected in order through a signal line to form a closed loop, and the at least two medium particles are used to transmit data through a bus. The level of the signal line is controlled by the two medium particles connected through the signal line, and the level of the signal line is used by the at least two medium particles to determine the order of transmitting data through the bus.
[0074] The bus is shared by at least two media particles. The order of data transmission through the bus is determined by the level of the signal line between different media particles, so as to avoid conflicts caused by different media particles occupying the bus for data transmission at the same time. For the storage medium provided in the embodiment of the present application, after the media particles are instructed to prepare through instructions, there is no need to consume processing resources to poll and check whether the media particles have completed preparation. After completing the preparation, the media particles can determine the order of data transmission through the bus by themselves through the level of the signal line, thereby occupying the bus to complete the data transmission. As a result, processing resources are saved, the delay of data transmission is reduced, and the efficiency of data transmission is improved.
[0075] The level of the signal line is used to request authorization, authorization, request cancellation of authorization and cancellation of authorization between two media particles connected by the signal line. Authorization is used to indicate that data transmission through the bus is allowed. For a prepared media particle, if there is a media particle with a higher priority among at least two media particles, when the order of data transmission through the bus is determined by the level of the signal line, the prepared media particle requests authorization from each media particle with a higher priority by controlling the level of the signal line. The media particle with a higher priority authorizes the prepared media particle by controlling the level of the signal line without occupying the bus, and the prepared media particle occupies the bus to complete the data transmission after obtaining the authorization. After completing the data transmission, the prepared media particle also requests cancellation of authorization from each media particle with a higher priority by controlling the level of the signal line. The media particle with a higher priority cancels the authorization from the prepared media particle by controlling the level of the signal line to realize the release of the bus. Alternatively, if there is no media particle with a higher priority among at least two media particles, the prepared media particle does not need to request authorization, and directly occupies the bus to complete the data transmission. After completing the data transmission, there is no need to request cancellation of authorization, and the bus can be released.
[0076] It should be noted that, in the related art, when the storage medium includes at least two medium particles, the at least two medium particles are only connected in order through a signal line, but do not form a closed loop. In addition, the priority of the medium particles in the related art depends on the connection order between the medium particles. After the medium particles are packaged to obtain the storage medium, the connection order of the medium particles is fixed, and thus the priority of the medium particles is also fixed. Therefore, in the related art, it is necessary to determine the priority of the medium particles when packaging the medium particles, and after the packaging is completed, the priority of the medium particles is fixed.
[0077] In the embodiment of the present application, at least two dielectric particles are not only connected in order through the signal line, but also form a closed loop. After the dielectric particles are packaged to obtain the storage medium, although the connection order of the dielectric particles is fixed, the closed loop structure allows the priorities of other dielectric particles to be adaptively changed when the priority of any dielectric particle changes, thereby achieving the adjustment of the priority of the dielectric particles. Therefore, in the embodiment of the present application, it is not necessary to determine the priority of the dielectric particles when packaging the dielectric particles, and the priority of the dielectric particles can still be adjusted after the packaging is completed.
[0078] In an exemplary embodiment, the level of the signal line includes two cases A1 and A2 as follows.
[0079] In case A1, the level of any signal line is a fixed level, and the levels of other signal lines are controlled by two medium particles connected through other signal lines according to data transmission conditions.
[0080] According to the above description, the level of the signal line is used to request authorization, authorize, request to cancel authorization, and cancel authorization between two media particles connected by the signal line. Therefore, if the level of any signal line is set to a fixed level, and the fixed level allows a media particle connected to the signal line to obtain authorization without requesting authorization, it can be determined that the media particle has the highest priority. Since the levels of other signal lines are controlled by the two media particles connected by other signal lines according to the data transmission situation, the priorities of other media particles can be determined based on the media particle with the highest priority. Exemplarily, the priorities of other media particles before the media particle with the highest priority are successively reduced.
[0081] For example, see Figure 2 The signal line includes a request signal line and a feedback signal line. The request signal line is used to request authorization or request to cancel authorization, and the feedback signal line is used to authorize or cancel authorization.
[0082] In an exemplary embodiment, when the level of the signal line is a fixed level, the level of the request signal line is a first level, and the first level is used to indicate that authorization is not requested, so that the medium particle does not need to request authorization through the request signal line. The level of the feedback signal line is a second level, and the second level is used to indicate authorization, so that the medium particle directly obtains authorization without requesting authorization.
[0083] In an exemplary embodiment, when the level of the signal line is controlled by two medium particles connected by the signal line according to the data transmission situation, the level of the request signal line is the first level or the third level, the first level is used to indicate that authorization is not requested, and the third level is used to indicate that authorization is requested. The medium particles can control the level of the request signal line according to the actual data transmission situation. When authorization needs to be requested, the level of the request signal line is controlled to be the third level. When authorization cancellation needs to be requested, the level of the request signal line is controlled to be the first level.
[0084] The level of the feedback signal line is the second level or the fourth level, the second level is used to indicate authorization, and the fourth level is used to indicate unauthorization. The medium particles can control the level of the request signal line according to the actual data transmission situation. When authorization is required, the level of the request signal line is controlled to be the second level. When authorization needs to be cancelled, the level of the request signal line is controlled to be the fourth level.
[0085] Exemplarily, the first level is the same as the fourth level, the third level is the same as the second level, and the first level is lower than the third level. Then the first level and the fourth level are also called low levels, which can be represented as 0. The second level and the third level are also called high levels, which can be represented as 1. In this case, since the request signal line indicates that the request is authorized when it is at a high level (third level), and the feedback signal line indicates that it is authorized when it is at a high level (second level), the request signal line and the feedback signal line are both high-level valid signal lines.
[0086] See also Figure 3 and Figure 4, taking the storage medium including medium particles 0-3 as an example, the priority of each medium particle is described. Among them, the level of RDY 3 is a fixed level 0, and the level of ACK 0 is a fixed level 1. Therefore, medium particle 3 can obtain authorization without requesting authorization from medium particle 0, and medium particle 3 has the highest priority. In addition, medium particles 0 and medium particles 1 control the levels of RDY 0 and ACK 1 according to the data transmission situation. Since RDY 0 is directed from medium particle 0 to medium particle 1, and ACK 1 is directed from medium particle 1 to medium particle 0, between medium particles 0 and medium particles 1, it is medium particle 0 that requests authorization or requests cancellation of authorization from medium particle 1, and medium particle 1 authorizes or cancels authorization from medium particle 0, so the priority of medium particle 0 is lower than that of medium particle 1. Similarly, it can be obtained that medium particles 1 and medium particles 2 control the levels of RDY 1 and ACK 2 according to the data transmission situation, and the priority of medium particle 1 is lower than that of medium particle 2. Medium particles 2 and medium particles 3 control the levels of RDY 2 and ACK 3 according to the data transmission situation, and the priority of medium particle 2 is lower than that of medium particle 3. Therefore, the priorities of media particle 3, media particle 2, media particle 1, and media particle 0 decrease in sequence.
[0087] In case A2, the levels of each signal line are fixed.
[0088] In case A2, since the levels of the signal lines are all fixed levels, the dielectric particles are all dielectric particles with the highest priority, and the priorities of at least two dielectric particles are the same.
[0089] Exemplarily, the signal line includes a request signal line and a feedback signal line. When the level of the signal line is a fixed level, the levels of the request signal line and the feedback signal line refer to the description in the above situation A1, which will not be repeated here.
[0090] See also Figure 5 , still taking the storage medium including medium particles 0-3 as an example, the priority of each medium particle is described. Among them, the level of RDY 3 is fixed at level 0, and the level of ACK 0 is fixed at level 1. Therefore, medium particle 3 can obtain authorization without requesting authorization from medium particle 0, and medium particle 3 has the highest priority. In addition, since the levels of RDY 0, RDY1, and RDY 2 are also fixed at level 0, and the levels of ACK 1, ACK 2, and ACK 3 are fixed at level 1, it can be obtained by the same logic that medium particle 0, medium particle 1, and medium particle 2 also have the highest priority. Therefore, the priorities of medium particle 3, medium particle 2, medium particle 1, and medium particle 0 are the same.
[0091] In an exemplary embodiment, the medium particles of at least two medium particles include a selector and a register, the selector is used to select the first end or the second end of the selector, the first end is used to configure the level of the signal line associated with the register to a fixed level, and the second end is used to indicate that the level of the signal line is controlled by the two medium particles connected by the signal line according to the data transmission situation. Therefore, by controlling the selector to select the first end or the second end, the level of the signal line can be fixed, or the level of the signal line can be controlled by the two medium particles connected by the signal line according to the data transmission situation. Since the priority of the medium particles is related to the level of the signal line, this method can flexibly adjust the priority of the medium particles.
[0092] In which, when the signal line includes a request signal line and a feedback signal line, the two medium particles connected by the signal line include both a selector and a register corresponding to the request signal line and a selector and a register corresponding to the feedback signal line to realize control of the request signal line and the feedback signal line.
[0093] Exemplarily, the register configures the level of any signal line by setting a numerical value. When the register is set to different numerical values, the level of the signal line is different. For example, for the request signal line, when the register is set to a numerical value of 1, the level of the request signal line is a third level. When the register is set to a numerical value of 0, the level of the request signal line is a first level. For another example, for the feedback signal line, when the register is set to a numerical value of 1, the level of the request signal line is a second level. When the register is set to a numerical value of 0, the level of the request signal line is a fourth level.
[0094] Of course, the above description of adjusting the level of the signal line by the selector and the register is only an example and is not intended to limit the embodiments of the present application. For example, the embodiments of the present application can also control the level of the signal line to be a fixed level by the medium particles, and control the level of the signal line by the medium particles according to the data transmission situation.
[0095] In an exemplary embodiment, for two dielectric particles connected by any signal line, the register and the selector include the following two configurations.
[0096] Arrangement mode 1: one of the two medium particles connected by the signal line includes a selector and a register. For example, see Figure 6 In the case where any signal line includes a request signal line and a feedback signal line, one of the two medium particles includes both a selector and a register corresponding to the request signal line and a selector and a register corresponding to the feedback signal line.
[0097] like Figure 6As shown, the selector is shown as a trapezoid including 0 and 1, the first end is shown as 0, the second end is shown as 1, and the register is connected to the first end 0 of the selector. The medium particle 0 includes a selector and a register associated with RDY 0 and ACK 1, and the medium particle 1 includes a selector and a register associated with RDY 1 and ACK 0. RDY 0 and ACK 1 are taken as an example for description, and RDY 1 and ACK 0 are not repeated here.
[0098] In medium particle 0, if the selector associated with RDY 0 selects the first end 0, the level of RDY 0 is configured by the register, if the selector associated with RDY 0 selects the second end 1, the level of RDY 0 is controlled by medium particle 0 according to the data transmission situation (rdy_out in medium particle 0), and the level of RDY 0 that can be detected by medium particle 1 (rdy_in in medium particle 1) is the level of RDY 0. In addition, in medium particle 0, if the selector associated with ACK 1 selects the first end 0, the level of ACK 1 is configured by the register, if the selector associated with ACK 1 selects the second end 1, the level of ACK 1 is controlled by medium particle 1 according to the data transmission situation (ack_out in medium particle 1), and the level of ACK 1 that can be detected by medium particle 0 (ack_in in medium particle 0) is the level of ACK 1.
[0099] In the second configuration, two medium particles connected by a signal line both include a selector and a register. Figure 7 In the case where the signal line includes a request signal line and a feedback signal line, both medium particles include a selector and a register corresponding to the request signal line, and both medium particles include a selector and a register corresponding to the feedback signal line.
[0100] like Figure 7 As shown, the selector is shown as a trapezoid including 0 and 1, the first end is shown as 0, the second end is shown as 1, and the register is connected to the first end 0 of the selector. Both medium particle 0 and medium particle 1 include a selector and a register associated with RDY 0 and ACK 1, and both include a selector and a register associated with RDY 1 and ACK 0. RDY 0 and ACK 1 are taken as an example for description, and RDY 1 and ACK 0 are not repeated here.
[0101] In media particle 0 and media particle 1, if the selectors associated with RDY 0 all select the first end 0, the level of RDY 0 is configured by the register, if the selectors associated with RDY 0 all select the second end 1, the level of RDY 0 is controlled by media particle 0 according to the data transmission situation (rdy_out in media particle 0), and the level of RDY 0 that can be detected by media particle 1 (rdy_in in media particle 1) is the level of RDY 0. In addition, in media particle 0 and media particle 1, if the selectors associated with ACK 1 all select the first end 0, the level of ACK 1 is configured by the register, if the selectors associated with ACK 1 all select the second end 1, the level of ACK 1 is controlled by media particle 1 according to the data transmission situation (ack_out in media particle 1), and the level of ACK 1 that can be detected by media particle 0 (ack_in in media particle 0) is the level of ACK 1.
[0102] certainly, Figure 7 The situation shown is only an example and does not limit the setting method of selectors and registers. Figure 7 In addition to the case shown, one of the two medium particles may include a selector and a register corresponding to the request signal line, and the other medium particle may include a selector and a register corresponding to the feedback signal line. For another example, one of the two medium particles may include a selector and a register corresponding to the request signal line, or include a selector and a register corresponding to the feedback signal line. The other medium particle may include a selector and a register corresponding to the request signal line, and also include a selector and a register corresponding to the feedback signal line.
[0103] Regarding the above two setting methods, setting method 2 is taken as an example to explain the selector and register.
[0104] See also Figure 3 and Figure 4, medium particles 3 and medium particles 0 include selectors and registers associated with RDY 3 and ACK 0. The selector associated with RDY 3 and ACK 0 selects the first end (the first end is shown as 0), so that the register configures the level of RDY 3 to a fixed level 0, and configures the level of ACK 0 to a fixed level 1. Medium particles 0 and medium particles 1 include selectors and registers associated with RDY0 and ACK 1, medium particles 1 and medium particles 2 include selectors and registers associated with RDY 1 and ACK 2, and medium particles 2 and medium particles 3 include selectors and registers associated with RDY 2 and ACK 3. Among them, the selectors associated with RDY 0, ACK 1, RDY 1, ACK 2, RDY 2 and ACK 3 all select the second end (the second end is shown as 1). As a result, the priorities of medium particles 3, medium particles 2, medium particles 1, and medium particles 0 are reduced in sequence.
[0105] See also Figure 5 All selectors included in media particles 3, media particles 2, media particles 1, and media particles 0 select the first end, so that the priorities of media particles 3, media particles 2, media particles 1, and media particles 0 are the same.
[0106] In addition, based on the above two settings, there may be a situation where multiple selectors are included in one medium particle. In some embodiments, the first ends of multiple selectors correspond to the same register. Among them, multiple bits are set on the register, and the multiple bits correspond one-to-one to the first ends of multiple selectors. A bit can configure the level of the signal line associated with the selector corresponding to the bit. In other embodiments, the first ends of multiple selectors correspond one-to-one to multiple registers. In this case, one bit is set on each register, and it is not repeated here.
[0107] Since the media particles are used to transmit data through the bus, the media particles need to be connected to the bus. Exemplarily, the media particles include pins to connect to the bus through the pins. In an exemplary embodiment, the media particles include a first data pin and a second data pin, and the bus includes a first data bus and a second data bus. The first data pin is used to connect the first data bus, and the second data pin is used to connect the second data bus. The first data bus is used for at least two media particles to send data, and the second data bus is used to send data to at least two media particles.
[0108] The process of sending data between at least two media particles is a read process, and the first data bus is also called a read bus. The process of sending data to at least two media particles is a write process, and the second data bus is also called a write bus. Since different data buses are used in the read process and the write process, read-write separation is achieved. The reasons for using read-write separation in the embodiment of the present application are as follows.
[0109] In the reading process, if the medium particles have completed the preparation and have determined the order of data transmission through the bus through the level of the signal line, the medium particles can occupy the bus by themselves for data transmission. Therefore, the reading process is a process controlled by the medium particles. In the writing process, since the medium particles need to write after receiving the data sent to the medium particles, the writing process is a process controlled by the data sending end (for example, a controller). It is precisely because the reading process and the writing process are controlled by different objects (medium particles or data sending ends) that the reading process and the writing process need to use different data buses, thereby avoiding conflicts between the reading process and the writing process.
[0110] It should be understood that both the first data bus and the second data bus have the function of bidirectionally transmitting data. The above embodiment is to achieve read-write separation, so that the first data bus is only used for the medium particles to send data, and the second data bus is only used for sending data to the medium particles. Exemplarily, the first data bus or the second data bus is used as the target data bus, and the target data bus can also be used for both sending data to the medium particles and sending data to the medium particles according to actual needs. In this case, read-write separation is no longer achieved, but read-write merging is achieved.
[0111] Exemplarily, in addition to the pins described above, the dielectric particles also include pins for connecting signal lines. Figure 6 and Figure 7 In the case where the signal line includes a request signal line and a feedback signal line, the pins for connecting the signal lines included in the medium particles are: an output pin (output pin, o / p) for connecting the request signal line, and an input pin (input pin, i / p) for connecting the feedback signal line.
[0112] In an exemplary embodiment, the storage medium further includes a state machine, which is used to record the state of the medium particle, and the state of the medium particle includes an idle state (I), a ready state (R), a data transmission state (T), and a data transmission state of other medium particles (B). The transmission state of other medium particles is used to indicate that other medium particles located before the medium particle are transmitting data. The various states of the medium particles can be found in the following text. Fig.11 Description of the data transfer method shown.
[0113] The present application also provides a storage element. Figure 8 As shown, the storage element includes a controller and a storage medium, and the controller and at least two medium particles included in the storage medium are connected via a bus. The storage medium is the above Figure 1-7Any storage medium shown. Wherein, the bus is used for data transmission between the controller and the medium particles. The data transmission process includes the above-mentioned reading process and writing process. During the reading process, the medium particles send data to the controller. During the writing process, the controller sends data to the medium particles.
[0114] For example, Fig. 9 As shown, the bus includes a first data bus and a second data bus to achieve read-write separation. Fig. 9 , the first data bus includes DQ_R and DQS_R. Among them, DQ_R is used for the medium particles to send data to the controller, and DQS_R is used for the medium particles to send clock signals to the controller, so that the controller and the medium particles can align the clock signals during the reading process. The second data bus includes DQ_W and DQS_W. Among them, DQ_W is used for the controller to send data to the medium particles, and DQS_W is used for the controller to transmit clock signals to the medium particles, so that the controller and the medium particles can align the clock signals during the writing process. The above clock signals are used to indicate the clock cycle, which is the minimum time unit for data transmission between the controller and the medium particles.
[0115] Continue to see Fig. 9 In addition to the above-mentioned first data bus and second data bus, a chip enable (CE) bus and a chip address (CA) bus are also included between the controller and the medium particles. The CE bus is used for the controller to send an enable signal to the medium particles so that the medium particles have data transmission capabilities. The CA bus is used for the controller to send data transmission instructions to the medium particles, and the data transmission instructions include address information and operation types. The address information is used to indicate the physical address of the data to be transmitted in the medium particles. The operation type is used to indicate the operation that the medium particles need to perform. Exemplarily, the operations that the medium particles need to perform include but are not limited to reading and writing, etc.
[0116] The embodiments of the present application provide Figure 8 or Fig. 9 The storage element shown can be used for data transmission. The data transmission method is described below. Fig.11 The corresponding instructions are not repeated here.
[0117] The present application also provides a storage medium configuration method for Figure 1-7 It should be noted that the method can be applied to Figure 8 or Fig. 9 Alternatively, the method can also be applied to other devices that can be used with Figure 1-7 In an electronic device connected to any of the storage media shown. Fig.10 As shown, the storage medium configuration method includes the following steps 1001 and 1002.
[0118] Step 1001: Acquire signal line information of a storage medium, where the signal line information is used to indicate signal lines in the storage medium.
[0119] The signal line information of the storage medium may be generated in the process of encapsulating medium particles to obtain the storage medium, and the embodiment of the present application does not limit the method for obtaining the signal line information.
[0120] Step 1002, configuring the level of the signal line indicated by the signal line information, the level of the signal line is controlled by two medium particles connected by the signal line, and the level of the signal line is used by at least two medium particles included in the storage medium to determine the order of transmitting data through the bus.
[0121] By configuring the level of the signal line, the priority of the medium particles can be adjusted. For example, corresponding to the above description, Figure 3 as well as Figure 4 , the level of one signal line is fixed, and the levels of other signal lines are controlled by two medium particles connected by other signal lines according to data transmission conditions. For another example, corresponding to the above description of case A2 and Figure 5 , the levels of the signal lines are all fixed levels.
[0122] In an exemplary embodiment, the medium particles in the at least two medium particles include a selector and a register, and the selector and the register are described above and will not be described again. Accordingly, configuring the level of the signal line indicated by the signal line information includes: configuring the selector so that the selector selects the first end or the second end.
[0123] For a signal line, the signal line has a corresponding target medium particle. The target medium particle includes a selector and a register associated with the signal line. Therefore, when the level of the signal line needs to be configured, the embodiment of the present application first determines the target medium particle corresponding to the signal line. Then, the selector included in the target particle is configured so that the selector selects the first end or the second end, thereby realizing the configuration of the level of the signal line.
[0124] The present application also provides a data transmission method for Figure 8 or Fig. 9 The storage element shown. Fig.11 As shown, the method includes the following steps 1101 to 1103.
[0125] Step 1101: A controller sends a data transmission instruction to a first medium particle among at least two medium particles, where the first medium particle is any one of the at least two medium particles.
[0126] The controller first passes Fig. 9 The CE bus shown sends an enable signal to the first medium particle, and the enable signal is used to enable the first medium particle. Fig. 9 The CA bus shown sends a data transmission instruction to the first medium particle.
[0127] Step 1102: The first medium particle receives a data transmission instruction sent by the controller.
[0128] Since the controller sends the data transmission instruction to the first medium particle, the first medium particle receives the data transmission instruction accordingly.
[0129] Step 1103: The first medium particle transmits data and a data identifier corresponding to the data to the controller through a bus based on the data transmission instruction and the level of the signal line in the storage medium. The level of the signal line is controlled by two medium particles connected by the signal line. The level of the signal line is used by at least two medium particles to determine the order of transmitting data through the bus.
[0130] The first medium particle transmits data and a data identifier to the controller through the bus, and the data identifier is used by the controller to determine which medium particle of at least two medium particles the data is transmitted by. Exemplarily, the data identifier is an identifier of the first medium particle, and the identifier of the first medium particle is used to indicate the first medium particle. Then, after receiving the data and the identifier of the first medium particle, the controller can determine that the data is transmitted by the first medium particle of at least two medium particles according to the identifier of the first medium particle.
[0131] In an exemplary embodiment, the first medium particle transmits data and a data identifier corresponding to the data to the controller through a bus based on the data transmission instruction and the level of the signal line in the storage medium, including the following three cases B1-B3.
[0132] In case B1, the level of the first signal line in the signal line is a fixed level, and the level of the second signal line in the signal line except the first signal line is controlled by two medium particles connected by the second signal line according to the data transmission situation. The first signal line is located between the first medium particle and the next medium particle of the first medium particle, and the data transmission instruction is used to instruct the first medium particle to transmit data.
[0133] In case B1, the first medium particle is the medium particle with the highest priority, and the priorities of the medium particles before the first medium particle decrease in sequence. Figure 3, the first medium particle is medium particle 3. The priorities of medium particle 3, medium particle 2, medium particle 1, and medium particle 0 decrease in sequence.
[0134] The data transmission instruction is used to instruct the first medium particle to send data and data identification to the controller. Then the first medium particle transmits data and data identification corresponding to the data to the controller through the bus based on the data transmission instruction and the level of the signal line in the storage medium, including: the first medium particle completes preparation based on the data transmission instruction. When it is detected that the first signal line is at a fixed level, and it is determined through the level of the third signal line that the first medium particle has not authorized the previous medium particle of the first medium particle, the data and data identification are sent to the controller through the bus, and the third signal line is the second signal line located between the first medium particle and the previous medium particle, and the authorization is used to indicate that data transmission through the bus is allowed.
[0135] Among them, after the preparation is completed, the first medium particle has the ability to transmit data. When the first medium particle detects that the first signal line is at a fixed level, the first medium particle determines that it does not need to request authorization from the next medium particle, and has obtained authorization from the next medium particle. When the first medium particle determines through the level of the third signal line that the first medium particle has not authorized the previous medium particle, it means that the medium particles before the first medium particle have not performed data transmission. Therefore, the first medium particle can determine that the bus is idle, so that data can be transmitted through the bus, that is, data and data identifiers can be sent to the controller through the bus.
[0136] Still see Figure 3 , the first medium particle is medium particle 3. The first signal line is RDY 3 and ACK 0, and the third signal line is RDY 2 and ACK 3. When medium particle 3 detects that the level of RDY 3 is level 0, the level of ACK 0 is level 1, and the level of ACK 3 is level 0, medium particle 3 determines that the bus is idle, and thus sends data and data identification to the controller through the bus.
[0137] Exemplarily, after the first medium particle transmits data and a data identifier corresponding to the data to the controller via the bus, the method further includes: the first medium particle determines that the previous medium particle requests authorization in response to the level of the third signal line, and when it is determined that the first medium particle has not sent, authorizes the previous medium particle by controlling the level of the third signal line. In case B1, since the first medium particle has the highest priority, when the previous medium particle requests authorization from the first medium particle, as long as the first medium particle has not sent, the previous medium particle can be authorized. The first medium particle has not sent, that is, the first medium particle has not sent data and data identifier to the controller via the bus.
[0138] In some embodiments, after the first media particle starts to send and before the first media particle completes sending, it determines that the last media particle requests authorization. Then, after the first media particle completes sending, it determines that the first media particle has not sent, and then authorizes the last media particle after the first media particle completes sending. In other embodiments, after the first media particle starts to send and completes sending, it determines that the last media particle requests authorization. Then, the first media particle can directly authorize the last media particle.
[0139] Still see Figure 3 , the medium particle 2 controls the level of RDY 2 to be level 1 to request authorization from the medium particle 3. When the medium particle 3 detects that the level of RDY 2 is level 1, it determines that the medium particle 2 requests authorization. In response to the medium particle 3 not sending data and data identification to the controller through the bus, the medium particle 3 controls the level of ACK 3 to be level 1, thereby authorizing the medium particle 2.
[0140] Exemplarily, after the first media particle authorizes the previous media particle by controlling the level of the third signal line, the method further includes: in response to determining through the level of the third signal line that the previous media particle requests to cancel the authorization, the first media particle cancels the authorization to the previous media particle by controlling the level of the third signal line.
[0141] like Figure 3 As shown, after the medium particle 3 authorizes the medium particle 2, the medium particle 2 may also control the level of RDY 2 to be level 0, so as to request the medium particle 3 to cancel the authorization. When the medium particle 3 detects that the level of RDY 2 is level 0, it determines that the medium particle 2 requests to cancel the authorization. Afterwards, the medium particle 3 controls the level of ACK 3 to be level 0, so as to request the medium particle 2 to cancel the authorization.
[0142] In case B2, the level of the first signal line in the signal line is controlled by the first dielectric particle and the next dielectric particle of the first dielectric particle according to the data transmission situation, the level of a second signal line in the signal line except the first signal line is a fixed level, and the first signal line is located between the first dielectric particle and the next dielectric particle.
[0143] In case B2, the first media particle does not have the highest priority. The priorities of media particles before the first media particle decrease in sequence, and the priorities of media particles after the first media particle increase in sequence. For example, see Figure 4 , the first medium particle is medium particle 1. The priorities of medium particle 3, medium particle 2, medium particle 1, and medium particle 0 decrease in sequence.
[0144] The data transmission instruction is used to instruct the first medium particle to send data and data identification to the controller. Based on the data transmission instruction and the level of the signal line in the storage medium, the first medium particle transmits data and the data identification corresponding to the data to the controller through the bus, including: the first medium particle completes preparation based on the data transmission instruction. When the first medium particle determines through the level of the third signal line that the first medium particle has not authorized the previous medium particle of the first medium particle, the first medium particle requests authorization from the next medium particle by controlling the level of the first signal line, the third signal line is the second signal line located between the first medium particle and the previous medium particle, and the authorization is used to indicate that data transmission through the bus is allowed. When the first medium particle determines through the level of the first signal line that the next medium particle has authorized, the first medium particle transmits data and the data identification corresponding to the data to the controller through the bus.
[0145] Among them, the first medium particle after preparation has the ability to transmit data. When the first medium particle determines through the level of the third signal line that the first medium particle has not authorized the previous medium particle, it means that the medium particles before the first medium particle have not performed data transmission. However, since the first medium particle does not have the highest priority, the first medium particle still needs to request authorization from the medium particle with a higher priority. When the first medium particle obtains the authorization of the medium particle with a higher priority, it can determine that the bus is idle, so that data can be transmitted through the bus, that is, data can be sent to the controller through the bus.
[0146] See also Figure 4 , the first medium particle is medium particle 1. The first signal line is RDY 1 and ACK 2, and the third signal line is RDY 0 and ACK 1. When medium particle 1 detects that the level of ACK 1 is level 0, medium particle 1 controls the level of RDY 1 to level 1 to request authorization from medium particle 2. If medium particle 2 does not need to occupy the bus, medium particle 2 controls the level of RDY 2 to level 1 to request authorization from medium particle 3 with the highest priority. If medium particle 3 does not need to occupy the bus, medium particle 3 controls the level of ACK 3 to level 1 to authorize medium particle 2. After detecting that the level of ACK 3 is level 1, medium particle 2 confirms that the authorization of medium particle 3 is obtained, thereby controlling the level of ACK 2 to level 1 to authorize medium particle 1. After detecting that the level of ACK 2 is level 1, medium particle 1 confirms that the authorization of medium particle 2 is obtained, thereby determining that the bus is idle in combination with the above-mentioned level of ACK 1 being level 0, medium particle 1 can send data and data identification to the controller through the bus.
[0147] In an exemplary embodiment, after the first media particle transmits data and data identification to the controller via the bus, the method further includes: the first media particle requests the next media particle to cancel authorization by controlling the level of the first signal line. The first media particle determines that the next media particle has canceled authorization by the level of the first signal line. After the first media particle starts to send and completes the sending, the first media particle does not need to continue to occupy the bus, so it requests the next media particle to cancel authorization and determines that the next media particle has canceled authorization.
[0148] For example, see Figure 4 , medium particle 1 controls the level of RDY 1 to level 0 to request medium particle 2 to cancel authorization. Medium particle 2 controls the level of RDY 2 to level 0 to request medium particle 3 with the highest priority to cancel authorization. Medium particle 3 controls the level of ACK 3 to level 0 to cancel authorization for medium particle 2. After detecting that the level of ACK 3 is level 0, medium particle 2 confirms that medium particle 3 has canceled authorization, and thus controls the level of ACK 2 to level 0 to cancel authorization for medium particle 1. After detecting that the level of ACK 2 is level 0, medium particle 1 confirms that medium particle 2 has canceled authorization, and the bus is released.
[0149] In an exemplary embodiment, the first medium particle requests the next medium particle to cancel authorization by controlling the level of the first signal line, including: before the first medium particle completes sending, the first medium particle determines through the level of the third signal line that the previous medium particle has not requested authorization, and then requests the next medium particle to cancel authorization by controlling the level of the first signal line. Figure 4 , before and after the medium particle 1 completes the transmission, the level of RDY 0 is kept at level 0, then after the medium particle 1 completes the transmission, it is confirmed that the medium particle 0 does not request authorization. Afterwards, the medium particle 1 can control the level of RDY 1 to level 0 to request to cancel the authorization.
[0150] In an exemplary embodiment, the method further includes: before the first media particle completes sending, if the first media particle determines that the previous media particle requests authorization through the level of the third signal line, then after completing the sending, the first media particle authorizes the previous media particle by controlling the level of the third signal line. If the previous media particle requests authorization from the first media particle during the first media particle sending, then after completing the sending, the first media particle does not request to cancel authorization from the next media particle, but authorizes the previous media particle. For example, see Figure 4After medium particle 1 starts to send and before it completes sending, medium particle 0 controls the level of RDY 0 to level 1. After medium particle 1 completes sending, since it detects that the level of RDY 0 is level 1, it does not control the level of RDY 1 to level 0 temporarily, but controls the level of ACK 1 to level 1 to authorize medium particle 0.
[0151] In an exemplary embodiment, after the first media particle determines through the level of the first signal line that the next media particle has cancelled authorization, the method further includes: the first media particle requests authorization from the next media particle by controlling the level of the first signal line when the first media particle determines through the level of the third signal line that the previous media particle requested authorization and the first media particle has not sent anything. The first media particle is also used to authorize the previous media particle by controlling the level of the third signal line when the next media particle is determined through the level of the first signal line to be authorized. If the first media particle determines that the previous media particle requested authorization after requesting the next media particle to cancel authorization, the first media particle needs to request authorization from the next media particle again to authorize the previous media particle.
[0152] For example, see Figure 4 , after medium particle 1 has requested to cancel authorization, the levels of RDY 1 and ACK 2 are both level 0. At this time, medium particle 0 requests authorization from medium particle 1 by controlling the level of RDY 0 to level 1. Then medium particle 1 needs to set the level of RDY 1 to level 1 again to request authorization from medium particle 2. After detecting that the level of ACK 2 is level 1, it is determined that medium particle 2 has authorized. Afterwards, medium particle 1 further controls the level of ACK 1 to level 1 to authorize medium particle 0.
[0153] Exemplarily, after the first media particle authorizes the previous media particle by controlling the level of the third signal line, the method further includes: the first media particle determines that the previous media particle requests to cancel authorization according to the level of the third signal line, and the first media particle requests to cancel authorization to the next media particle by controlling the level of the first signal line. After determining that the next media particle has canceled authorization by the level of the first signal line, the first media particle cancels authorization to the previous media particle by controlling the level of the third signal line. For example, see Figure 4 , medium particle 0 controls the level of RDY 0 to level 0 to request medium particle 1 to cancel authorization. Medium particle 1 controls the level of RDY 1 to level 0 to request medium particle 2 to cancel authorization, and after detecting that the level of ACK 2 is level 0, it determines that medium particle 2 has canceled authorization. Afterwards, medium particle 1 further controls the level of ACK 1 to level 0 to cancel authorization to medium particle 0.
[0154] In an exemplary embodiment, the bus includes a first data bus and a second data bus. For the above case B1 and case B2, the first medium particle transmits data and a data identifier corresponding to the data to the controller through the bus, including: the first medium particle sends the data and the data identifier to the controller through the first data bus, and the second data bus is used by the controller to send the data to be written to at least two medium particles, thereby realizing read-write separation.
[0155] According to the above Fig. 9 It can be seen from the corresponding description that the clock cycle is the minimum time unit for data transmission. In some embodiments, the first medium particle sends a data identifier to the controller in the first clock cycle, and sends data to the controller in at least one clock cycle after the first clock cycle. In other embodiments, the first medium particle sends the data identifier and the data alternately in different clock cycles.
[0156] In case B3, the level of each signal line is a fixed level.
[0157] In case B3, the priority of each medium particle is the same. For example, see Figure 5 The first medium particle can be any one of medium particle 3, medium particle 2, medium particle 1, and medium particle 0.
[0158] The data transmission instruction is used to instruct the first medium particle to prepare. The first medium particle transmits data and a data identifier corresponding to the data to the controller through the bus based on the data transmission instruction and the level of the signal line in the storage medium, including: the first medium particle completes the preparation based on the data transmission instruction when detecting that the first signal line is at a fixed level and the third signal line is also at a fixed level, the first signal line is located between the first medium particle and the next medium particle of the first medium particle, and the third signal line is located between the first medium particle and the previous medium particle of the first medium particle. The first medium particle transmits data and a data identifier corresponding to the data to the controller through the bus according to the control of the controller.
[0159] When the first medium particle detects that the first signal line is at a fixed level, the first medium particle determines that it is not necessary to request authorization from the next medium particle, and has obtained authorization from the next medium particle. When the first medium particle detects that the third signal line is at a fixed level, the first medium particle determines that the previous medium particle did not request authorization, and has authorized the previous medium particle. Therefore, the first medium particle determines that the priorities of each medium particle are equal, and there is no need to authorize or cancel authorization between different medium particles. Then the first medium particle can prepare directly. Exemplarily, after the first medium particle completes preparation based on the data transmission instruction, it can continue to wait for other instructions sent by the controller, which are used to instruct the first medium particle to send data and data identification to the controller.
[0160] For example, see Figure 5 , taking the first medium particle as medium particle 2 as an example, the first signal line is RDY 2 and ACK3, and the third signal line is RDY 1 and ACK 2. After receiving the data transmission instruction, medium particle 2 detects that the level of RDY 2 is level 0, the level of ACK 3 is level 1, and the level of RDY 1 is level 0, and the level of ACK 2 is level 1, then medium particle 2 prepares based on the data transmission instruction. Then, after receiving other instructions sent by the controller, medium particle 2 can send data and data identifiers to the controller based on other instructions.
[0161] In case B3, after receiving other instructions, the first medium particle transmits data and the data identifier corresponding to the data to the controller through the bus. In case B3, the first medium particle does not determine the data to be transmitted through the bus by itself after completing the preparation, so the first medium particle does not occupy the bus by itself to complete the data transmission, but needs to complete the data transmission according to the control of the controller. Since in the communication protocol provided by the related art, the medium particle also needs to complete the data transmission according to the control of the controller, so case B3 can be compatible with the communication protocol of the related art. The communication protocol in the related art includes but is not limited to the common flash interface (CFI) protocol, etc.
[0162] In an exemplary embodiment, the bus includes a first data bus and a second data bus. The first medium particle transmits data and a data identifier corresponding to the data to the controller through the bus, including: the first medium particle sends the data and the data identifier corresponding to the data to the controller through a target data bus, the target data bus is the first data bus or the second data bus, and the target data bus is also used by the controller to send data to be written to at least two medium particles, thereby realizing read-write merging. The method of sending data and data identifiers to the controller through the target data bus can refer to the method of sending data and data identifiers to the controller through the first data bus in the above description, and will not be repeated here.
[0163] In addition, in an exemplary embodiment, the storage medium includes a state machine, which is used to record the state of the first medium particle, that is, the idle state, the prepared state, the data transmission state, and the data transmission state of other medium particles. Fig.11 In the data transmission method shown, the state machine records the state of the first medium particle in the following manner.
[0164] Before the first media particle completes preparation and after the first media particle completes sending data and data identification, the state machine records the state of the first media particle as an idle state. After the first media particle completes preparation, the state of the first media particle is a prepared state. When the first media particle sends data and data identification to the controller, the state of the first media particle is a data transmission state. After the first media particle authorizes the previous media particle of the first media particle, the state of the first media particle is a data transmission state of other media particles, thereby indicating that other media particles located before the first media particle are performing data transmission.
[0165] In summary, in the embodiment of the present application, the medium particles can determine the order of transmitting data through the bus according to the level of the signal line, so the medium particles can occupy the bus to complete the data transmission after completing the preparation, without consuming processing resources to poll and check whether the medium particles have completed the preparation. Thus, processing resources are saved, the delay of data transmission is reduced, and the data transmission efficiency is improved.
[0166] Furthermore, since at least two dielectric particles are connected in order to form a closed loop, the embodiment of the present application does not need to determine the priority of the dielectric particles when encapsulating the dielectric particles, but can adjust the priority of the dielectric particles after the encapsulation is completed.
[0167] In an optional embodiment, the above-mentioned storage medium may include a read-only storage medium and a random access storage medium. The storage medium may also include a non-volatile random access storage medium. For example, the storage medium may also store information of the device type. The storage medium may be a volatile storage medium or a non-volatile storage medium, or may include both volatile and non-volatile storage media. Among them, the non-volatile storage medium may be a storage scale memory (SCM), a read-only storage medium (ROM), a programmable read-only storage medium (PROM), an erasable programmable read-only storage medium (EPROM), an electrically erasable programmable read-only storage medium (EEPROM), or a flash memory. The volatile storage medium may be a random access storage medium (RAM), which is used as an external cache. By way of exemplary but not limiting description, many forms of RAM are available. For example, static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DR RAM).
[0168] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the process or function according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that can be accessed by the computer or a data storage device such as a server or data center that contains one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state hard disk solid state disk), etc.
[0169] In this application, the terms "first", "second", etc. are used to distinguish between identical or similar items with substantially the same effects and functions. It should be understood that there is no logical or temporal dependency between "first", "second", and "nth", nor is there a limit to the quantity and execution order. It should also be understood that although the following description uses the terms first, second, etc. to describe various elements, these elements should not be limited by the terms. These terms are only used to distinguish one element from another element.
[0170] It should also be understood that in each embodiment of the present application, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0171] The term "at least one" in this application means one or more. The term "multiple" in this application means two or more. For example, multiple second devices refer to two or more second devices. The terms "system" and "network" are often used interchangeably herein.
[0172] It should be understood that the terms used in the description of various examples herein are only for describing specific examples and are not intended to be limiting. As used in the description of various examples and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
[0173] It should also be understood that the terms "if" and "if" may be interpreted to mean "when" or "upon" or "in response to determining" or "in response to detecting." Similarly, the phrases "if it is determined that ..." or "if [a stated condition or event] is detected" may be interpreted to mean "upon determining that ..." or "in response to determining that ..." or "upon detecting [a stated condition or event]" or "in response to detecting [a stated condition or event]," depending on the context.
[0174] The above are only embodiments of the present application and are not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A storage medium, characterized in that: The storage medium includes at least two medium particles, the at least two medium particles are sequentially connected through a signal line to form a closed loop, and the at least two medium particles are used to transmit data with the controller through a bus; The order in which the at least two medium particles transmit data to the controller via the bus is set by setting the level of the signal line.
2. The storage medium according to claim 1, characterized in that The level of any one signal line is a fixed level, or the levels of each signal line are fixed levels.
3. The storage medium according to claim 1 or 2, characterized in that: The medium particles of the at least two medium particles include a selector and a register, the selector is used to select the first end or the second end of the selector, the first end is used to configure the level of the signal line associated with the register to a fixed level, and the second end is used to indicate that the level of the signal line is controlled by the two medium particles connected by the signal line according to the data transmission situation.
4. The storage medium according to claim 3, characterized in that One of the two dielectric particles connected by the signal line includes the selector and the register.
5. The storage medium according to claim 4, characterized in that The two medium particles connected by the signal line both include the selector and the register.
6. The storage medium according to any one of claims 1 to 5, characterized in that: The signal lines include a request signal line and a feedback signal line.
7. The storage medium according to claim 6, characterized in that When the level of the signal line is a fixed level, the level of the request signal line is a first level, the first level is used to indicate that authorization is not requested, and the level of the feedback signal line is a second level, the second level is used to indicate authorization, and the authorization is used to indicate that data transmission through the bus is allowed.
8. The storage medium according to claim 6, characterized in that In the case where the level of the signal line is controlled by two medium particles connected by the signal line according to the data transmission situation, the level of the request signal line is a first level or a third level, the first level is used to indicate that authorization is not requested, and the third level is used to indicate that authorization is requested, and the level of the feedback signal line is a second level or a fourth level, the second level is used to indicate authorization, the fourth level is used to indicate unauthorization, and the authorization is used to indicate that data transmission through the bus is allowed.
9. The storage medium according to any one of claims 1 to 8, characterized in that: The storage medium also includes a state machine, which is used to record the state of the media particles. The state of the media particles includes an idle state, a prepared state, a data transmission state, and other media particle data transmission states. The other media particle transmission states are used to indicate that other media particles located before the media particles are performing data transmission.
10. The storage medium according to any one of claims 1 to 9, characterized in that: The medium particle comprises a first data pin and a second data pin, the bus comprises a first data bus and a second data bus, the first data pin is used to connect the first data bus, and the second data pin is used to connect the second data bus; The first data bus is used for the at least two medium particles to send data, and the second data bus is used for sending data to the at least two medium particles.
11. A storage element, characterized in that: The storage element comprises a controller and the storage medium according to any one of claims 1 to 10, wherein the controller is connected to at least two medium particles included in the storage medium via a bus; The controller is used to send a data transmission instruction to a first medium particle among the at least two medium particles, where the first medium particle is any one of the at least two medium particles; The first medium particle is used to receive the data transmission instruction sent by the controller; The first media particle is further configured to respond to the data transmission instruction and transmit data to the controller in an order determined by the level of a signal line connecting the first media particle and other media particles.
12. The memory element according to claim 11, characterized in that When the first medium particle transmits data to the controller, it is also used to transmit a data identifier corresponding to the data, and the data identifier is used to identify the position of the first medium particle in the storage medium.
13. The memory element according to claim 12, characterized in that The level of a first signal line among the signal lines is a fixed level, the level of a second signal line among the signal lines except the first signal line is controlled by two medium particles connected by the second signal line according to data transmission conditions, the first signal line is located between the first medium particle and a medium particle next to the first medium particle, and the data transmission instruction is used to instruct the first medium particle to transmit data; The first medium particle is used to complete the preparation based on the data transmission instruction; The first medium particle is used to send the data and the data identifier to the controller through the bus when it is detected that the first signal line is at the fixed level and it is determined through the level of the third signal line that the first medium particle has not authorized the previous medium particle of the first medium particle. The third signal line is a second signal line located between the first medium particle and the previous medium particle, and the authorization is used to indicate that data transmission through the bus is allowed.
14. The memory element according to claim 13, characterized in that The first medium particle is further configured to, after completing transmission, determine, in response to the level of the third signal line, that the previous medium particle requests authorization, and if it is determined that the first medium particle has not transmitted, authorize the previous medium particle by controlling the level of the third signal line.
15. The memory element according to claim 12, characterized in that The level of a first signal line among the signal lines is controlled by the first medium particle and the next medium particle of the first medium particle according to the data transmission situation, the level of a second signal line among the signal lines except the first signal line is the fixed level, the first signal line is located between the first medium particle and the next medium particle, and the data transmission instruction is used to instruct the first medium particle to transmit data; The first medium particle is used to complete the preparation based on the data transmission instruction; The first medium particle is used to request authorization from the next medium particle by controlling the level of the first signal line when it is determined through the level of the third signal line that the first medium particle has not authorized the previous medium particle of the first medium particle, the third signal line is a second signal line located between the first medium particle and the previous medium particle, and the authorization is used to indicate permission to transmit data through the bus; The first medium particle is used for transmitting the data and a data identifier corresponding to the data to the controller through the bus when it is determined through the level of the first signal line that the next medium particle is authorized.
16. The memory element according to claim 15, characterized in that The first medium particle is further used to request the next medium particle to cancel authorization by controlling the level of the first signal line after completing the sending; The first medium particle is further used to determine, through the level of the first signal line, that the next medium particle has been deauthorized.
17. The memory element according to claim 16, characterized in that The first medium particle is used for requesting the next medium particle to cancel authorization by controlling the level of the first signal line when the previous medium particle has not requested authorization by the level of the third signal line before the first medium particle completes sending.
18. The memory element according to claim 17, characterized in that The first medium particle is further configured to, before the first medium particle completes sending, determine through the level of the third signal line whether the previous medium particle requests authorization, and then, after completing sending, authorize the previous medium particle by controlling the level of the third signal line.
19. The storage element according to any one of claims 16 to 18, characterized in that: The first medium particle is further configured to, after determining through the level of the first signal line that the next medium particle has cancelled authorization, and when it is determined through the level of the third signal line that the previous medium particle has requested authorization and the first medium particle has not sent any signal, request authorization from the next medium particle by controlling the level of the first signal line; The first medium particle is further configured to authorize the previous medium particle by controlling the level of the third signal line when it is determined through the level of the first signal line that the next medium particle has been authorized.
20. The storage element according to any one of claims 12 to 18, characterized in that: The bus includes a first data bus and a second data bus; The first medium particle is used to send the data and the data identifier to the controller via the first data bus, and the second data bus is used by the controller to send the data to be written to the at least two medium particles.
21. The memory element according to claim 12, characterized in that The level of each signal line is a fixed level, and the data transmission instruction is used to instruct the first medium particle to prepare; The first medium particle is used to complete the preparation based on the data transmission instruction when it is detected that the first signal line is at the fixed level and the third signal line is also at the fixed level, the first signal line is located between the first medium particle and a next medium particle of the first medium particle, and the third signal line is located between the first medium particle and a previous medium particle of the first medium particle; The first medium particle is used to transmit the data and a data identifier corresponding to the data to the controller through the bus according to the control of the controller.
22. The memory element according to claim 21, characterized in that The bus includes a first data bus and a second data bus; The first medium particle is used to send the data and the data identifier corresponding to the data to the controller through a target data bus, the target data bus is the first data bus or the second data bus, and the target data bus is also used by the controller to send the data to be written to the at least two medium particles.
23. The storage element according to any one of claims 11 to 22, characterized in that: The medium particle of the at least two medium particles comprises a selector and a register; In response to the level of the signal line being a fixed level, the selector has selected the first end of the selector, and the first end is used to configure the level of the signal line associated with the register to the fixed level; In response to the level of the signal line being controlled by two medium particles connected through the signal line according to data transmission conditions, the selector has selected the second end of the selector, and the second end is used to indicate that the level of the signal line is controlled by the two medium particles connected through the signal line according to data transmission conditions.
24. The storage element according to any one of claims 11 to 23, characterized in that: The signal line includes a request signal line and a feedback signal line. In response to the level of the signal line being a fixed level, the level of the request signal line is a first level, and the first level is used to indicate that authorization is not requested. The level of the feedback signal line is a second level, and the second level is used to indicate that authorization has been requested. The authorization is used to indicate that data transmission through the bus is allowed.
25. The storage element according to any one of claims 11 to 23, characterized in that: The signal line includes a request signal line and a feedback signal line. In response to the level of the signal line being controlled by two medium particles connected by the signal line according to the data transmission situation, the level of the request signal line is a first level or a third level, the first level is used to indicate that authorization is not requested, and the third level is used to indicate that authorization is requested. The level of the feedback signal line is a second level or a fourth level, the second level is used to indicate authorization, the fourth level is used to indicate unauthorization, and the authorization is used to indicate that data transmission through the bus is allowed.
26. The memory element according to any one of claims 12 to 25, characterized in that: The storage medium includes a state machine, and the state machine is used to record the state of the first medium particles; Before the first medium particle completes preparation and after the first medium particle completes sending the data and the data identifier, the state of the first medium particle is an idle state; After the first medium particles are prepared, the state of the first medium particles is a prepared state; When the first medium particle sends the data and the data identifier to the controller, the state of the first medium particle is a data transmission state; After the first media particle authorizes the previous media particle of the first media particle, the state of the first media particle is the other media particle data transmission state, and the other media particle data transmission state is used to indicate that the other media particles located before the first media particle are performing data transmission.
Citation Information
Patent Citations
Data transmission method, device and system of data storage system
CN104239252A
Data transfer system
JP1993324547A
High performance interconnect physical layer
US20140115207A1
Memory system
US20140181439A1
Electronic device for providing translation service and method thereof
US20170364512A1