Instruction conversion system and instruction conversion method

CN116166591BActive Publication Date: 2026-08-07REALTEK SEMICON CORP
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
REALTEK SEMICON CORP
Filing Date
2021-11-25
Publication Date
2026-08-07

AI Technical Summary

Benefits of technology

[0008]根据前述实施例,可在满足不同传收接口的指令执行顺序需求的情况下让指令可以顺利的被接收和执行,让遵循不同规范的装置能够平顺的连接和运行。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116166591B_ABST
    Figure CN116166591B_ABST
Patent Text Reader

Abstract

An instruction conversion method used in an instruction conversion system including a first transmission / reception interface and a second transmission / reception interface, the instruction conversion method comprising: receiving at least one instruction transmitted by a first device through the first transmission / reception interface; determining a first order rule and a second order rule by the instruction conversion system, the first order rule representing whether the first device needs to process the instruction according to an order, and the second order rule representing whether a second device needs to process the instruction according to the order; transmitting the instruction to the second device through the second transmission / reception interface; processing the instruction by the second device according to the second order rule and transmitting a reply to the second transmission / reception interface; and transmitting the reply to the first device through the first transmission / reception interface according to the first order rule.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to an instruction conversion system and an instruction conversion method, and particularly to an instruction conversion system and an instruction conversion method that can control instruction conversion according to sequence requirements. Background Technology

[0002] With the development of electronic technology, transmission and reception interfaces have become increasingly diverse and faster. Therefore, high-speed transmission and reception interface conversion technologies are frequently used. Examples include USB (Universal Serial Bus) to PCIe (Peripheral Component Interconnect Express, a high-speed serial computer expansion bus standard) and USB to SATA (Serial Advanced Technology Attachment).

[0003] To ensure the smooth transmission of instructions through these high-speed transmit / receive interfaces, an instruction translation system is typically built that can be compatible with and convert between two different interfaces. However, the characteristics and specifications of each high-speed transmit / receive interface differ; some interfaces require instructions to be processed sequentially, while others do not. Therefore, how the instruction translation system can successfully receive and execute instructions while meeting the instruction execution order requirements of different interfaces becomes a crucial consideration. Summary of the Invention

[0004] One objective of this invention is to provide an instruction conversion method that meets the instruction execution order requirements of different transmission and reception interfaces.

[0005] Another objective of this invention is to provide an instruction conversion system that meets the instruction execution order requirements of different transmission and reception interfaces.

[0006] An embodiment of the present invention discloses an instruction conversion method used in an instruction conversion system including a first receiving interface and a second receiving interface, comprising: receiving at least one instruction transmitted by a first device through the first receiving interface; determining, through the instruction conversion system, a first order rule of the first device and a second order rule of a second device, wherein the first order rule represents whether the first device needs to process the instruction in sequence, and the second order rule represents whether the second device needs to process the instruction in sequence; transmitting the instruction to the second device through the second receiving interface; processing the instruction by the second device according to the second order rule and transmitting a response corresponding to the instruction to the second receiving interface; and transmitting the response to the first device through the first receiving interface according to the first order rule.

[0007] Another embodiment of the present invention discloses an instruction conversion system, comprising: a first receiving interface for receiving at least one instruction transmitted by a first device; a second receiving interface for transmitting the instruction to the second device; and a controller for controlling the operation of the first receiving interface and the second receiving interface. The instruction conversion system determines a first order rule of the first device and a second order rule of the second device, wherein the first order rule represents whether the first device needs to process the instruction in sequence, and the second order rule represents whether the second device needs to process the instruction in sequence. The second receiving interface receives a response generated by the second device after processing the instruction according to the second order rule. The first receiving interface transmits the response to the first device according to the first order rule.

[0008] According to the aforementioned embodiments, instructions can be successfully received and executed while meeting the instruction execution order requirements of different transmission and reception interfaces, enabling devices that conform to different specifications to connect and operate smoothly. Attached Figure Description

[0009] Figure 1 A block diagram of an instruction conversion system according to an embodiment of the present invention is shown.

[0010] Figures 2 to 4 Different embodiments of the present invention are shown. Figure 1 The diagram shows the operation of the instruction conversion system.

[0011] Figure 5 This paper illustrates a practical application example of the instruction conversion system provided by the present invention.

[0012] Figure 6 An instruction conversion method according to an embodiment of the present invention is shown.

[0013] Symbol Explanation

[0014] 100 Instruction Conversion System

[0015] CR1, CRa, CRb controllers

[0016] CMD1, CMD2, CMD3 commands

[0017] CMD1R, CMD2R, CMD3R Reply

[0018] DV1 First Device

[0019] DV2 Second Device

[0020] TRI1 First Transmit / Receive Interface

[0021] TRI2 Second Transmit / Receive Interface

[0022] TRIa and TRIb transmit / receive interfaces

[0023] 500 Instruction Converter

[0024] 501 connector

[0025] Output jacks 503, 505, and 507 Detailed Implementation

[0026] The present invention will be described below with reference to several embodiments. It should be noted that the elements in each embodiment can be implemented by hardware (e.g., a device or circuit) or firmware (e.g., at least one program written to a microprocessor). Furthermore, the terms "first," "second," and similar descriptions in the following description are used only to define different elements, parameters, data, signals, or steps, and are not intended to limit their order.

[0027] Figure 1 A block diagram of an instruction translation system according to an embodiment of the present invention is shown. Figure 1 As shown, the instruction conversion system 100 includes a first transmit / receive interface TRI1, a second transmit / receive interface TRI2, and a controller CR1. The first transmit / receive interface TRI1 receives instructions from a first device DV1 and transmits them to the second transmit / receive interface TRI2. The second transmit / receive interface TRI2 transmits the received instructions to a second device DV2, receives responses from the second device DV2, and transmits the responses back to the first transmit / receive interface TRI1. The first transmit / receive interface TRI1 transmits the responses back to the first device DV1. The first transmit / receive interface TRI1 can be considered a direct interface, while the second transmit / receive interface TRI2 can be considered a non-direct interface. The first device DV1 and the second device DV2 may each include controllers CRa and CRb, and may also each include transmit / receive interfaces TRIa and TRIb.

[0028] The instruction conversion system 100 determines a first sequence rule for a first device DV1 and a second sequence rule for a second device DV2. The first sequence rule indicates whether the first device DV1 needs to process instructions in sequence, and the second sequence rule indicates whether the second device DV2 needs to process instructions in sequence. The second device DV2 processes the instructions according to the second sequence rule and sends a corresponding instruction response to the second transmit / receive interface TRI1. The first transmit / receive interface TRI1 sends a response to the first device DV1 according to the first sequence rule. This determination step can be performed by any element in the instruction conversion system 100. For example, it can be performed by the controller CR1 or the first transmit / receive interface TRI1. The first and second sequence rules can be determined by the types of the first device DV1 and the second device DV2, and by the specifications followed by the first device DV1 and the second device DV2. In addition, the first and second sequence rules can also be forcibly set by the instruction conversion system 100.

[0029] Figures 2 to 4 Different embodiments of the present invention are shown. Figure 1 The diagram shows a block diagram of an instruction translation system. In detail, Figures 2 to 4 The first and second order rules are shown in different states. Figure 1 The diagram shows the operation of the instruction conversion system.

[0030] exist Figure 2 In this embodiment, the first order rule means that the first device DV1 must process the instructions in sequence, and the second order rule means that the second device DV2 must process the instructions in sequence. In this case, the first receiving interface TRI1 receives an instruction CMD1 transmitted by the first device DV1 and transmits instruction CMD1 to the second receiving interface TRI2. However, after transmitting instruction CMD1 to the second device DV2 via the second receiving interface TRI2, before the first device DV1 receives the corresponding reply CMD1R, it will not receive any other instructions from the first device DV1 via the first receiving interface TRI1. Specifically, after transmitting instruction CMD1 to the second device DV2 via the second receiving interface TRI2, if the corresponding reply CMD1R is not received via the second receiving interface TRI2 and the corresponding reply CMD1R is not transmitted to the first device DV1 via the first receiving interface TRI1, it will not receive any other instructions from the first device DV1 via the first receiving interface TRI1.

[0031] In another embodiment, the first order rule still means that the first device DV1 must process the instructions in sequence, and the second order rule still means that the second device DV2 must process the instructions in sequence. However, it is not limited to the first device DV1 not receiving other instructions from the first device DV1 through the first receiving interface TRI1 before the first device DV1 receives the response CMD1R corresponding to instruction CMD1. In this example, the first receiving interface TRI1 receives multiple instructions transmitted by the first device DV1 in a first order, and the second receiving interface TRI2 also transmits multiple instructions to the second device DV2 in a first order. The second device DV2 processes the multiple instructions in the first order and transmits multiple responses corresponding to the multiple instructions to the second receiving interface TRI2, and the first receiving interface TRI1 transmits multiple responses to the first device DV2 in the first order. For example, the first device DV1 transmits three instructions CMD1, CMD2, and CMD3 in sequence (CMD2 and CMD3 are not shown in the diagram). Figure 1 The first receiving interface TRI1 transmits the commands, and then the second receiving interface TRI2 will also transmit the three commands CMD1, CMD2, and CMD3 sequentially to the second device DV2. The second device DV2 processes the commands CMD1, CMD2, and CMD3 sequentially and generates corresponding responses CMD1R, CMD2R, and CMD3R (CMD2R and CMD3R are not shown in the diagram). Figure 1 The device will transmit the responses CMD1R, CMD2R, and CMD3R sequentially to the first device DV1 through the first transmit / receive interface TRI1.

[0032] In another embodiment, a first order rule means that the first device DV1 must process instructions in sequence, and a second order rule means that the second device DV2 does not need to process instructions in sequence. In this case, the first receiving interface TRI1 receives multiple instructions transmitted by the first device DV1 in a first order, and the second receiving interface TRI2 transmits multiple instructions from the first receiving interface TRI1 to the second device DV2 in the same first order or in a different second order. The second device DV2 processes the multiple instructions in a third order and transmits multiple responses corresponding to the multiple instructions to the second receiving interface TRI2, while the first receiving interface TRI1 still transmits multiple responses from the second receiving interface TRI2 to the first device DV1 in the first order. Figure 3 One example of this embodiment is shown. Figure 3In this embodiment, the first device DV1 transmits three commands CMD1, CMD2, and CMD3 in sequence (first order) to the first receiving interface TRI1, and the first receiving interface TRI1 transmits commands CMD1, CMD2, and CMD3 to the second receiving interface TRI2. It should also be noted that since the second device DV2 does not need to process the commands in sequence, the first receiving interface TRI1 can transmit commands CMD1, CMD2, and CMD3 to the second receiving interface TRI2 in any order. Figure 2 In one embodiment, the first receiving interface TRI1 transmits instructions to the second receiving interface TRI2 in the order of instructions CMD1, CMD2, and CMD3 (i.e., the first order).

[0033] The second transmit / receive interface TRI2 can transmit three commands CMD1, CMD2, and CMD3 to the second device DV2 in a first sequence. However, the second transmit / receive interface TRI2 can also transmit commands CMD1, CMD2, and CMD3 to the second device DV2 in a different sequence (a second sequence). The second device DV2 processes commands CMD1, CMD2, and CMD3 in any sequence (a third sequence), and then transmits the corresponding responses to the second transmit / receive interface TRI2 in this arbitrary sequence. Figure 3 In this embodiment, the second device DV2 processes the instructions CMD2, CMD1, and CMD3 in the order they appear and transmits the corresponding responses CMD2R, CMD1R, and CMD3R to the second receiving interface TRI2 in sequence. The second receiving interface TRI2 also transmits the responses CMD2R, CMD1R, and CMD3R to the first receiving interface TRI1 in the same order. The first receiving interface TRI1 transmits the responses CMD1R, CMD2R, and CMD3R to the first device DV1 in a first order, i.e., in sequence. In this case, responses that are not CMD1R (e.g., CMD2R or CMD3R) received first are temporarily stored in the instruction conversion system 100. Once the CMD1R response is received, the responses CMD1R, CMD2R, and CMD3R are transmitted to the first device DV1 in sequence.

[0034] In one embodiment, the next instruction can be transmitted while the previous instruction is still being processed, but this is not limited to this. For example, in Figure 3 After the first device DV1 transmits command CMD1 to the second device DV2 through the first transmit / receive interface TRI1 and the second transmit / receive interface TRI2, while the second device DV2 is processing command CMD1, it can notify the first device DV1 to continue transmitting the next command CMD2. Furthermore, Figure 3 In this embodiment, if the first device DV1 transmits only one instruction, the actions of the first device DV1, the second device DV2, and the instruction conversion system 100 will be synchronized. Figure 2 The embodiments shown are the same.

[0035] In another embodiment, a first order rule means that the first device DV1 does not need to process instructions in sequence, and a second order rule means that the second device DV2 does not need to process instructions in sequence. In this case, the first receiving interface TRI1 receives multiple instructions transmitted by the first device DV1 in a first order, and the second receiving interface TRI2 transmits multiple instructions from the first receiving interface TRI1 to the second device DV2 in the same first order or in a different second order. The second device DV2 processes the multiple instructions in a third order and transmits multiple responses corresponding to the multiple instructions to the second receiving interface TRI2, and the first receiving interface TRI1 transmits multiple responses to the first device DV1 in a third order or a fourth order. Figure 4 One example of this embodiment is shown. Figure 4 In this embodiment, the first device DV1 transmits three commands CMD1, CMD2, and CMD3 in sequence (i.e., the first order) to the first transceiver interface TRI1, and the first transceiver interface TRI1 transmits commands CMD1, CMD2, and CMD3 to the second transceiver interface TRI2. It should also be noted that since the second device DV2 does not need to process the commands in sequence, the first transceiver interface TRI1 can transmit commands CMD1, CMD2, and CMD3 to the second transceiver interface TRI2 in any order. Figure 4 In one embodiment, the first receiving interface TRI1 transmits instructions to the second receiving interface TRI2 in the order of instructions CMD1, CMD2, and CMD3 (i.e., the first order).

[0036] The second transmit / receive interface TRI2 can transmit three commands CMD1, CMD2, and CMD3 to the second device DV2 in a first sequence. However, the second transmit / receive interface TRI2 can also transmit commands CMD1, CMD2, and CMD3 to the second device DV2 in a different sequence (a second sequence). Then, the second device DV2 processes CMD1, CMD2, and CMD3 in any sequence (a third sequence) and transmits the corresponding response back to the second transmit / receive interface TRI2 in that arbitrary sequence. Figure 4 In this embodiment, the second device DV2 processes the instructions CMD2, CMD1, and CMD3 in that order and transmits the corresponding responses CMD2R, CMD1R, and CMD3R to the second receiving interface TRI2 in sequence. The second receiving interface TRI2 also transmits the responses CMD2R, CMD1R, and CMD3R to the first receiving interface TRI1 in the same order. The first receiving interface TRI1 can transmit in a third order, i.e., as shown below. Figure 4The instructions are transmitted to the first device DV1 in sequence, as shown. However, since the first device DV1 does not need to process the instructions in sequence, the first transmit / receive interface TRI1 can transmit CMD1R, CMD2R, and CMD3R to the first device DV1 in a different order (fourth order).

[0037] In one embodiment, the next instruction can be transmitted while the previous instruction is still being processed. For example, after the first device DV1 transmits instruction CMD1 to the second device DV2 via the first receive interface TRI1 and the second receive interface TRI2, the second device DV2, while processing instruction CMD1, can notify the first device DV1 to continue transmitting the next instruction CMD2. Figure 4 In this embodiment, if the first device DV1 transmits only one instruction, the actions of the first device DV1, the second device DV2, and the instruction conversion system 100 will be synchronized. Figure 2 The embodiments shown are the same.

[0038] In summary, if the first sequence rule indicates that the first device DV1 needs to process instructions sequentially, then the order in which the first device DV1 transmits instructions must be the same as the order in which it receives the corresponding responses. For example, if the first device DV1 transmits instructions CMD1, CMD2, and CMD3 in sequence, then... Figure 3 The order in which the corresponding replies are received must be CMD1R, CMD2R, CMD3R. Conversely, if the first order rule means that the first device DV1 does not need to process instructions in sequence, then the order in which the first device DV1 transmits instructions may differ from the order in which it receives the corresponding replies. For example... Figure 4 As shown, if the first device DV1 transmits commands CMD1, CMD2, and CMD3 in sequence, the corresponding responses it receives can be in the order of CMD2R, CMD1R, and CMD3R.

[0039] If the second sequence rule indicates that the second device DV2 needs to process instructions sequentially, then the order in which the second device DV2 receives instructions must be the same as the order in which it processes the instructions and generates the corresponding responses. For example, if the second device DV2 receives instructions CMD1, CMD2, and CMD3 in sequence, then the second device DV2 needs to process the instructions and generate responses CMD1R, CMD2R, and CMD3R in that order. Conversely, if the second sequence rule indicates that the second device DV2 does not need to process instructions sequentially, then the order in which the second device DV2 receives instructions and the order in which it processes the instructions and generates the corresponding responses may be different. Figure 3 and Figure 4As shown, if the second device DV2 receives the instructions CMD1, CMD2, and CMD3 in sequence, the second device DV2 can process the instructions CMD2, CMD1, and CMD3 in sequence and generate corresponding responses CMD2R, CMD1R, and CMD3R.

[0040] Please note that in the foregoing embodiments, only one indirect interface (second receive interface TIR2) and one electronic device connected to the indirect interface (second electronic device DV2) are included. However, this disclosure may also include multiple indirect interfaces and multiple electronic devices connected to the indirect interfaces. For example, the instruction conversion system 100 may further include a third receive interface, which is also an indirect interface. The third receive interface is coupled to a third device. The second receive interface and the third receive interface may be receive interfaces using the same specification or receive interfaces using different specifications. The instruction conversion system 100 may follow the aforementioned rules, that is, determine whether the first device DV1 and the third electronic device need to process instructions in sequence, and then control the operation of the first receive interface TIR2 and the third receive interface accordingly.

[0041] The aforementioned first device DV1 and second device DV2 can be various types of electronic devices. In one embodiment, the first receiving interface TRI1 is a USB interface and the second receiving interface TRI2 is a PCIe interface. The first device DV1 is a USB device, for example, a USB device inside a computer host. The first device DV1 can also be a USB device that includes a controller and a USB interface. The second device DV2 is a device using a PCIe interface, such as an SSD (Solid State Drive or Solid State Disk). The first device DV1 communicates with the instruction translation system 100 via UASP (USB Attached SCSI Protocol), while the second device DV2 communicates with the instruction translation system 100 via NVMe (Non-Volatile Memory Express). The following will describe... Figure 2 , Figure 3 as well as Figure 4 In one embodiment, the operation is as follows: the first receiving interface TRI1 is a USB interface and the second receiving interface TRI2 is a PCIe interface.

[0042] exist Figure 2In one embodiment, when the first device DV1 needs to transmit a SCSI (Small Computer System Interface) command to the second device DV2, it packages the SCSI command into a USB command via UASP and then transmits it to the first transceiver interface TRI1. The command conversion system 100 first determines whether the first device DV1 and the second device DV2 need to process the commands sequentially. Figure 2 In this embodiment, since both the first device DV1 and the second device DV2 need to process instructions sequentially, the instruction conversion system 100 transmits the instructions to the second device DV2 for processing via the second transmit / receive interface TRI2, and waits for the second device DV2 to process the instructions before replying to the first device DV1. If the first device DV1 transmits another instruction before the second device DV2 has finished processing the instruction, the instruction conversion system 100 can inform the first device DV1 that the previous instruction has not yet been processed via packets (e.g., Nrdy) in the USB specification.

[0043] exist Figure 3 In this embodiment, when the first device DV1 needs to transmit a SCSI command to the second device DV2, it will package the SCSI command into a USB command via UASP and then transmit it to the first transceiver interface TRI1. The command conversion system 100 will first determine whether the first device DV1 and the second device DV2 need to process the commands in sequence. Figure 3 In this embodiment, since only the first device DV1 needs to process instructions sequentially while the second device DV2 does not, the instruction conversion system 100 transmits the instructions to the second device DV2 for processing via the second transmit / receive interface TRI2, and notifies the first device DV1 that it can continue sending instructions using control packets (e.g., Erdy) in the USB specification. Then, regardless of the order in which the second device DV2 processes the instructions and transmits the corresponding responses, the instruction conversion system 100 ensures that the first transmit / receive interface TRI1 transmits responses to the first device DV1 in the order in which the first device DV1 transmits the instructions.

[0044] exist Figure 4 In this embodiment, when the first device DV1 needs to transmit a SCSI command to the second device DV2, it will package the SCSI command into a USB command via UASP and then transmit it to the first transceiver interface TRI1. The command conversion system 100 will first determine whether the first device DV1 and the second device DV2 need to process the commands in sequence. Figure 4In this embodiment, neither the first device DV1 nor the second device DV2 needs to process instructions sequentially. Therefore, the instruction conversion system 100 transmits the instructions to the second device DV2 for processing via the second transmit / receive interface TRI2, and notifies the first device DV1 that it can continue sending instructions using control packets (e.g., Erdy) in the USB specification. Then, the first transmit / receive interface TRI1 transmits responses to the first device DV1 in the order in which the second device DV2 generates responses.

[0045] Figure 5 This paper illustrates a practical application example of the instruction conversion system provided by the present invention. However, it should be noted that the instruction conversion system provided by the present invention is not limited to this example. Figure 5 The instruction conversion device shown implements this. For example... Figure 5 As shown, the command conversion device 500 includes a connector 501 and output jacks 503, 505, and 507. Connector 501 is part of the direct interface (the aforementioned first transmit / receive interface TRI1) included in the command conversion device 500. Output jacks 503, 505, and 507 are part of indirect interfaces (the aforementioned second transmit / receive interface TRI2) conforming to different specifications. The command conversion device 500 can be connected to the aforementioned first device DV1 (e.g., the first device DV1 in a computer host) via connector 501, and then output jacks 503, 505, and 507 can be used to connect peripheral devices conforming to different specifications. With this architecture, the user can control the peripheral devices connected to output jacks 503, 505, and 507 via the computer host and use the command conversion device 500 to perform command conversion.

[0046] Figure 6 An instruction conversion method according to an embodiment of the present invention is illustrated, used in an instruction conversion system including a first transmit / receive interface and a second transmit / receive interface, and includes the following steps:

[0047] Step 601

[0048] With the first transmit / receive interface (e.g.) Figure 1 The first transmit / receive interface TRI1 receives a first device (e.g., Figure 1 At least one instruction transmitted by the first device (DV1).

[0049] Step 603

[0050] With instruction translation system (e.g.) Figure 1 The instruction conversion system 100) determines a first sequence rule of the first device and a second device (e.g., Figure 1 The second device (DV2) has a second sequence rule, where the first sequence rule indicates whether the first device needs to process the instruction in sequence, and the second sequence rule indicates whether the second device needs to process the instruction in sequence.

[0051] Step 605

[0052] With the second transmit / receive interface (e.g.) Figure 2 The second receiving interface TRI2 transmits commands to the second device DV2.

[0053] Step 607

[0054] According to the second sequence rule, the second device processes the instruction and transmits a reply to the second receiving interface.

[0055] Step 609

[0056] According to the first order rule, a reply is transmitted to the first device via the first transmission and reception interface.

[0057] Other detailed steps have been disclosed in the foregoing embodiments, and therefore will not be repeated here.

[0058] According to the aforementioned embodiments, instructions can be successfully received and executed while meeting the instruction execution order requirements of different transmission and reception interfaces, enabling devices that conform to different specifications to connect and operate smoothly.

[0059] The above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made in accordance with the claims of the present invention should be included within the scope of the present invention.

Claims

1. An instruction conversion method, used in an instruction conversion system including a first transmit / receive interface and a second transmit / receive interface, the first transmit / receive interface and the second transmit / receive interface conforming to different standards, the instruction conversion method comprising: Receive at least one instruction transmitted by a first device through the first receiving interface; Determine a first sequence rule for the first device and a second sequence rule for the second device; The instruction is transmitted to the second device via the second receiving interface; According to the second sequence rule, the second device processes the instruction and transmits a response corresponding to the instruction to the second receiving interface; and According to the first order rule, the reply is transmitted to the first device via the first transmission and reception interface; The first order rule indicates whether the first device needs to receive responses to multiple instructions generated by the first device in the order in which the first device outputs the instruction to the first receiving interface; The second sequence rule indicates whether the second device needs to process the instruction in the order in which the first device outputs the instruction to the first receiving interface.

2. The instruction conversion method as described in claim 1, in, The first sequence rule means that the first device must receive responses to multiple instructions generated by the first device in the order in which the first device outputs the instruction to the first receiving interface; The second sequence rule means that the second device must process the instruction in the order in which the first device outputs the instruction to the first receiving interface; The first receiving interface receives multiple instructions transmitted by the first device in a first order, the second receiving interface transmits multiple instructions to the second device in the first order, the second device processes multiple instructions in the first order and transmits multiple responses corresponding to the multiple instructions to the second receiving interface, and the first receiving interface transmits multiple responses to the first device in the first order.

3. The instruction conversion method as described in claim 1, in, The first sequence rule means that the first device must receive responses to multiple instructions generated by the first device in the order in which the first device outputs the instruction to the first receiving interface; The second sequence rule means that the second device must process the instruction in the order in which the first device outputs the instruction to the first receiving interface; The first receiving interface receives a first instruction transmitted by the first device; After the second receiving interface transmits the first instruction to the second device, it will not receive other instructions from the first device through the first receiving interface until the first device receives a response corresponding to the first instruction.

4. The instruction conversion method as described in claim 1, in, The first sequence rule means that the first device must receive responses to multiple instructions generated by the first device in the order in which the first device outputs the instruction to the first receiving interface; The second sequence rule means that the second device does not need to process the instruction according to the order in which the first device outputs the instruction to the first receiving interface; The first receiving interface receives multiple instructions transmitted by the first device in a first order. The second receiving interface transmits multiple instructions to the second device in the first order or in a second order. The second device processes multiple instructions in a third order and transmits multiple responses corresponding to the multiple instructions to the second receiving interface. The first receiving interface still transmits multiple responses to the first device in the first order.

5. The instruction conversion method as described in claim 1, in, The first order rule means that the first device does not need to receive responses to multiple instructions generated by the first device in the order in which the first device outputs the instruction to the first receiving interface; The second sequence rule means that the second device does not need to process the instruction according to the order in which the first device outputs the instruction to the first receiving interface; The first receiving interface receives multiple instructions transmitted by the first device in a first order. The second receiving interface transmits multiple instructions to the second device in the first order or in a second order. The second device processes multiple instructions in a third order and transmits multiple responses corresponding to the multiple instructions to the second receiving interface. The first receiving interface transmits multiple responses to the first device in the third order or in a fourth order.

6. An instruction conversion system, comprising: A first receiving interface for receiving at least one instruction transmitted by a first device; A second receiving interface for transmitting the command to a second device, wherein the first receiving interface and the second receiving interface conform to different standards; and A controller is used to control the operation of the first and second transmission interfaces. The instruction conversion system determines a first sequence rule for the first device and a second sequence rule for the second device. The second receiving interface will receive the response generated by the second device after processing the instruction according to the second sequence rule; The first receiving interface will transmit the reply to the first device according to the first order rule; in, The first sequence rule indicates whether the first device needs to receive responses to multiple instructions generated by the first device in the order in which the first device outputs the instruction to the first receiving interface; The second sequence rule indicates whether the second device needs to process the instruction in the order in which the first device outputs the instruction to the first receiving interface.

7. The instruction conversion system as described in claim 6, in, The first sequence rule means that the first device must receive responses to multiple instructions generated by the first device in the order in which the first device outputs the instruction to the first receiving interface; The second sequence rule means that the second device must process the instruction in the order in which the first device outputs the instruction to the first receiving interface; The first receiving interface receives multiple instructions transmitted by the first device in a first order, the second receiving interface transmits multiple instructions to the second device in the first order, the second device processes multiple instructions in the first order and transmits multiple responses corresponding to the multiple instructions to the second receiving interface, and the first receiving interface transmits multiple responses to the first device in the first order.

8. The instruction conversion system as described in claim 6, in, The first sequence rule means that the first device must receive responses to multiple instructions generated by the first device in the order in which the first device outputs the instruction to the first receiving interface; The second sequence rule means that the second device must process the instruction in the order in which the first device outputs the instruction to the first receiving interface; The first receiving interface receives a first instruction transmitted by the first device; After the second receiving interface transmits the first instruction to the second device, it will not receive other instructions from the first device through the first receiving interface until the first device receives a response corresponding to the first instruction.

9. The instruction conversion system as described in claim 6, in, The first sequence rule means that the first device must receive responses to multiple instructions generated by the first device in the order in which the first device outputs the instruction to the first receiving interface; The second sequence rule means that the second device does not need to process the instruction according to the order in which the first device outputs the instruction to the first receiving interface; The first receiving interface receives multiple instructions transmitted by the first device in a first order. The second receiving interface transmits multiple instructions to the second device in the first order or in a second order. The second device processes multiple instructions in a third order and transmits multiple responses corresponding to the multiple instructions to the second receiving interface. The first receiving interface still transmits multiple responses to the first device in the first order.

10. The instruction conversion system as described in claim 6, in, The first order rule means that the first device does not need to receive responses to multiple instructions generated by the first device in the order in which the first device outputs the instruction to the first receiving interface; The second sequence rule means that the second device does not need to process the instruction according to the order in which the first device outputs the instruction to the first receiving interface; The first receiving interface receives multiple instructions transmitted by the first device in a first order. The second receiving interface transmits multiple instructions to the second device in the first order or in a second order. The second device processes multiple instructions in a third order and transmits multiple responses corresponding to the multiple instructions to the second receiving interface. The first receiving interface transmits multiple responses to the first device in the third order or in a fourth order.

Citation Information

Patent Citations

  • Safe peripheral device commications

    US20210133140A1