An event-driven artificial intelligence online real-time analysis method and device

By dividing the business process into multiple work stages and adopting an event-driven approach, the problem of poor adaptability and insufficient status follow-up of traditional AI systems in dynamic environments is solved, and flexible and efficient event processing and event storage are achieved, improving the efficiency of The system's adaptability and efficiency are suitable for applications in many fields.

CN117130869BActive Publication Date: 2024-08-27JIANGSU LIUSHUGE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311164462.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-11
Publication Date
2024-08-27
Estimated Expiration
2043-09-11

AI Technical Summary

Technical Problem

Traditional AI systems lack flexibility in handling complex tasks and dynamic environments, have insufficient status follow-up, incomplete event storage and data traceability mechanisms, fragmented result output, and are difficult to apply to a variety of business scenarios.

Method used

Using an event-driven approach, the business process is divided into multiple work stages. Through event triggering, event processing and event retention, system-level flexible, efficient, and certifiable event processing is achieved, and the processing and status of different event types are supported. transfer.

Benefits of technology

It improves the system's adaptability and efficiency, realizes real-time status follow-up and event delivery, enhances the system's traceability and business analysis capabilities, and is suitable for multi-domain application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117130869B
    Figure CN117130869B
Patent Text Reader

Abstract

The present invention relates to an event-driven artificial intelligence online real-time analysis method and device, which divides the business into multiple operation stages, and provides a flexible, efficient, and event-proof system-level overall solution through event triggering, event driving, and event retention. It solves the problems of poor adaptability of processing methods in traditional AI systems in dynamic environments, insufficient status follow-up, weak traceability, and fragmented result output, thereby improving business analysis efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of artificial intelligence technology, and specifically relates to an event-driven artificial intelligence online real-time analysis method and device. Background Art

[0002] In today's digital age, artificial intelligence technology has become a key driving force in many fields, such as power distribution safety supervision, Internet of Things, smart security, automated production, etc. Applications in these fields require real-time processing of a large number of business events in order to make decisions and take actions quickly. However, traditional AI systems are usually static and lack the ability to dynamically respond to real-time events, which limits their effectiveness and flexibility in quickly adapting to business tasks in processing complex tasks and monitoring applications.

[0003] Existing online AI analysis systems often have challenges and shortcomings in the following aspects:

[0004] 1) Rigid processing method: Traditional AI systems usually work according to static processing procedures and lack the ability to adapt to real-time events, which limits their application in dynamic environments;

[0005] 2) Insufficient status follow-up: Many online AI analysis systems fail to respond to events during operation, making it difficult for users to follow up on the execution status of tasks in real time. The lack of real-time status information will lead to delays in business processing.

[0006] 3) Traceability (event evidence) problem: For monitoring and auditing needs, the event evidence and data traceability mechanisms in the existing system are not sufficient to meet user requirements;

[0007] 4) Fragmented output results and lack of analysis at the business event level: Existing systems often provide scattered output results, which are difficult to summarize, have low analysis efficiency, and rarely provide analysis results at the business event level.

[0008] In the prior art, patent application CN105245001A, an event-driven intelligent alarm processing method and device for substation accidents, aims to meet the requirements of smart substations for intelligent alarm and accident analysis systems. However, the technical solution has deficiencies in versatility, event-driven scope, and comprehensive performance, which are specifically manifested in:

[0009] 1) Field limitation: The advantages of existing technologies in intelligent alarm processing of substation accidents cannot be directly transferred to other fields and can be applied to a variety of business scenarios;

[0010] 2) Limited scope of event-driven: Existing technologies are limited in scope and logic of event-driven, mainly focusing on event triggering under specific conditions, and unable to achieve a wide range of event triggering conditions and process control capabilities;

[0011] 3) Comprehensiveness: Existing technologies focus more on analysis and processing after event triggering, and do not involve real-time analysis and control of the entire general business process. They are unable to consider different types of events, different stages of the process, and post-event processing from a comprehensive perspective.

[0012] In view of the above problems, the event-driven artificial intelligence online real-time analysis system of the present invention came into being, aiming to solve the shortcomings of the existing technology and provide a flexible, efficient and certifiable event solution. Summary of the invention

[0013] The technical problem to be solved by the present invention is to provide an event-driven artificial intelligence online real-time analysis method and device, which divides the business into multiple operation stages, and provides a flexible, efficient, and event-storable system-level overall solution through event triggering, event driving, and event retention, thereby solving the problems of poor adaptability of processing methods in traditional AI systems in dynamic environments, insufficient status follow-up, weak traceability, and fragmented result output.

[0014] In order to solve the above technical problems, a technical solution adopted by the present invention is:

[0015] An event-driven artificial intelligence online real-time analysis method, characterized by including a job phase division process, job start, event triggering process, event processing process, event retention process, and job end;

[0016] Furthermore, the operation phase division process is to divide the entire business process into one or more operation phases, each operation phase represents a key step or phased goal in the business process, and each operation phase includes an event triggering process and an event processing process; the operation start is the business startup entering the first phase;

[0017] Furthermore, the event triggering process is to define the event triggering conditions in each operation stage; the event processing process is that in each operation stage, the system will monitor the status of event triggering in real time, and when the conditions are met, the system will trigger the corresponding event processing action; the event retention process connects the event processing processes of all operation stages, indicating that the content of event retention is allowed to be configured for all event processing actions; the operation end connects the event processing processes of all operation stages, indicating the end of the entire business.

[0018] Furthermore, the event trigger includes but is not limited to timeout event trigger, AI analysis status event trigger and user confirmation event trigger; the timeout event trigger includes but is not limited to exceeding absolute time trigger and exceeding relative time trigger; the AI ​​analysis status event trigger includes but is not limited to triggering by status value change, triggering by status equal to a certain value, triggering by status not equal to a certain value, triggering by status within a certain range, and triggering by status not within a certain range; the confirmation event trigger includes but is not limited to triggering when the user confirms after completing the operation.

[0019] Furthermore, the event processing actions include but are not limited to event reporting and event stage transfer; the event reporting refers to deciding whether to send the event information to a message queue, database or other notification channel through configuration, and the event information includes one or more of not retaining videos, photos and other data, retaining pictures, retaining videos, and retaining other data; the event stage transfer includes but is not limited to transferring to the next stage, transferring to a specified stage, not performing stage transfer, and ending the operation of this operation stage; the end of the operation of this stage is to directly end the business in the current operation stage.

[0020] Furthermore, the event retention includes the storage of one or more items of pictures, videos or other related data.

[0021] The present invention also provides an event-driven artificial intelligence online real-time analysis device, which is characterized in that it includes a job stage division module, an event trigger module, an event processing module and an event retention module. The job stage division module completes the function of dividing the entire business process into one or more job stages, and each job stage contains an event trigger module and an event processing module with the same functions; the event trigger module completes the function of defining event trigger conditions in each job stage; the event processing module completes the function of corresponding event processing actions; the event trigger module in each job stage connects the event processing module in the current job stage and the event processing module in the previous job stage; the event retention module is connected to the event processing module in each job stage to complete the function of retaining the content of all event processing actions.

[0022] The advantages of the present invention are specifically as follows:

[0023] 1) Enhanced flexibility: The event-based driving framework supports the processing and state transfer of different event types, making the system more adaptable and able to meet diverse task requirements;

[0024] 2) Real-time status follow-up: Users can understand the task execution status in real time, improving the efficiency of business management;

[0025] 3) Real-time event delivery: Event messaging middleware supports real-time event delivery, ensuring that key information is available in a timely manner;

[0026] 4) Event Notarization: Event notarization and index query functions improve the traceability of the system.

[0027] The event-driven artificial intelligence online real-time analysis system described in the present invention has brought a series of innovations to the field of artificial intelligence applications, improved the deficiencies of existing systems, and improved business analysis efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is a general business process diagram.

[0029] Figure 2 A schematic diagram of an event trigger item.

[0030] Figure 3 This is an illustration of event reporting configuration.

[0031] Figure 4 Schematic diagram configured for event transfer.

[0032] Figure 5 Schematic diagram of the job phases of the process flow diagram for the operation ticket job implementation.

[0033] Figure 6 Schematic diagram of the job phases of the process flow diagram for the operation ticket job implementation.

[0034] Figure 7 Business flow chart for power distribution uniform inspection.

[0035] Figure 8 This is a block diagram of an event-driven artificial intelligence online real-time analysis device.

[0036] Explanation of the accompanying drawings: 1-job stage division module, 2-event triggering module, 3-event processing module, 4-event retention module. DETAILED DESCRIPTION

[0037] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation modes of the present invention are further described below in conjunction with specific drawings.

[0038] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below. Embodiment 1:

[0039] A general business usually includes multiple operation stages. In each operation stage, the system will perform a series of tasks according to the configured event trigger conditions and processing methods, such as Figure 1 As shown, the event-driven artificial intelligence online real-time analysis method of the present invention takes a general business including three operation stages as an example, and includes the following steps:

[0040] (1) Decompose the entire business into three operational stages;

[0041] (2) The operation starts and enters operation phase 1;

[0042] (3) In the operation phase 1, the system starts to execute the AI ​​analysis task. During the execution process, events are triggered. The event trigger items include timeout events, AI analysis status events, and user confirmation events. Each event is processed according to its configuration, such as Figure 2 As shown:

[0043] The timeout events include: exceeding absolute time and exceeding relative time; the absolute time is a specific moment, such as 12:00 on August 31, 2023; the relative time is the relative duration of the event and another event, such as the running time exceeds 60 seconds;

[0044] The AI ​​analysis status events include: status value change, status equal to a certain value, status not equal to a certain value, status value within a certain range, status value not within a certain range;

[0045] The user confirmation event is the confirmation after the user completes the operation.

[0046] In operation phase 1, the main tasks are event reporting configuration and event phase transfer configuration.

[0047] The event reporting configuration described above is as follows: Figure 3 As shown in the figure, based on the current event reporting configuration, the system decides whether to report the event. If the event is not reported, the system will not push the event to the message queue, nor will it retain the video or picture in the object storage; if the event is configured to be reported, the system will retain the event, push the event to the message queue, and retain one or more of the pictures, videos, other information, or items based on the event retention configuration.

[0048] The event phase transfer configuration is as follows Figure 4As shown, the system determines the processing method after the event is triggered according to the stage transfer configuration. If you choose not to make an event stage transfer, you need to determine whether to end the current stage job and realize the end of the job. If you choose not to end the current stage job, you will continue to perform the tasks of the current stage; if you choose to make an event stage transfer, you need to set the stage transfer target, and you can choose to enter the next operation stage according to the business process or transfer to other operation stages. The other operation stages are any other operation stages decomposed in step 1 except the current operation stage and the next operation stage to be entered in sequence. This flexible transfer configuration allows the job to be dynamically adjusted according to the actual situation.

[0049] (4) Carry out operation phase 2, the steps are the same as step 3;

[0050] (5) Perform operation phase 3, the steps are the same as step 3;

[0051] (6) Job end: The job end method depends on the configuration of the event transfer stage after the event is triggered in each stage. In any job stage, if it is determined that the event stage transfer is not to be performed and it is determined that the job is completed, the job is completed. The job can be ended at any stage. Users can configure the job end method according to specific task requirements and operation goals.

[0052] Through the above process, general jobs can flexibly adapt to a variety of scenarios in actual applications, and realize efficient task execution, event processing and job management according to event triggering and stage transfer configuration, thereby improving the system's degree of automation and responsiveness, and is suitable for application scenarios in multiple fields. Embodiment 2:

[0053] The operation ticket operation is a standardized process for performing a series of operations on power equipment in the power system. It divides complex operation steps into multiple stages and combines event triggering and AI analysis to ensure the compliance and safety of the operation. Taking the operation ticket in this embodiment as an example, an operation ticket inspection operation must include the following 6 operation stages:

[0054] Figure 5 and Figure 6 It is the detailed implementation process of the operation ticket work.

[0055] 1) Break down the entire business into six operational stages.

[0056] 2) Job start: After the operation ticket job is started, it enters the first stage of processing.

[0057] 3) In operation stage 1, two event triggering methods are configured, namely AI analysis status event and timeout event. The AI ​​analysis status event is an event for judging the position of the personnel. When the AI ​​analysis confirms that the operator is standing in the preset correct position, the correct position event is triggered. After the event is triggered, the system reports the event and retains the video of the current stage; the timeout event is to judge whether the correct position event of the personnel is triggered within the 120-second execution time of operation stage 1. If the system triggers a timeout event after 120 seconds, the timeout event will be reported, the video will be retained, and the entire operation will be terminated. If the personnel judges that the position is correct within 120 seconds, the stage will be transferred to operation stage 2.

[0058] 4) In operation stage 2, two event triggering methods are configured, namely AI analysis status event and timeout event. The AI ​​analysis status event is used to determine whether the operator's helmet wearing status, work clothes wearing status, and glove wearing status all meet the preset compliance standards. When the AI ​​analysis confirms that the operator's dress is compliant, the dress compliance event is triggered, and the system reports the event and retains the video of the current stage. The timeout event is used to determine whether the dress compliance event is triggered within the 120-second execution time of operation stage 2. If the system triggers a timeout event after more than 120 seconds, the timeout event will be reported, the video will be retained, and the entire operation will terminate. If it is determined that the personnel's dress is compliant within 120 seconds, the stage will be transferred to operation stage 3.

[0059] 5) In operation stage 3, an event triggering method of AI analysis status is configured, that is, judging whether the initial state of the instrument is correct. When AI analysis shows that the initial state of the instrument to be operated is equal to the preset state value, the instrument initial state correct event is triggered. After the event is triggered, the system reports the event, retains the image, and performs a stage transfer to operation stage 4; if the initial state of the instrument is not equal to the preset state value, the instrument initial state error event is triggered. After the event is triggered, the system reports the event, retains the image, and the entire operation is terminated.

[0060] 6) In operation stage 4, two event triggering modes are configured, namely AI analysis status event and timeout event; the AI ​​analysis status event includes two events, namely the correct operation event of the five-protection coding lock and the misoperation event of the remote local switch. When the AI ​​analysis detects that the five-protection coding lock switches from the "open" state to the "closed" state, the correct operation event will be triggered. After the event is triggered, the system will report the event and retain the video of the current stage; when the AI ​​analysis detects the misoperation of the remote local switch, that is, the state of the remote local switch changes, the event will be triggered. After the event is triggered, the system will report the event, retain the video of the current stage, and terminate the current operation; the timeout event is to determine whether the correct operation event of the five-protection coding lock is triggered within the 120-second execution time of operation stage 4 and whether the remote local switch is not misoperated. If the system triggers a timeout event for more than 120 seconds, the timeout event will be reported, the video will be retained, and the entire operation will be terminated. If it is determined within 120 seconds that the five-protection coding lock is operated correctly and the remote local switch is not operated incorrectly, a stage transfer will be made to operation stage 5.

[0061] 7) In operation stage 5, two event triggering modes are configured, namely AI analysis status event and timeout event; the AI ​​analysis status event includes two events, namely the correct operation event of the remote local switch and the misoperation event of the five-protection coding lock. When the AI ​​analysis detects that the remote local switch is switched from the "remote" state to the "local" state, the correct operation event will be triggered. After the event is triggered, the system will report the event and retain the video of the current stage; when the AI ​​analysis detects the misoperation of the five-protection coding lock, that is, the state of the five-protection coding lock changes, the event will be triggered. After the event is triggered, the system will report the event, retain the video of the current stage, and terminate the current operation; the timeout event is to determine whether the correct operation event of the remote local switch is triggered within the 120-second execution time of operation stage 5 and whether the five-protection coding lock event is not misoperated. If the system triggers a timeout event for more than 120 seconds, the timeout event will be reported, the video will be retained, and the entire operation will be terminated. If it is determined within 120 seconds that the remote local switch is operated correctly and the five-protection coded lock is not operated by mistake, the stage will be transferred to operation stage 6.

[0062] 8) In job stage 6, three event triggering methods are configured, namely AI analysis status event, timeout event, and user confirmation event. The AI ​​analysis status event includes two events, namely, changes in the remote local switch and changes in the status of the five-protection coding lock, which will trigger an error operation event. After the event is triggered, the system will report the event, retain the video of the current stage, and terminate the current job; the timeout event is that the user does not confirm the completion of the operation within the 120-second execution time of job stage 6, the system will trigger a timeout event, the timeout event will report the event, and the video will be retained, and the entire job will be terminated; the user confirmation completion event is that after the user confirms the completion of the operation, the user confirmation completion event will be triggered, and the current job will be completed correctly.

[0063] Through the above process, the operation ticket operation realizes the normalization and standardization of a series of complex operations. Through event triggering and AI analysis, it ensures the compliance and safety of each operation step, which is suitable for the operation scenario of the operation ticket in the power system. Embodiment 3:

[0064] The distribution dress inspection operation is to detect whether there are people in the power system who are not dressed properly within the monitoring range. It plays an important role in the safety of operations in the distribution room.

[0065] Figure 7 Detailed implementation process for distribution clothing inspection:

[0066] 1) Set the distribution clothing inspection process to have only one stage of clothing inspection.

[0067] 2) Operation starts: After the distribution dress inspection operation starts, it enters the dress inspection stage.

[0068] 3) In this stage, the system performs AI analysis to identify whether there are people in the current camera image who are not dressed properly. When AI analysis detects that the operator is dressed improperly in any of the following ways, including not wearing work clothes correctly, not wearing a safety helmet correctly, or not wearing gloves correctly, an event of improper dress will be triggered. Regardless of whether the event is triggered, the system will decide whether to report the event. If it decides to report the event, the video of the current stage will be retained. If the event of improper dress is triggered, the stage will not be transferred, the job will continue to run, and the dress inspection will continue; if the event of improper dress is not triggered, the job ends.

[0069] The event-driven artificial intelligence online real-time analysis device of the present invention is as follows: Figure 8As shown, it includes a job stage division module 1, an event trigger module 2, an event processing module 3 and an event retention module 4. The job stage division module 1 completes the function of dividing the entire business process into one or more job stages, and each job stage contains an event trigger module 2 and an event processing module 3 with the same functions; the event trigger module 2 completes the function of defining event trigger conditions in each job stage; the event processing module 3 completes the function of corresponding event processing actions; the event trigger module 2 in each job stage connects the event processing module 3 in the current job stage and the event processing module 3 in the previous job stage; the event retention module 4 is connected to the event processing module 3 in each job stage to complete the function of retaining the content of all event processing actions.

[0070] The above is a detailed introduction to an event-driven artificial intelligence online real-time analysis method and device provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. An event-driven artificial intelligence online real-time analysis method, characterized in that It includes the process of dividing the operation phases, the start of the operation, the event triggering process, the event handling process, the event retention process, and the end of the operation; The operation phase division process is to divide the entire business process into one or more operation phases, each operation phase represents a key step or phased goal in the business process, and each operation phase includes an event triggering process and an event handling process; The operation start is the business start-up entering the first stage; The event triggering process is to define the event triggering conditions in each operation stage; the event processing process is that in each operation stage, the system will monitor the state of event triggering in real time, and when the conditions are met, the system will trigger the corresponding event processing action; The event retention process connects the event processing processes of all operation stages, and configures the event retention content for all event processing actions; the operation end connects the event processing processes of all operation stages, indicating the end of the entire business; The event processing actions include but are not limited to event reporting and event stage transfer; the event reporting refers to determining whether to send event information to a message queue, database or other notification channel through configuration, and the event information includes not retaining videos, photos and other data or retaining one or more of videos, photos and other data; the event stage transfer includes but is not limited to transferring to the next stage, transferring to a specified stage, not performing stage transfer, and ending the operation of the current operation stage; the end of the operation of the current operation stage is to directly end the business at the current operation stage; The event triggering process includes but is not limited to timeout event triggering, AI analysis status event triggering and user confirmation event triggering; the timeout event triggering includes but is not limited to exceeding absolute time triggering and exceeding relative time triggering; the AI ​​analysis status event triggering includes but is not limited to triggering by state value change, triggering by state equal to a certain value, triggering by state not equal to a certain value, triggering by state within a certain range, and triggering by state not within a certain range; the user confirmation event triggering includes but is not limited to triggering when the user confirms after completing the operation; The event retention process includes storing one or more items of pictures, videos or other related data.