Conditional Event Delivery via Task Execution Feedback
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing internet services that periodically send event objects from a backend lack user interaction due to the inability to engage users before the event object is sent, affecting implementation efficiency.
Innovation Solution
A method where a server system receives communication requests from terminal devices, adds them to a communication group, sends a task for execution, and only sends an event object when the task execution result meets a predetermined condition, allowing for user interaction before the event object is sent.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Extent of automation
If the back end periodically sends event objects to terminal devices, then the event object delivery is simple and automated, but user interaction cannot be performed before the event object is sent
Solution Approach 1:
The system performs preliminary actions by sending task events to terminal devices before sending the actual event objects. Terminal devices execute these tasks and return results, allowing the server to evaluate conditions and determine whether to proceed with sending event objects. This preliminary task execution phase enables user interaction while maintaining automated control flow.
Solution Approach 2:
The system implements feedback mechanisms where terminal devices send task execution results back to the server. The server evaluates these results against predetermined conditions to determine subsequent actions. This feedback loop enables conditional logic and user interaction while maintaining automated event object delivery based on evaluated conditions.
2Device complexity
If the back end uses periodic sending of event objects, then the implementation process is simple, but the service efficiency is reduced due to lack of user interaction
Solution Approach 1:
The system segments the event delivery process into distinct phases: task event sending, task execution, result evaluation, and conditional event object sending. This segmentation allows each phase to be handled independently with appropriate complexity, improving overall efficiency while maintaining manageable system architecture.
Solution Approach 2:
The system introduces dynamic conditional logic where the sending of event objects is not fixed but depends on evaluated task execution results. This dynamic approach allows the system to adapt to user interactions and conditions, improving service efficiency by avoiding unnecessary event object deliveries while maintaining simple automated processes for cases that meet conditions.
Data Source
AI summary
This application discloses an event processing method and apparatus. A first communication request is received by a server system from a first terminal device. A second communication request is received by the server system from one or more second terminal devices. The first terminal device and the one or more second terminal devices are added to a same communication group by processing circuitry of the server system. A task to be executed at the one or more second terminal devices is sent to the one or more second terminal devices via the same communication group. A task execution result is received that is associated with task execution by the one or more second terminal devices that execute the task. An event object associated with the task is sent by the server system to the one or more second terminal devices that execute the task when the task execution result satisfies a predetermined condition.


