CN111092817A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN111092817A
CN111092817A CN201911341199.3A CN201911341199A CN111092817A CN 111092817 A CN111092817 A CN 111092817A CN 201911341199 A CN201911341199 A CN 201911341199A CN 111092817 A CN111092817 A CN 111092817A
Authority
CN
China
Prior art keywords
target data
data
storage
data transmission
storage device
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.)
Withdrawn
Application number
CN201911341199.3A
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201911341199.3A priority Critical patent/CN111092817A/en
Publication of CN111092817A publication Critical patent/CN111092817A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a data transmission method and device, relates to the technical field of communication, and solves the technical problem that the existing data transmission method is low in resource utilization rate. The method comprises the following steps: the first device acquires the storage address of the target data sent by the second device and sends the storage address used for indicating the target data to the first storage device. Acquiring indication information of target data and a storage address of the target data; and the first storage equipment acquires the target data from the second storage equipment according to the indication information and the storage address of the target data.

Description

Data transmission method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data transmission method and apparatus.
Background
In a communication system, a network device typically transmits data directly to another network device. However, if the amount of data to be transmitted is large, the communication link in the communication system is likely to be jammed, the communication resource between the two is occupied, and the effective utilization rate of the communication resource is reduced.
Disclosure of Invention
The application provides a data transmission method and a data transmission device, which solve the technical problem that the communication resource utilization rate of the existing data transmission method is low.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, a data transmission method is provided, which is applied to a communication system including a first device and a second device. Here, the service data of the first device is stored in the first storage device, and the service data of the second device is stored in the second storage device. Specifically, after the storage address of the target data sent by the second device is obtained, the first device sends the storage address of the target data and indication information for indicating that the target data is obtained according to the storage address of the target data to the first storage device.
It can be seen that, in the process of communicating with the second device and the first device acquiring the target data, the second device does not send the target data to the first device, but sends the storage address of the target data. The storage address of the target data occupies very little communication resources compared to the target data. Therefore, the data transmission method effectively reduces the occupancy rate of the communication resources between the first device and the second device, and improves the effective utilization rate of the communication resources between the first device and the second device.
In a second aspect, a data transmission method is provided, which is applied to a communication system including a first device and a second device. Here, the service data of the first device is stored in the first storage device, and the service data of the second device is stored in the second storage device. Specifically, after receiving a storage address of the target data sent by the first device and indication information for indicating that the target data is acquired according to the storage address of the target data, the first storage device acquires the target data from the second storage device according to the indication information and the storage address of the target data.
It can be seen that, since the first storage device of the first device can obtain the target data from the second storage device of the second device, and the second device does not need to send the target data to the first device, the occupancy rate of the communication resources between the first device and the second device is reduced, and the effective utilization rate of the communication resources between the first device and the second device is improved.
In a third aspect, a data transmission apparatus is provided, where the data transmission apparatus is applied to a first device, the first device belongs to a communication system including the first device and a second device, service data of the first device is stored in a first storage device, and service data of the second device is stored in a second storage device; the data transmission device includes: the acquisition unit is used for acquiring a storage address of target data sent by the second equipment, wherein the target data belongs to service data of the second equipment; a sending unit configured to send the instruction information and the storage address of the target data acquired by the acquisition unit to the first storage device; the indication information is used for indicating to acquire the target data according to the storage address of the target data.
In a fourth aspect, a data transmission apparatus is provided, which is applied to a second device belonging to a communication system including a first device and the second device, wherein service data of the first device is stored in a first storage device, and service data of the second device is stored in a second storage device; the data transmission device includes: the receiving unit is used for receiving the indication information and the storage address of the target data sent by the first equipment; the indication information is used for indicating to acquire the target data according to the storage address of the target data; and the acquisition unit is used for acquiring the target data from the second storage equipment according to the indication information received by the receiving unit and the storage address of the target data.
In a fifth aspect, a data transmission apparatus is provided that includes a memory and a processor. The memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus. When the data transmission device is running, the processor executes the computer-executable instructions stored in the memory to cause the data transmission device to execute the data transmission method according to the first aspect or the second aspect.
The data transmission device may be a network device, or may be a part of a device in the network device, such as a system on chip in the network device. The chip system is configured to support the network device to implement the functions related to the first aspect or the second aspect and any one of the possible implementations thereof, for example, to receive, determine, and offload data and/or information related to the data transmission method. The chip system includes a chip and may also include other discrete devices or circuit structures.
In a sixth aspect, a computer-readable storage medium is provided, which comprises computer-executable instructions, which, when executed on a computer, cause the computer to perform the data transmission method of the first or second aspect.
In a seventh aspect, a computer program product is provided, which comprises computer instructions that, when run on a computer, cause the computer to perform the data transmission method as described in the first aspect and its various possible implementations.
It should be noted that all or part of the above computer instructions may be stored on the first computer readable storage medium. The first computer readable storage medium may be packaged with the processor of the data transmission device, or may be packaged separately from the processor of the data transmission device, which is not limited in this application.
For the description of the third, fourth, fifth, sixth and seventh aspects of the present invention, reference may be made to the detailed description of the first or second aspect; in addition, for the beneficial effects described in the third aspect, the fourth aspect, the fifth aspect, the sixth aspect and the seventh aspect, reference may be made to beneficial effect analysis of the first aspect or the second aspect, and details are not repeated here.
In the present application, the names of the above-mentioned data transmission devices do not limit the devices or functional modules themselves, and in actual implementation, the devices or functional modules may appear by other names. Insofar as the functions of the respective devices or functional blocks are similar to those of the present invention, they are within the scope of the claims of the present invention and their equivalents.
These and other aspects of the invention will be more readily apparent from the following description.
Drawings
Fig. 1 is a schematic structural diagram of a data transmission system according to an embodiment of the present application;
fig. 2 is a schematic hardware structure diagram of a data transmission apparatus according to an embodiment of the present application;
fig. 3 is a schematic hardware structure diagram of another data transmission apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a data transmission device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
For the convenience of clearly describing the technical solutions of the embodiments of the present application, in the embodiments of the present application, the terms "first" and "second" are used to distinguish the same items or similar items with basically the same functions and actions, and those skilled in the art can understand that the terms "first" and "second" are not used to limit the quantity and execution order.
In a communication system, a network device typically transmits data directly to another network device. However, if the amount of data to be transmitted is large, the communication link in the communication system is likely to be jammed, the communication resource between the two is occupied, and the effective utilization rate of the communication resource is reduced.
In view of the foregoing problems, an embodiment of the present application provides a data transmission method, which is applied to a communication system including a first device and a second device, where service data of the first device is stored in a first storage device, and service data of the second device is stored in a second storage device. The data transmission method comprises the following steps: after the storage address of the target data sent by the second device is obtained, the first device sends the storage address of the target data and indication information used for indicating that the target data are obtained according to the storage address of the target data to the first storage device. And the first storage equipment acquires the target data from the second storage equipment according to the indication information and the storage address of the target data.
It can be seen that, in the process of communicating with the second device and the first device acquiring the target data, the second device does not send the target data to the first device, but sends the storage address of the target data. The storage address of the target data occupies very little communication resources compared to the target data. After receiving the storage address of the target data sent by the first device and the indication information for indicating that the target data is acquired according to the storage address of the target data, the first storage device acquires the target data from the second storage device according to the indication information and the storage address of the target data. The first storage device of the first device can acquire the target data from the second storage device of the second device, and the second device is not required to send the target data to the first device, so that the occupancy rate of communication resources between the first device and the second device is reduced, and the effective utilization rate of the communication resources between the first device and the second device is improved.
The data transmission method provided by the embodiment of the application is suitable for the data transmission system 10. Fig. 1 shows a structure of the data transmission system 10. As shown in fig. 1, the data transmission system 10 includes: a first device 11, a first storage device 12, a second device 13, a second storage device 14. The service data of the first device 11 is stored in the first storage device 12, and the service data of the second device 13 is stored in the second storage device 14. The first device 11 and the second device 13 are connected through a communication network.
Optionally, the first storage device 12 and the second storage device 14 are connected through a Storage Area Network (SAN) switch 15. It should be noted that fig. 1 shows one SAN switch 15, but in practical applications, there may be multiple SAN switches, and in this embodiment, 1 SAN switch is taken as an example for description.
The first storage device 12 may communicate with the first device 11, and the first storage device 12 may respond to an Input/Output (IO) request sent by the first device 11. For example: and returning the data to be accessed requested by the read IO request and the data to be written in the write IO request.
The first device 11 may be a client device, such as a computer, or may be a server.
Here, the first storage device 12 and the first device 11 may be independent devices or may be integrated in the same device, and this application is not limited thereto.
For the convenience of understanding, the present application mainly illustrates an example in which the first storage device 12 and the first device 11 are independently provided.
The first storage device 12 and the first device 11 may be connected in a wired manner, or may be connected in a wireless manner to form a remote storage system.
It is easily understood that when the first storage device 12 and the first device 11 are integrated in the same device, the communication mode between the first storage device 12 and the first device 11 is communication between internal modules of the device. In this case, the communication flow between the two is the same as "the communication flow between the first storage apparatus 12 and the first apparatus 11 when they are independent of each other".
The second storage device 14 may refer to the description of the first storage device 12, and the second storage device 13 may refer to the description of the first storage device 11, which will not be described in detail herein.
The basic hardware structures of the first device 11, the first storage device 12, the second device 13, the second storage device 14, and the SAN switch 15 in fig. 1 are similar and include elements included in the data transfer apparatus shown in fig. 2. The hardware structure of the first device 11, the first storage device 12, the second device 13, the second storage device 14, and the SAN switch 15 in fig. 1 will be described below by taking the data transmission apparatus shown in fig. 2 as an example.
Fig. 2 is a schematic diagram illustrating a hardware structure of a data transmission apparatus according to an embodiment of the present application. As shown in fig. 2, the data transmission apparatus includes a processor 21, a memory 22, a communication interface 23, and a bus 24. The processor 21, the memory 22 and the communication interface 23 may be connected by a bus 24.
The processor 21 is a control center of the data transmission apparatus, and may be a single processor or a collective term for a plurality of processing elements. For example, the processor 21 may be a Central Processing Unit (CPU), other general-purpose processors, or the like. Wherein a general purpose processor may be a microprocessor or any conventional processor or the like.
For one embodiment, processor 21 may include one or more CPUs, such as CPU 0 and CPU 1 shown in FIG. 2.
The memory 22 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
In a possible implementation, the memory 22 may exist separately from the processor 21, and the memory 22 may be connected to the processor 21 via a bus 24 for storing instructions or program codes. The processor 21 can implement the data transmission method provided by the embodiment of the present invention when calling and executing the instructions or program codes stored in the memory 22.
In another possible implementation, the memory 22 may also be integrated with the processor 21.
And a communication interface 23 for connecting with other devices through a communication network. The communication network may be an ethernet network, a radio access network, a Wireless Local Area Network (WLAN), or the like. The communication interface 23 may include a receiving unit for receiving data, and a transmitting unit for transmitting data.
The bus 24 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 2, but it is not intended that there be only one bus or one type of bus.
It is to be noted that the structure shown in fig. 2 does not constitute a limitation of the data transmission apparatus. The data transmission means may comprise more or fewer components than those shown in fig. 2, or some components may be combined, or a different arrangement of components than those shown.
Fig. 3 shows another hardware configuration of the data transmission apparatus in the embodiment of the present application. As shown in fig. 3, the data transmission means may comprise a processor 31 and a communication interface 32. The processor 31 is coupled to a communication interface 32.
The function of the processor 31 may refer to the description of the processor 21 above. The processor 31 also has a memory function, and the function of the memory 22 can be referred to.
The communication interface 32 is used to provide data to the processor 31. The communication interface 32 may be an internal interface of the data transfer device, or may be an external interface (corresponding to the communication interface 23) of the data transfer device.
It should be noted that the structure shown in fig. 2 (or fig. 3) does not constitute a limitation of the data transmission apparatus, and the data transmission apparatus may include more or less components than those shown in fig. 2 (or fig. 3), or combine some components, or a different arrangement of components, in addition to the components shown in fig. 2 (or fig. 3).
The data transmission method provided by the embodiment of the present application is described in detail below with reference to the data transmission system shown in fig. 1 and the data transmission device shown in fig. 2 (or fig. 3).
Fig. 4 is a schematic flowchart of a data transmission method according to an embodiment of the present application. As shown in fig. 4, the data transmission method includes S401 to S407.
S401, the first device acquires the storage address of the target data sent by the second device.
And the target data is the service data of the second equipment. When the first device acquires the storage address of the target data, since the service data of the second device is stored in the second storage device, and the second storage device includes a plurality of memory spaces, the storage address of the target data is: any one or more of the plurality of memory spaces of the second storage device.
Optionally, when the second device may actively send the storage address of the target data to the first device, the first device may obtain the storage address of the target data sent by the second device. The first device may also send a request message to the second device, and correspondingly, the second device sends the address information of the target data to the first device according to the request message. The request message is used for requesting the second device to send the storage address of the target data.
Illustratively, the first device is a monitoring device, the second device is an operating device, the target data is operating data of the operating device at 12:00, and the target data is stored in the memory space a of the second storage device. After the operating device operates for one day, the operating device actively reports the storage address of the target data (i.e., the memory space a) including 12:00 and the storage addresses of the operating data in other time periods to the monitoring device. The monitoring device may also be used in 12:00 actively sends a request message to the running device, and requests the running device to send the storage address (namely the memory space a) of the target data to the monitoring device.
S402, the first device sends the indication information and the storage address of the target data to the first storage device.
After acquiring the storage address of the target data sent by the second device, the first device sends the indication information and the storage address of the target data to the first storage device. The indication information is used for indicating the first storage device to acquire the target data according to the storage address of the target data.
S403, the first storage device sends a read data request to the second storage device.
After acquiring the indication information sent by the first device and the storage address of the target data, the first storage device sends a read data request to the second storage device to request to read the target data in the second storage device. Wherein the read data request includes a memory address of the target data.
Optionally, the first storage device and the second storage device communicate through a SAN switch. In the embodiment of the application, a system only used for communication between storage devices is constructed between the first storage device and the second storage device through the SAN switch, and the first storage device can directly acquire target data in the second storage device through the SAN switch.
S404, the second storage device sends the target data to the first storage device.
After receiving the read data request sent by the first storage device, the second storage device sends the target data to the first storage device according to the read data request because the read data request sent by the first storage device requests to read the target data in the second storage device.
S405, the first storage device stores the target data.
After receiving the target data sent by the second storage device, the first storage device stores the target data, so that the first device can directly send the target data to the first device when the target data is used subsequently, and the target data does not need to be repeatedly acquired from the second storage device.
Optionally, after the target data is stored, the first storage device may further set a Time To Live (TTL) for the target data, and when the TTL of the target data meets a preset threshold, the first storage device may process the target data according to the TTL of the target data (for example, delete the target data).
S406, the first storage device sends a first response message to the first device.
After receiving the target data sent by the second storage device, the first storage device may also send a first response message to the first device, where the first response message is used to indicate that the target data has been successfully acquired. For example: an OK message or an ACK message.
In this embodiment of the application, after receiving the target data sent by the second storage device, the first storage device may first execute S405 and then execute S406; or executing S406 first and then executing S405; s405 and S406 may also be performed simultaneously, and are not limited herein.
S407, the first device sends a second response message to the second device.
After receiving the first response message sent by the first storage device, the first device may also send a second response message to the second device, where the second response message is used to indicate that the target data has been successfully acquired. For example: an OK message or an ACK message.
Optionally, the second response message and the first response message may be the same, for example, the second response message and the first response message are both OK messages; or both the second response message and the first response message are ACK messages. The second response message and the first response message may also be different, for example, the second response message is an OK message, and the first response message is an ACK message; or the second response message is an ACK message, and the first response message is an OK message.
The embodiment of the application provides a data transmission method, which is applied to a communication system comprising first equipment and second equipment, wherein the service data of the first equipment is stored in first storage equipment, and the service data of the second equipment is stored in second storage equipment. The data transmission method comprises the following steps: when the first device acquires the target data, the second device only needs to send the storage address of the target data to the first device. Then, the first device sends, to the first storage device, indication information for indicating that the target data is acquired according to the storage address of the target data, and the storage address of the target data. Then, the first storage device of the first device may directly obtain the target data from the second storage device of the second device according to the indication information and the storage address of the target data. Compared with the prior art, the second device in the application only needs to send the storage address of the target data instead of sending the target data to the first device, and the storage address of the target data occupies fewer communication resources than the target data, so that the occupancy rate of the communication resources between the first device and the second device is reduced, and the effective utilization rate of the communication resources between the first device and the second device is improved.
The scheme provided by the embodiment of the application is mainly introduced from the perspective of a method. To implement the above functions, it includes hardware structures and/or software modules for performing the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiment of the present application, the data transmission device may be divided into the functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. Optionally, the division of the modules in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 5 is a schematic structural diagram of a data transmission device 50 according to an embodiment of the present application. The data transmission apparatus 50 is used to improve the effective utilization of the communication resources between the first device and the second device, for example, to execute the data transmission method shown in fig. 4. The data transmission apparatus 50 is applied to a first device belonging to a communication system including the first device and a second device, service data of the first device is stored in a first storage device, and service data of the second device is stored in a second storage device. The data transmission device 50 includes: an acquisition unit 501 and a transmission unit 502.
An obtaining unit 501, configured to obtain a storage address of target data sent by the second device, where the target data belongs to service data of the second device. For example, in conjunction with fig. 4, the obtaining unit 501 may be configured to perform S401.
A sending unit 502, configured to send the instruction information and the storage address of the target data acquired by the acquiring unit 501 to the first storage device; the indication information is used for indicating to acquire the target data according to the storage address of the target data. For example, in connection with fig. 4, the sending unit 502 may be configured to perform S402.
Optionally, the obtaining unit 501 is further configured to obtain a first response message sent by the first storage device; the first response message is used for indicating that the target data is successfully acquired. For example, in conjunction with fig. 4, the obtaining unit 501 may be configured to perform S406.
The sending unit 502 is further configured to send a second response message to the second device, where the second response message is used to indicate that the target data has been successfully acquired. For example, in connection with fig. 4, the sending unit 502 may be configured to execute S407.
Fig. 6 is a schematic structural diagram of another data transmission device 60 according to an embodiment of the present disclosure. The data transmission apparatus 60 is used to improve the effective utilization of the communication resources between the first device and the second device, for example, to execute the data transmission method shown in fig. 4. The data transmission apparatus 60 is applied to a second device belonging to a communication system including a first device and the second device, service data of the first device is stored in a first storage device, and service data of the second device is stored in a second storage device. The data transmission device 60 includes: a receiving unit 601 and an obtaining unit 602.
A receiving unit 601, configured to receive indication information and a storage address of target data sent by a first device; the indication information is used for indicating to acquire the target data according to the storage address of the target data. For example, in connection with fig. 4, the receiving unit 601 may be configured to perform S402.
An obtaining unit 602, configured to obtain the target data from the second storage device according to the indication information and the storage address of the target data received by the receiving unit 601. For example, in conjunction with fig. 4, the obtaining unit 602 may be configured to perform S403 and S404.
Optionally, the obtaining unit 602 is specifically configured to: sending a read data request to the second storage device, wherein the read data request comprises a storage address of the target data; and receiving the target data sent by the second storage device.
Optionally, as shown in fig. 7, the data transmission apparatus further includes: a storage unit 603.
A storage unit 603 for storing the target data acquired by the acquisition unit 602. For example, in conjunction with fig. 4, the storage unit 603 may be used to perform S405.
Optionally, as shown in fig. 7, the data transmission device 70 further includes: a transmitting unit 604.
The sending unit 604 is configured to send a first response message to the first device; the first response message is used to indicate that the target data acquired by the acquisition unit 602 has been successfully acquired. For example, in conjunction with fig. 4, the sending unit 604 may be configured to perform S406.
Embodiments of the present application also provide a computer-readable storage medium, which includes computer-executable instructions. When the computer executes the instructions to run on the computer, the computer is caused to execute the steps executed by the data transmission device in the data transmission method provided by the embodiment.
The embodiment of the present application further provides a computer program product, where the computer program product may be directly loaded into the memory and contains software codes, and after the computer program product is loaded and executed by the computer, the computer program product can implement each step executed by the data transmission device in the data transmission method provided in the foregoing embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented using a software program, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The processes or functions according to the embodiments of the present application are generated in whole or in part when the computer-executable instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). Computer-readable storage media can be any available media that can be accessed by a computer or can comprise one or more data storage devices, such as servers, data centers, and the like, that can be integrated with the media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical function division, and there may be other division ways in actual implementation. For example, various elements or components may be combined or may be integrated into another device, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (14)

1. A data transmission method is applied to a communication system comprising a first device and a second device, wherein service data of the first device is stored in a first storage device, and service data of the second device is stored in a second storage device; the data transmission method comprises the following steps:
the first device acquires a storage address of target data sent by the second device, wherein the target data belongs to service data of the second device;
the first device sends indication information and a storage address of the target data to the first storage device; the indication information is used for indicating to acquire the target data according to the storage address of the target data.
2. The data transmission method according to claim 1, wherein the data transmission method further comprises:
the first equipment acquires a first response message sent by the first storage equipment; the first response message is used for indicating that the target data is successfully acquired;
and the first equipment sends a second response message to the second equipment, wherein the second response message is used for indicating that the target data is successfully acquired.
3. A data transmission method is applied to a communication system comprising a first device and a second device, wherein service data of the first device is stored in a first storage device, and service data of the second device is stored in a second storage device; the data transmission method comprises the following steps:
the first storage device receives the indication information sent by the first device and the storage address of the target data; the indication information is used for indicating to acquire the target data according to the storage address of the target data;
and the first storage equipment acquires the target data from the second storage equipment according to the indication information and the storage address of the target data.
4. The data transmission method according to claim 3, wherein the obtaining, by the first storage device, the target data from the second storage device according to the indication information and the storage address of the target data includes:
the first storage device sends a read data request to the second storage device, wherein the read data request comprises a storage address of the target data;
and the first storage device receives the target data sent by the second storage device.
5. The data transmission method according to claim 3 or 4, characterized in that the data transmission method further comprises:
the first storage device stores the target data.
6. The data transmission method according to claim 3, wherein the data transmission method further comprises:
the first storage device sends a first response message to the first device; the first response message is used for indicating that the target data is successfully acquired.
7. A data transmission apparatus, which is applied to a first device, where the first device belongs to a communication system including the first device and a second device, service data of the first device is stored in a first storage device, and service data of the second device is stored in a second storage device; the data transmission apparatus includes:
an obtaining unit, configured to obtain a storage address of target data sent by the second device, where the target data belongs to service data of the second device;
a sending unit, configured to send instruction information and the storage address of the target data acquired by the acquiring unit to the first storage device; the indication information is used for indicating to acquire the target data according to the storage address of the target data.
8. The data transmission apparatus according to claim 7, further comprising:
the acquiring unit is further configured to acquire a first response message sent by the first storage device; the first response message is used for indicating that the target data is successfully acquired;
the sending unit is further configured to send a second response message to the second device, where the second response message is used to indicate that the target data has been successfully acquired.
9. A data transmission device is applied to a second device, the second device belongs to a communication system comprising a first device and the second device, service data of the first device is stored in a first storage device, and service data of the second device is stored in a second storage device; the data transmission apparatus includes:
the receiving unit is used for receiving the indication information sent by the first equipment and the storage address of the target data; the indication information is used for indicating to acquire the target data according to the storage address of the target data;
and the acquisition unit is used for acquiring the target data from the second storage equipment according to the indication information received by the receiving unit and the storage address of the target data.
10. The data transmission apparatus according to claim 9, wherein the obtaining unit is specifically configured to:
the first storage device sends a read data request to the second storage device, wherein the read data request comprises a storage address of the target data;
and the first storage device receives the target data sent by the second storage device.
11. The data transmission apparatus according to claim 9 or 10, characterized in that the data transmission apparatus further comprises:
and the storage unit is used for storing the target data.
12. The data transmission apparatus according to claim 9, wherein the data transmission apparatus further comprises:
a sending unit, configured to send a first response message to the first device; the first response message is used for indicating that the target data is successfully acquired.
13. A data transmission apparatus comprising a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus;
the processor executes the computer-executable instructions stored by the memory when the data transfer device is operating to cause the data transfer device to perform the data transfer method of any of claims 1-6.
14. A computer-readable storage medium, comprising computer-executable instructions that, when executed on a computer, cause the computer to perform the data transmission method of any one of claims 1-6.
CN201911341199.3A 2019-12-23 2019-12-23 Data transmission method and device Withdrawn CN111092817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911341199.3A CN111092817A (en) 2019-12-23 2019-12-23 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911341199.3A CN111092817A (en) 2019-12-23 2019-12-23 Data transmission method and device

Publications (1)

Publication Number Publication Date
CN111092817A true CN111092817A (en) 2020-05-01

Family

ID=70395314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911341199.3A Withdrawn CN111092817A (en) 2019-12-23 2019-12-23 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN111092817A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114040005A (en) * 2021-10-18 2022-02-11 中国联合网络通信集团有限公司 Data transmission method, device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015068239A1 (en) * 2013-11-07 2015-05-14 株式会社日立製作所 Computer system and data control method
CN105867843A (en) * 2016-03-25 2016-08-17 天津书生云科技有限公司 Data transmission method and device
CN106648959A (en) * 2016-09-07 2017-05-10 华为技术有限公司 Data storage method and storage system
CN107707628A (en) * 2017-09-06 2018-02-16 华为技术有限公司 Method and apparatus for transmitting data processing request
CN108255617A (en) * 2017-12-26 2018-07-06 阿里巴巴集团控股有限公司 Data transferring method, system and electronic equipment
CN109561128A (en) * 2017-09-27 2019-04-02 北京国双科技有限公司 Data transmission method and device
CN109672718A (en) * 2018-09-26 2019-04-23 深圳平安财富宝投资咨询有限公司 File delivery method, server, storage medium and device between system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015068239A1 (en) * 2013-11-07 2015-05-14 株式会社日立製作所 Computer system and data control method
CN105867843A (en) * 2016-03-25 2016-08-17 天津书生云科技有限公司 Data transmission method and device
CN106648959A (en) * 2016-09-07 2017-05-10 华为技术有限公司 Data storage method and storage system
CN107707628A (en) * 2017-09-06 2018-02-16 华为技术有限公司 Method and apparatus for transmitting data processing request
CN109561128A (en) * 2017-09-27 2019-04-02 北京国双科技有限公司 Data transmission method and device
CN108255617A (en) * 2017-12-26 2018-07-06 阿里巴巴集团控股有限公司 Data transferring method, system and electronic equipment
CN109672718A (en) * 2018-09-26 2019-04-23 深圳平安财富宝投资咨询有限公司 File delivery method, server, storage medium and device between system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114040005A (en) * 2021-10-18 2022-02-11 中国联合网络通信集团有限公司 Data transmission method, device and storage medium

Similar Documents

Publication Publication Date Title
CN112130748B (en) Data access method, network card and server
CN110762775B (en) Upgrading method of air conditioner and air conditioner
CN108845877B (en) Method, device and system for managing memory
CN114040467A (en) Transmission path determining method, device, server and storage medium
CN111669792A (en) Cell switching method and device
CN109274534B (en) Network slice supervision method and equipment and communication system
CN111586893B (en) Terminal RRC state switching method and device
CN111741512B (en) Private network access method and device
CN115964319A (en) Data processing method for remote direct memory access and related product
CN110519388B (en) Processing method and device for block chain request, electronic equipment and readable storage medium
CN113886058A (en) Cross-cluster resource scheduling method and device
CN110870286B (en) Fault tolerance processing method and device and server
CN111092817A (en) Data transmission method and device
US20200167302A1 (en) Communications for field programmable gate array device
CN111404842A (en) Data transmission method, device and computer storage medium
CN114253733B (en) Memory management method, device, computer equipment and storage medium
CN113961489B (en) Method, device, equipment and storage medium for data access
CN111885588B (en) Method and device for executing electronic card management service
CN110674103B (en) Data management method and device
CN111131473A (en) Network parameter transmission method and device
CN116405377B (en) Network state detection method, protocol conversion component, equipment and storage medium
CN111490911B (en) Gateway fault information collection method, device, network equipment and storage medium
CN113360774A (en) Message pushing method, device, server and storage medium
CN117251256A (en) Job scheduling method, apparatus, device and computer readable storage medium
CN117785433A (en) Data processing method and device, electronic equipment and computer readable storage medium

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20200501

WW01 Invention patent application withdrawn after publication