CN109729115B - Method, device, proxy server and terminal equipment for realizing distributed computation - Google Patents

Method, device, proxy server and terminal equipment for realizing distributed computation Download PDF

Info

Publication number
CN109729115B
CN109729115B CN201711031813.7A CN201711031813A CN109729115B CN 109729115 B CN109729115 B CN 109729115B CN 201711031813 A CN201711031813 A CN 201711031813A CN 109729115 B CN109729115 B CN 109729115B
Authority
CN
China
Prior art keywords
proxy server
node identifier
communication connection
terminal device
terminal equipment
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
CN201711031813.7A
Other languages
Chinese (zh)
Other versions
CN109729115A (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.)
Zhang Yu
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201711031813.7A priority Critical patent/CN109729115B/en
Publication of CN109729115A publication Critical patent/CN109729115A/en
Application granted granted Critical
Publication of CN109729115B publication Critical patent/CN109729115B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a method, a device, a proxy server and terminal equipment for realizing distributed computation. The method comprises the following steps: a first proxy server distributes corresponding node identification for terminal equipment, sends the node identification to the terminal equipment through a first communication connection, and establishes and stores mapping information of the node identification and the first communication connection; receiving a task instruction used for executing a distributed computing task of a cloud server through a second communication connection, wherein the task instruction carries a first node identifier; and according to the first node identification, acquiring a first communication connection mapped with the first node identification in the mapping information, and sending the task instruction to a first terminal device corresponding to the first node identification through the first communication connection mapped with the first node identification. By the method, the distributed computing can be completed by the terminal equipment, and the problem of communication between the cross-network-segment connected cloud server and the terminal equipment is solved.

Description

Method, device, proxy server and terminal equipment for realizing distributed computation
Technical Field
The invention relates to the technical field of cloud computing, in particular to a method, a device, a proxy server and terminal equipment for realizing distributed computing.
Background
Distributed computing is simply that a large computing task is split into a plurality of small computing tasks which are distributed to a plurality of machines for computing, and then results are gathered. Hadoop is a more common basic platform architecture for distributed computing, for example, multiple home computing mechanisms can be built into a Hadoop cluster, with each home computer serving as a node in the Hadoop cluster. Hadoop can decompose a large computation task into a plurality of work units to be mapped to different nodes for processing, and the work units in different nodes are related, so that a large amount of data communication is necessarily involved between a server and the nodes and between different nodes.
The inventor finds that in the process of implementing the invention, a computer is generally used as a computing node in the existing distributed computing framework, and because the computing node has a fixed IP address, and direct network connection relations exist between a server and the computing node and between the computing nodes, that is, direct connection can be performed through the fixed IP address, communication is easy to implement. With the increasing role of terminal devices in work and life of people and the increasing processing capacity of terminal devices on data, the terminal devices can be used as computing nodes to be introduced into distributed computing of big data. However, for a terminal device in a public network, there is no fixed IP address, and the availability of the network is poor compared to a local area network, so that a distributed computation cannot be realized by using the terminal device as a computing node between a cloud server and the terminal device.
Disclosure of Invention
The method, the device, the proxy server and the terminal equipment for realizing distributed computing provided by the embodiment of the invention are used for at least solving the problems in the prior art.
A first aspect of an embodiment of the present invention provides a method for implementing distributed computing, including:
a first proxy server distributes corresponding node identification for terminal equipment, sends the node identification to the terminal equipment through a first communication connection, and establishes and stores mapping information of the node identification and the first communication connection, wherein the first proxy server is connected with the terminal equipment in a cross-network section manner; the method comprises the steps that a first proxy server receives a task instruction which is used for executing a distributed computing task and carries a first node identification through a second communication connection; and the first proxy server acquires a first communication connection mapped with the first node identifier from the mapping information according to the first node identifier, and sends the task instruction to a first terminal device corresponding to the first node identifier through the first communication connection mapped with the first node identifier.
Optionally, the cross-network segment connection between the first proxy server and the terminal device specifically includes: the first proxy server and the terminal equipment are in different network segments of the same intranet; or, one of the first proxy server and the terminal device is located in an intranet, and the other one of the first proxy server and the terminal device is located in a public network; or the first proxy server and the terminal equipment are located in two internal networks connected through a public network.
Optionally, the first communication connection and the second communication connection use different protocol formats, and the method further includes: and the first proxy server performs protocol conversion on transmission information transmission between the cloud server and the first terminal equipment.
Optionally, the transmission information includes at least one of: data, programs, and task instructions.
Optionally, the method further comprises: a first proxy server receives a data transmission request of the first terminal device, wherein the data transmission request comprises a first node identifier corresponding to the first terminal device and data to be transmitted; the first proxy server acquires a second node identifier corresponding to the first node identifier; and the first proxy server searches for a first communication connection mapped with the second node identifier in the mapping information, and sends the data to be transmitted to second terminal equipment corresponding to the second node identifier through the first communication connection mapped with the second node identifier.
Optionally, the method further comprises: the method comprises the steps that a first proxy server receives a data transmission request sent by third terminal equipment, wherein the data transmission request comprises a fourth node identifier and data to be transmitted, and the third terminal equipment is managed by a second proxy server; and the first proxy server searches for a first communication connection mapped with the fourth node identifier in the mapping information, and sends the data to be transmitted to fourth terminal equipment corresponding to the fourth node identifier through the first communication connection mapped with the fourth node identifier.
Optionally, the first proxy server establishes a connection with the cloud server.
A second aspect of the embodiments of the present invention provides a method for implementing distributed computing, which is applied to a terminal device, and includes:
receiving a node identifier sent by a first proxy server through first communication connection, wherein the terminal equipment is connected with the first proxy server across network segments, and the node identifier has a mapping relation with the first communication connection; and receiving a task instruction of the first proxy server for executing a distributed computing task, and executing the distributed computing task according to the task instruction.
Optionally, the method further comprises: and sending a data transmission request to the first proxy server, wherein the data transmission request comprises the node identification and the data to be transmitted.
Optionally, the method further comprises: finding a second proxy server according to a preset rule; and sending a data transmission request to a second proxy server, wherein the data transmission request comprises a fourth node identifier and data to be transmitted, and a fourth terminal device corresponding to the fourth node identifier is managed by the second proxy server.
A third aspect of the embodiments of the present invention provides an apparatus for implementing distributed computing, applied to a first proxy server, including:
the distribution module is used for distributing corresponding node identifiers for terminal equipment, sending the node identifiers to the terminal equipment through a first communication connection, and establishing and storing mapping information of the node identifiers and the first communication connection, wherein the first proxy server is connected with the terminal equipment in a cross-network section manner; the first receiving module is used for receiving a task instruction used by the cloud server for executing a distributed computing task through a second communication connection, wherein the task instruction carries a first node identifier; and the first sending module is used for acquiring a first communication connection mapped with the first node identifier in the mapping information according to the first node identifier and sending the task instruction to the first terminal equipment corresponding to the first node identifier through the first communication connection mapped with the first node identifier.
A fourth aspect of the embodiments of the present invention provides an apparatus for implementing distributed computing, where the apparatus is applied to a terminal device, and the apparatus includes:
the receiving module is used for receiving a node identifier sent by a first proxy server through a first communication connection, the terminal equipment is connected with the first proxy server across network segments, and the node identifier and the first communication connection have a mapping relation;
and the processing module is used for receiving a task instruction of the first proxy server for executing a distributed computing task and executing the distributed computing task according to the task instruction.
A fifth aspect of an embodiment of the present invention provides a proxy server, including:
at least one processor; and (c) a second step of,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to cause the at least one processor to perform a method of implementing distributed computing according to the first aspect of the embodiments of the invention.
A sixth aspect of an embodiment of the present invention provides a terminal device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of implementing distributed computing according to the second aspect of the embodiments of the invention.
A seventh aspect of the embodiment of the present invention provides a system for implementing distributed computing, which is characterized by including a cloud server, a proxy server provided in the fifth aspect of the embodiment of the present invention, and a terminal device provided in the sixth aspect of the embodiment of the present invention.
According to the technical scheme, the method, the device, the proxy server and the terminal device for realizing distributed computing provided by the embodiment of the invention can use the terminal device as a computing node to complete distributed computing, and solve the communication problems between the cloud server and the terminal device which are connected in a cross-network segment manner and between the terminal devices.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present invention, and it is also possible for a person skilled in the art to obtain other drawings based on the drawings.
Fig. 1 is a flowchart of a method for implementing distributed computing according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for implementing distributed computing according to a second embodiment of the present invention;
fig. 3 is a structural diagram of an apparatus for implementing distributed computing according to a third embodiment of the present invention;
fig. 4 is a structural diagram of an apparatus for implementing distributed computing according to a fourth embodiment of the present invention;
fig. 5 is a schematic hardware structure diagram of a proxy server executing a distributed computing method according to a fifth embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of a terminal device for executing a method for implementing distributed computing according to a sixth embodiment of the present invention;
fig. 7 is a block diagram of a system for implementing distributed computing according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention shall fall within the scope of the protection of the embodiments of the present invention.
The technical solution of the embodiments of the present invention is described in detail below.
As shown in fig. 1, the terminal device is introduced into distributed computing as a computing node, and a proxy server is introduced, so that the proxy server can transmit communication information received from the server or the terminal device to the corresponding terminal device, and also can transmit communication information received from the terminal device to the server, thereby enabling communication between the server and the terminal device, and between the terminal devices. Because the processing capacity of a single proxy server is limited, only the communication requests of a limited number of terminal devices can be processed, when the number of the terminal devices is large, corresponding proxy servers can be distributed to the terminal devices according to the position information, the computing capacity and the like of the terminal devices, the communication requests of the terminal devices and the servers are processed by utilizing a plurality of proxy servers, and the task processing efficiency is improved.
Fig. 1 is a flowchart of a method for implementing distributed computing according to an embodiment of the present invention. As shown in fig. 1, a method for implementing distributed computing according to an embodiment of the present invention specifically includes:
s101, a first proxy server distributes corresponding node identification for terminal equipment, sends the node identification to the terminal equipment through a first communication connection, and establishes and stores mapping information of the node identification and the first communication connection, wherein the first proxy server is connected with the terminal equipment in a cross-network section mode. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a notebook computer, a tablet computer, a computer, and the like.
Specifically, the first proxy server receives a connection request sent by the terminal device, or the first proxy server actively sends the connection request to the terminal device, and obtains a response of the terminal device based on the connection request, and then allocates a corresponding node identifier to the terminal device, and sends the node identifier to the terminal device through the first communication connection. The node identifier is used for uniquely determining the terminal device, that is, the node identifier and the terminal device are in one-to-one correspondence.
Alternatively, a plurality of proxy servers may be included in the distributed system, each proxy server manages communication of some terminal devices, and the proxy servers may record node identifiers corresponding to each terminal device with which a connection is established, and establish a correspondence between the proxy server and the node identifier corresponding to the terminal device, thereby determining the terminal device managed by each proxy server. The proxy server can send the correspondence to the cloud server, so that the cloud server can clearly determine the terminal equipment managed by each proxy server, and distribution of subsequent cloud server task instructions is facilitated.
In this step, the communication connection between the first proxy server and the terminal device is set as a first communication connection, and the first proxy server establishes and stores each node identifier managed by the first proxy server and mapping information of the first communication connection, where optionally, the first communication connection may be a TCP connection. Optionally, each proxy server may store its own mapping information, or each proxy server may store the same mapping information of all proxy servers in the entire distributed system, which is not limited herein.
Optionally, the cross-network segment connection between the first proxy server and the terminal device may specifically be: the first proxy server and the terminal equipment are in different network segments of the same intranet; or one of the first proxy server and the terminal equipment is positioned in an intranet, and the other one is positioned in a public network; or the first proxy server and the terminal equipment are positioned in two internal networks connected through a public network.
S102, the first proxy service receives a task instruction used for executing a distributed computing task of the cloud server through the second communication connection, and the task instruction carries the first node identification.
In this step, the task instruction includes, but is not limited to, establishing a task, checking a task state, stopping the task, and setting a communication connection between the proxy server and the cloud server as a second communication connection. As described in step S101, the cloud server stores the correspondence between the proxy server reported by the proxy server and the node identifier, that is, the terminal device managed by each proxy server is determined. Therefore, when the server needs to distribute tasks for the first terminal device, the proxy server corresponding to the first terminal device is determined to be the first proxy server through the corresponding relation, so that the task instruction is sent to the first proxy server, and the task instruction carries the first node identifier corresponding to the first terminal device, so that the first proxy server can send the task instruction to the first terminal device according to the first node identifier.
Optionally, the first proxy server establishes a connection with the cloud server. Specifically, the method for receiving the task instruction of the cloud server by the first proxy server through the second communication connection further includes: the first proxy server receives a connection request sent by the cloud server; the first proxy server sends a connection permission response to the cloud server. That is, the cloud server sends the task instruction to the first proxy server after receiving the response of the first proxy server. Or the first proxy server sends a connection request to the cloud server, and the cloud server sends a connection permission response to the proxy server.
Alternatively, the cloud server generally splits a large computing task into a plurality of small computing tasks, and distributes the small computing tasks to a plurality of terminal devices managed by the same proxy server, and some computing tasks (second computing tasks) may need result data of a previous computing task (first computing task) to be executed. Therefore, the proxy server analyzes the task instructions sent by the cloud server, and when the task instructions have associated task instructions, the corresponding rules between the node identifiers carried by the associated task instructions are preset. For example, the proxy server receives a first task instruction and a second task instruction sent by the cloud service, and when the proxy server analyzes that the second task instruction can be executed only by the result of the first task instruction, a rule corresponding to a node identifier corresponding to a terminal device executing the first task instruction and a node identifier corresponding to a terminal device executing the second task instruction is preset. And after receiving the node identifier and the result data corresponding to the terminal equipment executing the first task instruction, determining the terminal equipment executing the second task instruction to which the result data should be transmitted according to the preset rule.
Optionally, the cloud server may also split one large computing task into a plurality of small computing tasks, distribute the small computing tasks to a plurality of terminal devices managed by different proxy servers, and cooperatively complete the whole computing task through the different proxy servers. For example, the cloud server sends a first task instruction to the second proxy server, and sends a second task instruction to the first proxy server, where the second task instruction requires result data corresponding to the first task instruction to start execution, that is, data transmission of the terminal device across the proxy servers is involved. At this time, the first task instruction sent by the cloud server includes a node identifier corresponding to a terminal device executing the second task instruction, so that after the terminal device executing the first task instruction completes execution of the first task and obtains corresponding result data, the result data can be sent to the first proxy server according to the node identifier, and the data is transmitted to the terminal device executing the second task through the first proxy server.
S103, finding a first communication connection corresponding to the first node identifier in the mapping information according to the first node identifier, and sending the task instruction to a first terminal device corresponding to the first node identifier through the first communication connection.
In this step, a first terminal device is determined according to a first node identifier, a first communication connection corresponding to the first node identifier is found in mapping information, and the task instruction in step S102 is sent to the first terminal device through the first communication connection, so that distributed computing is performed in a public network using the terminal device as a computing node.
Optionally, the second communication connection between the cloud server and the proxy server in the distributed cluster and the first communication connection between the proxy server and the terminal device generally adopt different communication protocol formats, and then the method provided in the embodiment of the present invention further includes: and the first proxy server performs protocol conversion on transmission information transmission between the cloud server and the terminal equipment. Optionally, the transmission information includes at least one of the following: data, programs, and task instructions.
Specifically, a first protocol is adopted between the proxy server and the terminal device for communication, and a second protocol is adopted between the cloud server and the proxy server for communication. Generally, in a Hadoop cluster, the first protocol may be a web socket protocol and the second protocol may be an RPC (Remote Procedure Call) protocol. Because the cloud server cannot send the transmission information to the terminal device without performing protocol conversion, the transmission information in the second protocol format needs to be converted into the transmission information in the first protocol format; similarly, the terminal device cannot send the transmission information to the cloud server, and needs to convert the transmission information in the first protocol format into the transmission information in the second protocol format.
As an optional implementation manner of this embodiment, this step may include: the first proxy server converts the task instruction in the second protocol format into a task instruction in the first protocol format; and the first proxy server sends the task instruction in the first protocol format to the first terminal equipment corresponding to the first node identifier through the first communication connection mapped with the first node identifier.
The embodiment of the invention provides a method for realizing distributed computation, which comprises the steps of introducing a proxy server between a server and terminal equipment, distributing corresponding node identifiers for the terminal equipment by the proxy server, sending the node identifiers to the terminal equipment through a first communication connection, and establishing and storing mapping information of the node identifiers and the first communication connection, wherein the first proxy server is connected with the terminal equipment in a cross-network section manner; receiving a task instruction used for executing a distributed computing task of a cloud server through a second communication connection, wherein the task instruction carries a first node identifier; and finding a first communication connection corresponding to the first node identification in the mapping information according to the first node identification, and sending the task instruction to a first terminal device corresponding to the first node identification through the first communication connection. By the method, the terminal equipment can be used as the computing node to complete distributed computing, and the communication problems between the cloud server and the terminal equipment which are connected in a cross-network section manner and between the terminal equipment are solved.
Some communication methods between the cloud server and the terminal device and between the terminal devices are specifically described below.
As some optional implementation manners of the embodiment of the present invention, the method further includes: a first proxy server receives a data transmission request of the first terminal device, wherein the data transmission request comprises a first node identifier corresponding to the first terminal device and data to be transmitted; the first proxy server acquires a second node identifier corresponding to the first node identifier; and the first proxy server searches for a first communication connection mapped with the second node identifier in the mapping information, and sends the data to be transmitted to second terminal equipment corresponding to the second node identifier through the first communication connection mapped with the second node identifier.
Particularly, the method is suitable for communication between terminal devices under the same proxy server. The first proxy server receives a data transmission request which is sent by a first terminal device and comprises a first node identifier corresponding to the terminal device and data to be transmitted, and can search a second node identifier mapped with the first node identifier according to a preset corresponding rule. As described above, the basis of the setting of the correspondence rule is the relevance of the task instruction executed by the terminal device, the proxy server analyzes the task instruction sent by the cloud server, and when the task instruction has an associated task instruction, the correspondence rule between the node identifiers carried by the associated task instruction is preset, that is, the second terminal device corresponding to the second node identifier found according to the preset rule is the transmission destination of the data to be transmitted. And searching a first communication connection mapped with the second node identifier in the pre-established mapping information, and sending the data to be transmitted to the second terminal equipment through the first communication connection.
As some optional implementation manners of the embodiment of the present invention, the method further includes: the method comprises the steps that a first proxy server receives a data transmission request sent by third terminal equipment, wherein the data transmission request comprises a fourth node identifier and data to be transmitted, and the third terminal equipment is managed by a second proxy server; and the first proxy server searches for a first communication connection mapped with the fourth node identifier in the mapping information, and sends the data to be transmitted to fourth terminal equipment corresponding to the fourth node identifier through the first communication connection mapped with the fourth node identifier.
Particularly, the method is suitable for communication among terminal devices under different proxy servers. Because the communication between the terminal devices across the proxy servers is involved, that is, the third terminal device and the fourth terminal device are managed by different proxy servers, that is, the third terminal device is managed by the second proxy server, and the fourth terminal device is managed by the first proxy server, the third terminal device cannot directly send the data transmission request to the fourth terminal device through the corresponding second proxy server, but needs to search for the proxy server corresponding to the fourth terminal device.
Optionally, the third terminal device may send a proxy server query request to all proxy servers, where the query request includes a destination terminal of the data to be transmitted — a fourth node identifier corresponding to the fourth terminal device. Each proxy server queries whether the fourth node identifier is included according to a pre-established corresponding relationship, and if the fourth node identifier is included, it indicates that the terminal device managed by the proxy server (i.e., the first proxy server in this embodiment) includes the terminal device corresponding to the fourth node identifier, so that a response based on the query request is sent to the third terminal device; if the terminal device does not include the fourth node identifier, it is indicated that the terminal device managed by the proxy server does not include the terminal device corresponding to the fourth node identifier, and therefore no response is made. And after receiving the response of the first proxy server, the first terminal device sends a data transmission request to the proxy server, wherein the request comprises the fourth node identifier and the data to be transmitted. And the first proxy server searches for a first communication connection mapped with the fourth node identifier in the pre-established mapping information, and sends the data to be transmitted to the fourth terminal equipment through the first communication connection.
As some optional implementation manners of the embodiment of the present invention, the method further includes: the method comprises the steps that a first proxy server receives a data transmission request and/or a program transmission request of first terminal equipment through a first communication connection, wherein the data transmission request and/or the program transmission request comprise data to be transmitted in a first protocol format and/or a program to be transmitted in the first protocol format; and the first proxy server converts the data to be transmitted and/or the program to be transmitted in the first protocol format into the data to be transmitted and/or the program to be transmitted in the second protocol format, and sends the data to be transmitted and/or the program to be transmitted in the second protocol format to the cloud server through a second communication connection.
The method comprises the steps that a first proxy server receives a task instruction of first terminal equipment through a first communication connection, wherein the task instruction is in a first protocol format; and the first proxy server converts the task instruction in the first protocol format into a task instruction in a second protocol format, and sends the task instruction in the second protocol format to the cloud server through a second communication connection.
The method is suitable for communication from the terminal equipment to the cloud server. As described above, the proxy server and the terminal device are configured to communicate with each other by using the first protocol, and the cloud server and the proxy server are configured to communicate with each other by using the second protocol. Therefore, the transmission request sent to the cloud server is in the first protocol format.
When the information transmitted to the cloud server by the first mobile terminal is data and/or a program, the first proxy server receives a transmission request including the data to be transmitted and/or the program to be transmitted in the first protocol format through the first communication connection, and then the first proxy server can determine that the first terminal device needs to establish communication with the cloud server. And the first proxy server converts the data to be transmitted and/or the program to be transmitted in the first protocol format into the data to be transmitted and/or the program to be transmitted in the second protocol format, and sends the data to be transmitted and/or the program to be transmitted in the second protocol format to the cloud server through a second communication connection.
When the information transmitted to the cloud server by the first terminal device is a task instruction, the first proxy server receives the task instruction including the first protocol format through the first communication connection, and then the first terminal device can be determined to establish communication with the cloud server. And the first proxy server converts the task instruction in the first protocol format into a task instruction in a second protocol format, and sends the task instruction in the second protocol format to the cloud server through a second communication connection. Optionally, the task instruction further includes a node identifier, that is, the first terminal device needs to distribute the task instruction to the terminal device corresponding to the node identifier through the cloud server.
As some optional implementation manners of the embodiment of the present invention, the method further includes: the method comprises the steps that a first proxy server receives a data transmission request and/or a program transmission request of a cloud server through a second communication connection, wherein the data transmission request and/or the program transmission request comprise a first node identifier, data to be transmitted in a second protocol format and/or a program to be transmitted in the second protocol format; the first proxy server converts the data to be transmitted and/or the program to be transmitted in the second protocol format into the data to be transmitted and/or the program to be transmitted in the first protocol format; and the first proxy server acquires a first communication connection mapped with the first node identifier from the mapping information according to the first node identifier, and sends the data to be transmitted and/or the program to be transmitted in the first protocol format to a first mobile terminal corresponding to the first node identifier through the first communication connection mapped with the first node identifier.
The method is suitable for communication from the cloud server to the mobile terminal. As described above, the proxy server and the terminal device are configured to communicate with each other by using the first protocol, and the cloud server and the proxy server are configured to communicate with each other by using the second protocol. Thus, the transmission request sent to the terminal device is in the second protocol format.
Besides the cloud server sending the task instruction to the terminal device through the proxy server, the cloud server can also transmit data and programs to the terminal device through the proxy server. When the information transmitted to the first terminal device by the cloud server is data and/or a program, the first proxy server receives the data to be transmitted and/or the program to be transmitted, which comprise the first node identification and the second protocol format, through the second communication connection, and then the cloud server can be determined to establish communication with the first terminal device. The first proxy server converts the data to be transmitted and/or the program to be transmitted in the second protocol format into the data to be transmitted and/or the program to be transmitted in the first protocol format, the first proxy server obtains a first communication connection mapped with the first node identifier in the mapping information according to the first node identifier, and the data to be transmitted and/or the program to be transmitted in the first protocol format are sent to first terminal equipment corresponding to the node identifier through the first communication connection mapped with the first node identifier.
Fig. 2 is a flowchart of a method for implementing distributed computing according to a second embodiment of the present invention. As shown in fig. 2, the method for implementing distributed computing according to the second embodiment of the present invention is applied to a terminal device. The method specifically comprises the following steps:
s201, receiving a node identifier sent by a first proxy server through a first communication connection, wherein the terminal equipment is connected with the first proxy server across network segments, and the node identifier has a mapping relation with the first communication connection;
the present embodiment describes a method for implementing distributed computation with a terminal device as an execution subject. In this step, the terminal device sends a connection request to the first proxy server, or the terminal device responds to the connection request sent by the first proxy server, and receives a node identifier allocated by the first proxy server to the terminal device according to the connection request, where the node identifier is used to uniquely determine the terminal device, that is, the node identifier and the terminal device are in a one-to-one correspondence relationship. In addition, the first proxy server establishes a corresponding relationship between itself and the node identifier corresponding to the terminal device, that is, the proxy server managed by the terminal device is clarified.
Optionally, the cross-network segment connection between the first proxy server and the terminal device may specifically be: the first proxy server and the terminal equipment are in different network segments of the same intranet; or one of the first proxy server and the terminal equipment is positioned in an intranet, and the other one is positioned in a public network; or the first proxy server and the terminal equipment are positioned in two internal networks connected through a public network.
In this step, a communication connection between the first proxy server and the terminal device is set as a first communication connection, the node identifier and the first communication connection have a mapping relationship and are stored in the first proxy server, and mapping information of each node identifier and the first communication connection managed by the first proxy server is established and stored in the first proxy server, and optionally, the first communication connection may be a TCP connection. Optionally, each proxy server may store its own mapping information, or each proxy server may store the same mapping information of all proxy servers in the entire distributed system, which is not limited herein.
S202, receiving a task instruction of the first proxy server for executing a distributed computing task, and executing the distributed computing task according to the task instruction. When a cloud server needs to distribute and execute a task instruction of a distributed computing task for a first terminal device, the task instruction carries a node identifier corresponding to the terminal device, the first proxy server obtains a first communication connection mapped with the node identifier according to mapping information which is pre-established and stored, and the task instruction is sent to the terminal device through the first communication connection. Meanwhile, as described above, the types of protocols used between the cloud server and the proxy server and between the proxy server and the terminal device are different, and it is set that the proxy server and the terminal device communicate with each other by using a first protocol and the cloud server and the proxy server communicate with each other by using a second protocol. Therefore, it is necessary to convert the task instruction in the second protocol format into the task instruction in the first protocol format, and then send the task instruction in the first protocol format to the terminal device. And after receiving the task instruction, the terminal equipment executes and processes the task according to the task instruction to generate data to be transmitted and/or a belt transmission program.
As some optional implementations of this embodiment, the method further includes: and sending a data transmission request to the first proxy server, wherein the data transmission request comprises the node identification and the data to be transmitted.
In communication under the same proxy server, the terminal device directly sends a data transmission request to the first proxy server through the first communication connection, wherein the request comprises a node identifier corresponding to the terminal device and data to be transmitted. As described in the first embodiment, the first proxy server finds, according to a predetermined rule, the second node identifier corresponding to the node identifier and the first communication connection mapped by the second node identifier, and completes communication between the terminal device and the second terminal device corresponding to the second node identifier through the first communication connection. In addition, if the data to be transmitted is in the first protocol format, the first proxy server can also convert the data to be transmitted in the first protocol format into the data to be transmitted in the second protocol format, and then the data to be transmitted is sent to the cloud server through the second communication connection.
As some optional implementations of this embodiment, the method further includes: sending a transmission information request to the first proxy server, wherein the transmission information includes at least one of the following: data, programs, and task instructions.
When the terminal device needs to communicate with the cloud server, as described above, the second communication connection between the cloud server and the proxy server and the first communication connection between the proxy server and the terminal device generally adopt different communication protocol formats, the first terminal device sends information to be transmitted in the first protocol format to the first proxy server through the first communication connection, and the first proxy server converts the information to be transmitted in the first protocol format into information to be transmitted in the second protocol format and then sends the information to the cloud server through the second communication connection.
As some optional implementations of this embodiment, the method further includes: finding a second proxy server according to a preset rule; and sending a data transmission request to a second proxy server, wherein the data transmission request comprises a fourth node identifier and data to be transmitted, and a fourth terminal device corresponding to the fourth node is managed by the second proxy server.
When the terminal device and the fourth terminal device belong to different proxy servers, a second proxy server corresponding to the fourth terminal needs to be found according to a preset rule. Optionally, the terminal device may send a proxy server query request to all proxy servers, where the query request includes a destination terminal of the data to be transmitted, i.e., a fourth node identifier corresponding to a fourth terminal device. Each proxy server queries whether the fourth node identifier is included according to the correspondence relationship pre-established in the first embodiment, and if the fourth node identifier is included, it indicates that the terminal device managed by the proxy server (i.e., the second proxy server in this embodiment) includes the terminal device corresponding to the fourth node identifier, so that a response based on the query request is sent to the first terminal device.
And the terminal equipment receives a response from the second proxy server and sends a data transmission request to the second proxy server, wherein the data transmission request comprises the fourth node identification and the data to be transmitted. And the second proxy server sends the data to be transmitted to fourth terminal equipment corresponding to the fourth node identification through a first communication connection which is stored in the second proxy server and is mapped with the fourth node identification, so that the communication of the first terminal equipment and the fourth terminal equipment across the proxy servers is completed.
The embodiment of the invention provides a method for realizing distributed computation, which comprises the steps that a proxy server is introduced between a server and a terminal device, the terminal device sends a connection request to a first proxy server and receives a node identifier sent by the first proxy server; and receiving a task instruction of the first proxy server, and processing a task according to the task instruction. . By the method, the terminal equipment can be used as the computing node to complete distributed computing, and the communication problems between the cloud server and the terminal equipment which are connected in a cross-network section manner and between the terminal equipment are solved.
Fig. 3 is a structural diagram of an apparatus for implementing distributed computing according to a third embodiment of the present invention. As shown in fig. 3, the apparatus is applied to a server, and specifically includes: an allocation module 310, a first receiving module 320 and a first transmitting module 330.
The allocating module 310 is configured to allocate a corresponding node identifier to a terminal device, send the node identifier to the terminal device through a first communication connection, and establish and store mapping information of the node identifier and the first communication connection, where the first proxy server is connected to the terminal device across network segments; the first receiving module 320 is configured to receive, through a second communication connection, a task instruction that is used by the cloud server to execute a distributed computing task, where the task instruction carries a first node identifier; the first sending module 330 is configured to obtain, according to the first node identifier, a first communication connection mapped to the first node identifier in the mapping information, and send the task instruction to a first terminal device corresponding to the first node identifier through the first communication connection mapped to the first node identifier.
Optionally, the cross-network segment connection between the first proxy server and the terminal device specifically includes: the first proxy server and the terminal equipment are in different network segments of the same intranet; or, one of the first proxy server and the terminal device is located in an intranet, and the other one is located in a public network; or the first proxy server and the terminal equipment are positioned in two internal networks connected through a public network.
Optionally, the first communication connection and the second communication connection use different protocol formats, and the apparatus further includes: and the conversion module is used for carrying out protocol conversion on transmission information transmission between the cloud server and the first terminal equipment.
Optionally, the transmission information includes at least one of the following: data, programs, and task instructions.
Optionally, the apparatus further comprises: a second receiving module, configured to receive a data transmission request of the first terminal device, where the data transmission request includes a first node identifier corresponding to the first terminal device and data to be transmitted; an obtaining module, configured to obtain a second node identifier corresponding to the first node identifier; and the second sending module is used for searching the first communication connection mapped with the second node identifier in the mapping information and sending the data to be transmitted to second terminal equipment corresponding to the second node identifier through the first communication connection mapped with the second node identifier.
Optionally, the apparatus further comprises: a third receiving module, configured to receive a data transmission request sent by a third terminal device, where the data transmission request includes a fourth node identifier and data to be transmitted, and the third terminal device is managed by a second proxy server; and the third sending module is used for searching the first communication connection mapped with the fourth node identifier in the mapping information and sending the data to be transmitted to fourth terminal equipment corresponding to the fourth node identifier through the first communication connection mapped with the fourth node identifier.
Optionally, the first proxy server further establishes a connection with the cloud server. Specifically, the first receiving module 320 is further configured to receive a connection request sent by the cloud server; the first proxy server sends a connection permission response to the cloud server. Or the first connection server sends a connection request to the cloud server and receives a connection permission response sent by the cloud server.
The apparatus for implementing distributed computing according to the third embodiment of the present invention is specifically configured to execute the method according to the first embodiment, and its implementation principle, method, and functional purpose are similar to those of the first embodiment, and are not described herein again.
Fig. 4 is a structural diagram of an apparatus for implementing distributed computing according to a fourth embodiment of the present invention. As shown in fig. 4, the apparatus is applied to a server, and specifically includes: a receiving module 410 and a processing module 420.
The receiving module 410 is configured to receive a node identifier sent by a first proxy server through a first communication connection, where the terminal device is connected to the first proxy server across a network segment, and the node identifier has a mapping relationship with the first communication connection; the processing module 420 is configured to receive a task instruction used by the first proxy server to execute a distributed computing task, and execute the distributed computing task according to the task instruction. Optionally, the apparatus further comprises: and the first sending module is used for sending a data transmission request to the first proxy server, wherein the data transmission request comprises the node identification and the data to be transmitted.
Optionally, the apparatus further comprises: the searching module is used for searching the second proxy server according to a preset rule; and the second sending module is used for sending a data transmission request to a second proxy server, wherein the data transmission request comprises a fourth node identifier and data to be transmitted, and a fourth terminal device corresponding to the fourth node identifier is managed by the second proxy server.
The apparatus for implementing distributed computing according to the fourth embodiment of the present invention is specifically configured to execute the method according to the second embodiment, and the implementation principle, the method, and the functional usage thereof are similar to those of the second embodiment, and are not described herein again.
Fig. 5 is a schematic hardware structure diagram of a proxy server for implementing the method for distributed computing according to an embodiment of the present invention. As shown in fig. 5, the proxy server includes:
one or more processors 510 and memory 520, with one processor 510 being an example in fig. 5.
The apparatus for performing the method for implementing distributed computing may further include: an input device 530 and an output device 530.
The processor 510, the memory 520, the input device 530, and the output device 540 may be connected by a bus or other means, and the bus connection is exemplified in fig. 5.
The memory 520, which is a non-volatile computer-readable storage medium, may be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the method for implementing distributed computing in the embodiments of the present application. The processor 510 executes various functional applications of the server and implements distributed computing, i.e., the method of implementing distributed computing, by executing nonvolatile software programs, instructions, and modules stored in the memory 520. Processor 510 may include memory therein.
The memory 520 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by use of the apparatus for implementing distributed computing provided according to the third embodiment of the present invention, and the like. Further, the memory 520 may include high speed random access memory 520, and may also include non-volatile memory 520, such as at least one piece of disk memory 520, flash memory devices, or other non-volatile solid state memory 520. In some embodiments, memory 520 may optionally include memory 520 located remotely from processor 510, and such remote memory 520 may be connected to the distributed computing enabled device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 530 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the device implementing distributed computing. The input device 530 may include a pressing module.
The one or more modules are stored in the memory 520 and, when executed by the one or more processors 510, perform the method of implementing distributed computing.
An embodiment of the present invention provides a non-transitory computer-readable storage medium, which stores computer-executable instructions, where the computer-executable instructions, when executed by a proxy server, cause the proxy server to perform the method for implementing distributed computing in the first embodiment.
The present invention provides a computer program product, wherein the computer program product includes a computer program stored on a non-transitory computer readable storage medium, the computer program includes program instructions, wherein when the program instructions are executed by a proxy server, the proxy server is caused to execute the method for implementing distributed computing in the first embodiment.
The product can execute the method provided by the corresponding embodiment of the application, and has the corresponding functional module and the beneficial effect of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the corresponding embodiments of the present application.
Fig. 6 is a schematic hardware structure diagram of a terminal device for executing the method for implementing distributed computing according to the second embodiment of the present invention. As shown in fig. 6, the terminal device includes:
one or more processors 610 and a memory 620, one processor 610 being illustrated in fig. 6.
The apparatus for performing the method for implementing distributed computing may further include: an input device 630 and an output device 630.
The processor 610, the memory 620, the input device 630, and the output device 640 may be connected by a bus or other means, such as the bus connection in fig. 6.
The memory 620, which is a non-volatile computer-readable storage medium, may be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the method for implementing distributed computing in the embodiments of the present application. The processor 610 executes various functional applications of the terminal device and implements distributed computing, i.e., the method of implementing distributed computing, by executing non-volatile software programs, instructions, and modules stored in the memory 620. The processor 610 may include memory therein.
The memory 620 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by use of the apparatus for implementing distributed computing provided according to the fourth embodiment of the present invention, and the like. Further, the memory 620 may include high-speed random access memory 620, and may also include non-volatile memory 620, such as at least one piece of disk storage 620, flash memory devices, or other non-volatile solid-state memory 620. In some embodiments, the memory 620 may optionally include memory 620 located remotely from the processor 610, and such remote memory 620 may be connected to the apparatus implementing distributed computing over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 630 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the apparatus implementing distributed computing. The input device 630 may include a pressing module.
The one or more modules are stored in the memory 620 and, when executed by the one or more processors 610, perform the method of implementing distributed computing.
The embodiment of the present invention provides a non-transitory computer-readable storage medium, which stores computer-executable instructions, wherein when the computer-executable instructions are executed by a terminal device, the terminal device is caused to execute the method for implementing distributed computing in the second embodiment.
An embodiment of the present invention provides a computer program product, where the computer program product includes a computer program stored on a non-transitory computer readable storage medium, and the computer program includes program instructions, where the program instructions, when executed by a terminal device, cause the terminal device to execute the method for implementing distributed computing in the second embodiment.
The product can execute the method provided by the corresponding embodiment of the application, and has the corresponding functional module and the beneficial effect of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the corresponding embodiments of the present application.
Fig. 7 is a system for implementing distributed computing according to an embodiment of the present invention, and as shown in fig. 7, the system for implementing distributed computing includes a cloud server, a proxy server according to a fifth embodiment of the present invention, and a terminal device according to a sixth embodiment of the present invention. The system can execute the method provided by the corresponding embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the corresponding embodiments of the present application. Wherein M, N and K are integers greater than or equal to 1.
The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions and/or portions thereof that contribute to the prior art may be embodied in the form of a software product that may be stored on a computer-readable storage medium including any mechanism for storing or transmitting information in a form readable by a computer (e.g., a computer). For example, a machine-readable medium includes Read Only Memory (ROM), random Access Memory (RAM), magnetic disk storage media, optical storage media, flash memory storage media, electrical, optical, acoustical or other form of propagated signals (e.g., carrier waves, infrared signals, digital signals, etc.), and others, and the computer software product includes instructions for causing a computing device (which may be a personal computer, an electronic device, or a network device, etc.) to perform the methods described in the various embodiments or portions of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the embodiments of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (15)

1. A method of implementing distributed computing, comprising:
a first proxy server allocates a corresponding node identifier for a terminal device, sends the node identifier to the terminal device through a first communication connection, and establishes and stores mapping information of the node identifier and the first communication connection, wherein the first proxy server is connected with the terminal device across network segments;
the method comprises the steps that a first proxy server receives a task instruction which is used for executing a distributed computing task and carries a first node identification through a second communication connection;
and the first proxy server acquires a first communication connection mapped with the first node identifier from the mapping information according to the first node identifier, and sends the task instruction to first terminal equipment corresponding to the first node identifier through the first communication connection mapped with the first node identifier.
2. The method according to claim 1, wherein the cross-network-segment connection between the first proxy server and the terminal device is specifically: the first proxy server and the terminal equipment are in different network segments of the same intranet; or, one of the first proxy server and the terminal device is located in an intranet, and the other one of the first proxy server and the terminal device is located in a public network; or the first proxy server and the terminal equipment are positioned in two internal networks connected through a public network.
3. The method of claim 1, wherein the first communication connection and the second communication connection are in different protocol formats, and wherein the method further comprises:
and the first proxy server performs protocol conversion on the transmission information between the cloud server and the first terminal equipment.
4. The method of claim 3, wherein the transmission information comprises at least one of: data, programs, and task instructions.
5. The method of claim 1, further comprising:
a first proxy server receives a data transmission request of the first terminal device, wherein the data transmission request comprises a first node identifier corresponding to the first terminal device and data to be transmitted;
the first proxy server acquires a second node identifier corresponding to the first node identifier according to a preset corresponding rule;
and the first proxy server searches for a first communication connection mapped with the second node identifier in the mapping information, and sends the data to be transmitted to second terminal equipment corresponding to the second node identifier through the first communication connection mapped with the second node identifier.
6. The method of claim 1, further comprising:
the method comprises the steps that a first proxy server receives a data transmission request sent by third terminal equipment, wherein the data transmission request comprises a fourth node identifier and data to be transmitted, and the third terminal equipment is managed by a second proxy server;
and the first proxy server searches for a first communication connection mapped with the fourth node identifier in the mapping information, and sends the data to be transmitted to fourth terminal equipment corresponding to the fourth node identifier through the first communication connection mapped with the fourth node identifier.
7. The method of claim 1, wherein the receiving, by the first proxy server, the task instruction of the cloud server via the second communication connection is further preceded by:
the first proxy server establishes a connection with the cloud server.
8. A method for realizing distributed computation is applied to terminal equipment, and is characterized by comprising the following steps:
receiving a node identifier sent by a first proxy server through a first communication connection, wherein the terminal equipment is connected with the first proxy server across network segments, and the node identifier has a mapping relation with the first communication connection;
and receiving a task instruction of the first proxy server for executing a distributed computing task, and executing the distributed computing task according to the task instruction.
9. The method of claim 8, further comprising:
and sending a data transmission request to the first proxy server, wherein the data transmission request comprises the node identification and the data to be transmitted.
10. The method of claim 8, further comprising:
finding a second proxy server, wherein the terminal equipment is included in the terminal equipment managed by the second proxy server;
and sending a data transmission request to a second proxy server, wherein the data transmission request comprises a fourth node identifier and data to be transmitted, and a fourth terminal device corresponding to the fourth node identifier is managed by the second proxy server.
11. An apparatus for implementing distributed computing, applied to a first proxy server, comprising:
the distribution module is used for distributing corresponding node identifiers for terminal equipment, sending the node identifiers to the terminal equipment through a first communication connection, and establishing and storing mapping information of the node identifiers and the first communication connection, wherein the first proxy server is connected with the terminal equipment in a cross-network section manner;
the first receiving module is used for receiving a task instruction used by the cloud server for executing a distributed computing task through a second communication connection, wherein the task instruction carries a first node identifier;
and the first sending module is used for acquiring a first communication connection mapped with the first node identifier in the mapping information according to the first node identifier, and sending the task instruction to the first terminal equipment corresponding to the first node identifier through the first communication connection mapped with the first node identifier.
12. An apparatus for implementing distributed computing, applied to a terminal device, includes:
the receiving module is used for receiving a node identifier sent by a first proxy server through a first communication connection, the terminal equipment is connected with the first proxy server across network segments, and the node identifier and the first communication connection have a mapping relation;
and the processing module is used for receiving a task instruction of the first proxy server for executing a distributed computing task and executing the distributed computing task according to the task instruction.
13. A proxy server, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method of implementing distributed computing of any of claims 1-7.
14. A terminal device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of implementing distributed computing of any of claims 8-10.
15. A system for implementing distributed computing, comprising a cloud server, the proxy server of claim 13, and the terminal device of claim 14.
CN201711031813.7A 2017-10-30 2017-10-30 Method, device, proxy server and terminal equipment for realizing distributed computation Active CN109729115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711031813.7A CN109729115B (en) 2017-10-30 2017-10-30 Method, device, proxy server and terminal equipment for realizing distributed computation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711031813.7A CN109729115B (en) 2017-10-30 2017-10-30 Method, device, proxy server and terminal equipment for realizing distributed computation

Publications (2)

Publication Number Publication Date
CN109729115A CN109729115A (en) 2019-05-07
CN109729115B true CN109729115B (en) 2023-03-21

Family

ID=66291255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711031813.7A Active CN109729115B (en) 2017-10-30 2017-10-30 Method, device, proxy server and terminal equipment for realizing distributed computation

Country Status (1)

Country Link
CN (1) CN109729115B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10733186B2 (en) * 2016-09-15 2020-08-04 Oracle International Corporation N-way hash join
CN110633144A (en) * 2019-08-23 2019-12-31 成都华为技术有限公司 Method and device for fusion management of edge cloud
CN111245948A (en) * 2020-01-16 2020-06-05 深圳市网心科技有限公司 DHT network connection method, electronic device, and medium
CN113301073A (en) * 2020-04-16 2021-08-24 阿里巴巴集团控股有限公司 Communication method and device between server nodes in distributed machine learning system
CN111726400A (en) * 2020-06-08 2020-09-29 北京天空卫士网络安全技术有限公司 Reverse connection method, device and server-side system
CN116208624B (en) * 2023-05-05 2023-07-07 中航信移动科技有限公司 Cross-environment block link point communication method, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6772205B1 (en) * 1999-03-12 2004-08-03 Nortel Networks Limited Executing applications on a target network device using a proxy network device
CN103095749A (en) * 2011-10-28 2013-05-08 浙江大华技术股份有限公司 Method and system used for achieving discovery of cross-network-segment equipment
CN103607423A (en) * 2013-10-23 2014-02-26 深圳海联讯科技股份有限公司 Distributed broadcast system based on WebSocket protocol
CN106357732A (en) * 2016-08-25 2017-01-25 珠海迈科智能科技股份有限公司 Method for distributed reverse proxy server and client as well as device and system thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10491452B2 (en) * 2015-09-14 2019-11-26 Dynatrace Llc Method and system for clustered real-time correlation of trace data fragments describing distributed transaction executions
US10084672B2 (en) * 2015-11-10 2018-09-25 Dynatrace Llc System and method for measuring performance and availability of applications utilizing monitoring of distributed systems processes combined with analysis of the network communication between the processes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6772205B1 (en) * 1999-03-12 2004-08-03 Nortel Networks Limited Executing applications on a target network device using a proxy network device
CN103095749A (en) * 2011-10-28 2013-05-08 浙江大华技术股份有限公司 Method and system used for achieving discovery of cross-network-segment equipment
CN103607423A (en) * 2013-10-23 2014-02-26 深圳海联讯科技股份有限公司 Distributed broadcast system based on WebSocket protocol
CN106357732A (en) * 2016-08-25 2017-01-25 珠海迈科智能科技股份有限公司 Method for distributed reverse proxy server and client as well as device and system thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"基于Agent的客户机/服务器模型的设计与实现";郑威,潘江,陆菊康;《计算机工程与设计》;20060831;全文 *
A distributed mobile cloud computing model for secure big data;Soonhwa Sung,Cheong Youn,Eunbae Kong,Jaecheol Ryou;《2016 International Conference on Information Networking (ICOIN)》;20160310;全文 *

Also Published As

Publication number Publication date
CN109729115A (en) 2019-05-07

Similar Documents

Publication Publication Date Title
CN109729115B (en) Method, device, proxy server and terminal equipment for realizing distributed computation
US9854045B2 (en) Generic cloud enabling of stateful applications
US9332067B2 (en) Load sharing method and apparatus
CN112261094B (en) Message processing method and proxy server
CN103781055A (en) Data downloading method and associated device
CN103685496A (en) Transmission method and device of file data
RU2008138577A (en) NETWORK SYSTEM
US8606908B2 (en) Wake-up server
CN110213147B (en) Cloud network intercommunication method and device, storage medium and terminal equipment
CN111124589A (en) Service discovery system, method, device and equipment
CN105450585A (en) Information transmission method and device
CN114090388A (en) Information acquisition method, server cluster, server and equipment
CN113361913A (en) Communication service arranging method, device, computer equipment and storage medium
CN112968965B (en) Metadata service method, server and storage medium for NFV network node
CN113590364A (en) Data processing method and device based on distributed shared memory system
CN103973747A (en) Method and device for acquiring content
CN112769671B (en) Message processing method, device and system
JP2014182839A (en) Transmission method for data
CN114827781B (en) Network collaboration method, device, equipment and storage medium
CN109831467B (en) Data transmission method, equipment and system
CN116781764A (en) Long-connection task execution method and device and related equipment
CN113923167A (en) Data transmission optimization method in federal learning
CN114979097A (en) MQTT-based message pushing method and device and electronic equipment
CN106507224B (en) Method and related device for acquiring target file
CN115243394B (en) Communication method, device, equipment and medium based on network slice

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
TA01 Transfer of patent application right

Effective date of registration: 20211013

Address after: 100000 No. A3, Yuquan West Road, Shijingshan District, Beijing

Applicant after: Zhang Yu

Address before: 302-288, East 1st District, 3rd floor, building 6, Guochuang Industrial Park, Laiguangying West Road, Chaoyang District, Beijing 100012

Applicant before: BEIJING LINFENGYUN TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant