# US 2024/0004730 A1 · Event processing method and device

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

- Number: US 2024/0004730 A1
- Document ID: US20240004730A1
- Status: Published application
- Kind: A1
- Application number: 18/265,100
- Filed: 2021-10-27
- Published: 2024-01-04
- Earliest claimed: 2020-12-04
- Assignees: Spreadtrum Communications (Shanghai) Co., Ltd.
- Applicants: Spreadtrum Communications (Shanghai) Co., Ltd.
- Inventors: Yanping WANG; Zhiwen LIU; Ling ZHOU; Wei LU
- Web page: https://patentgrep.com/patent/US20240004730A1

## CPC

- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 9/4837: {time dependent}
- Y02D 30/70: in wireless communication networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

An event processing method provided by an embodiment of the present disclosure determines M events, where each event is associated with a priority and a minimum working time, M is an integer greater than 1, and the minimum working time of each event is less than duration of a time slice; processes a first event within a first time slice, where the first event is an event having a highest priority among the M events; and in the case that processing duration of the first event reaches the minimum working time of the first event, determines to continue to process the first event within the first time slice, or determines to interrupt processing of the first event and processes a second event within the first time slice.

## Claims

### Claim 1

An event processing method, comprising:
determining M events, wherein each event is associated with a priority and a minimum working time, M is an integer greater than 1, and the minimum working time of each event is less than duration of a time slice;
processing a first event within a first time slice, wherein the first event is an event with a highest priority among the M events; and
in a case that processing duration of the first event reaches the minimum working time of the first event, determining to continue to process the first event within the first time slice, or determining to interrupt processing of the first event and processing a second event within the first time slice.

### Claim 2 (depends on 1)

The method according to claim 1, wherein each of the events is further associated with: an identification of continuation of work or an identification of interruption of work in a case that the processing duration of the event reaches the minimum working time;
in the case that the processing duration of the first event reaches the minimum working time of the first event, determining to continue to process the first event within the first time slice, or determining to interrupt the processing of the first event and processing the second event within the first time slice comprises:
in the case that the processing duration of the first event reaches the minimum working time of the first event, based on that the first event is associated with the identification of continuation of work, determining to continue to process the first event within the first time slice;
or, based on that the first event is associated with the identification of interruption of work, determining to interrupt the processing of the first event and processing the second event within the first time slice.

### Claim 3 (depends on 1)

The method according to claim 1, wherein after determining to interrupt the processing of the first event and processing the second event within the first time slice, the method further comprises:
in a case that the processing duration of the second event reaches the minimum working time of the second event and the second event is associated with the identification of continuation of work, continuing to process the second event within the first time slice; and
in a case that processing of the second event is completed and there is remaining duration in the first time slice, continuing to process the first event in the first time slice.

### Claim 4 (depends on 1)

The method according to claim 1, wherein each of the events is further associated with: an identification of allowed multiplexing of a time slice or an identification of not allowed multiplexing of a time slice; and
determining to interrupt the processing of the first event and processing the second event within the first time slice comprises:
determining to interrupt the processing of the first event and selecting a second event associated with the identification of allowed multiplexing of the time slice among the M events; and
processing the second event in the first time slice.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the second event is an event with a priority lower than the first event among the M events.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the second event does not belong to the M events and the priority of the second event is higher than the priority of the first event.

### Claim 7 (depends on 1)

The method according to claim 1, further comprising:
in a case that the processing of the second event is not completed and the duration of the first time slice is exhausted, continuing to process the second event in a second time slice.

### Claim 8

An event processing apparatus, comprising:
at least one processor and a memory;
the memory store computers executable instructions;
the at least one processor executes the computer executable instructions stored in the memory to:
determine M events, wherein each event is associated with a priority and a minimum working time, M is an integer greater than 1, and the minimum working time of each event is less than duration of a time slice;
process a first event within a first time slice, wherein the first event is an event with a highest priority among the M events; and
in a case that processing duration of the first event reaches the minimum working time of the first event, determine to continue to process the first event within the first time slice, or determine to interrupt processing of the first event and process a second event within the first time slice.

### Claim 9 (depends on 8)

The apparatus according to claim 8, wherein the processor is specifically configured to:
in the case that the processing duration of the first event reaches the minimum working time of the first event, based on that the first event is associated with an identification of continuation of work, determine to continue to process the first event within the first time slice;
or, based on that the first event is associated with an identification of interruption of work, determine to interrupt the processing of the first event and process the second event within the first time slice.

### Claim 10 (depends on 8)

The apparatus according to claim 8, wherein the processor is further configured to:
in a case that the processing duration of the second event reaches the minimum working time of the second event and the second event is associated with the identification of continuation of work, continue to process the second event within the first time slice;
in a case that processing of the second event is completed and there is remaining duration in the first time slice, continue to process the first event in the first time slice.

### Claim 11 (depends on 8)

The apparatus according to claim 8, wherein the processor is specifically configured to:
determine to interrupt the processing of the first event and select a second event associated with an identification of allowed multiplexing of a time slice among the M events; and
process the second event in the first time slice.

### Claim 12 (depends on 11)

The apparatus according to claim 11, wherein the second event is an event with a priority lower than the first event among the M events

### Claim 13 (depends on 8)

The apparatus according to claim 8, wherein the second event does not belong to the M events and the priority of the second event is higher than the priority of the first event

### Claim 14 (depends on 8)

The apparatus according to claim 8, wherein the processor is further configured to:
in a case that the processing of the second event is not completed and the duration of the first time slice is exhausted, continue to process the second event in a second time slice.

### Claim 15

(canceled)

### Claim 16

A transitory computer readable storage medium, wherein the non-transitory computer readable storage medium stores a computer program, which when executed by a processor, the processor is enabled:
determine M events, wherein each event is associated with a priority and a minimum working time, M is an integer greater than 1, and the minimum working time of each event is less than duration of a time slice;
process a first event within a first time slice, wherein the first event is an event with a highest priority among the M events; and
in a case that processing duration of the first event reaches the minimum working time of the first event, determined to continue to process the first event within the first time slice, or determine to interrupt processing of the first event and process a second event within the first time slice.

### Claim 17 (depends on 2)

The method according to claim 2, wherein after determining to interrupt the processing of the first event and processing the second event within the first time slice, the method further comprises:
in a case that the processing duration of the second event reaches the minimum working time of the second event and the second event is associated with the identification of continuation of work, continuing to process the second event within the first time slice; and
in a case that processing of the second event is completed and there is remaining duration in the first time slice, continuing to process the first event in the first time slice.

### Claim 18 (depends on 9)

The apparatus according to claim 9, wherein the processor is further configured to:
in a case that the processing duration of the second event reaches the minimum working time of the second event and the second event is associated with the identification of continuation of work, continue to process the second event within the first time slice,
in a case that processing of the second event is completed and there is remaining duration in the first time slice, continue to process the first event in the first time slice.

### Claim 19 (depends on 16)

The non-transitory computer readable storage medium according to claim 16, wherein each of the events is further associated with: an identification of continuation of work or an identification of interruption of work in a case that the processing duration of the event reaches the minimum working time, in a case that the computer program is executed by the processor, the processor is further enabled to:
in the case that the processing duration of the first event reaches the minimum working time of the first event, based on that the first event is associated with the identification of continuation of work, determine to continue to process the first event within the first time slice;
or, based on that the first event is associated with the identification of interruption of work, determine to interrupt the processing of the first event and process the second event within the first time slice.

### Claim 20 (depends on 16)

The non-transitory computer readable storage medium according to claim 16, wherein when the computer program is executed by the processor, the processor is further to:
in a case that the processing duration of the second event reaches the minimum working time of the second event and the second event is associated with the identification of continuation of work, continue to process the second event within the first time slice; and
in a case that processing of the second event is completed and there is remaining duration in the first time slice, continue to process the first event in the first time slice.

### Claim 21 (depends on 16)

The non-transitory computer readable storage medium according to claim 16, wherein each of the events is further associated with: an identification of allowed multiplexing of a time slice or an identification of not allowed multiplexing of a time slice, and
when the computer program is executed by the processor, the processor is further enabled to:
determine to interrupt the processing of the first event and select a second event associated with the identification of allowed multiplexing of the time slice among the M events; and
process the second event in the first time slice.
