Cluster computing system and automatic wiring method thereof

By using an automatic connection method, the problems of time-consuming and insecure manual connection in collaborative computing of multiple computer devices are solved, enabling fast and secure passwordless login and collaborative computing.

CN122340164APending Publication Date: 2026-07-03GIGA BYTE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GIGA BYTE TECH CO LTD
Filing Date
2025-04-14
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

Collaborative computing between multiple computer devices requires manual wiring, which is time-consuming and lacks security, resulting in high costs and hindering collaborative computing.

Method used

An automatic connection method is adopted. By listening to the broadcast data of the host computer device from the computer device, decrypting and judging that the format is correct, the connection settings are executed, connection data is generated and transmitted, and the host computer device sends back the second connection data to establish a connection, thus realizing passwordless login and cluster operation.

Benefits of technology

It enables automatic, fast, and secure connections between master and slave computer devices, supports passwordless login, and improves the efficiency and security of collaborative computing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122340164A_ABST
    Figure CN122340164A_ABST
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 particularly to a cluster computing system and its automatic connection method. Background 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. Attached Figure Description

[0008] Figure 1 This is a schematic diagram of a clustering operation system according to an embodiment of the present invention.

[0009] Figure 2 This is a flowchart of an automatic connection method according to an embodiment of the present invention.

[0010] Figure 3 This is an operation flowchart of a computer device according to an embodiment of the present invention.

[0011] Figure 4 This is an operation flowchart of a main computer device according to an embodiment of the present invention.

[0012] The reference numerals in the attached figures are explained as follows:

[0013] 100: Cluster computing system

[0014] 110: Main computer device

[0015] 120_1~120_M: From computer devices

[0016] S210~S260, S310~S350, S410~S440: Steps Detailed Implementation

[0017] 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, when appearing in different drawings, are considered to be the same or similar components. 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 described in the claims of the present invention.

[0018] Figure 1 This is a schematic diagram of a clustering operation system according to an embodiment of the present invention. (Reference) 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.

[0019] 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 related algorithms, communication protocols, and application programs for implementing the automatic connection methods, steps, and cluster operations of the various 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 communication interfaces, input devices and other peripheral functional elements, wherein the communication interface is a connection between devices used to implement the various embodiments of the present invention.

[0020] Figure 2 This is a flowchart of an automatic connection method according to an embodiment of the present invention. (See reference) Figure 1 as well as Figure 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 broadcast data from 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 settings 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 based on the first connection data to establish a connection.

[0021] In detail, slave computer device 120_1 can listen to master computer device 110 through a designated network communication port. Slave computer device 120_1 can listen to master computer device 110 through a full-duplex communication protocol, and master computer device 110 can broadcast on the designated network communication port according to the full-duplex communication protocol. Master computer device 110 and slave computer device 120_1 can implement the full-duplex communication protocol, for example, by executing a WebSocket suite. Furthermore, to improve communication security, 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 slave computer device 120_1 through the designated network communication port.

[0022] To this end, computer device 120_1 can obtain encrypted broadcast data by listening to 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, an Internet Protocol address, a network communication port number, and connection instructions. 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 at least one of the identifier, Internet Protocol address, network communication port number, and connection instructions in the broadcast data to see if they are the same as preset data, to confirm the device identity of the host computer device 110 before further executing the connection settings.

[0023] 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 can establish connections with the slave computer devices 120_2 to 120_M in the same manner.

[0024] Figure 3 This is an operation flowchart of a computer device according to an embodiment of the present invention. (See reference) Figure 1 as well as Figure 3In the above embodiment, when the first slave computer device (e.g., slave computer device 120_1) determines that the broadcast data conforms to the set 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 from the previous connection. The first slave computer device can delete previously set connection data to ensure that there are no duplicate settings. 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 (IP) address and transmit it to the master computer device 110. In step S350, the first slave computer device can generate a network communication 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 IP address, and the network communication port number. Furthermore, after the host computer device 110 receives the first connection data, the host computer device 110 can generate corresponding second connection data according to the same communication protocol (such as the SSH protocol), wherein the second connection data may include public key data.

[0025] 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 communication 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.

[0026] Figure 4 This is an operation flowchart of a main computer device according to an embodiment of the present invention. (See reference) Figure 1 as well as Figure 4After 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 a large model through the slave computer devices 120_1 to 120_M, but the present invention is not limited to this. In one embodiment, the main computer device 110 may also perform other cluster operations from computer devices 120_1 to 120_M.

[0027] 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.

[0028] Although the present invention has been disclosed above with reference to embodiments, it is not intended to limit the present invention. Any person skilled in the art can make some changes and modifications without departing from the concept and scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the claims.

Claims

1. A cluster computing system, characterized in that, include: One main computer device; as well as A first slave computer device is used to connect to the main computer device. The first slave computer device listens to a broadcast message from the master computer device, decrypts the broadcast message, and determines whether the decrypted broadcast message 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 a first connection data, and then 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 connection.

2. The cluster computing system as described in claim 1, characterized in that, The first slave computer device listens to the master computer device through a designated network communication port.

3. The cluster computing system as described in claim 2, characterized in that, The first slave computer device listens to the master computer device via a full-duplex communication protocol, and the master computer device broadcasts on the designated network communication port according to the full-duplex communication protocol.

4. The cluster computing system as described in claim 1, characterized in that, The broadcast information includes an identification code for the main computer device, a first Internet Protocol address, a first network communication port number, and a connection command.

5. The cluster computing system as described in claim 1, characterized in that, The first step is to delete the connection data from the previous connection on the computer device, and then create the new connection data. The first connection data includes a first private key of the first slave computer device, a second Internet Protocol address, and a second network communication port number.

6. The cluster computing system as described in claim 1, characterized in that, The second connection includes public key information.

7. The cluster computing system as described in claim 1, characterized in that, The master computer will establish a connection with the first slave computer as a cluster computing node.

8. The cluster computing system as described in claim 1, characterized in that, Also includes: A second slave computer device is used to connect to the main 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 then transmits the third connection data to the master computer device. 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.

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

10. The cluster computing system as described in claim 8, characterized in that, The master computer device simultaneously logs into 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.

11. An automatic wiring method, characterized in that, include: Listen to broadcast data from a host computer device through a first slave computer device; The broadcast data is decrypted via the first slave computer device; The computer device determines whether the decrypted broadcast data conforms to a preset data format. When the decrypted broadcast data conforms to the preset data format, the connection settings are executed through the first slave computer device to generate a first connection data. The first connection data is transmitted from the first slave computer device to the master computer device; and The host computer device sends back a second connection data to the first slave computer device based on the first connection data to establish a connection.

12. The automatic connection method as described in claim 11, characterized in that, The first slave computer device listens to the master computer device through a designated network communication port.

13. The automatic connection method as described in claim 12, characterized in that, The first slave computer device listens to the master computer device via a full-duplex communication protocol, and the master computer device broadcasts on the designated network communication port according to the full-duplex communication protocol.

14. The automatic connection method as described in claim 11, characterized in that, The broadcast information includes an identification code for the main computer device, a first Internet Protocol address, a first network communication port number, and a connection command.

15. The automatic connection method as described in claim 11, characterized in that, The steps for generating this first connection data include: The first connection is established by first deleting the previous connection data from the computer device, and then creating the new connection data. The first connection data includes a first private key of the first slave computer device, a second Internet Protocol address, and a second network communication port number.

16. The automatic connection method as described in claim 11, characterized in that, The second connection includes public key information.

17. The automatic connection method as described in claim 11, characterized in that, Also includes: The first slave computer device, which establishes the connection, is used as a cluster computing node through the master computer device.

18. The automatic connection method as described in claim 11, characterized in that, Also includes: The broadcast data of the main computer device is monitored by a second slave computer device. The broadcast data is decrypted via the second computer device; The second computer device determines whether the decrypted broadcast data conforms to the preset data format. When the decrypted broadcast data conforms to the preset data format, the connection settings are executed through the second slave computer device to generate a third connection data; The third connection data is transmitted from the second slave computer device to the master computer device; and The main computer device transmits the second connection data back to the second slave computer device based on the third connection data to establish a connection.

19. The automatic connection method as described in claim 18, characterized in that, The steps to generate this third connection data include: The second computer device first deletes the connection data from the previous connection, and then establishes the third connection data. The third connection data includes a second private key of the second slave computer device, a third Internet Protocol address, and a fourth network communication port number.

20. The automatic connection method as described in claim 18, characterized in that, Also includes: The master computer device can simultaneously log in to both the first slave computer device and the second slave computer device without a password, so as to connect to both the first slave computer device and the second slave computer device at the same time.