CN111190844A - Protocol conversion method and electronic equipment - Google Patents

Protocol conversion method and electronic equipment Download PDF

Info

Publication number
CN111190844A
CN111190844A CN201911412937.9A CN201911412937A CN111190844A CN 111190844 A CN111190844 A CN 111190844A CN 201911412937 A CN201911412937 A CN 201911412937A CN 111190844 A CN111190844 A CN 111190844A
Authority
CN
China
Prior art keywords
command
data
processing module
protocol
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911412937.9A
Other languages
Chinese (zh)
Inventor
骆建军
王付军
陈贤香
张廷锴
刘海銮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sage Microelectronics Corp
Original Assignee
Sage Microelectronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sage Microelectronics Corp filed Critical Sage Microelectronics Corp
Priority to CN201911412937.9A priority Critical patent/CN111190844A/en
Publication of CN111190844A publication Critical patent/CN111190844A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0026PCI express
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0028Serial attached SCSI [SAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/38Universal adapter
    • G06F2213/3802Harddisk connected to a computer port
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/38Universal adapter
    • G06F2213/3852Converter between protocols

Abstract

The invention discloses a protocol conversion method and electronic equipment, which are used for realizing protocol conversion from an SAS (serial attached SCSI) interface to a PCIe (peripheral component interconnect express) interface. The method comprises the following steps: receiving a first command sent by the first device through the first protocol processing module; converting the first command into a second command through the protocol conversion module; sending the second command to second equipment through the second protocol processing module so as to control the second equipment; the first device is a computer host provided with an SAS (serial attached small computer system interface), the first command is a command with SCSI as a specification criterion, the second device is a storage device provided with a PCIe (peripheral component interconnect express) interface, and the second command is a command with NVMe as the specification criterion.

Description

Protocol conversion method and electronic equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a protocol conversion method and an electronic device.
Background
The explosive growth of data in the information age greatly increases the storage demand, and PCIe SSDs are products urged by the demand. An application layer of a Solid Storage Disk (SSD) (may be abbreviated as PCIe SSD) based on Peripheral Component interconnect express (PCIe) complies with a Non-Volatile Storage interface specification (NVMe) protocol, and is therefore also called NVMe SSD, and services with extreme requirements on performance in emerging enterprises or internet first fleet enterprises have built servers meeting requirements using PCIe SSDs.
Moreover, SAS SSD with the same capacity is more expensive than PCIe SSD, and with the cost reduction of non-volatile flash memory and the application of NVMe SSD to personal computer, the price reduction trend of PCIe SSD is significantly faster than SAS SSD, which shows that the use of PCIe SSD is already a trend.
However, currently, the mainstream server storage interface is still a Serial Attached SCSI (SAS) interface, and the application layer uses a Small Computer System Interface (SCSI) protocol. Therefore, the need inevitably arises for a device using the SSA interface to read from or write to the PCIe SSD.
Based on this, it is necessary to provide a protocol conversion scheme from the SAS interface to the PCIe interface to meet the read/write requirements of the device using the SAS interface for the device using the PCIe interface.
Disclosure of Invention
The embodiment of the invention provides a protocol conversion method and electronic equipment, which are used for realizing protocol conversion from an SAS (serial attached SCSI) interface to a PCIe (peripheral component interconnect express) interface.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an electronic device, which includes a first protocol processing module, a protocol conversion module, and a second protocol processing module, where the protocol conversion module is connected to the first protocol processing module and the second protocol processing module, respectively, where:
the first protocol processing module is used for receiving a first command sent by first equipment, wherein the first equipment is a computer host provided with an SAS (serial attached SCSI) interface, and the first command is a command based on a small computer system interface standard SCSI (SCSI) as a specification criterion;
the protocol conversion module is used for converting the first command into a second command, and the second command is a command with high-speed nonvolatile storage interface specification (NVMe) as a specification criterion;
and the second protocol processing module is used for sending the second command to second equipment so as to control the second equipment, and the second equipment is storage equipment provided with a PCIe (peripheral component interconnect express) interface based on a high-speed peripheral component interconnect (PCIe).
In a second aspect, an embodiment of the present invention provides a protocol conversion method applied to an electronic device, where the electronic device includes a first protocol processing module, a protocol conversion module, and a second protocol processing module, and the protocol conversion module is connected to the first protocol processing module and the second protocol processing module, respectively, and includes:
receiving a first command sent by the first device through the first protocol processing module, wherein the first device is a computer host provided with an SAS (serial attached SCSI) interface, and the first command is a command based on SCSI (small computer system interface standard) as a specification criterion;
converting the first command into a second command through the protocol conversion module, wherein the second command is a command with specification criteria of high-speed nonvolatile storage interface specification (NVMe);
and sending the second command to second equipment through the second protocol processing module so as to control the second equipment, wherein the second equipment is storage equipment provided with a peripheral component interconnect express (PCIe) interface based on a high speed.
The electronic equipment provided by the embodiment of the invention can receive a first command which is sent by a computer host with an SAS interface and takes SCSI as a standard; then, the first command taking SCSI as the specification criterion can be converted into a second command taking NVMe as the specification criterion; and finally, sending the converted second command with the NVMe as the specification criterion to the second equipment with the PCIe interface, so that the first equipment using the SAS interface can quickly read and write the second equipment using the PCIe interface.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 2 is a detailed structural schematic diagram of an electronic device according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of an implementation of a protocol conversion method according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of the protocol conversion method applied in an actual scenario according to the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical solutions provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
The invention provides a protocol conversion method and electronic equipment for realizing interface protocol conversion from an SAS interface to a PCIe interface.
The electronic equipment comprises a first protocol processing module, a protocol conversion module and a second protocol processing module, wherein the protocol conversion module is respectively connected with the first protocol processing module and the second protocol processing module; the first protocol processing module is used for receiving a first command sent by first equipment; the protocol conversion module is used for converting the first command into a second command; and the second protocol processing module is used for sending the second command to the second equipment.
The first device is a computer host supporting a first protocol, the first command is a command taking the first protocol as a specification criterion, the second device is a storage device supporting a second protocol, and the second command is a command taking the second protocol as the specification criterion.
In practical application, the electronic device is connected between the first device and the second device, so that a command sent from the first device to the second device by the electronic device is converted from a command using the first protocol as a specification criterion into a command using the second protocol as a specification criterion, and the first device with an inconsistent interface protocol can rapidly read and write the second device.
Further, in order to implement protocol conversion from the SAS Interface to the PCIe Interface, the first protocol may be a Small Computer System Interface standard (SCSI), the first device may be a host Computer provided with a SAS Interface, and the first command may be a command using the SCSI as a specification criterion; the second protocol may be Non-Volatile Memory interface specification (NVMe), the second device may be a Peripheral Component Interconnect Express (PCIe) interface-based storage device, and the second command may be a command with NVMe as a specification criterion.
Optionally, when the first protocol processing module receives a plurality of first commands sent by the first device, the protocol conversion module may be specifically configured to: firstly, combining a plurality of first commands with continuous command addresses into a first command; and then converts the first command into a second command. It can be understood that, combining a plurality of first commands into one command for further conversion can further increase the read-write speed of the first device to the second device because the number of commands to be transmitted is reduced, thereby further increasing the data transmission speed between the first device and the second device.
Optionally, the electronic device may further include: and the data encryption module is used for carrying out encryption and decryption operations on the data to be operated by the second command. Therefore, the electronic device can also secure data stored in the second device.
An electronic device provided by the present invention is described in detail below with reference to fig. 1.
As shown in fig. 1, an electronic device 100 according to an embodiment of the present invention may include a first protocol processing module 101, a protocol conversion module 102, and a second protocol processing module 103, where the protocol conversion module 102 is connected to the first protocol processing module 101 and the second protocol processing module 103, respectively, where:
the first protocol processing module 101 is configured to receive a first command sent by a first device, where the first device is a host computer, and the first command is a command with SCSI as a specification criterion.
The protocol conversion module 102 is configured to convert the first command into a second command, where the second command is a command with NVMe as a specification criterion.
And the second protocol processing module 103 is configured to send a second command to a second device to control the second device, where the second device is a storage device provided with a PCIe interface.
In the electronic device provided in the embodiment of the present invention, the first protocol processing module receives a first command which is sent by a host computer with an SAS interface and uses SCSI as a criterion; then, the protocol conversion module converts the first command with SCSI as a specification criterion into a second command with NVMe as a specification criterion; and finally, the second protocol processing module sends the converted second command with the NVMe as the standard criterion to the second equipment with the PCIe interface, so that the first equipment using the SAS interface can quickly read and write the second equipment using the PCIe interface.
Optionally, as shown in fig. 2, in a normal situation, an application program in the first device 201 cannot directly operate on data stored in the second device 202, and in order to enable the application program in the first device 201 to specifically operate on data read from the second device 202 or data stored in the second device 202, the first protocol processing module 101 in the electronic device 100 provided in the embodiment of the present invention may further be configured to convert first data into data that the application program of the first device 201 can operate, where the first data is data read from the second device by the first device 201 or data stored in the second device 202 by the first device.
Optionally, in order to enable the first device 201 to acquire that the device type of the second device 202 is a storage device when the first device 201 is connected to the second device, so as to enable data exchange with the second device 202, the second protocol processing module 103 in the electronic device 100 according to the embodiment of the present invention may be further configured to acquire device information of the second device 201, where the device information includes at least one of a device type, a storage capacity, and a data transmission speed, and the device information may be used to determine a data transmission parameter, such as a data transmission speed, between the first device 201 and the second device 202.
Alternatively, in order to increase the speed of processing the commands, a plurality of first commands may be merged and then the first commands are converted into second commands. That is to say, the protocol conversion module 102 is specifically configured to, when a plurality of first commands are received, merge the plurality of first commands, and convert one merged first command into one second command. Wherein the first command corresponds to the translated second command.
Specifically, the protocol conversion module 102 is configured to merge the commands with consecutive command addresses in the plurality of first commands into one command.
Optionally, in order to ensure the security of data in the second device 202, the electronic device 100 according to the embodiment of the present invention may further include a data encryption module 104, where the data encryption module 104 is connected to the protocol conversion module 102 and the second protocol processing module 103, respectively.
The data encryption module 104 may be configured to encrypt data written by the first device 201 to the second device 202 and/or decrypt data stored in the second device 202 read by the first device 201.
This optional embodiment may ensure the security of data transmitted between the first device 201 and the second device 202.
In addition to the electronic device, in order to implement protocol conversion from an SAS interface to a PCIe interface, an embodiment of the present invention further provides a protocol conversion method, and an execution subject of the method may be, but is not limited to, the electronic device provided in the embodiment of the present invention.
For convenience of description, the following description will be made of an embodiment of the method by taking an electronic device provided by the present invention as an example. It is understood that the implementation of the method is merely an exemplary illustration of the electronic device provided in the present invention, and should not be construed as a limitation of the method.
Specifically, the protocol conversion method provided by the invention comprises the following steps: receiving a first command sent by first equipment through a first protocol processing module, wherein the first equipment is a computer host provided with an SAS (serial attached SCSI) interface, and the first command is a command with SCSI as a specification criterion; converting the first command into a second command through a protocol conversion module, wherein the second command is a command with NVMe as a specification criterion; and sending a second command to a second device through a second protocol processing module to control the second device, wherein the second device is a storage device provided with a PCIe interface.
By adopting the protocol conversion method provided by the embodiment of the invention, a first command which is sent by a computer host with an SAS interface and takes SCSI as a standard can be received; then, converting the first command with SCSI as a specification criterion into a second command with NVMe as a specification criterion; and finally, sending the converted second command with the NVMe as the specification criterion to the second equipment with the PCIe interface, so that the first equipment using the SAS interface can quickly read and write the second equipment using the PCIe interface.
The following describes in detail an implementation process of the protocol conversion method, with reference to a schematic implementation flow diagram of the protocol conversion method shown in fig. 3, where the implementation process includes:
step 301, receiving a first command sent by a first device through a first protocol processing module.
In this embodiment of the present invention, the first device may be a host computer provided with an SAS interface, and the first command may be a command using SCSI as a specification criterion.
Alternatively, the first protocol processing module and the second protocol processing module can implement basic functions of a physical layer, a link layer, a transport layer, and a protocol layer of a protocol. On the one hand, since the data in the second device is stored in the form of block data, the application program in the first device can only access and operate on the data in the form of files or records.
Therefore, in order to enable the application program in the first device to perform specific operations on data read from the second device or data stored in the second device, the method provided by the embodiment of the present invention further includes:
and converting the first data into data which can be operated by an application program of the first device through the first protocol processing module, wherein the first data is data read by the first device from the second device, or the first data is data stored by the first device to the second device.
On the other hand, because the types of the external devices that can be connected to the first device are many, the first device needs to know the device information of the external device before exchanging data with the external device, so that the external devices of different types can be subjected to targeted operations such as reading, storing and the like.
Therefore, in order to enable the first device to obtain the device information of the second device, the method provided in the embodiment of the present invention further includes:
and acquiring device information of the second device through the second protocol processing module, wherein the device information comprises at least one of a device type, a storage capacity and a data transmission speed, and the device information can be used for determining data transmission parameters, such as the data transmission speed and the like, between the first device and the second device.
Specifically, when it is detected that the first device is connected to the second device through the electronic device provided by the embodiment of the present invention, the second protocol processing module may first acquire device information that the device type of the second device is a storage device, the storage capacity is xxGB or xxTB, and the data transmission speed is xxGBbps/s, and then the second protocol processing module may send the device information of the second device to the first device, so that the first device may determine, according to the device information, a speed of transmitting data with the second device, an available storage capacity in the second device, and the like.
Specifically, when the first device needs to acquire data stored in the second device or needs to store data in the second device, the first device may send a command to the second device to control the second device. When the first device sends the first command to the second device, the first protocol processing module may receive the first command sent by the first device, and send the first command to the protocol conversion module to be subjected to protocol conversion.
Step 302, the protocol conversion module converts the first command into a second command.
In the embodiment of the present invention, the second command may be a command with NVMe as a specification criterion.
Optionally, in a general case, the first device issues more than one first command, and multiple first commands may be issued simultaneously or within a short period of time, so the embodiment of the present invention provides a method for combining multiple first commands to reduce the number of times of executing the commands, thereby increasing the execution speed of the commands.
In view of this, in the embodiment of the present invention, the converting, by the protocol conversion module, the first command into the second command may include:
when a plurality of first commands are received, the plurality of first commands are combined through the protocol conversion module, and one first command obtained through combination is converted into one second command.
Specifically, merging the plurality of first commands by the protocol conversion module may include:
and combining the commands with continuous command addresses in the first commands into one command through the protocol conversion module.
It should be understood that the protocol translation module is capable of searching for a plurality of first commands whose command addresses are consecutive by searching for a plurality of first commands that are performing protocol translation operations in the module. For example, for two first commands of the same type, if the command start address of the first command is 1, the data length thereof is 10, and the command start address of the second first command is 11 ═ 1+10, the command addresses of the two first commands are said to be consecutive. For the first command, the address occupied by the data is 10 addresses from 1 to 10, and therefore, if the command start address of the second first command is 11, the command addresses of the two first commands are consecutive.
It should be understood that, in the embodiment of the present invention, the first device is a host computer provided with an SAS interface, and the first command issued by the host computer is a command with SCSI as a specification criterion, and the second device is a storage device provided with a PCIe interface, and the interface of the storage device is NVMe as a specification criterion.
Optionally, in order to match the specification criterion of the command issued by the first device with that of the second device, the protocol conversion module may convert the first command with SCSI as the specification criterion into the second command with NVMe as the specification criterion, so as to implement fast read and write of the first device using the SAS interface to the second device using the PCIe interface.
It should be understood that the protocol conversion module can perform the merging operation first and then perform the protocol conversion operation; the protocol conversion operation can be carried out first, and then the merging operation is carried out, so that the execution of the command cannot be influenced by the sequence of the merging operation and the protocol conversion operation.
Alternatively, the second device may have various types of data stored therein, such as operating data of a game server, and some types of data may relate to user privacy or business confidentiality, which may be required for the degree of privacy of the second device. Specifically, in order to ensure the security of data in the second device, the electronic device provided in the embodiment of the present invention further includes a data encryption module, where the data encryption module is connected to the protocol conversion module and the second protocol processing module, respectively, and the method provided in the embodiment of the present invention further includes:
encrypting data written into the second equipment by the first equipment through the data encryption module;
and/or the presence of a gas in the gas,
and decrypting the data stored in the second equipment read by the first equipment through the data encryption module.
Step 303, sending a second command to the second device through the second protocol processing module to control the second device.
It should be understood that the second device in the embodiment of the present invention may be a storage device provided with a PCIe interface; the control available to the second device includes reading and writing.
Specifically, if the second command is a write command, when the second device executes the second command, the encrypted data in the second command may be written in a corresponding location of the second device; if the second command is a read command, the second device may read the data stored at the corresponding location of the second device when executing the second command, and send the read data to the data encryption module through the second protocol processing module to decrypt the data.
And then, the decrypted data is sent to the first protocol processing module through the data encryption module and the protocol conversion module, and the decrypted data is converted into data which can be operated by the application program.
And finally, sending the converted data to the first equipment so that an application program in the first equipment can operate the data.
The following describes embodiments of the present invention in detail with reference to flowcharts of the embodiments.
As shown in fig. 4, a schematic flow diagram of a protocol conversion method applied in an actual scenario provided in the embodiment of the present invention specifically includes:
step 401, receiving, by a first protocol processing module, a first command sent by a first device, and sending the first command to a protocol conversion module, so that the protocol conversion module can process the first command.
Step 402, the protocol conversion module searches the first command to obtain a command type of the first command, i.e. a write command or a read command, and a command address of the first command.
Step 403, detecting whether a plurality of first commands with continuous command addresses exist in the first commands of the same type.
If yes, combining multiple first commands with continuous command addresses into one first command, step 404.
Step 405, if no detection is made, or the merge operation is performed, the protocol conversion module converts the first command into a second command, and sends the second command to the second protocol processing module.
Step 406, sending the second command to the second device through the second protocol processing module, so that the second device executes the second command, that is, performing a read operation or a write operation on the second device according to the command content of the second command.
The protocol conversion method provided by the embodiment of the invention can receive a plurality of first commands sent by first equipment, and combines the plurality of first commands with continuous command addresses into one first command through the protocol conversion module; then, the protocol conversion module can also convert the first command into a second command; finally, a second command may be sent to the second device through the second protocol processing module to execute the second command. Therefore, the first equipment with inconsistent interface protocols can quickly read and write the second equipment, and the data transmission speed between the first equipment and the second equipment is greatly improved.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.

Claims (10)

1. An electronic device, comprising a first protocol processing module, a protocol conversion module and a second protocol processing module, wherein the protocol conversion module is connected to the first protocol processing module and the second protocol processing module respectively, and wherein:
the first protocol processing module is used for receiving a first command sent by first equipment, wherein the first equipment is a computer host provided with an SAS (serial attached SCSI) interface, and the first command is a command based on a small computer system interface standard SCSI (SCSI) as a specification criterion;
the protocol conversion module is used for converting the first command into a second command, and the second command is a command with high-speed nonvolatile storage interface specification (NVMe) as a specification criterion;
and the second protocol processing module is used for sending the second command to second equipment so as to control the second equipment, and the second equipment is storage equipment provided with a PCIe (peripheral component interconnect express) interface based on a high-speed peripheral component interconnect (PCIe).
2. The electronic device of claim 1,
the first protocol processing module is further configured to convert first data into data that can be operated by an application program of the first device, where the first data is data read by the first device from the second device, or the first data is data stored in or read from the first device;
the second protocol processing module is further configured to obtain device information of the second device, where the device information includes at least one of a device type, a storage capacity, and a data transmission speed, and the device information is used to determine a data transmission parameter between the first device and the second device.
3. The electronic device of claim 1,
the protocol conversion module is used for merging the first commands when receiving the first commands and converting a first command obtained by merging into a second command.
4. The electronic device of claim 3,
the protocol conversion module is specifically configured to combine the commands with consecutive command addresses in the plurality of first commands into one command.
5. The electronic device of claim 1, further comprising a data encryption module,
the data encryption module is respectively connected with the protocol conversion module and the second protocol processing module;
the data encryption module is configured to encrypt data written by the first device into the second device, and/or decrypt data stored in the second device read by the first device.
6. A protocol conversion method is applied to an electronic device, wherein the electronic device comprises a first protocol processing module, a protocol conversion module and a second protocol processing module, the protocol conversion module is respectively connected with the first protocol processing module and the second protocol processing module, and the method comprises the following steps:
receiving a first command sent by the first device through the first protocol processing module, wherein the first device is a computer host provided with an SAS (serial attached SCSI) interface, and the first command is a command based on SCSI (small computer system interface standard) as a specification criterion;
converting the first command into a second command through the protocol conversion module, wherein the second command is a command with specification criteria of high-speed nonvolatile storage interface specification (NVMe);
and sending the second command to second equipment through the second protocol processing module so as to control the second equipment, wherein the second equipment is storage equipment provided with a peripheral component interconnect express (PCIe) interface based on a high speed.
7. The method of claim 6, wherein the method further comprises:
converting first data into data which can be operated by an application program of the first device through the first protocol processing module, wherein the first data is data read by the first device from the second device, or the first data is data stored by the first device to the second device;
and acquiring device information of the second device through the second protocol processing module, wherein the device information includes at least one of a device type, a storage capacity and a data transmission speed, and the device information is used for determining a data transmission parameter between the first device and the second device.
8. The method of claim 6, wherein said translating, by said protocol translation module, said first command to a second command comprises:
when a plurality of first commands are received, the protocol conversion module is used for combining the plurality of first commands, and converting one first command obtained by combination into one second command.
9. The method of claim 8, wherein said merging, by said protocol translation module, said first plurality of commands comprises:
combining the commands with continuous command addresses in the first commands into one command through the protocol conversion module.
10. The method of claim 6, wherein the electronic device further comprises a data encryption module, the data encryption module being connected with the protocol translation module and the second protocol processing module, respectively, the method further comprising:
encrypting data written into the second equipment by the first equipment through the data encryption module;
and/or the presence of a gas in the gas,
and decrypting the data stored in the second equipment read by the first equipment through the data encryption module.
CN201911412937.9A 2019-12-31 2019-12-31 Protocol conversion method and electronic equipment Pending CN111190844A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911412937.9A CN111190844A (en) 2019-12-31 2019-12-31 Protocol conversion method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911412937.9A CN111190844A (en) 2019-12-31 2019-12-31 Protocol conversion method and electronic equipment

Publications (1)

Publication Number Publication Date
CN111190844A true CN111190844A (en) 2020-05-22

Family

ID=70707914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911412937.9A Pending CN111190844A (en) 2019-12-31 2019-12-31 Protocol conversion method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111190844A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328521A (en) * 2020-11-05 2021-02-05 杭州华澜微电子股份有限公司 Bus adapter and data transmission method

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101639763A (en) * 2009-08-27 2010-02-03 中兴通讯股份有限公司 IO dispatching method and device
CN102385564A (en) * 2010-08-25 2012-03-21 Lsi公司 Methods and apparatus for improved serial advanced technology attachment performance
US20130191590A1 (en) * 2011-11-15 2013-07-25 Kiron Balkrishna Malwankar Processor agnostic data storage in a pcie based shared storage environment
CN103617136A (en) * 2013-12-04 2014-03-05 华为技术有限公司 SCSI drive side and I/O request control method
CN103677648A (en) * 2012-09-07 2014-03-26 鸿富锦精密工业(深圳)有限公司 Quick access method and system for disk array
US20150378606A1 (en) * 2013-06-26 2015-12-31 Cnex Labs, Inc. Nvm express controller for remote access of memory and i/o over ethernet-type networks
CN105955898A (en) * 2016-05-25 2016-09-21 浪潮电子信息产业股份有限公司 SAS hard disk and NVMe hard disk compatible hard disk backplane
CN106469198A (en) * 2016-08-31 2017-03-01 华为技术有限公司 Key assignments storage method, apparatus and system
US20170102874A1 (en) * 2014-06-20 2017-04-13 Hitachi, Ltd. Computer system
US20170344259A1 (en) * 2016-05-27 2017-11-30 Intel Corporation Computer product, method, and system to dynamically manage storage devices accessed remotely over a network
CN107624179A (en) * 2015-06-26 2018-01-23 英特尔公司 High Efficiency Solid-State drive data compression scheme and layout
CN108255762A (en) * 2018-01-11 2018-07-06 郑州云海信息技术有限公司 A kind of 2U server hard disk back planes method
CN109240952A (en) * 2018-08-27 2019-01-18 北京计算机技术及应用研究所 A kind of high-speed data encryption NVMe-SATA converter circuit
CN110209613A (en) * 2019-06-05 2019-09-06 哈尔滨工业大学 A kind of NVMe SSD reading speed and optical fiber interface speed adaptive matching process
CN110413538A (en) * 2018-04-27 2019-11-05 慧荣科技股份有限公司 The method for controlling storage device

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101639763A (en) * 2009-08-27 2010-02-03 中兴通讯股份有限公司 IO dispatching method and device
CN102385564A (en) * 2010-08-25 2012-03-21 Lsi公司 Methods and apparatus for improved serial advanced technology attachment performance
US20130191590A1 (en) * 2011-11-15 2013-07-25 Kiron Balkrishna Malwankar Processor agnostic data storage in a pcie based shared storage environment
CN103677648A (en) * 2012-09-07 2014-03-26 鸿富锦精密工业(深圳)有限公司 Quick access method and system for disk array
US20150378606A1 (en) * 2013-06-26 2015-12-31 Cnex Labs, Inc. Nvm express controller for remote access of memory and i/o over ethernet-type networks
CN103617136A (en) * 2013-12-04 2014-03-05 华为技术有限公司 SCSI drive side and I/O request control method
US20170102874A1 (en) * 2014-06-20 2017-04-13 Hitachi, Ltd. Computer system
CN107624179A (en) * 2015-06-26 2018-01-23 英特尔公司 High Efficiency Solid-State drive data compression scheme and layout
CN105955898A (en) * 2016-05-25 2016-09-21 浪潮电子信息产业股份有限公司 SAS hard disk and NVMe hard disk compatible hard disk backplane
US20170344259A1 (en) * 2016-05-27 2017-11-30 Intel Corporation Computer product, method, and system to dynamically manage storage devices accessed remotely over a network
CN106469198A (en) * 2016-08-31 2017-03-01 华为技术有限公司 Key assignments storage method, apparatus and system
CN108255762A (en) * 2018-01-11 2018-07-06 郑州云海信息技术有限公司 A kind of 2U server hard disk back planes method
CN110413538A (en) * 2018-04-27 2019-11-05 慧荣科技股份有限公司 The method for controlling storage device
CN109240952A (en) * 2018-08-27 2019-01-18 北京计算机技术及应用研究所 A kind of high-speed data encryption NVMe-SATA converter circuit
CN110209613A (en) * 2019-06-05 2019-09-06 哈尔滨工业大学 A kind of NVMe SSD reading speed and optical fiber interface speed adaptive matching process

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
梁新元 等: "《网络存储原理及应用》", 30 September 2007, 中国科学技术出版社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328521A (en) * 2020-11-05 2021-02-05 杭州华澜微电子股份有限公司 Bus adapter and data transmission method

Similar Documents

Publication Publication Date Title
US10769311B2 (en) Encrypting portable media system and method of operation thereof
CN106919634B (en) Method for sharing data across applications and web browser
US8352751B2 (en) Encryption program operation management system and program
US20130254326A1 (en) Electronic device, cloud storage system for managing cloud storage spaces, method and tangible embodied computer readable medium thereof
CN109726575B (en) Data encryption method and device
US8843768B2 (en) Security-enabled storage controller
US20090019223A1 (en) Method and systems for providing remote strage via a removable memory device
CN101499027A (en) Intelligent memory system based on independent kernel and distributed architecture
CN107092835B (en) Computer data encryption device and method for virtual storage disk
US20120066518A1 (en) Canister-based storage system security
US20120096281A1 (en) Selective storage encryption
US20160026808A1 (en) Secure storage system
US8328104B2 (en) Storage device management systems and methods
CN113420308A (en) Data access control method and control system for encryption memory
JP5060069B2 (en) Method and apparatus for efficiently managing DRM rights objects in a low performance storage device
CN112764669B (en) Hardware accelerator
US20150227755A1 (en) Encryption and decryption methods of a mobile storage on a file-by-file basis
CN111190844A (en) Protocol conversion method and electronic equipment
JP4829979B2 (en) Data conversion method, apparatus and program on storage medium
JP2009064055A (en) Computer system and security management method
CN109711207B (en) Data encryption method and device
US20190057043A1 (en) Hot encryption support prior to storage device enrolment
CN110659472A (en) Password card and data storage system
US20240054236A1 (en) Selective encryption while loading from network attached storage system
Qiu et al. Ios data recovery using low-level nand images

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200522