Event processing method and device, electronic equipment, computer readable storage medium and computer program product

By obtaining and managing the delayed response time of response events, grouping processing and priority management, the excessive resource usage and conflict caused by response events in the human-computer interactive interface are solved, and the stability and response efficiency of the device are improved.

CN120508376APending Publication Date: 2025-08-19TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410182341.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-18
Publication Date
2025-08-19

AI Technical Summary

Technical Problem

In the human-computer interactive interface, when the number of response events is large, the prior art causes excessive equipment resource utilization, resulting in lag or downtime, and the conflicts and execution order between response events cannot be effectively handled.

Method used

By obtaining the delayed response time of the response event, determining the execution time according to the delayed response time, grouping the response events to avoid executing all response events at the same time, and using a timer to manage the execution order and priority of the response events.

Benefits of technology

It reduces the hardware processing resource usage of the device within unit time, avoids event conflicts, reduces the possibility of equipment lag or downtime, and improves the execution efficiency and sequential management of response events.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120508376A_ABST
    Figure CN120508376A_ABST
Patent Text Reader

Abstract

The invention provides an event processing method and device, electronic equipment, a computer readable storage medium and a computer program product, and the method comprises the steps: responding to an operation event triggered in a human-computer interaction interface, obtaining at least one response event used for responding to the operation event, determining the delay response time of each response event, and determining the delay response time of each response event; the delayed response time is the time from the trigger time of the operation event to the time when the corresponding response event is executed, and for each response event, when it is determined that the corresponding execution time arrives based on the delayed response time of the response event, the response event is executed. Through the method and the device, resources occupied in unit time for executing the response event can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an event processing method, device, electronic device, computer-readable storage medium, and computer program product. Background Art

[0002] In related technologies, in order to improve the user experience, linkage events can be set for interaction between users and devices. Linkage events include operation events triggered by users through the human-computer interaction interface, and response events used to respond to the operation events. When there are a large number of response events, all response events corresponding to the operation events can be executed simultaneously in response to the operation events. However, executing all response events corresponding to the operation events simultaneously will result in excessive device resources being occupied per unit time of executing the response events, which may in turn cause problems such as device lag or downtime. Summary of the Invention

[0003] The embodiments of the present application provide an event processing method, device, electronic device, computer-readable storage medium and computer program product, which can reduce the hardware processing resources per unit time for executing a response event, avoid event conflicts when the number of response events is multiple, and reduce the possibility of problems such as device freezes or crashes.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] This embodiment of the present application provides an event processing method, the method comprising:

[0006] In response to an operation event triggered on a human-computer interaction interface, obtaining at least one response event for responding to the operation event;

[0007] Determining a delayed response time for each of the response events, where the delayed response time is the time from the triggering time of the operation event to the execution of the corresponding response event;

[0008] For each of the response events, when a corresponding execution time is determined to have arrived based on the delayed response time of the response event, the response event is executed.

[0009] The present invention provides an event processing device, comprising:

[0010] an acquisition module, configured to, in response to an operation event triggered on the human-computer interaction interface, acquire at least one response event for responding to the operation event;

[0011] a determination module, configured to determine a delayed response time of each of the response events, wherein the delayed response time is the time from the triggering time of the operation event to the execution of the corresponding response event;

[0012] The execution module is configured to execute, for each of the response events, the response event when a corresponding execution time is determined to have arrived based on the delayed response time of the response event.

[0013] In the above method, the device may also include: a division module, which is used to determine the delayed response time of each response event, and then, for each response event, compare the delayed response time of the response event with the delay time threshold; when the delayed response time is less than or equal to the delay time threshold, divide the response event into the first response event group.

[0014] The execution module is further configured to execute each response event in the first response event group when a corresponding execution time is determined to have arrived based on the delayed response time of the response event.

[0015] In the above method, the first response event group includes multiple response events; the execution module is also used to arrange the response events in the first response event group in the order of the delayed response time from short to long to obtain a first event sequence; perform a first poll on the response events in the first event sequence, and the period of the first polling is less than the delay time threshold; during the first polling process, it is determined that when the execution time arrives, the corresponding response event is executed.

[0016] In the above method, the determination module is further used to delete the target response event from the first response event group if it is determined that the target response event in the first response event group is completed; wherein, the target response event is any response event in the first response event group.

[0017] In the above method, the number of times of the first polling is multiple, and the execution module is also used to, for each first polling, determine the response event located first in the first event sequence as the target response event during the process of the first polling; when the corresponding execution time is determined to have arrived based on the delayed response time of the target response event, execute the target response event; when the corresponding execution time is determined to have not arrived based on the delayed response time of the target response event, end the first polling this time.

[0018] In the above method, the division module is also used to compare the delayed response time of the response event with the delay time threshold, and if the delayed response time is greater than the delay time threshold, divide the response event into a second response event group; perform a second poll on the response events in the second response event group, and the period of the second polling is equal to the delay time threshold; during the second polling process, when the difference between the execution time of the response event in the second response event group and the current time is less than or equal to the delay time threshold, divide the corresponding response event into the first response event group.

[0019] In the above method, the second response event group includes multiple response events; the division module is also used to, during the second polling process, for each response event in the second response event group, when the difference between the execution time of the response event and the current time is less than or equal to the delay time threshold, determine the response event as an event to be inserted; when the number of events to be inserted is multiple, arrange the events to be inserted in order from short to long according to the delayed response time to obtain a second event sequence; and divide the second event sequence into the first response event group.

[0020] In the above method, the execution module is also used to create a timer for each delayed response time after determining the delayed response time of each response event. Different timers correspond to different delayed response times. The timer is associated with at least one response event. When the execution time of the response event associated with the time indication of the timer arrives, the response event is executed.

[0021] In the above method, the response event has at least one associated event for responding to the response event; the execution module is also used to obtain the associated event and the execution time of each associated event in response to the response event after executing the response event; and execute each associated event based on the execution time of each associated event.

[0022] In the above method, the response event is used to process visual data; the number of the response events is multiple, and the multiple response events are arranged in order from short to long according to the delayed response time to form a third event sequence, and the third event sequence includes a first response event and a second response event, and the first response event and the second response event are any two adjacent response events in the third event sequence. In the third event sequence, the first response event is sorted before the second response event.

[0023] The execution module is also used to process the first visualization data corresponding to the first response event based on the processing method indicated by the first response event to obtain second visualization data when the corresponding execution time is determined to have arrived based on the delayed response time of the first response event; and to process the second visualization data corresponding to the second response event based on the processing method indicated by the second response event to obtain third visualization data when the corresponding execution time is determined to have arrived based on the delayed response time of the second response event.

[0024] In the above method, each of the response events corresponds to an action in the human-computer interaction interface, and the number of the response events is multiple. The execution module is also used to obtain the relationship between the actions corresponding to each of the third response events when there are multiple third response events with the same execution time; and execute each of the third response events based on the relationship between the actions corresponding to each of the third response events.

[0025] In the above method, the execution module is also used to execute each of the third response events in parallel when the relationship between the actions corresponding to each of the third response events indicates that the actions corresponding to each of the third response events can be superimposed; execute the third response event with the largest delayed response time when the relationship between the actions corresponding to each of the third response events indicates that the actions corresponding to each of the third response events conflict; and execute the third response event corresponding to the last action in the continuous action when the relationship between the actions corresponding to each of the third response events indicates that the actions corresponding to each of the third response events are continuous actions.

[0026] In the above method, the execution module is also used to execute any one of the following: when the target execution time obtained by adding the delayed response time of the response event to the trigger time arrives, the response event is executed; when the difference between the target execution time obtained by adding the delayed response time of the response event to the trigger time and the current time is less than the difference threshold, the response event is executed.

[0027] An embodiment of the present application provides an electronic device, comprising:

[0028] a memory for storing computer-executable instructions;

[0029] The processor is used to implement the event processing method provided in the embodiment of the present application when executing the computer executable instructions stored in the memory.

[0030] An embodiment of the present application provides a computer-readable storage medium storing a computer program or computer-executable instructions for implementing the event processing method provided in the embodiment of the present application when executed by a processor.

[0031] An embodiment of the present application provides a computer program product, including a computer program or computer-executable instructions. When the computer program or computer-executable instructions are executed by a processor, the event processing method provided in the embodiment of the present application is implemented.

[0032] The embodiments of the present application have the following beneficial effects:

[0033] In the event processing method provided in the embodiment of the present application, after obtaining the response event, the delayed response time of the response event can be determined, and then for each response event, when the corresponding execution time is determined to be arrived based on the delayed response time of the response event, the response event is executed. That is to say, each response event has a corresponding delayed response time, and the delayed response time can be used to determine the execution time of the response event, so that the response event can be executed at the corresponding execution time. When the number of response events is multiple, there is no need to execute all response events corresponding to the operation event at the same time. Compared with the method of executing all response events corresponding to the operation event at the same time, the event processing method provided in the embodiment of the present application can reduce the hardware processing resources per unit time of executing the response event, avoid event conflicts when the number of response events is multiple, and reduce the possibility of problems such as device freezes or crashes. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 This is a schematic diagram of the architecture of the event processing system provided in an embodiment of the present application;

[0035] Figure 2 is a structural diagram of an electronic device provided in an embodiment of the present application;

[0036] Figure 3 This is a flow diagram of the event processing method provided in the embodiment of the present application. Figure 1 ;

[0037] Figure 4 Schematic diagram of the event setting interface provided in the embodiment of the present application Figure 1 ;

[0038] Figure 5 This is a schematic diagram of the event setting interface provided in the embodiment of the present application. Figure 2 ;

[0039] Figure 6 This is a schematic diagram of the event setting interface provided in the embodiment of the present application. Figure 3 ;

[0040] Figure 7 This is a schematic diagram of the event setting interface provided in the embodiment of the present application. Figure 4 ;

[0041] Figure 8 This is a flow diagram of the event processing method provided in the embodiment of the present application. Figure 2 ;

[0042] Figure 9 This is a flow diagram of the event processing method provided in the embodiment of the present application. Figure 3 ;

[0043] Figure 10 This is a flow diagram of the event processing method provided in the embodiment of the present application. Figure 4 ;

[0044] Figure 11 This is a flow diagram of the event processing method provided in the embodiment of the present application. Figure 5 ;

[0045] Figure 12 This is a schematic diagram of the event setting interface provided in the embodiment of the present application. Figure 5 ;

[0046] Figure 13 This is a schematic diagram of the event setting interface provided in the embodiment of the present application. Figure 6 ;

[0047] Figure 14 This is a schematic diagram of the event setting interface provided in the embodiment of the present application. Figure 7 . DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solutions and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting this application. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0049] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0050] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0051] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0052] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present application have the same meanings as those commonly understood by those skilled in the art. The terms used in the embodiments of the present application are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.

[0053] The relevant data collection and processing in the embodiments of this application should be strictly in accordance with the requirements of relevant national laws and regulations when applied in examples, and the informed consent or separate consent of the personal information subject should be obtained. Subsequent data use and processing should be carried out within the scope of authorization of laws and regulations and the personal information subject.

[0054] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0055] 1) Interactive product: A computer program product that can interact with users. The computer program product can be a native application (APP), a small program that can be embedded in any APP, that is, a program that can be run by simply downloading it into a browser environment, or a website.

[0056] 2) Visual editing tools: tools used to create, edit and display visual data.

[0057] 3) Visualization project: used to display visual data. A visualization project includes multiple pages, each of which can display different visual data.

[0058] 4) Page: used to display corresponding visual data. Each page displays visual data composed of different components. The page can also set background color, linkage events, etc.

[0059] 5) Component: The smallest unit element of visual data. Components cannot be split. For example, a component can be a chart, text, scene, model, etc.

[0060] 6) Linkage Events: These consist of an action event triggered by the human-computer interaction interface and a response event in response to the action event. There can be one action event, and at least one response event. In response to an action event, a response event that meets the criteria can be executed. Linkage events can be created based on pages and components.

[0061] 7) Operation events: including but not limited to single-click component events, double-click component events, move-in events, move-out events, data change events, option change events, etc.

[0062] 8) Judgment conditions: conditions used to determine whether a response event can be executed, including but not limited to time judgment conditions, relationship judgment conditions, etc.

[0063] 9) Response events: including but not limited to jump events, display control events, page switching events, variable assignment events, roaming events, export events, etc.

[0064] 10) Variables: Each component has a corresponding variable. A variable is an abstract concept that can be dynamically assigned a value. The value of a variable can be modified and can be used in data requests.

[0065] The following are the defects in the related art discovered by the inventors during their research:

[0066] 1. In the related art, when there are a large number of response events, all response events corresponding to the operation events can be executed simultaneously in response to the operation events. However, the method of executing all response events corresponding to the operation events at the same time will result in excessive device resources being occupied per unit time of executing the response events, which will in turn cause the device to freeze or crash, etc., thereby reducing the execution efficiency of the response events.

[0067] 2. When executing multiple response events simultaneously, if there are conflicts between the response events, some response events will not be executed. In the related art, there is no solution for how to execute conflicting response events.

[0068] 3. In the case where users expect to add judgment logic between multiple response events to set the execution order of response events, in the related technology, the method of simultaneously executing all response events corresponding to the operation event cannot set the execution order of different response events, and it is also impossible to add association relationships between response events.

[0069] For example, when a user wants to switch an option in a drop-down box, they first need to obtain the content of the option and then focus on the corresponding model component based on the content. In related art, you can add linkage events to the drop-down box. The operation event is the change of the option content, and there are two response events: one response event to obtain the value corresponding to the current option, and the other response event to focus on the model component corresponding to the value. However, in related art, these two response events are executed simultaneously, and the actions performed by the two response events are independent of each other, which cannot meet the user's usage needs.

[0070] 4. Related technologies lack maintenance solutions for response events.

[0071] In response to the defects existing in the above-mentioned related technologies, the embodiments of the present application provide an event processing method, device, electronic device, computer-readable storage medium and computer program product, which can reduce the hardware processing resources per unit time for executing response events, avoid event conflicts when the number of response events is multiple, and reduce the possibility of problems such as device freezes or crashes.

[0072] See also Figure 1 , Figure 1 This is an architectural diagram of the event processing system 100 provided in an embodiment of the present application. To implement an exemplary application supporting event processing, the terminal 400 is connected to the server 200 via the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two.

[0073] In some embodiments, the terminal 400 is configured to display a human-computer interaction interface on the graphical interface 410. A user may trigger an operation event on the human-computer interaction interface, and the terminal 400 responds to the operation event triggered on the human-computer interaction interface. In some embodiments, the terminal 400 may obtain at least one response event stored in the terminal 400 for responding to the operation event.

[0074] In some embodiments, the terminal 400 can also send a response event acquisition request to the server 200, which carries the identifier of the operation event. The server 200 can determine the corresponding response event based on the identifier of the operation event carried in the response event acquisition request, and send the response event to the terminal 400. In this way, the terminal 400 can obtain the response event used to respond to the operation event.

[0075] In some embodiments, after obtaining the response event, the terminal 400 may determine the delayed response time of each response event. In some embodiments, before sending the response event, the server 200 may determine the delayed response time of each response event and send the response event and the delayed response time to the terminal 400, so that the terminal 400 can obtain the response event and the delayed response time. After obtaining the response event and the delayed response time, the terminal 400 may execute the response event for each response event when the corresponding execution time determined based on the delayed response time of the response event arrives.

[0076] In some embodiments, in response to an operation event triggered on the human-computer interaction interface, terminal 400 sends an event processing request to server 200, where the event processing request carries an identifier of the operation event. After receiving the event processing request, server 200 may obtain at least one response event for responding to the operation event, determine a delayed response time for each response event, and, for each response event, when a corresponding execution time is determined to have arrived based on the delayed response time of the response event, may send a response event execution instruction to terminal 400. Terminal 400 may then execute the corresponding response event based on the response event execution instruction.

[0077] In some embodiments, the number of response events used to respond to operation events can be one or more (i.e., at least two), and the server 200 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0078] The terminal 400 can be a notebook computer, a tablet computer, a desktop computer, a set-top box, a mobile device (e.g., a mobile phone, a portable music player, a personal digital assistant, a dedicated messaging device, a portable gaming device), a smart phone, a smart speaker, a smart watch, a smart TV, a vehicle-mounted terminal, or any other type of user terminal. The terminal 400 and the server 200 can be connected directly or indirectly via wired or wireless communication, which is not limited in the embodiments of the present application.

[0079] The electronic device provided in the embodiment of the present application is described below. The electronic device provided in the embodiment of the present application may be a terminal or a server. Figure 2 , Figure 2 is a structural diagram of an electronic device provided in an embodiment of the present application, Figure 2The electronic device shown includes: at least one processor 410, a memory 450, at least one network interface 420 and a user interface 430. The various components in the terminal 400 are coupled together via a bus system 440. It is understood that the bus system 440 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 440 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 440 is not shown in FIG. Figure 2 Various buses are labeled as bus system 440 .

[0080] The processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0081] The user interface 430 includes one or more output devices 431 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0082] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, etc. The memory 450 may optionally include one or more storage devices that are physically remote from the processor 410.

[0083] The memory 450 includes volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.

[0084] In some embodiments, the memory 450 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplified below.

[0085] Operating system 451, including system programs for processing various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, and driver layer, which are used to implement various basic services and process hardware-based tasks;

[0086] A network communication module 452 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 420. Exemplary network interfaces 420 include Bluetooth, Wi-Fi, and Universal Serial Bus (USB);

[0087] a presentation module 453 for enabling presentation of information via one or more output devices 431 (e.g., a display screen, a speaker, etc.) associated with the user interface 430 (e.g., a user interface for operating peripheral devices and displaying content and information);

[0088] The input processing module 454 is configured to detect one or more user inputs or interactions from one of the one or more input devices 432 and to translate the detected inputs or interactions.

[0089] In some embodiments, the event processing device provided in the embodiments of the present application can be implemented in software. Figure 2 The event processing device 455 stored in the memory 450 is shown. This device can be software in the form of a program or plug-in, and includes the following software modules: an acquisition module 4551, a determination module 4552, and an execution module 4553. These modules are logical and can be arbitrarily combined or further separated according to the functions implemented. The functions of each module will be described below.

[0090] In other embodiments, the event processing device provided in the embodiments of the present application can be implemented in hardware. As an example, the event processing device provided in the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the event processing method provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs) or other electronic components.

[0091] In some embodiments, the terminal or server can implement the event handling method provided by the embodiment of the present application by running various computer executable instructions or computer programs. For example, computer executable instructions can be commands, machine instructions or software instructions at the microprogram level. The computer program can be a native program or software module in the operating system; it can be a local (Native) application (APPlication, APP), that is, a program that needs to be installed in the operating system to run, such as a visual editing APP; it can also be a small program that can be embedded in any APP, that is, a program that only needs to be downloaded to a browser environment to run. In short, the above-mentioned computer executable instructions can be instructions in any form, and the above-mentioned computer program can be an application, module or plug-in in any form.

[0092] The event processing method provided by the embodiment of the present application is described below. As mentioned above, the electronic device that implements the event processing method of the embodiment of the present application can be a terminal, a server, or a combination of the two. The event processing method provided by the embodiment of the present application is described below using a terminal as an example. Figure 3 , Figure 3 This is a flow diagram of the event processing method provided in the embodiment of the present application. Figure 1 , combined with Figure 3 The steps shown illustrate the event processing method provided in the embodiment of the present application.

[0093] In step 101 , in response to an operation event triggered on a human-computer interaction interface, at least one response event for responding to the operation event is acquired.

[0094] When the user wants to execute a corresponding response event, an operation event can be triggered on the human-computer interaction interface. The terminal can then respond to the operation event triggered on the human-computer interaction interface and obtain at least one response event for responding to the operation event.

[0095] The following describes operation events: Operation events correspond to user operations performed on the human-computer interaction interface, such as component click events, double-click component events, move-in events, move-out events, data change events, and option change events. A component click event is triggered by single-clicking a component displayed on the human-computer interaction interface. A component double-click event is triggered by double-clicking a component displayed on the human-computer interaction interface.

[0096] An enter event is triggered when the cursor displayed on the human-computer interaction interface enters the corresponding area of a component. An exit event is triggered when the cursor displayed on the human-computer interaction interface exits the corresponding area of a component. For components with drop-down boxes, an option change event is triggered when the option in the drop-down box changes.

[0097] For components with data access capabilities, data change events are operation events triggered by changes in the current data of the component.

[0098] In some embodiments, a data change event may be an operation event triggered in response to a data setting operation for a component, wherein the data set by the data setting operation is different from the current data of the component. In some embodiments, a data change event may also be an operation event triggered in response to a data request corresponding to the component being successful.

[0099] The following describes response events: Each response event corresponds to an action in the human-computer interaction interface. Response events can include jump events, display control events, page switching events, variable assignment events, roaming events, and export events.

[0100] Jump events may include page jump events corresponding to page jump actions and link jump events that execute page jump actions based on links. The action corresponding to the page jump event is to jump from the page currently displayed on the human-computer interaction interface to any other page. In some embodiments, there are multiple pages, and the pages can be divided into multiple page groups, each page group includes at least one page (i.e., one or more pages), and there is a hierarchical relationship between different page groups. The hierarchical relationship refers to the structural relationship between page groups arranged in a certain order or level. The action corresponding to the page jump event can be to jump from the page currently displayed on the human-computer interaction interface to a page at any level. The action corresponding to the page jump event can also be to jump from the page currently displayed on the human-computer interaction interface to a page at an adjacent level of the corresponding level of the page.

[0101] The action corresponding to the link jump event can be jumping from the page currently displayed on the human-computer interaction interface to the page corresponding to the link. The action corresponding to the link jump event can also be popping up a display window corresponding to the link in the page currently displayed on the human-computer interaction interface.

[0102] The action corresponding to the display control event can be to control the display or hiding of at least one component displayed on the human-computer interaction interface. The action corresponding to the display control event can also be to change the display style of at least one component displayed on the human-computer interaction interface.

[0103] The action corresponding to the display control event can also be switching the display angle of the component displayed on the human-computer interaction interface. The action corresponding to the display control event can also be using a camera to focus on a certain component, that is, the focus of the human-computer interaction interface is focused on the corresponding component.

[0104] The action corresponding to the display control event can also be to display the corresponding picture, text, video, etc. for the component displaying the human-computer interaction interface. The action corresponding to the display control event can also be to control the component displaying the human-computer interaction interface to be selected or to cancel the selection state of the component displaying the human-computer interaction interface.

[0105] The action corresponding to the page switching event can be to switch the page currently displayed on the human-computer interaction interface to a preset target page. The pages can be arranged according to a preset page order, and the action corresponding to the page switching event can be to switch the page currently displayed on the human-computer interaction interface according to the page order. The action corresponding to the page switching event can also be to cyclically switch pages according to the page order and the page dwell time. That is, every time the page dwell time is exceeded, the page displayed on the human-computer interaction interface is switched to the page next to the current page in the page order.

[0106] The action corresponding to the variable assignment event may be to set a specific value for at least one variable corresponding to a component displayed on the human-computer interaction interface, or to bind at least one variable corresponding to a component displayed on the human-computer interaction interface to a field value.

[0107] The action corresponding to a roaming event can be to roam along a pre-set trajectory for the current display perspective of the components displayed on the human-computer interaction interface, that is, to display the components located on the trajectory in sequence. The action corresponding to an export event is to export the data corresponding to the component to the format required by the user.

[0108] In some embodiments, a correspondence between candidate operation events and candidate response events is pre-stored, where each candidate operation event has at least one corresponding candidate response event, i.e., each candidate operation event has one or more candidate response events. In response to an operation event triggered on a human-computer interaction interface, a response event corresponding to the operation event can be obtained from the correspondence between the candidate operation events and the candidate response events.

[0109] In some embodiments, the user can set the correspondence between the candidate operation events and the candidate response events through the event setting interface displayed on the human-computer interaction interface. Figure 4 , Figure 4 Schematic diagram of the event setting interface provided in the embodiment of the present application Figure 1 .

[0110] exist Figure 4 The event includes a single-click component event 401, a double-click component event 402, an in-event 403, an out-event 404, a data change event 405, and an option change event 406. Figure 4The event also includes a page jump event 407, a link jump event 408, an event 409 for controlling the display or hiding of at least one component displayed on the human-computer interaction interface, a page switching event 410, a variable assignment event 411, a roaming event 412, an export event 413, an event 414 for changing the display style of at least one component displayed on the human-computer interaction interface, an event 415 for switching the display perspective of a component displayed on the human-computer interaction interface, an event 416 for using a camera to focus on a component, an event 417 for displaying images, text, videos, and other content corresponding to a component displaying the human-computer interaction interface, and an event 418 for controlling the component displaying the human-computer interaction interface to be selected or canceling the selected state of a component displaying the human-computer interaction interface.

[0111] Through step 101 , an accurate response event for responding to the operation event can be obtained.

[0112] In step 102, the delayed response time of each response event is determined.

[0113] In some embodiments, step 102 can be implemented in the following manner: a correspondence between candidate response events and candidate delayed response times is pre-stored. After obtaining a response event, the delayed response time of each response event can be determined based on the response event and the correspondence between the candidate response events and the candidate delayed response times. The delayed response time can be set by the user according to actual usage requirements. The delayed response time is the time from the triggering time of the operation event to the execution of the corresponding response event. In this way, the accurate delayed response time of each response event can be obtained.

[0114] In some embodiments, step 102 can also be implemented in the following manner: each candidate response event can have multiple corresponding candidate delayed response times. For such a situation, a correspondence between a candidate response event group and a candidate delayed response time group is pre-set. After obtaining a response event, the corresponding response event group can be determined based on the response event. Based on the response event group, the candidate delayed response time group corresponding to the response event group is determined from the correspondence between the candidate response event group and the candidate delayed response time group. Then, for the candidate delayed response time group, the delayed response time of each response event is determined. In this way, the accurate delayed response time of each response event can be obtained.

[0115] In some embodiments, after step 102, in order to maintain the response events, for each response event, the delayed response time of the response event is compared with the delay time threshold. If the delayed response time is less than or equal to the delay time threshold, the response event is classified into a first response event group. If the delayed response time is greater than the delay time threshold, the response event is classified into a second response event group. The delayed response threshold can be set according to actual usage requirements, for example, the delayed response threshold can be 1 minute, 50 seconds, 3 minutes, etc.

[0116] In some embodiments, a binary method can be used to divide response events, so that response events with delayed response time less than or equal to the delay time threshold are divided into a first response event group, and response events with delayed response time greater than the delay time threshold are divided into a second response event group.

[0117] The event processing method provided in the embodiment of the present application can divide the response events according to the relationship between the delayed response time and the delay time threshold, and then the corresponding response events can be executed for the first response event group, and the corresponding response events can be divided into the first response event group for the second response event group, which solves technical problem 4 and realizes the maintenance of response events in different event groups.

[0118] In some embodiments, in order to ensure the execution of a response event, a timer may be created for each delayed response time. Different timers correspond to different delayed response times, and the timer is associated with at least one of the response events.

[0119] For example, a response event may include response event a, response event b, and response event c. The delayed response time for response event a is 3 seconds, the delayed response time for response event b is 3 seconds, and the delayed response time for response event c is 5 seconds. For a delayed response time of 3 seconds, Timer 1 can be created, and for a delayed response time of 5 seconds, Timer 2 can be created. This results in two timers, Timer 1 and Timer 2. Timer 1 is associated with response event a and response event b, and Timer 2 is associated with response event c.

[0120] In step 103 , for each response event, when the corresponding execution time determined based on the delayed response time of the response event arrives, the response event is executed.

[0121] In some embodiments, when the response events are divided into a first response event group and a second response event group, the above step 103 can be implemented in the following manner: for each response event in the first response event group, when the corresponding execution time is determined to be arrived based on the delayed response time of the response event, the response event is executed.

[0122] In some embodiments, when the first response event group includes only one response event, the response event can be executed when the corresponding execution time is determined to arrive based on the delayed response time of the response event. In some embodiments, the response event is executed when the target execution time obtained by adding the delayed response time of the response event to the trigger time arrives. In some embodiments, the response event is executed when the difference between the target execution time obtained by adding the delayed response time of the response event to the trigger time and the current time is less than a difference threshold. In this way, the timing of executing the response time can be determined based on the delayed response time, thereby completing the execution of the response event.

[0123] In some embodiments, the first response event group includes multiple response events. The response events in the first response event group are arranged in order of delayed response time from shortest to longest to obtain a first event sequence.

[0124] For example, the response events in the first response event group may include response event 1-response event 3, the delayed response time of response event 1 is 3s, the delayed response time of response event 2 is 6s, and the delayed response time of response event 3 is 5s. By arranging response events 1-response event 3 in the first response event group in order of delayed response time from short to long, the first event sequence can be obtained as response event 1-response event 3-response event 2.

[0125] In some embodiments, when there are response events with consistent delayed response times, one of the response events can be selected as a sorted response event, and the sorted response event and other response events with different delayed response times can be arranged in order of delayed response time from short to long to obtain a sequence of events to be inserted, and then the remaining response events with consistent delayed response times are inserted into the position adjacent to the sorted response event in the sequence of events to be inserted, so as to obtain a first event sequence.

[0126] For example, the response events in the first response event group may include response events 4 to 7, the delayed response time of response event 4 is 3s, the delayed response time of response event 5 is 6s, the delayed response time of response event 6 is 6s, and the delayed response time of response event 7 is 5s.

[0127] The delayed response time of response event 5 and response event 6 is consistent. Response event 5 and other response events with different delayed response times can be arranged in order of delayed response time from short to long to obtain a sequence of events to be inserted. That is to say, response event 5, response event 4 and response event 7 can be arranged in order of delayed response time from short to long to obtain a sequence of events to be inserted as response event 4-response event 7-response event 5.

[0128] Then, response event 6 can be inserted into the position adjacent to the sorted response event in the event sequence to be inserted, so that the first event sequence can be obtained. The first event sequence can be response event 4-response event 7-response event 5-response event 6, or the first event sequence can also be response event 4-response event 7-response event 6-response event 5.

[0129] After acquiring the first event sequence, a first poll can be performed on the response events in the first event sequence. The period of the first poll can be set according to the user's actual usage requirements, and the period of the first poll can be less than the delay time threshold. In some embodiments, in order to improve the accuracy of executing the response event, the first poll can be performed on the response events in the first event sequence in real time.

[0130] During the first polling process, when the execution time is determined to have arrived, the corresponding response event is executed. In some embodiments, the first polling cycle may be repeated multiple times, and for each first polling cycle, during the first polling cycle, the response event that is first in the first event sequence is determined as the target response event. In some embodiments, the first polling cycle can be set using the requestAnimFrame function, and the first polling cycle can then be performed by calling the requestAnimFrame function.

[0131] After determining the target response event, it can be determined whether the corresponding execution time determined based on the delayed response time of the target response event has been reached. When the corresponding execution time determined based on the delayed response time of the target response event has been reached, the target response event is executed. The target response event is the response event with the shortest delayed response time in the first response event group. In this way, the response event with the shortest delayed response time can be executed during each first polling process.

[0132] When the corresponding execution time determined based on the delayed response time of the target response event has not arrived, the corresponding execution time determined based on the delayed response time of the target response event can be waited for to arrive, wherein the target response event is the response event with the shortest delayed response time in the first response event group. In this way, the response event with the shortest delayed response time can be executed by waiting.

[0133] If the corresponding execution time is determined to be unreachable based on the delayed response time of the target response event, the first polling cycle can be terminated. Since the target response event with the shortest delayed response time does not need to be executed, the other response events in the first response event group also do not need to be executed. Therefore, the first polling cycle can be terminated, saving resources used by the first polling cycle.

[0134] In some embodiments, after the target response event is determined, the delayed response time of the target response event may be compared with the delayed response time of a response event adjacent to the target response event in the first event sequence.

[0135] In the case where the delayed response times are inconsistent, the target response event can be kept unchanged. In the case where the delayed response times are consistent, a response event in the first event sequence that is consistent with the delayed response time of the target response event can be obtained, and the response event that is consistent with the delayed response time of the target response event can also be used as the target response event.

[0136] The following describes the situation where the corresponding execution time is determined based on the delayed response time of a target response event. In some embodiments, the target response event can be executed when the target execution time obtained by adding the delayed response time of the target response event to the trigger time arrives. In some embodiments, the target response event is executed when the difference between the target execution time obtained by adding the delayed response time of the target response event to the trigger time and the current time is less than a difference threshold.

[0137] The embodiment of the present application can maintain the response events that need to be executed within the delay event threshold in the first response event group. The first response event group can dispatch response events with the same execution time at the same time, thereby executing response events with the same execution time, and can execute response events more accurately.

[0138] The embodiment of the present application can maintain response events that need to be executed within the delay event threshold in the first response event group. The first response event group can dispatch response events whose execution time and current time have a difference less than the difference threshold at the same time, thereby executing the corresponding response events, which can reduce the cost of dispatching response events by the first response event group.

[0139] The following introduces the situation where the corresponding execution time determined based on the delayed response time of the target response event has not arrived. In some embodiments, when the corresponding execution time determined based on the delayed response time of the target response event has not arrived, the corresponding execution time determined by the delayed response time of the target response event can be waited for to arrive, thereby executing the target response event.

[0140] In some embodiments, when the corresponding execution time determined based on the delayed response time of the target response event has not been reached, the first polling can be ended. In the case of the next first polling, there is no need to re-determine the target response event, so that it can be judged whether the corresponding execution time determined based on the delayed response time of the target response event has been reached. Until the corresponding execution time determined based on the delayed response time of the target response event has arrived, the target response event is executed.

[0141] The following is an introduction to the method of determining whether the corresponding execution time is reached based on the delayed response time of the target response event in the embodiment of the present application with reference to specific examples. For example, the first event sequence is response event 1-response event 3-response event 2. During the first polling 1, response event 1 can be used as the target response event, and it is determined whether the target execution time obtained by adding the delayed response time of the target response event (response event 1) to the trigger time is reached.

[0142] When the target execution time obtained by adding the delayed response time of the target response event (response event 1) to the trigger time arrives, the target response event (response event 1) can be executed. If the corresponding execution time determined based on the delayed response time of the target response event (response event 1) has not arrived, the corresponding execution time determined based on the delayed response time of the target response event (response event 1) can be waited for to arrive, thereby executing response event 1.

[0143] After response event 1 is executed, if the cycle of the first polling 1 has not been arrived, response event 3 can be used as the target response event to determine whether the target execution time obtained by adding the delayed response time of the target response event (response event 3) to the trigger time has been arrived. When the target execution time obtained by adding the delayed response time of the target response event (response event 3) to the trigger time has been arrived, the target response event (response event 3) can be executed.

[0144] After executing response event 3, if the cycle of the first polling 1 has not arrived, response event 2 can be used as the target response event to determine whether the target execution time obtained by adding the delayed response time of the target response event (response event 2) to the trigger time has arrived. When the target execution time obtained by adding the delayed response time of the target response event (response event 2) to the trigger time has arrived, the target response event (response event 2) can be executed.

[0145] When it is determined that the corresponding execution time has not been reached based on the delayed response time of the target response event (response event 1), the first polling 1 can also be ended. When the cycle of the first polling 1 is reached, the first polling 2 can be performed. During the first polling 2, the target response event is still response event 1.

[0146] During the first polling 2, it is determined whether the target execution time obtained by adding the delayed response time of the target response event (response event 1) to the trigger time has arrived. When the target execution time obtained by adding the delayed response time of the target response event (response event 1) to the trigger time has arrived, the target response event (response event 1) can be executed. When it is determined based on the delayed response time of the target response event (response event 1) that the corresponding execution time has not arrived, the first polling 2 can also be ended, so as to determine in the first polling 3 whether the target execution time obtained by adding the delayed response time of the target response event (response event 1) has arrived, until the delayed response time of the target response event (response event 1) determines that the corresponding execution time has arrived, the target response event (response event 1) is executed. Response event 2 and response event 3 are processed in the same manner as response event 1, the difference being that the first polling may be different, which will not be elaborated here.

[0147] By determining the target response event in the first polling cycle and then determining whether to execute the response event, the response events in the first response event group can be executed. Compared to the method of executing all response events corresponding to the operation event simultaneously, this method can reduce the hardware processing resources per unit time for executing the response event, avoid event conflicts when there are multiple response events, and reduce the possibility of device lag or downtime.

[0148] In some embodiments, if it is determined that the target response event in the first response event group is completed, the target response event is deleted from the first response event group, wherein the target response event is any response event in the first response event group.

[0149] If there is no response event in the first response event group, the first polling can be stopped. In this way, useless polling can be prevented. If a response event is classified into the first response event group, the first polling can be started, which can improve the efficiency of the first polling.

[0150] In some embodiments, for the second response event group, a second poll is performed on the response events in the second response event group, the period of the second poll is less than or equal to the delay time threshold, and the period of the first poll is less than the period of the second poll, that is, the frequency of polling the first response event group is higher than the frequency of polling the second response event group.

[0151] By setting different polling cycles for the first response event group and the second response event group, the polling cost can be reduced while executing the corresponding response event for the first response event group and classifying the corresponding response event for the second response event group into the first response event group.

[0152] During the second polling process, when the difference between the execution time of the response event in the second response event group and the current time is less than or equal to the delay time threshold, the corresponding response event is classified into the first response event group.

[0153] When the second response event group includes only one response event, the response event may be classified into the first response event group when the difference between the execution time of the response event and the current time is less than or equal to the delay time threshold.

[0154] If no response event exists in the second response event group, the second polling can be stopped. This prevents useless polling and allows the second polling to begin when the response event falls into the second response event group. Furthermore, the second polling can be started after a time period less than the delay event threshold, thereby improving the efficiency of the second polling.

[0155] When the second response event group includes multiple response events, during the second polling process, for each response event in the second response event group, when the difference between the execution time of the response event and the current time is less than or equal to the delay time threshold, the response event is determined as an event to be inserted.

[0156] When there are multiple events to be inserted, the events to be inserted are arranged in order of delayed response time from short to long to obtain a second event sequence, and the second event sequence is divided into the first response event group. In this way, it can be ensured that the response events are arranged in order of delayed response time from short to long, so that the first polling is performed in the case of the first response event group, thereby executing the corresponding response event. In this way, it can be ensured that when the first polling is performed, only the execution time of the response event with the shortest delayed response time is judged, without the need to judge all the response events in the first response event group, which can improve the efficiency of the first polling and save the resources used by the first polling.

[0157] In some embodiments, when the user wants to terminate the execution of a response event, a clear instruction can be triggered through the human interaction interface. In response to the termination instruction triggered based on the human interaction interface, the first response event group and the second response event group can be cleared. Accordingly, the first polling and the second polling can be stopped, which can prevent the generation of useless polling and can quickly terminate the execution of the response event.

[0158] In some embodiments, when the user wants to terminate the execution of a response event, a termination instruction can be triggered through the human interaction interface. In response to the termination instruction triggered based on the human interaction interface, the first polling and the second polling can be stopped, which can prevent the generation of useless polling and can quickly terminate the execution of the response event.

[0159] In some embodiments, when a timer is present, for each response event, when the execution time of the response event associated with the time indication of the timer has arrived, the response event is executed. In some embodiments, when the time of the timer reaches 0, it can be determined that the execution time of the response event associated with the time indication of the timer has arrived, and thus the corresponding response event can be executed.

[0160] In some embodiments, when the time of the timer is equal to the delayed response time of its associated response time, it can be determined that the execution time of the response event associated with the time indication of the timer has arrived, and thus the response event can be executed.

[0161] In some embodiments, when the time of the timer is equal to the target execution time determined based on the delayed response time and the trigger time, or when the time representation of the timer is less than the target execution time determined based on the delayed response time and the trigger time, it can be determined that the execution time of the response event associated with the time indication of the timer has arrived, and thus the response event of the response can be executed.

[0162] In some embodiments, the created multiple timers may be grouped into an event timer queue. For the event timer queue, when the execution time of the response event associated with the time indication of the timer arrives, the response event is executed.

[0163] In some embodiments, when the user wants to terminate the execution of a response event, a termination instruction can be triggered through the human interaction interface. In response to the termination instruction triggered based on the human interaction interface, the timer can be cleared. In this way, the execution of the response event can be quickly terminated.

[0164] By using the timer to determine the actual execution method of the response time, the response events in the first response event group can be executed. Compared with the method of executing all response events corresponding to the operation event at the same time, it can reduce the hardware processing resources per unit time of executing the response event, avoid event conflicts when there are multiple response events, and reduce the possibility of problems such as device lag or downtime.

[0165] In some embodiments, response events are used to process visualization data. The visualization verses can be visualization data corresponding to scenarios such as urban monitoring, campus tours, and building inspections. There are multiple response events, which are arranged in ascending order of delayed response time to form a third event sequence.

[0166] The third event sequence includes a first response event and a second response event. The first response event and the second response event are any two adjacent response events in the third event sequence. In the third event sequence, the first response event is ranked before the second response event.

[0167] For example, the third event sequence may be response event 8 - response event 9 - response event 10, where the delayed response time of response event 8 is less than the delayed response time of response event 9, and the delayed response time of response event 9 is less than the delayed response time of response event 10. If the first response event is response event 9, the second response event is response event 10. If the first response event is response event 8, the second response event is response event 9.

[0168] The above step 103 can be implemented in the following way: when the corresponding execution time is determined to have arrived based on the delayed response time of the first response event, the first visualization data corresponding to the first response event is processed based on the processing method indicated by the first response event to obtain second visualization data.

[0169] The processing method indicated by the response event is to execute the action in the human-computer interaction interface corresponding to the response event, thereby performing processing corresponding to the action on the visual data corresponding to the response event, thereby obtaining the processed visual data.

[0170] For example, see Figure 4 , Figure 4 Response event 11 is shown in the figure. The operation event corresponding to response event 11 is option change event 406, specifically selecting the city option in the drop-down box. The delayed response time corresponding to response event 11 is 0s. Response event 11 is variable assignment event 411. The action corresponding to response event 11 is to set the directory amplitude corresponding to the component displayed on the human-computer interaction interface to city.

[0171] In the process of executing the response event 11, the first visualization data 1 can be processed based on the processing method indicated by the response event 11 to obtain the second visualization data 1. Specifically, the directory corresponding to the component displayed on the human-computer interaction interface is assigned a value of city.

[0172] When the corresponding execution time is determined to have arrived based on the delayed response time of the second response event, the second visualization data corresponding to the second response event is processed based on the processing method indicated by the second response event to obtain third visualization data.

[0173] For example, see Figure 5 , Figure 5 This is a schematic diagram of the event setting interface provided in the embodiment of the present application. Figure 2 , Figure 5Response event 12 is shown in the figure. The operation event corresponding to response event 12 is option change event 406. The delayed response time corresponding to response event 12 is 0.5s. Response event 12 is event 416 of using a camera to look at a certain component. The action corresponding to response event 12 is focusing the focus of the human-computer interaction interface to the corresponding city (normal mark-single).

[0174] During the execution of response event 12, the second visualization data 1 can be processed based on the processing method indicated by response event 12 to obtain third visualization data 1. Specifically, the focus of the human-computer interaction interface is set to the city. In this way, the user can intuitively understand the content of the current assignment.

[0175] For another example, after the response event 12 is executed, the response event 13 can be executed, see Figure 6 , Figure 6 This is a schematic diagram of the event setting interface provided in the embodiment of the present application. Figure 3 , Figure 6 Response event 13 is shown in the figure. The operation event corresponding to response event 13 is option change event 406. The delayed response time corresponding to response event 13 is 1s. Response event 13 is page jump event 407. The action corresponding to response event 13 is to jump the currently displayed page of the human-computer interaction interface to page 1 under level B.

[0176] See also Figure 7 , Figure 7 This is a schematic diagram of the event setting interface provided in the embodiment of the present application. Figure 4 , Figure 7 Including response event 11 (corresponding to Figure 4 ), response event 12 (corresponding Figure 5 ) and response event 13 (corresponding to Figure 6 ), when the user selects the city option in the drop-down box, the response event 11 can be executed, and the user can see that the directory amplitude corresponding to the component displayed on the human-computer interaction interface is the city.

[0177] After a 0.5 second interval, response event 12 is executed, and the user sees the focus of the human-computer interaction interface shift to the city. After a 1 second interval, response event 13 is executed, and the user sees the currently displayed page on the human-computer interaction interface jump to page 1 under level B.

[0178] For the user, response event 12 is executed based on response event 11, and response event 13 is executed based on response event 1. That is to say, by executing the corresponding events in the manner of the embodiment of the present application, it is possible to present the effect of different response events being executed in sequence, and the response event executed first (the first response event) is the prerequisite for the response event executed later (the second response event). It can be seen that the embodiment of the present application can construct the execution order of the response events by increasing the delayed response time, thereby generating an association relationship between the response events, and can solve the above-mentioned technical problem 3 and realize the execution of response events in sequence.

[0179] In some embodiments, each response event corresponds to an action in a human-computer interaction interface, and the number of response events is multiple, see Figure 8 , Figure 8 This is a flow diagram of the event processing method provided in the embodiment of the present application. Figure 2 , Figure 3 The "execution response event" in step 103 can be implemented in the following manner, which is described in detail below:

[0180] In step 1031 , when there are multiple third response events with the same execution time, the relationship between the actions corresponding to the third response events is obtained.

[0181] When there are multiple third response events with the same execution time, that is, when multiple third response events need to be executed at the same time, in order to ensure the success rate of executing the third response events, the relationship between the actions corresponding to the third response events can be obtained. The relationship between the actions corresponding to the third response events can be superimposed, conflicting, or continuous.

[0182] In step 1032, based on the relationship between the actions corresponding to the third response events, each third response event is performed.

[0183] In some embodiments, step 1032 can be implemented in the following manner: when the relationship between the actions corresponding to each third response event represents that the actions corresponding to each third response event can be superimposed, that is, there is no conflict between the actions corresponding to each third response event, the actions corresponding to each third response event can be executed simultaneously, and therefore, each third response event can be executed in parallel.

[0184] For example, there are third response events 1 and 2. When the actions corresponding to third response event 1 and third response event 2 can be superimposed, the actions corresponding to third response event 1 and third response event 2 can be executed simultaneously, that is, third response event 1 and third response event 2 are executed in parallel. In this way, it is possible to ensure that third response events whose actions can be superimposed are executed in parallel, thereby improving the success rate of executing the third response events.

[0185] When the relationship between the actions corresponding to the third response events indicates that there is a conflict in the actions corresponding to the third response events, that is, the actions corresponding to the third response events cannot be executed at the same time, in this case, the third response event with the largest delayed response time can be determined, and the third response event with the largest delayed response time can be executed.

[0186] For example, there are third response event 1 and third response event 2. When the action corresponding to third response event 1 conflicts with the action corresponding to third response event 2, if third response event 2 is the third response event with the longest delayed response time, then third response event 2 can be executed. In this way, for third response events with conflicting actions, only the third response event with the longest delayed response time can be executed, which is equivalent to providing an execution solution for conflicting response events, which can solve the above-mentioned technical problem 2 and improve the success rate of executing third response events.

[0187] In the case where the relationship between the actions corresponding to the third response events represents that the actions corresponding to the third response events are continuous actions, that is, there are overlapping actions corresponding to the third response events, and there is a last action among the actions corresponding to the third response events, in such a case, the third response event corresponding to the last action in the continuous actions can be executed.

[0188] For example, there are third response event 1 and third response event 2. When the action corresponding to third response event 1 and the action corresponding to third response event 2 are continuous actions, that is, the action corresponding to third response event 1 and the action corresponding to third response event 2 overlap, and third response event 1 is the last action. Therefore, third response event 1 can be executed. In this way, for third response events whose actions are continuous actions, only the third response event corresponding to the last action can be executed, which can improve the efficiency of executing the third response event.

[0189] In some embodiments, a response event has at least one associated event for responding to the response event, see Figure 9 , Figure 9 This is a flow diagram of the event processing method provided in the embodiment of the present application. Figure 3 ,exist Figure 3 After step 103 shown, steps 104 and 105 may be performed, which are described in detail below.

[0190] In step 104, in response to the response event, associated events and the execution time of each associated event are obtained.

[0191] In some embodiments, the execution time of the associated event is pre-set, and the correspondence between candidate response events and candidate associated events is pre-stored. After the response event is executed, the associated event can be determined based on the response event from the correspondence between the candidate response events and the candidate associated events.

[0192] In some embodiments, the associated events carry the execution time of the associated events. Therefore, after determining the associated events, the execution time of the associated events can be obtained. In this way, the associated events and the execution time of each associated event can be accurately obtained.

[0193] In some embodiments, the associated event carries a delayed response time, and the execution time of the associated event can be determined based on the execution time of the response event and the delayed response time. In this way, the associated event and the execution time of each associated event can be accurately obtained.

[0194] In step 105 , each associated event is executed based on the execution time of each associated event.

[0195] In some embodiments, when the execution time of the associated event arrives, the corresponding associated event can be executed. By setting the associated event, the corresponding event can be used as a prerequisite for the associated event, thereby establishing the execution order of the response event and the associated event, which can solve the above-mentioned technical problem 3 and realize the execution of events in sequence.

[0196] In some embodiments, when the time obtained by adding the delayed response time of the associated event to the execution time of the corresponding response event arrives, the associated event is executed. When the difference between the time obtained by adding the delayed response time of the associated event to the execution time of the corresponding response time and the current time is less than a difference threshold, the associated event is executed. In this way, the execution time of the associated event can be determined based on the delayed response time corresponding to the associated event. Compared with the method of executing all associated events, the hardware processing resources per unit time for executing the response event can be reduced, event conflicts when there are multiple response events can be avoided, and the possibility of problems such as device freezes or crashes can be reduced, thereby improving the execution efficiency of the associated events.

[0197] The following combination Figure 10 For an introduction to the event handling method provided in the embodiment of this application, see Figure 10 , Figure 10This is a flow diagram of the event processing method provided in the embodiment of the present application. Figure 4 , the following steps are explained in detail.

[0198] In step 1001, in response to an operation event triggered on a human-computer interaction interface, at least one response event for responding to the operation event is acquired.

[0199] Step 1001 and Figure 3 The steps are the same as those in step 101 shown in the figure. For details, please refer to the corresponding description of step 101 and will not be repeated here.

[0200] In step 1002, it is determined whether the response event is an executable response event.

[0201] If the response event is an executable response event, step 1003 may be executed; if the response event is a non-executable response event, step 1006 may be executed.

[0202] In step 1003, it is determined whether the execution time of the response event has arrived.

[0203] When the target execution time obtained by adding the delayed response time of the response event to the trigger time arrives, it can be determined that the execution time of the response event has been reached. When the difference between the target execution time obtained by adding the delayed response time of the response event to the trigger time and the current time is less than the difference threshold, it can be determined that the execution time of the response event has been reached. If the execution time of the response event has been reached, step 1004 can be executed. If the execution time of the response event has not been reached, step 1005 can be executed.

[0204] In step 1004, a response event is executed.

[0205] In some embodiments, when there are multiple response events, if the relationship between the actions corresponding to the response events indicates that the actions corresponding to the response events can be superimposed, the response events are executed in parallel. If the relationship between the actions corresponding to the response events indicates that the actions corresponding to the response events conflict, the response event with the largest delayed response time is executed. If the relationship between the actions corresponding to the response events indicates that the actions corresponding to the response events are continuous, the response event corresponding to the last action in the continuous action is executed.

[0206] In step 1005 , the response event is executed when the execution time of the response event arrives.

[0207] In step 1006, no response event is executed.

[0208] Compared with the method of simultaneously executing all response events corresponding to the operation event, the event processing method provided in the embodiment of the present application can reduce the hardware processing resources per unit time for executing the response event, avoid event conflicts when there are multiple response events, and reduce the possibility of problems such as device freezes or crashes.

[0209] The first response event group and the second response event group of the embodiment of the present application are introduced below. Figure 11 , Figure 11 This is a flow diagram of the event processing method provided in the embodiment of the present application. Figure 5 , detailed description is given below.

[0210] In step 1101, a response event is obtained.

[0211] In some embodiments, in response to an operation event triggered on a human-computer interaction interface, at least one response event for responding to the operation event may be obtained. Figure 3 The steps are the same as those in step 101 shown in the figure. For details, please refer to the corresponding description of step 101 and will not be repeated here.

[0212] In step 1102 , the delayed response time of the response event is compared with a delay time threshold.

[0213] If the delayed response time is less than or equal to the delay time threshold, execute step 1103. If the delayed response time is greater than the delay time threshold, execute step 1107. Classify the response event into a second response event group.

[0214] In step 1103, the response events are divided into a first response event group.

[0215] In step 1104, a first poll is performed on the response events in the first response event group.

[0216] In step 1105, it is determined whether the execution time of the response event has arrived.

[0217] For each first poll, a target response event can be determined, and then it can be determined whether the corresponding execution time has been reached based on the delayed response time of the target response event. If the target response time has been reached, step 1106 is executed. If the target response time has not been reached, the first poll can be terminated and the process returns to step 1104, i.e., the next first poll is performed.

[0218] In step 1106, a response event is executed.

[0219] In step 1107, the response event is divided into the second response event group

[0220] In step 1108, a second poll is performed on the response events in the second response event group.

[0221] In step 1109 , it is determined whether the execution time of the response event is less than or equal to the delay time threshold.

[0222] If the execution time of the response event is less than or equal to the delay time threshold, execute step 1110. If the execution time of the response event is greater than the delay time threshold, end the second polling and return to step 1108, that is, perform the next second polling.

[0223] In step 1110 , the response events are divided into a first response event group.

[0224] When it is determined that the execution time of the response event is less than the delay time threshold, the response event can be determined as an event to be inserted. When there are multiple events to be inserted, the events to be inserted are arranged in order from short to long delayed response time to obtain a second event sequence, and the second event sequence is divided into the first response event group.

[0225] The event processing method provided in the embodiment of the present application can divide the response events according to the relationship between the delayed response time and the delay time threshold, and then the corresponding response events can be executed for the first response event group, and the corresponding response events can be divided into the first response event group for the second response event group, which solves technical problem 4 and realizes the maintenance of response events in different event groups.

[0226] The following combination Figure 12-14 The event processing method provided in the embodiment of the present application is described with examples. Figure 12 , Figure 12 This is a schematic diagram of the event setting interface provided in the embodiment of the present application. Figure 5 . Figure 12 Response event 14 is shown in the figure. The operation event corresponding to response event 14 is a single-click component event 401. The delayed response time corresponding to response event 14 is 30ms. Response event 14 is an event 409 for controlling the display or hiding of at least one component displayed on the human-computer interaction interface. The action corresponding to response event 14 is to display a drop-down box, and the animation effect of the drop-down box is no animation effect.

[0227] See also Figure 13 , Figure 13 This is a schematic diagram of the event setting interface provided in the embodiment of the present application. Figure 6 . Figure 13Response event 15 is shown in the figure. The operation event corresponding to response event 15 is a click component event 401. The delayed response time corresponding to response event 15 is 45ms. Response event 15 is an event 415 for switching the display perspective of the component displayed on the human-computer interaction interface. The action corresponding to response event 15 is to display the drop-down box using the default perspective in the first-person perspective.

[0228] See also Figure 14 , Figure 14 This is a schematic diagram of the event setting interface provided in the embodiment of the present application. Figure 7 . Figure 14 Response event 16 is shown in the figure. The operation event corresponding to response event 16 is a single-click component event 401. The delayed response time corresponding to response event 16 is 90ms. Response event 16 is an event 418 for controlling the component displaying the human-computer interaction interface to be in the selected state, or canceling the selected state of the component displaying the human-computer interaction interface. The action corresponding to response event 15 is to display area 1 in the selected state.

[0229] The embodiment of the present application can construct the execution order of response events by increasing the delayed response time, thereby generating an association relationship between the response events, and can solve the above-mentioned technical problem 3, and realize the execution of response events in sequence.

[0230] The following continues to describe the exemplary structure of the event processing device 455 provided in the embodiment of the present application as a software module. In some embodiments, such as Figure 2 As shown, the software modules stored in the event processing device 455 of the memory 440 may include:

[0231] An acquisition module 4551 is configured to acquire, in response to an operation event triggered on a human-computer interaction interface, at least one response event for responding to the operation event;

[0232] A determination module 4552 is configured to determine a delayed response time for each of the response events, where the delayed response time is the time from the triggering time of the operation event to the execution of the corresponding response event;

[0233] The execution module 4553 is configured to execute each response event when a corresponding execution time is determined to have arrived based on the delayed response time of the response event.

[0234] In some embodiments, the software module stored in the event processing device 455 of the memory 440 may also include: a division module, which is used to determine the delayed response time of each response event, and then, for each response event, compare the delayed response time of the response event with the delay time threshold; when the delayed response time is less than or equal to the delay time threshold, divide the response event into the first response event group.

[0235] The execution module 4553 is further configured to execute each response event in the first response event group when a corresponding execution time is determined to have arrived based on the delayed response time of the response event.

[0236] In some embodiments, the first response event group includes multiple response events; the execution module 4553 is also used to arrange the response events in the first response event group in the order of the delayed response time from short to long to obtain a first event sequence; perform a first poll on the response events in the first event sequence, and the period of the first polling is less than the delay time threshold; during the first polling process, it is determined that when the execution time arrives, the corresponding response event is executed.

[0237] In some embodiments, the determination module 4552 is further used to delete the target response event from the first response event group if it is determined that the target response event in the first response event group is completed; wherein, the target response event is any response event in the first response event group.

[0238] In some embodiments, the first polling is performed multiple times, and the execution module 4553 is further used to determine, for each first polling, during the process of the first polling, the response event located first in the first event sequence as the target response event; when the corresponding execution time is determined to have arrived based on the delayed response time of the target response event, the target response event is executed; when the corresponding execution time is determined to have not arrived based on the delayed response time of the target response event, the first polling is ended.

[0239] In some embodiments, the division module is further used to compare the delayed response time of the response event with the delay time threshold, and if the delayed response time is greater than the delay time threshold, divide the response event into a second response event group; perform a second poll on the response events in the second response event group, and the period of the second polling is equal to the delay time threshold; during the second polling process, when the difference between the execution time of the response event in the second response event group and the current time is less than or equal to the delay time threshold, divide the corresponding response event into the first response event group.

[0240] In some embodiments, the second response event group includes multiple response events; the division module is also used to, during the second polling process, for each response event in the second response event group, when the difference between the execution time of the response event and the current time is less than or equal to the delay time threshold, determine the response event as an event to be inserted; when there are multiple events to be inserted, arrange the events to be inserted in order from short to long according to the delayed response time to obtain a second event sequence; and divide the second event sequence into the first response event group.

[0241] In some embodiments, the execution module 4553 is also used to create a timer for each delayed response time after determining the delayed response time of each response event. Different timers correspond to different delayed response times. The timer is associated with at least one response event. When the execution time of the response event associated with the time indication based on the timer arrives, the response event is executed.

[0242] In some embodiments, the response event has at least one associated event for responding to the response event; the execution module 4553 is also used to obtain the associated event and the execution time of each associated event in response to the response event after executing the response event; and execute each associated event based on the execution time of each associated event.

[0243] In some embodiments, the response event is used to process visualization data; there are multiple response events, and the multiple response events are arranged in order from short to long according to the delayed response time to form a third event sequence, and the third event sequence includes a first response event and a second response event, and the first response event and the second response event are any two adjacent response events in the third event sequence. In the third event sequence, the first response event is sorted before the second response event.

[0244] The execution module 4553 is also used to process the first visualization data corresponding to the first response event based on the processing method indicated by the first response event to obtain second visualization data when the corresponding execution time is determined to have arrived based on the delayed response time of the first response event; and to process the second visualization data corresponding to the second response event based on the processing method indicated by the second response event to obtain third visualization data when the corresponding execution time is determined to have arrived based on the delayed response time of the second response event.

[0245] In some embodiments, each of the response events corresponds to an action in the human-computer interaction interface, and the number of the response events is multiple. The execution module 4553 is also used to obtain the relationship between the actions corresponding to each of the third response events when there are multiple third response events with the same execution time; and execute each of the third response events based on the relationship between the actions corresponding to each of the third response events.

[0246] In some embodiments, the execution module 4553 is also used to execute each of the third response events in parallel when the relationship between the actions corresponding to each of the third response events indicates that the actions corresponding to each of the third response events can be superimposed; to execute the third response event with the largest delayed response time when the relationship between the actions corresponding to each of the third response events indicates that the actions corresponding to each of the third response events conflict; and to execute the third response event corresponding to the last action in the continuous action when the relationship between the actions corresponding to each of the third response events indicates that the actions corresponding to each of the third response events are continuous actions.

[0247] In some embodiments, the execution module 4553 is also used to execute any one of the following: when the target execution time obtained by adding the delayed response time of the response event to the trigger time arrives, the response event is executed; when the difference between the target execution time obtained by adding the delayed response time of the response event to the trigger time and the current time is less than the difference threshold, the response event is executed.

[0248] The present invention provides a computer program product including a computer program or computer-executable instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer-executable instructions from the computer-readable storage medium and executes the computer-executable instructions, causing the electronic device to perform the event processing method described in the present invention.

[0249] The embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions or computer programs are stored. When the computer-executable instructions or computer programs are executed by a processor, the processor will be caused to execute the event processing method provided by the embodiment of the present application, for example, Figure 3 The event handling method shown.

[0250] In some embodiments, the computer-readable storage medium may be a memory such as RAM, ROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.

[0251] In some embodiments, computer-executable instructions may be in the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.

[0252] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinating files (e.g., files storing one or more modules, subroutines, or code portions).

[0253] By way of example, computer-executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed across multiple sites and interconnected by a communication network.

[0254] To sum up, the event processing method provided in the embodiment of the present application can reduce the hardware processing resources per unit time for executing response events, avoid event conflicts when there are multiple response events, and reduce the possibility of problems such as device freezes or crashes, compared to the method of simultaneously executing all response events corresponding to the operation event.

[0255] The event processing method provided in the embodiment of the present application can divide the response events according to the relationship between the delayed response time and the delay time threshold, and then the corresponding response events can be executed for the first response event group, and the corresponding response events can be divided into the first response event group for the second response event group, which solves technical problem 4 and realizes the maintenance of response events in different event groups.

[0256] The embodiment of the present application can maintain response events that need to be executed within the delay event threshold in the first response event group. The first response event group can dispatch response events whose execution time and current time have a difference less than the difference threshold at the same time, thereby executing the corresponding response events, which can reduce the cost of dispatching response events by the first response event group.

[0257] By determining the target response event in the first polling cycle and then determining whether to execute the response event, the response events in the first response event group can be executed. Compared to the method of executing all response events corresponding to the operation event simultaneously, this method can reduce the hardware processing resources per unit time for executing the response event, avoid event conflicts when there are multiple response events, and reduce the possibility of device lag or downtime.

[0258] By setting different polling cycles for the first response event group and the second response event group, the polling cost can be reduced while executing the corresponding response event for the first response event group and classifying the corresponding response event for the second response event group into the first response event group.

[0259] The embodiment of the present application can construct the execution order of response events by increasing the delayed response time, thereby generating an association relationship between the response events, and can solve the above-mentioned technical problem 3, and realize the execution of response events in sequence.

[0260] For third response events with conflicting actions, only the third response event with the longest delayed response time can be executed, which is equivalent to providing an execution solution for conflicting response events, which can solve the above-mentioned technical problem 2 and improve the success rate of executing the third response event.

[0261] The above description is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, and improvements made within the spirit and scope of the present application are included in the scope of protection of the present application.

Claims

1. An event processing method, characterized in that: The method comprises: In response to an operation event triggered on a human-computer interaction interface, obtaining at least one response event for responding to the operation event; Determining a delayed response time for each of the response events, where the delayed response time is the time from the triggering time of the operation event to the execution of the corresponding response event; For each of the response events, when a corresponding execution time is determined to have arrived based on the delayed response time of the response event, the response event is executed.

2. The method according to claim 1, characterized in that After determining the delayed response time of each response event, the method further includes: For each of the response events, comparing the delayed response time of the response event with a delay time threshold; When the delayed response time is less than or equal to the delay time threshold, classifying the response event into a first response event group; For each of the response events, when a corresponding execution time is determined to have arrived based on the delayed response time of the response event, executing the response event includes: For each response event in the first response event group, when a corresponding execution time is determined to have arrived based on the delayed response time of the response event, the response event is executed.

3. The method according to claim 2, characterized in that The first response event group includes a plurality of response events; For each of the response events in the first response event group, when a corresponding execution time is determined to have arrived based on the delayed response time of the response event, executing the response event includes: Arrange the response events in the first response event group in order of the delayed response time from shortest to longest to obtain a first event sequence; Performing a first poll on the response events in the first event sequence, where a period of the first poll is less than the delay time threshold; During the first polling process, when it is determined that the execution time arrives, a corresponding response event is executed.

4. The method according to claim 2 or 3, characterized in that The method further comprises: If it is determined that the target response event in the first response event group is completed, deleting the target response event from the first response event group; The target response event is any one response event in the first response event group.

5. The method according to claim 3, characterized in that The number of times of the first polling is multiple, and during the first polling process, when the execution time is determined to arrive, executing a corresponding response event includes: For each of the first polling, during the first polling, determining the response event that is first in the first event sequence as a target response event; When a corresponding execution time is determined to have arrived based on the delayed response time of the target response event, executing the target response event; The method further comprises: When it is determined based on the delayed response time of the target response event that the corresponding execution time has not arrived, the first polling is terminated.

6. The method according to claim 2, characterized in that After comparing the delayed response time of the response event with the delay time threshold, the method further includes: When the delayed response time is greater than the delay time threshold, classifying the response event into a second response event group; Performing a second poll on the response events in the second response event group, where a period of the second poll is equal to the delay time threshold; During the second polling process, when the difference between the execution time of the response event in the second response event group and the current time is less than or equal to the delay time threshold, the corresponding response event is classified into the first response event group.

7. The method according to claim 6, characterized in that The second response event group includes a plurality of the response events; The step of classifying the corresponding response event into the first response event group when the difference between the execution time of the response event in the second response event group and the current time is less than or equal to the delay time threshold during the second polling process includes: During the second polling process, for each response event in the second response event group, when the difference between the execution time of the response event and the current time is less than or equal to the delay time threshold, determining the response event as an event to be inserted; When there are multiple events to be inserted, the events to be inserted are arranged in order of the delayed response time from shortest to longest to obtain a second event sequence; The second event sequence is divided into the first response event group.

8. The method according to claim 1, characterized in that After determining the delayed response time of each response event, the method further includes: For each delayed response time, a timer is correspondingly created, different timers correspond to different delayed response times, and the timer is associated with at least one response event; When the corresponding execution time is determined to have arrived based on the delayed response time of the response event, executing the response event includes: When the execution time of the response event associated with the time indication based on the timer arrives, the response event is executed.

9. The method according to claim 1, characterized in that The response event has at least one associated event for responding to the response event; After executing the response event, the method further includes: In response to the response event, obtaining the associated events and the execution time of each associated event; Execute each of the associated events based on the execution time of each of the associated events.

10. The method according to claim 1, characterized in that The response event is used to process the visualization data; there are multiple response events, and the multiple response events are arranged in order of the delayed response time from shortest to longest to form a third event sequence, and the third event sequence includes a first response event and a second response event, the first response event and the second response event are any two adjacent response events in the third event sequence, and in the third event sequence, the first response event is arranged before the second response event; When the corresponding execution time is determined to have arrived based on the delayed response time of the response event, executing the response event includes: When a corresponding execution time is determined to have arrived based on the delayed response time of the first response event, first visualization data corresponding to the first response event is processed based on a processing method indicated by the first response event to obtain second visualization data; When the corresponding execution time is determined to have arrived based on the delayed response time of the second response event, the second visualization data corresponding to the second response event is processed based on the processing method indicated by the second response event to obtain third visualization data.

11. The method according to claim 1, characterized in that Each of the response events corresponds to an action in the human-computer interaction interface, there are multiple response events, and executing the response events includes: In the case where there are multiple third response events with the same execution time, obtaining the relationship between the actions corresponding to the third response events; Based on the relationship between the actions corresponding to the third response events, each of the third response events is executed.

12. The method according to claim 11, characterized in that The executing each of the third response events based on the relationship between the actions corresponding to the third response events includes: When the relationship between the actions corresponding to the third response events indicates that the actions corresponding to the third response events can be superimposed, executing the third response events in parallel; When the relationship between the actions corresponding to the third response events indicates that there is a conflict between the actions corresponding to the third response events, executing the third response event with the largest delayed response time; In a case where the relationship between the actions corresponding to the third response events indicates that the actions corresponding to the third response events are continuous actions, the third response event corresponding to the last action in the continuous actions is executed.

13. The method according to claim 1, wherein When the corresponding execution time is determined to have arrived based on the delayed response time of the response event, executing the response event includes any one of the following: When the target execution time obtained by adding the delayed response time of the response event to the trigger time arrives, executing the response event; When the difference between the target execution time obtained by adding the delayed response time of the response event to the trigger time and the current time is less than a difference threshold, the response event is executed.

14. An event processing device, characterized in that: The device comprises: an acquisition module, configured to, in response to an operation event triggered on the human-computer interaction interface, acquire at least one response event for responding to the operation event; a determination module, configured to determine a delayed response time of each of the response events, wherein the delayed response time is the time from the triggering time of the operation event to the execution of the corresponding response event; The execution module is configured to execute, for each of the response events, the response event when a corresponding execution time is determined to have arrived based on the delayed response time of the response event.

15. An electronic device, characterized in that: The electronic device comprises: a memory for storing computer-executable instructions; The processor is configured to implement the event processing method according to any one of claims 1 to 13 when executing the computer-executable instructions stored in the memory.

16. A computer-readable storage medium storing computer-executable instructions or a computer program, characterized in that: When the computer executable instructions or computer program are executed by a processor, the event processing method according to any one of claims 1 to 13 is implemented.

17. A computer program product comprising computer executable instructions or a computer program, characterized in that When the computer executable instructions or computer program are executed by a processor, the event processing method according to any one of claims 1 to 13 is implemented.