CN109561128B - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN109561128B
CN109561128B CN201710895575.8A CN201710895575A CN109561128B CN 109561128 B CN109561128 B CN 109561128B CN 201710895575 A CN201710895575 A CN 201710895575A CN 109561128 B CN109561128 B CN 109561128B
Authority
CN
China
Prior art keywords
node
data
target data
storage space
notification information
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.)
Active
Application number
CN201710895575.8A
Other languages
Chinese (zh)
Other versions
CN109561128A (en
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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology 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 Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201710895575.8A priority Critical patent/CN109561128B/en
Publication of CN109561128A publication Critical patent/CN109561128A/en
Application granted granted Critical
Publication of CN109561128B publication Critical patent/CN109561128B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a data transmission method and device. The method comprises the following steps: the method comprises the steps that a first node stores target data into a preset storage space of a third node, wherein the target data are data to be transmitted between the first node and a second node, and the third node is a server different from the first node and the second node; the first node sends notification information to the second node, wherein the notification information is used for notifying the second node that the target data is stored in a preset storage space of the third node, so that the second node acquires the target data from the third node according to the notification information. By the method and the device, the problem of low data transmission efficiency caused by large transmission capacity set when data are directly transmitted between two nodes in a distributed system in the related technology is solved.

Description

Data transmission method and device
Technical Field
The present application relates to the field of data transmission, and in particular, to a data transmission method and apparatus.
Background
In a distributed system, Akka is often used to build a distributed transmission system. Akka starts a working node at each node and forms a complete system together. The communication between the nodes is realized by TCP.
In order to improve the efficiency of transmission between nodes, the maximum transmission capacity needs to be specified in the configuration of Akka. For general messages, the occupied resources are small, and the method is insensitive to the parameter of the maximum transmission capacity. However, some scenarios, such as a large query request, require a large amount of data to be returned, which is very sensitive to the parameter of the maximum transmission capacity. However, the maximum inquiry request cannot be known in advance, and thus the transmission capacity may be set to be large, and setting an excessively large transmission capacity may cause a decrease in transmission efficiency.
Aiming at the problem of low data transmission efficiency caused by large transmission capacity set when data is directly transmitted between two nodes in a distributed system in the related technology, an effective solution is not provided at present.
Disclosure of Invention
The present application mainly aims to provide a data transmission method and apparatus, so as to solve the problem of low data transmission efficiency caused by setting a large transmission capacity when data is directly transmitted between two nodes in a distributed system in the related art.
In order to achieve the above object, according to an aspect of the present application, there is provided a data transmission method including: the method comprises the steps that a first node stores target data to a preset storage space of a third node, wherein the target data are data to be transmitted between the first node and a second node, and the third node is a server different from the first node and the second node; the first node sends notification information to the second node, wherein the notification information is used for notifying the second node that the target data is stored in a preset storage space of the third node, so that the second node acquires the target data from the third node according to the notification information.
Further, the first node stores the target data to a preset storage space of a third node, and the method comprises the following steps: and the first node calls a first target program to send the target data to a preset storage space of the third node for storage.
In order to achieve the above object, according to another aspect of the present application, there is provided a data transmission method including: the method comprises the steps that a second node receives notification information, wherein the notification information is sent after a first node stores target data into a preset storage space of a third node, the notification information is used for notifying the second node that the target data are stored into the preset storage space of the third node, the target data are data to be transmitted between the first node and the second node, and the third node is a server different from the first node and the second node; and the second node acquires the target data from a preset storage space of the third node according to the notification information.
Further, the acquiring, by the second node, the target data from the preset storage space of the third node according to the notification information includes: and the second node calls a second target program according to the notification information so as to acquire the target data from a preset storage space of the third node.
Further, after the second node acquires the target data from the preset storage space of the third node according to the notification information, the method further includes: the second node sends a data deleting instruction to the third node, wherein the data deleting instruction is used for indicating that the target data is deleted from a preset storage space of the third node.
In order to achieve the above object, according to another aspect of the present application, there is provided a data transmission apparatus including: the storage unit is used for storing target data into a preset storage space of a third node through a first node, wherein the target data is data to be transmitted between the first node and a second node, and the third node is a server different from the first node and the second node; a sending unit, configured to send notification information to the second node through the first node, where the notification information is used to notify the second node that the target data has been stored in a preset storage space of the third node, so that the second node obtains the target data from the third node according to the notification information.
Further, the storage unit is configured to: and calling a first target program through the first node so as to send the target data to a preset storage space of the third node for storage.
In order to achieve the above object, according to another aspect of the present application, there is provided a data transmission apparatus including: a receiving unit, configured to receive notification information through a second node, where the notification information is sent after a first node stores target data in a preset storage space of a third node, the notification information is used to notify the second node that the target data has been stored in the preset storage space of the third node, the target data is to-be-transmitted data between the first node and the second node, and the third node is a server different from the first node and the second node; and the acquisition unit is used for acquiring the target data from a preset storage space of the third node through the second node according to the notification information.
Further, the obtaining unit is configured to: and calling a second target program through the second node according to the notification information so as to acquire the target data from a preset storage space of the third node.
Further, the apparatus further comprises: and a deleting unit, configured to send, by the second node, a data deleting instruction to the third node after the target data is acquired from the preset storage space of the third node according to the notification information by the second node, where the data deleting instruction is used to instruct to delete the target data from the preset storage space of the third node.
In order to achieve the above object, according to another aspect of the present application, there is provided a storage medium including a stored program, wherein the program executes the above-described data transmission method.
In order to achieve the above object, according to another aspect of the present application, there is provided a processor for executing a program, wherein the program executes to perform the above data transmission method.
In the embodiment of the application, the first node writes data into the preset storage space of the third node and sends the notification information to the second node, and after the second node receives the notification information, the data is read from the preset storage space of the third node.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
FIG. 1 is a flow chart of a method of data transmission according to an embodiment of the application;
FIG. 2 is a flow chart of yet another method of data transmission according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a data transmission device according to an embodiment of the present application;
fig. 4 is a schematic diagram of another data transmission apparatus according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, 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 partial embodiments of the present application, but not all 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 application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Technical terms:
akka: a distributed application framework is generally used for building a distributed message management system.
Distributed caching: and a plurality of nodes share the memory to construct a shared cache.
Example 1
According to an embodiment of the present application, a data transmission method is provided. The method is performed by a first node.
Fig. 1 is a flowchart of a data transmission method according to an embodiment of the present application.
As shown in fig. 1, the method comprises the steps of:
step S102, the first node stores target data to a preset storage space of a third node, wherein the target data is data to be transmitted between the first node and the second node, and the third node is a server different from the first node and the second node.
Step S104, the first node sends notification information to the second node, wherein the notification information is used for notifying the second node that the target data is stored in a preset storage space of the third node, so that the second node acquires the target data from the third node according to the notification information.
The first node and the second node are different servers.
In the embodiment of the application, the first node writes data into the preset storage space of the third node and sends the notification information to the second node, and after the second node receives the notification information, the data is read from the preset storage space of the third node.
Optionally, the storing, by the first node, the target data in a preset storage space of the third node includes: and the first node calls a first target program to send the target data to a preset storage space of the third node for storage.
The first object program may be embedded in the other program of the first node.
In the prior art, data is directly transmitted between a first node and a second node, a maximum transmission capacity limit is preset according to an actual service condition, and parameters need to be continuously adjusted according to the actual condition, so that workload is increased, and a system needs to be restarted to enable the parameters to take effect and influence external services.
The data transmission method provided by the embodiment of the application solves the problem of message size limitation in Akka message transmission, and particularly when a large amount of data needs to be frequently transmitted between nodes, the data transmission method provided by the embodiment of the application has the advantages of obvious advantages, no limitation of data volume, and high data transmission efficiency can be maintained even if the data volume is large.
Example 2
The embodiment of the application also provides a data transmission method. The method is performed by the second node.
Fig. 2 is a flowchart of another data transmission method according to an embodiment of the present application.
As shown in fig. 2, the method comprises the steps of:
step S202, the second node receives notification information, wherein the notification information is sent after the first node stores target data into a preset storage space of a third node, the notification information is used for notifying the second node that the target data is stored into the preset storage space of the third node, the target data is data to be transmitted between the first node and the second node, and the third node is a server different from the first node and the second node;
and step S204, the second node acquires target data from a preset storage space of the third node according to the notification information.
The first node and the second node are different servers.
In the embodiment of the application, the first node writes data into the preset storage space of the third node and sends the notification information to the second node, and after the second node receives the notification information, the data is read from the preset storage space of the third node.
Optionally, the acquiring, by the second node, the target data from the preset storage space of the third node according to the notification information includes: and the second node calls a second target program according to the notification information so as to acquire target data from a preset storage space of the third node.
The second object program may be embedded in other programs of the second node.
Optionally, after the second node acquires the target data from the preset storage space of the third node according to the notification information, the method further includes: and the second node sends a data deleting instruction to the third node, wherein the data deleting instruction is used for indicating that the target data is deleted from the preset storage space of the third node.
And after the second node acquires the target data from the preset storage space of the third node, deleting the target data from the preset storage space so as to save storage resources and maximize the utilization rate of the storage space of the third node.
In the prior art, data is directly transmitted between a first node and a second node, a maximum transmission capacity limit is preset according to an actual service condition, and parameters need to be continuously adjusted according to the actual condition, so that workload is increased, and a system needs to be restarted to enable the parameters to take effect and influence external services.
The data transmission method provided by the embodiment of the application solves the problem of message size limitation in Akka message transmission, and particularly when a large amount of data needs to be frequently transmitted between nodes, the data transmission method provided by the embodiment of the application has the advantages of obvious advantages, no limitation of data volume, and high data transmission efficiency can be maintained even if the data volume is large.
Example 3
The working process is as follows:
1. the sending node (i.e., the first node) writes the data (i.e., the target data) into the distributed cache.
2. The sending node sends information (i.e., the notification information) to inform the querying node (i.e., the second node) that the data has been written into the distributed cache.
3. And the query node receives the information and acquires data from the distributed cache.
4. The data is deleted from the distributed cache.
The system has the following advantages: 1. the data in the caches of all the nodes are consistent and automatically synchronized. 2. There is no data volume limitation.
Example 4
The embodiment of the present application further provides a data transmission device, and it should be noted that the data transmission device in embodiment 4 of the present application may be used to execute the data transmission method provided in embodiment 1 of the present application. The following describes a data transmission device provided in an embodiment of the present application.
Fig. 3 is a schematic diagram of a data transmission apparatus according to an embodiment of the present application. As shown in fig. 3, the apparatus includes: storage section 10 and transmission section 20.
The storage unit 10 is configured to store target data in a preset storage space of a third node through the first node, where the target data is data to be transmitted between the first node and the second node, and the third node is a server different from the first node and the second node.
A sending unit 20, configured to send notification information to the second node through the first node, where the notification information is used to notify the second node that the target data has been stored in a preset storage space of the third node, so that the second node obtains the target data from the third node according to the notification information.
Optionally, the storage unit 10 is configured to: and calling a first target program through the first node so as to send target data to a preset storage space of the third node for storage.
The data transmission device comprises a processor and a memory, wherein the storage unit 10, the sending unit 20 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can set one or more than one kernel, and the data transmission method is executed by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flas RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium on which a program is stored, the program implementing a data transmission method when executed by a processor.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program runs to execute a data transmission method.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps:
storing target data into a preset storage space of a third node through the first node, wherein the target data is data to be transmitted between the first node and the second node, and the third node is a server different from the first node and the second node; and sending notification information to the second node through the first node, wherein the notification information is used for notifying the second node that the target data is stored in a preset storage space of the third node, so that the second node acquires the target data from the third node according to the notification information.
And calling a first target program through the first node so as to send target data to a preset storage space of the third node for storage.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device:
storing target data into a preset storage space of a third node through the first node, wherein the target data are data to be transmitted between the first node and the second node, and the third node is a server different from the first node and the second node; and sending notification information to the second node through the first node, wherein the notification information is used for notifying the second node that the target data is stored in a preset storage space of the third node, so that the second node acquires the target data from the third node according to the notification information.
And calling a first target program through the first node so as to send target data to a preset storage space of the third node for storage.
Example 5
The embodiment of the present application further provides a data transmission device, and it should be noted that the data transmission device in embodiment 5 of the present application may be used to execute the data transmission method provided in embodiment 2 of the present application. The following describes a data transmission device provided in an embodiment of the present application.
Fig. 4 is a schematic diagram of another data transmission apparatus according to an embodiment of the present application. As shown in fig. 4, the apparatus includes: receiving unit 40, and obtaining unit 50.
And a receiving unit 40, configured to receive notification information through the second node, where the notification information is sent after the first node stores target data in a preset storage space of the third node, the notification information is used to notify the second node that the target data has been stored in the preset storage space of the third node, the target data is to-be-transmitted data between the first node and the second node, and the third node is a server different from the first node and the second node.
And the obtaining unit 50 is used for obtaining the target data from the preset storage space of the third node through the second node according to the notification information.
Optionally, the obtaining unit 50 is configured to: and calling a second target program through the second node according to the notification information so as to acquire target data from a preset storage space of the third node.
Optionally, the apparatus further comprises: and the deleting unit is used for sending a data deleting instruction to the third node through the second node after the target data is acquired from the preset storage space of the third node through the second node according to the notification information, wherein the data deleting instruction is used for indicating that the target data is deleted from the preset storage space of the third node.
The data transmission device comprises a processor and a memory, wherein the receiving unit 40, the obtaining unit 50 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can set one or more than one kernel, and the data transmission method is executed by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flas RAM), including at least one memory chip.
An embodiment of the present invention provides a storage medium on which a program is stored, the program implementing a data transmission method when executed by a processor.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program runs to execute a data transmission method.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps:
receiving notification information through a second node, wherein the notification information is sent after a first node stores target data in a preset storage space of a third node, the notification information is used for notifying the second node that the target data is stored in the preset storage space of the third node, the target data is data to be transmitted between the first node and the second node, and the third node is a server different from the first node and the second node; and acquiring target data from a preset storage space of a third node through the second node according to the notification information.
And calling a second target program through the second node according to the notification information so as to acquire target data from a preset storage space of the third node.
And after the target data is acquired from the preset storage space of the third node through the second node according to the notification information, sending a data deleting instruction to the third node through the second node, wherein the data deleting instruction is used for indicating that the target data is deleted from the preset storage space of the third node.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application also provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device:
receiving notification information through a second node, wherein the notification information is sent after a first node stores target data in a preset storage space of a third node, the notification information is used for notifying the second node that the target data is stored in the preset storage space of the third node, the target data is data to be transmitted between the first node and the second node, and the third node is a server different from the first node and the second node; and acquiring target data from a preset storage space of a third node through the second node according to the notification information.
And calling a second target program through the second node according to the notification information so as to acquire target data from a preset storage space of the third node.
And after the target data is acquired from the preset storage space of the third node through the second node according to the notification information, sending a data deleting instruction to the third node through the second node, wherein the data deleting instruction is used for indicating that the target data is deleted from the preset storage space of the third node.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (9)

1. A method of data transmission, comprising:
the method comprises the steps that a first node stores target data to a preset storage space of a third node, wherein the target data is data to be transmitted between the first node and a second node, the third node is a server different from the first node and the second node, and the first node and the second node are servers in Akka;
the first node sends notification information to the second node, wherein the notification information is used for notifying the second node that the target data is stored in a preset storage space of the third node, so that the second node acquires the target data from the third node according to the notification information; after the second node acquires the target data from the preset storage space of the third node according to the notification information, the second node sends a data deletion instruction to the third node, wherein the data deletion instruction is used for indicating that the target data is deleted from the preset storage space of the third node.
2. The method of claim 1, wherein the first node stores the target data in a preset storage space of a third node, and the method comprises the following steps:
and the first node calls a first target program to send the target data to a preset storage space of the third node for storage.
3. A method of data transmission, comprising:
a second node receives notification information, wherein the notification information is sent after a first node stores target data in a preset storage space of a third node, the notification information is used for notifying the second node that the target data has been stored in the preset storage space of the third node, the target data is to-be-transmitted data between the first node and the second node, the third node is a server different from the first node and the second node, and the first node and the second node are servers in Akka;
the second node acquires the target data from a preset storage space of the third node according to the notification information;
after the second node acquires the target data from the preset storage space of the third node according to the notification information, the second node sends a data deletion instruction to the third node, wherein the data deletion instruction is used for indicating that the target data is deleted from the preset storage space of the third node.
4. The method according to claim 3, wherein the second node obtains the target data from a preset storage space of the third node according to the notification information, and comprises:
and the second node calls a second target program according to the notification information so as to acquire the target data from a preset storage space of the third node.
5. A data transmission apparatus, comprising:
the storage unit is used for storing target data into a preset storage space of a third node through a first node, wherein the target data is data to be transmitted between the first node and a second node, the third node is a server different from the first node and the second node, and the first node and the second node are servers in Akka;
a sending unit, configured to send, by the first node, notification information to the second node, where the notification information is used to notify the second node that the target data has been stored in a preset storage space of the third node, so that the second node obtains the target data from the third node according to the notification information; after the second node acquires the target data from the preset storage space of the third node according to the notification information, the second node sends a data deletion instruction to the third node, wherein the data deletion instruction is used for indicating that the target data is deleted from the preset storage space of the third node.
6. The apparatus of claim 5, wherein the storage unit is configured to:
and calling a first target program through the first node so as to send the target data to a preset storage space of the third node for storage.
7. A data transmission apparatus, comprising:
a receiving unit, configured to receive notification information through a second node, where the notification information is sent after a first node stores target data in a preset storage space of a third node, the notification information is used to notify the second node that the target data has been stored in the preset storage space of the third node, the target data is to-be-transmitted data between the first node and the second node, and the third node is a server different from the first node and the second node, and the first node and the second node are servers in Akka;
an obtaining unit, configured to obtain, by the second node, the target data from a preset storage space of the third node according to the notification information;
and a deleting unit, configured to send, by the second node, a data deleting instruction to the third node after the second node acquires the target data from the preset storage space of the third node according to the notification information, where the data deleting instruction is used to instruct to delete the target data from the preset storage space of the third node.
8. A storage medium characterized in that the storage medium includes a stored program, wherein the program executes the data transmission method according to any one of claims 3 to 4.
9. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to execute the data transmission method according to any one of claims 3 to 4 when running.
CN201710895575.8A 2017-09-27 2017-09-27 Data transmission method and device Active CN109561128B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710895575.8A CN109561128B (en) 2017-09-27 2017-09-27 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710895575.8A CN109561128B (en) 2017-09-27 2017-09-27 Data transmission method and device

Publications (2)

Publication Number Publication Date
CN109561128A CN109561128A (en) 2019-04-02
CN109561128B true CN109561128B (en) 2022-05-20

Family

ID=65863504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710895575.8A Active CN109561128B (en) 2017-09-27 2017-09-27 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN109561128B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377262B (en) * 2019-06-28 2022-12-09 硅谷数模半导体(北京)有限公司 Data storage method and device, storage medium and processor
CN111092817A (en) * 2019-12-23 2020-05-01 中国联合网络通信集团有限公司 Data transmission method and device
CN111131299A (en) * 2019-12-31 2020-05-08 上海依图网络科技有限公司 Trans-gatekeeper data transmission method, device, medium and system based on kubernets platform
CN113395135B (en) * 2021-05-06 2023-03-14 埃森智能科技(深圳)有限公司 Data communication method, device and computer readable storage medium
CN113541886B (en) * 2021-06-30 2024-04-16 浙江中控技术股份有限公司 Data processing method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103814596A (en) * 2013-12-06 2014-05-21 华为技术有限公司 Method, device and system for data transmission
CN104809129A (en) * 2014-01-26 2015-07-29 华为技术有限公司 Method, device and system for storing distributed data
CN107066204A (en) * 2016-12-23 2017-08-18 航天星图科技(北京)有限公司 A kind of method for interchanging data between multinode
CN107122491A (en) * 2017-05-19 2017-09-01 深圳市优必选科技有限公司 Method for data interaction
CN107155197A (en) * 2017-05-31 2017-09-12 北京邮电大学 Distributed storage method, device and the electronic equipment cooperated based on multi-hop

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867613B (en) * 2010-06-08 2014-12-17 中兴通讯股份有限公司 Content delivery CDN sub system and data synchronization method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103814596A (en) * 2013-12-06 2014-05-21 华为技术有限公司 Method, device and system for data transmission
CN104809129A (en) * 2014-01-26 2015-07-29 华为技术有限公司 Method, device and system for storing distributed data
CN107066204A (en) * 2016-12-23 2017-08-18 航天星图科技(北京)有限公司 A kind of method for interchanging data between multinode
CN107122491A (en) * 2017-05-19 2017-09-01 深圳市优必选科技有限公司 Method for data interaction
CN107155197A (en) * 2017-05-31 2017-09-12 北京邮电大学 Distributed storage method, device and the electronic equipment cooperated based on multi-hop

Also Published As

Publication number Publication date
CN109561128A (en) 2019-04-02

Similar Documents

Publication Publication Date Title
CN109561128B (en) Data transmission method and device
CN106886434B (en) Distributed application installation method and device
CN113037794B (en) Method, device and system for computing resource allocation scheduling
EP3217735B1 (en) M2m node deletion and registration method, m2m node and storage medium
CN107018170B (en) Data synchronization method and equipment
CN110764930B (en) Request or response processing method and device based on message mode
CN106599045B (en) Request sending method and device
CN114064780A (en) Session information processing method, system, device, storage medium and electronic equipment
CN108124021B (en) Method, device and system for obtaining Internet Protocol (IP) address and accessing website
CN110413427B (en) Subscription data pulling method, device, equipment and storage medium
CN112346872A (en) Cloud computing capacity expansion method and device based on service call link
CN115048186A (en) Method and device for processing expansion and contraction of service container, storage medium and electronic equipment
JP6553650B2 (en) Data processing method and system
CN109426559B (en) Command issuing method and device, storage medium and processor
CN112579189A (en) Configuration file updating method and device
CN112583742A (en) Message processing method and device
CN110868333A (en) Data caching method and system for gateway
CN108255820B (en) Method and device for data storage in distributed system and electronic equipment
CN109617953B (en) Session processing method and system
CN112749149A (en) Database switching method and device
CN110968599B (en) Inquiry method and device based on Impala
CN109428915B (en) Data acquisition method and device
CN113873052B (en) Domain name resolution method, device and equipment of Kubernetes cluster
CN111314303B (en) Live broadcast system, and data processing method and device of live broadcast system
CN113904953B (en) Offline detection method, device and equipment for communication equipment

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
CB02 Change of applicant information

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant