Artificial intelligence-based data transmission device for improving security using multiple nodes and method thereof
The inventive concept relates to an AI-based data transmission method for improving security by using a plurality of nodes. The inventive concept selects a plurality of nodes for request and response communication between a client device and a target server as relay nodes, and communicates between the client device and the target server by using the relay nodes.
1. A blockchain-based data transmission method performed by a data transmission device, the method comprising:
detecting a request for a specific server from a client device;
selecting two or more first nodes, via which the client device delivers the request to the specific server, as a request relay node;
selecting two or more second nodes, via which the specific server delivers a response to the request to the client device, as a response relay node;
delivering the request of the client device to the specific server via the selected request relay node; and
delivering the response of the specific server to the request to the client device via the selected response relay node,
wherein each node acting as the request relay node and the response relay node belongs to a group classified for each predetermined category, and
wherein the selecting of the two or more first nodes comprises:
selecting a first node from a group different from a group to which the client device belongs; and
when the two or more first nodes are selected, selecting nodes, which are adjacent to each other, such that the adjacent nodes do not belong to the same group, and
wherein the selecting of the two or more second nodes comprises:
selecting a second node from a group different from a group to which the specific server belongs; and
when the two or more second nodes are selected, selecting nodes, which are adjacent to each other, such that the adjacent nodes do not belong to the same group.
2. The blockchain-based data transmission method of claim 1 , wherein, while selecting the two or more first nodes as the request relay node and selecting the two or more second nodes as the response relay node when the data transmission device selects nodes adjacent to each other, the data transmission device selects a next node from a group where data transmission between the adjacent nodes is possible but data sharing between the adjacent nodes is not possible.
3. The blockchain-based data transmission method of claim 1 , wherein a table for recording a trace linkage between countries is stored in the data transmission device, and
wherein, when the data transmission device selects a specific node belonging to a specific country as a first node when the data transmission device selects nodes adjacent to each other, the data transmission device selects a second node, which is a next node of the first node, within a group that is not linked with the specific country.
4. The blockchain-based data transmission method of claim 1 , wherein the delivering of the request of the client device includes:
providing, by the client device, a predetermined coin to each node of the request relay node in return for forwarding the request to the specific server via the request relay node, and
wherein the delivering of the response of the specific server includes:
providing, by the specific server, a predetermined coin to each node of the response relay node in return for forwarding the request to the client device via the response relay node.
5. The blockchain-based data transmission method of claim 1 , wherein the client device operates as the data transmission device,
wherein the data transmission device stores at least one of the request relay node selection result, the response relay node selection result, the request transmission result, and the response transmission result on the blockchain-based data transmission, and
wherein at least one of group classification information, a contract address, and a public key of each node acting as the request relay node or the response relay node is stored.
6. The blockchain-based data transmission method of claim 5 , wherein the data transmission device determines the number of nodes to be included in the request relay node and the response relay node based on artificial intelligence, and selects nodes, of which the number corresponds to the determined number of nodes, from a plurality of nodes, each of which acts as the request relay node or the response relay node.
7. A non-transitory computer-readable recording medium storing a program combined with a computer being a piece of hardware to execute the blockchain-based data transmission method of claim 1 .
8. A blockchain-based data transmission device, the blockchain-based data transmission device configured to:
detect a request for a specific server from a client device;
select two or more first nodes, via which the client device delivers the request to the specific server, as a request relay node;
select two or more second nodes, via which the specific server delivers a response to the request to the client device, as a response relay node;
deliver the request of the client device to the specific server via the selected request relay node; and
deliver the response of the specific server to the request to the client device via the selected response relay node,
wherein each node acting as the request relay node and the response relay node belongs to a group classified for each predetermined category, and
wherein the blockchain-based data transmission device is further configured to, in selecting of the two or more first nodes:
select a first node from a group different from a group to which the client device belongs; and
when the two or more first nodes are selected, select nodes, which are adjacent to each other, such that the adjacent nodes do not belong to the same group, and
wherein the blockchain-based data transmission device is further configured to, in selecting of the two or more second nodes:
select a second node from a group different from a group to which the specific server belongs; and
when the two or more second nodes are selected, select nodes, which are adjacent to each other, such that the adjacent nodes do not belong to the same group.