# US 2023/0353910 A1 · Data access method and apparatus, chip and computer storage medium

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

- Number: US 2023/0353910 A1
- Document ID: US20230353910A1
- Status: Published application
- Kind: A1
- Application number: 18/002,316
- Filed: 2021-04-28
- Published: 2023-11-02
- Earliest claimed: 2020-06-18
- Assignees: Sanechips Technology Co., Ltd.
- Applicants: Sanechips Technology Co., Ltd.
- Inventors: Ru HUI; Hengqi LIU; Hong JIANG; Yi WANG
- Web page: https://patentgrep.com/patent/US20230353910A1

## CPC

- H04Q 11/0062: {Network aspects}
- H04Q 11/00: Selecting arrangements for multiplex systems (multiplex systems H04J)
- H04Q 11/0005: {Switch and router aspects}
- H04Q 2011/0033: {using time division switching}
- H04Q: SELECTING (switches, relays, selectors H01H; wireless communication networks H04W)

## Abstract

A data forwarding method and apparatus, a chip, and a non-transitory computer-readable storage medium are disclosed. The method may include: determining, according to a data switching request, an interface to be switched off and a target interface to be switched to (S110), where the interface to be switched off and the target interface to be switched to send same data and include a same number of data ports; and controlling, according to timestamp jumping points of the data ports included in the interface to be switched off and the target interface to be switched to, data forwarded to an optical transport network to be switched from the interface to be switched off to the target interface to be switched to (S120).

## Claims

### Claim 1

A data forwarding method, comprising:
determining, according to a data switching request, an interface to be switched off and a target interface to be switched to, wherein the interface to be switched off and the target interface to be switched to send same data and comprise a same number of data ports; and
controlling, according to timestamp jumping points of the data ports comprised in the interface to be switched off and the target interface to be switched to, data forwarded to an optical transport network to be switched from the interface to be switched off to the target interface to be switched to.

### Claim 2 (depends on 1)

The method of claim 1, wherein controlling, according to timestamp jumping points of the data ports comprised in the interface to be switched off and the target interface to be switched to, data forwarded to an optical transport network to be switched from the interface to be switched off to the target interface to be switched to comprises:
determining a data port to be switched off in the interface to be switched off and a target data port corresponding to the data port to be switched off in the target interface to be switched to by port polling; and
for each data port to be switched off and the corresponding target data port, in response to a detection that the data port to be switched off and the target data port reach respective timestamp jumping points, obtaining data from a second storage device, and forwarding the data to the optical transport network until switching of all data ports to be switched off in the interface to be switched off is completed, wherein the second storage device is configured for storing data to be switched in the target data port.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
in response to a detection that a data port to be switched off reaches the timestamp jumping point, buffering data of the data port to be switched off to a first storage device; and
in response to a detection that a target data port reaches the timestamp jumping point,
buffering data of the target data port to the second storage device, wherein the first storage device is configured for storing data to be switched in the data port to be switched off.

### Claim 4 (depends on 2)

The method of claim 2, further comprising:
in response to not detecting that a data port to be switched off and/or a target data port reaches a respective timestamp jumping point within a set time, controlling the data forwarded to the optical transport network to be switched from the data port to be switched off to the target data port.

### Claim 5 (depends on 2)

The method of claim 2, further comprising:
prior to the data port to be switched off and the target data port reaching respective timestamp jumping points, controlling the data forwarded to the optical transport network to be switched from the data port to be switched off to the target data port, in response to a detection that a remaining space of the second storage device satisfies a preset condition.

### Claim 6 (depends on 1)

The method of claim 1, wherein prior to the controlling, according to timestamp jumping points of the data ports comprised in the interface to be switched off and the target interface to be switched to, data forwarded to an optical transport network to be switched from the interface to be switched off to the target interface to be switched to, the method further comprises:
disabling the data ports in the interface to be switched off, and
enabling the data ports in the target interface to be switched to.

### Claim 7 (depends on 1)

The method of claim 1, wherein after the controlling, according to timestamp jumping points of the data ports comprised in the interface to be switched off and the target interface to be switched to, data forwarded to an optical transport network to be switched from the interface to be switched off to the target interface to be switched to, the method further comprises:
enabling the data ports in the interface to be switched off, and
disabling the data ports in the target interface to be switched to.

### Claim 8 (depends on 1)

The method of claim 1, wherein the timestamp jumping points of the corresponding data ports in the interface to be switched off and the target interface to be switched to are at different moments.

### Claim 9

A data forwarding apparatus, comprising:
a determining module, configured for determining, according to a data switching request, an interface to be switched off and a target interface to be switched to, wherein the interface to be switched off and the target interface to be switched to send same data and comprise a same number of data ports; and
a control module, configured for controlling, according to timestamp jumping points of the data ports comprised in the interface to be switched off and the target interface to be switched to, data forwarded to an optical transport network to be switched from the interface to be switched off to the target interface to be switched to.

### Claim 10

A chip, comprising:
a storage unit, configured for storing one or more programs; and
a processing unit, configured for executing the one or more programs to perform a data forwarding method comprising:
determining, according to a data switching request, an interface to be switched off and a target interface to be switched to, wherein the interface to be switched off and the target interface to be switched to send same data and comprise a same number of data ports; and
controlling, according to timestamp jumping points of the data ports comprised in the interface to be switched off and the target interface to be switched to, data forwarded to an optical transport network to be switched from the interface to be switched off to the target interface to be switched to.

### Claim 11 (depends on 1)

A non-transitory computer-readable storage medium, storing a computer program which, when executed by a processing unit, causes the processing unit to perform the data forwarding method of claim 1.

### Claim 12 (depends on 10)

The chip of claim 10, wherein the processing unit is further configured for executing the one or more programs to perform:
determining a data port to be switched off in the interface to be switched off and a target data port corresponding to the data port to be switched off in the target interface to be switched to by port polling; and
for each data port to be switched off and the corresponding target data port, in response to a detection that the data port to be switched off and the target data port reach respective timestamp jumping points, obtaining data from a second storage device, and forwarding the data to the optical transport network until switching of all data ports to be switched off in the interface to be switched off is completed, wherein the second storage device is configured for storing data to be switched in the target data port.

### Claim 13 (depends on 12)

The chip of claim 12, wherein the processing unit is further configured for executing the one or more programs to perform:
in response to a detection that a data port to be switched off reaches the timestamp jumping point, buffering data of the data port to be switched off to a first storage device; and
in response to a detection that a target data port reaches the timestamp jumping point, buffering data of the target data port to the second storage device, wherein the first storage device is configured for storing data to be switched in the data port to be switched off.

### Claim 14 (depends on 12)

The chip of claim 12, wherein the processing unit is further configured for executing the one or more programs to perform:
in response to not detecting that a data port to be switched off and/or a target data port reaches a respective timestamp jumping point within a set time, controlling the data forwarded to the optical transport network to be switched from the data port to be switched off to the target data port.

### Claim 15 (depends on 12)

The chip of claim 12, wherein the processing unit is further configured for executing the one or more programs to perform:
prior to the data port to be switched off and the target data port reaching respective timestamp jumping points, controlling the data forwarded to the optical transport network to be switched from the data port to be switched off to the target data port, in response to a detection that a remaining space of the second storage device satisfies a preset condition.

### Claim 16 (depends on 10)

The chip of claim 10, wherein the processing unit is further configured for executing the one or more programs to perform:
disabling the data ports in the interface to be switched off, and
enabling the data ports in the target interface to be switched to.

### Claim 17 (depends on 10)

The chip of claim 10, wherein the processing unit is further configured for executing the one or more programs to perform:
enabling the data ports in the interface to be switched off, and
disabling the data ports in the target interface to be switched to.

### Claim 18 (depends on 10)

The chip of claim 10, wherein the timestamp jumping points of the corresponding data ports in the interface to be switched off and the target interface to be switched to are at different moments.
