# US 2021/0176329 A1 · System supporting fault tolerance and control method thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0176329 A1
- Document ID: US20210176329A1
- Status: Published application
- Kind: A1
- Application number: 16/941,187
- Filed: 2020-07-28
- Published: 2021-06-10
- Earliest claimed: 2019-12-04
- Assignees: Industrial Technology Research Institute
- Applicants: Industrial Technology Research Institute
- Inventors: Sheng-Kai LIN; Po-Jui TSAO; Yu-Shiang LIN
- Web page: https://patentgrep.com/patent/US20210176329A1

## CPC

- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/065: {Replication mechanisms}
- G06F 3/0664: {at device level, e.g. emulation of a storage device or system}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 11/1456: {Hardware arrangements for backup}
- G06F 11/301: {where the computing system is a virtual computing platform, e.g. logically partitioned systems (virtual machines G06F9/45533; logical partitioning of resources G06F9/5077)}
- G06F 11/3495: {for systems}
- H04L 69/16: Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L 69/40: for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection (management of faults, events, alarms or notifications in data switching networks H04L41/06)
- G06F 11/3055: {Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available (error or fault processing without redundancy G06F11/0703; error detection or correction by redundancy in data representation G06F11/08; error detection or correction of the data by redundancy in operations G06F11/14; error detection or correction by redundancy in hardware G06F11/16)}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A control method of a system supporting fault tolerance is provided, at first, a first host executes a transmission control protocol agent to receive a data stream from a client device. Then the TCP agent transmits an acknowledgement packet to the client device in response to the data stream from the client device. Then the TCP agent determines whether a fault tolerance mechanism of the virtual machine is activated. When the TCP agent determines that the fault tolerance mechanism of the virtual machine is activated, the TCP agent determines whether the virtual machine operates in a running state. When the TCP agent determines that the virtual machine is not in the running state, the TCP agent temporarily storing the data stream. When the TCP agent determines that the virtual machine operates in a running state, the TCP agent transmits the data stream to the virtual machine.

## Claims

### Claim 1

A control method of a system supporting fault tolerance, wherein the system comprises a first host and a second host and the first host and the second host are configured to connected to a client device via an internet, the first host stores a virtual machine and a transmission control protocol agent, and with the control method comprising:
executing the transmission control protocol agent to receive a data stream from the client device via the first host;
transmitting an acknowledgement packet to the client device via the transmission control protocol agent in response to the data stream from the client device;
determining whether a fault tolerance mechanism of the virtual machine is activated via the transmission control protocol agent;
determining whether the virtual machine operates in a running state via the transmission control protocol agent when the transmission control protocol agent determines that the fault tolerance mechanism of the virtual machine is activated;
temporarily storing the data stream via the transmission control protocol agent when the transmission control protocol agent determines that the virtual machine is not in the running state; and
transmitting the data stream to the virtual machine via the transmission control protocol agent when the transmission control protocol agent determines that the virtual machine operates in the running state.

### Claim 2 (depends on 1)

The control method in claim 1, further comprising transmitting the data stream to the virtual machine via the transmission control protocol agent when the transmission control protocol agent determines that the fault tolerance mechanism of the virtual machine is not activated.

### Claim 3 (depends on 1)

The control method in claim 1, further comprising adding an identification stamp to the data stream via the transmission control protocol agent when the transmission control protocol agent receives the data stream, wherein the identification stamp is used to indicate a time point of receiving the data stream via the transmission control protocol agent.

### Claim 4 (depends on 1)

The control method in claim 1, wherein determining whether the fault tolerance mechanism of the virtual machine is activated comprise:
determining whether an inter-process communication packet from the virtual machine is received via the transmission control protocol agent; and
determining that the fault tolerance mechanism of the virtual machine is activated via the transmission control protocol agent when the transmission control protocol agent receives the inter-process communication packet.

### Claim 5 (depends on 1)

The control method in claim 1, wherein further comprising determining whether the virtual machine breaks down via the transmission control protocol agent after the transmission control protocol agent transmits the data stream to the virtual machine, wherein the transmission control protocol agent transmits the data stream to the virtual machine one more time when the transmission control protocol agent determines that the virtual machine breaks down, and the transmission control protocol agent determines whether states of the virtual machine are completely backed up to the second host when the transmission control protocol agent determines that the virtual machine does not break down.

### Claim 6 (depends on 5)

The control method in claim 5, wherein further comprising determining whether the states of the virtual machine are completely backed up to the second host via the transmission control protocol agent after the transmission control protocol agent transmits the data stream to the virtual machine one more time; wherein the transmission control protocol agent releases the data stream when the states of the virtual machine are completely backed up to the second host, and the transmission control protocol agent determines whether the virtual machine breaks down one more time when the states of the virtual machine are not completely backed up to the second host.

### Claim 7

A control method of a system supporting fault tolerant, wherein the system comprises a first host and a second host and the first host and the second host are configured to connected to a client device via an internet, the first host stores a virtual machine and a transmission control protocol agent, and with the control method comprising:
executing the transmission control protocol agent to receive a data stream from the virtual machine via the first host;
transmitting an acknowledgement packet to the virtual machine via the transmission control protocol agent in response to the data stream from the virtual machine;
determining whether a fault tolerance mechanism of the virtual machine is activated via the transmission control protocol agent;
determining whether states of the virtual machine are completely backed up to the second host via the transmission control protocol agent when the transmission control protocol agent determines that the fault tolerance mechanism of the virtual machine is activated;
temporarily storing the data stream via the transmission control protocol agent when the transmission control protocol agent determines that the states of the virtual machine are not completely backed up to the second host; and
transmitting the data stream to the client device via the transmission control protocol agent when the transmission control protocol agent determines that the states of the virtual machine are completely backed up to the second host.

### Claim 8 (depends on 7)

The control method in claim 7, further comprising adding an identification stamp to the data stream via the transmission control protocol agent when the transmission control protocol agent receives the data stream, wherein the identification stamp is used to indicate a time point of receiving the data stream via the transmission control protocol agent.

### Claim 9 (depends on 7)

The control method in claim 7, wherein determining whether the fault tolerance mechanism of the virtual machine is activated comprise:
determining whether an inter-process communication packet from the virtual machine is received via the transmission control protocol agent; and
determining that the fault tolerance mechanism of the virtual machine is activated via the transmission control protocol agent when the transmission control protocol agent receives the inter-process communication packet.

### Claim 10 (depends on 7)

The control method in claim 7, further comprising transmitting the data stream to the client device via the transmission control protocol agent when the transmission control protocol agent determines that the fault tolerance mechanism of the virtual machine is not activated.

### Claim 11 (depends on 7)

The control method in claim 7, further comprising releasing the data stream via the transmission control protocol agent after the transmission control protocol agent transmits the data stream to the client device.

### Claim 12 (depends on 7)

The control method in claim 7, further comprising executing an inter-process communication packet monitoring program via the first host, wherein the inter-process communication packet monitoring program comprises:
receiving a plurality of inter-process communication packets from the virtual machine at different time points sequentially via the transmission control protocol agent; and
reading the inter-process communication packets at the time points sequentially via the transmission control protocol agent to obtain a plurality of states of the fault tolerance mechanism of the virtual machine.

### Claim 13 (depends on 7)

The control method in claim 7, further comprising executing a data transmission speed monitoring program, wherein the data transmission speed monitoring program comprises: determining a first data transmission speed between the transmission control protocol agent and the virtual machine via the transmission control protocol agent; determining a second data transmission speed between the transmission control protocol agent and the client device via the transmission control protocol agent, wherein the second data transmission speed is slower than the first data transmission speed; reducing the first data transmission speed through a transmission control protocol window algorithm according to the second data transmission speed via the transmission control protocol agent.

### Claim 14

A system supporting fault tolerance, comprising:
a first host, storing a virtual machine and a transmission control protocol agent, wherein the first host is configured to connect to a client device via an internet; and
a second host, connecting to the first host via the internet;
wherein the first host is at least configured to execute the transmission control protocol agent to receive a data stream from the client device and to transmit an acknowledgement packet to the client device in response to the data stream from the client device.

### Claim 15 (depends on 14)

The system in claim 14, wherein the first host is further configured to execute the transmission control protocol agent to determine whether a fault tolerance mechanism of the virtual machine is activated.

### Claim 16 (depends on 14)

The system in claim 14, wherein the first host is further configured to execute the transmission control protocol agent to determine whether states of the virtual machine are completely backed up to the second host.

### Claim 17 (depends on 14)

The system in claim 14, wherein the transmission control protocol agent adds an identification stamp to the data stream when the transmission control protocol agent receives the data stream, and the identification stamp indicates a time point of receiving the data stream via the transmission control protocol agent.

### Claim 18 (depends on 14)

The system in claim 14, wherein the first host comprises a circuit board, a central processing unit, and a memory, the central processing unit and the memory are disposed on the circuit board and are electrically connected to each other, the memory stores the virtual machine, a virtual machine monitoring program and the transmission control protocol agent, and the central processing unit is configured to execute the virtual machine, the virtual machine monitoring program and the transmission control protocol agent.

### Claim 19 (depends on 18)

The system in claim 18, wherein the virtual machine monitoring program is used to receive an external instruction, the virtual machine monitoring program activates a fault tolerance mechanism of the virtual machine when a content of the virtual machine monitoring program is to activate the fault tolerance mechanism of the virtual machine.
