Intelligent output control method, device and equipment and storage medium thereof

By monitoring the latest variable type in the global variable stack, triggering streaming or non-streaming processing modes, and combining this with output control strategies, the problems of response latency and unstable output rate in intelligent agent output technology are solved, achieving highly flexible and free event processing and ensuring the stability of financial business systems.

CN121658071APending Publication Date: 2026-03-13CHINA PING AN PROPERTY INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-17
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

Existing intelligent agent output technologies suffer from high response latency, poor interactivity, and unstable output rates, making them unsuitable for application scenarios with high requirements for real-time feedback, and users cannot control the streaming output rate.

Method used

By monitoring whether a new variable is written to the global variable stack, it can be determined whether the variable is a streaming variable, triggering the corresponding streaming or non-streaming processing mode. Combined with output control strategies, this enables flexible output of event processing results.

Benefits of technology

It improves user control over event handling and system stability, ensures that the output frequency matches the push frequency, avoids variable accumulation, and guarantees high stability of the financial business processing system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121658071A_ABST
    Figure CN121658071A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of research and development design, and relates to an intelligent output control method, device and equipment and a storage medium thereof.The intelligent output control method comprises the steps that whether a latest variable is written into a global variable stack or not is monitored, and whether the latest variable belongs to a streaming variable or not is judged; if the event belongs to the streaming variable, triggering a starting variable to update an event streaming processing mode; updating an event streaming processing mode according to the newest variable and the variable to obtain an event processing result to be subjected to streaming output; and outputting the event processing result in combination with an output control strategy. And a monitoring mode is adopted, so that the system controllability is improved, and free selection of processing modes is realized through judgment. And an output control strategy is introduced to ensure that the output frequency is combined with the stack-in frequency, so that stacking caused by stack-in variables is avoided, and the stability of the to-be-processed event processing system is fully ensured. The intelligent output control method is applied to the financial service field with complex to-be-processed events, and high stability of a financial service processing system can be guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of research and development design technology, and is applied to the scenario of output control of task event processing results. It relates to an intelligent output control method, device, equipment and its storage medium. Background Technology

[0002] With the rapid development of intelligent agent technology in the field of artificial intelligence, its application in highly interactive and real-time industries such as insurance, finance, and customer service is becoming increasingly widespread. Intelligent agent programs need to have good responsiveness and controllability in order to dynamically generate content based on user input.

[0003] However, current intelligent agent output technology still has the following limitations: First, in the absence of streaming processing, the intelligent agent returns the final result uniformly after the logic is executed, which is common in traditional function call patterns. This prevents users from obtaining intermediate results during program execution, resulting in high response latency, poor interactivity, and difficulty in adapting to application scenarios with high requirements for immediate feedback. The corresponding event output has low controllability. Second, in the streaming processing mode, a token-by-token output mechanism is often used to gradually push the output content to the user. Users cannot control the streaming output, which may lead to excessively high or low output rates, causing instability in the event processing system. Summary of the Invention

[0004] The purpose of this application is to provide an intelligent output control method, device, equipment and its storage medium to solve the technical problems of low controllability of event output and instability of event processing system in the prior art.

[0005] Firstly, embodiments of this application provide an intelligent output control method, which adopts the following technical solution:

[0006] An intelligent output control method includes the following steps:

[0007] Monitor whether the latest variable has been written to the preset global variable stack, wherein the global variable stack supports multi-threaded concurrent writing and calling processing;

[0008] If a new variable is written to the global variable stack, then determine whether the new variable belongs to the preset streaming variable;

[0009] If the latest variable belongs to the preset streaming variable, then the preset variable update event streaming processing mode is triggered.

[0010] The event streaming mode is updated based on the latest variables and the variables to obtain the event processing results to be streamed.

[0011] Based on the preset output control strategy, the event processing result is output.

[0012] Secondly, embodiments of this application also provide an intelligent output control device, which adopts the following technical solution:

[0013] An intelligent output control device, comprising:

[0014] The variable write monitoring module is used to monitor whether the latest variable has been written to the preset global variable stack. The global variable stack supports multi-threaded concurrent write and call processing.

[0015] The streaming variable judgment module is used to determine whether the latest variable belongs to the preset streaming variable if the latest variable is written to the global variable stack.

[0016] The trigger startup module is used to trigger the startup of a preset variable update event streaming processing mode if the latest variable belongs to a preset streaming variable.

[0017] The event processing result acquisition module is used to update the event streaming processing mode based on the latest variable and the variable, and obtain the event processing result to be streamed output;

[0018] The event processing result output module is used to output the event processing result in combination with a preset output control strategy.

[0019] Thirdly, embodiments of this application also provide a computer device that adopts the technical solution described below:

[0020] A computer device includes a memory and a processor, wherein the memory stores computer-readable instructions, and the processor executes the computer-readable instructions to implement the steps of the intelligent output control method described above.

[0021] Fourthly, embodiments of this application also provide a computer-readable storage medium, which adopts the technical solutions described below:

[0022] A computer-readable storage medium storing computer-readable instructions, which, when executed by a processor, implement the steps of the intelligent output control method described above.

[0023] Compared with the prior art, the embodiments of this application have the following main advantages:

[0024] The intelligent output control method described in this application monitors whether a new variable has been written to the global variable stack to determine if the new variable is a streaming variable. If it is a streaming variable, a streaming processing mode for variable update events is triggered. Based on the new variable and the streaming processing mode for variable update events, the event processing result to be streamed is obtained. Combined with a preset output control strategy, the event processing result is output. The monitoring method enhances user control over the events to be processed. By determining whether the new variable is a streaming variable, the user can freely choose between streaming and non-streaming processing modes, ensuring high freedom and flexibility in processing events. The output control strategy ensures that the output frequency strictly follows the stack push frequency. When the stack push frequency is high, the output frequency of the event processing result is appropriately increased to avoid stack accumulation of variables, thus fully guaranteeing the stability of the event processing system. Applying this intelligent output control method to the complex financial business domain can ensure the high stability of the financial business processing system. Attached Figure Description

[0025] To more clearly illustrate the solutions in this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0026] Figure 1 This is an exemplary system architecture diagram to which this application can be applied;

[0027] Figure 2 This is a flowchart of an embodiment of an intelligent output control method according to this application;

[0028] Figure 3 This is a flowchart of a specific embodiment of the intelligent output control method described in this application, in which the event-generating agent prepares for event generation.

[0029] Figure 4 This is a flowchart of a specific embodiment of the intelligent output control method described in this application for generating and outputting events to be processed;

[0030] Figure 5 yes Figure 2 A flowchart of a specific embodiment of step 202 shown;

[0031] Figure 6 This is a flowchart of a specific embodiment of the intelligent output control method described in this application, which uses a non-streaming processing mode for event processing;

[0032] Figure 7 yes Figure 2 A flowchart of a specific embodiment of step 204 shown;

[0033] Figure 8 This is a schematic diagram of one embodiment of an intelligent output control device according to this application;

[0034] Figure 9 This is a schematic diagram of the structure of one embodiment of the computer device according to this application. Detailed Implementation

[0035] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein in the specification of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having," and any variations thereof, in the specification, claims, and foregoing drawings of this application, are intended to cover non-exclusive inclusion. The terms "first," "second," etc., in the specification, claims, or foregoing drawings of this application are used to distinguish different objects, not to describe a particular order.

[0036] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0037] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.

[0038] like Figure 1 As shown, system architecture 100 may include terminal device 101, network 102, and server 103. Terminal device 101 may be a laptop 1011, tablet 1012, or mobile phone 1013. Network 102 is used as a medium to provide a communication link between terminal device 101 and server 103. Network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables.

[0039] Users can use terminal device 101 to interact with server 103 via network 102 to receive or send messages, etc. Various communication client applications can be installed on terminal device 101, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social media platform software, etc.

[0040] Terminal device 101 can be various electronic devices with a display screen and support web browsing. In addition to laptop computer 1011, tablet computer 1012 or mobile phone 1013, terminal device 101 can also be e-book reader, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer and desktop computer, etc.

[0041] Server 103 can be a server that provides various services, such as a backend server that provides support for the pages displayed on terminal device 101.

[0042] It should be noted that the intelligent output control method provided in this application embodiment is generally executed by a server, and correspondingly, an intelligent output control device is generally installed in the server.

[0043] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0044] Continue to refer to Figure 2 The diagram illustrates a flowchart of an embodiment of an intelligent output control method according to this application. The intelligent output control method includes the following steps:

[0045] Step 201: Monitor whether the latest variable has been written to the preset global variable stack, wherein the global variable stack supports multi-threaded concurrent writing and calling processing.

[0046] In this embodiment, the preset global variable stack can be understood as a preset intermediate cache space. The variable data stored in the intermediate cache space is global, that is, it is in a state that can be called by all executed functions.

[0047] Specifically, the global variable stack supports multi-threaded concurrent writing and calling, that is, writing variable data to the global variable stack and calling cached variable data from the global variable stack both support multi-threaded concurrent processing. In other words, multiple variable data can be written to the global variable stack at the same time, and multiple variable data can be called from the global variable stack at the same time.

[0048] By configuring the global variable stack to support multi-threaded concurrent writing and calling, the data processing throughput of the intelligent output in this application is guaranteed. Applying the intelligent output control method to financial business events with complex processing tasks enables streaming writing and processing of continuously input business data from the same customer, as well as high-concurrency writing and processing of business data output from multiple customers, ensuring the high stability of the financial business processing system.

[0049] In this embodiment, the monitoring of whether the latest variable has been written to the preset global variable stack can be achieved using a preset write monitoring component. By monitoring, the user's control over the events to be processed is improved.

[0050] Step 202: If a new variable is written to the global variable stack, determine whether the new variable belongs to the preset streaming variables.

[0051] In this embodiment, the latest variables written in the global variable stack include streaming variable types and non-streaming variable types. Accordingly, streaming variables are processed using a preset streaming variable update event processing mode, while non-streaming variables are processed using a preset non-streaming variable update event processing mode. It should be understood that streaming processing mode and non-streaming processing mode are two different variable update event processing modes.

[0052] Specifically, the preset streaming variables are user-defined in advance. The specific streaming variables and their data vary depending on the actual business event processing requirements.

[0053] By determining whether the latest variable belongs to the preset streaming variables, event update processing can be performed on the latest variables written to the global variable stack. Specifically, if the latest variable belongs to the preset streaming variables, the streaming processing mode is selected to process the event to be processed; if the latest variable does not belong to the preset streaming variables, the non-streaming processing mode is selected to process the event to be processed. This realizes the free selection of streaming processing mode and non-streaming processing mode, ensuring high freedom and flexibility in processing the event to be processed.

[0054] Step 203: If the latest variable belongs to the preset streaming variable, then the preset variable update event streaming processing mode is triggered.

[0055] In this embodiment, the variable update event streaming processing mode can be triggered by a trigger. Once it is determined that the latest variable belongs to a preset streaming variable, the preset variable update event streaming processing mode is triggered by the trigger to process the variable update event for the streaming variable.

[0056] Step 204: Update the event streaming mode according to the latest variables and the variables to obtain the event processing results to be streamed.

[0057] Specifically, update processing parameters can be identified based on the latest variables, and the event processing result can be obtained by combining the update processing parameters with the variable update event streaming processing mode.

[0058] Step 205: Based on the preset output control strategy, output the event processing result.

[0059] In this embodiment, the preset output control strategy includes controlling the event processing result to be streamed on the output interface when the event processing result is obtained by streaming processing mode; and controlling the event processing result to be non-streamed on the output interface when the event processing result is obtained by non-streaming processing mode. The preset output control strategy also includes controlling the output frequency of the event processing result, for example, outputting the event processing result according to a preset output time interval, such as once every 5 seconds.

[0060] In this embodiment, by monitoring whether a new variable has been written to the global variable stack, it is determined whether the new variable belongs to the streaming variable category. If it does, the streaming processing mode for the variable update event is triggered. Based on the new variable and the streaming processing mode for the variable update event, the event processing result to be streamed is obtained. Combined with a preset output control strategy, the event processing result is output. The monitoring method enhances the user's control over the events to be processed. By determining whether the new variable belongs to the streaming variable category, the user can freely choose between streaming and non-streaming processing modes, ensuring high freedom and flexibility in processing events. By introducing an output control strategy, the output frequency is strictly combined with the stack push frequency. When the stack push frequency is high, the output frequency of the event processing result is appropriately increased to avoid accumulation of variables on the stack, thus fully ensuring the stability of the event processing system. Applying this intelligent output control method to the complex financial business domain can guarantee the high stability of the financial business processing system.

[0061] Continue to refer to Figure 3 In some specific implementations, before step 201, a preparatory step is included where the event-generating agent performs pre-event generation preparation. Figure 3 This is a flowchart of a specific embodiment of the intelligent output control method described in this application, in which the event-generating agent prepares for event generation, including:

[0062] Step 301: Activate the preset event-generating agent;

[0063] Step 302: Connect the event generation output interface of the event generation agent to the preset global variable stack;

[0064] By connecting the event generation output interface of the event generation agent to the preset global variable stack, the generated event data can be output to the global variable stack after the event data is generated.

[0065] Step 303: Initialize the user input interface of the event-generating agent.

[0066] In this embodiment, the event generating agent includes a task event automated generation component or model. After obtaining task data or task description data in natural language form input by the user, the event generating agent can perform natural language understanding and semantic parsing on the task data or task description data to clarify the user's input intent and generate corresponding task events.

[0067] Continue to refer to Figure 4 In some specific implementations, after step 303, a step of generating and outputting the event to be processed is also included. Figure 4 This is a flowchart of a specific embodiment of the intelligent output control method described in this application, which involves the generation and output of events to be processed, including:

[0068] Step 401: Receive task data in natural language form input by the target user at the user input interface;

[0069] Step 402: Invoke a preset language processing model or a custom processing function to understand and analyze the task data and generate the event to be processed corresponding to the target user;

[0070] In this embodiment, the preset language processing model includes a natural language understanding and semantic parsing model, and the custom processing function includes a pre-packaged natural language parsing function. At least the preset language processing model or the custom processing function can identify and understand the task data in natural language form input by different users on the user input interface.

[0071] Step 403: The event to be processed is output to the preset global variable stack through the event generation output interface of the event generating agent.

[0072] In this embodiment, in conjunction with the preset global variable stack, after generating the corresponding pending events based on the task data or task description data input by the user, the pending events are no longer processed immediately. Instead, the pending events are output to the preset global variable stack. Then, based on the pending events, i.e. the variable type of the latest variable, a non-streaming processing mode or a streaming processing mode is selected for processing, ensuring the delay of the pending events and more flexible processing.

[0073] In this embodiment, the step of calling a preset language processing model or a custom processing function to understand and analyze the task data and generate a pending event corresponding to the target user further includes: starting a preset event generation monitoring task; and when the event generation monitoring task detects the generation of the pending event, executing a preset time stamping task to add a generation time stamp to the generated pending event.

[0074] Specifically, by using the preset event generation monitoring task, a generation time stamp can be added to the generated event when it is generated. This makes it easier to distinguish the generated event from the variables in the global variable stack when it is output as the latest variable to the global variable stack. It also facilitates the identification and calling of the latest variable by the subsequent processing program.

[0075] Continue to refer to Figure 5 , Figure 5 yes Figure 2 A flowchart of a specific embodiment of step 202 shown includes:

[0076] Step 501: Using a preset variable capture mechanism, the latest variable is obtained from the global variable stack. The variable capture mechanism triggers the capture action when it detects that the latest variable has been written to the global variable stack.

[0077] In this embodiment, after detecting that the latest variable has been written into the preset global variable stack, a variable capture mechanism is also set up. Specifically, the variable capture mechanism can capture and identify the latest variable based on the generated time stamp.

[0078] Step 502: Compare the latest variable with all variables in the preset streaming variable custom form;

[0079] In this embodiment, the preset streaming variable custom form records the streaming variables that the user has pre-defined according to the actual business event processing needs, and serves as a comparison and reference.

[0080] Step 503: If the latest variable is consistent with any variable in the custom form of the streaming variable, then the latest variable belongs to the preset streaming variable.

[0081] By comparison, it can be identified whether the latest variable belongs to the preset streaming variables, so that different processing modes, namely streaming processing mode or non-streaming processing model, can be used to process the latest variable.

[0082] Continue to refer to Figure 6 In some specific implementations, after step 202, a step of event processing using a non-streaming processing mode is also included. Figure 6 This is a flowchart of a specific embodiment of the intelligent output control method described in this application, which employs a non-streaming processing mode for event handling, including:

[0083] Step 601: If the latest variable does not belong to the preset streaming variables, then trigger the start of the preset variable update event non-streaming processing mode.

[0084] Specifically, following step 503 above, if the latest variable is inconsistent with any variable in the custom form of the streaming variable, then the latest variable does not belong to the preset streaming variable.

[0085] Step 602: Update the event non-streaming processing mode according to the latest variable and the variable to obtain the event processing result to be output non-streaming.

[0086] Step 603: Output the event processing result using a non-streaming output method.

[0087] Continue to refer to Figure 7 , Figure 7 yes Figure 2 A flowchart of a specific embodiment of step 204 shown includes:

[0088] Step 701: Obtain the variable data or variable value corresponding to the latest variable;

[0089] Specifically, the latest variable refers to the object name or event name, and obtaining the variable data or variable value corresponding to the latest variable means obtaining the execution parameter information corresponding to the object name or event name.

[0090] Step 702: Import the variable data or the variable value as update processing parameters into the variable update event streaming processing mode;

[0091] Specifically, the execution parameter information corresponding to the object name or event name is used as update processing parameters and imported into the variable update event streaming processing mode to obtain the event processing result to be streamed.

[0092] Step 703: After updating the variable update event in the streaming processing mode, the event processing result to be streamed is obtained.

[0093] In this embodiment, before executing the step of outputting the event processing result in combination with the preset output control strategy, the method further includes: activating a pre-built streaming output frequency controller, wherein the streaming output frequency controller dynamically specifies the streaming output frequency of the event processing result, including dynamically adjusting the streaming output frequency according to the variability of the push frequency of the latest variable in the global variable stack;

[0094] Specifically, if the push frequency of the latest variable in the global variable stack exceeds a preset push frequency threshold, the streaming output frequency is dynamically increased; conversely, if the push frequency does not exceed the preset push frequency threshold, the streaming output frequency is dynamically decreased. That is, the push frequency and the streaming output frequency are positively correlated; as the push frequency increases, the streaming output frequency also gradually increases. By introducing dynamic adjustment of the output frequency, the output frequency is strictly combined with the push frequency. When the push frequency of the latest variable in the global variable stack is high, the event processing result output frequency can be appropriately increased. This avoids the accumulation of newly pushed variables in the full variable stack and also avoids serious inconsistencies between push and pop outputs, fully ensuring the stability of the event processing system.

[0095] In this embodiment, the step of outputting the event processing result in conjunction with a preset output control strategy specifically includes: outputting the event processing result according to the streaming output frequency corresponding to the event processing result.

[0096] In this embodiment, by monitoring whether a new variable has been written to the global variable stack, it is determined whether the new variable belongs to the streaming variable category. If it does, the streaming processing mode for the variable update event is triggered. Based on the new variable and the streaming processing mode for the variable update event, the event processing result to be streamed is obtained. Combined with a preset output control strategy, the event processing result is output. The monitoring method enhances the user's control over the events to be processed. By determining whether the new variable belongs to the streaming variable category, the user can freely choose between streaming and non-streaming processing modes, ensuring high freedom and flexibility in processing events. By introducing an output control strategy, the output frequency is strictly combined with the stack push frequency. When the stack push frequency is high, the output frequency of the event processing result is appropriately increased to avoid accumulation of variables on the stack, thus fully ensuring the stability of the event processing system. Applying this intelligent output control method to the complex financial business domain can guarantee the high stability of the financial business processing system.

[0097] The embodiments of this application can acquire and process relevant data based on artificial intelligence technology. Artificial intelligence (AI) is the theory, method, technology, and application system that uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results.

[0098] Foundational technologies for artificial intelligence generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies mainly encompass computer vision, robotics, biometrics, speech processing, natural language processing, and machine learning / deep learning.

[0099] In this embodiment, by monitoring whether a new variable has been written to the global variable stack, it is determined whether the new variable belongs to the streaming variable category. If it does, the streaming processing mode for the variable update event is triggered. Based on the new variable and the streaming processing mode for the variable update event, the event processing result to be streamed is obtained. Combined with a preset output control strategy, the event processing result is output. The monitoring method enhances the user's control over the events to be processed. By determining whether the new variable belongs to the streaming variable category, the user can freely choose between streaming and non-streaming processing modes, ensuring high freedom and flexibility in processing events. By introducing an output control strategy, the output frequency is strictly combined with the stack push frequency. When the stack push frequency is high, the output frequency of the event processing result is appropriately increased to avoid accumulation of variables on the stack, thus fully ensuring the stability of the event processing system. Applying this intelligent output control method to the complex financial business domain can guarantee the high stability of the financial business processing system.

[0100] Further reference Figure 8 As a response to the above Figure 2 To implement the method shown, this application provides an embodiment of an intelligent output control device, which is similar to... Figure 2 Corresponding to the method embodiments shown, this device can be specifically applied to various electronic devices.

[0101] like Figure 8 As shown, the intelligent output control device 800 described in this embodiment includes: a variable writing monitoring module 801, a streaming variable judgment module 802, a trigger start module 803, an event processing result acquisition module 804, and an event processing result output module 805. Wherein:

[0102] The variable write monitoring module 801 is used to monitor whether the latest variable has been written to the preset global variable stack. The global variable stack supports multi-threaded concurrent write and call processing.

[0103] The streaming variable judgment module 802 is used to determine whether the latest variable belongs to the preset streaming variable if the latest variable is written to the global variable stack.

[0104] The triggering module 803 is used to trigger the start of a preset variable update event streaming processing mode if the latest variable belongs to a preset streaming variable.

[0105] The event processing result acquisition module 804 is used to update the event streaming processing mode according to the latest variable and the variable, and obtain the event processing result to be streamed output;

[0106] The event processing result output module 805 is used to output the event processing result in combination with a preset output control strategy.

[0107] This application monitors whether a new variable has been written to the global variable stack to determine if the new variable is a streaming variable. If it is, it triggers a streaming variable update event processing mode. Based on the new variable and the streaming variable update event processing mode, it obtains the event processing result to be streamed. Combined with a preset output control strategy, the event processing result is output. This monitoring method enhances user control over the events to be processed. By determining whether the new variable is a streaming variable, it allows for free selection between streaming and non-streaming processing modes, ensuring high freedom and flexibility in processing events. The output control strategy ensures that the output frequency strictly follows the stack push frequency. When the stack push frequency is high, the event processing result output frequency is appropriately increased to avoid variable accumulation and fully guarantee the stability of the event processing system. Applying this intelligent output control method to the complex financial business domain can ensure the high stability of the financial business processing system.

[0108] In this embodiment, the intelligent output control device 800 further includes an event-generating intelligent agent startup module, an intelligent agent and global variable stack connection module, and a user input interface initialization module. Wherein:

[0109] The event-generating agent startup module is used to start a preset event-generating agent;

[0110] The agent-to-global variable stack connection module is used to connect the event generation output interface of the event generating agent to the preset global variable stack;

[0111] The user input interface initialization module is used to initialize the user input interface of the event generating agent.

[0112] In this embodiment, the intelligent output control device 800 further includes: a task data receiving module, a pending event generation module, and a pending event stacking module. Wherein:

[0113] The task data receiving module is used to receive task data in natural language form input by the target user on the user input interface;

[0114] The pending event generation module is used to call a preset language processing model or a custom processing function to understand and analyze the task data and generate pending events corresponding to the target user.

[0115] The pending event stack module is used to output pending events to the preset global variable stack via the event generation output interface of the event generating agent.

[0116] In this embodiment, the intelligent output control device 800 further includes an event generation and monitoring task initiation module and a time stamp generation and addition module. Wherein:

[0117] The event generation and listening task startup module is used to start preset event generation and listening tasks;

[0118] The time stamp generation module is used to execute a preset time stamp task to add a generation time stamp to the generated event when the event generation listening task detects the generation of the event to be processed.

[0119] In this embodiment, the streaming variable determination module 802 includes a latest variable capture unit, a comparison and identification unit, and a streaming variable determination unit. Wherein:

[0120] The latest variable capture unit is used to obtain the latest variable from the global variable stack using a preset variable capture mechanism, wherein the variable capture mechanism triggers the capture action when it detects that the latest variable has been written to the global variable stack.

[0121] The comparison and identification unit is used to compare the latest variable with all variables in the preset streaming variable custom form;

[0122] The streaming variable determination unit is used to determine if the latest variable is consistent with any variable in the streaming variable custom form, then the latest variable belongs to the preset streaming variable.

[0123] In this embodiment, the intelligent output control device 800 further includes a non-streaming processing mode triggering and starting module, a non-streaming processing mode processing module, and a non-streaming output module. Wherein:

[0124] The non-streaming processing mode trigger startup module is used to trigger the startup of the preset variable update event non-streaming processing mode if the latest variable does not belong to the preset streaming variables.

[0125] The non-streaming processing mode processing module is used to update the event non-streaming processing mode according to the latest variable and the variable, and obtain the event processing result to be output non-streaming.

[0126] The non-streaming output module is used to output the event processing results using a non-streaming output method.

[0127] In this embodiment, the event processing result acquisition module 804 includes a parameter data acquisition unit, an update processing parameter import unit, and an update processing execution unit. Wherein:

[0128] The parameter data acquisition unit is used to acquire the variable data or variable value corresponding to the latest variable;

[0129] The update processing parameter import unit is used to import the variable data or the variable value as update processing parameters into the variable update event streaming processing mode;

[0130] The update processing execution unit is used to obtain the event processing result to be streamed output by updating the variable update event streaming processing mode.

[0131] In this embodiment, the intelligent output control device 800 further includes a streaming output frequency controller startup module. The streaming output frequency controller startup module is used to start a pre-built streaming output frequency controller. The streaming output frequency controller dynamically specifies the streaming output frequency of the event processing result, including dynamically adjusting the streaming output frequency according to the variability of the latest variable push frequency in the global variable stack.

[0132] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing related hardware through computer-readable instructions. These computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the methods described above. The aforementioned storage medium can be a non-volatile storage medium such as a magnetic disk, optical disk, or read-only memory (ROM), or random access memory (RAM).

[0133] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0134] To address the aforementioned technical problems, embodiments of this application also provide a computer device. Please refer to [link / reference needed]. Figure 9 , Figure 9 This is a basic structural block diagram of the computer device in this embodiment.

[0135] The computer device 9 includes a memory 9a, a processor 9b, and a network interface 9c that are interconnected via a system bus. It should be noted that... Figure 9 Only a computer device 9 with component memory 9a, processor 9b, and network interface 9c is shown. However, it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead. Those skilled in the art will understand that the computer device described herein is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.

[0136] The computer device can be a desktop computer, laptop, handheld computer, or cloud server, etc. The computer device can interact with the user via a keyboard, mouse, remote control, touchpad, or voice control.

[0137] The memory 9a includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 9a may be an internal storage unit of the computer device 9, such as the hard disk or memory of the computer device 9. In other embodiments, the memory 9a may also be an external storage device of the computer device 9, such as a plug-in hard disk, smart memory card (SMC), secure digital (SD) card, flash memory card, etc., equipped on the computer device 9. Of course, the memory 9a may also include both the internal storage unit and its external storage device of the computer device 9. In this embodiment, the memory 9a is typically used to store the operating system and various application software installed on the computer device 9, such as computer-readable instructions for an intelligent output control method. In addition, the memory 9a can also be used to temporarily store various types of data that have been output or will be output.

[0138] In some embodiments, the processor 9b may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip. The processor 9b is typically used to control the overall operation of the computer device 9. In this embodiment, the processor 9b is used to execute computer-readable instructions stored in the memory 9a or to process data, for example, to execute computer-readable instructions of the intelligent output control method described above.

[0139] The network interface 9c may include a wireless network interface or a wired network interface, which is typically used to establish communication connections between the computer device 9 and other electronic devices.

[0140] The computer device proposed in this embodiment belongs to the field of research and development design technology and is applied in scenarios where the output of task event processing results is controlled. This application monitors whether a new variable has been written to the global variable stack to determine if the new variable is a streaming variable. If it is a streaming variable, a streaming processing mode for variable update events is triggered. Based on the new variable and the streaming processing mode for variable update events, the event processing result to be streamed is obtained. Combined with a preset output control strategy, the event processing result is output. The monitoring method enhances the user's control over the events to be processed. By determining whether the new variable is a streaming variable, the user can freely choose between streaming and non-streaming processing modes, ensuring high freedom and flexibility in processing events. By introducing an output control strategy, the output frequency is strictly combined with the stack push frequency. When the stack push frequency is high, the output frequency of the event processing result is appropriately increased to avoid accumulation of variables on the stack, thus fully ensuring the stability of the event processing system. Applying this intelligent output control method to the complex financial business field can guarantee the high stability of the financial business processing system.

[0141] This application also provides another embodiment, namely, a computer-readable storage medium storing computer-readable instructions that can be executed by a processor to cause the processor to perform the steps of the intelligent output control method described above.

[0142] The computer-readable storage medium proposed in this embodiment belongs to the field of research and development design technology and is applied in scenarios where output control of task event processing results is performed. This application monitors whether a new variable has been written to the global variable stack to determine if the new variable is a streaming variable. If it is a streaming variable, a streaming processing mode for variable update events is triggered. Based on the new variable and the streaming processing mode for variable update events, the event processing result to be streamed is obtained. Combined with a preset output control strategy, the event processing result is output. The monitoring method enhances the user's control over the events to be processed. By determining whether the new variable is a streaming variable, the user can freely choose between streaming and non-streaming processing modes, ensuring high freedom and flexibility in processing events. The introduction of an output control strategy ensures that the output frequency strictly follows the stack push frequency. When the stack push frequency is high, the output frequency of the event processing result is appropriately increased to avoid accumulation of variables on the stack, thus fully ensuring the stability of the event processing system. Applying this intelligent output control method to the complex financial business field can guarantee the high stability of the financial business processing system.

[0143] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0144] Obviously, the embodiments described above are only some embodiments of this application, not all embodiments. The accompanying drawings show preferred embodiments of this application, but do not limit the patent scope of this application. This application can be implemented in many different forms; rather, the purpose of providing these embodiments is to make the disclosure of this application more thorough and comprehensive. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent substitutions for some of the technical features. Any equivalent structures made using the content of this application's specification and drawings, directly or indirectly applied to other related technical fields, are similarly within the scope of patent protection of this application. Software tools or components not belonging to this company that appear in the embodiments of this application are merely illustrative examples and do not represent actual use.

Claims

1. An intelligent output control method, characterized in that, Includes the following steps: Monitor whether the latest variable has been written to the preset global variable stack, wherein the global variable stack supports multi-threaded concurrent writing and calling processing; If a new variable is written to the global variable stack, then determine whether the new variable belongs to the preset streaming variable; If the latest variable belongs to the preset streaming variable, then the preset variable update event streaming processing mode is triggered. The event streaming mode is updated based on the latest variables and the variables to obtain the event processing results to be streamed. Based on the preset output control strategy, the event processing result is output.

2. The intelligent output control method according to claim 1, characterized in that, Before executing the step of monitoring whether the latest variable has been written to the preset global variable stack, the method further includes: Initiate a preset event to generate an intelligent agent; Connect the event generation output interface of the event generation agent to the preset global variable stack; Initialize the user input interface of the event-generating agent.

3. The intelligent output control method according to claim 2, characterized in that, After performing the step of initializing the user input interface of the event-generating agent, the method further includes: Receive task data in natural language form input by the target user at the user input interface; The system invokes a preset language processing model or a custom processing function to understand and analyze the task data, and generates events to be processed for the target user. The event to be processed is output to the preset global variable stack via the event generation output interface of the event generating agent.

4. The intelligent output control method according to claim 3, characterized in that, The step of calling a preset language processing model or a custom processing function to understand and analyze the task data and generate the event to be processed corresponding to the target user further includes: Initiate a preset event generation and listening task; When the event generation monitoring task detects the generation of the event to be processed, a preset time stamping task is executed to add a generation time stamp to the generated event to be processed.

5. The intelligent output control method according to claim 1, characterized in that, The step of determining whether the latest variable belongs to the preset streaming variables specifically includes: A preset variable capture mechanism is used to obtain the latest variable from the global variable stack. The variable capture mechanism triggers the capture action when it detects that the latest variable has been written to the global variable stack. The latest variable is compared with all variables in the preset streaming variable custom form; If the latest variable is consistent with any variable in the custom form of the streaming variable, then the latest variable belongs to the preset streaming variable.

6. The intelligent output control method according to any one of claims 1 or 5, characterized in that, After performing the step of determining whether the latest variable belongs to a preset streaming variable, the method further includes: If the latest variable does not belong to the preset streaming variables, then the preset variable update event non-streaming processing mode is triggered. Based on the latest variables and the updated event non-streaming processing mode, the event processing result to be non-streamed is obtained; The event processing results are output using a non-streaming output method.

7. The intelligent output control method according to claim 1, characterized in that, Before executing the step of outputting the event processing result in conjunction with the preset output control strategy, the method further includes: Start a pre-built streaming output frequency controller, wherein the streaming output frequency controller dynamically specifies the streaming output frequency of the event processing result, including dynamically adjusting the streaming output frequency based on the variability of the push frequency of the latest variable in the global variable stack; The step of outputting the event processing result in conjunction with a preset output control strategy specifically includes: The event processing result is output according to the streaming output frequency corresponding to the event processing result.

8. An intelligent output control device, characterized in that, include: The variable write monitoring module is used to monitor whether the latest variable has been written to the preset global variable stack. The global variable stack supports multi-threaded concurrent write and call processing. The streaming variable judgment module is used to determine whether the latest variable belongs to the preset streaming variable if the latest variable is written to the global variable stack. The trigger startup module is used to trigger the startup of a preset variable update event streaming processing mode if the latest variable belongs to a preset streaming variable. The event processing result acquisition module is used to update the event streaming processing mode based on the latest variable and the variable, and obtain the event processing result to be streamed output; The event processing result output module is used to output the event processing result in combination with a preset output control strategy.

9. A computer device, characterized in that, The system includes a memory and a processor, wherein the memory stores computer-readable instructions, and the processor executes the computer-readable instructions to implement the steps of the intelligent output control method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-readable instructions, which, when executed by a processor, implement the steps of the intelligent output control method as described in any one of claims 1 to 7.