Method and device for batch execution of target operations, program, and electronic device
By introducing the function of batch execution buttons in the virtual game scene, the problem of inefficient operation of virtual objects is solved, and the efficiency of batch operation of virtual objects is achieved.
Patent Information
- Application Number
- JP2024559524
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-09-27
- Filing Date
- 2023-09-06
- Publication Date
- 2025-04-30
- Estimated Expiration
- 2043-09-06
AI Technical Summary
In a virtual game scenario, the player needs to repeat multiple target operations to decorate or move the virtual object, resulting in inefficient operation.
Provides a method and device that allows the player to perform the target operation on the remaining virtual objects at one time by displaying a batch execution button when the number of virtual objects reaches or exceeds a certain threshold.
Reduces the number of times players repeat the target operation, saves operation time, and improves the efficiency of virtual object operation.
Smart Images

Figure 2025513805000001_ABST
Abstract
Description
[Technical field]
[0001] This application claims priority to a Chinese patent application filed with the China Patent Office on September 27, 2022, bearing application number 202211182995.9 and entitled "Method and apparatus for batch execution of target operations, storage medium, and electronic device," the entire contents of which are incorporated herein by reference.
[0002] The present invention relates to the field of computer technology, and more particularly to a method and device for batch execution of target operations, a storage medium, and an electronic device. [Background technology]
[0003] In a virtual game scene, a number of different types of virtual objects are usually set, and in order to enhance the interest of the game, the virtual character is allowed to perform target operations to decorate, move, etc. the virtual objects, so that the virtual objects provide display effects that meet the user's personal needs.
[0004] For example, if a room being constructed includes a total of three floors, with 20 structures per floor, the player must execute the sequence of moving the virtual character, aligning the target structure, clicking the "sticker" button, and completing the sticker in order to be able to perform a sticker operation on one structure. Since the room includes a total of 60 structures, this means that the player must repeat the above steps 60 times to complete pasting wallpaper on the room, which requires a large amount of operation time and causes a technical problem of low efficiency in the process of performing operations on virtual objects.
[0005] Currently, no effective technical solutions have been proposed to address the above problems. Summary of the Invention [Problem to be solved by the invention]
[0006] SUMMARY OF THE DISCLOSURE The embodiments of the present invention provide a method and apparatus for batch execution of target operations, a storage medium, and an electronic device, thereby at least resolving the technical problem of low efficiency occurring in the process of executing operations on virtual objects.
[0007] According to one aspect of an embodiment of the present invention, there is provided a method for performing target operations in a batch, the method including: displaying a game screen of a target virtual character, where a game scene in which the target virtual character is located includes a set of virtual objects, each of which allows the same target operation to be performed by the target virtual character; when some virtual objects of the set of virtual objects have had target operations performed by the target virtual character and the number of the some virtual objects is equal to or greater than a predetermined number threshold, displaying a batch execution button, where the batch execution button is used to perform a target operation in a batch on remaining virtual objects other than the some virtual objects of the set of virtual objects; and performing the target operation in a batch on the remaining virtual objects of the set of virtual objects in response to a trigger operation on the batch execution button.
[0008] The step of displaying a collective execution button when some of the virtual objects in the set of virtual objects have had target operations performed by a target virtual character and the number of the some virtual objects is equal to or greater than a predetermined number threshold includes a step of displaying a collective execution button in response to a selection operation on one of the remaining virtual objects when some of the virtual objects in the set of virtual objects have had target operations performed by a target virtual character and the number of the some virtual objects is equal to or greater than a predetermined number threshold.
[0009] The step of selectably displaying a batch execution button in response to a selection operation on one of the remaining virtual objects includes a step of displaying a batch execution button in response to a selection operation on one of the remaining virtual objects, and displaying a selected tag of each virtual object among the remaining virtual objects, wherein the selected tag of each virtual object among the remaining virtual objects indicates that the each virtual object among the remaining virtual objects has been selected.
[0010] The step of selectively displaying a collective execution button when some virtual objects of the set of virtual objects have had target operations performed by a target virtual character, and the number of the some virtual objects is equal to or greater than a predetermined number threshold includes a step of displaying a collective execution button when some virtual objects of the set of virtual objects have had target operations performed by a target virtual character, and the target operations performed on each virtual object of the some virtual objects are operations that are performed continuously, and the number of the some virtual objects is equal to or greater than a predetermined number threshold, or a step of displaying a collective execution button when some virtual objects of the set of virtual objects have had target operations performed by a target virtual character, and the target operations performed on each virtual object of the some virtual objects are operations that are not performed continuously, but are operations that are performed within a predetermined time, and the number of the some virtual objects is equal to or greater than a predetermined number threshold.
[0011] Selectably, the step of collectively executing a target operation on the remaining virtual objects of the set of virtual objects in response to a trigger operation on the batch execution button includes, when the target operation is used to paste a virtual object onto a virtual object, collectively pasting the virtual object onto each of the remaining virtual objects in response to the trigger operation on the batch execution button.
[0012] Optionally, when the target operation is used to paste a virtual object onto a virtual object, the step of collectively pasting the virtual objects onto each of the remaining virtual objects in response to a trigger operation on the batch execution button includes: if a target virtual object from the set of virtual objects is selected, collectively pasting the target virtual object onto each of the remaining virtual objects in response to a trigger operation on the batch execution button, where the set of virtual objects includes a set of virtual objects permitted to be pasted onto a virtual object; and / or if none of the respective virtual objects from the set of virtual objects is selected, collectively selecting one or more virtual objects from the set of virtual objects in response to a trigger operation on the batch execution button and collectively pasting the randomly selected one or more virtual objects onto each of the remaining virtual objects, where the virtual object pasted onto each virtual object of the remaining virtual objects is one virtual object from the randomly selected one or more virtual objects.
[0013] Selectably, the step of collectively executing a target operation on the remaining virtual objects of the set of virtual objects in response to a trigger operation on the batch execution button includes, when the target operation is used to remove a virtual object pasted on the virtual object, removing the virtual object pasted on each of the remaining virtual objects in response to the trigger operation on the batch execution button.
[0014] Selectably, the step of collectively executing a target operation on the remaining virtual objects of the set of virtual objects in response to a trigger operation on the batch execute button includes, if the target operation is used to move the virtual objects into a target area, moving each virtual object of the remaining virtual objects into the target area in response to a trigger operation on the batch execute button, or, if the target operation is used to move the virtual objects into a target virtual container, moving each virtual object of the remaining virtual objects into the target virtual container in response to a trigger operation on the batch execute button.
[0015] The step of selectively executing a target operation collectively on the remaining virtual objects of the set of virtual objects in response to a trigger operation on the batch execution button includes a step of collectively executing the target operation on only the remaining virtual objects when the game scene includes a first virtual object set and a second virtual object set, the object types of each virtual object in the first virtual object set are all of a first type, the object types of each virtual object in the second virtual object set are all of a second type different from the first type, and the set of virtual objects are virtual objects in the first virtual object set for which a target operation has not yet been executed.
[0016] Optionally, the method further includes the steps of: after collectively performing the target operation on the remaining virtual objects of the set of virtual objects, displaying an extended execution button, the extended execution button being used to collectively perform the target operation on the virtual objects of the second set of virtual objects on which the target operation has not yet been performed; and, in response to a trigger operation on the extended execution button, collectively performing the target operation on the virtual objects of the second set of virtual objects on which the target operation has not yet been performed.
[0017] According to another aspect of the embodiment of the present invention, there is further provided a target operation collective execution device, comprising: a first display unit used for displaying a game screen of a target virtual character, where a game scene in which the target virtual character exists includes a set of virtual objects, each of which allows the same target operation to be executed by the target virtual character; and The present invention includes: a first processing unit used for displaying a batch execution button when some virtual objects of the set of virtual objects have had target operations executed by a target virtual character and the number of the some virtual objects is equal to or greater than a predetermined number threshold, the batch execution button being used for collectively executing target operations on remaining virtual objects other than the some virtual objects of the set of virtual objects; and a second processing unit used for collectively executing target operations on the remaining virtual objects of the set of virtual objects in response to a trigger operation on the batch execution button.
[0018] Selectably, the first processing unit includes a first processing module used for displaying a batch execution button in response to a selection operation on one of the remaining virtual objects when some virtual objects of the set of virtual objects have target operations performed by a target virtual character and the number of the some virtual objects is equal to or greater than a predetermined number threshold.
[0019] According to a further aspect of an embodiment of the present invention, there is further provided a computer readable storage medium having a computer program stored thereon, the computer program being configured, when operated, to perform the method for batch execution of target operations described above.
[0020] According to a further aspect of an embodiment of the present invention there is further provided a computer program product comprising computer programs / instructions which, when executed by a processor, implement the steps of the above method.
[0021] According to a further aspect of an embodiment of the present invention, there is further provided an electronic device comprising a memory and a processor, the memory having a computer program stored therein, the processor being configured to execute the method for batch execution of the target operations by the computer program.
[0022] According to the above-mentioned embodiment provided in the present application, when some virtual objects in a game scene have had target operations performed by a target virtual character and the number of some virtual objects is equal to or greater than a predetermined threshold number, a batch execution button is displayed, and target operations are performed collectively on the remaining virtual objects in response to a trigger operation on the batch execution button, thereby reducing the number of times that the player repeatedly performs target operations, saving operation time, solving the problem of low efficiency occurring in the process of performing operations on virtual objects in the related art, and achieving the technical effect of improving the efficiency of operations on virtual objects.
[0023] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and the description thereof are used to interpret the present invention and are not to be construed as undue limitations on the present invention. [Brief description of the drawings]
[0024] [Figure 1] FIG. 2 is a schematic diagram of a response scene of a method for collectively executing selectable target operations according to an embodiment of the present invention; [Diagram 2] 4 is a flow diagram of a method for batch execution of selectable target operations according to an embodiment of the present invention. [Diagram 3] FIG. 13 is a schematic diagram illustrating a single target operation being performed on a selectable virtual object according to an embodiment of the present invention. [Figure 4] FIG. 1 is a schematic diagram (1) of a method for collectively executing selectable target operations according to an embodiment of the present invention. [Diagram 5] FIG. 13 is a schematic diagram illustrating a process for implementing displaying selectable batch execution buttons according to an embodiment of the present invention; [Figure 6] FIG. 13 is a schematic diagram showing selectable tags of each virtual object among the remaining selectable virtual objects according to an embodiment of the present invention. [Figure 7] FIG. 2 is a schematic diagram (2) of a method for collectively executing selectable target operations according to an embodiment of the present invention. [Figure 8] FIG. 13 is a schematic diagram (3) of a method for collectively executing selectable target operations according to an embodiment of the present invention. [Figure 9] FIG. 4 is a schematic diagram (4) of a method for collectively executing selectable target operations according to an embodiment of the present invention. [Figure 10] FIG. 5 is a schematic diagram (5) of a method for performing selectable target operations collectively according to an embodiment of the present invention. [Figure 11] FIG. 6 is a schematic diagram (6) of a method for performing selectable target operations collectively according to an embodiment of the present invention. [Figure 12] FIG. 7 is a schematic diagram (7) of a method for performing a batch of selectable target operations in accordance with an embodiment of the present invention. [Figure 13] 2 is an overall flow diagram of a method for batch executing selectable target operations according to an embodiment of the present invention; [Figure 14] FIG. 2 is an overall schematic diagram of a method for collectively executing selectable target operations according to an embodiment of the present invention; [Figure 15] FIG. 2 is a structural schematic diagram of a device for batch executing selectable target operations according to an embodiment of the present invention; [Figure 16] FIG. 2 is a structural schematic diagram of a selectable electronic device according to an embodiment of the present invention; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0025] In order to allow those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. It is obvious that the described embodiments are only some embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts are all within the protection scope of the present invention.
[0026] It should be noted that the terms "first", "second", etc. in the present specification and claims, as well as in the drawings, are used to distinguish between similar objects, and are not necessarily used to describe a particular order or necessarily a chronological order. The terms used in this manner are interchangeable under appropriate circumstances, with the understanding that the embodiments of the present invention described herein may be practiced in other orders than those shown or described herein. Furthermore, the terms "comprise" and "have" and any variations thereof are intended to cover a non-exclusive inclusion, e.g., a process, method, system, product, or apparatus comprising a series of steps or units is not necessarily limited to those steps or units expressly recited, and may include other steps or units not expressly recited or inherent to the process, method, product, or apparatus.
[0027] According to one aspect of the embodiment of the present invention, a method for batch execution of target operations is provided. As one selectable embodiment, the method for batch execution of target operations is applied to, but not limited to, an application scenario as shown in FIG. 1. In the application scenario shown in FIG. 1, a terminal device 102 can communicate with a server 106 through a network 104, and the server 106 can perform an operation, such as, but not limited to, a data write operation or a data read operation, on a database 108. The terminal device 102 may include, but is not limited to, a man-machine interaction screen, a processor, and a memory. The man-machine interaction screen is used for, but is not limited to, displaying a game screen, a batch execution button, a virtual object for performing a target operation, etc. in the terminal device 102. The processor is used for, but is not limited to, performing a corresponding operation or generating a corresponding command in response to the man-machine interaction operation, and sending the generated command to the server 106. The memory is used for storing relevant processing data, such as the number of some virtual objects to perform the target operation, the predetermined number threshold, and the trigger instruction of the batch execution button, etc.
[0028] As one selectable form, the server 106 may execute the following steps in the method for collectively executing target operations. Step S102: Display a game screen of a target virtual character, where a game scene in which the target virtual character is present includes a set of virtual objects, and each virtual object in the set of virtual objects allows the same target operation to be executed by the target virtual character. Step S104: When some virtual objects in the set of virtual objects have had target operations executed by the target virtual character, and the number of the some virtual objects is equal to or greater than a threshold value of a predetermined number, display a collectively executing button, where the collectively executing button is used to collectively execute target operations on the remaining virtual objects other than the some virtual objects in the set of virtual objects. Step S106: In response to a trigger operation on the collectively executing button, execute target operations on the remaining virtual objects in the set of virtual objects in a batch.
[0029] When the above-mentioned form is adopted, when target operations are being performed by a target virtual character on some of the virtual objects in a game scene and the number of some of the virtual objects is equal to or greater than a predetermined threshold number, a batch execution button is displayed, and the target operations are performed on the remaining virtual objects in a batch in response to a trigger operation on the batch execution button. This reduces the number of times the player needs to repeatedly perform target operations, saves operation time, and solves the problem in the related art of low efficiency in the process of performing operations on virtual objects, thereby achieving the technical effect of improving operation efficiency.
[0030] Before describing the embodiments of the present invention, a basic flow of executing a single target operation on a virtual object on a game screen will be briefly introduced with reference to Fig. 3. Specifically, the flow is as follows.
[0031] Assume that the game scene shown in Fig. 3(a) includes a target virtual character, an I-shaped cell structure of a room that the player is building, a virtual swing rod used to control the target virtual character, wallpapers that the player is allowed to select, etc. Here, according to the building materials of the main load configuration of the room, the room structure can be divided into a number of categories, for example, a room-type framework structure, a steel structure, a mixed structure, etc., and in the process of decorating the room structure, the room structures of different categories may adopt wallpapers of different styles.
[0032] In that case, if a sticker operation needs to be performed on the I-type cell structure, the steps to perform it include: S11: Assume that wood grain wallpaper 1 is the player's target wallpaper. In this case, the player needs to select wood grain wallpaper 1 from the wallpaper mall. S12: By controlling the virtual swing rod, the target virtual character is moved and the viewpoint of the target virtual character is aligned with the I-shaped cell structure, as shown in FIG. 3(b). Here, when the viewpoint of the target virtual character is aligned with the I-shaped cell structure, the frame of the I-shaped cell structure lights up, thereby indicating that the I-shaped cell structure has been selected. S13: Click the "Sticker" button shown in FIG. 3(b) to paste the wood grain wallpaper 1 onto the I-shaped cell structure.
[0033] In the related art, when a room structure includes multiple structures and the sticker operation needs to be completed for multiple structures, the above steps S11 to S13 need to be repeatedly performed until all the structures are pasted on the wallpaper.
[0034] Obviously, when the number of room structures is relatively large, it takes a lot of time to apply stickers to them by repeatedly executing steps S11 to S13, and the operation efficiency is reduced. To solve this problem, the embodiment of the present application proposes a method for batch execution of target operations, and FIG. 2 is a flow chart of the method for batch execution of target operations according to the embodiment of the present invention. The flow includes the following steps: Step S202: display a game screen of a target virtual character, where the game scene in which the target virtual character is located includes a set of virtual objects, and each virtual object in the set of virtual objects allows the same target operation to be performed by the target virtual character; As shown in (a) of FIG. 4, assume that the constructed room includes a total of eight I-shaped cell structures, and the player wants to paste wallpaper into the eight I-shaped cell structures. In this case, each I-shaped cell structure means that the target virtual character is allowed to perform the same sticker operation.
[0035] It is necessary to explain that the virtual objects and the number of virtual objects in the above game screen are only exemplary and are not limiting. In the actual game scene, the virtual objects may also be plants, containers, or other objects in the game scene, etc. Step S204: When some of the virtual objects in the set of virtual objects have had target operations performed by a target virtual character, and the number of the some virtual objects is equal to or greater than a predetermined number threshold, a batch execution button is displayed, where the batch execution button is used to batch execute the target operations on the remaining virtual objects other than the some virtual objects in the set of virtual objects. Step S206: In response to a trigger operation on the batch execution button, a target operation is executed collectively on some virtual objects of the set of virtual objects.
[0036] Assume that the same steps as steps S11 to S13 are employed, and when target operations are respectively performed on some virtual objects among a set of virtual objects, and the number of the some virtual objects is equal to or greater than a predetermined threshold number, a batch execution button is displayed on the game screen. In this case, target operations can be performed collectively on some virtual objects among the set of virtual objects in response to a trigger operation on the batch execution button. Here, the number of remaining virtual objects is two or more.
[0037] To explain by way of example, assume that, as shown in FIG. 4, wood grain wallpaper 2 is selected as the target wallpaper from the wallpaper mall, and the threshold of the predetermined number of virtual objects for performing the target operation is 2. When the same method as in steps S11 to S13 is adopted to perform sticker operations on the I-shaped cell structure 1 and structure 2 shown in FIG. 4, respectively, the viewpoint of the target virtual character is aligned with the I-shaped cell structure 3 by controlling the virtual swing rod, and the number of times that steps S11 to S13 are repeatedly performed is two, which is equal to the threshold of the predetermined number, so that a batch execution button, for example, a "Sticker All" button as shown in FIG. 4 (b), is displayed on the game screen. Here, the "Sticker All" button is used to perform batch stickers on room structures 3 to 8 that are not pasted, and the number of some virtual objects is equal to the number of times that one sticker operation has already been performed.
[0038] By clicking the "Sticker All" button to perform a batch sticker operation on I-shaped cell structures 3 to 8, the sticker operation for the remaining room structures can be completed, reducing the need to repeatedly perform an operation flow similar to steps S11 to S13 above, saving operation time, and improving sticker efficiency.
[0039] It should be noted that the trigger operation for the batch execution button may be, but is not limited to, a single click, a double click, a drag operation, etc.
[0040] In the above step S204, when some virtual objects in the set of virtual objects have each been executed by a target virtual character and the number of the some virtual objects is equal to or greater than a predetermined number threshold, the embodiment of the present application can determine to collectively execute the target operation on the remaining virtual objects other than the some virtual objects in the set of virtual objects, that is, determine that the remaining virtual objects satisfy the condition for collectively executing the target operation. At this time, the collective execution button can be automatically displayed. That is, the embodiment of the present application can determine whether the virtual objects satisfy the condition for collectively executing the target operation, and automatically trigger the collective execution operation when the condition is satisfied, so that the user does not need to trigger the collective execution operation.
[0041] As one selectable example, when some virtual objects among the set of virtual objects have had target operations performed by a target virtual character, and the number of the some virtual objects is equal to or greater than a predetermined number threshold, the step of displaying the batch execution button may include: displaying a batch execution button when a target operation is being executed by a target virtual character on each of some virtual objects of the set of virtual objects, the target operations executed on each virtual object of the set of virtual objects are operations that are executed consecutively, and the number of the some virtual objects is equal to or greater than a threshold value of a predetermined number; or The method includes a step of displaying a batch execution button when some of the virtual objects in the set of virtual objects have target operations executed by a target virtual character, the target operations executed on each of the virtual objects in the set of virtual objects are not operations executed consecutively but are operations executed within a predetermined time, and the number of the some of the virtual objects is equal to or greater than a predetermined number threshold.
[0042] Therefore, in an embodiment of the present application, when some virtual objects of a set of virtual objects have target operations performed by a target virtual character, and the number of the some virtual objects is equal to or greater than a predetermined number threshold, if the target operations performed on each of the some virtual objects are operations that are performed consecutively, or if the target operations performed on each of the some virtual objects are operations that are not performed consecutively but are operations that are performed within a predetermined time, it can be determined that target operations are to be performed collectively on the remaining virtual objects other than the some virtual objects of the set of virtual objects, i.e., it is determined that the remaining virtual objects satisfy the condition for performing target operations collectively.
[0043] As shown in Fig. 5, it is assumed that some virtual objects (cell structure 1 and structure 2) among a set of virtual objects (cell structures 1 to 8) have performed target operations on a target virtual character. In this case, specific processes of performing target operations on cell structure 1 and cell structure 2 include, but are not limited to, the following two types of cases.
[0044] First type: Perform target operations continuously.
[0045] The specific steps are as follows: S51: As shown in (a) of FIG. 5, when the viewpoint of a target virtual character is aligned with cell structure 1, structure 1 is selected and the “Sticker” button is clicked, as shown in (b) of FIG. 5, wood grain wallpaper 2 is pasted onto cell structure 1. S52: The target virtual character continues to move and the viewpoint of the target virtual character is aligned with cell structure 2. Then, cell structure 2 is selected. When the “Sticker” button shown in (c) of FIG. 5 is clicked, wood grain wallpaper 2 is pasted on cell structure 2, as shown in (d) of FIG. 5. S53: The target virtual character is moved again, and the viewpoint of the target virtual character is aligned with cell structure 3. In response to the selection operation on cell structure 3, as shown in (e) of Fig. 5, a "Sticker All" button is displayed, and each structure in cell structures 3 to 8 displays a selected mark (a frame is lit up). Specifically, see (f) of Fig. 5. Here, steps S51 and S52 are continuous, that is, uninterrupted.
[0046] Second type: The operations are performed non-sequentially.
[0047] After executing the above step S51, the wood grain sticker 2 is attached to the cell structure 1. At this time, it is assumed that the player enters the "interior" page in the mall and selects other decorations to be used in decorating the room, such as curtains and furniture.
[0048] After logging out from the "interior" page, the player further executes step S52 and pastes wood grain wallpaper 2 onto cell structure 2 as well.
[0049] For the first type of case, since the sticker operation is continuously performed on cell structure 1 and structure 2, the player's repeated operation is identified, and a shortcut operation, for example, displaying a "Sticker All" button, is easily provided. For the second type of case, assume that the total time from step S51 to the completion of step S52 is t, and if t is less than or equal to a predetermined time, the current sticker operation is determined to be a repeated operation, and the "Sticker All" button is displayed; otherwise, the "Sticker All" button is not displayed.
[0050] According to the above-mentioned embodiment provided in the present application, when some virtual objects in a game scene have had target operations performed by a target virtual character and the number of some virtual objects is equal to or greater than a predetermined threshold number, a batch execution button is displayed, and target operations can be performed collectively on the remaining virtual objects in response to a trigger operation on the batch execution button, thereby reducing the number of times that the player repeatedly performs target operations, saving operation time, solving the problem of low efficiency occurring in the process of performing operations on virtual objects in the related technologies, and achieving the technical effect of improving the efficiency of operations on virtual objects.
[0051] As one selectable example, when some virtual objects among the set of virtual objects have had target operations performed by a target virtual character, and the number of the some virtual objects is equal to or greater than a predetermined number threshold, the step of displaying the batch execution button may include: When some of the virtual objects in the set of virtual objects have had target operations executed by the target virtual character and the number of the some of the virtual objects is equal to or greater than a predetermined number threshold, a batch execution button is displayed in response to a selection operation on one of the remaining virtual objects.
[0052] As shown in (a) of Figure 6, when the threshold of the predetermined number is 2, and cell structures 1 and 2 are controlled by the virtual swing rod to move the target virtual character and align the viewpoint of the target virtual character with cell structure 3 after a sticker operation has already been performed by the target virtual character, cell structure 3 is selected and a batch execution button is displayed on the game screen, that is, a "Sticker all" button is displayed, as shown in (b) of Figure 6.
[0053] Illustratively, the step of displaying a batch execution button in response to a selection operation on one virtual object among the remaining virtual objects includes:
[0054] In response to a selection operation on one virtual object among the remaining virtual objects, a batch execution button is displayed, and a selected tag of each virtual object among the remaining virtual objects is displayed, where the selected tag of each virtual object among the remaining virtual objects indicates that the each virtual object among the remaining virtual objects has been selected.
[0055] As can be understood together with the analysis of the above embodiment, the batch execution button is used to batch execute target operations on the remaining virtual objects other than some of the virtual objects in a set of virtual objects. That is, the "sticker all" button shown in (b) of FIG. 6 is used to batch execute target operations on the remaining virtual objects other than cell structure 1 and structure 2. Therefore, when cell structure 3 is selected (when the viewpoint of the target virtual character is aligned), the "sticker all" button is displayed on the game screen, and at the same time, the selected tags of each virtual object (cell structures 3 to 8) among the remaining virtual objects are displayed, and for example, as shown in (b) of FIG. 6, the frames of each structure among cell structures 3 to 8 are lit up.
[0056] As is apparent, for ease of understanding, the process of displaying the selected tags of each virtual object among the remaining virtual objects shown in Fig. 6 is merely illustrative and is not limited thereto. For example, in addition to the selected cell structure 3, any one of the selected cell structures 4 to 8 may be selected, and a batch execution button is displayed for all of them, and the selected tags of each virtual object among the remaining virtual objects are displayed.
[0057] In the above embodiment, when the number of virtual objects in a set of virtual objects in which target operations have been respectively performed by a target virtual character is equal to or greater than a predetermined threshold number, by continuing to select any one of the remaining virtual objects, the operation repeated by the player is automatically identified, and a shortcut operation similar to a batch execution button is provided, thereby improving the user experience.
[0058] As one selectable example, the step of collectively executing the target operation on the remaining virtual objects of the set of virtual objects in response to a trigger operation on the collective execution button includes: When the target operation is used to paste a virtual object onto a virtual object, in response to a trigger operation on the batch execution button, the virtual objects are collectively pasted onto each of the remaining virtual objects.
[0059] Here, specific implementation methods for collectively pasting the virtual objects onto each of the remaining virtual objects in response to a trigger operation on the collective execution button include the following. When a target virtual object is selected from the set of virtual objects, the target virtual object is pasted onto each of the remaining virtual objects in a batch in response to a trigger operation on the batch execution button, where the set of virtual objects includes a set of virtual objects that are permitted to be pasted onto the virtual object, and / or When none of the virtual objects in the set of virtual objects is selected, one or more virtual objects are randomly selected from the set of virtual objects in response to a trigger operation on a batch execution button, and the randomly selected one or more virtual objects are collectively pasted onto each of the remaining virtual objects, where the virtual object pasted onto each of the remaining virtual objects is one of the randomly selected one or more virtual objects.
[0060] To explain this by way of example, as shown in (a) of Fig. 7, a collection of virtual objects includes wallpapers of multiple styles, for example, wood-grain wallpapers of seven styles. If all of the seven styles of wood-grain wallpapers satisfy a certain condition, they are permitted to be pasted onto cell structures 1 to 8.
[0061] Assume that the wood grain wallpaper 2 is selected in the process of performing the sticker operation for each of the cell structures 1 and 2. In this case, after responding to a trigger operation on the "sticker all" button, specifically, as shown in (b) of FIG. 7, the wood grain wallpaper 2 is pasted on all of the cell structures 3 to 8 at once.
[0062] In the process of performing the sticker operation, as shown in (c) of FIG. 7, if none of the seven styles of wood grain wallpapers are selected, after responding to a trigger operation on the “Sticker All” button, cell structure 1 and structure 2 randomly select one or more styles of wallpaper and paste the randomly selected wallpapers into cell structures 3 to 8.
[0063] For example, assuming that wood grain wallpaper 2 and wood grain wallpaper 3 are randomly selected, after clicking the "Stickers All" button, wood grain wallpaper 2 or wood grain wallpaper 3 is randomly pasted onto each of cell structures 3 to 8. As shown in (d) of FIG. 7, wood grain wallpaper 2 is pasted onto cell structures 3 and 6 to 8, and wood grain wallpaper 3 is pasted onto cell structures 4 and 5.
[0064] For ease of understanding, the randomly selected wood grain wallpaper 2 and wood grain wallpaper 3 are merely illustrative and not limiting. Correspondingly, attaching wood grain wallpaper 2 to cell structures 3, 6-8 and attaching wood grain wallpaper 3 to cell structures 4-5 are also merely illustrative and not limiting. For example, wood grain wallpaper 4 and wood grain wallpaper 5 may be randomly selected, and wood grain wallpaper 4 may be attached to cell structures 3-7 and wood grain wallpaper 5 may be attached to cell structure 8.
[0065] In addition, it is necessary to explain that, in each of the above embodiments, when the condition for displaying the batch execution button is satisfied, in addition to being able to respond to the trigger operation of the batch operation button, it may also be able to respond to one target operation button, for example, a "sticker" button. In other words, according to the batch execution method of the target operations in the embodiments of the present application, a shortcut operation method is provided only when there are a large number of virtual objects that need to execute target operations, and the display of the "sticker" button for executing target operations on the remaining virtual objects and the trigger operation are not affected.
[0066] By adopting the above-described form, different collective operations can be performed on each of the remaining virtual objects depending on whether a target virtual object from the set of virtual objects has been selected, thereby improving the flexibility of collective execution and improving the applicability of the collective execution method for target operations.
[0067] It is clear that the above steps of performing sticker operation on the virtual object are merely exemplary and are not limited thereto, for example, removing the virtual object pasted on the virtual object, moving the virtual object into the target area or target virtual container, etc. In the following, the target operation in the case of concentration will be described in detail in conjunction with a specific embodiment.
[0068] Example 1
[0069] Assuming that the target operation is used to remove a virtual object pasted on a virtual object, a specific implementation method is as follows.
[0070] When the target operation is used to remove a virtual object pasted on a virtual object, the virtual object pasted on each of the remaining virtual objects is removed in response to a trigger operation on the batch execution button.
[0071] As shown in (a) of Fig. 8, it is assumed that wallpaper is pasted on each of the cell structures 1 to 8, and the target operation is to remove the wallpaper from the cell structure. In this case, the specific steps of removing the wallpaper from the cell structure by adopting the batch operation method are as follows: S81: The target virtual character is moved to align the viewpoint of the target virtual character with the cell structure 1, and the wallpaper on the cell structure 1 is removed by clicking the "Remove" button as shown in FIG. 8(a). S82: Continue moving the target virtual character to align the viewpoint of the target virtual character with cell structure 2, and click the "Remove" button again to remove the wallpaper on cell structure 2, as shown in FIG. 8(b). S83: The target virtual character is moved again, and the viewpoint of the target virtual character is aligned with cell structure 3. Since the number of cell structures from which the wallpaper has already been removed is equal to the predetermined number threshold and the condition for displaying the batch execution button is met, a "Remove All" button is displayed on the game screen, as shown in FIG. 8(c). S84: When the "Remove All" button is clicked, the wallpaper on the cell structures 3 to 8 is removed all at once, as shown in FIG. 8(d).
[0072] Example 2
[0073] Assuming that the target operation acts on moving a virtual object into a target area or a target virtual container, a specific implementation manner is as follows.
[0074] When the target operation is used to move the virtual object to the target area, in response to a trigger operation on the batch execution button, move each virtual object among the remaining virtual objects to the target area; or When the target operation is used to move a virtual object into the target virtual container, in response to a trigger operation on the batch execution button, each virtual object among the remaining virtual objects is moved into the target virtual container.
[0075] (1) In the following, the case of moving a virtual object to a target area will be described in detail in conjunction with FIG.
[0076] As shown in (a) of FIG. 9 , assuming that the predetermined number threshold is 2, the virtual objects are plants planted in a farm, for example, one pot of flowers, a set of virtual objects includes a total of four pots of flowers, and the target operation is to move each pot of flowers into the flower garden, the specific process to be realized includes: S91: The target virtual character is moved, the viewpoint of the target virtual character is aligned with the flowerpot numbered 1, and when the "move" button as shown in FIG. 9(a) is clicked, the flowerpot numbered 1 is moved into the flower garden. S92: The target virtual character continues to move, and the viewpoint of the target virtual character is aligned with the flowerpot numbered 2. When the "move" button is clicked again, the flowerpot numbered 2 is moved into the flower garden, as shown in FIG. 9(b). S93: The target virtual character is moved again, and the viewpoint of the target virtual character is aligned with the flowerpot numbered 3. Since the number of flowerpots that have already been moved is equal to the predetermined threshold number and satisfies the display condition for the batch execution button, a "move all" button is displayed on the game screen, as shown in FIG. 9(c). S94: When the "move all" button is clicked, the flowerpots numbered 3 and 4 are moved all at once, as shown in FIG. 9(d).
[0077] (2) In the following, the case of moving a virtual object into a target virtual container will be described in detail in conjunction with FIG.
[0078] As shown in (a) of FIG. 10 , assuming that the predetermined number threshold is 3, the virtual objects are spheres, and the set of virtual objects includes a total of six spheres, and the target operation is to move the spheres into the target virtual container, the specific process to be realized includes: S1001: The target virtual character is moved, and the viewpoint of the target virtual character is aligned with the sphere numbered 1. When the “Move” button as shown in (a) of FIG. 10 is clicked, the sphere numbered 1 is moved into the target virtual container as shown in (b) of FIG. 10. S1002: Continue moving the target virtual character, align the viewpoint of the target virtual character with the sphere numbered 2, and click the “move” button to move the sphere numbered 2 into the target virtual container, as shown in (c) of FIG. 10. S1003: The target virtual character is moved again, and the viewpoint of the target virtual character is aligned with the sphere numbered 3. When the “Move” button is clicked, the sphere numbered 3 is moved into the target virtual container as shown in (d) of FIG. 10. S1004: The target virtual character is further moved, and the viewpoint of the target virtual character is aligned with the ball numbered 4, and the viewpoint of the target virtual character is aligned with the ball numbered 4. Since the number of balls that have already been moved is equal to the predetermined number threshold 3 and satisfies the display condition for the batch execution button, a "move all" button is displayed on the game screen, and selected tags for the balls numbered 4 to 6 are displayed, as shown in (e) of FIG. S1006: When the "move all" button is clicked, the balls numbered 3 and 4 are moved together into the target virtual container as shown in (f) of FIG.
[0079] As can be seen from the above analysis, in the embodiments of the present application, no limitations are imposed on either virtual objects or target operations, so that the above-mentioned method for executing target operations in a batch can be applied to various scenes, thereby improving the operation efficiency of the target operations while further improving the application range of the method.
[0080] As an optional example, the step of collectively executing the target operation on the remaining virtual objects of the set of virtual objects in response to a trigger operation on the collective execution button may include: The game scene includes a first virtual object set and a second virtual object set, and when a set of virtual objects are virtual objects in the first virtual object set that have a first object type and a second virtual object set that have a second object type different from the first type, and a set of virtual objects are virtual objects in the first virtual object set that have not yet had a target operation executed thereon, the game scene includes a step of collectively executing a target operation on only the remaining virtual objects.
[0081] 11(a), the game scene includes a first virtual object set and a second virtual object set, where the first virtual object set includes a plurality of I-type cell structures in a room currently under construction, and the second virtual object set includes a plurality of II-type cell structures in a room currently under construction. In other words, the types of the cell structures in the first virtual object set are the same and all belong to type I, and the types of the cell structures in the second virtual object set are also the same and all belong to type II.
[0082] Assume that the target operation is to paste A-type wallpaper on each I-type cell structure and B-type wallpaper on each II-type cell structure, and the threshold of the predetermined number is 2, and the set of virtual objects is a virtual object for which the target operation has not yet been performed in the first virtual object set. In this case, a method similar to that shown in the above steps S91 to S92 is adopted to perform a sticker operation on two structures in the plurality of I-type cell structures, and A-type wallpaper is pasted on the two structures as shown in (a) of FIG. 11, and a method similar to that shown in the above step S93 is adopted to select the remaining structures in the plurality of I-type cell structures to which no wallpaper has been pasted, and a "Sticker All 1" button is displayed as shown in (b) of FIG. 11. A sticker operation is performed on the two structures as shown in (a) of FIG. 11. When the "Sticker All 1" button is clicked, a collective sticker operation is performed on all remaining I-type cell structures to which no wallpaper has been pasted, and thus A-type wallpaper is pasted on all remaining I-type cell structures to which no wallpaper has been pasted. Specifically, refer to (c) of FIG. 11.
[0083] It is necessary to explain that the structure types of the I-type cell structure and the II-type cell structure are different, and the virtual objects (types of target wallpapers to be pasted) to perform the target operation are also different. Therefore, when determining a set of objects as virtual objects in the first virtual object set on which the target operation has not yet been performed, automatically identify the player's repeated sticker operation on the I-type cell structure, and perform a batch operation on the remaining virtual objects in the first virtual object set, so that the A-type wallpaper is pasted on all of the I-type cell structures.
[0084] In order to improve the efficiency of the sticker operation, after completing the sticker operation on the I-type cell structure, a batch sticker operation on the II-type cell structure can be realized by the following method: displaying an extended execution button after collectively executing the target operation on the remaining virtual objects of the set of virtual objects, where the extended execution button is used to collectively execute the target operation on the virtual objects of the second set of virtual objects on which the target operation has not yet been executed; and In response to a trigger operation on the extended execution button, the target operation is collectively executed on the virtual objects in the second virtual object set for which the target operation has not yet been executed.
[0085] In this embodiment, the specific implementation manner of performing the batch sticker operation on the II-type cell structure after completing the batch sticker operation on the I-type cell structure includes, but is not limited to, the following two types.
[0086] Implementation method 1
[0087] S1211: As shown in (a) of FIG. 12, after completing the sticker operation on the I-type cell structure, align the viewpoint of the target virtual character with one of the II-type cell structures by moving the target virtual character, and click the “Sticker” button to paste the B-type wallpaper onto the selected one of the II-type cell structures, as shown in (b) of FIG. 12. S1212: Continue moving the viewpoint of the target virtual character, and align the viewpoint with the second type II cell structure, and perform a sticker operation on the second type II cell structure. The operation result is as shown in (c) in FIG. S1213: When the target virtual character is moved again and the viewpoint of the target virtual character is aligned with one of the type II cell structures on which wallpaper has not yet been pasted, the number of type II cell structures on which the sticker operation has already been performed is equal to a predetermined number threshold, so a "Sticker All 2" button is displayed and the selected tags of all type II cell structures on which wallpaper has not yet been pasted are displayed (e.g., a frame is lit up), as shown in (d) of FIG. 12. S1214: Click the "Sticker All 2" button to perform a bulk sticker operation on all type II cell structures that do not yet have wallpaper pasted on them, thereby pasting type B wallpaper onto all type II cell structures.
[0088] It is necessary to explain that in the process of performing a sticker operation on the II-type cell structure, the B-type wallpaper used may include, but is not limited to, one wallpaper randomly selected from the wallpaper collection when aligning the viewpoint of the target virtual character with the II-type cell structure. That is, when the II-type cell structure is selected, a target wallpaper for performing a sticker operation on the II-type cell structure is automatically selected. Here, the II-type cell structure may be the same as the wallpaper used for the I-type cell structure, but may be different, and this embodiment does not limit it.
[0089] Implementation method 2
[0090] In order to further improve the efficiency of sticker operation, after completing stickering for the I-type cell structure by the bulk sticker operation, the player's bulk operation has already been automatically identified. Therefore, when any one of the II-type cell structures is selected, the system will recognize by default that the player wants to continue performing the bulk operation, so that the "Sticker All 2" button will be displayed on the game screen, and by clicking "Sticker All 2", the player can perform bulk stickering for all II-type cell structures.
[0091] According to the above method, when a game scene includes a plurality of virtual object sets and the types of the virtual objects in any two virtual object sets are not the same, a batch execution button and an extended execution button may be displayed in sequence according to the types of the selected virtual objects, and target operations are sequentially executed in batches for virtual objects in each virtual object set for which target operations have not yet been executed in response to a trigger operation on each execution button, thereby realizing reproducibility of the batch execution operation, reducing the number of times the target operation is executed, and improving operation efficiency.
[0092] In order to better understand the embodiments of the present application, the embodiments will be further described below in conjunction with the overall flow chart shown in Figure 13 and the overall schematic diagram shown in Figure 14. Specifically, the embodiments include: S1302: Click on type A wallpaper to select it. As shown in (a) of Fig. 14, to decorate a room under construction, one wallpaper is selected from a collection of wallpapers, for example, wood grain wallpaper 1 is selected. Here, the selection method may be, but is not limited to, random selection, selection according to the player's preference, etc. S1304: A target virtual character is moved in front of I I-type cell structures, and the cell structures are automatically selected. As shown in (b) of Fig. 14, by operating the virtual swing rod, the position of the target virtual character in the game scene is moved, and the viewpoint of the target virtual character after the movement is aligned with the I-shaped cell structure. The aligned I-shaped cell structure is automatically selected, and the selected tag of the I-shaped cell structure is displayed, for example, a frame is lit. S1306: Click the "Sticker" button and paste the wood grain wallpaper 1 onto the I-shaped cell structure 1 as shown in (c) of FIG. S1308: It is determined whether the number of times the operation has already been repeated is greater than a predetermined threshold value. Before determining the number of times the operation has already been repeated, the same operations as in steps S1302 to S1304 are adopted, cell structure 2 is selected in order, the “Sticker” button is clicked, and sticker operation or the like is performed on cell structure 2. Specifically, this is as shown in (d) to (e) in FIG. If the number of cell structures on which the sticker operation has already been performed is greater than the predetermined number threshold 2, execute step S1310; otherwise, jump to step S1304. S1310: A target virtual character is moved in front of one I-type cell structure, and all I-type cell structures are automatically selected. For example, when a target virtual character is moved in front of I-type cell structure 3 and the viewpoint of the target virtual character is aligned with that cell structure, I-type cell structures 3 to 8 on which no sticker operation has been performed are automatically selected, and the selected tags of I-type cell structures 3 to 8 are displayed as shown in (f) of Figure 14, and at the same time, a "Sticker All" button is displayed. S1312: Click the "Sticker All" button to collectively perform sticker operations on the I-type cell structures 3 to 8. Specifically, see (g) in FIG.
[0093] By adopting the above method, when some virtual objects in a game scene have had target operations performed by a target virtual character and the number of some virtual objects is equal to or greater than a predetermined threshold number, a batch execution button is displayed, and target operations can be performed collectively on the remaining virtual objects in response to a trigger operation on the batch execution button, thereby reducing the number of times the player repeatedly performs target operations and saving operation time, thereby solving the problem in related technologies that is low efficiency in the process of performing operations on virtual objects, and achieving the technical effect of improving the efficiency of operations on virtual objects.
[0094] It is necessary to explain that, for the above method embodiments, they are expressed as a combination of a series of actions for the sake of simplicity, but according to the present invention, some steps may adopt other orders or be performed simultaneously, so those skilled in the art can understand that the present invention is not limited to the order of the actions described. Next, those skilled in the art can also understand that the embodiments described in the specification all belong to preferred embodiments, and the related actions and modules are not necessarily essential to the present invention.
[0095] According to one aspect of an embodiment of the present invention, there is further provided a device for batch execution of target operations as shown in FIG. 15, which includes a first display unit 1502, a first processing unit 1504, and a second processing unit 1506. The first display unit 1502 is used for displaying a game screen of a target virtual character, where the game scene in which the target virtual character exists includes a set of virtual objects, and each virtual object in the set of virtual objects allows the same target operation to be performed by the target virtual character. As shown in (a) of FIG. 4, assume that the constructed room includes a total of eight I-shaped cell structures, and the player wants to paste wallpaper into the eight I-shaped cell structures. In this case, each I-shaped cell structure means that the target virtual character is allowed to perform the same sticker operation. It is necessary to explain that the virtual objects and the number of virtual objects in the above game screen are merely exemplary and are not limited thereto. In the actual game scene, the virtual objects may also be plants, containers, or other objects in the game scene, etc. The first processing unit 1504 is used for displaying a batch execution button when some virtual objects in the set of virtual objects have target operations executed by a target virtual character and the number of the some virtual objects is equal to or greater than a predetermined number threshold, where the batch execution button is used for collectively executing the target operations on the remaining virtual objects other than the some virtual objects in the set of virtual objects. The second processing unit 1506 is used for collectively executing the target operation on the remaining virtual objects of the set of virtual objects in response to a trigger operation on the collective execution button.
[0096] Assume that the same steps as steps S11 to S13 are adopted, and when target operations are executed for some virtual objects of a set of virtual objects and the number of the some virtual objects is equal to or greater than a predetermined threshold, a batch execution button is displayed on the game screen. In this case, target operations can be executed collectively for some virtual objects of the set of virtual objects in response to a trigger operation on the batch execution button. Here, the number of remaining virtual objects is two or more.
[0097] To explain by way of example, assume that, as shown in FIG. 4, wood grain wallpaper 2 is selected as the target wallpaper from the wallpaper mall, and the threshold of the predetermined number of virtual objects for performing the target operation is 2. When performing sticker operations on I-shaped cell structure 1 and structure 2 shown in FIG. 4, respectively, by adopting the same method as in steps S11 to S13, the viewpoint of the target virtual character is aligned with I-shaped cell structure 3 by controlling the virtual swing rod. The number of times that steps S11 to S13 are repeatedly performed is two, which is equal to the threshold of the predetermined number, so that a batch execution button, for example, a "Sticker All" button as shown in FIG. 4 (b), is displayed on the game screen. Here, the "Sticker All" button is used to perform stickers on room structures 3 to 8 that are not pasted at once, and the number of some virtual objects is equal to the number of times that one sticker operation has already been performed.
[0098] By clicking the "Sticker All" button to perform a batch sticker operation on I-shaped cell structures 3 to 8, the sticker operation for the remaining room structures can be completed, reducing the need to repeatedly perform an operation flow similar to steps S11 to S13 above, saving operation time, and improving stickering efficiency.
[0099] It should be noted that the trigger operation for the batch execution button may be, but is not limited to, a single click, a double click, a drag operation, etc.
[0100] By applying the above device to a case where target operations have been performed by a target virtual character on some virtual objects in a game scene and the number of some virtual objects is equal to or greater than a predetermined threshold number, a batch execution button is displayed, and target operations can be performed on the remaining virtual objects in a batch in response to a trigger operation on the batch execution button, thereby reducing the number of times the player repeatedly performs target operations and saving operation time, thereby solving the problem in related technologies that is low in efficiency in the process of performing operations on virtual objects, and achieving the technical effect of improving the efficiency of operations on virtual objects.
[0101] Optionally, the first processing unit 1504: The device includes a first processing module that is used for displaying a batch execution button in response to a selection operation on one of the remaining virtual objects when some of the virtual objects in the set of virtual objects have had target operations performed by a target virtual character and the number of the some of the virtual objects is equal to or greater than a predetermined number threshold.
[0102] Optionally, the first processing module: and a first processing sub-module used to display a batch execution button in response to a selection operation on one virtual object among the remaining virtual objects, and to display a selected tag of each virtual object among the remaining virtual objects, where the selected tag of each virtual object among the remaining virtual objects indicates that the each virtual object among the remaining virtual objects has been selected.
[0103] Optionally, the first processing unit 1504: displaying a batch execution button when some virtual objects of the set of virtual objects have been subjected to target operations by a target virtual character, the target operations performed on each virtual object of the set of virtual objects are operations that are performed consecutively, and the number of the some virtual objects is equal to or greater than a threshold value of a predetermined number; or The device includes a second processing module for displaying a batch execution button when some of the virtual objects in the set of virtual objects have target operations executed by a target virtual character, the target operations executed on each of the virtual objects in the set of virtual objects are not operations executed consecutively but are operations executed within a predetermined time, and the number of the some of the virtual objects is equal to or greater than a predetermined number threshold.
[0104] Optionally, the second processing unit 1506: and a third processing module used for collectively pasting the virtual objects onto each of the remaining virtual objects in response to a trigger operation on the batch execution button when the target operation is used for pasting the virtual object onto the virtual object.
[0105] Optionally, the third processing module: When a target virtual object of the set of virtual objects is selected, in response to a trigger operation on a batch execution button, collectively pasting the target virtual object onto each virtual object of the remaining virtual objects, where the set of virtual objects includes a set of virtual objects that are permitted to be pasted onto the virtual object; and / or and a second processing sub-module for randomly selecting one or more virtual objects from the set of virtual objects in response to a trigger operation on a batch execution button when none of the virtual objects in the set of virtual objects is selected, and collectively pasting the randomly selected one or more virtual objects onto each virtual object among the remaining virtual objects, wherein the virtual object pasted onto each virtual object among the remaining virtual objects is one virtual object among the randomly selected one or more virtual objects.
[0106] Optionally, the second processing unit 1506: When the target operation is used to remove a virtual object pasted on the virtual object, a fourth processing module is included which is used to remove the virtual object pasted on each of the remaining virtual objects in response to a trigger operation on the batch execution button.
[0107] Optionally, the second processing unit 1506: If the target operation is used to move a virtual object to a target area, in response to a trigger operation on the batch execution button, moving each virtual object among the remaining virtual objects to the target area; or and a fifth processing module that is used for moving each virtual object among the remaining virtual objects into the target virtual container in response to a trigger operation on the batch execution button when the target operation is used for moving the virtual objects into the target virtual container.
[0108] Optionally, the second processing unit 1506: The game scene includes a first virtual object set and a second virtual object set, where the object types of the virtual objects in the first virtual object set are all of a first type and the object types of the virtual objects in the second virtual object set are all of a second type different from the first type, and when a set of virtual objects are virtual objects in the first virtual object set for which a target operation has not yet been performed, the game scene includes a sixth processing module used for collectively performing a target operation on only the remaining virtual objects.
[0109] Optionally, the device comprises: a second display unit used for displaying an extended execution button after collectively executing a target operation on remaining virtual objects of the set of virtual objects, where the extended execution button is used for collectively executing a target operation on virtual objects in the second virtual object set on which a target operation has not yet been executed; and The virtual object control device further includes a third processing unit adapted to collectively execute the target operation on the virtual objects in the second virtual object set on which the target operation has not yet been executed in response to a trigger operation on the extended execution button.
[0110] By applying the above device to a case where target operations have been performed by a target virtual character on some virtual objects in a game scene and the number of some virtual objects is equal to or greater than a predetermined threshold number, a batch execution button is displayed, and target operations can be performed on the remaining virtual objects in a batch in response to a trigger operation on the batch execution button, thereby reducing the number of times the player needs to repeatedly perform target operations and saving operation time, thereby solving the technical problem in related technologies that the efficiency of performing operations on virtual objects is low, and achieving the technical effect of improving the efficiency of operations on virtual objects.
[0111] It is necessary to note that the embodiment of the target operation batch execution device herein may refer to the embodiment of the target operation batch execution method described above, and the description will not be repeated here.
[0112] According to a further aspect of the embodiment of the present application, there is further provided an electronic device for implementing the above-mentioned batch execution method of target operations, and the electronic device may be a terminal device as shown in Fig. 16. In this embodiment, the electronic device is illustrated as a background device. As shown in Fig. 16, the electronic device includes a memory 1602 and a processor 1604, a computer program is stored in the memory 1602, and the processor 1604 is configured to execute the steps of the method embodiment described in any one of the above by the computer program.
[0113] Optionally, in this embodiment, the electronic device may be located on at least one network device of a plurality of network devices of a computer network. Optionally, in this embodiment, the processor is configured to: displaying a game screen of a target virtual character, where a game scene in which the target virtual character is located includes a set of virtual objects, each virtual object in the set of virtual objects allowing the same target operation to be performed by the target virtual character; When a target operation is performed by a target virtual character on each of some virtual objects among the set of virtual objects and the number of the some virtual objects is equal to or greater than a predetermined number threshold, a batch execution button is displayed (S2), where the batch execution button is used to batch execute the target operation on the remaining virtual objects other than the some virtual objects among the set of virtual objects (S2); In response to a trigger operation on the batch execution button, execute S3 the target operation collectively on the remaining virtual objects of the set of virtual objects.
[0114] Optionally, as can be understood by those skilled in the art, the structure shown in FIG. 16 is merely exemplary, and the electronic device or electronic equipment may be a target terminal such as a smartphone (e.g., Android mobile phone, iOS mobile phone, etc.), a tablet computer, a pocket computer, and a mobile Internet device (Mobile Internet Devices, MID, PAD, etc.). FIG. 16 does not limit the structure of the electronic device or electronic equipment. For example, the electronic device or electronic equipment may include more or less assemblies (e.g., network interfaces, etc.) than those shown in FIG. 16, or may have a different arrangement than those shown in FIG. 16.
[0115] Here, the memory 1602 may be used to store software programs and modules, such as program instructions / modules corresponding to the batch execution method and device of the target operations in the embodiments of the present application, and the processor 1604 executes various functional applications and data processing by operating the software programs and modules stored in the memory 1602, i.e., realizing the batch execution method of the target operations. The memory 1602 may include a high-speed random access memory, and may further include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some embodiments, the memory 1602 may further include memories installed remotely with respect to the processor 1604, and these remote memories may be connected to the terminal by a network. Examples of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof. Here, the memory 1602 may be specifically used to store, but is not limited to, a predetermined number of thresholds, game screens, etc. 16, the memory 1602 may include, but is not limited to, a first display unit 1502, a first processing unit 1504, and a second processing unit 1506 in the target operation batch execution device. In addition, the memory 1602 may include, but is not limited to, other modules and units in the target operation batch execution device, which will not be described repeatedly in this example.
[0116] Optionally, the transmission device 1606 is used to receive or transmit data via a network. Specific examples of the network may include a wired network and a wireless network. In one example, the transmission device 1606 includes a network adapter (Network Interface Controller, NIC), which is connected to a router by a network cable and other network devices, so as to communicate with the Internet or a local area network. In one example, the transmission device 1606 is a Radio Frequency (RF) module, which is used to communicate with the Internet in a wireless manner.
[0117] Furthermore, the electronic device further includes a display 1608 used to display directional presentation information of the target sound, and a connection bus 1610 used to connect each modular component of the electronic device.
[0118] In another embodiment, the target terminal or server may be a node of a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the multiple nodes through a form of network communication. Here, the nodes may form a peer-to-peer (P2P) network, any form of computing device, and any electronic device such as a server or a terminal can become a node of the blockchain system by joining the peer-to-peer network.
[0119] According to one aspect of the present application, there is provided a computer program product or computer program, the computer program product or computer program comprising computer instructions, the computer instructions being stored in a computer readable storage medium, a processor of a computing device reading the computer instructions from the computer readable storage medium, the processor executing the computer instructions to cause the computing device to perform a method for batch execution of target operations provided in various selectable realization manners, such as the server verification process, where the computer program, when run, is configured to perform the steps of any one of the method embodiments described above.
[0120] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program used to execute the following steps: S1: Display a game screen of a target virtual character, where a game scene in which the target virtual character is located includes a set of virtual objects, and each virtual object in the set of virtual objects all allows the same target operation to be performed by the target virtual character. S2: When some of the virtual objects in the set of virtual objects have had target operations performed by a target virtual character, and the number of the some virtual objects is equal to or greater than a predetermined number threshold, a batch execution button is displayed, where the batch execution button is used to batch execute the target operations on the remaining virtual objects other than the some virtual objects in the set of virtual objects. S3: In response to a trigger operation on the batch execution button, a target operation is collectively executed on the remaining virtual objects of the set of virtual objects.
[0121] Optionally, in this embodiment, as can be understood by those skilled in the art, all or some of the steps in the various methods of the above embodiments can be completed by instructing hardware related to the target terminal by a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0122] The numbers of the above examples of the present application are merely for descriptive purposes and do not represent superiority or inferiority of the examples.
[0123] The integrated units in the above embodiments may be realized in the form of a software functional unit, and may be stored in the above computer-readable storage medium if sold or used as an independent product. Based on this understanding, the technical solution of the present invention may be essentially or partly contributed to the prior art, or the whole or part of the technical solution may be embodied in the form of a software product, and the computer software product is stored in a storage medium and includes a plurality of instructions to cause one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute the whole or part of the steps of the method of each embodiment of the present invention. In the above embodiments of the present invention, the descriptions of each embodiment are weighted, and for parts of an embodiment that are not described in detail, reference may be made to the relevant descriptions of other embodiments.
[0124] It should be understood that in some embodiments provided in the present application, the displayed client terminal may also be realized in other ways. Here, the above-described device embodiments are merely illustrative, and for example, the division of units is merely a division of logical functions, and may have other division methods when actually realized. For example, multiple units or assemblies may be combined or integrated into other systems, or some features may be ignored or not implemented. Also, the coupling, direct coupling, and communication connection between what is shown or discussed may be an indirect coupling or communication connection of some interfaces, units, or modules, and may be electrical or other forms.
[0125] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in the same place or distributed among multiple network units. The objective of the solution of the present embodiment can be achieved by selecting some or all of the units according to actual needs. In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically independently, and two or more units may be integrated into one unit. The integrated units may be realized in the form of hardware or in the form of a software functional unit.
[0126] The above is merely a preferred embodiment of the present invention, and it should be noted that those skilled in the art may further make some improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. 1. A method for batch execution of target operations, comprising: displaying a game screen of a target virtual character, where a game scene in which the target virtual character is located includes a set of virtual objects, each virtual object in the set of virtual objects allowing the same target operation to be performed by the target virtual character; a step of displaying a batch execution button when the target operation is executed by the target virtual character for each of some virtual objects of the set of virtual objects and the number of the some virtual objects is equal to or greater than a predetermined number threshold, the batch execution button being used to collectively execute the target operation for the remaining virtual objects other than the some virtual objects of the set of virtual objects; and in response to a trigger operation on the batch execution button, collectively executing the target operations on the remaining virtual objects of the set of virtual objects.
2. When the target operation is performed by the target virtual character on some virtual objects among the set of virtual objects, and the number of the some virtual objects is equal to or greater than a predetermined number threshold, the step of displaying a batch execution button includes:
2. The method according to claim 1, further comprising: displaying the batch execution button in response to a selection operation on one of the remaining virtual objects when the target operation is being executed by the target virtual character on each of the part of virtual objects of the set of virtual objects and the number of the part of virtual objects is equal to or greater than the predetermined number threshold.
3. The step of displaying the batch execution button in response to a selection operation on one virtual object among the remaining virtual objects includes:
3. The method of claim 2, further comprising the step of: displaying the batch execution button and displaying a selected tag of each virtual object among the remaining virtual objects in response to a selection operation on the one virtual object among the remaining virtual objects, wherein the selected tag of each virtual object among the remaining virtual objects indicates that the each virtual object among the remaining virtual objects has been selected.
4. When the target operation is performed by the target virtual character on some virtual objects among the set of virtual objects, and the number of the some virtual objects is equal to or greater than a predetermined number threshold, the step of displaying a batch execution button includes: displaying the batch execution button when the target operations are being executed by the target virtual character on the part of virtual objects of the set of virtual objects, the target operations executed on the respective virtual objects of the part of virtual objects are operations that are executed consecutively, and the number of the part of virtual objects is equal to or greater than the predetermined number threshold; or 2. The method of claim 1, further comprising: displaying the batch execution button when the target operations are respectively performed by the target virtual character on the some virtual objects of the set of virtual objects, the target operations performed on each virtual object of the some virtual objects are not operations performed consecutively but are operations performed within a predetermined time, and a number of the some virtual objects is equal to or greater than the predetermined number threshold.
5. The step of collectively executing the target operation on the remaining virtual objects of the set of virtual objects in response to a trigger operation on the collective execution button includes: The method according to any one of claims 1 to 4, further comprising, when the target operation is used to paste a virtual object onto the virtual object, a step of collectively pasting the virtual object onto each of the remaining virtual objects in response to a trigger operation on the batch execution button.
6. When the target operation is used for pasting a virtual object onto a virtual object, the step of collectively pasting the virtual object onto each of the remaining virtual objects in response to a trigger operation on the collective execution button includes: When a target virtual object of a set of virtual objects is selected, in response to a trigger operation on the batch execution button, collectively pasting the target virtual object onto each of the remaining virtual objects, the set of virtual objects including a set of virtual objects permitted to be pasted onto the virtual object; and / or 6. The method according to claim 5, further comprising: a step of randomly selecting one or more virtual objects from the set of virtual objects in response to a trigger operation on the batch execution button when none of the virtual objects from the set of virtual objects is selected, and collectively pasting the randomly selected one or more virtual objects onto each virtual object from the remaining virtual objects, wherein the virtual object pasted onto each virtual object from the remaining virtual objects is one virtual object from the randomly selected one or more virtual objects.
7. The step of collectively executing the target operation on the remaining virtual objects of the set of virtual objects in response to a trigger operation on the collective execution button includes: The method according to any one of claims 1 to 4, further comprising a step of removing the virtual objects pasted on each of the remaining virtual objects in response to a trigger operation on the batch execution button, when the target operation is used to remove a virtual object pasted on the virtual object.
8. The step of collectively executing the target operation on the remaining virtual objects of the set of virtual objects in response to a trigger operation on the collective execution button includes: if the target operation is used to move a virtual object to a target area, in response to a trigger operation on the batch execution button, moving each virtual object among the remaining virtual objects to the target area; or 2. The method of claim 1, wherein when the target operation is used to move the virtual object into a target virtual container, the method includes a step of moving each virtual object among the remaining virtual objects into the target virtual container in response to a trigger operation on the batch execution button.
9. The step of collectively executing the target operation on the remaining virtual objects of the set of virtual objects in response to a trigger operation on the collective execution button includes: The method according to any one of claims 1 to 8, characterized in that the game scene includes a first virtual object set and a second virtual object set, each virtual object in the first virtual object set has an object type of a first type, each virtual object in the second virtual object set has an object type of a second type different from the first type, and when the set of virtual objects are virtual objects in the first virtual object set for which the target operation has not yet been performed, the method further comprises a step of collectively performing the target operation on only the remaining virtual objects.
10. The method comprises: displaying an augmented execution button after collectively executing the target operation on the remaining virtual objects of the set of virtual objects, the augmented execution button being used to collectively execute the target operation on virtual objects of the second virtual object set on which the target operation has not yet been executed; 10. The method according to claim 9, further comprising: in response to a trigger operation on the extended execution button, executing the target operation collectively on virtual objects in the second virtual object set on which the target operation has not yet been executed.
11. A batch execution device for target operations, comprising: A first display unit used for displaying a game screen of a target virtual character, wherein a game scene in which the target virtual character exists includes a set of virtual objects, each virtual object in the set of virtual objects allowing the same target operation to be performed by the target virtual character; a first processing unit that is used for displaying a batch execution button when the target operations are respectively executed by the target virtual character on some virtual objects of the set of virtual objects and the number of the some virtual objects is equal to or greater than a predetermined number threshold, the batch execution button being used for collectively executing the target operations on remaining virtual objects other than the some virtual objects of the set of virtual objects; a second processing unit used for collectively executing the target operations on the remaining virtual objects of the set of virtual objects in response to a trigger operation on the batch execution button.
12. The first processing unit is 12. The device of claim 11, further comprising: a first processing module adapted to display the batch execution button in response to a selection operation on one of the remaining virtual objects when the target operation is being performed by the target virtual character on each of the part of virtual objects of the set of virtual objects and the number of the part of virtual objects is equal to or greater than the predetermined number threshold.
13. 11. A computer-readable storage medium, comprising a program stored thereon, the program being capable of executing the method according to any one of claims 1 to 10 when run by a terminal device or a computer.
14. A computer program product comprising computer programs / instructions which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 10.
15. 11. An electronic device comprising: a memory; and a processor, wherein a computer program is stored in the memory, and wherein the processor is configured by the computer program to execute a method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Interaction function implementation method, device and equipment and storage medium
CN111589151A
Virtual encounters
US20050143172A1