Cluster computer system and automatic connection method thereof

TWI945778BActive Publication Date: 2026-11-11GIGA BYTE TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
TW114113909
Authority / Receiving Office
TW · TW
Patent Type
Patents
Current Assignee / Owner
Priority Date
2025-01-03
Filing Date
2025-04-14
Publication Date
2026-11-11
Estimated Expiration
2045-04-13

AI Technical Summary

Technical Problem

Typical collaborative computing operations between multiple computer devices require manual connection establishment, which is time-consuming and lacks security.

Method used

A cluster computing system with a master and slave computer devices that automatically establish connections using encrypted broadcast data and secure communication protocols, enabling passwordless login and secure cluster computing.

Benefits of technology

Enables rapid, secure, and automated connection between master and slave computer devices for efficient cluster computing operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure TWG2TB001920530_001
    Figure TWG2TB001920530_001
  • Figure TWG2TB001920530_002
    Figure TWG2TB001920530_002
  • Figure TWG2TB001920530_003
    Figure TWG2TB001920530_003
Patent Text Reader

Abstract

This invention proposes a cluster computing system and an automatic connection method. The cluster computing system includes a master computer and a first slave computer. The first slave computer is used to connect to the master computer. The first slave computer listens to broadcast data from the master computer. The first slave computer decrypts the broadcast data and determines whether the decrypted broadcast data conforms to a preset data format. When the first slave computer determines that the decrypted broadcast data conforms to the preset data format, the first slave computer executes connection settings to generate first connection data. The first slave computer transmits the first connection data to the master computer. The master computer sends back second connection data to the first slave computer based on the first connection data to establish a connection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a system and communication technology, and more particularly to a cluster computing system and its automatic connection method. Prior Technology

[0002] Typical collaborative computing operations between multiple computer devices require users to manually establish connections between them, which is time-consuming and costly. Furthermore, typical multi-computer device connection settings lack security, hindering collaborative computing. Summary of the Invention

[0003] This invention provides a clustering operation system and its automatic connection method, which can realize automatic connection function to perform clustering operations.

[0004] The cluster computing system of the present invention includes a master computer device and a first slave computer device. The first slave computer device is connected to the master computer device. The first slave computer device listens to broadcast data from the master computer device. The first slave computer device decrypts the broadcast data and determines whether the decrypted broadcast data conforms to a preset data format. When the first slave computer device determines that the decrypted broadcast data conforms to the preset data format, the first slave computer device executes connection settings to generate first connection data, and the first slave computer device transmits the first connection data to the master computer device. The master computer device sends back second connection data to the first slave computer device based on the first connection data to establish a connection.

[0005] The automatic connection method of the present invention includes the following steps: listening to broadcast data of a master computer device through a first slave computer device; decrypting the broadcast data through the first slave computer device; determining whether the decrypted broadcast data conforms to a preset data format through the first slave computer device; when the decrypted broadcast data conforms to the preset data format, performing connection settings through the first slave computer device to generate first connection data; transmitting the first connection data to the master computer device through the first slave computer device; and transmitting second connection data back to the first slave computer device through the master computer device based on the first connection data to establish a connection.

[0006] Based on the above, the cluster computing system and its automatic connection method of the present invention can automatically establish a connection between the master computer device and the slave computer device, so that the master computer device can log in without a password and perform cluster computing.

[0007] To make the above features and advantages of the present invention more apparent and understandable, specific embodiments are described below in conjunction with the accompanying drawings. Simple Explanation of the Diagram

[0008] Figure 1 is a schematic diagram of a clustering operation system according to an embodiment of the present invention. Figure 2 is a flowchart of an automatic connection method according to an embodiment of the present invention. Figure 3 is an operation flowchart of a computer device according to an embodiment of the present invention. Figure 4 is an operation flowchart of a main computer device according to an embodiment of the present invention. Implementation

[0009] Some embodiments of the present invention will now be described in detail with reference to the accompanying drawings. Component symbols used in the following description are considered identical or similar when they appear in different drawings. These embodiments are only a part of the present invention and do not disclose all possible implementations of the invention. More precisely, these embodiments are merely examples of the apparatus and methods within the scope of the present invention's patent application.

[0010] Figure 1 is a schematic diagram of a cluster computing system according to an embodiment of the present invention. Referring to Figure 1, the cluster computing system 100 includes a master computer device 110 and multiple slave computer devices 120_1 to 120_M, where M is a positive integer. In one embodiment, the number of slave computer devices 120_1 to 120_M may also be one. In this embodiment, the master computer device 110 and the slave computer devices 120_1 to 120_M can be connected via wired or wireless means. The master computer device 110 can establish a connection with the slave computer devices 120_1 to 120_M so that applications on the master computer device 110 or users operating the master computer device 110 can uniformly log in to the slave computer devices 120_1 to 120_M without a password, so that the master computer device 110 can perform cluster computing through the slave computer devices 120_1 to 120_M.

[0011] In this embodiment, the main computer device 110 and the slave computer devices 120_1 to 120_M may each include a processor and a storage device. The processor may include, for example, a Central Processing Unit (CPU) or other programmable general-purpose or special-purpose microprocessors, digital signal processors (DSPs), programmable controllers, application-specific integrated circuits (ASICs), programmable logic devices (PLDs), other similar processing devices, or combinations thereof. The storage device may include, for example, dynamic random access memory (DRAM), flash memory, or non-volatile random access memory (NVRAM). In this embodiment, the storage device can be used to store algorithms, communication protocols, and applications related to implementing the automatic connection methods, steps, and cluster operations described in the embodiments of the present invention. In addition, the main computer device 110 and the slave computer devices 120_1 to 120_M may also include a communication interface, an input device and other peripheral functional elements, wherein the communication interface is used to realize the connection between the devices described in the various embodiments of the present invention.

[0012] Figure 2 is a flowchart of an automatic connection method according to an embodiment of the present invention. Referring to Figures 1 and 2, the cluster computing system 100 can perform the following steps S210 to S260. In step S210, a first slave computer device (e.g., slave computer device 120_1) can listen to the broadcast data of the master computer device 110. In step S220, the first slave computer device can decrypt the broadcast data. In step S230, the first slave computer device can determine whether the decrypted broadcast data conforms to a preset data format. In step S240, when the decrypted broadcast data conforms to the preset data format, the first slave computer device can perform connection setting to generate first connection data. In step S250, the first slave computer device can transmit the first connection data to the master computer device 110. In step S260, the master computer device 110 can send back second connection data to the first slave computer device according to the first connection data to establish a connection.

[0013] In detail, the slave computer device 120_1 can listen to the master computer device 110 through a designated network communication port. The slave computer device 120_1 can listen to the master computer device 110 through a full-duplex communication protocol, and the master computer device 110 can broadcast on the designated network communication port according to the full-duplex communication protocol. The master computer device 110 and the slave computer device 120_1 can implement the full-duplex communication protocol, for example, by executing a WebSocket suite. Furthermore, to improve communication security, the master computer device 110 can encrypt the broadcast data first using, for example, symmetric encryption or hash encryption, and then send the encrypted broadcast data to the slave computer device 120_1 through the designated network communication port.

[0014] To this end, computer device 120_1 can obtain the encrypted broadcast data by monitoring a designated network communication port, and then decrypt the encrypted broadcast data to obtain the broadcast data. The broadcast data may be, for example, JSON format data, and may include, for example, the identifier (ID) of the host computer device 110, the Internet Protocol address, the network communication port number, and the connection command. Computer device 120_1 can determine whether the broadcast data conforms to the preset data format to decide whether to further execute the connection settings. In one embodiment, computer device 120_1 may also first compare whether at least one of the identifier, Internet Protocol address, network communication port number, and connection command in the broadcast data is the same as the preset data to confirm the device identity of the host computer device 110 before further executing the connection settings.

[0015] Furthermore, the first connection data and the second connection data may be, for example, connection data of the Secure Shell Protocol (SSH), but the present invention is not limited thereto. Similarly, the host computer device 110 may establish connections with the slave computer devices 120_2 to 120_M in the same manner.

[0016] Figure 3 is an operation flowchart of a slave computer device according to an embodiment of the present invention. Referring to Figures 1 and 3, in the above embodiment, when the first slave computer device (e.g., slave computer device 120_1) determines that the broadcast data conforms to the data format, the first slave computer device can perform the following connection settings S310-S350. In step S310, the first slave computer device can delete the connection data of the previous connection. The first slave computer device can delete the connection data that has been set in the past to ensure that there is no duplicate setting. In step S320, the first slave computer device can establish the first connection data. In step S330, the first slave computer device can generate private key data and transmit it to the master computer device 110. In step S340, the first slave computer device can generate an Internet Protocol address and transmit it to the master computer device 110. In step S350, the first slave computer device can generate a network port number and transmit it to the master computer device 110. In this embodiment, the first connection data may include the private key data of the first slave computer device, the Internet Protocol address, and the network port number. Furthermore, after the master computer device 110 receives the first connection data, the master computer device 110 may generate corresponding second connection data according to the same communication protocol (e.g., SSH protocol), wherein the second connection data may include public key data.

[0017] In this way, the master computer device 110 and the first slave computer device can encrypt communication data using private key data and public key data to form a secure communication connection. Furthermore, the master computer device 110 uses the first slave computer device as a cluster computing node. Similarly, slave computer devices 120_2 to 120_M can automatically provide their respective private key data, Internet Protocol (IP) addresses, and network port numbers to the master computer device 110 in the same manner, and the master computer device 110 can provide its public key data to the slave computer devices 120_2 to 120_M to establish a connection.

[0018] Figure 4 is an operation flowchart of the main computer device according to an embodiment of the present invention. Referring to Figures 1 and 4, after the main computer device 110 establishes a connection with the slave computer devices 120_1 to 120_M, the main computer device 110 can execute the following steps S410 to S440. In step S410, the main computer device 110 can simultaneously perform passwordless login to multiple slave computer devices 120_1 to 120_M. In step S420, the main computer device 110 can simultaneously establish a connection with multiple slave computer devices 120_1 to 120_M. In step S430, the main computer device 110 can use the multiple connected slave computer devices 120_1 to 120_M as multiple cluster computing nodes. In step S440, the main computer device 110 can perform cluster computing through multiple slave computer devices. In this embodiment, the main computer device 110 can, for example, perform distributed training of large-scale models through the slave computer devices 120_1 to 120_M, but the present invention is not limited thereto. In one embodiment, the main computer device 110 may also perform other cluster operations via the slave computer devices 120_1 to 120_M.

[0019] In summary, the cluster computing system and its automatic connection method of the present invention enable the master computer device and the slave computer device to automatically and quickly establish a secure connection, so that the cluster computing system can perform cluster computing.

[0020] Although the present invention has been disclosed above by way of embodiments, it is not intended to limit the present invention. Anyone skilled in the art can make some modifications and refinements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.

[0021] 100: Cluster computing system 110: Main computer device 120_1~120_M: From computer device S210~S260, S310~S350, S410~S440: Steps

Claims

1. A cluster computing system, comprising: One main computer device; The system includes a first slave computer device for connecting to the master computer device. The first slave computer device listens to encrypted broadcast data from the master computer device via a designated network port. The first slave computer device decrypts the encrypted broadcast data and determines whether the decrypted broadcast data conforms to a preset data format. This preset data format includes at least one of the following: an identification code of the master computer device, a first Internet Protocol (IP) address, a first network port number, and a connection command. When the first slave computer device determines that the decrypted broadcast data conforms to the preset data format, it first deletes the previous connection data and then executes connection settings to generate a first connection data set. This first connection data set includes a first private key of the first slave computer device, a second IP address, and a second network port number. The first slave computer device then transmits this first connection data set to the master computer device. The master computer device sends back a second connection data to the first slave computer device based on the first connection data to establish a passwordless login connection between the master computer device and the first slave computer device. The second connection data includes public key data. The master computer device uses the first slave computer device that established the passwordless login connection as a cluster computing node.

2. The cluster computing system as claimed in claim 1, wherein the first slave computer device listens to the master computer device via a full-duplex communication protocol, and the master computer device broadcasts at a designated network port in accordance with the full-duplex communication protocol.

3. The cluster computing system as claimed in claim 1, wherein the broadcast data includes the identification code of the host computer device, the first Internet Protocol address, the first network port number, and the connection command.

4. The cluster computing system as described in claim 1 further includes: A second slave computer device is connected to the master computer device. The second slave computer device listens to the broadcast data of the master computer device, decrypts the broadcast data, and determines whether the decrypted broadcast data conforms to the preset data format. When the second slave computer device determines that the decrypted broadcast data conforms to the preset data format, the second slave computer device executes connection settings to generate a third connection data, and transmits the third connection data to the master computer device. The master computer device sends back the second connection data to the second slave computer device based on the third connection data to establish a connection.

5. The cluster computing system as described in claim 4, wherein the second slave computer device first deletes the connection data of the previous connection and then establishes the third connection data, wherein the third connection data includes a second private key of the second slave computer device, a third Internet Protocol address, and a fourth network port number.

6. The cluster computing system as described in claim 4, wherein the master computer device simultaneously performs passwordless login to the first slave computer device and the second slave computer device to simultaneously connect to the first slave computer device and the second slave computer device.

7. An automatic connection method, comprising: Listening to encrypted broadcast data from a host computer device via a designated network port through a first slave computer device; The first slave computer device decrypts the encrypted broadcast data; the first slave computer device determines whether the decrypted broadcast data conforms to a preset data format, the preset data format including at least one of the following: an identification code of the master computer device, a first Internet Protocol address, a first network port number, and a connection command; when the first slave computer device determines that the decrypted broadcast data conforms to the preset data format, the first slave computer device first deletes the connection data of the previous connection, and then executes connection settings to generate a first connection data; wherein the first connection data includes a first private key of the first slave computer device, a second Internet Protocol address, and a second network port number, and the first slave computer device transmits the first connection data to the master computer device; The master computer device sends back a second connection data to the first slave computer device based on the first connection data to establish a passwordless login connection between the master computer device and the first slave computer device, wherein the second connection data includes a public key; and the master computer device uses the first slave computer device that established the passwordless login connection as a cluster computing node.

8. The automatic connection method as described in claim 7, wherein the first slave computer device listens to the master computer device via a full-duplex communication protocol, and the master computer device broadcasts at a designated network port in accordance with the full-duplex communication protocol.

9. The automatic connection method as described in claim 7, wherein the broadcast data includes the identification code of the host computer device, the first Internet Protocol address, the first network port number, and the connection command.

10. The automatic connection method as described in claim 7 further includes: The broadcast data of the main computer device was monitored through a second slave computer device; The broadcast data is decrypted via the second slave computer device; the decrypted broadcast data is determined by the second slave computer device to determine whether it conforms to the preset data format; when the decrypted broadcast data conforms to the preset data format, a connection setting is executed via the second slave computer device to generate a third connection data; the third connection data is transmitted to the master computer device via the second slave computer device; and the master computer device sends the second connection data back to the second slave computer device based on the third connection data to establish a connection.

11. The automatic connection method as described in claim 10, wherein the step of generating the third connection data includes: The second slave computer device first deletes the connection data of the previous connection, and then establishes the third connection data, wherein the third connection data includes a second private key data, a third Internet Protocol address, and a fourth network communication port number of the second slave computer device.

12. The automatic connection method as described in claim 10 further includes: The master computer device can simultaneously log in to the first slave computer device and the second slave computer device without a password, so as to connect to the first slave computer device and the second slave computer device at the same time.

Citation Information

Patent Citations

  • Information reporting method and device, equipment and storage medium

    CN112383881A

  • Method and system of establishing wireless communication connection

    TW201536092A

  • Data access method, system and apparatus

    TW201820199A

  • Synchronizable hardware security module

    US10425225B1

  • Secure cluster configuration data set transfer protocol

    US20050015471A1