Methods, devices, equipment, media, and products for changing virtual items

By directly disassembling and assembling virtual items on the graphical user interface of turn-based chess games, the problem of cumbersome equipment changes between virtual chess pieces is solved, improving operational efficiency and flexibility.

CN122076031APending Publication Date: 2026-05-26NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NETEASE (HANGZHOU) NETWORK CO LTD
Filing Date
2026-03-23
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

In turn-based chess games, changing equipment between virtual pieces is cumbersome and inefficient.

Method used

A method for changing virtual items is provided, which directly transfers the target virtual item of the first virtual piece to the second virtual piece by responding to the player's equipment disassembly and assembly operations on the graphical user interface, thus simplifying the operation process.

Benefits of technology

It improves the efficiency of changing equipment between virtual chess pieces, reduces reliance on the equipment slot, and meets players' diverse equipment needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122076031A_ABST
    Figure CN122076031A_ABST
Patent Text Reader

Abstract

This application relates to the field of computer technology and discloses a method, apparatus, device, medium, and product for replacing virtual items. The method includes: displaying a virtual chessboard in a graphical user interface; the virtual chessboard includes a first virtual chess piece and a second virtual chess piece controlled by a first game account; responding to a first equipment disassembly operation on the first virtual chess piece, using the virtual items equipped on the first virtual chess piece as target virtual items to be replaced; responding to a first assembly operation on the second virtual chess piece, if the first assembly operation meets a first operation condition, equipping each target virtual item to the second virtual chess piece, and if the first assembly operation meets a second operation condition, equipping the first target virtual item corresponding to the second operation condition to the second virtual chess piece. This application only requires the player to continuously input the first equipment disassembly operation and the first assembly operation, which can improve the efficiency of virtual chess piece transfer operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, specifically to methods, apparatus, equipment, media, and products for changing virtual props. Background Technology

[0002] Turn-based board games combine strategic planning with board-style combat gameplay. Players place one or more virtual pieces on a gridded virtual board and compete against each other's virtual pieces by taking turns. These games often feature an equipment system, where players can equip their virtual pieces with virtual items to enhance their combat abilities.

[0003] Players can control multiple virtual pieces simultaneously, but the number of equipment pieces is limited. In such cases, it might be necessary to transfer equipment from one virtual piece A to another virtual piece B. This requires first removing the virtual equipment from virtual piece A and moving it to the equipment slot, then equipping the remaining equipment to virtual piece B one by one. This process is cumbersome and inefficient. Summary of the Invention

[0004] In view of this, this application provides a method, apparatus, device, medium and product for changing virtual items, so as to solve the problem of low operation efficiency when changing equipment between virtual chess pieces.

[0005] Firstly, this application provides a method for changing virtual items, the method comprising:

[0006] A virtual chessboard is displayed in a graphical user interface; the virtual chessboard includes a first virtual chess piece and a second virtual chess piece controlled by a first game account; In response to the first equipment removal operation for the first virtual chess piece, the virtual item equipped on the first virtual chess piece is taken as the target virtual item to be replaced. In response to a first assembly operation for the second virtual chess piece, if the first assembly operation satisfies a first operation condition, each of the target virtual items is equipped to the second virtual chess piece; if the first assembly operation satisfies a second operation condition, the first target virtual item corresponding to the second operation condition is assembled to the second virtual chess piece.

[0007] Secondly, this application provides a device for changing virtual items, the device comprising: A display module is used to display a virtual chessboard in a graphical user interface; the virtual chessboard includes a first virtual chess piece and a second virtual chess piece controlled by a first game account; The disassembly module is used to respond to a first equipment disassembly operation on the first virtual chess piece and to take the virtual prop equipped on the first virtual chess piece as the target virtual prop to be replaced. The processing module is configured to respond to a first assembly operation for the second virtual chess piece, and, if the first assembly operation satisfies a first operation condition, equip each of the target virtual items to the second virtual chess piece, and if the first assembly operation satisfies a second operation condition, equip the first target virtual item corresponding to the second operation condition to the second virtual chess piece.

[0008] Thirdly, this application provides an electronic device, including: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the virtual prop replacement method of the first aspect or any corresponding embodiment described above.

[0009] Fourthly, this application provides a computer-readable storage medium storing computer instructions for causing a computer to execute the virtual prop replacement method of the first aspect or any corresponding embodiment described above.

[0010] Fifthly, this application provides a computer program product, including computer instructions for causing a computer to execute the virtual prop replacement method of the first aspect or any corresponding embodiment described above.

[0011] The virtual item replacement method provided in this application allows players to initiate a first equipment disassembly operation on the first virtual piece to identify the target virtual item when transferring virtual items between virtual pieces. Then, by using a first equipment assembly operation on the second virtual piece, the target virtual item can be transferred from the first to the second virtual piece. This method only requires the player to input the first equipment disassembly and assembly operations; it eliminates the need to search for virtual items in the equipment inventory or equip them sequentially to virtual pieces, thus improving the efficiency of virtual piece transfer operations. Furthermore, based on the operational conditions met by the first assembly operation, some or all of the target virtual items can be adaptively equipped to the second virtual piece, satisfying various equipment needs of players. Attached Figure Description

[0012] To more clearly illustrate the technical solutions in the specific embodiments of this application or the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0013] Figure 1 This is a schematic diagram illustrating an application scenario according to an embodiment of this application; Figure 2 This is a schematic flowchart of a first method for changing virtual props according to an embodiment of this application; Figure 3 This is a schematic diagram of a turn-based chess game interface according to an embodiment of this application; Figure 4 This is a schematic diagram illustrating an operation for changing virtual equipment according to an embodiment of this application; Figure 5 This is a schematic diagram of a second method for changing virtual props according to an embodiment of this application; Figure 6 This is a schematic diagram illustrating one display method of the first reading bar control according to an embodiment of this application; Figure 7 This is a schematic diagram illustrating another display method of the first reading bar control according to an embodiment of this application; Figure 8 This is a partial schematic diagram of the equipment disassembly operation according to an embodiment of this application; Figure 9 This is a schematic diagram illustrating one display method of the second reading bar control according to an embodiment of this application; Figure 10 This is a schematic diagram illustrating another display method of the second reading bar control according to an embodiment of this application; Figure 11 This is a schematic diagram of a second drag operation according to an embodiment of this application; Figure 12 This is a schematic diagram illustrating one display method of the third reading bar control according to an embodiment of this application; Figure 13 This is a structural block diagram of a virtual prop changing device according to an embodiment of this application; Figure 14 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0014] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

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

[0016] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.

[0017] Before providing a detailed description of the embodiments of this application, some of the terms and concepts involved in the embodiments of this application will be explained. These explanations are intended to make the embodiments of this application easier to understand and should not be considered as limiting the scope of protection claimed in this application.

[0018] (1) Graphical User Interface (GUI) refers to a user interface that uses graphics to display operations. When players run the application corresponding to the game product on their terminal devices, they can view visual elements related to the game product based on the graphical user interface.

[0019] (2) Virtual chess pieces: refers to virtual objects placed on the chessboard in turn-based chess games. Players can play against other players by manipulating the virtual chess pieces on the chessboard.

[0020] (3) Equipment Remover: Used on a virtual chess piece, it can remove all of its equipment. Equipment Removers are generally consumables, meaning they disappear after use or have a limited number of uses.

[0021] When playing turn-based chess games like Auto Chess, players often need to switch equipment between different virtual pieces. For example, different virtual pieces may have different prices. Early on, players mainly use low-cost pieces (i.e., cheaper virtual pieces). Later, after purchasing higher-cost pieces, players need to transfer the equipment from the lower-cost pieces to the higher-cost pieces. This usually involves selling the equipped virtual piece A and then equipping the dropped equipment on another virtual piece B.

[0022] Alternatively, one could use the in-game equipment dismantling tool to remove equipment from virtual piece A and move it to the equipment slot, then transfer the equipment from the slot to virtual piece B. However, this method is inconvenient, cumbersome, and inefficient.

[0023] As one optional application scenario in the embodiments of this application, such as Figure 1 As shown, application 101 is installed in terminal device 110, and user 130 can interact with application 101 through terminal device 110 and / or access device of terminal device 110.

[0024] For example, application 101 can be any application, including game applications. For instance, application 101 could be a turn-based board game application, such as an auto-chess game application. Figure 1 In the application scenario shown, if application 101 is active, the terminal device 110 can display the interface 102 of application 101. The interface 102 may include various pages that application 101 can provide, such as interactive pages, settings pages, query pages, etc.

[0025] In some embodiments, terminal device 110 is communicatively connected to server 120 to provide services to application 101. Terminal device 110 may be a mobile terminal, fixed terminal, or portable terminal, including but not limited to mobile phones, desktop computers, laptop computers, multimedia tablets, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, terminal device 110 may also support any type of interface, and server 120 may be various types of computing systems or servers capable of providing computing power, including but not limited to mainframes, edge computing nodes, and computing devices in cloud environments.

[0026] It should be noted that, Figure 1 This is merely an example of an application scenario and does not limit the scope of protection of this application.

[0027] The embodiments of this application will be described below with reference to the accompanying drawings. It should be understood that the pages shown in the drawings are merely examples, and various page designs are possible in practice. The various graphic elements on the page may have different arrangements and different visual representations, one or more elements may be omitted or replaced, and one or more other elements may also be present; no limitations are imposed on the embodiments of this application. Furthermore, the embodiments are primarily described below with reference to terminal device 110. It should be understood that the actions described relative to terminal device 110 can be performed by application 101 on terminal device 110, or can be performed by application 101 in conjunction with its server (e.g., server 120).

[0028] This application provides a method for changing virtual items. When transferring virtual items between virtual chess pieces, the player can trigger an equipment disassembly operation on the first virtual chess piece to identify the target virtual item to be replaced. Based on this equipment disassembly operation, a first drag operation is then performed on the second virtual chess piece, thus transferring the target virtual item from the first virtual chess piece to the second. This method only requires the player to input the equipment disassembly operation and the first drag operation consecutively in one go; it eliminates the need to search for virtual items in the equipment inventory or equip virtual items to virtual chess pieces sequentially, thereby improving the efficiency of virtual chess piece transfer operations.

[0029] According to an embodiment of this application, a method for replacing virtual props is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0030] This embodiment provides a method for changing virtual items, which can be used on the aforementioned terminal devices, such as mobile terminals like mobile phones and tablets. Figure 2 This is a flowchart of a method for changing virtual props according to an embodiment of this application, such as... Figure 2 As shown, the process includes the following steps.

[0031] Step S201: Display a virtual chessboard in the graphical user interface; the virtual chessboard includes a first virtual chess piece and a second virtual chess piece controlled by the first game account.

[0032] In this embodiment, when a player controls a terminal device to run a turn-based chess game application, relevant game elements can be displayed in the graphical user interface (GUI), including a virtual chessboard required for the battle. This virtual chessboard is an area used for preparing for or conducting the battle; it can be a two-dimensional, three-dimensional, or other type, depending on the specific circumstances.

[0033] Players can log in to their game accounts and control one or more virtual chess pieces, which can be displayed in corresponding positions on the virtual chessboard. Since this embodiment involves changing equipment between virtual chess pieces, the player controls at least two virtual chess pieces. For ease of description, the game account the player logs in to is referred to as the first game account (or the target game account), and the two virtual chess pieces controlled by the player are referred to as the first virtual chess piece and the second virtual chess piece, respectively. It is understood that the player can control more virtual chess pieces; for example, the virtual chessboard may also include a third virtual chess piece controlled by the player.

[0034] The virtual chessboard can include a battle area and a preparation area. Player-controlled virtual pieces can be placed in either the battle area or the preparation area.

[0035] Figure 3 This diagram illustrates a possible interface for a turn-based board game. Figure 3 As shown, the virtual chessboard includes a battle area 301 and a preparation area 302; wherein, the battle area 301 includes several squares arranged according to rules ( Figure 3 The virtual chessboard uses hexagonal grids to represent chess pieces, which are used to place virtual pieces for combat during the game; the virtual chessboard may also not have specific chess pieces. The preparation area 302 includes several candidate positions (…). Figure 3 The candidate position is represented by a quadrilateral (in the center) and used to place the candidate virtual piece.

[0036] The virtual chessboard can hold multiple virtual chess pieces controlled by the player at corresponding positions, such as... Figure 3 As shown, the virtual chessboard includes a first virtual chess piece 303, a second virtual chess piece 304, a third virtual chess piece 305, etc.; and the virtual chessboard will also display virtual chess pieces controlled by other players through other game accounts (such as a second game account), such as virtual chess piece 306, etc.

[0037] Furthermore, the graphical user interface typically displays an equipment slot 310, which is used to display virtual items (also known as virtual equipment) available to the player. For example... Figure 3 As shown, the equipment slot 310 includes an equipment remover 311 for removing equipment from virtual chess pieces, as well as virtual items 312 and virtual items 313 that can be equipped to virtual chess pieces.

[0038] In the relevant equipment replacement scheme, if it is necessary to replace the virtual item of the first virtual chess piece 303 with the virtual item of the second virtual chess piece 304, the virtual item of the first virtual chess piece 303 needs to be removed into the equipment slot 310 using the equipment removal device 311, and then the virtual item in the equipment slot 310 needs to be equipped to the second virtual chess piece 304, which is a cumbersome operation.

[0039] In step S202, in response to the first equipment removal operation for the first virtual chess piece, the virtual item equipped on the first virtual chess piece is taken as the target virtual item to be replaced.

[0040] In this embodiment, the first virtual chess piece may be equipped with one or more virtual items. Here, virtual items refer to virtual equipment that can be equipped by the virtual chess piece and can increase the combat power of the virtual chess piece; to distinguish it from the action of "equipping", virtual items refer to the "virtual equipment" that the virtual chess piece can use.

[0041] When a player needs to transfer virtual items (i.e., virtual equipment) from the first virtual piece to the second virtual piece, they can initiate an equipment removal operation on the first virtual piece, i.e., the first equipment removal operation.

[0042] The first equipment disassembly operation can be used to set the virtual items equipped on the first virtual chess piece to a pending replacement state, without actually removing the virtual items from the equipment slot. For example, the first equipment disassembly operation includes a long press. For instance, the player can initiate the first equipment disassembly operation by long-pressing the first virtual chess piece. Alternatively, if an equipment disassembly tool is needed to disassemble the virtual items already equipped on the virtual chess piece, the first equipment disassembly operation can be initiated using that tool.

[0043] If a first equipment removal operation targeting the first virtual piece is detected, then the various virtual items equipped on the first virtual piece can be identified, and some or all of the virtual items can be used as items to be replaced to other virtual pieces, i.e., target virtual items.

[0044] If the first virtual piece is not equipped with any virtual items, the operation fails, and a corresponding reminder message can be triggered.

[0045] Optionally, the first equipment disassembly operation is an operation of dragging from a first position to a second position and holding the device in the second position in a pressed state. One of the first and second positions corresponds to the position of the first virtual piece, and the other corresponds to the position of the equipment disassembly device in the equipment inventory.

[0046] Figure 4 This diagram illustrates one method of changing virtual equipment. Figure 4 The upper part illustrates one implementation of the first equipment disassembly operation; where, for the sake of showing more details in the diagram, A, B, and C are subsequently used to represent the first, second, and third virtual pieces controlled by the same player, respectively. For example... Figure 4As shown, when it is necessary to transfer virtual items on the first virtual piece A (for example, to the second virtual piece B), the player can press the corresponding position of the equipment remover 311 in the equipment bar 310 to perform a drag operation (i.e. a slide operation) and slide it to the position corresponding to the first virtual piece A.

[0047] It can be understood that the first position corresponds to the position of the equipment remover in the equipment slot, and the second position corresponds to the position of the first virtual piece. Of course, the two can be interchanged, that is, the first equipment removal operation can also be a drag operation from the first virtual piece A to the equipment remover 311. To avoid accidental operation, the first equipment removal operation is generally a drag from the equipment remover 311 to the first virtual piece A.

[0048] Each virtual chess piece corresponds to a specific response area. If a piece is dragged into the response area corresponding to the first virtual chess piece A, it can be considered that the user has initiated the first equipment disassembly operation.

[0049] Furthermore, after dragging to the second position, for example, after dragging to the position of the first virtual chess piece A, the player keeps pressing in the second position, that is, the player's finger does not stop operating and continues to press the second position. At this time, the process of pressing the second position is the long press operation in the first equipment disassembly operation.

[0050] It is understood that the above operations can also be achieved using input devices such as a mouse. The same drag operation can also be achieved by moving the mouse cursor. This embodiment does not limit the input device. The following description will mainly take the user's finger operation of the touch device as an example.

[0051] Step S203: In response to the first assembly operation for the second virtual chess piece, if the first assembly operation satisfies the first operation condition, equip each target virtual item to the second virtual chess piece; if the first assembly operation satisfies the second operation condition, equip the first target virtual item corresponding to the second operation condition to the second virtual chess piece.

[0052] In this embodiment, after the player completes the first equipment disassembly operation, they can continue to perform the operation of assembling the target virtual item to other virtual pieces (such as the second virtual piece), which is the first assembly operation.

[0053] Optionally, the first assembly operation is a first drag operation that starts from the end position of the first equipment disassembly operation, and the end position of the first drag operation corresponds to the position of the second virtual piece.

[0054] Specifically, after performing the first equipment disassembly operation, the player can continue to drag, that is, continue to trigger the drag operation from the press position of the long press operation, which is the first drag operation; the first drag operation is a continuous operation with the first equipment disassembly operation, that is, after the player triggers the long press operation, the first drag operation can be triggered from the press position of the long press operation; in other words, during the process of the user performing the first equipment disassembly operation and the first drag operation, the user's finger can always be in contact with the touch device.

[0055] The terminal device can detect the end position corresponding to the first drag operation. It can be understood that the end position can be the position where the first drag operation stops, or the position where the first drag operation stops, that is, the position corresponding to when the user's finger leaves the touch device.

[0056] If the end position of the first drag operation corresponds to the position of the second virtual piece, then the first drag operation can be considered as a drag operation from the first virtual piece to the second virtual piece. That is, the operation is the first assembly operation for the second virtual piece. Therefore, the target virtual item of the first virtual piece can be equipped to the second virtual piece to realize the replacement and transfer of virtual items.

[0057] See also Figure 4 , Figure 4 The lower half describes one implementation method for the first drag operation; for example... Figure 4 As shown, after the player performs the first equipment dismantling operation from the equipment dismantler 311 to the first virtual chess piece A, they can continue to perform the first drag operation from the first virtual chess piece A to the second virtual chess piece B, thereby transferring some or all of the virtual items of the first virtual chess piece A to the second virtual chess piece B, which can improve the combat power of the second virtual chess piece B.

[0058] Based on the specific execution method of the first assembly operation, it can be determined which preset operation condition it meets. In this embodiment, a first operation condition and a second operation condition are preset. The first operation condition is to equip the second virtual chess piece with all virtual items, and the second operation condition is to selectively equip the second virtual chess piece with some virtual items. The specific content of the first and second operation conditions can be determined based on actual needs.

[0059] For example, the first and second operation conditions can be distinguished based on the pressure applied during the first assembly operation. Alternatively, the second virtual piece can display icons corresponding to the target virtual items to be equipped (multiple selections supported), and can also display icons representing all target virtual items; if the user clicks the icon representing all target virtual items, the first assembly operation triggered at this time meets the first operation condition; if the user clicks the icon corresponding to one or more target virtual items, it means that the first assembly operation triggered at this time meets the second operation condition.

[0060] The virtual item replacement method provided in this embodiment allows players to transfer virtual items between virtual pieces. Players can trigger a first equipment disassembly operation on the first virtual piece to identify the target virtual item to be replaced. Then, a first equipment assembly operation on the second virtual piece transfers the target virtual item from the first to the second. This method only requires players to input the first equipment disassembly and assembly operations; it eliminates the need to search for virtual items in the equipment inventory or equip them sequentially to virtual pieces, thus improving the efficiency of virtual piece transfer operations. Furthermore, based on the operational conditions met by the first assembly operation, some or all of the target virtual items can be adaptively equipped to the second virtual piece, satisfying various equipment needs of players.

[0061] This embodiment provides a method for changing virtual items, which can be used on the aforementioned terminal devices, such as mobile terminals like mobile phones and tablets. Figure 5 This is a flowchart of a method for changing virtual props according to an embodiment of this application, such as... Figure 5 As shown, the process includes the following steps.

[0062] Step S501: Display a virtual chessboard in the graphical user interface; the virtual chessboard includes a first virtual chess piece and a second virtual chess piece controlled by the first game account.

[0063] Please see details Figure 2 Step S201 of the illustrated embodiment will not be described again here.

[0064] In step S502, in response to the first equipment removal operation for the first virtual chess piece, the virtual item equipped on the first virtual chess piece is taken as the target virtual item to be replaced.

[0065] Please see details Figure 2 Step S202 of the illustrated embodiment will not be described again here.

[0066] In some alternative implementations, the first equipment disassembly operation satisfies a third operational condition. Furthermore, the method may also include: in response to a second equipment disassembly operation on the first virtual chess piece, disassembling each virtual item equipped on the first virtual chess piece to the equipment slot; the second equipment disassembly operation satisfying a fourth operational condition.

[0067] In this embodiment, after a player inputs an equipment dismantling operation, it can be determined which operation condition it meets, thus classifying the dismantling operation as either the first or second equipment dismantling operation. The first equipment dismantling operation is used to quickly switch virtual items between virtual pieces, while the second equipment dismantling operation is only used to dismantle virtual items from the first virtual piece; that is, it removes all virtual items equipped on the first virtual piece and places them in the equipment slot. For ease of description, the operation condition satisfied by the first equipment dismantling operation is referred to as the third operation condition, and the operation condition satisfied by the second equipment dismantling operation is referred to as the fourth operation condition.

[0068] Optionally, the third operation condition includes: the first equipment disassembly operation includes a long press operation, and the first press duration of the first equipment disassembly operation is greater than a first preset duration. Correspondingly, the fourth operation condition may include: the second equipment disassembly operation is a click operation; or, the second equipment disassembly operation includes a long press operation, and the press duration of the second equipment disassembly operation is less than the first preset duration.

[0069] Specifically, step S502, "in response to the first equipment disassembly operation for the first virtual chess piece, the virtual item equipped on the first virtual chess piece is taken as the target virtual item to be replaced," may include steps a1 to a2.

[0070] Step a1, in response to an equipment disassembly operation for the first virtual piece that includes a long press operation, determine the first press duration.

[0071] Step a2: If the first pressing duration is longer than the first preset duration, determine that this operation is the first equipment disassembly operation, and take the virtual prop of the first virtual chess piece as the target virtual prop to be replaced.

[0072] As shown above, the disassembly operation of this equipment includes a long press operation. At this point, the duration of the pressing process corresponding to the long press operation in the disassembly operation can be further determined, i.e., the first press duration. Figure 4 Taking the equipment disassembly operation shown as an example, after moving to the position corresponding to the first virtual piece A, the pressing process begins, and the timing can start at this time. The timing duration is the first pressing duration.

[0073] Furthermore, a certain time threshold is preset, namely the first preset time, such as 1 second. If the first press duration is longer than the first preset time, it means that the player has stayed at the position corresponding to the first virtual piece A for a sufficient amount of time. It can be assumed that the player currently has a need to quickly change virtual items. Therefore, the operation at this time can be judged as the first equipment disassembly operation, and the virtual item equipped on the first virtual piece can be used as the target virtual item to be replaced.

[0074] Conversely, if the player stops pressing and the first pressing duration is less than the first preset duration, it can be assumed that the player does not have a need to quickly change virtual items. In this case, the operation can be considered as the second equipment disassembly operation, where the player only needs to disassemble the virtual item of the first virtual piece into the item bar.

[0075] Continue with Figure 4 In the equipment disassembly operation shown, if the player drags the equipment disassembly device 311 to the first virtual chess piece A and immediately ends the operation, for example, if the user's finger immediately leaves the touch device, then the first press duration is too short, that is, the first press duration is less than the first preset duration. At this time, the operation is the second equipment disassembly operation. It can be assumed that the player is only using the equipment disassembly device 311. Therefore, the various virtual items of the first virtual chess piece A can be disassembled into the equipment bar 310 for the player to allocate and use later.

[0076] Optionally, the method further includes steps b1 to b2.

[0077] Step b1, in response to the first equipment removal operation for the first virtual piece, displays a first readout control in the graphical user interface while in the pressed state.

[0078] Step b2: Update the status of the first reading bar control in real time according to the first press duration to indicate whether the first press duration has reached the first preset duration.

[0079] In this embodiment, after detecting the equipment disassembly operation, if the user enters a pressing state due to a long press operation, in addition to determining the first pressing duration in real time, a control with a progress bar function, namely a first progress bar control, can be displayed on the graphical user interface. This first progress bar control can specifically be a progress bar control that can represent progress. Furthermore, as the first pressing duration increases, the state of the first progress bar control can be updated in real time, thereby informing the player whether the first preset duration has been reached.

[0080] It is understandable that when a player triggers the equipment disassembly operation, the first loading bar control will be displayed, and the first press duration will be determined.

[0081] Figure 6 This diagram illustrates one possible display method for the first reading bar control. For example... Figure 6As shown, during the equipment disassembly operation, if the device is in a pressing state, a first reading bar control 600 is displayed on the graphical user interface. This first reading bar control 600 may further include multiple sub-controls, such as... Figure 6 As shown, the first reading bar control 600 includes a first reading bar sub-control 601 and multiple second reading bar sub-controls 602, 603, and 604, and each second reading bar sub-control corresponds one-to-one with the virtual props equipped by the first virtual chess piece A. Figure 6 In the middle, the first reading bar sub-control 601 is displayed with the icon of the equipment disassembly device 311, while each of the second reading bar sub-controls is displayed with the icon of the corresponding virtual item.

[0082] like Figure 6 As shown in the upper part, when the first press duration is less than the first preset duration, a clock-shaped reading bar will be displayed at the corresponding position of the first reading bar sub-control 601, and the state of the first reading bar sub-control 601 will be updated in real time according to the first press duration. When the first press duration reaches the first preset duration, as shown in the upper part... Figure 6 As shown in the lower half, the status of the first reading bar sub-control 601 is updated to indicate that the reading bar has been completed, and it displays a checkmark symbol to promptly remind the player that they can continue to perform the subsequent first drag operation.

[0083] Optionally, the above step S502, "in response to the first equipment disassembly operation for the first virtual chess piece, the virtual prop equipped on the first virtual chess piece is taken as the target virtual prop to be replaced", may also include steps a3 to a4.

[0084] Step a3: If the first pressing duration is greater than the first preset duration, determine the first continuing pressing duration after the first pressing duration reaches the first preset duration.

[0085] Step a4: Based on the first continued pressing duration, the first number of virtual items equipped on the first virtual chess piece are taken as the target virtual items to be replaced; the first continued pressing duration and the first number are positively or negatively correlated.

[0086] In this embodiment, if the first press duration exceeds the first preset duration, all virtual items on the first virtual piece can be used as target virtual items to be replaced. Alternatively, to achieve more precise item replacement, after the first press duration reaches the first preset duration, the player can continue pressing. The duration for which the player continues pressing can then be determined, i.e., the first continued press duration. It can be understood that this first continued press duration can be determined by restarting the timer after the first press duration reaches the first preset duration, or it can be determined by continuing the timer based on the first press duration. This embodiment does not limit this.

[0087] Furthermore, a pre-defined relationship exists between press duration and quantity. This relationship can be positive, meaning a longer press duration results in a larger quantity, or negative, meaning a longer press duration results in a smaller quantity. After determining the initial press duration, the corresponding quantity, known as the first quantity, can be determined based on this relationship. Then, at the end of the equipment disassembly operation (e.g., when the first drag operation begins), the first quantity of virtual items equipped on the first virtual piece is selected as the target virtual items to be replaced.

[0088] The first quantity can also be displayed using the first reading bar control mentioned above.

[0089] Figure 7 This diagram illustrates another display method for the first reading bar control. (Compared to...) Figure 6 The display method is similar to that of the progress bar, such as... Figure 7 As shown in the upper part, after the first press duration reaches the first preset duration, if the player continues to press, the second reading bar sub-control 602 can be controlled to read the bar. After the first continued press duration reaches the preset duration, it means that the virtual item corresponding to the second reading bar sub-control 602 can be used as a target virtual item. As the pressing continues, the virtual items corresponding to the second reading bar sub-control 603 and the second reading bar sub-control 604 can be used as target virtual items in sequence. That is, there is a positive correlation between the first continued press duration and the first quantity.

[0090] When changing virtual items to the second virtual piece later, you only need to install the first number of target virtual items onto the second virtual piece; other virtual items besides the first number can be placed in the equipment slot or still installed on the first virtual piece.

[0091] Optionally, step b1 above, "in response to the first equipment disassembly operation for the first virtual chess piece, displaying a first reading bar control in the graphical user interface when in a pressed state," may specifically include steps b11 to b13.

[0092] Step b11, in response to the first equipment disassembly operation for the first virtual chess piece, determines whether the first press duration is greater than the preset function trigger duration.

[0093] Step b12: When the first press duration is longer than the function trigger duration and the device is still in the press state, the first reading bar control is displayed in the graphical user interface; the function trigger duration is shorter than the first preset duration.

[0094] Step b13: When the pressing is stopped and the first pressing duration is less than the function trigger duration, remove each virtual item from the first virtual chess piece and place it in the equipment slot.

[0095] After detecting that the equipment disassembly operation has entered the pressing state, it can be immediately determined whether the player needs to quickly change equipment, that is, to start comparing whether the first pressing duration has reached the first preset duration. Alternatively, as shown in steps b11 to b13, after the equipment disassembly operation enters the pressing state, it is first determined whether the first pressing duration is greater than the preset function trigger duration.

[0096] If the first press duration has not reached the function trigger duration (e.g., 1 second), the first reading bar control is not displayed in the graphical user interface. Figure 8 A partial schematic diagram of the equipment disassembly operation is shown, such as... Figure 8 As shown, when dragging from the equipment dismantling device 311 to the first virtual chess piece A, the icon corresponding to the equipment dismantling device 311 can be displayed in real time along the dragging trajectory. After dragging to the first virtual chess piece A, as shown... Figure 8 As shown, the first reading bar control is not displayed at this time; it will only be displayed after the first press duration reaches the function trigger duration. Figure 6 The upper part shows the first reading bar control 600, and then continues to determine whether the first preset duration has been reached. It can be understood that the first preset duration includes the function trigger duration, so the function trigger duration is less than the first preset duration.

[0097] Furthermore, if the player stops pressing when the first press duration is less than the function trigger duration, it can be assumed that the player only needs to remove the virtual items of the first virtual piece to the item bar. Therefore, the equipment remover can be consumed according to its function to remove the virtual items of the first virtual piece to the item bar.

[0098] Step S503: In response to the first assembly operation for the second virtual chess piece, if the first assembly operation satisfies the first operation condition, equip each target virtual item to the second virtual chess piece; if the first assembly operation satisfies the second operation condition, equip the first target virtual item corresponding to the second operation condition to the second virtual chess piece.

[0099] Please see details Figure 2 Step S203 of the illustrated embodiment will not be described again here.

[0100] In some optional implementations, the first operating condition includes: the second pressing duration of the first assembly operation is less than the second preset duration; the second operating condition includes: the second pressing duration of the first assembly operation is greater than the second preset duration.

[0101] In this embodiment, the first assembly operation also includes a long press operation, which is generally performed at the end position. Therefore, the method may also include the following steps c1 to c2.

[0102] Step c1: Determine the second pressing duration at the end position of the first assembly operation.

[0103] Step c2: When the pressing is stopped and the second pressing duration is less than the second preset duration, determine that the first assembly operation meets the first operation conditions, and equip the target virtual prop to the second virtual chess piece.

[0104] In this embodiment, the first assembly operation can specifically be the first drag operation described above. After the first drag operation reaches its end position, if the end position is located at the position of the second virtual chess piece, the pressing duration at the end position (i.e., the position of the second virtual chess piece) can be determined, i.e., the second pressing duration.

[0105] When the user stops pressing, for example, when the user's finger leaves the touch device to stop touching, if the second pressing duration is less than the second preset duration (e.g., 1 second), it can be considered that the equipment needs to be changed. Therefore, at least some of the target virtual items can be equipped to the second virtual piece. In general, all the target virtual items can be equipped to the second virtual piece.

[0106] For example, with Figure 4 Taking the first drag operation as an example, after the user's finger interacts with the second virtual chess piece B and immediately leaves the screen, all the virtual items of the first virtual chess piece A can be transferred to the second virtual chess piece B.

[0107] Optionally, similar to steps b1 to b2 above, the method may also include steps d1 to d2 when performing the first drag operation.

[0108] Step d1, in response to the first assembly operation for the second virtual piece, displays a second readout control in the graphical user interface when the piece is in a pressed state.

[0109] Step d2: Update the status of the second reading bar control in real time according to the second press duration to indicate whether the second press duration has reached the second preset duration.

[0110] In this embodiment, if a pressing state is entered during the first assembly operation, such as pressing at the end position, a corresponding reading bar control, namely the second reading bar control, can also be displayed to visually display the current pressing duration.

[0111] Figure 9 This diagram illustrates one possible display method for the second reading bar control. For example... Figure 9 As shown, after the user operates to the position corresponding to the second virtual chess piece B, a second reading bar control 900 is displayed in the graphical user interface. This second reading bar control 900 may further include multiple sub-controls, such as... Figure 9As shown, the second reading bar control 900 includes a first reading bar sub-control 901 and multiple second reading bar sub-controls 902, 903, and 904, and each second reading bar sub-control corresponds one-to-one with a virtual item (such as the aforementioned target virtual item) that needs to be equipped to the second virtual chess piece B. Figure 6 Similar, in Figure 9 In the middle, the first reading bar sub-control 901 is displayed with the icon of the equipment disassembly device 311, while each of the second reading bar sub-controls is displayed with the icon of the corresponding virtual item.

[0112] like Figure 9 As shown in the upper part, when the second press duration is less than the second preset duration, a clock-shaped reading bar will be displayed at the position corresponding to the first reading bar sub-control 901, and the state of the first reading bar sub-control 901 will be updated in real time according to the second press duration. When the second press duration reaches the second preset duration, as shown in the upper part... Figure 9 As shown in the lower half, the status of the first reading bar sub-control 901 is updated to indicate that the reading bar has been completed. It displays a checkmark symbol, indicating that the current pressing time has reached the second preset time.

[0113] It is understandable that if the user stops pressing when the second pressing duration is less than the second preset duration, all target virtual props can be installed to the second virtual chess piece B.

[0114] Optionally, the above step S503, "assembling the first target virtual item corresponding to the second operating condition into the second virtual piece", may also include the following steps c3 to c4.

[0115] Step c3: If the second pressing duration is greater than the second preset duration, determine the second continuing pressing duration after the second pressing duration reaches the second preset duration.

[0116] Step c4: Based on the second continued pressing duration, the second number of target virtual items are selected as target virtual items to be equipped to the second virtual piece; the second continued pressing duration and the second number are either positively or negatively correlated.

[0117] Similar to steps a3 to a4 above, after the second press duration exceeds the second preset duration, the user can continue pressing to precisely determine the virtual items to be equipped to the second virtual chess piece B, achieving more refined item replacement. That is, by determining the second continued press duration, a second quantity corresponding to that duration can be determined, and the second quantity of target virtual items can be used as the target virtual items to be equipped to the second virtual chess piece, thereby equipping the second quantity of target virtual items to the second virtual chess piece.

[0118] Optionally, when the first drag operation is in a pressed state, a second quantity can be displayed through a second reading bar control. Specifically, the method may further include steps e1 to e3.

[0119] Step e1, in response to the first assembly operation for the second virtual piece, when in the pressed state, displays a second reading bar control on the graphical user interface; the second reading bar control includes a first reading bar sub-control and at least one second reading bar sub-control corresponding to each target virtual prop.

[0120] Step e2: If the second press duration is less than the second preset duration, update the state of the first reading bar sub-control in real time according to the second press duration to indicate whether the second press duration has reached the second preset duration.

[0121] Step e3: If the second press duration is longer than the second preset duration, update the state of the second reading bar control in real time according to the second continued press duration to indicate the target virtual item to be equipped to the second virtual piece.

[0122] Figure 10 This diagram illustrates another display method for the second reading bar control. (Compared to...) Figure 7 Similar to the first reading bar control shown, the second reading bar control 900 includes a first reading bar sub-control 901 and multiple second reading bar sub-controls 902, 903, and 904, and each second reading bar sub-control corresponds one-to-one with the aforementioned target virtual prop. If the second press duration is less than the second preset duration, such as... Figure 9 As shown, the status of the first reading bar sub-control 901 indicates whether the second preset time has been reached.

[0123] After the second press duration exceeds the second preset duration, such as Figure 10 As shown in the upper part, the second reading bar sub-control 902 can be controlled to read the bar, and after the second continued pressing time reaches the preset time (e.g., 1 second), it indicates that the target virtual item corresponding to the second reading bar sub-control 902 can be installed to the second virtual chess piece B, as shown in the figure below. Figure 10 As shown in the lower half, as the press continues, the target virtual items corresponding to the second reading bar sub-control 903 and the target virtual items corresponding to the second reading bar sub-control 904 can be sequentially equipped to the second virtual chess piece B.

[0124] In step S504, if there are remaining target virtual items that have not been equipped to the second virtual piece, in response to the second assembly operation for the third virtual piece controlled by the first game account, at least some of the remaining target virtual items are equipped to the third virtual piece.

[0125] In some cases, after executing step S503, there may be virtual items that have not been equipped to the second virtual piece, i.e., "remaining target virtual items." In other words, only a portion of the target virtual items were equipped to the second virtual piece in step S503. In this case, the user can continue to execute a second equipping operation to achieve the effect of equipping virtual items to the third virtual piece. For example, the user can continue dragging from the end position of the first drag operation (i.e., the first equipping operation) to execute a second drag operation and drag it to the third virtual piece controlled by the player. This second drag operation can then be considered a second equipping operation. That is, the second equipping operation is a second drag operation that drags from the end position of the first equipping operation, and the end position of the second drag operation corresponds to the position of the third virtual piece.

[0126] For example, since the number of virtual items a virtual piece can equip is limited; for instance, if a virtual piece has 3 equipment slots, then it can equip a maximum of 3 virtual items. When performing the first drag operation, if the number of target virtual items is 3 (for example, all 3 virtual items on the first virtual piece A are considered target virtual items), and the second virtual piece B already has one virtual item, then a maximum of two target virtual items can be equipped to the second virtual piece B. At this point, there is still one target virtual item remaining, which can be used as the remaining target virtual item.

[0127] Alternatively, as shown in steps c3 to c4, during the execution of the first drag operation, only the second number of target virtual props are equipped to the second virtual piece B, which may also result in the existence of remaining target virtual props.

[0128] Figure 11 A schematic diagram of a second drag operation is shown. For example... Figure 11 As shown, the user can continue dragging from the end position of the first drag operation, which is the position corresponding to the second virtual piece B, to the third virtual piece C, thereby triggering the second drag operation and equipping the remaining target virtual item to the third virtual piece.

[0129] It is understood that all target virtual items can be equipped to the third virtual piece; alternatively, only a portion of the target virtual items can be equipped to the third virtual piece, and the remaining target virtual items can be equipped to the fourth virtual piece, etc., by dragging and dropping. This embodiment will not elaborate on this. Furthermore, from the equipment / disassembly operation onwards, the subsequent first drag operation, second drag operation, etc., are all continuous operations (for example, the user's finger never leaves the touch device). In this embodiment, they are divided into multiple operations only for the convenience of explaining the player's operation process, and are not intended to limit these operations to being separate and independent.

[0130] Similarly, at the third virtual piece, when it is in a pressed state, a corresponding reading bar control, namely the third reading bar control, can also be displayed.

[0131] For example, the second preset duration is t0, and t represents the second press duration. The loading time is judged based on the second press duration t. Each virtual piece can equip a maximum of three virtual items. Based on this, multiple preset durations are further set: t1, t2, and t3, where t0 < t1 < t2 < t3.

[0132] Specifically, if t < t0, the player releases their finger, thus equipping all virtual items of the first virtual piece A to the second virtual piece B. If t0≤t<t1, the loading bar for the first virtual item E1 (corresponding to the loading bar sub-control 902) is completed. If the player releases their finger at this time to end the first drag operation, the first virtual item E1 is transferred from the first virtual piece A to the second virtual piece B. Other virtual items besides the first virtual item E1 remain at piece A. If t1≤t<t2, the loading bar for the first virtual item E1 and the second virtual item E2 (corresponding to the loading bar sub-control 903) is completed. If released at this time, the first virtual item E1 and the second virtual item E2 are transferred from piece A to piece B; other virtual items besides E1 and E2 remain at piece A. If t2≤t≤t3, the loading bar for the first virtual item E1, the second virtual item E2, and the third virtual item E3 (corresponding to the loading bar sub-control 904) is completed. If released at this time, the effect is the same as the release effect of t<t0, that is, all virtual items (including E1, E2, and E3) are moved from piece A to piece B.

[0133] In addition, for example, when the second press duration t is t0≤t<t1, the second drag operation can continue to be performed to move from the second virtual piece B to the third virtual piece C. At this time, the operation of moving the first virtual prop E1 from piece A to piece B has been completed. Then, the virtual props E2 and E3 of piece A are transferred to the response of piece C.

[0134] Figure 12 This diagram illustrates a third-level reading bar control. If in... Figure 10 In the first drag operation shown, the target virtual item corresponding to the second reading bar sub-control 902 is equipped to the second virtual chess piece B. Then, the second drag operation is performed, sliding towards the third virtual chess piece C. At this time, the target virtual items corresponding to the second reading bar sub-controls 903 and 904 are both remaining target virtual items. Figure 12In the third reading bar control 1200 shown, in addition to the reading bar sub-control 1201 corresponding to the equipment disassembly device, there are also reading bar sub-controls 1202 and 1203 corresponding to the remaining target virtual items that can be equipped to the third virtual chess piece C. The remaining target virtual items to be equipped to the third virtual chess piece C are selected by the corresponding pressing time, which will not be described in detail here.

[0135] Optionally, the method may further include step f1 and / or step f2.

[0136] Step f1: In response to the first assembly operation for the second virtual piece, determine the remaining number of equipable pieces for the second virtual piece; if the pressing state is stopped and the remaining number of equipable pieces is less than the number of target virtual items, cancel the disassembly operation for the target virtual items.

[0137] In step f2, if the first assembly operation is a drag operation and the end position of the first assembly operation does not correspond to the position of any virtual piece controlled by the first game account, the disassembly operation of the target virtual equipment is canceled.

[0138] In this embodiment, if the first drag operation is an operation on the second virtual chess piece, that is, the end position of the first drag operation corresponds to the position of the second virtual chess piece, the remaining number of virtual chess pieces that can be equipped can also be determined; for example, if a virtual chess piece can only be equipped with 3 virtual items, and the second virtual chess piece has already been equipped with 1 virtual item, then its remaining number of equipable items is: 3-1=2.

[0139] After determining the target virtual item to be equipped to the second virtual piece, the remaining number of equipable items can be compared with the number of target virtual items. If the player stops pressing (e.g., the finger leaves the touch device from the second virtual piece) and the remaining number of equipable items is less than the number of target virtual items, it means that the target virtual items cannot all be installed on the second virtual piece. Since the player cancels the first drag operation at this time, it can be determined that the player intends to cancel the disassembly operation. In other words, the disassembly operation of the target virtual equipment can be canceled. In other words, this operation is invalid and will not consume the equipment disassembly tool. The player can re-execute the disassembly operation based on the equipment disassembly tool.

[0140] It should be noted that if some virtual items can be combined, for example, two low-level virtual items can be combined into a higher-level virtual item, then in step f1, it can be first determined whether the target virtual item can be combined with the virtual item already equipped by the second virtual piece (if any); if they can be combined, the target virtual item that can be combined is not used to calculate the quantity of the target virtual item. In other words, the quantity of the target virtual item is the quantity of other target virtual items after removing the target virtual items that can be combined with the virtual item already equipped by the second virtual piece.

[0141] Similarly, if the end position of the first drag operation does not correspond to the position of any virtual piece controlled by the player, it can be assumed that the player also needs to cancel the disassembly at this time. Therefore, similar to step f1, the disassembly operation of the target virtual equipment can also be canceled.

[0142] The virtual item replacement method provided in this embodiment optimizes and extends the logic of the equipment dismantling device without affecting the original gameplay strategy, greatly improving the efficiency of equipment replacement. A loading bar control enables visual interaction with the player, assisting them in determining which equipment can be replaced. By utilizing the first and second press durations on the virtual piece, it's possible to determine whether to transfer all virtual items or precisely select only a portion, thus meeting various equipment replacement needs of players.

[0143] This embodiment also provides a virtual prop changing device, which is used to implement the above embodiments and preferred embodiments, and will not be repeated as already described. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0144] This embodiment provides a device for changing virtual props, such as... Figure 13 As shown, the device includes: Display module 1301 is used to display a virtual chessboard in a graphical user interface; the virtual chessboard includes a first virtual chess piece and a second virtual chess piece controlled by a first game account; The disassembly module 1302 is used to respond to the first equipment disassembly operation for the first virtual chess piece and to take the virtual prop equipped by the first virtual chess piece as the target virtual prop to be replaced. The processing module 1303 is configured to respond to a first assembly operation for the second virtual chess piece, and, if the first assembly operation satisfies a first operation condition, equip each of the target virtual items to the second virtual chess piece, and if the first assembly operation satisfies a second operation condition, equip the first target virtual item among the target virtual items that corresponds to the second operation condition to the second virtual chess piece.

[0145] In some alternative implementations, the first equipment disassembly operation satisfies a third operating condition; And / or, The processing module 1303 is further configured to: in response to a second equipment disassembly operation for the first virtual chess piece, disassemble each virtual item equipped on the first virtual chess piece into the equipment slot; the second equipment disassembly operation satisfies a fourth operation condition.

[0146] In some optional implementations, the third operating condition includes: the first equipment disassembly operation includes a long press operation, and the first press duration of the first equipment disassembly operation is greater than a first preset duration.

[0147] In some optional embodiments, the processing module 1303 is further configured to: In response to a first equipment removal operation on the first virtual chess piece, a first reading bar control is displayed in the graphical user interface when the piece is in a pressed state; The state of the first reading bar control is updated in real time based on the first press duration to indicate whether the first press duration has reached the first preset duration.

[0148] In some alternative implementations, the step of displaying a first readout control in the graphical user interface while in a pressed state in response to a first equipment removal operation on the first virtual chess piece includes: In response to the first equipment disassembly operation for the first virtual chess piece, determine whether the first press duration is greater than the preset function trigger duration; When the first press duration is longer than the function trigger duration and the device is still in the press state, a first reading bar control is displayed in the graphical user interface; the function trigger duration is shorter than the first preset duration.

[0149] In some optional implementations, the step of using the virtual item equipped on the first virtual chess piece as the target virtual item to be replaced includes: If the first pressing duration is greater than the first preset duration, determine a first continuing pressing duration after the first pressing duration reaches the first preset duration; Based on the first continued pressing duration, the first number of virtual items equipped on the first virtual chess piece are taken as the target virtual items to be replaced; the first continued pressing duration and the first number are positively or negatively correlated.

[0150] In some optional implementations, the fourth operation condition includes: the second equipment disassembly operation is a click operation; or, the second equipment disassembly operation includes a long press operation, and the pressing duration of the second equipment disassembly operation is less than a first preset duration.

[0151] In some optional embodiments, the first equipment disassembly operation includes a long press operation, wherein the first equipment disassembly operation is an operation of dragging from a first position to a second position and maintaining a pressing state in the second position; Among them, one of the first position and the second position corresponds to the position of the first virtual chess piece, and the other corresponds to the position of the equipment remover in the equipment bar.

[0152] In some optional implementations, the first operating condition includes: the second pressing duration of the first assembly operation is less than a second preset duration; The second operating condition includes: the second pressing duration of the first assembly operation is greater than the second preset duration.

[0153] In some optional embodiments, the processing module 1303 is further configured to: In response to the first assembly operation for the second virtual chess piece, a second reading bar control is displayed in the graphical user interface when the piece is in a pressed state; The state of the second reading bar control is updated in real time based on the second press duration to indicate whether the second press duration has reached the second preset duration.

[0154] In some optional implementations, assembling the first target virtual item corresponding to the second operating condition into the second virtual chess piece includes: If the second pressing duration is greater than the second preset duration, determine a second continuing pressing duration after the second pressing duration reaches the second preset duration; Based on the second continued pressing duration, the second number of target virtual items are selected as target virtual items to be equipped to the second virtual chess piece; the second continued pressing duration and the second number are positively or negatively correlated.

[0155] In some optional embodiments, the processing module 1303 is further configured to: In response to a first assembly operation for the second virtual chess piece, when in a pressed state, a second reading bar control is displayed on the graphical user interface; the second reading bar control includes a first reading bar sub-control and at least one second reading bar sub-control corresponding to each target virtual prop; If the second press duration is less than the second preset duration, the state of the first reading bar sub-control is updated in real time according to the second press duration to indicate whether the second press duration has reached the second preset duration; If the second press duration exceeds the second preset duration, the state of the second reading bar sub-control is updated in real time according to the second continued press duration to indicate the target virtual item to be equipped to the second virtual chess piece.

[0156] In some alternative implementations, the first assembly operation is a first drag operation that begins from the end position of the first equipment disassembly operation, and the end position of the first drag operation corresponds to the position of the second virtual chess piece.

[0157] In some optional embodiments, the processing module 1303 is further configured to: In the event that there are remaining target virtual items that have not been equipped to the second virtual piece, in response to a second assembly operation for a third virtual piece controlled by the first game account, at least a portion of the remaining target virtual items are equipped to the third virtual piece.

[0158] In some alternative implementations, the second assembly operation is a second drag operation that drags from the end position of the first assembly operation, the end position of the second drag operation corresponding to the position of the third virtual piece.

[0159] In some optional embodiments, the processing module 1303 is further configured to: In response to the first assembly operation for the second virtual chess piece, determine the remaining number of equipable second virtual chess pieces; if the remaining number of equipable pieces is less than the number of target virtual items, cancel the disassembly operation for the target virtual items; or, If the first assembly operation is a drag operation, and the end position of the first assembly operation does not correspond to the position of any virtual chess piece controlled by the first game account, then the disassembly operation of the target virtual equipment is canceled.

[0160] The virtual item changing device provided in this disclosure can execute the virtual item changing method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the method. Further functional descriptions of the various modules and units described above are the same as in the corresponding embodiments described above, and will not be repeated here.

[0161] Figure 14 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0162] The following is a detailed reference. Figure 14 The diagram illustrates a structural schematic suitable for implementing the electronic device described in the embodiments of this application. The electronic device may include a processor (e.g., a central processing unit, graphics processor, etc.) 1401, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 1402 or a program loaded from memory 1408 into random access memory (RAM) 1403. The RAM 1403 also stores various programs and data required for the operation of the electronic device. The processor 1401, ROM 1402, and RAM 1403 are interconnected via a bus 1404. An input / output (I / O) interface 1405 is also connected to the bus 1404.

[0163] Typically, the following devices can be connected to I / O interface 1405: input devices 1406 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 1407 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 1408 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1409. Communication device 1409 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 14 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.

[0164] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 1409, or installed from memory 1408, or installed from ROM 1402. When the computer program is executed by processor 1401, it performs the functions defined in the virtual item replacement method of embodiments of this application.

[0165] Figure 14The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0166] This application also provides a computer-readable storage medium. The methods described in this application can be implemented in hardware or firmware, or implemented as recordable on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the virtual prop replacement method shown in the above embodiments is implemented.

[0167] A portion of this application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to this application through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.

[0168] Although embodiments of this application have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of this application, and all such modifications and variations fall within the scope defined by the appended claims.

Claims

1. A method for changing virtual props, characterized in that, The method includes: A virtual chessboard is displayed in a graphical user interface; the virtual chessboard includes a first virtual chess piece and a second virtual chess piece controlled by a first game account; In response to the first equipment removal operation for the first virtual chess piece, the virtual item equipped on the first virtual chess piece is taken as the target virtual item to be replaced. In response to a first assembly operation for the second virtual chess piece, if the first assembly operation satisfies a first operation condition, each of the target virtual items is equipped to the second virtual chess piece; if the first assembly operation satisfies a second operation condition, the first target virtual item corresponding to the second operation condition is equipped to the second virtual chess piece.

2. The method according to claim 1, characterized in that, The first equipment disassembly operation satisfies the third operation condition; And / or, The method further includes: in response to a second equipment disassembly operation on the first virtual chess piece, disassembling each virtual item equipped on the first virtual chess piece to the equipment slot; the second equipment disassembly operation satisfies a fourth operation condition.

3. The method according to claim 2, characterized in that, The third operating condition includes: the first equipment disassembly operation includes a long press operation, and the first press duration of the first equipment disassembly operation is greater than the first preset duration.

4. The method according to claim 3, characterized in that, The method further includes: In response to a first equipment disassembly operation on the first virtual chess piece, a first reading bar control is displayed in the graphical user interface when the piece is in a pressed state; The state of the first reading bar control is updated in real time based on the first press duration to indicate whether the first press duration has reached the first preset duration.

5. The method according to claim 4, characterized in that, The response to the first equipment disassembly operation for the first virtual chess piece, when in a pressed state, includes displaying a first reading bar control on the graphical user interface, comprising: In response to the first equipment disassembly operation for the first virtual chess piece, determine whether the first press duration is greater than the preset function trigger duration; When the first press duration is longer than the function trigger duration and the user is still in the press state, a first reading bar control is displayed in the graphical user interface; the function trigger duration is shorter than the first preset duration.

6. The method according to claim 3 or 4, characterized in that, The step of using the virtual item equipped on the first virtual chess piece as the target virtual item to be replaced includes: If the first pressing duration is greater than the first preset duration, determine a first continuing pressing duration after the first pressing duration reaches the first preset duration; Based on the first continued pressing duration, the first number of virtual items equipped on the first virtual chess piece are taken as the target virtual items to be replaced; the first continued pressing duration and the first number are positively or negatively correlated.

7. The method according to claim 2, characterized in that, The fourth operating condition includes: the second equipment disassembly operation is a click operation; or, the second equipment disassembly operation includes a long press operation, and the pressing duration of the second equipment disassembly operation is less than the first preset duration.

8. The method according to claim 1, characterized in that, The first equipment disassembly operation includes a long press operation, which is an operation of dragging from a first position to a second position and maintaining a pressing state in the second position; Among them, one of the first position and the second position corresponds to the position of the first virtual chess piece, and the other corresponds to the position of the equipment remover in the equipment bar.

9. The method according to claim 1, characterized in that, The first operating condition includes: the second pressing duration of the first assembly operation is less than the second preset duration; The second operating condition includes: the second pressing duration of the first assembly operation is greater than the second preset duration.

10. The method according to claim 9, characterized in that, The method further includes: In response to the first assembly operation for the second virtual chess piece, a second reading bar control is displayed in the graphical user interface when the piece is in a pressed state; The state of the second reading bar control is updated in real time based on the second press duration to indicate whether the second press duration has reached the second preset duration.

11. The method according to claim 9, characterized in that, The step of assembling the first target virtual item corresponding to the second operation condition into the second virtual chess piece includes: If the second pressing duration is greater than the second preset duration, determine a second continuing pressing duration after the second pressing duration reaches the second preset duration; Based on the second continued pressing duration, the second number of target virtual items are selected as target virtual items to be equipped to the second virtual chess piece; the second continued pressing duration and the second number are positively or negatively correlated.

12. The method according to claim 11, characterized in that, The method further includes: In response to a first assembly operation for the second virtual chess piece, when in a pressed state, a second reading bar control is displayed on the graphical user interface; the second reading bar control includes a first reading bar sub-control and at least one second reading bar sub-control corresponding to each target virtual prop. If the second press duration is less than the second preset duration, the state of the first reading bar sub-control is updated in real time according to the second press duration to indicate whether the second press duration has reached the second preset duration; If the second press duration exceeds the second preset duration, the state of the second reading bar sub-control is updated in real time according to the second continued press duration to indicate the target virtual item to be equipped to the second virtual piece.

13. The method according to claim 1 or 9, characterized in that, The first assembly operation is a first drag operation that starts from the end position of the first equipment disassembly operation, and the end position of the first drag operation corresponds to the position of the second virtual chess piece.

14. The method according to claim 1, characterized in that, The method further includes: In the event that there are remaining target virtual items that have not been equipped to the second virtual piece, in response to a second assembly operation for a third virtual piece controlled by the first game account, at least a portion of the remaining target virtual items are equipped to the third virtual piece.

15. The method according to claim 14, characterized in that, The second assembly operation is a drag operation that drags from the end position of the first assembly operation, and the end position of the second drag operation corresponds to the position of the third virtual chess piece.

16. The method according to claim 1, characterized in that, The method further includes: In response to the first assembly operation for the second virtual chess piece, determine the remaining number of equipable second virtual chess pieces; if the remaining number of equipable pieces is less than the number of target virtual items, cancel the disassembly operation for the target virtual items; or, If the first assembly operation is a drag operation, and the end position of the first assembly operation does not correspond to the position of any virtual chess piece controlled by the first game account, then the disassembly operation of the target virtual equipment is canceled.

17. A device for changing virtual props, characterized in that, The device includes: A display module is used to display a virtual chessboard in a graphical user interface; the virtual chessboard includes a first virtual chess piece and a second virtual chess piece controlled by a first game account; The disassembly module is used to respond to a first equipment disassembly operation on the first virtual chess piece and to take the virtual prop equipped on the first virtual chess piece as the target virtual prop to be replaced. The processing module is configured to respond to a first assembly operation for the second virtual chess piece, and, if the first assembly operation satisfies a first operation condition, equip each of the target virtual items to the second virtual chess piece, and if the first assembly operation satisfies a second operation condition, equip the first target virtual item among the target virtual items that corresponds to the second operation condition to the second virtual chess piece.

18. An electronic device, characterized in that, include: A memory and a processor are communicatively connected, the memory storing computer instructions, and the processor executing the computer instructions to perform the method for changing virtual props as described in any one of claims 1 to 16.

19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the method for replacing virtual items according to any one of claims 1 to 16.

20. A computer program product, characterized in that, Includes computer instructions for causing a computer to perform the method for replacing virtual props as described in any one of claims 1 to 16.