# US 2025/0097070 A1 · Method and non-transitory computer-readable storage medium for connection status detection and controller area network bus network access unit

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

- Number: US 2025/0097070 A1
- Document ID: US20250097070A1
- Status: Published application
- Kind: A1
- Application number: 18/969,988
- Filed: 2024-12-05
- Published: 2025-03-20
- Earliest claimed: 2020-03-16
- Assignees: Alibaba Group Holding Limited
- Applicants: Alibaba Group Holding Limited
- Inventors: Can ZENG
- Web page: https://patentgrep.com/patent/US20250097070A1

## CPC

- H04L 12/40: Bus networks
- H04L 12/40169: {Flexible bus arrangements (arrangements for maintenance or administration involving management of faults; events, alarms H04L41/06; automatic restoration of network faults H04L41/0654)}
- H04L 12/413: with random access, e.g. carrier-sense multiple-access with collision detection [CSMA-CD]
- H04L 12/417: with deterministic access, e.g. token passing
- H04L 12/4604: {LAN interconnection over a backbone network, e.g. Internet, Frame Relay}
- H04L 2012/40215: {Controller Area Network CAN}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present disclosure provides a connection status detection method for a controller area network (CAN) bus network access unit. The method includes: determining, for a to-be-detected port of the CAN bus network access unit if the to-be-detected port receives, in a first scanning period, a second scanning period, a third scanning period, and a fourth scanning period that are consecutive, a message notifying an identifier of the CAN bus network access unit, a bus number being 1, and a port number being 1, that the to-be-detected port is connected to a straight-line CAN bus network access unit, and recording the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a first port of the straight-line CAN bus network access unit, and the first port of the straight-line CAN bus network access unit is a logical entry.

## Claims

### Claim 1

A connection status detection method for a controller area network (CAN) bus network access unit, comprising:
determining, for a to-be-detected port of the CAN bus network access unit if the to-be-detected port receives, in a first scanning period, a second scanning period, a third scanning period, and a fourth scanning period that are consecutive, a message notifying an identifier of the CAN bus network access unit, a bus number being 1, and a port number being 1, that the to-be-detected port is connected to a straight-line CAN bus network access unit, and recording the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a first port of the straight-line CAN bus network access unit, and the first port of the straight-line CAN bus network access unit is a logical entry;
determining, if the to-be-detected port receives, in the first scanning period, the second scanning period, the third scanning period, and the fourth scanning period that are consecutive, a message notifying a notification of the identifier of the CAN bus network access unit, a bus number being 2, and a port number being 3, that the to-be-detected port is connected to a straight-line CAN bus network access unit, and recording the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a third port of the straight-line CAN bus network access unit, and the third port of the straight-line CAN bus network access unit is a logical exit;
determining, if the to-be-detected port receives, in the first scanning period, a message notifying the identifier of the CAN bus network access unit, a bus number being 1, and a particular flag bit, that the to-be-detected port is connected to a transplanter CAN bus network access unit, and recording the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a first port of the transplanter CAN bus network access unit, and the first port of the transplanter CAN bus network access unit is a logical entry;
recording, if the to-be-detected port receives, in the second scanning period, a message notifying the identifier of the CAN bus network access unit, a bus number being 1 or 2, and a particular flag bit, and receives a port number being 2 after sending a port query request, the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a second port of the transplanter CAN bus network access unit, and in response to the bus number being 1, the second port of the transplanter CAN bus network access unit is a logical exit; and in response to the bus number being 2, the second port of the transplanter CAN bus network access unit is a logical entry;
recording, if the to-be-detected port receives, in the third scanning period, a message notifying the identifier of the CAN bus network access unit, a bus number being 1 or 2, and a particular flag bit, and receives a port number being 3 after sending a port query request, the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a third port of the transplanter CAN bus network access unit, and in response to the bus number being 1, the third port of the transplanter CAN bus network access unit is a logical exit; and in response to the bus number being 2, the third port of the transplanter CAN bus network access unit is a logical entry; and
recording, if the to-be-detected port receives, in the fourth scanning period, a message notifying the identifier of the CAN bus network access unit, a bus number being 1 or 2, and a particular flag bit, and receives a port number being 4 after sending a port query request, the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a fourth port of the transplanter CAN bus network access unit, and in response to the bus number being 1, the fourth port of the transplanter CAN bus network access unit is a logical exit; and in response to the bus number being 2, the fourth port of the transplanter CAN bus network access unit is a logical entry.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
generating, for each to-be-detected port of each CAN bus network access unit in an electric control network, a port connection diagram of the electric control network according to a recorded identifier of the connected CAN bus network access unit, a port number of the connected CAN bus network access unit, and whether the connected port is a logical entry or a logical exit.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the CAN bus network access unit comprises:
a first CAN bus and a second CAN bus;
a first CAN bus transceiver and a second CAN bus transceiver, respectively connected to the first CAN bus and the second CAN bus and respectively configured to communicate with another first CAN bus and another second CAN bus in another CAN bus network access unit; and
a first port, a second port, a third port, and a fourth port; wherein the first port is connected to the first CAN bus.

### Claim 4 (depends on 3)

The method according to claim 3, wherein a third port of the straight-line CAN bus network access unit is connected to the second CAN bus, and neither a second port nor a fourth port of the straight-line CAN bus network access unit is connected to the first CAN bus or the second CAN bus; and any one of a second port, a third port, and a fourth port of the transplanter CAN bus network access unit is connectable to the first CAN bus or the second CAN bus.

### Claim 5

A controller area network (CAN) bus network access unit, comprising:
a memory configured to store control instructions; and
one or more processors configured to read the control instructions stored in the memory to perform operations comprising:
determining, for a to-be-detected port of the CAN bus network access unit if the to-be-detected port receives, in a first scanning period, a second scanning period, a third scanning period, and a fourth scanning period that are consecutive, a message notifying an identifier of the CAN bus network access unit, a bus number being 1, and a port number being 1, that the to-be-detected port is connected to a straight-line CAN bus network access unit, and recording the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a first port of the straight-line CAN bus network access unit, and the first port of the straight-line CAN bus network access unit is a logical entry;
determining, if the to-be-detected port receives, in the first scanning period, the second scanning period, the third scanning period, and the fourth scanning period that are consecutive, a message notifying a notification of the identifier of the CAN bus network access unit, a bus number being 2, and a port number being 3, that the to-be-detected port is connected to a straight-line CAN bus network access unit, and recording the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a third port of the straight-line CAN bus network access unit, and the third port of the straight-line CAN bus network access unit is a logical exit;
determining, if the to-be-detected port receives, in the first scanning period, a message notifying the identifier of the CAN bus network access unit, a bus number being 1, and a particular flag bit, that the to-be-detected port is connected to a transplanter CAN bus network access unit, and recording the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a first port of the transplanter CAN bus network access unit, and the first port of the transplanter CAN bus network access unit is a logical entry;
recording, if the to-be-detected port receives, in the second scanning period, a message notifying the identifier of the CAN bus network access unit, a bus number being 1 or 2, and a particular flag bit, and receives a port number being 2 after sending a port query request, the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a second port of the transplanter CAN bus network access unit, and in response to the bus number being 1, the second port of the transplanter CAN bus network access unit is a logical exit; and in response to the bus number being 2, the second port of the transplanter CAN bus network access unit is a logical entry;
recording, if the to-be-detected port receives, in the third scanning period, a message notifying the identifier of the CAN bus network access unit, a bus number being 1 or 2, and a particular flag bit, and receives a port number being 3 after sending a port query request, the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a third port of the transplanter CAN bus network access unit, and in response to the bus number being 1, the third port of the transplanter CAN bus network access unit is a logical exit; and in response to the bus number being 2, the third port of the transplanter CAN bus network access unit is a logical entry; and
recording, if the to-be-detected port receives, in the fourth scanning period, a message notifying the identifier of the CAN bus network access unit, a bus number being 1 or 2, and a particular flag bit, and receives a port number being 4 after sending a port query request, the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a fourth port of the transplanter CAN bus network access unit, and in response to the bus number being 1, the fourth port of the transplanter CAN bus network access unit is a logical exit; and in response to the bus number being 2, the fourth port of the transplanter CAN bus network access unit is a logical entry.

### Claim 6 (depends on 5)

The controller area network (CAN) bus network access unit according to claim 5, wherein the operations further comprise:
if the to-be-detected port receives, in the fourth scanning period, a message notifying the identifier of the CAN bus network access unit, the bus number 1 or 2, and the particular flag bit, and receives a port number 4 after sending a port query request, the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a fourth port of the straight-line CAN bus network access unit, and in a case of the bus number 1, the fourth port is a logical exit; and in a case of the bus number 2, the fourth port is a logical entry; and
generating, for each to-be-detected port of each CAN bus network access unit in an electric control network, a port connection diagram of the electric control network according to a recorded identifier of the connected CAN bus network access unit, a port number of the connected CAN bus network access unit, and whether the connected port is a logical entry or a logical exit.

### Claim 7 (depends on 5)

The controller area network (CAN) bus network access unit according to claim 5, further comprising:
a first CAN bus and a second CAN bus;
a first CAN bus transceiver and a second CAN bus transceiver, respectively connected to the first CAN bus and the second CAN bus and respectively configured to communicate with another first CAN bus and another second CAN bus in another CAN bus network access unit; and
a first port, a second port, a third port, and a fourth port; wherein the first port is connected to the first CAN bus.

### Claim 8 (depends on 7)

The controller area network (CAN) bus network access unit according to claim 7, wherein a third port of the straight-line CAN bus network access unit is connected to the second CAN bus, and neither a second port nor a fourth port of the straight-line CAN bus network access unit is connected to the first CAN bus or the second CAN bus; and any one of a second port, a third port, and a fourth port of the transplanter CAN bus network access unit is connectable to the first CAN bus or the second CAN bus.

### Claim 9

A non-transitory computer-readable storage medium, storing control instructions configured to be executed by one or more processors of a controller area network (CAN) bus network access unit; and
the control instructions are executed by the one or more processors to cause the CAN bus network access unit to perform operations comprising:
determining, for a to-be-detected port of the CAN bus network access unit if the to-be-detected port receives, in a first scanning period, a second scanning period, a third scanning period, and a fourth scanning period that are consecutive, a message notifying an identifier of the CAN bus network access unit, a bus number being 1, and a port number being 1, that the to-be-detected port is connected to a straight-line CAN bus network access unit, and recording the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a first port of the straight-line CAN bus network access unit, and the first port of the straight-line CAN bus network access unit is a logical entry;
determining, if the to-be-detected port receives, in the first scanning period, the second scanning period, the third scanning period, and the fourth scanning period that are consecutive, a message notifying a notification of the identifier of the CAN bus network access unit, a bus number being 2, and a port number being 3, that the to-be-detected port is connected to a straight-line CAN bus network access unit, and recording the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a third port of the straight-line CAN bus network access unit, and the third port of the straight-line CAN bus network access unit is a logical exit;
determining, if the to-be-detected port receives, in the first scanning period, a message notifying the identifier of the CAN bus network access unit, a bus number being 1, and a particular flag bit, that the to-be-detected port is connected to a transplanter CAN bus network access unit; and recording the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a first port of the transplanter CAN bus network access unit, and the first port of the transplanter CAN bus network access unit is a logical entry;
recording, if the to-be-detected port receives, in the second scanning period, a message notifying the identifier of the CAN bus network access unit, a bus number being 1 or 2, and a particular flag bit, and receives a port number being 2 after sending a port query request, the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a second port of the transplanter CAN bus network access unit, and in response to the bus number being 1, the second port of the transplanter CAN bus network access unit is a logical exit; and in response to the bus number being 2, the second port of the transplanter CAN bus network access unit is a logical entry;
recording, if the to-be-detected port receives, in the third scanning period, a message notifying the identifier of the CAN bus network access unit, a bus number being 1 or 2, and a particular flag bit, and receives a port number being 3 after sending a port query request, the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a third port of the transplanter CAN bus network access unit, and in response to the bus number being 1, the third port of the transplanter CAN bus network access unit is a logical exit; and in response to the bus number being 2, the third port of the transplanter CAN bus network access unit is a logical entry; and
recording, if the to-be-detected port receives, in the fourth scanning period, a message notifying the identifier of the CAN bus network access unit, a bus number being 1 or 2, and a particular flag bit, and receives a port number being 4 after sending a port query request, the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a fourth port of the transplanter CAN bus network access unit, and in response to the bus number being 1, the fourth port of the transplanter CAN bus network access unit is a logical exit; and in response to the bus number being 2, the fourth port of the transplanter CAN bus network access unit is a logical entry.

### Claim 10 (depends on 9)

The non-transitory computer-readable storage medium according to claim 9, wherein the operations further comprise:
if the to-be-detected port receives, in the fourth scanning period, a message notifying the identifier of the CAN bus network access unit, the bus number 1 or 2, and the particular flag bit, and receives a port number 4 after sending a port query request, the identifier of the CAN bus network access unit, wherein the to-be-detected port is connected to a fourth port of the straight-line CAN bus network access unit, and in a case of the bus number 1, the fourth port is a logical exit; and in a case of the bus number 2, the fourth port is a logical entry; and
generating, for each to-be-detected port of each CAN bus network access unit in an electric control network, a port connection diagram of the electric control network according to a recorded identifier of the connected CAN bus network access unit, a port number of the connected CAN bus network access unit, and whether the connected port is a logical entry or a logical exit.

### Claim 11 (depends on 9)

The non-transitory computer-readable storage medium according to claim 9, wherein the CAN bus network access unit comprises:
a first CAN bus and a second CAN bus;
a first CAN bus transceiver and a second CAN bus transceiver, respectively connected to the first CAN bus and the second CAN bus and respectively configured to communicate with another first CAN bus and another second CAN bus in another CAN bus network access unit; and
a first port, a second port, a third port, and a fourth port; wherein the first port is connected to the first CAN bus.

### Claim 12 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, wherein a third port of the straight-line CAN bus network access unit is connected to the second CAN bus, and neither a second port nor a fourth port of the straight-line CAN bus network access unit is connected to the first CAN bus or the second CAN bus; and any one of a second port, a third port, and a fourth port of the transplanter CAN bus network access unit is connectable to the first CAN bus or the second CAN bus.
