# US 2014/0195707 A1 · Executive device and stack method and stack system thereof

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

- Number: US 2014/0195707 A1
- Document ID: US20140195707A1
- Status: Published application
- Kind: A1
- Application number: 13/925,838
- Filed: 2013-06-25
- Published: 2014-07-10
- Earliest claimed: 2013-01-10
- Assignees: Accton Technology Corporation
- Applicants: Accton Technology Corporation
- Inventors: Yu-Chien WANG
- Web page: https://patentgrep.com/patent/US20140195707A1

## CPC

- G06F 13/4068: {Electrical coupling}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A stack method for executive devices includes the following steps: a present master-slave setting is detected of each execution device, such that the execution device is respectively set as a master device and a slave device. The master device generates coding information. It is detected if another execution device is connected successively to the current execution device, so as to process the coding information. If there is another execution device connected successively to the current execution device, the current execution device generates following coding information according to its coding information and writes the following coding information to the successive execution device as its coding information. If there is no execution device connected successively, the current execution device replies its coding information to the master device as end coding information.

## Claims

### Claim 1

A stack method for an executive device, applied in an instruction device and the executive device, comprising:
(a) detecting a master-slave setting of the executive device to set the executive device as a master device and a slave device;
(b) generating a coding information by the master device; and
(c) determining if there is another executive device connected successively to the current executive device, to process the coding information;
wherein, if there is another executive device connected successively, the current executive device generates a following coding information according to the coding information thereof and writes the following coding information to the another executive device connected successively as the coding information of the another executive device; and if there is no other executive device connected successively, the current executive device replies the coding information of the current executive device to the master device as an end coding information.

### Claim 2 (depends on 1)

The stack method of claim 1, wherein the step (a) further comprises:
reading a master-slave information stored in the executive device to set the executive device as the master device and the slave device; wherein
if the master-slave information is not stored in the executive device, storing the master-slave setting as the master-slave information; and
if the master-slave information does not match the master-slave setting, updating the master-slave information with the master-slave setting.

### Claim 3 (depends on 1)

The stack method of claim 1, wherein the detection of the master-slave setting of the executive device in the step (a) further comprises:
setting a control voltage level on a connection pin of the instruction device and a first voltage level on a first pin of the executive device; and
detecting a voltage level on the first pin;
wherein, if the connection pin position is connected to the first pin such that the first voltage level is changed by the control voltage level, the master-slave setting of the executive device is a master setting; if the first voltage level retains, the master-slave setting of the executive device is a slave setting.

### Claim 4 (depends on 1)

The stack method of claim 1, wherein the step (c) further comprises:
setting a second voltage level on a second pin of the executive device and a third voltage level on a third pin of the executive device; and
detecting a voltage level on the second pin of the executive device;
wherein, if the second pin of the current executive device is connected to the third pin of the another executive device such that the second voltage level is changed by the third voltage level, there is the another executive device connected successively to the current executive device; and if the second voltage level retains, there is no another executive device connected successively to the current executive device.

### Claim 5 (depends on 4)

The stack method of claim 4, further comprising:
detecting a connection status of the executive device, wherein the step of detecting the connection status of the executive device comprises:
if the second voltage level on the second pin of the current executive device is changed to the third voltage level, the current executive device is newly connected to the another executive device;
if the second pin returns to the second voltage level from the third voltage level, the other executive device is newly disconnected from the current executive device;
wherein, if the connection status of the another executive device is changed, repeating the steps (a), (b) and (c).

### Claim 6 (depends on 1)

The stack method of claim 1, wherein the step (c) further comprises:
transmitting a start-to-write signal to the another executive device from the current executive device;
transmitting a start confirmation signal to the current executive device from the another executive device;
writing the following coding information to the another executive device from the current executive device;
transmitting a receive confirmation signal and an end signal to the current executive device after receiving and storing the following coding information by the another executive device;
transmitting a write confirmation signal to the another executive device from the current executive device;
replying the coding information of the current executive device to the master device as the end coding information, if the current executive device does not receive the start confirmation signal;
comparing the following coding information to the master-slave information through the another executive device; wherein
if the following coding information does not match the master-slave information, the another executive device transmits a writing error signal to the current executive device, such that the current executive device repeats the step (c).

### Claim 7 (depends on 6)

The stack method of claim 6, further comprising:
transmitting the received following coding information to the current executive device through the another executive device; and
determining if the following coding information is correct through the current executive device;
repeating the step (c) through the current executive device, if the following coding information received by the another executive device is incorrect.

### Claim 8 (depends on 1)

The stack method of claim 1, further comprising:
transmitting an executive instruction to the master device through the instruction device;
coding the executive instruction as a coding instruction according to the end coding information through the master device;
correspondingly decoding and executing the coding instruction according to the coding information, or passing the coding instruction to the another executive device connected successively through the current executive device;
transmitting a reading instruction to the master device through the instruction device;
transmitting the end coding information to the instruction device through the master device; and
generating the executive instruction according to the end coding information through the instruction device.

### Claim 9

A stack system of executive devices, comprising:
an instruction device, comprising a connection pin and a data pin; and
an executive device, comprising a first pin, a second pin, a third pin, a first data pin, a second data pin, a memory unit, and a processing unit;
wherein, the processing unit is respectively connected to the memory unit, the first pin, the second pin, the third pin, the first data pin, and the second data pin; the executive device that is connected to the instruction device is a master device, and all the rest executive devices are slave devices; the first pin and the first data pin of the master device are respectively connected to the connection pin and the data pin of the instruction device, and the second pin and the second data pin of the master device are respectively connected to the third pin and the first data pin of the slave device; the second pin and the second data pin of the slave device are respectively connected to the third pin and the first data pin of the another slave device; the processing unit of the master device generates a coding information and stores the coding information in the memory unit thereof, and the processing units of all the executive devices further detects the second pin to confirm if there is another executive device connected successively; if there is the other executive device connected successively, the current executive device generates a following coding information according to the coding information thereof and writes the following coding information via the second data pin thereof to the other executive device connected successively to be the coding information of the other executive device; if there is no other executive device connected successively, the current executive device replies the coding information thereof via the first data pin thereof to the master device as an end coding information.

### Claim 10 (depends on 9)

The stack system of claim 9, wherein the processing unit further reads a master-slave information stored in the memory unit, and pre-sets all the executive devices as the master device and the slave device according to the master-slave information respectively.

### Claim 11 (depends on 9)

The stack system of claim 9, wherein the processing unit further detects the second pin; if there is another executive device connected or disconnected, the stack system passes the following coding information to the another executive device connected successively again, beginning from the master device.

### Claim 12 (depends on 9)

The stack system of claim 9, wherein the instruction device transmits an executive instruction via the data pin to the master device, and the processing unit of the master device encodes the executive instruction as a coding instruction according to the end coding information and decodes the coding instruction according to the coding information thereof to correspondingly execute the coding instruction; wherein, if there is another executive device connected successively to the current executive device, the current executive device passes the coding instruction to the another executive device, and the another executive device decodes the coding instruction according to the coding information thereof to correspondingly execute the coding instruction; wherein, the instruction device transmits a reading instruction via the data pinto the master device, and the processing unit of the master device transmits the end coding information via the first data pin to the instruction transmission device, and then the instruction device generates the executive instruction according to the end coding information.

### Claim 13

An executive device, comprising:
a first pin;
a second pin;
a third pin;
a memory unit; and
a processing unit;
wherein the processing unit is respectively connected to the memory unit, the first pin, the second pin, and the third pin; the processing unit respectively sets a first voltage level on the first pin, a second voltage level on the second pin, and a third voltage level on the third pin; and the processing unit further detects the first pin and the second pin; if the voltage level on the first pin is changed, the processing unit sets the executive device as a master device, generates a coding information, and stores the coding information in the memory unit; if the first voltage level retains, the processing unit sets the executive device as a slave device; the processing unit further correspondingly stores a master-slave setting in the memory unit; if the voltage level of the second pin is changed to the third voltage level, the processing unit determines that there is another executive device connected successively to the current executive device; and if the second voltage level retains, the processing unit determines that there is no executive device connected successively to the current executive device.

### Claim 14

The executive device of claim further comprising:
a first data pin; and
a second data pin;
wherein, the first data pin and the second data pin are respectively connected to the processing unit; if there is another executive device connected successively to the current executive device, the current executive device generates a following coding information according to the coding information thereof to the second data pin thereof, and the other executive device receives the following coding information from the first data pin thereof and stores the following coding information to be the coding information thereof; if there is no executive device connected successively to the current executive device, the current executive device replies the coding information thereof via the first data pin to the master device to be an end coding information.

### Claim 15 (depends on 14)

The executive device of claim 14, wherein the master device further receives an executive instruction from the first data pin, encodes the executive instruction as a coding instruction according to the end coding information, and decodes the coding instruction according to the coding information thereof to correspondingly execute the coding instruction; if there is another executive device connected successively to the current executive device, the current executive device passes the coding instruction to the another executive device, and the another executive device decodes the coding instruction according to the coding information thereof to correspondingly execute the coding instruction.

### Claim 16 (depends on 14)

The executive device of claim 14, wherein the master device further receives a coding instruction from the first data pin, and the master device decodes the coding instruction according to the coding information thereof to correspondingly execute the coding instruction; if there is another executive device connected successively to the current executive device, the current executive device passes the coding instruction thereof to the another executive device, and the another executive device decodes the coding instruction according to the coding information thereof to correspondingly execute the coding instruction.
