Interactive event execution method and device, electronic device, and storage medium

By recording the mapping relationship between the interactive event and the trigger mode and multiple capabilities in the terminal, the problem of complex and custom difficulty in the development of interactive events in existing technologies, realizing that the terminal can perform more interactive operations and support user -defined customization. Essence

CN117215682BActive Publication Date: 2025-01-28BEIJING XIAOMI ROBOT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310932312.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-27
Publication Date
2025-01-28
Estimated Expiration
2043-07-27

AI Technical Summary

Technical Problem

During the design stage, existing terminals can perform fewer interactive operations due to the complex logic of interaction event development and cannot support user-defined interactive events.

Method used

By recording the mapping relationship between the interactive event and the trigger mode, and the multiple capabilities of the terminal, each interactive event consists of multiple capabilities. The target trigger event initiated by the user was detected, and the target trigger mode was determined according to the trigger data to determine and execute the corresponding target interaction events.

Benefits of technology

Simplified the development process of the terminal of the terminal, reduced development costs, supported users to customize interactive events, so that the terminal can perform more interactive operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117215682B_ABST
    Figure CN117215682B_ABST
Patent Text Reader

Abstract

The present disclosure is about a method and device for executing an interactive event, an electronic device, and a storage medium. The method is applied to a terminal, in which a mapping relationship between interactive events and trigger modes and a plurality of capability elements possessed by the terminal are recorded; each interactive event is composed of at least a part of the plurality of capability elements; the method comprises: when a target trigger event initiated by a user is detected, a target trigger mode corresponding to the target trigger event is determined according to trigger data generated by the target trigger event; a target interactive event corresponding to the target trigger mode is determined from the interactive events recorded in the mapping relationship; and the target interactive event is executed at the granularity of the target capability element contained in the target interactive event.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of terminals, and in particular to an interactive event execution method and device, an electronic device, and a storage medium. Background Art

[0002] With the continuous development of terminal technology, new terminals such as electronic pets, vending robots, and sweeping robots are also widely used in various scenarios.

[0003] In the related art, such terminals usually write codes directly according to the interactive operations to be performed during the design phase, which is complex and costly to develop, resulting in such terminals being able to perform fewer interactive operations. In addition, due to the complex compilation logic of interactive events, user customization is usually not supported. Summary of the invention

[0004] The present disclosure provides an interactive event execution method and device, an electronic device, and a storage medium, which can avoid the problem that the interactive event development logic is complicated, resulting in a terminal being able to execute fewer interactive events.

[0005] According to a first aspect of the present disclosure, there is provided an interactive event execution method, which is applied to a terminal, wherein the terminal records a mapping relationship between interactive events and trigger modes, and a plurality of capability elements possessed by the terminal; wherein each interactive event is composed of at least a portion of the plurality of capability elements; and the method comprises:

[0006] When a target triggering event initiated by a user is detected, determining a target triggering mode corresponding to the target triggering event according to triggering data generated by the target triggering event;

[0007] Determining a target interaction event corresponding to the target trigger mode from the interaction events recorded in the mapping relationship;

[0008] The target interaction event is executed based on the target capability element included in the target interaction event as the granularity.

[0009] According to a second aspect of the present disclosure, there is provided an interaction event configuration method, which is applied to a terminal and includes:

[0010] In response to an interactive event configuration instruction initiated by a user, displaying to the user a plurality of pre-recorded configurable capability elements possessed by the terminal;

[0011] In response to a selection instruction of the user for at least one configurable capability element, configuring the at least one configurable capability element selected by the user as an interaction event to be bound;

[0012] In response to a trigger mode configuration instruction initiated by a user, a mapping relationship between the target trigger mode configured by the user and the interaction event to be bound is recorded to configure the interaction event to be bound as a target interaction event triggered by the target trigger mode.

[0013] According to a third aspect of the present disclosure, there is provided an interactive event execution device, which is applied to a terminal, wherein the terminal records a mapping relationship between interactive events and trigger modes, and a plurality of capability elements possessed by the terminal; wherein each interactive event is composed of at least a portion of the plurality of capability elements; the device comprises:

[0014] A first determining unit, when detecting a target triggering event initiated by a user, determines a target triggering mode corresponding to the target triggering event according to triggering data generated by the target triggering event;

[0015] A second determining unit, determining a target interaction event corresponding to the target trigger mode from the interaction events recorded in the mapping relationship;

[0016] The execution unit executes the target interaction event based on the target capability element included in the target interaction event as a granularity.

[0017] According to a fourth aspect of the present disclosure, there is provided an interactive event configuration device, applied to a terminal, comprising:

[0018] A display unit, in response to an interactive event configuration instruction initiated by a user, displays to the user a plurality of pre-recorded configurable capability elements possessed by the terminal;

[0019] a configuration unit, in response to a selection instruction of a user for at least one configurable capability element, configuring at least one configurable capability element selected by the user as an interaction event to be bound;

[0020] The recording unit records the mapping relationship between the target trigger mode configured by the user and the interaction event to be bound in response to the trigger mode configuration instruction initiated by the user, so as to configure the interaction event to be bound as a target interaction event triggered by the target trigger mode.

[0021] According to a fifth aspect of the present disclosure, there is provided an electronic device, including:

[0022] processor;

[0023] a memory for storing processor-executable instructions;

[0024] The processor implements the method as described in the first aspect or the second aspect by running the executable instructions.

[0025] According to a sixth aspect of the present disclosure, a computer-readable storage medium is provided, on which computer instructions are stored. When the instructions are executed by a processor, the steps of the method described in the first aspect or the second aspect are implemented.

[0026] In the technical solution disclosed in the present invention, the terminal may record the mapping relationship between the interaction event and the trigger mode, as well as the multiple capability elements possessed by the terminal, and the interaction events recorded in the mapping relationship are all composed of capability elements. Under this premise, when a target trigger event initiated by a user is detected, the corresponding target interaction event can be determined, and the target interaction event is executed at the granularity of the target capability element contained in the target interaction event.

[0027] It should be understood that since the terminal records its own capability elements and the interactive events are composed of capability elements, during the terminal development stage, the present disclosure only needs to compile the codes of various capability elements according to the capabilities of the terminal, and the interactive events can be configured by combining the capability elements, avoiding the problem in the related art that it is difficult to configure a large number of interactive events for the terminal due to direct compilation of the interactive events, and the problem that it is difficult for users to customize the interactive events that can be executed by the terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] 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.

[0029] Figure 1 is a flow chart of an interactive event execution method shown in an exemplary embodiment of the present disclosure;

[0030] Figure 2 is a flow chart of an interactive event configuration method shown in an exemplary embodiment of the present disclosure;

[0031] Figure 3 is a flow chart of a hybrid interaction event configuration method shown in an exemplary embodiment of the present disclosure;

[0032] Figure 4 is a flow chart of a hybrid interactive event execution method shown in an exemplary embodiment of the present disclosure;

[0033] Figure 5 is a block diagram of an interactive event execution device shown in an exemplary embodiment of the present disclosure;

[0034] Figure 6 is a block diagram of an interactive event configuration device shown in an exemplary embodiment of the present disclosure;

[0035] Figure 7It is a schematic structural diagram of an electronic device in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0036] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0037] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0038] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0039] Traditional terminals such as smartphones and tablets are usually used to meet needs such as communication, information query, and video viewing, and mostly reflect the practical value of the terminals.

[0040] With the continuous development of terminal technology, new terminals such as electronic pets and household robots are also widely used in various scenarios. For users, such terminals not only have high practical value, but also can play the role of companionship, care and other emotional values ​​to meet the user's needs. It is not difficult to understand that such terminals need to be able to perform a large number of interactive operations with users in order to realize their multi-faceted value.

[0041] However, in the related art, when configuring the interactive events that can be executed for such terminals, the traditional configuration method is still used, that is, directly defining the interactive events. For example, developers usually directly write corresponding event codes according to the interactive events to be executed, and deploy them to the terminals. On this basis, when the terminals need to execute the interactive events, they can directly call the corresponding event codes to run.

[0042] It is not difficult to see that in the related technologies, separate development is required when configuring different interactive events. In view of the huge development costs, the related technologies usually do not configure a large number of interactive events in a single terminal to avoid the problem of excessively high development costs. Accordingly, due to the small number of configured interactive events, the terminal can execute fewer interactive events, and the value that can be achieved is greatly reduced.

[0043] In view of this, the present disclosure proposes a method for executing interactive events. In this method, the terminal records multiple capability elements that it possesses, and deploys interactive events by combining the capability elements. Under this premise, when the terminal detects a trigger event initiated by a user, it can determine the interactive event to be executed according to the trigger mode corresponding to the trigger event, and execute the interactive event with the capability elements contained in the interactive event as the granularity.

[0044] It should be understood that when the related technology executes an interactive event, it directly runs the code corresponding to the interactive event. In other words, when the related technology executes an interactive event, it uses the interactive event itself as the granularity. In the present disclosure, since the interactive event is configured by combining capability elements, the present disclosure can be executed with capability elements as the granularity when executing the interactive event. Under this premise, the present disclosure only needs to develop capability elements according to the capabilities possessed by the terminal, and a large number of interactive events can be configured for the terminal by combining capability elements, thus avoiding the problem of high development costs caused by the need to develop each interactive event separately in the related technology.

[0045] The following is an introduction to each step of the technical solution disclosed herein.

[0046] Figure 1 This is a flowchart of an interactive event execution method shown in an exemplary embodiment of the present disclosure. The method is applied to a terminal, in which a mapping relationship between interactive events and trigger modes and multiple capability elements of the terminal are recorded; wherein each interactive event is composed of at least a part of the multiple capability elements; Figure 1 As shown, the method may include the following steps:

[0047] Step 102: when a target triggering event initiated by a user is detected, a target triggering mode corresponding to the target triggering event is determined according to triggering data generated by the target triggering event.

[0048] In the present disclosure, the capabilities of the terminal may be preferentially recorded in the terminal in the form of capability elements, and on this basis, the interactive events that can be executed by configuring the terminal may be combined.

[0049] In the present disclosure, the interactive events that can be executed by the terminal can be configured in a variety of ways. For example, before the terminal leaves the factory, the technical staff can combine the capability elements recorded in the terminal to complete the configuration of the interactive event; for another example, the terminal can display its own recorded capability elements to the user, so that the user can select the capability elements used to constitute the interactive event, thereby realizing the customization of the interactive event. Of course, the above examples are only illustrative, and how to configure the interactive event can be determined by those skilled in the art according to actual needs, and the present disclosure does not limit this.

[0050] In the present disclosure, the terminal can either record the capability elements it possesses in a unified manner or record the capability elements it possesses in a classified manner. When the capability elements are recorded in a classified manner, they can be recorded in different capability sets according to the capability dimensions to which each capability element belongs. In other words, the capability elements possessed by the terminal are recorded in the form of capability sets.

[0051] For example, the capability set maintained in the terminal may include a "sports capability set that records at least one executable action", under which premise, each executable action in the sports capability set is a sports capability element. For another example, the capability set maintained in the terminal may include a "voice capability set that records at least one broadcastable voice", under which premise, each broadcastable voice in the voice capability set is a voice capability element. For another example, the capability set maintained in the terminal may include a "lighting effect capability set that records at least one displayable lighting effect", under which premise, each displayable lighting effect in the lighting effect capability set is a lighting effect capability element.

[0052] Of course, the above three capability sets are all schematic. The specific capability set or capability dimensions maintained by the terminal can be determined by those skilled in the art according to actual needs. For example, in addition to the above capability sets, a "shooting capability set that records at least one executable shooting method" can also be maintained. The present disclosure does not limit this. In addition, in addition to dividing each capability set according to the capability dimension, it can also be divided according to other dimensions. For example, it can also be divided according to the generation order of capability elements. Once the capability elements in a capability set reach the upper limit, the newly generated capability elements will be recorded in another capability set. The specific classification and recording can be determined by those skilled in the art according to actual needs, and the present disclosure does not limit this.

[0053] In the case where the terminal maintains a capability set with different capability dimensions, the interactive events recorded in the terminal may include conventional interactive events composed of at least one capability element in a single capability set, or mixed interactive events composed of capability elements in at least two capability sets. For example, conventional interactive events may include: a sports event composed only of sports capability elements, when executing the sports event, the terminal only moves; for another example, a mixed interactive event may include: a song and dance event composed of sports capability elements and voice capability elements, when executing the song and dance event, the terminal can move while broadcasting the voice. Of course, the examples given here are only illustrative, and how to specifically form an interactive event can be determined by those skilled in the art according to actual needs, and the present disclosure does not limit this.

[0054] It is not difficult to understand that the capability elements of a terminal are usually related to the components carried by the terminal. For example, the above-mentioned motion capability elements require the terminal to have movable joints; the above-mentioned voice capability elements require the terminal to be equipped with voice broadcast components such as speakers; the above-mentioned lighting capability elements require the terminal to be equipped with certain light-emitting components. It can be seen that the present disclosure can record the corresponding capability components in the terminal according to the components carried by the terminal.

[0055] In the present disclosure, capability elements may be set according to different granularities. In one case, the minimum executable granularity of the terminal may be determined first, and then the capability elements possessed by the terminal may be set according to the minimum executable granularity.

[0056] For example, if the terminal is a household robot, and the robot's palm has five fingers, and each finger has three joints, then the minimum executable granularity is "joint", and the capability element can be set in units of "joint". For example, the capability element set is "joint X rotates N degrees in direction A".

[0057] Of course, the above examples are merely illustrative. In addition to setting capability elements at the minimum executable granularity, capability elements may also be set at other granularities. For example, in the above examples, capability elements may also be set at the granularity of "finger" or "palm", and the present disclosure does not limit this.

[0058] It should be understood that when setting capability elements at the minimum executable granularity, on the one hand, precise control of terminal components can be achieved; on the other hand, as the granularity decreases, the number of capability elements that can be set also increases, and therefore, more interactive events can be configured by combining capability elements; on the other hand, also due to the small granularity, the development work of a single capability element is relatively simple, such as the amount of code required to compile a single capability element is reduced.

[0059] Step 104: Determine a target interaction event corresponding to the target trigger mode from the interaction events recorded in the mapping relationship.

[0060] In the present disclosure, in addition to configuring the interactive event itself, it is also necessary to configure a trigger mode for the interactive event so that the user can instruct the terminal to execute the interactive event by initiating a trigger event of the corresponding trigger mode. In the present disclosure, the trigger mode can be configured in a variety of ways. For example, the trigger mode can include at least one of: a trigger area, a trigger mode, and a trigger force. Of course, this example is only illustrative. How to set the trigger mode can be determined by those skilled in the art according to actual needs, and the present disclosure does not limit this.

[0061] In the present disclosure, after completing the configuration of the interaction event and the configuration of the trigger mode corresponding to the interaction event, the mapping relationship between the interaction event and the trigger mode can be recorded. On this basis, when a target trigger event initiated by a user is detected, the target interaction event to be executed by the user can be determined from the interaction events recorded in the mapping relationship according to the target trigger mode of the target trigger event.

[0062] In the present disclosure, when a target triggering event initiated by a user is detected, triggering data of the target triggering event may be acquired to determine a target triggering mode of the target triggering event according to the triggering data.

[0063] For example, when the trigger mode only includes the trigger method, what is recorded in the terminal is the mapping relationship between the trigger method and the interaction event. Then, when the target trigger event is detected, the trigger method of the target trigger event can be determined according to the trigger data, and the target interaction event corresponding to the trigger method can be determined from the recorded mapping relationship.

[0064] For another example, when the trigger mode only includes the trigger area, the terminal may record the mapping relationship between the trigger area and the interaction event. Then, when the target trigger event is detected, the trigger area of ​​the target trigger event can be determined based on the trigger data, and the target interaction event corresponding to the trigger area can be determined from the recorded mapping relationship.

[0065] For another example, when the trigger mode includes "trigger method and trigger area", what is recorded in the terminal may be the mapping relationship between the combination of "trigger method and trigger area" and the interaction event. Then, when the target trigger event is detected, the trigger method and trigger area of ​​the target trigger event can be determined according to the trigger data, and the target interaction event corresponding to the combination of "the trigger method and trigger area" can be determined from the recorded mapping relationship.

[0066] Of course, the above examples are merely illustrative, and how to specifically set the mapping relationship between the trigger event and the interaction event can be determined by those skilled in the art according to actual needs, and the present disclosure does not impose any limitation on this.

[0067] Step 106: Execute the target interaction event based on the target capability element included in the target interaction event as the granularity.

[0068] In the present disclosure, after determining the target trigger mode corresponding to the target trigger event, the target interaction event can be executed.

[0069] It is worth noting that since the interaction event in the present disclosure is composed of capability elements, the target interaction event is executed with the target capability elements contained in the target interaction event as the granularity. In other words, the target interaction event is completed by executing operations corresponding to each target capability element.

[0070] In the present disclosure, operations corresponding to each target capability element may be performed in a variety of ways to complete a target interaction event.

[0071] In one embodiment, the information related to the interactive event recorded in the mapping relationship may only include: the capability elements contained in the interactive event. Then, after determining the target interactive event, the target capability elements contained in the target interactive event can be determined, and the operation corresponding to the target capability elements can be executed according to the preset strategy. For example, the preset strategy can be random execution, then the terminal can randomly generate the execution order of each target capability element, and execute each target capability element according to the randomly generated execution order; for another example, the preset strategy can be executed in the order of recording, then the terminal can execute each target capability element according to the order of recording each target capability element in the target interactive event. Of course, here only the execution order is used as an example for explanation, and other dimensions such as execution time are similar. It can also be executed in a random order, in the order of recording, etc. In the case where the interactive event only records the capability elements contained in itself, how to execute the interactive event can be determined by those skilled in the art according to actual needs, and the present disclosure does not limit this.

[0072] In another embodiment, the information related to the interactive event recorded in the mapping relationship may include: the capability elements included in the interactive event, and the execution information of the capability elements. Under this premise, after determining the target interactive event, at least one target capability element included in the target interactive event and the execution information of the at least one target capability element may be further determined. On this basis, the operation corresponding to the determined at least one target capability element may be executed according to the determined execution information to complete the target interactive event.

[0073] In this embodiment, for any interactive event, the execution information of the capability elements contained therein may include: the execution time of each capability element, the execution order of each capability element, etc. On this basis, after determining the target capability element and its execution information, the operations corresponding to each target capability element may be executed according to the execution time and execution order contained in the execution information to complete the target interactive event.

[0074] Of course, this example is only illustrative, and the above execution information may also include only one of the execution duration and the execution order, while the other may be determined based on a preset strategy as described in the previous embodiment. In addition, the above execution information may also include other information. For example, for a motion capability element, the execution information may also include a motion direction, a motion speed, etc. It should be understood that any information used to describe how a capability element performs a corresponding operation may be used as execution information in the present disclosure, and the present disclosure does not limit this.

[0075] It is worth noting that the above-mentioned method of executing interactive events based on execution information is equivalent to the capability element only including components and their functions, for example, "in which directions can a joint rotate", while how the component specifically implements the function, such as "in which direction the joint rotates, for how long, and by how much angle", etc., is achieved by setting the execution information.

[0076] In addition to this method, the present disclosure may also include execution information as part of the capability element. In other words, the capability element contained in the interactive event itself includes information such as "in which direction the joint rotates, how long it rotates, and how much it rotates", rather than simply limiting the function of the component.

[0077] It should be understood that the above-mentioned method of separately setting execution information to determine the execution process, or directly defining the execution process in the capability element, only has slight differences in the code compilation process, among which the former only needs to define the components and their functions, while the latter further defines the implementation process of the function.

[0078] In the present disclosure, different calling ports can also be set for each capability element. Under this premise, after determining the target capability elements included in the target interaction event, the calling ports of each target capability element can be further determined. Under this premise, by calling the ports corresponding to each target capability element, the execution components corresponding to each target capability element can be instructed to perform corresponding operations to jointly complete the target interaction event.

[0079] It should be understood that by deploying the calling ports corresponding to the various capability elements, the terminal can complete the execution of the interactive event simply by calling the port without going through complex execution logic, thereby simplifying the interactive event execution operation.

[0080] In the present disclosure, a pressure component may be deployed in the terminal, under which premise, the trigger event detected by the terminal may be: a touch operation performed on the pressure component. The trigger mode recorded in the mapping relationship may include one of the following: touch mode, touch pressure, touch area, etc.

[0081] It should be understood that in the related art, the terminal is usually instructed to execute interactive events by voice control, which is usually achieved by identifying keywords and has low accuracy. In the related art, the terminal is also instructed to execute interactive events by remote control, which requires the use of an additional control terminal and has high cost. It can be seen that compared with the interactive event execution method in the related art, interacting with the terminal through the above-mentioned touch method can reduce costs while ensuring control accuracy. In addition, since this control method directly contacts the terminal, it is more interactive and can better meet the user's emotional values ​​such as companionship.

[0082] Of course, the above-mentioned limitation of the trigger event initiated by the user as a touch operation is only illustrative, and the specific operation of the trigger event can be determined by those skilled in the art. For example, the trigger event can also be a combination event of "voice + touch operation", and the present disclosure does not limit this.

[0083] It should be emphasized that the execution subject of the technical solution of the present disclosure can be any type of terminal, for example, the terminal can be a traditional mobile terminal such as a smart phone, a tablet computer, or a fixed terminal such as a smart TV, a PC (personal computer), or a new mobile terminal such as an electronic dog, a housekeeping robot, or a sweeping robot. It should be understood that any terminal equipped with a component that can interact with the user can be used as the execution subject of the present disclosure, wherein the component can be any component that can respond, such as a movable joint, a camera, a light-emitting component, a voice broadcast component, a display screen, etc. The specific type of terminal used as the execution subject of the technical solution of the present disclosure can be determined by those skilled in the art according to actual needs, and the present disclosure does not limit this.

[0084] It should also be emphasized that the capability element in the present disclosure refers to: a unit of measurement used to characterize the operations that can be performed by the terminal. For example, the capability element can be various operations that can be performed by various components carried by the terminal, or the functions that can be played by the components carried by the terminal, for example, it can be a rotation operation that can be performed by the above movable joints, it can be a shooting operation that can be performed by the above camera, it can be a light effect that can be emitted by the above light-emitting component, it can be a voice that can be broadcast by the above voice broadcast component, etc., and the present disclosure does not limit this.

[0085] It can be seen from the above technical solutions that the technical solution of the present disclosure can record the capability elements possessed by the terminal, so that the present disclosure can configure a large number of interactive events for the terminal by combining the capability elements, and record the trigger mode corresponding to each interactive event. On this basis, when the terminal detects a target trigger event initiated by the user, it can determine the target interactive event to be executed by the user according to the target trigger mode of the target trigger event, and then execute the target interactive event with the target capability elements contained in the event as the granularity. For example, the operations corresponding to each target capability element can be executed to complete the target interactive event.

[0086] It should be understood that the interactive events configured in the terminal cannot exceed the capabilities of the terminal. Correspondingly, the interactive events that the terminal can execute are all composed of operations that the terminal can execute, that is, composed of capability elements possessed by the terminal. It can be seen that by configuring the interactive events by combining capability elements, the present disclosure only needs to complete the development operation of capability elements during the development stage, and can complete the configuration of a large number of interactive events during the subsequent configuration, avoiding the problem of high development costs caused by the need to develop each interactive event separately in the related art, and the problem of being unable to configure a large number of interactive events for the terminal.

[0087] In addition, since the present invention completes the configuration of interactive events by combining capability elements, and the technical threshold for combining capability elements is low, the configuration operation of interactive events can be completely completed by the user. In other words, when the technical solution of the present invention is adopted, the user can be provided with the customization function of interactive events, avoiding the problem in related technologies that the technical threshold for interactive event configuration operations is high and customization cannot be achieved due to direct development of interactive events.

[0088] Since the technical solution of the present disclosure supports customization of interactive events, the present disclosure also proposes an interactive event configuration method.

[0089] It should be noted that the interactive event configuration method only describes how the user customizes the interactive event according to the capability elements recorded by the terminal in the configuration stage before executing the interactive event. Some of the content has been introduced in the interactive event execution method described above, so it will not be repeated in the following text. It is worth noting that since it is in the configuration stage, in this method, the capability elements recorded by the terminal can be called configurable capability elements, so that the user can configure the capability elements as interactive events by selecting the capability elements.

[0090] Figure 2 FIG. 1 is a flow chart of an interactive event configuration method shown in an exemplary embodiment of the present disclosure. The method is applied to a terminal, such as Figure 2 As shown, the method may include the following steps:

[0091] Step 202: In response to an interactive event configuration instruction initiated by a user, a plurality of pre-recorded configurable capability elements of the terminal are displayed to the user.

[0092] In the present disclosure, the terminal can provide the user with an interactive event configuration function. For example, an interactive event configuration control can be deployed in the terminal's setting interface so that the user can trigger the control to initiate an interactive event configuration instruction to the terminal, thereby opening the interactive event configuration interface. Of course, the terminal can also determine that an interactive event configuration instruction is detected when a preset gesture of the user is detected, thereby opening the interactive event configuration interface. How the user specifically initiates the interactive event configuration instruction can be determined by those skilled in the art according to actual needs, and the present disclosure does not limit this.

[0093] In the present disclosure, the terminal pre-records the capability elements that it possesses. Under this premise, when an interactive event configuration instruction is detected, the recorded capability elements can be displayed to the user as configurable capability elements.

[0094] As mentioned above, multiple capability sets can be pre-configured in the terminal, and each capability set corresponds to a different capability dimension, and multiple capability elements under the corresponding dimension are recorded. Under this premise, when the interactive event configuration instruction is detected, the capability elements contained in multiple capability sets can be displayed to the user for the user to select. In other words, the terminal can distinguish the capability elements contained in each capability set according to the capability dimension and display them to the user.

[0095] It should be understood that since the terminal displays the configurable capability elements by category according to the capability dimension, the user can quickly find the required configurable capability elements according to the needs, which improves the configuration speed of the interaction event. For example, when the interaction event configured by the user is a motion interaction event, it is only necessary to directly search for the required configurable capability elements from the motion capability set described above, without searching for sets of other capability dimensions such as the lighting effect capability set.

[0096] As described above, each configurable capability element recorded in the terminal can be set based on the minimum executable granularity of the terminal. In this way, accurate control of terminal components can be achieved, and the number of interactive events obtained by combining and configuring capability elements can be increased.

[0097] Step 204: in response to a user's selection instruction for at least one configurable capability element, configure the at least one configurable capability element selected by the user as an interactive event to be bound.

[0098] In the present disclosure, after the terminal displays multiple configurable capability elements, the user can select capability elements from them to constitute an interactive event. When the user's selection instruction is detected, the configurable capability elements selected by the user can be configured as interactive events. It is worth noting that since the corresponding trigger mode has not been set for the interactive event, the interactive event obtained by the user selecting the configurable capability elements can be called an interactive event to be bound.

[0099] As described above, when configuring an interactive event, you can also set execution information for the capability elements included in the interactive event, where the execution information can be set by the user. In other words, in addition to determining the configurable capability element selected by the user based on the user's selection operation, you can also obtain the execution information set by the user for the selected configurable capability element. Under this premise, you can record each configurable capability element selected by the user and its execution information as the interactive event to be bound based on the configurable capability element selected by the user.

[0100] It is worth noting that when the user sets the execution information for the selected configurable capability element, the terminal may also provide preset execution information, and the user may determine the execution information of the selected configurable capability element by selecting it. Of course, this example is only illustrative, and the user may also set the execution information for the selected configurable capability element by inputting it himself. How to set the execution information for the selected configurable capability element may be determined by those skilled in the art according to actual needs, and this disclosure does not limit this.

[0101] As described above, the terminal may also record the port information corresponding to each configurable capability element. Under this premise, the terminal may record the user's selection of at least one configurable capability element and the port information of the selected configurable capability element in association, and then use it as the configured interactive event to be bound. It should be understood that by associating and recording the capability element with its port information, when the terminal executes the interactive event, it only needs to call the corresponding port to realize the execution of the interactive event, avoiding the problem of low efficiency of the interactive event execution caused by the need for complex calling logic to complete the execution of the interactive event.

[0102] Step 206 , in response to the trigger mode configuration instruction initiated by the user, record the mapping relationship between the target trigger mode configured by the user and the interaction event to be bound, so as to configure the interaction event to be bound as a target interaction event triggered by the target trigger mode.

[0103] In the present disclosure, the user can also set a trigger mode for the interaction event to be bound. It is worth noting that this operation can be performed before configuring the interaction event to be bound, or after completing the configuration of the interaction event to be bound, and the present disclosure does not limit this.

[0104] As described above, the trigger mode may include: at least one of: trigger method, trigger area, trigger force, etc. The specific information on which trigger dimensions are included can be determined by technical personnel in this field according to actual needs, and this disclosure does not limit this.

[0105] It is worth noting that the terminal can also display selectable trigger modes to the user so that the user can set the trigger mode for the interaction event to be bound by selection. For example, the terminal can display "multiple selectable trigger areas" and "multiple selectable trigger methods" to the user so that the user can select a combination of "trigger areas and trigger methods" to trigger the interaction event to be bound, as a trigger mode for the interaction event to be bound. Of course, the user can also set the trigger mode for the interaction event to be bound by active input. How the user initiates the trigger mode configuration instruction can be determined by technical personnel in this field according to actual needs, and the present disclosure does not limit this.

[0106] In the present disclosure, after the trigger mode configuration instruction is detected, the mapping relationship between the target trigger mode configured by the user and the interaction event to be bound can be recorded to configure the interaction event to be bound as a target interaction event triggered by the target trigger mode.

[0107] It can be seen from the above technical solution that since the terminal of the present disclosure records the capability elements it possesses, the user can configure the interactive event for the terminal by combining the capability elements. It can be seen that the technical threshold of the interactive event configuration method of the present disclosure is low, and user customization can be realized, avoiding the problem in the related technology that the configuration threshold of the interactive event is high and user customization cannot be realized due to direct development of the interactive event.

[0108] The following is an introduction to the technical solution of the present disclosure by taking "electronic dog executing mixed interactive events" as an example. In this embodiment, pressure components can be installed on various parts of the electronic dog so that users can trigger different interactive events by touching different parts of the electronic dog in different ways.

[0109] First, the configuration process of the hybrid interaction event is introduced.

[0110] Figure 3 FIG. 1 is a flow chart of a hybrid interactive event configuration method shown in an exemplary embodiment of the present disclosure. Figure 3 As shown, the following steps may be included:

[0111] Step 301: receiving an interaction event configuration instruction initiated by a user.

[0112] In this embodiment, the electronic dog may be configured with a touch screen, and the user may initiate an interactive event configuration instruction to the electronic dog by operating the touch screen. For example, the technician may deploy a setting control in the touch screen and deploy an interactive event configuration control in the setting interface. Under this premise, after the user opens the setting interface through the setting control, he may further trigger the interactive event configuration control to initiate an interactive event configuration instruction and then open the interactive event configuration interface.

[0113] Step 302: Display capability elements respectively included in a plurality of capability sets to the user.

[0114] In this embodiment, the technician can record the capability elements of the electronic dog in multiple capability dimensions in advance according to the capabilities of the electronic dog. Under this premise, the capability elements included in multiple capability sets corresponding to each capability dimension can be displayed in the interactive event configuration interface.

[0115] For example, the electronic dog can be equipped with a voice broadcast component such as a speaker, so that the electronic dog has the ability to broadcast voice; the electronic dog can be equipped with a light-emitting component such as a flashlight, so that the electronic dog has the ability to produce various lighting effects; multiple joints can be deployed between the various parts of the electronic dog, so that the electronic dog has the ability to perform various actions. On this basis, the electronic dog can display the ability elements shown in Table 1 below:

[0116]

[0117]

[0118] Table 1

[0119] It is worth noting that the capability elements shown in Table 1 are only schematic. For example, the forelimb joint b of the electronic dog can be divided into a left forelimb joint b1 and a right forelimb joint b2. Furthermore, the left forelimb joint b1 can be further divided into a left forelimb wrist joint b11, a left forelimb elbow joint b12, etc. The right forelimb joint b2 is similar, and this embodiment does not impose any restrictions on this.

[0120] It should be noted that Table 1 only replaces the relevant information of the capability elements with identification symbols. When displayed to the user, it can also include descriptive information of each capability element so that the user can understand the function of each capability element. For example, when displaying each voice capability element, the specific text of the voice can be displayed. For example, the text of voice m can be "Woof woof".

[0121] Step 303: receiving a user's selection operation for capability elements in at least two capability sets.

[0122] Step 304: Display various execution information preset for the selected capability element to the user.

[0123] Continuing with the above example, assuming that the user selects head joint a and voice m, multiple selectable execution information of head joint a can be further displayed. For example, the configurable parameters of head joint a, "Execution action: nod yes / shake head no", "Number of executions: 1 / 2 / 3..." can be displayed for the user to select; the configurable parameters of voice m, "Number of broadcasts: 1 / 2 / 3...", "Broadcast tone: happy / sad / exciting", can be displayed for the user to select.

[0124] Of course, this example is only illustrative, and how to preset the selectable execution information can be determined by those skilled in the art according to actual needs, and this embodiment does not limit this.

[0125] Step 305: receiving a user's selection operation for preset execution information.

[0126] Continuing with the above example, the user's selection results for head joint a can be: "Execute action: nod yes", "Number of executions: 3 times"; and the user's selection results for voice m can be: "Number of broadcasts: 3 times", "Broadcast tone: cheerful happy".

[0127] Step 306: associate and record the selected capability element and its execution information as the interaction event to be bound.

[0128] Continuing with the above example, the interaction event to be bound in the associated record may be: "a&m; a: 3*yes; m: 3, happy".

[0129] It is worth noting that, as mentioned above, execution information can also be defined as part of the capability element. Under this premise, there is no need to perform the above-mentioned operation of setting execution information separately. In this case, the capability elements included in each capability set can be shown in Table 2 below:

[0130]

[0131] In other words, in this case, the capability element specifically defines "which joint specifically performs what operation and how it performs it".

[0132] Of course, the above two definitions of capability elements are illustrative only. The specific method of setting the capability elements can be determined by those skilled in the art according to actual needs, and this embodiment does not limit this.

[0133] Step 307: Display the selectable touch modes and touch areas to the user.

[0134] In this embodiment, optional touch modes and touch areas may be displayed to the user so that the user can set the touch mode for the configured interaction event.

[0135] For example, the selectable contents displayed may be as shown in Table 3 below:

[0136] Touch method Touch Area Single finger touch head Palm touch Back Limbs touch palm …… ……

[0137] Table 3

[0138] Step 308: receiving a user's selection operation on a touch method and a touch area as a touch mode.

[0139] Continuing with the above example, assuming that the user selects palm touch or head touch, the touch mode of the above interaction event can be configured as "palm touch head".

[0140] Step 309: record the mapping relationship between the interaction event to be bound and the touch mode.

[0141] Continuing with the above example, the mapping relationship between "a&m; a: 3*yes; m: 3, happy" and "palm touching the head" can be recorded.

[0142] Next, execute "through Figure 3 The process of "configuring the obtained interactive events in the manner shown" is introduced.

[0143] Figure 4 FIG. 1 is a flow chart of a hybrid interactive event execution method shown in an exemplary embodiment of the present disclosure. Figure 4 As shown, the method may include the following steps:

[0144] Step 401: Detect a touch event initiated by a user.

[0145] Undertake Figure 3 In the example shown, assuming that the user touches the pressure component deployed on the electronic dog, touch information in two dimensions of touch area and touch mode can be determined.

[0146] Step 402: Determine the touch mode of the touch event.

[0147] Continuing with the above example, assuming that the user touches the head of the electronic dog with the palm, thereby triggering the pressure component of the head of the electronic dog, the touch mode can be determined as "palm touch" and the touch area as "head" based on the detected pressure information.

[0148] Step 403: Determine the interaction event corresponding to the touch mode from the recorded mapping relationship.

[0149] Continuing with the above example, according to the preset mapping relationship, the interaction event corresponding to “palm touching the head” can be determined as: “a&m; a: 3*yes; m: 3, happy”.

[0150] Step 404: execute the interaction event according to the determined capability elements and execution information contained in the interaction event.

[0151] Continuing with the above example, the actions of "head joint a nods 3 times" and "announces 'woof woof' 3 times in a cheerful tone" can be executed to complete the interactive event of "the electronic dog nods continuously while barking happily".

[0152] It can be seen from the above technical solution that by recording capability elements in the terminal according to the capability dimension, users can customize interaction events by selecting capability elements, thereby avoiding the problem that related technologies directly develop interaction events, which leads to the inability of interaction events to be customized by users.

[0153] Figure 5 This is a block diagram of an interactive event execution device shown in an exemplary embodiment of the present disclosure. The device is applied to a terminal, and the terminal records the mapping relationship between interactive events and trigger modes, as well as multiple capability elements possessed by the terminal; wherein each interactive event is composed of at least a part of the multiple capability elements; refer to Figure 5 The device includes a first determining unit 501, a second determining unit 502 and an executing unit 503.

[0154] The first determining unit 501, when detecting a target triggering event initiated by a user, determines a target triggering mode corresponding to the target triggering event according to triggering data generated by the target triggering event;

[0155] A second determining unit 502 determines a target interaction event corresponding to the target trigger mode from the interaction events recorded in the mapping relationship;

[0156] The execution unit 503 executes the target interaction event based on the target capability element included in the target interaction event as a granularity.

[0157] Optionally, the first determining unit 501 is further configured to:

[0158] According to the trigger data generated by the target trigger event, a trigger area and / or a trigger mode of the target trigger event is determined as a target trigger mode corresponding to the target trigger event.

[0159] Optionally, the multiple capability elements possessed by the terminal are recorded in different capability sets according to the capability dimensions to which they belong; the interaction events recorded in the mapping relationship include:

[0160] A regular interaction event consisting of at least one capability element from a single capability set; and / or,

[0161] A hybrid interaction event consisting of capability elements from at least two capability sets.

[0162] Optionally, the capability set maintained in the terminal includes at least one of the following:

[0163] a set of motion capabilities recording at least one executable action of the terminal;

[0164] A voice capability set having recorded therein at least one voice that can be broadcasted by the terminal;

[0165] A lighting effect capability set of at least one lighting effect that can be displayed by the terminal is recorded.

[0166] Optionally, the multiple capability elements recorded in the terminal and possessed by the terminal are all set based on the minimum executable granularity of the terminal.

[0167] Optionally, the execution unit 503 is further configured to:

[0168] Determining at least one target capability element included in the target interaction event and execution information of the at least one target capability element;

[0169] An operation corresponding to the at least one target capability element is performed according to the execution information to complete the target interaction event.

[0170] Optionally, the execution information includes at least one of the following:

[0171] The execution time of each target capability element;

[0172] The execution order of each target capability element.

[0173] Optionally, the execution unit 503 is further configured to:

[0174] The ports corresponding to the target capability elements included in the target interaction event are called to instruct the execution components corresponding to the target capability elements to jointly complete the target interaction event.

[0175] Optional,

[0176] The target trigger event is: a touch operation performed on a pressure component of the terminal; the trigger mode includes one of the following: a touch mode, a touch pressure, and a touch area.

[0177] Figure 6is a block diagram of an interactive event configuration device shown in an exemplary embodiment of the present disclosure. The device is applied to a terminal, referring to Figure 6 The device includes a display unit 601, a configuration unit 602 and a recording unit 603.

[0178] A display unit 601, in response to an interactive event configuration instruction initiated by a user, displays to the user a plurality of pre-recorded configurable capability elements possessed by the terminal;

[0179] The configuration unit 602 configures the at least one configurable capability element selected by the user as an interaction event to be bound in response to a selection instruction of the user for the at least one configurable capability element;

[0180] The recording unit 603 records the mapping relationship between the target trigger mode configured by the user and the interaction event to be bound in response to the trigger mode configuration instruction initiated by the user, so as to configure the interaction event to be bound as a target interaction event triggered by the target trigger mode.

[0181] Optional,

[0182] The terminal is pre-configured with a plurality of capability sets, wherein each capability set corresponds to a different capability dimension and records a plurality of capability elements under the corresponding dimension;

[0183] The display unit 601 is further used to display the capability elements respectively included in the plurality of capability sets to the user for selection by the user.

[0184] Optionally, each configurable capability element recorded in the terminal is set based on a minimum executable granularity of the terminal.

[0185] Optionally, the configuration unit 602 is further configured to:

[0186] Determining the configurable capability element selected by the user based on the selection instruction, and acquiring execution information set by the user for each selected configurable capability element;

[0187] Each configurable capability element selected by the user and its execution information are recorded as an interactive event to be bound configured based on the configurable capability element selected by the user.

[0188] Optionally, the terminal further records port information corresponding to each configurable capability element; the configuration unit 602 is further used to:

[0189] At least one configurable capability element selected by the user and the port information of the selected configurable capability element are associated and recorded as the configured interaction event to be bound.

[0190] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution. A person of ordinary skill in the art can understand and implement it without paying any creative work.

[0191] Correspondingly, the present disclosure also provides an interactive event execution device, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to implement an interactive event execution method as described in any of the above embodiments, for example, the method may include: when a target trigger event initiated by a user is detected, determining a target trigger mode corresponding to the target trigger event based on the trigger data generated by the target trigger event; determining a target interactive event corresponding to the target trigger mode from the interactive events recorded in the mapping relationship; and executing the target interactive event with the target capability element contained in the target interactive event as the granularity.

[0192] Accordingly, the present disclosure also provides an electronic device, which includes a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors. The one or more programs include instructions for implementing an interactive event execution method as described in any of the above embodiments. For example, the method may include: when a target trigger event initiated by a user is detected, determining a target trigger mode corresponding to the target trigger event based on trigger data generated by the target trigger event; determining a target interactive event corresponding to the target trigger mode from the interactive events recorded in the mapping relationship; and executing the target interactive event with the target capability element contained in the target interactive event as the granularity.

[0193] Figure 7 is a block diagram of a device 700 for implementing an interactive event execution method according to an exemplary embodiment. For example, the device 700 may be an electronic dog, a household robot, a drone, etc.

[0194] Reference Figure 7 , the device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output (I / O) interface 712 , a sensor component 714 , and a communication component 716 .

[0195] The processing component 702 generally controls the overall operation of the device 700, such as camera operation, voice broadcast, light control, and joint movement-related operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702.

[0196] The memory 704 is configured to store various types of data to support operations on the device 700. Examples of such data include instructions for any application or method operating on the device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0197] The power supply component 706 provides power to the various components of the device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 700.

[0198] The multimedia component 708 may include a screen that provides an output interface between the device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes one or more cameras, and when the device 700 is in an operating mode, such as a shooting mode or a video mode, the camera may receive external multimedia data to enable interactive operations with the user. Each camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0199] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), and when the device 700 is in the operating mode, the microphone is configured to receive external audio signals. The received audio signal can be further stored in the memory 704 or sent via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.

[0200] The I / O interface 712 provides an interface between the processing component 702 and the peripheral interface module, which may be a keyboard, a click wheel, a button, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button. On this basis, a trigger event may also be initiated through the peripheral interface module.

[0201] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the device 700. For example, the sensor assembly 714 can detect the open / closed state of the device 700, the relative positioning of components, such as the display and keypad of the device 700, the sensor assembly 714 can also detect the position change of the device 700 or a component of the device 700, the presence or absence of user contact with the device 700, the orientation or acceleration / deceleration of the device 700, and the temperature change of the device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0202] The communication component 716 is configured to facilitate wired or wireless communication between the device 700 and other devices. The device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G LTE, 5G NR (New Radio) or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0203] In an exemplary embodiment, the apparatus 700 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above methods.

[0204] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, and the instructions can be executed by the processor 720 of the device 700 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0205] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0206] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

[0207] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the scope of protection of the present disclosure.

Claims

1. A method for executing an interactive event, characterized in that: Applied to a terminal, the terminal records a mapping relationship between an interaction event and a trigger mode, and a plurality of capability elements possessed by the terminal; wherein each interaction event is composed of at least a part of the plurality of capability elements; the plurality of capability elements possessed by the terminal are recorded in different capability sets according to the capability dimensions to which they belong; the interaction events recorded in the mapping relationship include: a conventional interaction event composed of at least one capability element in a single capability set, and / or a mixed interaction event composed of capability elements in at least two capability sets; the plurality of capability elements recorded in the terminal and possessed by the terminal are all set based on the minimum executable granularity of the terminal; the method comprises: When a target triggering event initiated by a user is detected, determining a target triggering mode corresponding to the target triggering event according to triggering data generated by the target triggering event; Determining a target interaction event corresponding to the target trigger mode from the interaction events recorded in the mapping relationship; Taking the target capability element included in the target interaction event as the granularity, the corresponding capability component is called to execute the target interaction event.

2. The method according to claim 1, characterized in that The determining, based on the trigger data generated by the target trigger event, a target trigger mode corresponding to the target trigger event, comprises: According to the trigger data generated by the target trigger event, a trigger area and / or a trigger mode of the target trigger event is determined as a target trigger mode corresponding to the target trigger event.

3. The method according to claim 1, characterized in that The capability set maintained in the terminal includes at least one of the following: a set of motion capabilities recording at least one executable action of the terminal; A voice capability set having recorded therein at least one voice that can be broadcasted by the terminal; A lighting effect capability set of at least one lighting effect that can be displayed by the terminal is recorded.

4. The method according to claim 1, characterized in that: The executing the target interaction event with the target capability element included in the target interaction event as the granularity includes: Determining at least one target capability element included in the target interaction event and execution information of the at least one target capability element; An operation corresponding to the at least one target capability element is performed according to the execution information to complete the target interaction event.

5. The method according to claim 4, characterized in that The execution information includes at least one of the following: The execution time of each target capability element; The execution order of each target capability element.

6. The method according to claim 1, characterized in that The executing the target interaction event with the target capability element included in the target interaction event as the granularity includes: The ports corresponding to the target capability elements included in the target interaction event are called to instruct the execution components corresponding to the target capability elements to jointly complete the target interaction event.

7. The method according to claim 1, characterized in that The target trigger event is: a touch operation performed on a pressure component of the terminal; the trigger mode includes one of the following: a touch mode, a touch pressure, and a touch area.

8. A method for configuring an interaction event, characterized in that: Applied to a terminal, the terminal is pre-configured with multiple capability sets; wherein each capability set corresponds to a different capability dimension and records multiple capability elements under the corresponding dimension; the method comprises: In response to an interactive event configuration instruction initiated by a user, a plurality of pre-recorded configurable capability elements possessed by the terminal are displayed to the user, including: displaying to the user the capability elements respectively contained in the plurality of capability sets for selection by the user; each configurable capability element recorded in the terminal is set based on the minimum executable granularity of the terminal; In response to a selection instruction of the user for at least one configurable capability element, configuring the at least one configurable capability element selected by the user as an interaction event to be bound; In response to a trigger mode configuration instruction initiated by a user, a mapping relationship between the target trigger mode configured by the user and the interaction event to be bound is recorded to configure the interaction event to be bound as a target interaction event triggered by the target trigger mode.

9. The method according to claim 8, characterized in that The configuring at least one configurable capability element selected by the user as an interactive event to be bound includes: Determining the configurable capability element selected by the user based on the selection instruction, and acquiring execution information set by the user for each selected configurable capability element; Each configurable capability element selected by the user and its execution information are recorded as an interactive event to be bound configured based on the configurable capability element selected by the user.

10. The method according to claim 8, characterized in that The terminal also records the port information corresponding to each configurable capability element; the configuring at least one configurable capability element selected by the user as an interactive event to be bound includes: At least one configurable capability element selected by the user and the port information of the selected configurable capability element are associated and recorded as the configured interaction event to be bound.

11. An interactive event execution device, characterized in that: Applied to a terminal, the terminal records a mapping relationship between an interaction event and a trigger mode, and a plurality of capability elements possessed by the terminal; wherein each interaction event is composed of at least a part of the plurality of capability elements; the plurality of capability elements possessed by the terminal are recorded in different capability sets according to the capability dimensions to which they belong; the interaction events recorded in the mapping relationship include: a conventional interaction event composed of at least one capability element in a single capability set, and / or a mixed interaction event composed of capability elements in at least two capability sets; the plurality of capability elements recorded in the terminal and possessed by the terminal are all set based on the minimum executable granularity of the terminal; the device comprises: A first determining unit, when detecting a target triggering event initiated by a user, determines a target triggering mode corresponding to the target triggering event according to triggering data generated by the target triggering event; A second determining unit, determining a target interaction event corresponding to the target trigger mode from the interaction events recorded in the mapping relationship; The execution unit calls the corresponding capability component based on the target capability element included in the target interaction event to execute the target interaction event.

12. An interactive event configuration device, characterized in that: Applied to a terminal, the terminal is pre-configured with multiple capability sets; wherein each capability set corresponds to a different capability dimension and records multiple capability elements under the corresponding dimension; the device comprises: The display unit displays, in response to the interactive event configuration instruction initiated by the user, a plurality of pre-recorded configurable capability elements possessed by the terminal to the user, including: displaying to the user the capability elements respectively included in the plurality of capability sets for the user to select; each configurable capability element recorded in the terminal is set based on the minimum executable granularity of the terminal; a configuration unit, in response to a selection instruction of a user for at least one configurable capability element, configuring at least one configurable capability element selected by the user as an interaction event to be bound; The recording unit records the mapping relationship between the target trigger mode configured by the user and the interaction event to be bound in response to the trigger mode configuration instruction initiated by the user, so as to configure the interaction event to be bound as a target interaction event triggered by the target trigger mode.

13. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor implements the method according to any one of claims 1 to 10 by running the executable instructions.

14. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the instruction is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.

Citation Information

Patent Citations

  • System and method for realizing intelligent interaction of service-oriented robot through cloud personalized configuration

    CN114237692A