# US 2021/0281482 A1 · Communication apparatus, system, rollback method, and non-transitory medium

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

- Number: US 2021/0281482 A1
- Document ID: US20210281482A1
- Status: Published application
- Kind: A1
- Application number: 16/316,074
- Filed: 2016-07-21
- Published: 2021-09-09
- Earliest claimed: 2016-07-21
- Assignees: NEC Corporation
- Applicants: NEC Corporation
- Inventors: Takayuki SASAKI; Daniele Enrico ASONI; Adrian PERRIG
- Web page: https://patentgrep.com/patent/US20210281482A1

## CPC

- H04L 41/0863: {by rolling back to previous configuration versions}
- H04L 41/0816: the condition being an adaptation, e.g. in response to network events
- H04L 41/0895: Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
- H04L 41/0897: by horizontal or vertical scaling of resources, or by migrating entities, e.g. virtual resources or entities
- H04L 41/40: using virtualisation of network functions or resources, e.g. SDN or NFV entities
- H04L 45/38: {Flow based routing}
- H04L 49/9047: including multiple buffers, e.g. buffer pools
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A communication apparatus comprises a rollback control unit to create a second process to roll back a currently working first process thereto; a storage to store states shared by the first and the second processes, the second process taking over a state(s) stored in the storage unit; a buffer; and a timing control unit that controls of timing of rollback. The rollback control unit starts event buffering to store in the buffer all of an event(s) received during when the first process is processing and destined to the first process, and upon completion of the processing of the event by the first process, the rollback control unit performs switching of a working process from the first process to the second process, sends the event(s) stored therein from start of the event buffering to the second process and stop event buffering.

## Claims

### Claim 1

A communication apparatus, comprising:
a rollback control unit that creates a second process to roll back a currently working first process thereto;
a storage unit that stores one or more states shared by the first process and the second process, the storage unit enabling the second process to take over the one or more states stored therein;
a buffer; and
a timing control unit configured to control timing of rollback,
wherein the rollback control unit controls to start event buffering such that the buffer is set to store all of one or more events received and destined to the first process, when the first process is processing an event during the rollback,
wherein, under a control of the timing control unit, upon completion of the processing of the event by the first process, the rollback control unit performs switching of a working process from the first process to the second process, and
the rollback control unit controls to send the all of one or more events stored from start of the event buffering in the buffer to the second process switched from the first process and to stop the event buffering.

### Claim 2 (depends on 1)

The communication apparatus according to claim 1, further comprising:
a dispatcher that dispatches a signal received to an associated process, based on a dispatch rule that defines association between a matching condition and a target process to which a received signal corresponding to the matching condition is to be dispatched.

### Claim 3 (depends on 2)

The communication apparatus according to claim 2, wherein, in the event buffering, the rollback control unit controls to cause the dispatcher to provide to the buffer, all of one or more packets that are received during when the first process is processing the event and that are to be dispatched to the first process, the one or more packets corresponding to the one or more events, the buffer storing the one or more packets provided thereto, and
wherein upon completion of the processing of the event by the first process, the rollback control unit controls to cause the dispatcher to change the first process defined as the target process in the dispatch rule to the second process switched from the first process.

### Claim 4 (depends on 2)

The communication apparatus according to claim 2, wherein the first and second process are a switch process that, upon reception of a packet dispatched thereto by the dispatcher, matches header field information of the packet with a flow entry of the switch process for handling a flow, and handles the packet based on the matching result,
wherein the flow entry of the switch process includes a match field that is matched with header field information of a packet received; and an action field that prescribes handling of a packet matching.

### Claim 5 (depends on 1)

The communication apparatus according to claim 1, wherein the communication process includes
a controller process that, upon reception of a message from a switch, generates a flow entry for handling a flow to be applied for each of switches on a path for the flow, the flow entry including a match field that is matched with header field information of a packet received by the switch, and an action field that prescribes handling of matching packet by the switch, and sends the generated rule to each of switches on the path for the flow.

### Claim 6 (depends on 1)

The communication apparatus according to claim 1, wherein the first and second processes are configured to be executed in an isolated environment allocated thereto,
the isolated environment arranged for each of the first and second processes being isolated from each of one or more environments arranged for other one or more processes.

### Claim 7 (depends on 1)

The communication apparatus according to claim 1, wherein the communication apparatus operates as a switch apparatus adapted for a flow-based packet forwarding, wherein
the rollback control unit creates a second switch process to roll back a currently working first switch process thereto; and
the storage unit stores one or more states shared by the first switch process and the second switch process, the storage unit enabling the second switch process to take over the one or more states stored therein, wherein the communication apparatus further comprises:
a network interface adapted to be connected to a network; and
a dispatcher that dispatches a packet or message received to an associated switch process, based on a dispatch rule that defines association between a matching condition and a target switch process to which a received packet corresponding to the matching condition is to be dispatched,
wherein, after creating the second switch process, the rollback control unit, upon finding that the first switch process is in process of handling an event related with a packet received, controls to start buffering such that the buffer is set to store all of one or more packets that are received during when the first switch process is processing the event and are to be dispatched by the dispatcher to the first switch process, and
wherein under a control of the timing control unit, upon completion of the processing of the event by the first switch process, the rollback control unit performs switching of a working process from the first switch process to the second switch process, and
the rollback control unit controls to send all of the one or more packets stored from start of the buffering in the buffer to the second switch process switched from the first switch process and to stop the buffering.

### Claim 8 (depends on 7)

The communication apparatus according to claim 7, wherein, when starting the buffering, the rollback control unit controls to cause the dispatcher to provide to the buffer, all of one or more packets that are received during when the first switch process is processing the event, and are to be dispatched to the first switch process, the buffer storing all of the one or more packets provided thereto, and
wherein upon completion of processing of the event by the first switch process, the rollback control unit controls to cause the dispatcher to change the first process defined as the target switch process in the dispatch rule to the second switch process switched from the first switch process.

### Claim 9 (depends on 7)

The communication apparatus according to claim 7, wherein the first and second processes are configured to be executed in an isolated environment allocated thereto, the isolated environment arranged for each of the first and second processes being isolated from each of one or more environments arranged for other one or more processes.

### Claim 10 (depends on 1)

The communication apparatus according to claim 1, wherein the communication apparatus operates as a controller apparatus that controls one or more switches, each adapted to perform a flow-based packet forwarding, wherein
the rollback control unit creates a second controller process to roll back a currently working first controller process thereto; and
the storage unit stores states shared by the first controller process and the second controller process, the storage unit enabling the second controller process to take over the one or more states stored therein, wherein the communication apparatus further comprises:
a network interface adapted to be connected to the switch; and
a dispatcher that dispatches a packet received to an associated controller process, based on a dispatch rule that defines association between a matching condition and a target controller process to which a received packet corresponding to the matching condition is to be dispatched,
wherein, after creating the second controller process, the rollback control unit, upon finding that the first controller process is in process of handling an event related with a packet received, controls to start buffering such that the buffer is set to store all of one or more packets that are received during when the first controller process is processing the event and are to be dispatched by the dispatcher to the first controller process, and
wherein under a control of the timing control unit, upon completion of the processing of the event by the first controller process, the rollback control unit performs switching of a working process from the first controller process to the second controller process, and
the rollback control unit controls to send all of the one or more packets stored from start of the buffering in the buffer to the second controller process switched from the first controller process and to stop the buffering.

### Claim 11 (depends on 10)

The communication apparatus according to claim 10, wherein, when starting the buffering, the rollback control unit controls to cause the dispatcher to provide to the buffer, all of one or more packets that are received during when the first controller process is processing the event, and are to be dispatched to the first controller process, the buffer storing all of the one or more packets provided thereto, and
wherein upon completion of processing of the event by the first controller process, the rollback control unit controls to cause the dispatcher to change the first controller process defined as the target process in the dispatch rule to the second controller process switched from the first controller process.

### Claim 12 (depends on 10)

The communication apparatus according to claim 10, wherein the first and second controller processes are configured to be executed in an isolated environment allocated thereto, the isolated environment arranged for each of the first and second controller processes being isolated from each of one or more environments arranged for other one or more processes.

### Claim 13 (depends on 1)

The communication system comprising:
one or more switches, each composed by the communication apparatus as set forth in claim 1, and adapted to perform a flow-based packet forwarding; and
a controller to control the one or more switches, wherein in the communication apparatus,
the rollback control unit creates a second process to roll back a currently working first switch process thereto; and
the storage unit stores states shared by the first switch process and the second switch process, the storage unit enabling the second switch process to take over the one or more states stored therein; wherein the switch further comprises:
a network interface adapted to be connected to a network; and
a dispatcher that dispatches a packet or a message received to an associated switch process, based on a dispatch rule that defines association between a matching condition and a target switch process to which a received packet corresponding to the matching condition is to be dispatched,
wherein, after creating the second switch process, the rollback control unit, upon finding that the first switch process is in process of handling an event related with a packet received, controls to start buffering such that the buffer is set to store all of one or more packets that are received during when the first switch process is processing the event and are to be dispatched by the dispatcher to the first switch process, and
wherein under a control of the timing control unit, upon completion of the processing of the event by the first switch process, the rollback control unit performs switching of a working process from the first switch process to the second switch process, and
the rollback control unit controls to send all of the one or more packets stored from start of the buffering in the buffer to the second switch process switched from the first switch process and to stop the buffering.

### Claim 14 (depends on 13)

The communication system according to claim 13, wherein, when starting the buffering, the rollback control unit controls to cause the dispatcher to provide to the buffer, all of one or more packets that are received during when the first switch process is processing the event, and are to be dispatched to the first switch process, the buffer storing all of the one or more packets provided thereto, and
wherein upon completion of processing of the event by the first switch process, the rollback control unit controls to cause the dispatcher to change the first switch process defined as the target switch process in the dispatch rule to the second switch process switched from the first switch process.

### Claim 15

(canceled)

### Claim 16 (depends on 13)

The communication system according to claim 13, wherein the controller comprises:
a rollback control unit that creates a second controller process and rolls back a currently working first controller process thereto;
a storage unit that stores states shared by the first controller process and the second controller process, the storage unit enabling the second controller process to take over the one or more states stored therein;
a buffer;
a timing control unit that controls of timing of rollback,
a network interface adapted to be connected to the ore or more switches; and
a dispatcher that dispatches a packet received to an associated controller process, based on a dispatch rule that defines association between a matching condition and a target controller process to which a received packet corresponding to the matching condition is to be dispatched,
wherein, after creating the second controller process, the rollback control unit, upon finding that the first controller process is in process of handling an event related with a packet received, controls to start buffering such that the buffer is set to store all of one or more packets that are received during when the first controller process is processing the event and are to be dispatched by the dispatcher to the first controller process, and
wherein under a control of the timing control unit, upon completion of the processing of the event by the first controller process, the rollback control unit performs switching of a working process from the first controller process to the second controller process, and
the rollback control unit controls to send all of the one or more packets stored from start of the buffering in the buffer to the second controller process switched from the first controller process and to stop the buffering.

### Claim at position 17

17-19. (canceled)

### Claim 20

A computer-implemented rollback method, comprising:
creating a second process to roll back a currently working first process thereto, the first process and the second process sharing states stored in a storage unit, the second process being enabled to take over the one or more states stored in the storage unit;
starting, after the second process is created, event buffering to store in a buffer all of one or more events received and destined to the first process during the rollback, when the first process is processing an event; and
upon completion of the processing of the event by the first process, performing switching of a working process from the first process to the second process; and
sending all of the one or more events stored from start of the event buffering in the buffer to the second process switched from the first process and stopping the event buffering.

### Claim 21 (depends on 20)

The rollback method according to claim 20, comprising:
dispatching, by a dispatcher, a signal received to an associated process, based on a dispatch rule that defines association between a matching condition and a target process to which a received signal corresponding to the matching condition is to be dispatched.

### Claim 22 (depends on 21)

The rollback method according to claim 21, comprising:
in the event buffering, providing, by the dispatcher, to the buffer, all of one or more packets that are received during when the first process is processing the event and that are to be dispatched to the first process, the one or more packets corresponding to the one or more events, the buffer storing the one or more packets provided thereto; and
upon completion of the processing of the event by the first process, changing a destination of a packet in the dispatch rule to the second process switched from the first process.

### Claim 23

(canceled)

### Claim 24

A non-transitory computer readable medium storing a program causing a computer to execute processing comprising:
creating a second process to roll back a currently working first process thereto;
the first process and the second process sharing one or more states stored in a storage, the second process being enable to take over the one or more states stored in the storage unit;
dispatching a packet received to an associated process, based on a dispatch rule that defines association between a matching condition and a target process to which a received packet corresponding to the matching condition is to be dispatched;
after creating the second process, upon finding that the first process is in process of handling an event related with a packet received, starting buffering to store in a buffer all of one or more packets that are received during when the first process is processing the event and that are to be dispatched to the first process;
upon completion of the processing of the event by the first process, performing switching of a working process from the first process to the second process; and
sending all of the one or more packets stored from start of the buffering in the buffer to the second process switched from the first process and stopping the buffering.

### Claim 25 (depends on 24)

The non-transitory computer readable medium according to claim 24, storing a program causing the computer to execute processing comprising:
upon completion of processing of the event by the first process, changing the first process defined as the target process in the dispatch rule to the second process switched from the first process.

### Claim 26

(canceled)
