Unlock instant, AI-driven research and patent intelligence for your innovation.

An asynchronous state change notification method, system and device

A state change and notification system technology, applied in multi-programming devices, inter-program communication, program control design, etc., can solve the problems of wasting system operation efficiency and inefficiency, and achieve the effect of avoiding system inefficiency and resource waste.

Active Publication Date: 2022-07-15
SUZHOU METABRAIN INTELLIGENT TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a kind of asynchronous state change notification method, system and device, from triggering an asynchronous notification event due to state jitter to the completion of this asynchronous notification event processing, state jitter will only generate an asynchronous notification event, thereby avoiding frequent Resource waste and low system operation efficiency caused by notification callback

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • An asynchronous state change notification method, system and device
  • An asynchronous state change notification method, system and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055]The core of the present invention is to provide an asynchronous state change notification method, system and device. During the period from when an asynchronous notification event is triggered due to state jitter to the completion of processing of the asynchronous notification event, only one asynchronous notification event is generated by the state jitter, thereby avoiding frequent Problems such as resource waste and low system operation efficiency caused by notification callbacks.

[0056] In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention,...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an asynchronous state change notification method, system and device. When a target state in the system changes, the instance index corresponding to the changed target state is recorded; it is judged whether there is an unprocessed asynchronous notification event currently. ; if not, send the first asynchronous notification event to the event processing module, so that the event processing module performs notification callback based on the instance index of this record, and marks the first asynchronous notification event as processed after the notification callback is completed ; if so, wait for the unprocessed asynchronous notification event to complete processing, and do not trigger a new asynchronous notification event. It can be seen that during the period from when an asynchronous notification event is triggered due to state jitter to the completion of processing of the asynchronous notification event, only one asynchronous notification event is generated by the state jitter, thereby avoiding the waste of resources and low system operation efficiency caused by frequent notification callbacks. .

Description

technical field [0001] The present invention relates to the field of state change notification, in particular to an asynchronous state change notification method, system and device. Background technique [0002] In a software system, when a certain data state changes, specific actions need to be taken to deal with this state change. Usually, a subscription for state change is added, that is, when the state changes, the notification callback function is called immediately to notify the subscription. By. However, in some scenarios, state jitter may occur, that is, a state changes multiple times in a short period of time, and subscribers are notified each time it changes, especially when a state corresponds to multiple instances, This state jitter will be magnified exponentially, resulting in frequent notification callbacks. Frequent notification callbacks not only waste resources, but also seriously affect the operating efficiency of the system. [0003] Therefore, how to pr...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/32G06F9/54G06F11/30
CPCG06F11/3055G06F11/302G06F11/328G06F9/542
Inventor 郭强
Owner SUZHOU METABRAIN INTELLIGENT TECH CO LTD