Data transmission method and apparatus, storage medium, and electronic device

By establishing a logical mapping relationship between block storage and object storage, data transfer can be performed directly, solving the problem of low data transfer efficiency between block storage and object storage and achieving efficient data interaction.

CN122240015APending Publication Date: 2026-06-19JINAN INSPUR DATA TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
JINAN INSPUR DATA TECH CO LTD
Filing Date
2026-02-28
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

Data transfer efficiency between block storage and object storage is low. Existing technologies require data format conversion through an object conversion layer, which leads to high resource consumption and increased read/write latency.

Method used

Establish a logical mapping relationship between block storage space and object storage space, skip the object conversion layer, and directly perform data transmission.

Benefits of technology

It improves the data transfer efficiency between block storage and object storage, simplifies the data interaction process, and reduces read and write latency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122240015A_ABST
    Figure CN122240015A_ABST
Patent Text Reader

Abstract

This application discloses a data transmission method and apparatus, a storage medium, and an electronic device, relating to the field of data storage technology. The method is applied to a storage system, where the storage space includes block storage space and object storage space. The method includes: determining a logical mapping relationship between the block storage space and the object storage space, wherein the logical mapping relationship is determined based on a first correspondence between storage blocks in the block storage space and storage objects in the object storage space; and, in response to a data operation request initiated by a target object on the block storage space, performing data transmission between the storage blocks in the block storage space and the storage objects in the object storage space, wherein the types of data operation requests include data write requests and data read requests. This solves the technical problem of low data transmission efficiency between block storage and object storage, achieving the technical effect of improving the data transmission efficiency between block storage and object storage.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data storage, and particularly relates to a data transmission method and device, a storage medium and an electronic device. BACKGROUND

[0002] In the digital era, data is growing explosively, and various applications have put forward higher and higher requirements on the performance, reliability and flexibility of storage systems. Block storage and object storage, as two important storage methods, play a key role in different application scenarios. Block storage is a technology that divides data into fixed-size blocks for storage and management, and each block has a unique address. The host can directly read and write blocks through these addresses. Block storage has the characteristics of fast read and write speed and low delay, and is very suitable for scenarios that require high-performance random access, such as databases, virtualization environments, etc. Object storage is a storage method that packages data and related metadata into an object, and each object has a unique identifier and is accessed through HTTP and other protocols. Object storage has good scalability and fault tolerance, and is suitable for storing massive unstructured data such as pictures, videos, documents, etc. In cloud storage services, object storage is widely used and can easily meet the needs of massive users uploading and accessing data.

[0003] In actual applications, data interaction between block storage and object storage is often required. However, in the existing technical solutions, data conversion between the two usually needs to be completed through an object conversion layer. The object conversion layer is responsible for converting block data of block storage into object format of object storage, or converting object data of object storage into block format of block storage. However, the conversion process consumes a large amount of CPU and memory resources, increasing the overhead of the system. On the other hand, data needs to be processed and transmitted multiple times during the conversion process, resulting in increased read and write delay and significantly reduced data read and write efficiency.

[0004] Therefore, the related art has the problem of low data transmission efficiency between block storage and object storage. SUMMARY

[0005] The present application provides a data transmission method and device, a storage medium and an electronic device to at least solve the problem of low data transmission efficiency between block storage and object storage in the related art.

[0006] This application provides a data transmission method applied to a storage system, wherein the storage space of the storage system includes block storage space and object storage space, comprising: determining a logical mapping relationship between the block storage space and the object storage space, wherein the logical mapping relationship is determined based on a first correspondence between storage blocks in the block storage space and storage objects in the object storage space; and, in response to a data operation request initiated by a target object on the block storage space, performing data transmission between the storage blocks in the block storage space and the storage objects in the object storage space, wherein the data operation request includes data write requests and data read requests.

[0007] This application also provides a data transmission apparatus, comprising: a determining module, configured to determine a logical mapping relationship between a block storage space and an object storage space, wherein the logical mapping relationship is determined based on a first correspondence between storage blocks in the block storage space and storage objects in the object storage space; and a transmission module, configured to, in response to a data operation request initiated by a target object on the block storage space, perform data transmission between storage blocks in the block storage space and storage objects in the object storage space, wherein the data operation request includes data write requests and data read requests.

[0008] This application also provides an electronic device, including: a memory for storing a computer program; and a processor for implementing the steps of any of the above-described data transmission methods when executing the computer program.

[0009] This application also provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of any of the above-described data transmission methods.

[0010] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the above-described data transmission methods.

[0011] This application establishes a mapping relationship between storage blocks in the block storage space and storage objects in the object storage space, bypassing the object conversion layer and enabling direct data interaction between block storage and object storage. This solves the technical problem of low data transfer efficiency between block storage and object storage, achieving the technical effect of improving data transfer efficiency between them. Attached Figure Description

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

[0013] Figure 1 This is a schematic diagram illustrating an application scenario of a data transmission method according to an embodiment of this application;

[0014] Figure 2 This is a flowchart illustrating an optional data transmission method according to an embodiment of this application;

[0015] Figure 3 This is a schematic diagram (a) of an optional data transmission method according to an embodiment of this application;

[0016] Figure 4 This is a schematic diagram (II) of an optional data transmission method according to an embodiment of this application;

[0017] Figure 5 This is a structural block diagram of an optional data transmission device according to an embodiment of this application. Detailed Implementation

[0018] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of this application.

[0019] It should be noted that, in the description of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. The terms "first," "second," etc., in this application are used to distinguish similar objects and are not used to describe a specific order or sequence.

[0020] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0021] According to one aspect of the embodiments of this application, a data transmission method is provided. Optionally, in this embodiment, the above-described data transmission method may be applied to, but is not limited to, [examples of applications such as...]. Figure 1The hardware environment shown includes terminal device 102 and server 104. Server 104 can be connected to terminal device 102 via a network and can be used to provide services (e.g., application services, etc.) to terminal device 102 or clients installed on terminal device 102. A database can be set up on server 104 or independently of server 104 to provide data storage services for server 104.

[0022] The aforementioned network may include, but is not limited to, at least one of the following: wired network and wireless network. The aforementioned wired network may include, but is not limited to, at least one of the following: wide area network (WAN), metropolitan area network (MAN), and local area network (LAN). The aforementioned wireless network may include, but is not limited to, at least one of the following: Wi-Fi (Wireless Fidelity) and Bluetooth. Terminal device 102 may be, but is not limited to, PC (Personal Computer), mobile phone, tablet computer, etc. Server 104 may be, but is not limited to, a cloud server, server cluster, or other server types.

[0023] The data transmission method of this application embodiment can be executed by server 104, terminal device 102, or jointly by server 104 and terminal device 102. Alternatively, the data transmission method of this application embodiment can be executed by a client installed on terminal device 102.

[0024] Taking the data transmission method in this embodiment executed by terminal device 102 as an example, here, terminal device 102 can be a physical host, the data transmission method in this embodiment is applied to the physical host, the memory that the physical host can call is divided into multiple memory levels, one of the multiple memory levels contains at least one type of memory, and the multiple memory levels include the first memory level corresponding to the physical memory of the physical host. Here, physical hosts can be enterprise-level servers, cluster servers, office computers, embedded devices, or other physical devices that serve as underlying hardware support in a virtualization environment. Physical memory, on the other hand, is a physical memory module directly connected to the host hardware. It is the core and foundation of the memory architecture. Physical memory is usually composed of Dynamic Random Access Memory (DRAM), which has extremely fast read and write speeds and can respond to the processor's memory access requests with nanosecond-level response times. This makes physical memory suitable for carrying the core code of the virtual machine operating system, frequently called system function libraries, and critical process data that are running at high speeds. For example, at the beginning of virtual machine startup, the operating system kernel needs to quickly load and initialize various hardware drivers and establish a basic system operating environment. At this time, physical memory can complete data read and write operations with extremely high efficiency, ensuring that the virtual machine can start quickly and stably. During the operation of the virtual machine, application parts that have extremely demanding requirements for memory read and write performance, such as the transaction processing module of the database management system and the real-time rendering engine, also rely on physical memory to ensure their efficient operation, thereby maintaining the smoothness and responsiveness of the entire virtual machine system.

[0025] Figure 2 This is a flowchart illustrating an optional data transmission method according to an embodiment of this application, as shown below. Figure 2 As shown, the process of this method may include the following steps:

[0026] Step S202: Determine the logical mapping relationship between the block storage space and the object storage space, wherein the logical mapping relationship is determined based on the first correspondence between the storage blocks in the block storage space and the storage objects in the object storage space;

[0027] Step S204: In response to a data operation request initiated by the target object on the block storage space, data is transferred between the storage block in the block storage space and the storage object in the object storage space. The types of the data operation request include data write requests and data read requests.

[0028] By establishing a mapping relationship between storage blocks in the block storage space and storage objects in the object storage space through the above steps, the object conversion layer is bypassed, enabling direct data interaction between block storage and object storage. This solves the technical problem of low data transfer efficiency between block storage and object storage, achieving the technical effect of improving the data transfer efficiency between them.

[0029] In an exemplary embodiment, determining the logical mapping relationship between block storage space and object storage space includes: establishing a first correspondence between storage blocks in the block storage space and storage objects in the object storage space; obtaining a second correspondence between the block address of the storage block and the object identifier of the storage object based on the first correspondence; and determining the logical mapping relationship based on the second correspondence.

[0030] Optionally, in the above embodiments, the logical mapping relationship between the block storage space and the object storage space can be stored through a mapping table. For example, the structure of the mapping table is shown in Table 1:

[0031] Table 1

[0032]

[0033] The mapping relationships in the above embodiments can adapt to different types of block storage devices and object storage devices, ensuring the compatibility and flexibility of the storage system, and enabling storage devices from different manufacturers and of different models to work together better.

[0034] In an exemplary embodiment, after determining the logical mapping relationship between the block storage space and the object storage space, the method further includes: after the storage structure of the block storage space or the object storage space changes, re-establishing a third correspondence between the storage blocks in the block storage space and the storage objects in the object storage space; obtaining a fourth correspondence between the block address of the storage block and the object identifier of the storage object based on the third correspondence; and updating the logical mapping relationship based on the fourth correspondence to obtain an updated logical mapping relationship.

[0035] Optionally, in the above embodiments, the mapping relationship in the mapping table is dynamically updated and maintained. When the structure of block storage or object storage changes, such as when the storage device adds a hard disk node or removes a faulty node, the mapping relationship between block storage space and object storage space will also be adjusted accordingly. The original mapping state will change from valid to invalid, and then a new mapping relationship will be added to the mapping table.

[0036] The above embodiments ensure the correctness and continuity of data interaction, and enhance the adaptability and stability of the storage system.

[0037] In an exemplary embodiment, in response to a data operation request initiated by a target object on the block storage space, data transmission is performed between a storage block in the block storage space and a storage object in the object storage space, including: if it is determined that the type of the data operation request is a data write request, parsing the data write request to obtain a write block address and write data; determining a first object identifier corresponding to the write block address according to the logical mapping relationship; and transmitting data to the object storage space according to the write block address, the first object identifier, and the write data.

[0038] Optionally, in the above embodiments, for example, if a host wants to write data to the block storage space in the storage system, but the written data may later need to be converted into object format, if the data is only written to the block storage space, then the written data needs to be read from the block storage space later, and then the object conversion layer is responsible for converting the block data of the block storage into the object format of the object storage, which is very cumbersome. In the above embodiments, when processing the data write request to the block storage space (the process of writing to the block storage space is a conventional technical means, which will not be described in detail in this application), data synchronization with the object storage space is performed through data transmission, which makes it very convenient to read data from the block storage space or the object storage space later.

[0039] In an exemplary embodiment, transmitting data to the object storage space according to the write block address, the first object identifier, and the write data includes: determining the write type corresponding to the data write request; and if the write type of the data write request is determined to be an overwrite write, writing the write data into the storage object corresponding to the first object identifier.

[0040] In an exemplary embodiment, transmitting data to the object storage space according to the write block address, the first object identifier, and the write data includes: determining the write type corresponding to the data write request; if the write type of the data write request is determined to be an append write, reading the current data from the storage block corresponding to the write block address; and writing the current data into the storage object corresponding to the first object identifier.

[0041] Optionally, in the above embodiments, if the data write request to the block storage space is an overwrite write (including writing new data to a blank storage block and overwriting a storage block with existing data), the new data in the data write request can be directly written to the storage object corresponding to the storage block. If the data write request to the block storage space is an append write, the latest current data needs to be read from the storage block after the append write is completed, and then the current data is written to the storage object corresponding to the storage block.

[0042] The above embodiments can skip the traditional object conversion layer, simplify the interaction architecture between block storage and object storage, and directly perform data interaction between block storage and object storage through mapping relationships, thereby improving data transmission efficiency.

[0043] In an exemplary embodiment, in response to a data operation request initiated by a target object on the block storage space, data transmission is performed between a storage block in the block storage space and a storage object in the object storage space, including: if the type of the data operation request is determined to be a data read request, parsing the data read request to obtain a read block address; determining a second object identifier corresponding to the read block address according to the logical mapping relationship; writing read data read from the storage object corresponding to the second object identifier into the storage block corresponding to the read block address; and sending the data in the storage block corresponding to the read block address to the target object.

[0044] Optionally, in the above embodiments, for example, if the host needs to read data in a storage block format, but this data is only stored in the object storage space, then it is only necessary to directly transfer the data in the storage object to the corresponding storage block, and then return the data in the storage block to the host.

[0045] In an optional embodiment, after parsing the data read request to obtain the read block address, if the object identifier corresponding to the read block address is not found in the logical mapping relationship, a mapping error message is returned to the target object.

[0046] The following describes an optional data transmission method of the present application with reference to optional embodiments. In one optional embodiment, the data transmission method can be implemented in conjunction with a data transmission system, which includes a block storage device (i.e., block storage space), an object storage device (i.e., object storage space), a mapping management module, a data transmission module, and a control module.

[0047] The mapping management module is responsible for establishing and maintaining the direct mapping relationship between block storage and object storage. It maps each storage block in the block storage to a storage object in the object storage, with a one-to-one correspondence between the block address of the storage block and the object identifier of the storage object, and records the above mapping relationship to form a mapping table.

[0048] The data transfer module is used to directly transfer data between block storage devices and object storage devices without going through an object conversion layer. When data read and write operations are required, the data transfer module directly transfers block data from block storage to the corresponding object in object storage, or transfers object data from object storage to the corresponding storage block in block storage, based on the mapping relationship provided by the mapping management module.

[0049] The control module receives read and write requests from the host, parses the address information in the request, queries the mapping management module for the corresponding mapping relationship, controls the data transmission module to perform data transmission operations between block storage and object storage, and returns the operation results to the host.

[0050] In an optional embodiment, the data writing process is described in conjunction with the above-described data transmission system, such as... Figure 3 As shown, the specific steps include:

[0051] 1. The host sends a data write request to the control module, which includes the block address to be written and the data to be written.

[0052] 2. The control module parses the write request, obtains the block address, and queries the mapping management module for the object identifier corresponding to the block address.

[0053] 3. The mapping management module looks up the object identifier corresponding to the block address in the mapping table and returns it to the control module.

[0054] It should be noted that if no corresponding mapping relationship is found in this step, an error message is returned to the control module, which then sends the error message back to the host.

[0055] 4. The control module sends the block address, the corresponding object identifier, and the data to be written to the data transmission module, instructing it to perform data transmission.

[0056] It should be noted that if the data write request is to write new data or to overwrite, then there is no need to skip steps 5-6, and step 7 can be executed directly.

[0057] 5. The data transmission module reads the current data from the block storage device based on the block address.

[0058] 6. The block storage device returns the current data of the storage block corresponding to the block address to the data transmission module.

[0059] 7. The data transmission module directly writes the current data (or the write data in the request) of the storage block into the storage object corresponding to the object storage device based on the object identifier.

[0060] 8. After the data writing is complete, the data transmission module returns a message to the control module indicating that the write was successful.

[0061] 9. The control module then returns the result of the request execution to the host.

[0062] In an optional embodiment, the data reading process is described in conjunction with the above-described data transmission system, such as... Figure 4 As shown, the specific steps include:

[0063] 1. The host sends a data read request to the control module, which includes the address of the block to be read.

[0064] 2. The control module parses the read request, obtains the block address, and queries the mapping management module for the object identifier corresponding to the block address.

[0065] 3. The mapping management module looks up the corresponding object identifier in the mapping table and returns it to the control module.

[0066] It should be noted that if no corresponding mapping relationship is found in this step, an error message is returned to the control module, which then sends the error message back to the host.

[0067] 4. The control module sends the block address and object identifier to the data transmission module, instructing it to perform data transmission.

[0068] 5. The data transmission module reads data from the stored object from the object storage device based on the object identifier.

[0069] 6. The block storage device returns the data in the stored object to the data transmission module.

[0070] 7. The data transmission module writes the data into the block corresponding to the block storage device according to the block address.

[0071] 8. After the data writing is complete, the data transmission module returns a write success message to the control module.

[0072] 9. The control module reads data from the block storage device based on the block address.

[0073] 10. The block storage device returns the data in the storage block corresponding to the block address to the control module.

[0074] 11. The control module returns the read data to the host.

[0075] Through the above embodiments, a direct mapping relationship is established between blocks in block storage and objects in object storage through the mapping management module. The data transmission module can directly transmit data between the block storage device and the object storage device based on the mapping information provided by the mapping management module. By eliminating the data format conversion process, data processing and transmission time is greatly reduced, read / write latency is lowered, and data throughput is improved. The mapping management module can dynamically update and maintain the mapping table. When the structure of block storage or object storage changes, the mapping relationship can be adjusted in a timely manner to ensure the correctness and continuity of data interaction, enhancing the adaptability and stability of the system.

[0076] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (e.g., read-only memory (ROM) / random access memory (RAM), magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.

[0077] According to another aspect of the embodiments of this application, a data transmission apparatus is also provided, which can be used to implement the data transmission method provided in the above embodiments, and will not be repeated hereafter. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0078] Figure 5 This is a structural block diagram of an optional data transmission device according to an embodiment of this application, such as... Figure 5 As shown, the data transmission device includes:

[0079] The determining module 52 is used to determine the logical mapping relationship between the block storage space and the object storage space, wherein the logical mapping relationship is determined based on a first correspondence between the storage blocks in the block storage space and the storage objects in the object storage space;

[0080] The transmission module 54 is used to respond to a data operation request initiated by the target object on the block storage space to perform data transmission between the storage block in the block storage space and the storage object in the object storage space. The types of the data operation request include data write request and data read request.

[0081] The data transmission device provided in this application establishes a mapping relationship between storage blocks in the block storage space and storage objects in the object storage space, bypassing the object conversion layer and enabling direct data interaction between block storage and object storage. This solves the technical problem of low data transmission efficiency between block storage and object storage, achieving the technical effect of improving data transmission efficiency between them.

[0082] In an exemplary embodiment, the determining module 52 is configured to establish a first correspondence between storage blocks in the block storage space and storage objects in the object storage space; obtain a second correspondence between the block address of the storage block and the object identifier of the storage object based on the first correspondence; and determine the logical mapping relationship based on the second correspondence.

[0083] In an exemplary embodiment, the determining module 52 is configured to, after the storage structure of the block storage space or the object storage space changes, re-establish a third correspondence between the storage blocks in the block storage space and the storage objects in the object storage space; obtain a fourth correspondence between the block address of the storage block and the object identifier of the storage object based on the third correspondence; and update the logical mapping relationship based on the fourth correspondence to obtain an updated logical mapping relationship.

[0084] In an exemplary embodiment, the transmission module 54 is configured to, when determining that the type of the data operation request is the data write request, parse the data write request to obtain a write block address and write data; determine a first object identifier corresponding to the write block address according to the logical mapping relationship; and transmit data to the object storage space according to the write block address, the first object identifier, and the write data.

[0085] In an exemplary embodiment, the transmission module 54 is configured to determine the write type corresponding to the data write request; if the write type of the data write request is determined to be an overwrite write, the write data is written to the storage object corresponding to the first object identifier.

[0086] In an exemplary embodiment, the transmission module 54 is configured to determine the write type corresponding to the data write request; if the write type of the data write request is determined to be an append write, read the current data from the storage block corresponding to the write block address; and write the current data into the storage object corresponding to the first object identifier.

[0087] In an exemplary embodiment, the transmission module 54 is configured to, when determining that the type of the data operation request is the data read request, parse the data read request to obtain a read block address; determine a second object identifier corresponding to the read block address according to the logical mapping relationship; write the read data read from the storage object corresponding to the second object identifier into the storage block corresponding to the read block address; and send the data in the storage block corresponding to the read block address to the target object.

[0088] For a description of the features in the embodiments corresponding to the data transmission device described above, please refer to the relevant descriptions in the embodiments corresponding to the data transmission method, which will not be repeated here.

[0089] Embodiments of this application also provide an electronic device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above-described data transmission method embodiments.

[0090] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above-described data transmission method embodiments when it is run.

[0091] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0092] Embodiments of this application also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above-described data transmission method embodiments.

[0093] Embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in any of the above-described data transmission method embodiments.

[0094] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0095] The foregoing has provided a detailed description of the method, apparatus, storage medium, and electronic device of a distributed storage system provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only intended to aid in understanding the method and core ideas of this application. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of this application.

Claims

1. A data transmission method, characterized in that, Applied to a storage system, the storage space of the storage system includes block storage space and object storage space, including: Determine the logical mapping relationship between block storage space and object storage space, wherein the logical mapping relationship is determined based on a first correspondence between storage blocks in the block storage space and storage objects in the object storage space; In response to a data operation request initiated by a target object on the block storage space, data is transferred between the storage blocks in the block storage space and the storage objects in the object storage space. The types of the data operation requests include data write requests and data read requests.

2. The data transmission method according to claim 1, characterized in that, Determine the logical mapping relationship between block storage space and object storage space, including: Establish a first correspondence between the storage blocks in the block storage space and the storage objects in the object storage space; A second correspondence is obtained between the block address of the storage block and the object identifier of the storage object based on the first correspondence; The logical mapping relationship is determined based on the second correspondence.

3. The data transmission method according to claim 1, characterized in that, After determining the logical mapping relationship between block storage space and object storage space, the method further includes: After the storage structure of the block storage space or the object storage space changes, a third correspondence between the storage blocks in the block storage space and the storage objects in the object storage space is re-established. A fourth correspondence is obtained between the block address of the storage block and the object identifier of the storage object based on the third correspondence. The logical mapping relationship is updated based on the fourth correspondence to obtain the updated logical mapping relationship.

4. The data transmission method according to claim 1, characterized in that, In response to a data operation request initiated by a target object on the block storage space, data transfer is performed between storage blocks in the block storage space and storage objects in the object storage space, including: If the type of the data operation request is determined to be the data write request, the data write request is parsed to obtain the write block address and the write data; The first object identifier corresponding to the write block address is determined based on the logical mapping relationship; Data is transferred to the object storage space according to the write block address, the first object identifier, and the write data.

5. The data transmission method according to claim 4, characterized in that, Transmitting data to the object storage space according to the write block address, the first object identifier, and the write data includes: Determine the write type corresponding to the data write request; If it is determined that the write type of the data write request is an overwrite write, the write data is written to the storage object corresponding to the first object identifier.

6. The data transmission method according to claim 4, characterized in that, Transmitting data to the object storage space according to the write block address, the first object identifier, and the write data includes: Determine the write type corresponding to the data write request; If it is determined that the write type of the data write request is an append write, the current data is read from the storage block corresponding to the write block address; Write the current data into the storage object corresponding to the first object identifier.

7. The data transmission method according to claim 1, characterized in that, In response to a data operation request initiated by a target object on the block storage space, data transfer is performed between storage blocks in the block storage space and storage objects in the object storage space, including: If the type of the data operation request is determined to be the data read request, the data read request is parsed to obtain the read block address; The second object identifier corresponding to the read block address is determined based on the logical mapping relationship; The read data read from the storage object corresponding to the second object identifier is written into the storage block corresponding to the read block address; The data in the storage block corresponding to the read block address is sent to the target object.

8. A data transmission device, characterized in that, include: The determining module is used to determine the logical mapping relationship between the block storage space and the object storage space, wherein the logical mapping relationship is determined based on a first correspondence between the storage blocks in the block storage space and the storage objects in the object storage space; The transmission module is used to respond to a data operation request initiated by the target object on the block storage space to perform data transmission between the storage blocks in the block storage space and the storage objects in the object storage space. The types of the data operation request include data write requests and data read requests.

9. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the data transmission method as described in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the data transmission method as described in any one of claims 1 to 7.