Interaction control method and device, electronic equipment and computer readable storage medium

CN117398679BActive Publication Date: 2026-09-08BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311344647.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-17
Publication Date
2026-09-08
Estimated Expiration
2043-10-17

AI Technical Summary

Benefits of technology

[0007] It should be understood that the content described in this content section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117398679B_ABST
    Figure CN117398679B_ABST
Patent Text Reader

Abstract

According to embodiments of the present disclosure, interaction control methods, apparatuses, devices and storage media are provided. In the interaction control method, an interface associated with a virtual scene is presented, the interface including a control for controlling an object in the virtual scene to perform a first action; based on a triggering operation for the control, the object is controlled to start performing the first action; in response to the triggering operation being released before a target stage of the first action ends, it is determined whether the control is in a triggered state at the end of the target stage of the first action; and in response to the control being in the triggered state at the end of the target stage of the first action, the first action is controlled to be performed according to a target execution effect based at least on a length of time for which the control maintains the triggered state after the end of the target stage, wherein the target execution effect is determined based at least on the length of time. In this way, embodiments of the present disclosure can improve the convenience of interaction and reduce the possibility of misoperation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The exemplary embodiments disclosed herein generally relate to the field of computers, and particularly to interactive control methods, apparatuses, electronic devices, and computer-readable storage media. Background Technology

[0002] With the development of computer technology, users can interact with computers and other users through computers and in scenarios provided by computers (such as simulation environments, virtual environments, etc.), obtaining interactive experiences that are impossible or difficult to achieve in a physical environment. With the advancement of interactive technology, people expect to obtain even richer interactive experiences. Summary of the Invention

[0003] In a first aspect of this disclosure, an interactive control method is provided. The method includes: presenting an interface associated with a virtual scene, the interface including a control for controlling an object in the virtual scene to perform a first action; controlling the object to begin performing the first action based on a triggering operation on the control; determining whether the control is in a triggered state at the end of the target phase of the first action in response to the triggering operation being released before the end of a target phase of the first action; and controlling the first action to be performed according to a target execution effect in response to the control being in a triggered state at the end of the target phase of the first action, based at least on the length of time the control maintains the triggered state after the end of the target phase, wherein the target execution effect is determined at least based on the length of time.

[0004] In a second aspect of this disclosure, an interactive control device is provided. The device includes: an interface presentation module configured to present an interface associated with a virtual scene, the interface including controls for controlling an object in the virtual scene to perform a first action; a first control module configured to control the object to begin performing the first action based on a trigger operation on the controls; a state determination module configured to determine whether the controls are in a triggered state at the end of the target phase of the first action, in response to the trigger operation being released before the end of a target phase of the first action; and a second control module configured to control the first action to be performed according to a target execution effect, at least based on the length of time the controls maintain the triggered state after the end of the target phase, in response to the controls being in a triggered state at the end of the target phase of the first action, wherein the target execution effect is determined at least based on the length of time.

[0005] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method of the first aspect when executed by the at least one processing unit.

[0006] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that can be executed by a processor to implement the method of the first aspect.

[0007] It should be understood that the content described in this content section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0008] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein: Figure 1 A schematic diagram of an example environment in which embodiments of the present disclosure can be implemented is shown; Figure 2A Example interfaces according to some embodiments of this disclosure are shown; Figure 2B Example power-saving mechanisms according to some embodiments of this disclosure are shown; Figure 2C Example interfaces according to other embodiments of this disclosure are shown; Figure 3 A flowchart of an interactive control method according to some embodiments of the present disclosure is shown; Figure 4 A block diagram of an interactive control device according to some embodiments of the present disclosure is shown; Figure 5 A block diagram of an apparatus capable of implementing several embodiments of the present disclosure is shown. Detailed Implementation

[0009] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0010] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.

[0011] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, which can display the prompt message in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0012] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0013] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.

[0014] The term "in response to" as used herein refers to a state in which a corresponding event occurs or a condition is satisfied. It will be understood that the timing of subsequent actions performed in response to such event or condition is not necessarily strongly correlated with the time when the event occurs or the condition is met. For example, in some cases, subsequent actions may be performed immediately upon the occurrence of the event or the fulfillment of the condition; while in others, they may be performed some time after the occurrence of the event or the fulfillment of the condition.

[0015] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0016] It should be noted that the headings of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and embodiments of any type may be included under any section / subsection. Furthermore, embodiments described in any section / subsection may be combined in any way with any other embodiments described in the same section / subsection and / or different sections / subsections.

[0017] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0018] As used in this paper, the term "model" refers to a system that learns the relationship between inputs and outputs from training data, enabling it to generate corresponding outputs for a given input after training. Model generation can be based on machine learning techniques. Deep learning is a machine learning algorithm that uses multiple layers of processing units to process inputs and provide corresponding outputs. In this paper, "model" may also be referred to as a "machine learning model," a "machine learning network," or simply a "network," and these terms are used interchangeably. A model can also include different types of processing units or networks.

[0019] As used herein, a “unit,” “operation unit,” or “subunit” can consist of any suitable machine learning model or network. As used herein, a set of elements or similar expressions can include one or more such elements. For example, “a set of convolutional units” can include one or more convolutional units.

[0020] As briefly mentioned earlier, users can interact with various types of target objects through computers in virtual environments provided by the computers. In such virtual scene interactions, controlling virtual objects to perform charge-up actions is an important interaction scenario. Traditionally, users need to continuously trigger controls to control virtual objects to perform charge-up actions; however, this can lead to users accidentally causing virtual objects to perform unintended actions.

[0021] Therefore, embodiments of this disclosure propose an interactive control method. According to various embodiments of this disclosure, an interface associated with a virtual scene can be presented, wherein the interface includes controls for controlling objects in the virtual scene to perform a first action. Further, the object can be controlled to begin performing the first action based on a trigger operation on the controls.

[0022] Furthermore, if the triggering operation is released before the end of the target phase of the first action, it can be determined whether the control is in a triggered state at the end of the target phase of the first action. Accordingly, if the control is in a triggered state at the end of the target phase of the first action, the execution of the first action can be controlled based on the target execution effect, at least based on the length of time the control maintains the triggered state after the end of the target phase, wherein the target execution effect is determined at least based on the length of time.

[0023] In this way, embodiments of the present disclosure can determine whether to enter a charging state based on the triggering state of the control at the end of the target stage of the first action, and control the action based on the length of time the triggering state is maintained. Therefore, embodiments of the present disclosure can improve the ease of interaction and reduce the possibility of accidental operation of the charging control.

[0024] Example embodiments of this disclosure are described below with reference to the accompanying drawings.

[0025] Example Scenario Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. Example environment 100 may include an electronic device 110. Electronic device 110 may, for example, include a suitable type of portable device that can be held by a user's hands for various interactive operations. Such electronic device 110 may include, for example, but is not limited to: smartphones, tablets, PDAs, portable gaming terminals, etc.

[0026] Such an electronic device 110 may include, for example, appropriate types of sensors for detecting user gestures. For example, the electronic device 110 may include a touchscreen for detecting various types of gestures made by the user on the touchscreen. Additionally or alternatively, the electronic device 110 may also include other appropriate types of sensing devices, such as proximity sensors, to detect various types of gestures made by the user within a predetermined distance above the screen.

[0027] It should be understood that, although electronic device 110 is in Figure 1 The device is shown as a portable device, but this is only illustrative. In some other embodiments, the electronic device 110 may also be other suitable forms. For example, the electronic device 110 may include a display device for display and a computing device for computing, and the display device and the computing device may, for example, be physically coupled or decoupled.

[0028] For example, electronic device 110 may include a display screen for displaying images and a game console for image rendering and game control.

[0029] In this scenario, electronic device 110 can achieve interaction by utilizing other suitable input devices, such as a keyboard, mouse, joystick, or game controller.

[0030] Continue to refer to Figure 1 The electronic device 110 can present a user interface 120, which may, for example, present a corresponding virtual environment. For example, the user interface 120 may be a game application interface to present a corresponding game scene. Alternatively, the user interface 120 may be other suitable types of interactive interfaces that allow the user to control a target object in the interface to perform corresponding actions in the virtual environment.

[0031] It should be understood that the user interface 120 may be generated locally on the electronic device 110 or may be based on an image received by the electronic device 110 from a remote device (e.g., a cloud gaming console).

[0032] To illustrate the principles and ideas of the embodiments of this disclosure, some descriptions below will refer to the gaming industry. However, it will be understood that this is merely exemplary and not intended to limit the scope of this disclosure. Embodiments of this disclosure can be applied to various fields such as simulation, modeling, virtual reality, and augmented reality.

[0033] Example Interaction Figure 2A Example interface 200A according to some embodiments of the present disclosure is shown. In some embodiments, electronic device 110 may present interface 200A upon receiving an interaction request for a target object. As described above, such interface 200A may, for example, include a graphical interface associated with a virtual scene. Such virtual scenes may include, but are not limited to, various types of game scenes, simulation scenes, and so on.

[0034] As an example, interface 200A could be an interactive interface that controls target objects in a virtual scene to perform various types of actions. Such target objects could include various types of interactive objects in the virtual scene. Taking a game scene as an example of a virtual scene, such target objects could include virtual characters that the user can control. Correspondingly, such various types of actions could include, but are not limited to: movement, basic attacks, releasing skills, using items, etc.

[0035] like Figure 2A As shown, interface 200A can, for example, be derived from... Figure 1The illustrated electronic device 110 is provided. As an example, the interface 200A could be, for example, the interface of a game application. The interface 200A can display a target object 210 to be controlled in a virtual scene. Such a target object 210 could, for example, be a virtual character controlled by the user.

[0036] Furthermore, the interface 200A can also display another object 230 that the target object 210 can interact with. The object 230 may be, for example, a virtual character operated by other users in a virtual scene, or a hostile or neutral character not controlled by the player, such as an NPC.

[0037] Additionally, the interface 200A may also provide a set of controls 220 for controlling the target object 210. Such controls 220 can, for example, be used to control the target object 210 to perform corresponding actions in a virtual scene. Examples of such actions may include, but are not limited to: normal attacks, casting skills, using items, moving positions, etc.

[0038] It should be understood that the electronic device 110 may also support appropriate user operation methods other than control 220 to control the target object 210 to perform corresponding actions. This disclosure is not intended to limit this.

[0039] In some embodiments, the control 220 can be used to control the target object 210 to perform a first action in a virtual scene. Such a first action may be, for example, a charging action, such as a charging attack action, or a releasing charging skill action.

[0040] In some embodiments, upon receiving a user's trigger on control 220, electronic device 110 can control target object 210 to begin performing a corresponding first action. For example, taking the release of a virtual skill as an example, electronic device 110 can control target object 210 to enter the pre-cast phase of the virtual skill.

[0041] The "pre-cast phase" can refer to the preparation phase before a skill release or attack action. In some scenarios, when a virtual object is affected by a specific type of attack or effect during the "pre-cast phase," the corresponding skill release or attack action may be stopped from being executed.

[0042] The following will continue to refer to Figure 2B The following describes an example charging mechanism according to some embodiments of the present disclosure. Specifically, taking the release action of a charging skill as an example, the entire process can be divided into a pre-animation phase 240 and a charging phase 250.

[0043] Specifically, when the user triggers control 220, the skill release action will enter the pre-cast phase 240. That is, the target object 210 will be ready to release the charged skill.

[0044] Furthermore, during the pre-animation phase 240, the user will be allowed to release the trigger on control 220. For example, the user can trigger target object 210 to enter pre-animation phase 240 by clicking control 220 and release control 220 at any time.

[0045] Furthermore, if the triggering operation on control 220 is released before the target phase of the corresponding first action, the electronic device 110 can further determine whether control 220 is still in a triggered state at the end of the target phase of the first phase.

[0046] Taking the release action of a charged skill as an example, such a target phase may include, for instance, the pre-animation phase of the action. In some scenarios, such a target phase may also be defined based on a preset duration. For example, the time period of the skill release process with a preset duration can be set as the target phase.

[0047] Using the previous phase 240 as an example of the target phase, such as... Figure 2B As shown, if the user releases the trigger on the control 220 during the pre-rocking phase 240, the electronic device 110 can further detect whether the control 220 is in a triggered state at the end of the pre-rocking phase 240.

[0048] Furthermore, if the control 220 is in a triggered state at the end of the target phase of the first action, the electronic device 110 can control the first action to be executed according to the target execution effect, based at least on the length of time the control remains in the triggered state after the target phase ends, wherein the target execution effect is determined based at least on the length of time.

[0049] continue Figure 2B For example, if the user re-triggers control 220 before the end of the pre-animation phase 240, control 220 will be in the triggered state at the end of the pre-animation phase 240. Accordingly, the action will enter the charging phase 250.

[0050] During the charging phase 250, the electronic device 110 can continue to control the execution of the first action by maintaining the duration for which the control 220 is continuously triggered during the charging phase 250. For example, the execution effect of the first action can be positively correlated with the length of time the control 220 is continuously triggered. In some embodiments, such execution effects may include action effects such as damage value, stun duration, number of damage hits, etc.

[0051] In some embodiments, the target effect of the first action may be related to the impact effect of another object 230, such as damage value or number of hits. In a particular example, the release of the charged skill may, for example, cause the target object 210 to perform at least one strike on the other object 230. Accordingly, the number of times the other object 230 is hit as a result of this action may be positively correlated with the length of time the control 220 is continuously triggered. For example, the longer the charge time, the more times the object 230 can be hit.

[0052] In some embodiments, the charging phase 250 may also have a preset maximum duration. If the duration for which the control 220 is continuously triggered in the charging phase 250 is less than the preset duration, the target execution effect is determined based on the duration for which the control 220 is continuously triggered. Conversely, if the duration for which the control 220 is continuously triggered in the charging phase 250 reaches the preset duration, the target execution effect can be determined based on the preset duration.

[0053] For example, the charging phase 250 can last for a maximum of "4 seconds". If the user releases control 220 in the second second of the charging phase 250, the corresponding action will be executed, and its target execution effect will be determined based on the "2-second" duration. Conversely, if the user continuously triggers control 220 for "4 seconds" during the charging phase 250, the corresponding action will be automatically executed in the fourth second, and its target execution effect will be determined based on the "4-second" duration. It should be understood that such specific values ​​are merely exemplary.

[0054] Based on this approach, embodiments of this disclosure do not require the user to continuously trigger the corresponding control during the target phase of the first action. On the one hand, this avoids users accidentally touching controls and thus losing the opportunity to accumulate power, thereby reducing the impact of accidental touches; on the other hand, it also reduces the cost of user operation and improves the user's interactive experience.

[0055] In some embodiments, during the target phase of the first action, the electronic device 110 may also receive an additional operation associated with the object 230, wherein the additional operation is used to control the object 230 to perform a second action. Further, if the second action and the executing first action satisfy a preset condition, the electronic device 110 may control the object to perform the second action.

[0056] by Figure 2B As an example, during the pre-animation phase 240, after the user releases control 220, the user can trigger other controls to trigger object 230 to perform other actions, such as moving, using items, releasing another skill, attacking, etc.

[0057] In some embodiments, such a preset condition may include: the second action does not conflict with the first action being executed. For example, some skills may conflict with the skills that object 210 is currently releasing, and therefore cannot be executed. Conversely, actions such as moving or using items may not conflict with the skills that object 210 is currently releasing, and therefore can be triggered for execution.

[0058] In this way, the embodiments of this disclosure can further enrich the operability of the user in the target stage of the action being performed and improve the user's interactive experience.

[0059] In some embodiments, in response to the control 220 not being in a triggered state at the end of the target phase of the first action, the electronic device 110 can control the first action to be executed according to a preset execution effect. Continuing... Figure 2B As an example, if the control 220 is not in a triggered state at the end of the pre-animation phase 240, the electronic device 110 can release the control skill at the end of the pre-animation phase 240 and make it have the preset execution effect.

[0060] In some embodiments, the electronic device 110 may also notify the user through an interface that it has entered the charging phase, thereby preventing the user from missing the opportunity for charging interaction. For example, the electronic device 110 may present interface elements associated with the first action in the interface, wherein the preset attributes of the interface elements indicate at least the length of time the control maintains the triggered state after the target phase ends.

[0061] For example, such as Figure 2C As shown, after the user triggers control 220, the electronic device 110 can associate control 220 with and display a first interface element 260. In some embodiments, the first interface element 260 can display a fill animation, such that the size of the filled portion in the first interface element 260 can indicate the charging time length of the corresponding action. For example, if the user continuously triggers control 220 to reach the maximum duration of the charging phase, the first interface element 260 can be completely filled.

[0062] Additionally or alternatively, the electronic device 110 may also be associated with the target object 210 to present a second interface element 270. In some embodiments, the second interface element 270 may be displayed after the user triggers the control 220. Further, after the corresponding action enters the charging phase, as the duration of continuous triggering of the control 220 increases, the second interface element 270 may be filled similarly to the first interface element 260, so that the length of the filled portion of the second interface element 270 can indicate the charging time duration of the corresponding action.

[0063] It should be understood that the electronic device 110 may, for example, simultaneously provide both the first interface element 260 and the second interface element 270 to indicate the state of the charged skill. Alternatively, the electronic device 110 may, for example, present only one of the first interface element 260 and the second interface element 270.

[0064] Based on this approach, the embodiments of this disclosure can further enhance the user's perception of the execution process of the power-accumulating action and improve the user's control precision.

[0065] Example process Figure 3 A flowchart of an interactive control method according to some embodiments of the present disclosure is shown. Method 300 can be implemented at electronic device 110. Reference is made below. Figure 3 Description method 300.

[0066] In box 310, electronic device 110 presents an interface associated with a virtual scene, the interface including controls for controlling objects in the virtual scene to perform a first action.

[0067] In box 320, based on a trigger operation on the control, the electronic device 110 initiates the first action of the controlled object.

[0068] In box 330, in response to the trigger operation being released before the end of the target phase of the first action, the electronic device 110 determines whether the control is in a triggered state at the end of the target phase of the first action.

[0069] In box 340, in response to the control being in a triggered state at the end of the target phase of the first action, the electronic device 110 controls the first action to be performed according to the target execution effect, based at least on the length of time the control remains in the triggered state after the target phase ends. The target execution effect is determined based at least on the length of time.

[0070] In some embodiments, process 300 further includes: presenting interface elements associated with the first action in the interface, wherein preset attributes of the interface elements indicate at least the length of time the control remains in the triggered state after the target phase ends.

[0071] In some embodiments, process 300 further includes: in response to the control not being in a triggered state at the end of the target phase of the first action, controlling the first action to be executed according to a preset execution effect.

[0072] In some embodiments, process 300 further includes: receiving an additional operation associated with the object before the end of the target phase of the first action, the additional operation being used to control the object to perform a second action; and controlling the object to perform the second action if the second action and the first action being performed satisfy a preset condition.

[0073] In some embodiments, the preset condition includes: the second action does not conflict with the first action being performed.

[0074] In some embodiments, if the time length is less than a preset length, the target execution effect is determined based on the time length; or if the time length reaches the preset length, the target execution effect is determined based on the preset length.

[0075] In some embodiments, the object is a first object in a virtual scene, the first action acts on at least a second object in the virtual scene, and the target execution effect is related to the hit effect of the second object.

[0076] In some embodiments, the impact effect indicates the number of times the second object is hit, and the number of hits is positively correlated with the length of time.

[0077] In some embodiments, the first action is a power-accumulating action of the target object, and the target stage is the pre-action phase of the power-accumulating action.

[0078] Example devices and equipment Figure 4 A block diagram of an interactive control device according to some embodiments of the present disclosure is shown. Device 400 may be implemented as or included in electronic device 110. Various modules / components in device 400 may be implemented by hardware, software, firmware, or any combination thereof.

[0079] like Figure 4 As shown, the device 400 includes an interface presentation module 410 configured to present an interface associated with a virtual scene, the interface including controls for controlling objects in the virtual scene to perform a first action; a first control module 420 configured to control the object to begin performing the first action based on a trigger operation on the controls; a state determination module 430 configured to determine whether the controls are in a triggered state at the end of the target phase of the first action in response to the trigger operation being released before the end of the target phase of the first action; and a second control module 440 configured to control the first action to be performed according to a target execution effect in response to the controls being in a triggered state at the end of the target phase of the first action, based at least on the length of time the controls maintain the triggered state after the end of the target phase, wherein the target execution effect is determined at least based on the length of time.

[0080] In some embodiments, the device 400 further includes an element presentation module configured to present interface elements associated with the first action in the interface, wherein preset attributes of the interface elements indicate at least the length of time the control remains in the triggered state after the target stage ends.

[0081] In some embodiments, the device 400 further includes a third control module configured to: control the first action to be executed according to a preset execution effect in response to the control not being in a triggered state at the end of the target phase of the first action.

[0082] In some embodiments, the apparatus 400 further includes a fourth control module configured to: receive an additional operation associated with the object before the end of the target phase of the first action, the additional operation being used to control the object to perform a second action; and control the object to perform the second action if the second action and the first action being performed meet preset conditions.

[0083] In some embodiments, a preset condition indicates whether the second action conflicts with the first action being performed.

[0084] In some embodiments, if the time length is less than a preset length, the target execution effect is determined based on the time length; or if the time length reaches the preset length, the target execution effect is determined based on the preset length.

[0085] In some embodiments, the object is a first object in a virtual scene, the first action acts on at least a second object in the virtual scene, and the target execution effect is related to the hit effect of the second object.

[0086] In some embodiments, the impact effect indicates the number of times the second object is hit, and the number of hits is positively correlated with the length of time.

[0087] In some embodiments, the first action is a power-accumulating action of the target object, and the target stage is the pre-action phase of the power-accumulating action.

[0088] Figure 5 A block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that... Figure 5 The electronic device 500 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 5 The electronic device 500 shown can be used to achieve Figure 1 Electronic devices 110.

[0089] like Figure 5As shown, electronic device 500 is in the form of a general-purpose electronic device. Components of electronic device 500 may include, but are not limited to, one or more processors or processing units 510, memory 520, storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. Processing unit 510 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 520. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 500.

[0090] Electronic device 500 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 520 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 530 can be a removable or non-removable medium and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data (e.g., training data for training) and can be accessed within electronic device 500.

[0091] Electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 5 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 520 may include computer program product 525 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.

[0092] Communication unit 540 enables communication with other electronic devices via a communication medium. Additionally, the functionality of components of electronic device 500 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, electronic device 500 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.

[0093] Input device 550 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 560 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 500 can also communicate with one or more external devices (not shown) via communication unit 540 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 500, or with any device that enables electronic device 500 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).

[0094] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.

[0095] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0096] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0097] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0098] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0099] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.

Claims

1. An interactive control method, comprising: An interface associated with a virtual scene is presented, the interface including controls for controlling objects in the virtual scene to perform a first action; Based on the trigger operation on the control, the object is controlled to start executing the first action; In response to the triggering operation being released before the end of the target phase of the first action, it is determined whether the control is in a triggered state at the end of the target phase of the first action; as well as In response to the control being in the triggered state at the end of the target phase of the first action, the first action is controlled to be executed according to the target execution effect, based at least on the length of time the control maintains the triggered state after the end of the target phase.

2. The method according to claim 1, further comprising: The interface presents interface elements associated with the first action, wherein the preset attributes of the interface elements at least indicate the length of time the control maintains the triggered state after the target stage ends.

3. The method according to claim 1, further comprising: In response to the control not being in the triggered state at the end of the target phase of the first action, the first action is controlled to be executed according to a preset execution effect.

4. The method according to claim 1, further comprising: Before the end of the target phase of the first action, an additional operation associated with the object is received, the additional operation being used to control the object to perform a second action; as well as If the second action and the first action being executed meet preset conditions, the object is controlled to execute the second action.

5. The method according to claim 4, wherein the preset conditions include: The second action does not conflict with the first action being performed.

6. The method according to claim 1, wherein: If the time length is less than the preset length, the target execution effect is determined based on the time length; or If the time length reaches the preset length, the target execution effect is determined based on the preset length.

7. The method according to claim 1, wherein the object is a first object in the virtual scene, the first action acts on at least a second object in the virtual scene, and the target execution effect is related to the hit effect of the second object.

8. The method of claim 7, wherein the impact effect indicates the number of times the second object is hit, the number of hits being positively correlated with the time length.

9. The method according to claim 1, wherein the first action is a power-accumulating action of the object, and the target stage is the pre-animation stage of the power-accumulating action.

10. An interactive control device, comprising: The interface presentation module is configured to present an interface associated with a virtual scene, the interface including controls for controlling objects in the virtual scene to perform a first action; The first control module is configured to control the object to begin performing the first action based on a trigger operation on the control; A state determination module is configured to determine whether the control is in a triggered state at the end of the target phase of the first action in response to the triggering operation being released before the end of the target phase of the first action. as well as The second control module is configured to control the first action to be executed according to the target execution effect in response to the control being in the trigger state at the end of the target phase of the first action, based at least on the length of time the control maintains the trigger state after the end of the target phase, wherein the target execution effect is determined based at least on the length of time.

11. An electronic device, comprising: At least one processing unit; as well as At least one memory, coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, which, when executed by the at least one processing unit, cause the electronic device to perform the method according to any one of claims 1 to 9.

12. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • A system and method for managing weapons in a VR game

    CN109126128A

  • Virtual prop using method and device, equipment and medium

    CN112044073A