IP Library Granted Patent US 12,019,579
Granted Patent B2
US 12,019,579 · App. 17/781,330 · Granted Jun 25, 2024

Data transmission method, apparatus, and device, and storage medium

Inventor: Jun Wang (Suzhou, CN)
Assignee: Inspur Suzhou Intelligent Technology Co., Ltd.
G06F13/4282G06F2213/0028
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,019,579
App. No.
17/781,330
Granted
Jun 25, 2024
Kind
B2
Abstract

A data transmission method, apparatus, and device and a storage medium. A control instruction sent by a first node main program is received and analyzed; when the control instruction is analyzed to be a first control instruction for controlling a first node, a value is assigned to a first variable of the first node; the first control instruction is executed to obtain first result data and fed back same to the first node main program; the first variable of the first node is sent to a second node SES program, so that the second node SES program receives and analyzes same, and assigns a value to a second variable of a second node. According to the method, in a multi-controller data processing situation, node data transmission is increased, redundant link control of a two-node SES program by one node is implemented, and an information interaction redundancy mechanism can be enhanced.

Claims (44)

1. A data transmission method, comprising:

receiving and analyzing a control instruction sent by a first node main program;

assigning a value to a first variable of a first node when the control instruction is analyzed to be a first control instruction for controlling the first node;

executing the first control instruction, to obtain first result data and send back the first result data to the first node main program;

sending the first variable of the first node to a second node SCSI Enclosure Service (SES) program, so as to allow the second node SES program to receive and analyze the same, and assign a value to a second variable of a second node;

assigning a value to a second variable of the first node when the control instruction is analyzed to be a second control instruction for controlling the second node;

sending the second variable of the first node to the second node SES program, so as to allow the second node SES program to receive and analyze the same, assign a value to the first variable of the second node, and execute the second control instruction to obtain second result data; and

receiving the second result data from the second node SES program, and sending back the second result data to the first node main program.

2. The data transmission method of claim 1 , further comprising:

obtaining a query instruction; and

reporting data of the first node and the second node.

3. The data transmission method of claim 2 , wherein before receiving and analyzing the control instruction sent by the first node main program or before obtaining a query instruction, the method further comprises:

sending the initialized first variable of the first node to a second node receiving function through a first node sending function, so as to allow the second node receiving function to receive and analyze the same, and assign a value to the initialized second variable of the second node, and send the initialized second variable to the second node SES program.

4. The data transmission method of claim 3 , wherein before receiving and analyzing the control instruction sent by the first node main program or before obtaining a query instruction, the method further comprises:

sending the initialized second variable of the first node to a second node receiving function through a first node sending function, so as to allow the second node receiving function to receive and analyze the same, and assign a value to the initialized first variable of the second node, and send the second variable to the second node SES program.

5. The data transmission method of claim 4 , further comprising:

performing real-time detection on the first variable of the first node through a first node detection function, if the first variable of the first node is detected to be changed, sending the changed first variable to the second node receiving function through the first node sending function, so as to allow the second node receiving function to receive and analyze the same, and assign a value to the second variable of the second node, and send the second variable to the second node SES program.

6. The data transmission method of claim 5 , further comprising:

performing real-time detection on the second variable of the first node through a first node detection function; and

if the second variable of the first node is detected to be changed, sending the changed second variable to a second node receiving function through the first node sending function, so as to allow the second node receiving function to receive and analyze the same, and assign a value to the first variable of the second node, and send the first variable to the second node SES program.

7. A data transmission device, comprising a processor and a memory, wherein the processor implements, when executing the-a computer programs stored in the memory, the-a data transmission method comprising:

receiving and analyzing a control instruction sent by a first node main program;

assigning a value to a first variable of a first node when the control instruction is analyzed to be a first control instruction for controlling the first node;

executing the first control instruction, to obtain first result data and send back the first result data to the first node main program;

sending the first variable of the first node to a second node SES program, so as to allow the second node SES program to receive and analyze the same, and assign a value to a second variable of a second node;

assigning a value to a second variable of the first node when the control instruction is analyzed to be a second control instruction for controlling the second node;

sending the second variable of the first node to the second node SES program, so as to allow the second node SES program to receive and analyze the same, assign a value to the first variable of the second node, and execute the second control instruction to obtain second result data; and

receiving the second result data from the second node SES program, and sending back the second result data to the first node main program.

8. A non-transitory computer-readable storage medium, configured to store a computer program, wherein the computer program implements, when being executed by the processor, to perform the data transmission method of:

receiving and analyzing a control instruction sent by a first node main program; assigning a value to a first variable of a first node when the control instruction is analyzed to be a first control instruction for controlling the first node;

executing the first control instruction, to obtain first result data and send back the first result data to the first node main program;

sending the first variable of the first node to a second node SCSI Enclosure Service (SES) program, so as to allow the second node SES program to receive and analyze the same, and assign a value to a second variable of a second node;

assigning a value to a second variable of the first node when the control instruction is analyzed to be a second control instruction for controlling the second node;

sending the second variable of the first node to the second node SES program, so as to allow the second node SES program to receive and analyze the same, assign a value to the first variable of the second node, and execute the second control instruction to obtain second result data; and

receiving the second result data from the second node SES program, and sending back the second result data to the first node main program.

9. The data transmission device of claim 7 , wherein, the method further comprises:

obtaining a query instruction; and

reporting data of the first node and the second node.

10. The data transmission device of claim 9 , wherein before receiving and analyzing the control instruction sent by the first node main program or before obtaining a query instruction, the method further comprises:

sending the initialized first variable of the first node to a second node receiving function through a first node sending function, so as to allow the second node receiving function to receive and analyze the same, and assign a value to the initialized second variable of the second node, and send the initialized second variable to the second node SES program.

11. The data transmission device of claim 10 , wherein before receiving and analyzing the control instruction sent by the first node main program or before obtaining a query instruction, the method further comprises:

sending the initialized second variable of the first node to a second node receiving function through a first node sending function, so as to allow the second node receiving function to receive and analyze the same, and assign a value to the initialized first variable of the second node, and send the second variable to the second node SES program.

12. The data transmission device of claim 11 , wherein, the method further comprising:

performing real-time detection on the first variable of the first node through a first node detection function, if the first variable of the first node is detected to be changed, sending the changed first variable to the second node receiving function through the first node sending function, so as to allow the second node receiving function to receive and analyze the same, and assign a value to the second variable of the second node, and send the second variable to the second node SES program.

Assignments (2)
LICENSE Recorded Jun 30, 2026
From: IEIT SYSTEMS CO., LTD
To: AIVRES SYSTEMS INC.
Reel/Frame 075857/0939 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 31, 2022
From: WANG, JUN
To: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
Reel/Frame 060244/0800 →
Priority Claims (1)
CN 201911244749.X · Dec 6, 2019 · national
Continuity (1)
Related Publication 20230004518A1 · Jan 5, 2023