Event processing method, device, equipment and medium
By obtaining the history and current trigger information of the live broadcast scene, determining the event association relationship and executing the history and current events, the problem of users missing the live broadcast is solved, and cross-time and spatial interaction and user experience is improved.
Patent Information
- Application Number
- CN202310096422.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-19
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2043-01-19
AI Technical Summary
In the live broadcast scenario, if the user misses the live broadcast, he will no longer be able to participate, resulting in poor user experience.
By obtaining the historical trigger information and current trigger information of the target scene, the association relationship between the historical event and the current event is determined, and the historical event and current event are executed according to the association relationship, allowing users to directly participate in the historical scenario.
It realizes cross-time and space interaction between users, improves user experience, and allows users to still participate in the scene after missing the live broadcast and re-experience historical events.
Smart Images

Figure CN116055820B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to event processing methods, devices, equipment and media. Background Art
[0002] With the development of Internet technology, live broadcasting scenarios such as games and online education have been widely used in people's daily lives. People can interact directly online, making leisure, entertainment, learning and other activities more convenient and richer. However, the inventor found through research that in such live broadcasting scenarios, if the user is unable to participate in the live broadcast in time due to something else, he can only play back the live broadcast screen afterwards, that is, he can only watch the scene at the time of the live broadcast, and can no longer personally participate in the scene to interact, which leads to poor user experience. Summary of the invention
[0003] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides an event processing method, device, equipment and medium.
[0004] According to one aspect of the present disclosure, an event processing method is provided, comprising: obtaining historical trigger information of a target scene; wherein the historical trigger information includes historical event information of the target scene being triggered within a specified historical period; obtaining current trigger information of the target scene; wherein the current trigger information includes current event information triggered by a current user for the target scene; determining, based on the historical trigger information and the current trigger information, an association relationship between a historical event corresponding to the historical trigger information and a current event corresponding to the current trigger information; and executing the historical event and the current event based on the association relationship.
[0005] According to another aspect of the present disclosure, an event processing device is provided, including: a historical information acquisition module, used to acquire historical trigger information of a target scene; wherein the historical trigger information includes historical event information of the target scene being triggered within a specified historical period; a current information acquisition module, used to acquire current trigger information of the target scene; wherein the current trigger information includes current event information triggered by the current user for the target scene; an association relationship determination module, used to determine, based on the historical trigger information and the current trigger information, an association relationship between a historical event corresponding to the historical trigger information and a current event corresponding to the current trigger information; and an event execution module, used to execute the historical event and the current event according to the association relationship.
[0006] According to another aspect of the present disclosure, an electronic device is provided, including: a processor; and a memory storing a program, wherein the program includes instructions, and when the instructions are executed by the processor, the processor executes the event processing method.
[0007] The above technical solution provided in the disclosed embodiment can obtain the historical trigger information of the target scene (including the historical event information of the target scene being triggered within the historical specified time period) and the current trigger information of the target scene (including the current event information triggered by the current user for the target scene); and determine the association relationship between the historical event corresponding to the historical trigger information and the current event corresponding to the current trigger information based on the historical trigger information and the current trigger information, so as to execute the historical event and the current event according to the association relationship. The above method not only restores the historical scene for the user by executing the historical event, but also processes the current event triggered by the user, executes the historical event and the current event based on the association relationship between the historical event and the current event, and enables the user to directly participate in the historical scene, which helps to realize the user's cross-time and space interaction and effectively improves the user experience.
[0008] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0010] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0011] Figure 1 A flowchart of an event processing method provided by an embodiment of the present disclosure;
[0012] Figure 2 A flowchart of an event processing method provided by an embodiment of the present disclosure;
[0013] Figure 3 A schematic diagram of an interface provided by an embodiment of the present disclosure;
[0014] Figure 4 A schematic diagram of the structure of an event processing device provided by an embodiment of the present disclosure;
[0015] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0016] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0017] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0018] The term "including" and its variations used in the present disclosure are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0019] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0020] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0021] There are certain limitations in the live broadcast scene. If the user misses the live broadcast, he can no longer participate in the live broadcast scene. Taking the virtual education scene as an example, users (students and teachers) all have corresponding virtual representative objects in the scene, and teachers and students can conduct live teaching in the virtual scene without being restricted by region. However, if the student fails to attend the live course on time due to temporary time changes, most of the ways are to watch the recorded broadcast, but at this time the student can no longer participate in the live broadcast scene, such as the student's virtual representative object cannot perform the tasks instructed by the teacher in the live broadcast scene, or interact with the user and NPC (Non-Player Character) who participated in the live broadcast scene at that time. If the teacher reorganizes the students who did not participate to make up the course, although the students who did not participate can interact during the make-up class, the cost is high, and it is impossible to replicate the interactive scene where a large number of students are in class at the same time. In order to improve the above problems, the disclosed embodiment also provides an event processing method, device, equipment and medium, which are described in detail below.
[0022] Figure 1 The present invention provides a flowchart of an event processing method provided by an embodiment of the present invention. The method can be executed by an event processing device, wherein the device can be implemented by software and / or hardware and can generally be integrated in an electronic device. Figure 1 As shown, the method mainly includes the following steps S102 to S108:
[0023] Step S102, obtaining historical triggering information of the target scene; wherein the historical triggering information includes historical event information of the target scene being triggered within a specified historical period.
[0024] The target scene is a virtual scene, such as a game scene, a virtual classroom scene, etc. The disclosed embodiment does not limit the target scene. The historical trigger information of the target scene includes the event information of the target scene triggered by the historical user during the historical live broadcast, and may also include event information associated with the event information triggered by the historical user, such as taking virtual props, timing, pop-up windows, playing animations, running and jumping, etc. can all be regarded as events, which are not limited here. For example, after monitoring the user to perform an action, an animation is played and a pop-up reminder is initiated after the animation ends, it can also be regarded as the user triggering the action event, and the playing of animations and pop-up reminders are both events associated with action events. The above is only an exemplary description and should not be regarded as a limitation. It can be understood that any event information triggered by the target scene within the historical specified time period belongs to historical event information. The historical specified time period may be, for example, the live broadcast time period of the target scene. For example, if a teacher and multiple students start studying together in a virtual classroom at Y1:00 on X / X / X and end at Y2:00 on X / X / X, then the historical specified time period may be from Y1:00 on X / X / X to Y2:00 on X / X / X, and the historical triggering information is all events and related events triggered by all teachers and students during the online class from Y1:00 on X / X / X to Y2:00 on X / X / X.
[0025] In order to better process the event information in the later stage, in some specific implementation examples, the historical event information includes: the identification information of the historical event, the identification information of the component used to execute the historical event, the user information corresponding to the historical event, and the time information of the historical event. Among them, each event can be set with a corresponding identification, which can also be called an event name; each event can be executed by a component, such as a multiple-choice question is a component, a timer is a component, a pop-up window is a component, and a video playback is a component. Each component can have corresponding inputs and outputs, and the output of a component can be connected to the input of the next component. For example, a pop-up window will appear after the video is played, and the output of the component that plays the video will be connected to the input of the pop-up window component. Each event can be completed by a component, and the communication between components can be completed through event triggering. A component can correspond to one or more events, and can correspond to at least one input event and at least one output event, which is not limited here. Through the identification information (component ID) of the component, it is also possible to clearly identify the component that can complete the required event and call it accordingly. In addition, the user information corresponding to the historical event can include the location information and name of the user role in the target scene, which is not limited here. In addition, the time information of the historical time can be the occurrence time of the historical event, and can also include the end time or duration, etc. By setting the above historical event information, it will help with subsequent scene restoration.
[0026] In practical applications, the historical trigger information of the target scene can be archived and recorded, so that the archived information can be read flexibly and the component can be called to re-trigger the execution without limit in the future, so as to realize the scene restoration. In the specific implementation, it is possible to first detect whether there is historical trigger information from the local storage area. When the historical trigger information of the target scene is detected in the local storage area, the historical trigger information of the target scene is obtained from the local storage area; when the historical trigger information of the target scene is not detected in the local storage area, the historical trigger information of the target scene is downloaded through the cloud server. It can be understood that the embodiment of the present disclosure fully considers that the user may experience the target scene many times. If the user experiences the target scene for the first time, the local storage area does not store the corresponding historical trigger information, and the information of the target scene can be pulled from the cloud, such as pulling the trigger information of other participating users of the target scene on the cloud. If the user has experienced the target scene before, the local storage area will usually have the corresponding historical trigger information recorded, and it can be directly pulled from the local storage area without going to the cloud to obtain it, which is very convenient and fast. Through the above method, the acquisition method of historical trigger information is more reasonable and reliable.
[0027] Step S104, obtaining current trigger information of the target scene; wherein the current trigger information includes current event information triggered by the current user for the target scene.
[0028] The historical trigger information may be the event information and associated information triggered by the user (historical user) who participated in the target scene within the specified historical period, and the current trigger information may be the event information and associated information triggered by the current user entering the target scene. The current user may be a user who did not participate in the target scene within the specified historical period. Correspondingly, the current event information may also include: identification information of the current event, identification information of the component used to execute the current event, user information corresponding to the current event, and time information of the current event. For details, please refer to the aforementioned historical trigger information, which will not be repeated here.
[0029] Step S106: determining, according to the historical trigger information and the current trigger information, an association relationship between the historical event corresponding to the historical trigger information and the current event corresponding to the current trigger information.
[0030] It can be understood that the historical trigger information and the current trigger information are respectively the event information triggered by the historical user and the current user for the target scene in different time periods. In order to reasonably and reliably realize event processing across time and space, the embodiment of the present disclosure will first determine the association relationship between the historical event corresponding to the historical trigger information and the current event corresponding to the current trigger information. Specifically, it is determined whether the historical event is related to the current event, or whether the current event will affect the historical event, so as to subsequently determine the execution method of the historical event and the current event based on the association relationship.
[0031] Step S108, executing historical events and current events according to the association relationship.
[0032] For example, if the current event is related to a historical event and the current event will affect the historical event, the execution strategy of the historical event can be adjusted, such as ending the historical event in advance or directly not executing the historical event. If the current event is not related to the historical event, the historical event and the current event can be executed normally. When executing historical events and current events, the components corresponding to the historical events and the components corresponding to the current events can be used to execute historical events and current events. Each event can be triggered according to the corresponding time and the relationship between each other, and the components can be called to execute the corresponding events one by one, so as to realize scene restoration. Different users do not need to be restricted by region, and cross-regional interaction can be realized through the target scene. In addition, the current user can also realize cross-time interaction with historical users, and comprehensively realize cross-time and space interaction.
[0033] The above method not only restores historical scenes for users by executing historical events, but also processes current events triggered by users, executes historical events and current events based on their correlation, enables users to directly participate in historical scenes, and helps to realize users' cross-time and space interaction.
[0034] In some implementations, the above step S106, i.e., the step of determining the association relationship between the historical event corresponding to the historical trigger information and the current event corresponding to the current trigger information according to the historical trigger information and the current trigger information, can be performed with reference to the following (1) to (3):
[0035] (1) Based on the historical trigger information and the current trigger information, detect from the historical events whether there is a target event affected by the current event. Exemplarily, detect from the historical events whether there is an event whose execution time or execution logic is affected by the current event; if so, use the detected event as the target event. For example, suppose that within the historical specified time period in the target scenario, 5 users (users N1 to N5) jointly perform task A, and it takes a total of 10 minutes to complete task A; at this time, if the current user (user M) is currently participating in the execution process of task A, that is, user M and historical users N1 to N5 jointly perform task A, then the total time required to complete the task is 8 minutes. At this time, the execution time of the task A execution event corresponding to users N1 to N5 will be affected by the current user M. For another example, suppose that a historical user N6 originally performed task B alone at a designated location in the target scene during a designated period of time in the target scene, but the current user M participates in the target scene and is already at the designated location before the historical user N6 arrives at the designated location, and performs task B. At this time, the task B execution event corresponding to the historical user N6 will be affected, resulting in the inability to execute the task B execution event corresponding to the historical user N6. In addition, the event execution order indicated in the execution logic of some events will also be affected by the newly inserted current event, which can all be regarded as the target event. The above are only simple examples and should not be regarded as limitations.
[0036] (2) When a target event is detected in the historical events, it is determined that there is a correlation between the current event and the target event, and there is no correlation between the current event and other events in the historical events except the target event.
[0037] (3) When the target event is not detected, it is determined that there is no association between the current event and the historical event.
[0038] Through the above method, it is possible to reliably determine whether there is a correlation between the current event and the target event, so as to reasonably execute the current event and historical events in the future, presenting users with a natural cross-time and space interactive experience.
[0039] In the case of determining the association relationship, in some implementations, the above step S108, i.e., the step of executing the historical event and the current event according to the association relationship, can be performed with reference to the following steps A and B:
[0040] Step A, when there is a target event associated with the current event in the historical events, adjust the historical trigger information corresponding to the target event according to the current trigger information corresponding to the current event. It is understandable that the current event may have an impact on the occurrence time of the target event that has occurred in the past, or whether it is executed, etc., so it is necessary to adjust the historical trigger information of the target time according to the current trigger information. In some specific implementation examples, step A can be performed with reference to the following steps A1 to A2:
[0041] Step A1, according to the current trigger information corresponding to the current event and the historical trigger information corresponding to the target event, determine the impact of the current event on the target event, which includes: changing the execution end time of the target event, or prohibiting the execution of the target event. As mentioned above, after the current user M joins, he executes task A together with historical users N1~N5, which shortens the completion time of task A. At this time, it is necessary to change the execution end time of task A corresponding to historical users N1~N5. After the current user M joins, he executes task B in advance. At this time, the execution event of task B corresponding to historical user N6 is prohibited.
[0042] Step A2: adjusting the historical trigger information corresponding to the target event according to the impact mode, such as changing the time information in the historical trigger information, or prohibiting the execution of the historical event corresponding to the historical trigger information.
[0043] Step B, based on the current trigger information, the adjusted historical trigger information corresponding to the target event, and the historical trigger information corresponding to other events in the current event except the target event, execute the current event, the target event and other events.
[0044] Through the above-mentioned method, even if the current event affects the target event, it can also be coordinated and processed according to the correlation between the two, so as to not only realize the restoration of historical events (target events and other events) in the target scene, but also add the current event, so that the current user can participate in the historical scene, realize cross-time and space interaction, and greatly improve the user experience. In other words, the event processing method provided by the embodiment of the present disclosure can add new trigger information (current trigger information) corresponding to the current user on the basis of the original trigger information (historical trigger information) of the historical occasion, and according to the new trigger information, intervene in the target event in the original trigger information in advance or prevent the start, etc., and realize the user's cross-time and space interaction by executing the historical event corresponding to the original trigger information after the intervention and the current event corresponding to the new trigger information.
[0045] like Figure 2 The flowchart of an event processing method shown in FIG. 1 mainly includes the following steps S202 to S208:
[0046] Step S202: Acquire historical trigger information of the target scene.
[0047] Step S204, obtaining current trigger information of the target scene.
[0048] Step S206: Detect from historical events whether there is a target event affected by the current event based on the historical trigger information and the current trigger information.
[0049] Step S208a, when it is detected that there is a target event in the historical events, it is determined that there is a correlation between the current event and the target event, and there is no correlation between the current event and other events in the historical events except the target event.
[0050] Step S208b: when the target event is not detected, determining that there is no association between the current event and the historical event.
[0051] Step S212, execute the historical event and the current event according to the association relationship. In specific implementation, the historical trigger information and the current trigger information can be re-delivered to the corresponding components according to the timeline and re-executed one by one, thereby achieving the effect of scene restoration and the current user participating in the historical scene.
[0052] The specific implementation of the above steps can refer to the above related content, which will not be repeated here. Through the above method, not only can the historical scene be restored for the user by executing the historical event, but also the target event affected by the current event in the historical event can be found, and the historical event and the current event can be reasonably and reliably executed based on the correlation between the historical event and the current event, so that the user can directly participate in the historical scene and realize the user's cross-time and space interaction.
[0053] Take the target scenario as a virtual classroom scenario, for example. Figure 3 An interface schematic diagram is shown. When the user fails to participate in the live broadcast of the virtual classroom scene, the disclosed embodiment can provide two modes for the user, one is the free operation mode, and the other is the replay mode (replay playback mode). In the free operation mode, the current user can re-participate in the virtual classroom scene, perform tasks in the virtual classroom scene, etc. In the specific implementation, it can be executed according to the archived historical trigger information and the user's current trigger information, so as to realize the interaction between the current user and the historical user. In the replay mode, the live broadcast can be directly replayed according to the archived historical trigger information. At this time, the current user can only be a bystander and no longer participate in it. In actual applications, users can flexibly select the required mode according to their needs. Compared with the method of only being able to watch the recorded broadcast in the related technology, the above method allows users to better participate in historical occasions, greatly improving the user experience.
[0054] To sum up, the event processing method provided by the embodiments of the present disclosure not only restores historical scenes for users by executing historical events, but also processes current events triggered by users, executes historical events and current events based on their association relationship, enables users to directly participate in historical scenes, and helps to realize users' cross-time and space interaction.
[0055] Corresponding to the aforementioned event processing method, the present disclosure also provides an event processing device, Figure 4 This is a schematic diagram of the structure of an event processing device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device. Figure 4 As shown, the event processing device 400 includes:
[0056] The historical information acquisition module 402 is used to acquire the historical trigger information of the target scene; wherein the historical trigger information includes the historical event information of the target scene being triggered within a specified historical period;
[0057] The current information acquisition module 404 is used to acquire the current trigger information of the target scene; wherein the current trigger information includes the current event information triggered by the current user for the target scene;
[0058] The association relationship determination module 406 is used to determine the association relationship between the historical event corresponding to the historical trigger information and the current event corresponding to the current trigger information according to the historical trigger information and the current trigger information;
[0059] The event execution module 408 is used to execute historical events and current events according to the association relationship.
[0060] The above-mentioned device not only restores historical scenes for users by executing historical events, but also processes current events triggered by users, executes historical events and current events based on the correlation between historical events and current events, enables users to directly participate in historical scenes, helps to realize users' cross-time and space interaction, and effectively improves user experience.
[0061] In some embodiments, the association relationship determination module 406 is specifically used to: detect whether there is a target event affected by the current event from the historical events based on the historical trigger information and the current trigger information; when the target event is detected in the historical events, determine that there is an association between the current event and the target event, and that there is no association between the current event and other events in the historical events except the target event; when the target event is not detected, determine that there is no association between the current event and the historical events.
[0062] In some implementations, the association relationship determination module 406 is specifically used to: detect from the historical events whether there is an event whose execution time or execution logic is affected by the current event; if so, use the detected event as the target event.
[0063] In some embodiments, the event execution module 408 is specifically used to: when there is a target event associated with the current event in the historical events, adjust the historical trigger information corresponding to the target event according to the current trigger information corresponding to the current event; execute the current event, the target event and the other events based on the current trigger information, the adjusted historical trigger information corresponding to the target event, and the historical trigger information corresponding to other events in the current event except the target event.
[0064] In some embodiments, the event execution module 408 is specifically used to: determine the impact of the current event on the target event based on the current trigger information corresponding to the current event and the historical trigger information corresponding to the target event, and the impact method includes: changing the execution end time of the target event, or prohibiting the execution of the target event; adjusting the historical trigger information corresponding to the target event according to the impact method.
[0065] In some embodiments, the historical information acquisition module 402 is specifically used to: when the historical trigger information of the target scene is detected in the local storage area, obtain the historical trigger information of the target scene from the local storage area; when the historical trigger information of the target scene is not detected in the local storage area, download the historical trigger information of the target scene through the cloud server.
[0066] In some implementations, the historical event information includes multiple ones of: identification information of the historical event, identification information of a component used to execute the historical event, user information corresponding to the historical event, and time information of the historical event.
[0067] In some implementations, the event execution module 408 is specifically configured to execute the historical event and the current event using the component corresponding to the historical event and the component corresponding to the current event.
[0068] The event processing device provided in the embodiments of the present disclosure can execute the event processing method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0069] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described device embodiment can refer to the corresponding process in the method embodiment, and will not be repeated here.
[0070] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0071] The exemplary embodiment of the present disclosure also provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor in communication. The memory stores a computer program that can be executed by the at least one processor, and the computer program is used to cause the electronic device to perform the method according to the embodiment of the present disclosure when executed by the at least one processor.
[0072] The exemplary embodiments of the present disclosure also provide a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to perform the method according to the embodiments of the present disclosure.
[0073] The exemplary embodiments of the present disclosure further provide a computer program product, including a computer program, wherein when the computer program is executed by a processor of a computer, the computer is used to enable the computer to perform the method according to the embodiments of the present disclosure.
[0074] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0075] In addition, the embodiment of the present disclosure may also be a computer-readable storage medium, on which computer program instructions are stored, and the computer program instructions, when executed by the processor, cause the processor to execute the event processing method provided by the embodiment of the present disclosure. The computer-readable storage medium may adopt any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may, for example, include but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples of readable storage media (non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0076] refer to Figure 5 , a block diagram of an electronic device 500 that can be used as a server or client of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0077] like Figure 5 As shown, the electronic device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0078] A plurality of components in the electronic device 500 are connected to the I / O interface 505, including: an input unit 506, an output unit 507, a storage unit 508, and a communication unit 509. The input unit 506 may be any type of device capable of inputting information to the electronic device 500, and the input unit 506 may receive input digital or character information, and generate key signal inputs related to user settings and / or function control of the electronic device. The output unit 507 may be any type of device capable of presenting information, and may include, but is not limited to, a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 508 may include, but is not limited to, a disk, an optical disk. The communication unit 509 allows the electronic device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and may include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth™ device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.
[0079] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above. For example, in some embodiments, the event processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 500 via ROM 502 and / or communication unit 509. In some embodiments, the computing unit 501 may be configured to execute the event processing method in any other appropriate manner (e.g., by means of firmware).
[0080] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0081] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0082] As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and / or device (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0083] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0084] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0085] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.
[0086] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0087] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An event processing method, comprising: Acquire historical trigger information of the target scene; wherein the historical trigger information includes historical event information of the target scene being triggered within a specified historical period; Acquire current trigger information of the target scene; wherein the current trigger information includes current event information triggered by the current user for the target scene; Determine, according to the historical trigger information and the current trigger information, an association relationship between a historical event corresponding to the historical trigger information and a current event corresponding to the current trigger information; wherein the association relationship refers to whether there is a target event in the historical event that is affected by the current event; According to the association relationship, the historical event and the current event are executed; wherein, when the current event is associated with the historical event, the execution strategy of the historical event is adjusted; when the current event is not associated with the historical event, the historical event and the current event are executed normally.
2. The event processing method according to claim 1, wherein: The step of determining, according to the historical trigger information and the current trigger information, an association relationship between a historical event corresponding to the historical trigger information and a current event corresponding to the current trigger information comprises: According to the historical trigger information and the current trigger information, detecting whether there is a target event affected by the current event from the historical events; In the case where a target event is detected in the historical events, determining that there is a correlation between the current event and the target event, and that there is no correlation between the current event and other events in the historical events except the target event; In the case that the target event is not detected, it is determined that there is no association between the current event and the historical event.
3. The event processing method according to claim 2, wherein: The step of detecting whether there is a target event affected by the current event from the historical events includes: Detecting from the historical events whether there is an event whose execution time or execution logic is affected by the current event; If it exists, the detected event is used as the target event.
4. The event processing method according to claim 1, wherein: The step of executing the historical event and the current event according to the association relationship includes: In the case where there is a target event associated with the current event in the historical events, adjusting the historical trigger information corresponding to the target event according to the current trigger information corresponding to the current event; Based on the current trigger information, the adjusted historical trigger information corresponding to the target event, and the historical trigger information corresponding to other events in the current event except the target event, the current event, the target event and the other events are executed.
5. The event processing method according to claim 4, wherein: The step of adjusting the historical trigger information corresponding to the target event according to the current trigger information corresponding to the current event includes: Determining, according to the current trigger information corresponding to the current event and the historical trigger information corresponding to the target event, the impact mode of the current event on the target event, the impact mode including: changing the execution end time of the target event, or prohibiting the execution of the target event; The historical trigger information corresponding to the target event is adjusted according to the influencing mode.
6. The event processing method according to claim 1, wherein: The step of obtaining historical trigger information of the target scene includes: When the historical trigger information of the target scene is detected in the local storage area, acquiring the historical trigger information of the target scene from the local storage area; When the historical trigger information of the target scene is not detected in the local storage area, the historical trigger information of the target scene is downloaded through the cloud server.
7. The event processing method according to claim 1, wherein: The historical event information includes multiple items of: identification information of the historical event, identification information of a component used to execute the historical event, user information corresponding to the historical event, and time information of the historical event.
8. The event processing method according to claim 7, wherein: The step of executing the historical event and the current event includes: The historical event and the current event are executed by utilizing the component corresponding to the historical event and the component corresponding to the current event.
9. An event processing device, comprising: A historical information acquisition module, used to acquire historical trigger information of a target scene; wherein the historical trigger information includes historical event information of the target scene being triggered within a specified historical period; A current information acquisition module, used to acquire current trigger information of the target scene; wherein the current trigger information includes current event information triggered by the current user for the target scene; An association relationship determination module, used to determine, based on the historical trigger information and the current trigger information, an association relationship between a historical event corresponding to the historical trigger information and a current event corresponding to the current trigger information; wherein the association relationship refers to whether there is a target event in the historical event that is affected by the current event; An event execution module is used to execute the historical event and the current event according to the association relationship; wherein, when the current event is associated with the historical event, the execution strategy of the historical event is adjusted; when the current event is not associated with the historical event, the historical event and the current event are executed normally.
10. An electronic device comprising: processor; as well as Memory for storing programs, The program includes instructions, which, when executed by the processor, cause the processor to execute the event processing method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the event processing method described in any one of claims 1 to 8.
Citation Information
Patent Citations
Video bullet screen comment generation method and device, storage medium and electronic device
CN109982128A
Control method and device of Internet of Things equipment, electronic equipment and storage medium
CN115524977A