CN110730237A - Data transmission method, device, system and equipment - Google Patents
Data transmission method, device, system and equipment Download PDFInfo
- Publication number
- CN110730237A CN110730237A CN201911001128.9A CN201911001128A CN110730237A CN 110730237 A CN110730237 A CN 110730237A CN 201911001128 A CN201911001128 A CN 201911001128A CN 110730237 A CN110730237 A CN 110730237A
- Authority
- CN
- China
- Prior art keywords
- data
- network node
- target network
- node
- target
- 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.)
- Granted
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 63
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000013507 mapping Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 10
- 238000004891 communication Methods 0.000 abstract description 52
- 239000002699 waste material Substances 0.000 abstract description 8
- 239000003795 chemical substances by application Substances 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000008094 contradictory effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/562—Brokering proxy services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/161—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
- H04L69/162—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请公开了一种数据传输方法。本申请还公开了一种数据传输装置、系统及设备。在本申请公开的方法中,对象网络节点为数据发送端,目标网络节点为数据接收端,目标代理节点为目标网络节点的代理。当数据发送端通过代理节点发送数据至数据接收端,数据接收端需返回相应数据,则数据接收端可以先将需返回的数据返回至代理节点,而后代理节点能够根据数据发送端的公网IP地址和数据发送端发送数据时使用的发送端口,将需返回的数据正确地转发至数据发送端,从而基于同一条通信链路完成了数据回复。其中,本申请无需增加新的通信就完成了数据发送端和数据接收端的互相通信,从而降低了通信成本,也避免了通信资源的浪费。
The present application discloses a data transmission method. The present application also discloses a data transmission device, system and device. In the method disclosed in this application, the target network node is the data sending end, the target network node is the data receiving end, and the target proxy node is the proxy of the target network node. When the data sender sends data to the data receiver through the proxy node, and the data receiver needs to return the corresponding data, the data receiver can first return the data to be returned to the proxy node, and then the proxy node can use the public IP address of the data sender according to the data sender. The sending port used when sending data with the data sending end correctly forwards the data to be returned to the data sending end, thus completing the data reply based on the same communication link. Among them, the present application completes the mutual communication between the data sending end and the data receiving end without adding new communication, thereby reducing the communication cost and avoiding the waste of communication resources.
Description
技术领域technical field
本申请涉及通信技术领域,特别涉及一种数据传输方法、装置、系统及设备。The present application relates to the field of communication technologies, and in particular, to a data transmission method, apparatus, system, and device.
背景技术Background technique
在现有技术中,当外网节点或未设有代理节点的内网节点1需要发送数据至内网节点2,可以先将数据发送至内网节点2的代理节点,由该代理节点转发数据至内网节点2。但由于外网节点或未设有代理节点的内网节点1只能传输数据至代理节点,代理节点无法返回数据,因此内网节点2在接收到数据后,无法返回相应数据。In the prior art, when an external network node or an internal network node 1 without a proxy node needs to send data to the internal network node 2, the data can be sent to the proxy node of the internal network node 2 first, and the proxy node forwards the data to the intranet node 2. However, since the external network node or the intranet node 1 without proxy node can only transmit data to the proxy node, and the proxy node cannot return data, the intranet node 2 cannot return the corresponding data after receiving the data.
其中,当数据发送端为外网节点,若需要内网节点2返回相应数据,就需要重新建立一条通信链路,使内网节点2通信新建立的通信链路返回相应数据。当数据发送端为未设有代理节点的内网节点1,若需要内网节点2返回相应数据,就需要为内网节点1设置相应的代理节点。Among them, when the data sending end is an external network node, if the internal network node 2 needs to return corresponding data, a communication link needs to be re-established, so that the newly established communication link of the internal network node 2 returns the corresponding data. When the data sender is an intranet node 1 without a proxy node, if the intranet node 2 needs to return corresponding data, a corresponding proxy node needs to be set for the intranet node 1.
由此可见,在现有通信方案中,若数据接收端需要返回相应数据,就需要重新建立通信链路或为数据发送端设置代理节点,也就是需要新增通信设备。其中,由于通信设备的成本比较昂贵,所以新增通信设备会增加通信成本;同时,新增通信设备后,新增通信设备的作用仅是为了返回数据,其利用率较低,会造成通信资源的浪费。It can be seen that, in the existing communication scheme, if the data receiving end needs to return corresponding data, it is necessary to re-establish a communication link or set a proxy node for the data sending end, that is, a new communication device needs to be added. Among them, since the cost of communication equipment is relatively expensive, the new communication equipment will increase the communication cost; at the same time, after the new communication equipment is added, the function of the newly added communication equipment is only to return data, and its utilization rate is low, which will cause communication resources. of waste.
发明内容SUMMARY OF THE INVENTION
本申请的主要目的在于提供一种数据传输方法、装置、系统及设备,旨在解决现有通信方案中通信成本高,浪费通信资源的技术问题。The main purpose of the present application is to provide a data transmission method, apparatus, system and equipment, aiming at solving the technical problems of high communication cost and waste of communication resources in the existing communication solutions.
为实现上述目的,本申请提供了一种数据传输方法,应用于目标网络节点的目标代理节点,包括:In order to achieve the above object, the present application provides a data transmission method, which is applied to the target proxy node of the target network node, including:
若接收到对象网络节点发送的第一数据,则转发第一数据至目标网络节点;If receiving the first data sent by the target network node, forwarding the first data to the target network node;
接收目标网络节点返回的第二数据,并根据对象网络节点的公网IP地址和对象网络节点发送第一数据的发送端口,转发第二数据至对象网络节点;receiving the second data returned by the target network node, and forwarding the second data to the target network node according to the public network IP address of the target network node and the sending port for sending the first data by the target network node;
其中,对象网络节点为外网节点,或与目标网络节点处于同一网络、但未设有代理节点的节点。The target network node is an external network node, or a node that is on the same network as the target network node but does not have an agent node.
优选地,转发第一数据至目标网络节点,包括:Preferably, forwarding the first data to the target network node includes:
从第一数据中获取目标网络节点的ID;Obtain the ID of the target network node from the first data;
在预设映射表中查询与目标网络节点的ID对应的套接字连接;Query the socket connection corresponding to the ID of the target network node in the preset mapping table;
利用套接字连接转发第一数据至目标网络节点。Forward the first data to the target network node using the socket connection.
优选地,转发第一数据至目标网络节点,包括:Preferably, forwarding the first data to the target network node includes:
确定公网IP地址和发送端口,并将公网IP地址、发送端口和第一数据发送至目标网络节点。Determine the public network IP address and the sending port, and send the public network IP address, the sending port and the first data to the target network node.
优选地,接收目标网络节点返回的第二数据,并根据对象网络节点的公网IP地址和对象网络节点发送第一数据的发送端口,转发第二数据至对象网络节点,包括:Preferably, receiving the second data returned by the target network node, and forwarding the second data to the target network node according to the public network IP address of the target network node and the sending port for sending the first data by the target network node, including:
接收目标网络节点返回的第二数据、公网IP地址和发送端口;receiving the second data, the public network IP address and the sending port returned by the target network node;
根据目标网络节点返回的公网IP地址和发送端口,转发第二数据至对象网络节点。According to the public network IP address and sending port returned by the target network node, the second data is forwarded to the target network node.
为实现上述目的,本申请进一步提供了一种数据传输装置,应用于目标网络节点的目标代理节点,包括:In order to achieve the above purpose, the present application further provides a data transmission device, which is applied to the target proxy node of the target network node, including:
第一转发模块,用于若接收到对象网络节点发送的第一数据,则转发第一数据至目标网络节点;a first forwarding module, configured to forward the first data to the target network node if the first data sent by the target network node is received;
第二转发模块,用于接收目标网络节点返回的第二数据,并根据对象网络节点的公网IP地址和对象网络节点发送第一数据的发送端口,转发第二数据至对象网络节点;A second forwarding module, configured to receive the second data returned by the target network node, and forward the second data to the target network node according to the public network IP address of the target network node and the sending port for sending the first data by the target network node;
其中,对象网络节点为外网节点,或与目标网络节点处于同一网络、但未设有代理节点的节点。The target network node is an external network node, or a node that is on the same network as the target network node but does not have an agent node.
优选地,第一转发模块包括:Preferably, the first forwarding module includes:
获取单元,用于从第一数据中获取目标网络节点的ID;an acquisition unit for acquiring the ID of the target network node from the first data;
查询单元,用于在预设映射表中查询与目标网络节点的ID对应的套接字连接;a query unit, configured to query the socket connection corresponding to the ID of the target network node in the preset mapping table;
第一转发单元,用于利用套接字连接转发第一数据至目标网络节点。The first forwarding unit is used for forwarding the first data to the target network node by using the socket connection.
优选地,第一转发模块具体用于:Preferably, the first forwarding module is specifically used for:
确定公网IP地址和发送端口,并将公网IP地址、发送端口和第一数据发送至目标网络节点。Determine the public network IP address and the sending port, and send the public network IP address, the sending port and the first data to the target network node.
优选地,第二转发模块包括:Preferably, the second forwarding module includes:
接收单元,用于接收目标网络节点返回的第二数据、公网IP地址和发送端口;a receiving unit, configured to receive the second data, the public network IP address and the sending port returned by the target network node;
第二转发单元,用于根据目标网络节点返回的公网IP地址和发送端口,转发第二数据至对象网络节点。The second forwarding unit is configured to forward the second data to the target network node according to the public network IP address and the sending port returned by the target network node.
为实现上述目的,本申请进一步提供了一种数据传输系统,包括:对象网络节点,目标网络节点,以及目标网络节点的目标代理节点,其中:In order to achieve the above object, the present application further provides a data transmission system, comprising: an object network node, a target network node, and a target proxy node of the target network node, wherein:
对象网络节点为外网节点,或与目标网络节点处于同一网络、但未设有代理节点的节点;The target network node is an external network node, or a node that is on the same network as the target network node but does not have an agent node;
对象网络节点,用于发送第一数据至目标代理节点;an object network node for sending the first data to the target proxy node;
目标网络节点,用于返回第二数据至目标代理节点;a target network node for returning the second data to the target proxy node;
目标代理节点,用于转发第一数据至目标网络节点;若接收到目标网络节点返回的第二数据,则根据对象网络节点的公网IP地址和对象网络节点发送第一数据的发送端口,转发第二数据至对象网络节点。The target proxy node is used to forward the first data to the target network node; if the second data returned by the target network node is received, forward the first data according to the public network IP address of the target network node and the sending port for sending the first data by the target network node The second data to the target network node.
优选地,对象网络节点和目标代理节点通过UDP协议进行通信。Preferably, the target network node and the target proxy node communicate via the UDP protocol.
优选地,目标网络节点和目标代理节点通过TCP协议进行通信。Preferably, the target network node and the target proxy node communicate via the TCP protocol.
为实现上述目的,本申请进一步提供了一种数据传输设备,包括:To achieve the above purpose, the application further provides a data transmission device, comprising:
存储器,用于存储计算机程序;memory for storing computer programs;
处理器,用于执行计算机程序,以实现前述公开的数据传输方法。The processor is used for executing the computer program to realize the data transmission method disclosed above.
优选地,数据传输设备为组成CDN网络或者区块链网络的节点。Preferably, the data transmission device is a node forming a CDN network or a blockchain network.
为实现上述目的,本申请进一步提供了一种可读存储介质,用于保存计算机程序,其中,计算机程序被处理器执行时实现前述公开的数据传输方法。To achieve the above object, the present application further provides a readable storage medium for storing a computer program, wherein the computer program implements the data transmission method disclosed above when executed by a processor.
通过以上方案可知,本申请提供了一种数据传输方法,应用于目标网络节点的目标代理节点,包括:若接收到对象网络节点发送的第一数据,则转发第一数据至目标网络节点;接收目标网络节点返回的第二数据,并根据对象网络节点的公网IP地址和对象网络节点发送第一数据的发送端口,转发第二数据至对象网络节点;其中,对象网络节点为外网节点,或与目标网络节点处于同一网络、但未设有代理节点的节点。It can be seen from the above solutions that the present application provides a data transmission method, which is applied to a target proxy node of a target network node, including: if the first data sent by the target network node is received, forwarding the first data to the target network node; receiving the second data returned by the target network node, and forward the second data to the target network node according to the public network IP address of the target network node and the sending port for sending the first data by the target network node; wherein, the target network node is an external network node, Or a node that is on the same network as the target network node but does not have an agent node.
在上述方法中,对象网络节点为数据发送端,目标网络节点为数据接收端,目标代理节点为目标网络节点的代理。当数据发送端通过代理节点发送数据至数据接收端,且数据接收端需要返回相应数据时,数据接收端可以先将需返回的数据返回至代理节点,而后代理节点能够根据当前返回数据对应的数据发送端的公网IP地址和数据发送端发送数据时使用的发送端口,确定将接收到的返回数据转发至哪个节点,因此代理节点可以将需返回的数据正确地转发至数据发送端,从而基于同一条通信链路完成了数据回复。也即,本申请在现有通信方案的基础上,未增加新的通信设备就完成了数据发送端和数据接收端的互相通信,从而降低了通信成本,也避免了通信资源的浪费。In the above method, the target network node is the data sending end, the target network node is the data receiving end, and the target proxy node is the proxy of the target network node. When the data sender sends data to the data receiver through the proxy node, and the data receiver needs to return the corresponding data, the data receiver can first return the data to be returned to the proxy node, and then the proxy node can return the data corresponding to the current data. The public IP address of the sending end and the sending port used by the data sending end to send data determine which node to forward the received returned data to, so the proxy node can correctly forward the data to be returned to the data sending end. A communication link completes the data reply. That is, on the basis of the existing communication scheme, the present application completes the mutual communication between the data sending end and the data receiving end without adding a new communication device, thereby reducing the communication cost and avoiding the waste of communication resources.
相应地,本申请提供的一种数据传输装置、系统及设备,也同样具有上述技术效果。Correspondingly, a data transmission device, system and equipment provided by the present application also have the above technical effects.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only It is an embodiment of the present application. For those of ordinary skill in the art, other drawings can also be obtained according to the provided drawings without any creative effort.
图1为本申请公开的第一种数据传输方法流程图;1 is a flowchart of a first data transmission method disclosed in the application;
图2为本申请公开的第二种数据传输方法流程图;2 is a flowchart of a second data transmission method disclosed in the application;
图3为本申请公开的第三种数据传输方法流程图;3 is a flowchart of a third data transmission method disclosed in this application;
图4为本申请公开的一种数据传输装置示意图;4 is a schematic diagram of a data transmission device disclosed in the application;
图5为本申请公开的一种数据传输系统示意图;5 is a schematic diagram of a data transmission system disclosed in the application;
图6为本申请公开的一种数据传输设备示意图;6 is a schematic diagram of a data transmission device disclosed in the application;
图7为本申请公开的另一种数据传输设备示意图。FIG. 7 is a schematic diagram of another data transmission device disclosed in this application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the purpose of the present application will be further described with reference to the accompanying drawings in conjunction with the embodiments.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those expressly listed Rather, those steps or units may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.
需要说明的是,在本申请中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。It should be noted that the descriptions involving "first", "second", etc. in this application are only for the purpose of description, and should not be construed as indicating or implying their relative importance or implying the number of indicated technical features . Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In addition, the technical solutions between the various embodiments can be combined with each other, but must be based on the realization by those of ordinary skill in the art. When the combination of technical solutions is contradictory or cannot be realized, it should be considered that the combination of such technical solutions does not exist. , is not within the scope of protection claimed in this application.
参见图1,图1为本申请实施例公开的第一种数据传输方法流程图。在一实施例中,该方法应用于目标网络节点的目标代理节点,包括:Referring to FIG. 1 , FIG. 1 is a flowchart of a first data transmission method disclosed by an embodiment of the present application. In one embodiment, the method is applied to the target proxy node of the target network node, including:
S101、接收对象网络节点发送的第一数据;S101. Receive first data sent by an object network node;
S102、转发第一数据至目标网络节点;S102, forward the first data to the target network node;
S103、接收目标网络节点返回的第二数据;S103, receiving the second data returned by the target network node;
S104、根据对象网络节点的公网IP地址和对象网络节点发送第一数据的发送端口,转发第二数据至对象网络节点。S104. Forward the second data to the target network node according to the public network IP address of the target network node and the sending port for sending the first data by the target network node.
在本实施例中,对象网络节点为外网节点,或与目标网络节点处于同一网络、但未设有代理节点的节点。In this embodiment, the target network node is an external network node, or a node that is on the same network as the target network node but does not have an agent node.
在本实施例中,当目标网络节点需要返回第二数据至对象网络节点,则目标网络节点首先将第二数据返回至自身的目标代理节点,以使目标代理节点根据对象网络节点的公网IP地址和对象网络节点发送第一数据的发送端口,转发第二数据至对象网络节点。其中,对象网络节点的公网IP地址为对象网络节点对外显示的IP地址。In this embodiment, when the target network node needs to return the second data to the target network node, the target network node first returns the second data to its own target proxy node, so that the target proxy node can use the public network IP of the target network node according to the target network node. The address and the sending port of the target network node to send the first data, and forward the second data to the target network node. The public network IP address of the target network node is the IP address displayed externally by the target network node.
具体的,当对象网络节点为与目标网络节点处于同一网络、但未设有代理节点的节点,那么当目标网络节点返回第二数据时,目标代理节点便可根据对象网络节点的公网IP地址和对象网络节点发送第一数据的发送端口确定第二数据的接收端,从而将第二数据传输至对象网络节点。Specifically, when the target network node is on the same network as the target network node but does not have a proxy node, then when the target network node returns the second data, the target proxy node can use the public IP address of the target network node according to the target network node. The sending port for sending the first data with the target network node determines the receiving end of the second data, so as to transmit the second data to the target network node.
具体的,当对象网络节点为外网节点,那么当目标网络节点返回第二数据时,目标代理节点便可根据对象网络节点的公网IP地址确定对象网络节点所处的网络,进而根据对象网络节点发送第一数据的发送端口确定第二数据的接收端,从而将第二数据传输至对象网络节点。Specifically, when the target network node is an external network node, when the target network node returns the second data, the target proxy node can determine the network where the target network node is located according to the public network IP address of the target network node, and then according to the target network node The sending port through which the node sends the first data determines the receiving end of the second data, so as to transmit the second data to the target network node.
由上可见,本实施例中的对象网络节点为数据发送端,目标网络节点为数据接收端,目标代理节点为目标网络节点的代理。当数据发送端通过代理节点发送数据至数据接收端,且数据接收端需要返回相应数据时,数据接收端可以先将需返回的数据返回至代理节点,而后代理节点能够根据当前返回数据对应的数据发送端的公网IP地址和数据发送端发送数据时使用的发送端口,确定将接收到的返回数据转发至哪个节点,因此代理节点可以将需返回的数据正确地转发至数据发送端,从而基于同一条通信链路完成了数据回复。也即,本申请在现有通信方案的基础上,未增加新的通信设备就完成了数据发送端和数据接收端的互相通信,从而降低了通信成本,也避免了通信资源的浪费。It can be seen from the above that the target network node in this embodiment is the data sending end, the target network node is the data receiving end, and the target proxy node is the proxy of the target network node. When the data sender sends data to the data receiver through the proxy node, and the data receiver needs to return the corresponding data, the data receiver can first return the data to be returned to the proxy node, and then the proxy node can return the data corresponding to the current data. The public IP address of the sending end and the sending port used by the data sending end to send data determine which node to forward the received returned data to, so the proxy node can correctly forward the data to be returned to the data sending end. A communication link completes the data reply. That is, on the basis of the existing communication scheme, the present application completes the mutual communication between the data sending end and the data receiving end without adding a new communication device, thereby reducing the communication cost and avoiding the waste of communication resources.
参见图2,图2为本申请实施例公开的第二种数据传输方法流程图。在二实施例中,该方法应用于目标网络节点的目标代理节点,包括:Referring to FIG. 2, FIG. 2 is a flowchart of a second data transmission method disclosed by an embodiment of the present application. In the second embodiment, the method is applied to the target proxy node of the target network node, including:
S201、接收对象网络节点发送的第一数据;S201. Receive first data sent by an object network node;
S202、从第一数据中获取目标网络节点的ID;S202, obtain the ID of the target network node from the first data;
S203、在预设映射表中查询与目标网络节点的ID对应的套接字连接;S203, query the socket connection corresponding to the ID of the target network node in the preset mapping table;
S204、利用套接字连接转发第一数据至目标网络节点;S204, using the socket connection to forward the first data to the target network node;
S205、接收目标网络节点返回的第二数据;S205, receiving the second data returned by the target network node;
S206、根据对象网络节点的公网IP地址和对象网络节点发送第一数据的发送端口,转发第二数据至对象网络节点。S206. Forward the second data to the target network node according to the public network IP address of the target network node and the sending port for sending the first data by the target network node.
在本实施例中,对象网络节点为外网节点,或与目标网络节点处于同一网络、但未设有代理节点的节点。In this embodiment, the target network node is an external network node, or a node that is on the same network as the target network node but does not have an agent node.
具体的,对象网络节点可以通过目标代理节点发送数据至目标网络节点的原因是:对象网络节点知悉目标网络节点的ID,故而对象网络节点可以将目标网络节点的ID和需发送的第一数据均发送至目标代理节点。Specifically, the reason why the target network node can send data to the target network node through the target proxy node is: the target network node knows the ID of the target network node, so the target network node can send the ID of the target network node and the first data to be sent. Sent to the target agent node.
具体的,目标代理节点维护有映射表,该映射表中记录着节点ID和套接字连接的对应关系。因此当目标代理节点接收到目标网络节点的ID和第一数据,便可以从映射表中查询到目标网络节点的ID对应的套接字连接,然后利用该套接字连接转发第一数据至目标网络节点。Specifically, the target proxy node maintains a mapping table, and the mapping table records the corresponding relationship between the node ID and the socket connection. Therefore, when the target proxy node receives the ID and the first data of the target network node, it can query the socket connection corresponding to the ID of the target network node from the mapping table, and then use the socket connection to forward the first data to the target network node.
需要说明的是,目标代理节点还可能是其他节点的代理,因此该映射表中还记录着其他节点ID和对应的套接字连接。节点ID是节点在网络中的唯一标识。It should be noted that the target proxy node may also be the proxy of other nodes, so the mapping table also records other node IDs and corresponding socket connections. The node ID is the unique identification of the node in the network.
需要说明的是,为了降低代理节点的负载,目标代理节点在接收到第一数据后,可以不维护发送第一数据的公网IP地址和发送端口,而是利用套接字连接转发公网IP地址、发送端口和第一数据至目标网络节点;当目标网络节点返回第二数据时,同时也会返回公网IP地址和发送端口,这样目标代理节点就可以根据公网IP地址和发送端口转发数据至对象网络节点。It should be noted that, in order to reduce the load of the proxy node, after receiving the first data, the target proxy node may not maintain the public network IP address and sending port for sending the first data, but use the socket connection to forward the public network IP address. address, sending port and first data to the target network node; when the target network node returns the second data, it also returns the public network IP address and sending port, so that the target proxy node can forward the data according to the public network IP address and sending port data to object network nodes.
由于目标代理节点还可以代理其他节点,那么可以将对象网络节点挂载至目标代理节点,这样对象网络节点和目标网络节点就拥有了共同的代理节点,这样对象网络节点和目标网络节点便可通过目标代理节点进行数据交互。如此也实现了未增加新的通信设备就完成了数据发送端和数据接收端的互相通信。Since the target proxy node can also proxy other nodes, the target network node can be mounted to the target proxy node, so that the target network node and the target network node have a common proxy node, so that the target network node and the target network node can pass the The target agent node performs data interaction. In this way, the mutual communication between the data sending end and the data receiving end is realized without adding a new communication device.
需要说明的是,本实施例中的其他实现步骤与上述实施例相同或类似,故本实施例在此不再赘述。It should be noted that, other implementation steps in this embodiment are the same as or similar to the above-mentioned embodiments, and thus are not described again in this embodiment.
由上可见,本实施例中的对象网络节点为数据发送端,目标网络节点为数据接收端,目标代理节点为目标网络节点的代理。当数据发送端通过代理节点发送数据至数据接收端,且数据接收端需要返回相应数据时,数据接收端可以先将需返回的数据返回至代理节点,而后代理节点能够根据当前返回数据对应的数据发送端的公网IP地址和数据发送端发送数据时使用的发送端口,确定将接收到的返回数据转发至哪个节点,因此代理节点可以将需返回的数据正确地转发至数据发送端,从而基于同一条通信链路完成了数据回复。也即,本申请在现有通信方案的基础上,未增加新的通信设备就完成了数据发送端和数据接收端的互相通信,从而降低了通信成本,也避免了通信资源的浪费。It can be seen from the above that the target network node in this embodiment is the data sending end, the target network node is the data receiving end, and the target proxy node is the proxy of the target network node. When the data sender sends data to the data receiver through the proxy node, and the data receiver needs to return the corresponding data, the data receiver can first return the data to be returned to the proxy node, and then the proxy node can return the data corresponding to the current data. The public IP address of the sending end and the sending port used by the data sending end to send data determine which node to forward the received returned data to, so the proxy node can correctly forward the data to be returned to the data sending end. A communication link completes the data reply. That is, on the basis of the existing communication scheme, the present application completes the mutual communication between the data sending end and the data receiving end without adding a new communication device, thereby reducing the communication cost and avoiding the waste of communication resources.
参见图3,图3为本申请实施例公开的第三种数据传输方法流程图。在三实施例中,该方法应用于目标网络节点的目标代理节点,包括:Referring to FIG. 3 , FIG. 3 is a flowchart of a third data transmission method disclosed by an embodiment of the present application. In three embodiments, the method is applied to the target proxy node of the target network node, including:
S301、接收对象网络节点发送的第一数据;S301. Receive first data sent by an object network node;
S302、确定对象网络节点的公网IP地址和对象网络节点发送第一数据的发送端口;S302, determining the public network IP address of the target network node and the sending port for sending the first data by the target network node;
S303、将公网IP地址、发送端口和第一数据发送至目标网络节点;S303, sending the public network IP address, the sending port and the first data to the target network node;
S304、接收目标网络节点返回的第二数据、公网IP地址和发送端口;S304, receiving the second data, the public network IP address and the sending port returned by the target network node;
S305、根据目标网络节点返回的公网IP地址和发送端口,转发第二数据至对象网络节点。S305. Forward the second data to the target network node according to the public network IP address and the sending port returned by the target network node.
在本实施例中,对象网络节点为外网节点,或与目标网络节点处于同一网络、但未设有代理节点的节点。In this embodiment, the target network node is an external network node, or a node that is on the same network as the target network node but does not have an agent node.
为了降低代理节点的负载,目标代理节点在接收到第一数据,并确定对象网络节点的公网IP地址和对象网络节点发送第一数据的发送端口后,可以不维护发送第一数据的公网IP地址和发送端口,而是将公网IP地址、发送端口和第一数据发送至目标网络节点;当目标网络节点返回第二数据时,同时也会返回公网IP地址和发送端口,这样目标代理节点就可以根据公网IP地址和发送端口转发数据至对象网络节点。In order to reduce the load of the proxy node, after the target proxy node receives the first data and determines the public network IP address of the target network node and the sending port for sending the first data by the target network node, it may not maintain the public network for sending the first data. IP address and sending port, but send the public network IP address, sending port and first data to the target network node; when the target network node returns the second data, it also returns the public network IP address and sending port, so that the target network node returns the second data. The proxy node can forward data to the target network node according to the public network IP address and sending port.
其中,若目标代理节点代理的节点较多,使其维护返回数据的路径的话,可能会增加目标代理节点的负载,影响其正常运行,因此可以利用本实施例提供的方法避免目标代理节点维护返回数据路径时导致的负载过高的情况。Among them, if the target proxy node has more nodes to maintain the return data path, it may increase the load of the target proxy node and affect its normal operation. Therefore, the method provided by this embodiment can be used to avoid the target proxy node maintenance return A situation where the load on the data path is too high.
需要说明的是,本实施例中的其他实现步骤与上述实施例相同或类似,故本实施例在此不再赘述。其中,目标网络节点在接收到对象网络节点发送的数据后回复数据,一般无法主动给对象网络节点发送数据。本说明书提交的公网IP地址和发送端口均为对象网络节点发送第一数据时所用的IP地址和端口。It should be noted that, other implementation steps in this embodiment are the same as or similar to the above-mentioned embodiments, and thus are not described again in this embodiment. The target network node replies with data after receiving the data sent by the target network node, and generally cannot actively send data to the target network node. The public network IP addresses and sending ports submitted in this specification are the IP addresses and ports used by the target network node to send the first data.
由上可见,本实施例中的对象网络节点为数据发送端,目标网络节点为数据接收端,目标代理节点为目标网络节点的代理。当数据发送端发送数据至代理节点,代理节点在确定数据发送端的公网IP地址和发送端口后,将公网IP地址、发送端口和数据均发送至数据接收端;当数据接收端返回相应数据时,将公网IP地址、发送端口和返回数据均返回至代理节点,那么代理节点就可以根据接收到的公网IP地址和发送端口转发返回数据至数据发送端。从而基于同一条通信链路完成了数据回复,也避免了代理节点维护公网IP地址和发送端口,未增加代理节点的负载,不会影响代理节点的正常运行。也即,本申请在现有通信方案的基础上,未增加新的通信设备就完成了数据发送端和数据接收端的互相通信,从而降低了通信成本,也避免了通信资源的浪费。It can be seen from the above that the target network node in this embodiment is the data sending end, the target network node is the data receiving end, and the target proxy node is the proxy of the target network node. When the data sending end sends data to the proxy node, the proxy node sends the public IP address, sending port and data to the data receiving end after determining the public network IP address and sending port of the data sending end; when the data receiving end returns the corresponding data When the public network IP address, sending port and return data are returned to the proxy node, the proxy node can forward the return data to the data sending end according to the received public network IP address and sending port. Therefore, the data reply is completed based on the same communication link, and the maintenance of the public network IP address and the sending port by the proxy node is also avoided, the load of the proxy node is not increased, and the normal operation of the proxy node is not affected. That is, on the basis of the existing communication scheme, the present application completes the mutual communication between the data sending end and the data receiving end without adding a new communication device, thereby reducing the communication cost and avoiding the waste of communication resources.
下面对本申请实施例提供的一种数据传输装置进行介绍,下文描述的一种数据传输装置与上文描述的一种数据传输方法可以相互参照。The following describes a data transmission apparatus provided by an embodiment of the present application. A data transmission apparatus described below and a data transmission method described above may be referred to each other.
参见图4,图4为本申请实施例公开的一种数据传输装置示意图。在四实施例中,应用于目标网络节点的目标代理节点,包括:Referring to FIG. 4 , FIG. 4 is a schematic diagram of a data transmission apparatus disclosed in an embodiment of the present application. In the fourth embodiment, the target proxy node applied to the target network node includes:
第一转发模块401,用于若接收到对象网络节点发送的第一数据,则转发第一数据至目标网络节点;The
第二转发模块402,用于接收目标网络节点返回的第二数据,并根据对象网络节点的公网IP地址和对象网络节点发送第一数据的发送端口,转发第二数据至对象网络节点;The
其中,对象网络节点为外网节点,或与目标网络节点处于同一网络、但未设有代理节点的节点。The target network node is an external network node, or a node that is on the same network as the target network node but does not have an agent node.
在一种具体实施方式中,第一转发模块包括:In a specific embodiment, the first forwarding module includes:
获取单元,用于从第一数据中获取目标网络节点的ID;an acquisition unit for acquiring the ID of the target network node from the first data;
查询单元,用于在预设映射表中查询与目标网络节点的ID对应的套接字连接;a query unit, configured to query the socket connection corresponding to the ID of the target network node in the preset mapping table;
第一转发单元,用于利用套接字连接转发第一数据至目标网络节点。The first forwarding unit is used for forwarding the first data to the target network node by using the socket connection.
在一种具体实施方式中,第一转发模块具体用于:In a specific implementation manner, the first forwarding module is specifically used for:
确定公网IP地址和发送端口,并将公网IP地址、发送端口和第一数据发送至目标网络节点。Determine the public network IP address and the sending port, and send the public network IP address, the sending port and the first data to the target network node.
在一种具体实施方式中,第二转发模块包括:In a specific embodiment, the second forwarding module includes:
接收单元,用于接收目标网络节点返回的第二数据、公网IP地址和发送端口;a receiving unit, configured to receive the second data, the public network IP address and the sending port returned by the target network node;
第二转发单元,用于根据目标网络节点返回的公网IP地址和发送端口,转发第二数据至对象网络节点。The second forwarding unit is configured to forward the second data to the target network node according to the public network IP address and the sending port returned by the target network node.
其中,关于本实施例中各个模块、单元更加具体的工作过程可以参考前述实施例中公开的相应内容,在此不再进行赘述。For the more specific working process of each module and unit in this embodiment, reference may be made to the corresponding content disclosed in the foregoing embodiments, which will not be repeated here.
可见,本实施例提供了一种数据传输装置,包括:第一转发模块以及第二转发模块。若接收到对象网络节点发送的第一数据,首先由第一转发模块转发第一数据至目标网络节点;第二转发模块接收目标网络节点返回的第二数据,并根据对象网络节点的公网IP地址和对象网络节点发送第一数据的发送端口,转发第二数据至对象网络节点。如此各个模块之间分工合作,各司其职,从而基于同一条通信链路完成了数据回复,同时未增加新的通信设备就完成了数据发送端和数据接收端的互相通信,从而降低了通信成本,也避免了通信资源的浪费。It can be seen that this embodiment provides a data transmission apparatus, including: a first forwarding module and a second forwarding module. If the first data sent by the target network node is received, the first forwarding module first forwards the first data to the target network node; the second forwarding module receives the second data returned by the target network node, and according to the public network IP of the target network node The address and the sending port of the target network node to send the first data, and forward the second data to the target network node. In this way, each module divides labor and cooperates, and each performs its own duties, thus completing the data reply based on the same communication link, and completing the mutual communication between the data sender and the data receiver without adding new communication equipment, thereby reducing the communication cost. , and also avoid the waste of communication resources.
下面对本申请实施例提供的一种数据传输系统进行介绍,下文描述的一种数据传输系统与上文描述的一种数据传输方法及装置可以相互参照。The following describes a data transmission system provided by an embodiment of the present application, and a data transmission system described below and a data transmission method and apparatus described above can be referred to each other.
参见图5,图5为本申请实施例公开的一种数据传输系统示意图。在五实施例中,该系统,包括:对象网络节点501,目标网络节点502,以及目标网络节点的目标代理节点503,其中:Referring to FIG. 5 , FIG. 5 is a schematic diagram of a data transmission system disclosed in an embodiment of the present application. In the fifth embodiment, the system includes: a
对象网络节点为外网节点,或与目标网络节点处于同一网络、但未设有代理节点的节点;The target network node is an external network node, or a node that is on the same network as the target network node but does not have an agent node;
对象网络节点,用于发送第一数据至目标代理节点;an object network node for sending the first data to the target proxy node;
目标网络节点,用于返回第二数据至目标代理节点;a target network node for returning the second data to the target proxy node;
目标代理节点,用于转发第一数据至目标网络节点;若接收到目标网络节点返回的第二数据,则根据对象网络节点的公网IP地址和对象网络节点发送第一数据的发送端口,转发第二数据至对象网络节点。The target proxy node is used to forward the first data to the target network node; if the second data returned by the target network node is received, forward the first data according to the public network IP address of the target network node and the sending port for sending the first data by the target network node The second data to the target network node.
在一种具体实施方式中,对象网络节点和目标代理节点通过UDP协议进行通信。目标网络节点和目标代理节点通过TCP协议进行通信。也就是说,目标代理节点面对对象网络节点的端口为UDP端口,面对目标网络节点的端口为TCP端口。对象网络节点发送第一数据的发送端口为UDP端口。In a specific embodiment, the target network node and the target proxy node communicate through the UDP protocol. The target network node and the target proxy node communicate through the TCP protocol. That is to say, the port of the target proxy node facing the object network node is the UDP port, and the port facing the target network node is the TCP port. The sending port through which the target network node sends the first data is a UDP port.
当目标网络节点启动上线,目标网络节点便可与目标代理节点建立TCP长连接(通过心跳保持连接),而后目标网络节点将自身的ID发送至目标代理节点,目标代理节点便将该ID和TCP套接字连接建立映射关系,并存入映射表,以便在接收到第一数据后,根据映射表确定第一数据的接收端。When the target network node starts to go online, the target network node can establish a TCP long connection with the target proxy node (connection is maintained through heartbeat), and then the target network node sends its own ID to the target proxy node, and the target proxy node uses the ID and TCP The socket connection establishes a mapping relationship and stores it in the mapping table, so that after receiving the first data, the receiving end of the first data is determined according to the mapping table.
下面对本申请实施例提供的一种数据传输设备进行介绍,下文描述的一种数据传输设备与上文描述的一种数据传输方法、装置及系统可以相互参照。The following describes a data transmission device provided by an embodiment of the present application. The data transmission device described below and the data transmission method, device, and system described above can be referred to each other.
参见图6,图6为本申请实施例公开的一种数据传输设备示意图。在六实施例中,该设备包括:Referring to FIG. 6, FIG. 6 is a schematic diagram of a data transmission device disclosed in an embodiment of the present application. In six embodiments, the apparatus includes:
存储器601,用于保存计算机程序;
处理器602,用于执行所述计算机程序,以实现上述任意实施例公开的方法。关于该方法的具体步骤可以参考前述实施例中公开的相应内容,在此不再进行赘述。The
该数据传输设备可以是组成CDN(Content Delivery Network)网络或者区块链网络的节点。The data transmission device may be a node forming a CDN (Content Delivery Network) network or a blockchain network.
参见图7,图7为本申请实施例公开的另一种数据传输设备示意图。该数据传输设备可以包括存储器11、处理器12和总线13。Referring to FIG. 7 , FIG. 7 is a schematic diagram of another data transmission device disclosed in an embodiment of the present application. The data transmission device may include a
其中,存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、磁性存储器、磁盘、光盘等。存储器11在一些实施例中可以是数据传输设备的内部存储单元,例如该数据传输设备的硬盘。存储器11在另一些实施例中也可以是数据传输设备的外部存储设备,例如数据传输设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器11还可以既包括数据传输设备的内部存储单元也包括外部存储设备。存储器11不仅可以用于存储安装于数据传输设备的应用软件及各类数据,例如数据传输程序的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。The
处理器12在一些实施例中可以是一中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器或其他数据处理芯片,用于运行存储器11中存储的程序代码或处理数据,例如执行数据传输程序等。The
该总线13可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The
进一步地,数据传输设备还可以包括网络接口,网络接口可选的可以包括有线接口和/或无线接口(如WI-FI接口、蓝牙接口等),通常用于在该设备与其他电子设备之间建立通信连接。Further, the data transmission device may also include a network interface, and the network interface may optionally include a wired interface and/or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is usually used between the device and other electronic devices Establish a communication connection.
可选地,该设备还可以包括用户接口,用户接口可以包括显示器(Display)、输入单元比如键盘(Keyboard),可选的用户接口还可以包括标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在该设备中处理的信息以及用于显示可视化的用户界面。Optionally, the device may further include a user interface, and the user interface may include a display (Display), an input unit such as a keyboard (Keyboard), and an optional user interface may further include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, and the like. Among them, the display may also be appropriately referred to as a display screen or a display unit for displaying information processed in the device and for displaying a visual user interface.
图7仅示出了具有组件11-13的数据传输设备,本领域技术人员可以理解的是,图7示出的结构并不构成对设备的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。FIG. 7 only shows a data transmission device with components 11-13. Those skilled in the art can understand that the structure shown in FIG. 7 does not constitute a limitation on the device, and may include fewer or more than shown in the figure. components, or a combination of certain components, or a different arrangement of components.
下面对本申请实施例提供的一种可读存储介质进行介绍,下文描述的一种可读存储介质与上文描述的一种数据传输方法、装置、系统及设备可以相互参照。A readable storage medium provided by an embodiment of the present application is introduced below. A readable storage medium described below and a data transmission method, apparatus, system, and device described above may be referred to each other.
一种可读存储介质,用于保存计算机程序,其中,所述计算机程序被处理器执行时实现前述实施例公开的数据传输方法。关于该方法的具体步骤可以参考前述实施例中公开的相应内容,在此不再进行赘述。A readable storage medium for storing a computer program, wherein when the computer program is executed by a processor, the data transmission method disclosed in the foregoing embodiments is implemented. For the specific steps of the method, reference may be made to the corresponding content disclosed in the foregoing embodiments, which will not be repeated here.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts of the various embodiments can be referred to each other.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的可读存储介质中。The steps of a method or algorithm described in conjunction with the embodiments disclosed herein may be directly implemented in hardware, a software module executed by a processor, or a combination of the two. A software module can be placed in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other in the technical field. in any other form of readable storage medium that is well known.
本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The principles and implementations of the present application are described herein by using specific examples. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application. There will be changes in the specific implementation and application scope. To sum up, the content of this specification should not be construed as a limitation to the application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911001128.9A CN110730237B (en) | 2019-10-21 | 2019-10-21 | Data transmission method, device, system and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911001128.9A CN110730237B (en) | 2019-10-21 | 2019-10-21 | Data transmission method, device, system and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110730237A true CN110730237A (en) | 2020-01-24 |
CN110730237B CN110730237B (en) | 2023-03-31 |
Family
ID=69220455
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911001128.9A Active CN110730237B (en) | 2019-10-21 | 2019-10-21 | Data transmission method, device, system and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110730237B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112153154A (en) * | 2020-09-28 | 2020-12-29 | 腾讯科技(深圳)有限公司 | A data transmission method and related device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006119683A1 (en) * | 2005-05-12 | 2006-11-16 | Zte Corporation | Implementing method for mms nat traversing |
CN101001365A (en) * | 2007-01-19 | 2007-07-18 | 北京华纬讯电信技术有限公司 | Method for implementing media flow balance dispatching in vedio service |
CN101262478A (en) * | 2008-04-10 | 2008-09-10 | 杭州华三通信技术有限公司 | Method and device for penetrating NAT |
CN101345741A (en) * | 2007-07-13 | 2009-01-14 | 盛大计算机(上海)有限公司 | Proxy system and proxy connecting method based on internet |
CN101753634A (en) * | 2008-12-19 | 2010-06-23 | 华为技术有限公司 | Private network passing method, system and device |
CN102932406A (en) * | 2012-09-19 | 2013-02-13 | 邦讯技术股份有限公司 | Method, device and system for surfing Internet in WAP (Wireless Application Protocol) mode during flow unloading process |
CN103167022A (en) * | 2013-02-04 | 2013-06-19 | 北京蓝汛通信技术有限责任公司 | A data packet transmission method, related equipment and system |
CN110191204A (en) * | 2019-05-30 | 2019-08-30 | 深圳市网心科技有限公司 | Communication method, system, device and computer storage medium between intranet devices |
CN110266713A (en) * | 2019-06-28 | 2019-09-20 | 深圳市网心科技有限公司 | Intranet communication method, device, system, proxy server and storage medium |
-
2019
- 2019-10-21 CN CN201911001128.9A patent/CN110730237B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006119683A1 (en) * | 2005-05-12 | 2006-11-16 | Zte Corporation | Implementing method for mms nat traversing |
CN101001365A (en) * | 2007-01-19 | 2007-07-18 | 北京华纬讯电信技术有限公司 | Method for implementing media flow balance dispatching in vedio service |
CN101345741A (en) * | 2007-07-13 | 2009-01-14 | 盛大计算机(上海)有限公司 | Proxy system and proxy connecting method based on internet |
CN101262478A (en) * | 2008-04-10 | 2008-09-10 | 杭州华三通信技术有限公司 | Method and device for penetrating NAT |
CN101753634A (en) * | 2008-12-19 | 2010-06-23 | 华为技术有限公司 | Private network passing method, system and device |
CN102932406A (en) * | 2012-09-19 | 2013-02-13 | 邦讯技术股份有限公司 | Method, device and system for surfing Internet in WAP (Wireless Application Protocol) mode during flow unloading process |
CN103167022A (en) * | 2013-02-04 | 2013-06-19 | 北京蓝汛通信技术有限责任公司 | A data packet transmission method, related equipment and system |
CN110191204A (en) * | 2019-05-30 | 2019-08-30 | 深圳市网心科技有限公司 | Communication method, system, device and computer storage medium between intranet devices |
CN110266713A (en) * | 2019-06-28 | 2019-09-20 | 深圳市网心科技有限公司 | Intranet communication method, device, system, proxy server and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112153154A (en) * | 2020-09-28 | 2020-12-29 | 腾讯科技(深圳)有限公司 | A data transmission method and related device |
Also Published As
Publication number | Publication date |
---|---|
CN110730237B (en) | 2023-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108924274B (en) | Domain name system DNS processing method and device, storage medium and electronic equipment | |
CN109600449A (en) | A kind of P2P penetrating method, device, system and storage medium | |
CN109951562B (en) | NAT traversal method and system, electronic device and storage medium | |
CN111224829B (en) | Method and device for accessing external node to block chain network, and block chain network | |
CN110719345B (en) | Virtual machine MAC address generation method, system, equipment and computer medium | |
CN110191204A (en) | Communication method, system, device and computer storage medium between intranet devices | |
CN109922156A (en) | A kind of data communications method and its relevant device | |
CN110392002B (en) | Message processing method, apparatus, device and readable storage medium | |
CN111131439A (en) | iSCSI-based message transmission method, device, device and storage medium | |
WO2017036305A1 (en) | Method for establishing data connection, server side, and mobile terminal | |
CN109462659B (en) | Embedded device remote access control system, method and storage medium | |
CN113890879A (en) | Load balancing method and device for data access, computer equipment and medium | |
CN110012107B (en) | A data communication method, device, device, system and storage medium | |
CN112929277B (en) | Message processing method and device | |
CN110730237B (en) | Data transmission method, device, system and equipment | |
CN105959188A (en) | Method and device for controlling user terminal to be online | |
CN110730244A (en) | Networking method and system of DHT (distributed hash table) system, network equipment and storage medium | |
CN107968848A (en) | A method for obtaining an IP address, a terminal device and a storage medium | |
CN112333295A (en) | A multi-path connection method, device, electronic device and storage medium | |
CN104615564A (en) | Data transmission method based on QPI bus and computer system | |
CN110166575A (en) | A kind of http Proxy Method, system, device and computer media | |
KR102025375B1 (en) | Apparatus and method for data distribution service, data distribution service system | |
US11563712B2 (en) | Method for domain name query, electronic device, and storage medium | |
CN108769293B (en) | IP address resolution method and related device | |
CN113810510A (en) | Domain name access method and device and electronic 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |