Virtual item transaction method and device in game, electronic equipment and storage medium

文档序号:1928438 发布日期:2021-12-07 浏览:18次 中文

阅读说明:本技术 游戏中的虚拟道具交易方法、装置、电子设备和存储介质 (Virtual item transaction method and device in game, electronic equipment and storage medium ) 是由 王泽� 胡志鹏 程龙 刘勇成 袁思思 于 2021-09-10 设计创作,主要内容包括:本申请提供了一种游戏中的虚拟道具交易方法、装置、电子设备和存储介质。该方法包括:在确定待交易的目标虚拟道具后,响应为所述目标虚拟道具设定的交易等待时长,根据所述交易等待时长对所述目标虚拟道具进行计时;响应所述交易等待时长的计时结束,对所述目标虚拟道具进行交易。相对于现有技术,本申请为玩家需要购买的目标虚拟道具设置计时时间,并在计时结束后进行自动交易,有利于提高目标虚拟道具的交易效率,从而有利于提高玩家对虚拟角色的有效控制时长。(The application provides a method and a device for trading a virtual item in a game, electronic equipment and a storage medium. The method comprises the following steps: after determining a target virtual prop to be traded, responding to a trading waiting time set for the target virtual prop, and timing the target virtual prop according to the trading waiting time; and responding to the ending of the timing of the transaction waiting time length, and performing transaction on the target virtual prop. Compared with the prior art, the method and the device have the advantages that the timing time is set for the target virtual prop which needs to be purchased by the player, automatic transaction is carried out after the timing is finished, the transaction efficiency of the target virtual prop is improved, and the effective control duration of the player on the virtual character is improved.)

1. A method of trading virtual items in a game, the method comprising:

after determining a target virtual prop to be traded, responding to a trading waiting time set for the target virtual prop, and timing the target virtual prop according to the trading waiting time;

and responding to the ending of the timing of the transaction waiting time length, and performing transaction on the target virtual prop.

2. The method of trading virtual items in a game of claim 1, wherein before responding to a trade wait period set for the target virtual item, the method further comprises:

identifying whether the interactive information of own teammates comprises first target element information, wherein the first target element information at least comprises the target virtual prop and purchase time information of the target virtual prop;

when the interactive information of the own teammate comprises the first target element, displaying a first purchasing control of the target virtual prop on a terminal graphical user interface;

and responding to the confirmation operation aiming at the first purchase control, and determining the transaction waiting time set for the target virtual prop according to the purchase time information.

3. The method of trading virtual items in a game of claim 1, wherein before responding to a trade wait period set for the target virtual item, the method further comprises:

identifying whether the interaction information of own teammates comprises second target element information, wherein the second target element information at least comprises the target virtual prop;

when the interactive information of the own teammate comprises the second target element, displaying a second purchasing control of the target virtual prop on a terminal graphical user interface;

responding to the determination operation of the second purchase control, and displaying a first setting control for setting the transaction waiting time length in the associated area of the target virtual prop;

and responding to the time length setting operation aiming at the first setting control, and determining the transaction waiting time length set for the target virtual prop.

4. The method of trading virtual items in a game of claim 1, wherein before responding to a trade wait period set for the target virtual item, the method further comprises:

responding to the specified operation aiming at the target virtual prop, and displaying a second setting control for setting the transaction waiting time length in the associated area of the target virtual prop;

and responding to the time length setting operation aiming at the second setting control, and determining the transaction waiting time length set for the target virtual prop.

5. A method of trading a virtual item in a game according to any of claims 1 to 4, wherein the method further comprises:

and before the timing is finished, responding to the modification operation aiming at the transaction waiting time length, and timing the target virtual prop according to the modified transaction waiting time length.

6. A method of trading a virtual item in a game as claimed in claim 1, the method further comprising:

before timing is finished, identifying whether virtual resources owned by a controlled virtual role meet virtual resource transaction conditions of the target virtual item, wherein the controlled virtual role is a virtual role for transacting the target virtual item;

if the virtual resources owned by the controlled virtual role meet the virtual resource transaction conditions of the target virtual prop, displaying a first prompt control on a terminal graphical user interface; the first prompt control comprises prompt information used for representing that the target virtual prop is about to be traded and/or timing remaining duration information.

7. A method of trading a virtual item in a game as claimed in claim 6, the method further comprising:

and if the virtual resources owned by the controlled virtual role meet the virtual resource transaction conditions of the target virtual prop, displaying one or more of a purchase confirmation control, a purchase cancellation control and an immediate purchase control on a terminal graphical user interface.

8. The method of trading virtual items in a game of claim 7, wherein said trading the target virtual item in response to the expiration of the timed length of the trade wait period comprises:

and after responding to the operation of the purchase confirmation control, responding to the end of timing of the transaction waiting time length, and performing transaction on the target virtual prop.

9. A method of trading a virtual item in a game as claimed in claim 7, the method further comprising:

stopping the timing of the target virtual item in response to the operation of the purchase cancellation control; or

And responding to the operation aiming at the immediate purchase control, and trading the target virtual prop.

10. A method of trading a virtual item in a game as claimed in claim 6, the method further comprising:

if the virtual resources owned by the controlled virtual role do not meet the virtual resource transaction conditions of the target virtual prop, displaying a second prompt control on a terminal graphical user interface; and the second prompt control displays prompt information used for indicating that the virtual resource owned by the controlled virtual character does not meet the virtual resource transaction condition of the target virtual prop, and/or difference information between the virtual resource owned by the controlled virtual character and the virtual resource transaction condition of the target virtual prop.

11. A method of trading a virtual item in a game as claimed in claim 10, the method further comprising:

and when the difference information between the virtual resource currently owned by the controlled virtual character and the virtual resource transaction condition of the target virtual prop is zero, responding to the end of timing of the transaction waiting time length, and performing transaction on the target virtual prop.

12. An apparatus for trading virtual items in a game, the apparatus comprising:

the first response module is used for responding to a transaction waiting time set for the target virtual prop after the target virtual prop to be transacted is determined, and timing the target virtual prop according to the transaction waiting time;

and the second response module is used for responding to the end of timing of the transaction waiting time length and transacting the target virtual prop.

13. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is running, the processor executing the machine-readable instructions to perform the steps of the method for trading virtual items in a game according to any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, performs the steps of the method for trading virtual items in a game according to any one of claims 1 to 11.

Technical Field

The application relates to the technical field of games, in particular to a method and a device for trading virtual items in a game, electronic equipment and a storage medium.

Background

With the rapid development of online games, more and more players can send time through online games, and in order to improve the game experience of the players, various virtual items are added to the games by game providers, and the virtual items can be acquired only by opening a designated page and exchanging resources by the players.

If a player entering a game wants to acquire a certain virtual item after a certain time period or at a later specific time, the transaction time needs to be memorized through the brain, but the brain memorizes that a large forgetting risk exists, and the required virtual item needs to be acquired, and the player needs to open a specified page in the game at the transaction time and perform resource exchange operation, so that more time of the player is wasted, the transaction efficiency of the virtual item is reduced, and the effective control time of the player on the virtual character is reduced.

Disclosure of Invention

In view of this, the present application provides a method, an apparatus, an electronic device, and a storage medium for trading a virtual item in a game, so as to improve the trading efficiency of the virtual item and improve the effective control duration of a player on a virtual character.

Mainly comprises the following aspects:

in a first aspect, an embodiment of the present application provides a method for trading a virtual item in a game, where the method for trading a virtual item in a game includes:

after determining a target virtual prop to be traded, responding to a trading waiting time set for the target virtual prop, and timing the target virtual prop according to the trading waiting time;

and responding to the ending of the timing of the transaction waiting time length, and performing transaction on the target virtual prop.

Optionally, before responding to the transaction waiting duration set for the target virtual item, the method for transacting virtual items in the game further includes:

identifying whether the interactive information of own teammates comprises first target element information, wherein the first target element information at least comprises the target virtual prop and purchase time information of the target virtual prop;

when the interactive information of the own teammate comprises the first target element, displaying a first purchasing control of the target virtual prop on a terminal graphical user interface;

and responding to the confirmation operation aiming at the first purchase control, and determining the transaction waiting time set for the target virtual prop according to the purchase time information.

Optionally, before responding to the transaction waiting duration set for the target virtual item, the method for transacting virtual items in the game further includes:

identifying whether the interaction information of own teammates comprises second target element information, wherein the second target element information at least comprises the target virtual prop;

when the interactive information of the own teammate comprises the second target element, displaying a second purchasing control of the target virtual prop on a terminal graphical user interface;

responding to the determination operation of the second purchase control, and displaying a first setting control for setting the transaction waiting time length in the associated area of the target virtual prop;

and responding to the time length setting operation aiming at the first setting control, and determining the transaction waiting time length set for the target virtual prop.

Optionally, before responding to the transaction waiting duration set for the target virtual item, the method for transacting virtual items in the game further includes:

responding to the specified operation aiming at the target virtual prop, and displaying a second setting control for setting the transaction waiting time length in the associated area of the target virtual prop;

and responding to the time length setting operation aiming at the second setting control, and determining the transaction waiting time length set for the target virtual prop.

Optionally, the virtual item trading method in the game further includes:

and before the timing is finished, responding to the modification operation aiming at the transaction waiting time length, and timing the target virtual prop according to the modified transaction waiting time length.

Optionally, the virtual item trading method in the game further includes:

before timing is finished, identifying whether virtual resources owned by a controlled virtual role meet virtual resource transaction conditions of the target virtual item, wherein the controlled virtual role is a virtual role for transacting the target virtual item;

if the virtual resources owned by the controlled virtual role meet the virtual resource transaction conditions of the target virtual prop, displaying a first prompt control on a terminal graphical user interface; the first prompt control comprises prompt information used for representing that the target virtual prop is about to be traded and/or timing remaining duration information.

Optionally, the virtual item trading method in the game further includes:

and if the virtual resources owned by the controlled virtual role meet the virtual resource transaction conditions of the target virtual prop, displaying one or more of a purchase confirmation control, a purchase cancellation control and an immediate purchase control on a terminal graphical user interface.

Optionally, the responding to the end of the timing of the transaction waiting duration to perform the transaction on the target virtual item includes:

and after responding to the operation of the purchase confirmation control, responding to the end of timing of the transaction waiting time length, and performing transaction on the target virtual prop.

Optionally, the virtual item trading method in the game further includes:

stopping the timing of the target virtual item in response to the operation of the purchase cancellation control; or

And responding to the operation aiming at the immediate purchase control, and trading the target virtual prop.

Optionally, the virtual item trading method in the game further includes:

if the virtual resources owned by the controlled virtual role do not meet the virtual resource transaction conditions of the target virtual prop, displaying a second prompt control on a terminal graphical user interface; and the second prompt control displays prompt information used for indicating that the virtual resource owned by the controlled virtual character does not meet the virtual resource transaction condition of the target virtual prop, and/or difference information between the virtual resource owned by the controlled virtual character and the virtual resource transaction condition of the target virtual prop.

Optionally, the virtual item trading method in the game further includes:

and when the difference information between the virtual resource currently owned by the controlled virtual character and the virtual resource transaction condition of the target virtual prop is zero, responding to the end of timing of the transaction waiting time length, and performing transaction on the target virtual prop.

In a second aspect, an embodiment of the present application provides an apparatus for trading virtual items in a game, where the apparatus for trading virtual items in a game includes:

the first response module is used for responding to a transaction waiting time set for the target virtual prop after the target virtual prop to be transacted is determined, and timing the target virtual prop according to the transaction waiting time;

and the second response module is used for responding to the end of timing of the transaction waiting time length and transacting the target virtual prop.

Optionally, before the first response module is configured to respond to the transaction waiting duration set for the target virtual item, the first response module is further configured to:

identifying whether the interactive information of own teammates comprises first target element information, wherein the first target element information at least comprises the target virtual prop and purchase time information of the target virtual prop;

when the interactive information of the own teammate comprises the first target element, displaying a first purchasing control of the target virtual prop on a terminal graphical user interface;

and responding to the confirmation operation aiming at the first purchase control, and determining the transaction waiting time set for the target virtual prop according to the purchase time information.

Optionally, before the first response module is configured to respond to the transaction waiting duration set for the target virtual item, the first response module is further configured to:

identifying whether the interaction information of own teammates comprises second target element information, wherein the second target element information at least comprises the target virtual prop;

when the interactive information of the own teammate comprises the second target element, displaying a second purchasing control of the target virtual prop on a terminal graphical user interface;

responding to the determination operation of the second purchase control, and displaying a first setting control for setting the transaction waiting time length in the associated area of the target virtual prop;

and responding to the time length setting operation aiming at the first setting control, and determining the transaction waiting time length set for the target virtual prop.

Optionally, before the first response module is configured to respond to the transaction waiting duration set for the target virtual item, the first response module is further configured to:

responding to the specified operation aiming at the target virtual prop, and displaying a second setting control for setting the transaction waiting time length in the associated area of the target virtual prop;

and responding to the time length setting operation aiming at the second setting control, and determining the transaction waiting time length set for the target virtual prop.

Optionally, the apparatus for trading virtual items in the game further includes:

and the timing module is used for responding to the modification operation aiming at the transaction waiting time before the timing is finished and timing the target virtual prop according to the modified transaction waiting time.

Optionally, the apparatus for trading virtual items in the game further includes:

the identification module is used for identifying whether virtual resources owned by a controlled virtual role meet virtual resource transaction conditions of the target virtual item before timing is finished, wherein the controlled virtual role is a virtual role for transacting the target virtual item;

the first display module is used for displaying a first prompt control on a terminal graphical user interface if the virtual resources owned by the controlled virtual role meet the virtual resource transaction conditions of the target virtual prop; the first prompt control comprises prompt information used for representing that the target virtual prop is about to be traded and/or timing remaining duration information.

Optionally, the apparatus for trading virtual items in the game further includes:

and the second display module is used for displaying one or more of a purchase confirmation control, a purchase cancellation control and an immediate purchase control on a terminal graphical user interface if the virtual resources owned by the controlled virtual role meet the virtual resource transaction conditions of the target virtual prop.

Optionally, the second response module is specifically configured to:

and after responding to the operation of the purchase confirmation control, responding to the end of timing of the transaction waiting time length, and performing transaction on the target virtual prop.

Optionally, the apparatus for trading virtual items in the game further includes:

a termination module, configured to stop timing of the target virtual item in response to an operation directed to the purchase cancellation control; or

And the first transaction module is used for responding to the operation aiming at the immediate purchase control and transacting the target virtual prop.

Optionally, the apparatus for trading virtual items in the game further includes:

the third display module is used for displaying a second prompt control on a terminal graphical user interface if the virtual resources owned by the controlled virtual role do not meet the virtual resource transaction conditions of the target virtual prop; and the second prompt control displays prompt information used for indicating that the virtual resource owned by the controlled virtual character does not meet the virtual resource transaction condition of the target virtual prop, and/or difference information between the virtual resource owned by the controlled virtual character and the virtual resource transaction condition of the target virtual prop.

Optionally, the apparatus for trading virtual items in the game further includes:

and the second transaction module is used for responding to the end of timing of the transaction waiting time length and transacting the target virtual prop when the difference information between the virtual resource currently owned by the controlled virtual role and the virtual resource transaction condition of the target virtual prop is zero.

In a third aspect, an embodiment of the present application provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor, when executing the computer program, implements the steps of the method for trading virtual items in a game according to any one of the first aspect.

In a fourth aspect, the present application provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the method for trading virtual items in a game according to any one of the first aspect.

The technical scheme provided by the embodiment of the application can have the following beneficial effects:

according to the virtual item transaction method in the game, if a player wants to purchase a virtual item (namely, a target virtual item) after a certain time period or at a later specific time, a transaction waiting time length can be set for the target virtual item to be purchased. At this time, the terminal may time the target virtual item according to the transaction waiting duration set for the target virtual item, and monitor the timing condition of the transaction waiting duration of the target virtual item in real time, and when the timing is finished, transact the target virtual item that the player wants. Compared with the prior art, the method and the device have the advantages that the transaction waiting duration can be directly set for the target virtual prop, and the player does not need to use brain memory, so that the risk of forgetting does not exist; and when the timing is finished, the player does not need to open the appointed page in the game again and perform resource exchange operation, and the target virtual item is directly and automatically traded. For the player, the method is convenient and fast, and is beneficial to improving the transaction efficiency of the target virtual prop, so that the effective control duration of the player on the virtual character is improved.

In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.

Fig. 1 shows a flowchart of a method for trading virtual items in a game according to an embodiment of the present application;

fig. 2 is a diagram illustrating an example of a timing manner of a target virtual item according to a first embodiment of the present application;

fig. 3 is a diagram illustrating an example of another timing manner of a target virtual item provided in the first embodiment of the present application;

FIG. 4 is a diagram illustrating an example of a display of a first purchase control provided by an embodiment of the present application;

FIG. 5 is a diagram illustrating an example of a setting manner of a first setting control according to a first embodiment of the present application;

FIG. 6 is a diagram illustrating an example of another setting manner of a first setting control provided in the first embodiment of the present application;

FIG. 7 is a diagram illustrating an example of another setting manner of a first setting control provided in the first embodiment of the present application;

fig. 8 is a diagram illustrating an example of a setting manner of a waiting time period for a transaction of a target virtual item according to a first embodiment of the present application;

FIG. 9 is a diagram illustrating an example of a modification of the transaction wait period provided in an embodiment of the present application;

FIG. 10 is a diagram illustrating an example of a display method of a first prompt control according to an embodiment of the present application;

FIG. 11 is a diagram illustrating an example of a display manner of a control according to an embodiment of the present application;

FIG. 12 is a diagram illustrating an example of a display manner of a second prompt control according to an embodiment of the present application;

fig. 13 is a schematic structural diagram illustrating a virtual item transaction apparatus in a game according to a second embodiment of the present application;

fig. 14 shows a schematic structural diagram of a computer device provided in the third embodiment of the present application.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.

The virtual item trading method in the game provided by the embodiment of the application can be operated in a series of games such as a MOBA (Multiplayer Online Battle Arena), a developmental game, an adventure game and the like, and the application takes the MOBA game as an example for explanation.

In the current MOBA game, if a player wants to add a required virtual item, or add a required virtual item to a virtual character in the game, the player needs to open a virtual item display list preset by a game provider by clicking a mall control on a game interface, and select a virtual item to be traded in the virtual item display list to perform resource trading operation.

Based on the transaction mode of the virtual props in the game, if a player wants to acquire the required virtual props after a certain time period or at a later specific time, the player needs to remind himself of acquiring the required virtual props at a preset transaction time in a brain memory or terminal recording software memory mode, and at the transaction time, the player needs to actively click a mall control in the game to display a virtual prop display list and select the required virtual props in the virtual prop display list to perform resource transaction so as to acquire the required virtual props.

In the transaction process, the player belongs to short-term memory through brain memory, the transaction event is easy to forget, the player needs to leave the game temporarily and open the terminal note software for memory through the terminal note software, the memory process is complicated and time-consuming, when the transaction time is up, the player needs to open a specified page in the game and perform resource exchange operation, the transaction process is also complicated and time-consuming, and the effective control time of the player on the virtual character is reduced.

Based on this, the embodiment of the application provides a method and an apparatus for trading a virtual item in a game, an electronic device and a storage medium, which are described below through embodiments.

It should be noted that the virtual item transaction method in the game provided in the embodiment of the present application may be applied to a hand game or an end game, and may also be applied to a cloud game (that is, the virtual item transaction method in the game provided in the embodiment of the present application runs in a cloud server). In the hand game, a player can realize the transaction of the target virtual prop by touching a designated control on a graphical user interface of the mobile phone; in the end game, a player may implement a transaction of a target virtual item by clicking a designated button on a keyboard and/or clicking a designated control on a graphical user interface with a mouse, and the following description is given by taking a hand game as an example.

It should be noted again that the virtual item trading method in the game provided in the embodiment of the present application may be applied to a first scenario, that is: the scenario in which the player purchases a virtual item for the game account controlled by the player or a virtual character under the game account can also be applied to a second scenario, that is: and the player purchases a scene of the virtual item for the game account controlled by the own teammate or a certain virtual character under the game account.

When the method for trading the virtual items in the game provided by the embodiment of the application is applied to a first scene, a trading object of the target virtual item to be traded in the embodiment of the application is a game account controlled by a current player or a certain virtual character under the game account; when the virtual item trading method in the game provided by the embodiment of the application is applied to a second scene, the trading object of the target virtual item to be traded in the embodiment of the application is a game account controlled by the team friend of the current player or a certain virtual character under the game account. Such as: a current player can select a target virtual item to be purchased in an item display list, after the target virtual item is selected, a transaction waiting time length and a transaction object can be set for the target virtual item, after the target virtual item to be transacted is determined, a terminal can time the target virtual item according to the transaction waiting time length set for the target virtual item, and when the time is over, after virtual resources owned by a game account number controlled by the current player or virtual resources owned by a certain virtual character under the game account number controlled by the current player are deducted, the target virtual item is allocated to the transaction object of the target virtual item (namely, the game account number controlled by a teammate or the certain virtual character under the game account number); the following description will be given taking a scenario in which a player purchases a virtual item for a virtual character under a game account controlled by the player in a first scenario as an example.

Example one

Fig. 1 shows a flowchart of a method for trading virtual items in a game according to a first embodiment of the present application, and as shown in fig. 1, the method for trading virtual items in a game may be implemented by the following steps:

step S101: after the target virtual prop to be traded is determined, responding to a trading waiting time set for the target virtual prop, and timing the target virtual prop according to the trading waiting time.

Specifically, the virtual items include virtual clothes, virtual weapons, virtual vehicles, virtual medicines and the like, and the target virtual item refers to a virtual item which is prepared for a transaction and needs to be configured for a virtual character controlled by a player in a game. The above determining the target virtual item to be traded at least comprises the following steps: the method comprises the steps of obtaining a target virtual item selected by a player in a virtual item display list in a game, or determining the target virtual item included in interaction information between the player and players except the player. For example, if the player says "want to buy a bottle of supplementary medicine" to another player, the terminal determines the target virtual item "supplementary medicine" in the voice, and the specific determination mode of the target virtual item can be set according to actual needs, which is not limited herein.

The transaction waiting duration is a time interval between a current time point and a transaction time point for transacting the target virtual prop, and the transaction waiting duration set for the target virtual prop specifically includes: the terminal automatically sets the transaction waiting time for the target virtual item and/or the player sets the transaction waiting time for the target virtual item, and the specific transaction waiting time can be set according to the actual situation, which is not specifically limited herein.

The timing mode comprises positive timing or countdown, and aiming at the countdown mode, the first time length for starting timing is transaction waiting time length, the first time length for ending timing is 0, and the first time length is gradually decreased along with time in the timing process; for the positive timing mode, the second time length for starting timing is 0, the second time length for ending timing is the transaction waiting time length, the second time length gradually increases with time in the timing process, and the specific timing mode can be set according to the actual situation, which is not specifically limited herein. The expression form of the timing includes a clock walking form, a digital clock change form, a progress bar change form and the like, and the expression form of the timing can be set according to the actual situation, and is not particularly limited herein.

In specific implementation, after a player enters a game, if the player wants to purchase a certain virtual item in the game after a period of time, the player can select a desired target virtual item from an item display list preset for the virtual item by a game provider, set a transaction waiting time length for the selected target virtual item, and after the setting is finished, the terminal times the target virtual item according to the target virtual item selected by the player and the transaction waiting time length set for the target virtual item.

For example, fig. 2 shows an exemplary diagram of a timing manner of a target virtual item provided in an embodiment of the present application, as shown in fig. 2, a item display list is included in a dashed box located above an arrow, in the item display list, each circle represents a virtual item, where a black circle represents a target virtual item selected by a player, after the player selects the target virtual item, a transaction waiting time may be filled in on a horizontal line in a labeling box located at a position right above the target virtual item, and the player is at "transaction time: fill 3min on the horizontal line in the next step to obtain the transaction time:3minthe postannotation information, namely: the transaction waiting time set by the player is 3 minutes, and in a solid line frame pointed by an arrow, the terminal times the target virtual item according to the transaction waiting time set by the player for the selected target virtual item, wherein the solid line frame comprises an icon representing the target virtual item, namely: black circles, under this icon include "transaction countdown: "includes, under the description, the time set by the terminal and the time stamp of the time: the time at minute Min was 03 and the time at second Sec was 00, i.e., the timekeeping time was: 03: 00 (count down for 3 minutes).

In specific implementation, after a current player enters a game, if the current player indicates that a certain virtual item in the game is ready to be purchased after a period of time in communication with another player, the terminal determines a target virtual item to be traded by the current player and the trading time for the current player to trade the target virtual item in the communication information, determines the trading waiting time of the target virtual item according to the trading time, and times the target virtual item according to the determined trading waiting time.

For example, if player a sends a voice in the game, "player B buys a bow and arrow after 3 minutes", or player a sends a voice to player B in the game, "player B buys a bow and arrow after 3 minutes", at this time, the terminal of player B recognizes the target virtual item to be traded according to the voice, that is: bow and arrow, and the transaction waiting time length set for the target virtual prop is identified, namely: and 3 minutes, and then timing the target virtual item (bow and arrow) for 3 minutes according to the transaction waiting time (3 minutes) set for the target virtual item (bow and arrow).

For another example, fig. 3 shows an exemplary diagram of another timing manner of the target virtual item provided in the first embodiment of the present application, and as shown in fig. 3, a box located above an arrow indicates a chat record of player B (current player) and player a, in the chat record of player B and player a, when player a asks player B: "do you buy prop a? "time, the terminal of player B recognizes that the received semantic meaning of the chat message is a question sentence, and determines that player a is asking player B whether to purchase item a, that is: the purchase will of player B is ambiguous, and when player B answers player a: when "Eyei repurchase at 12 noon", player B's terminal sends a chat message "do you want to buy property A? "and chat message" is taken, i.e., you buy again at 12 noon "as a whole, and carries out semantic recognition, determines the purchase intention of player B for property A, determines to purchase property A for player B, and designates the purchase time as 12 noon, namely: the terminal of player B determines that the target virtual item that player B wants to purchase is item a according to the chat record, and the terminal can determine the transaction waiting duration set for item a according to the purchase time (i.e. 12 pm) specified by player B and the current time (i.e. 11 pm: 45), that is: and 15 minutes, so that the prop A can be timed according to the transaction waiting time, in a box pointed by an arrow, a text description of the prop A and an icon (namely, a black circular frame) representing the prop A are included, and a transaction countdown is arranged below the icon of the prop A: "description, below the description, a clock for counting down, where the hands in the clock represent minute hands, the time interval between the time points represented by every two adjacent grids in the clock is 5 minutes, and after determining that the transaction waiting time of property a is 15 minutes, the clock is used to count the property a for 15 minutes, that is: in the above clock, the minute hand is pointed in the 3 o' clock direction.

Step S102: and responding to the ending of the timing of the transaction waiting time length, and performing transaction on the target virtual prop.

Specifically, if the timing mode is positive timing, when the second duration is a transaction waiting duration, the timing of the transaction waiting duration is ended; if the timing mode is countdown, when the first duration is 0, the timing of the transaction waiting duration is finished.

The trading of the target virtual item comprises the following modes: the method comprises the steps that in the first mode, after virtual resources of a preset number of virtual characters controlled by a player are deducted, the target virtual prop is stored in a prop storage backpack of the virtual character; in a second mode, after virtual resources of a preset number of virtual characters controlled by a player are deducted, the target virtual prop is configured to the virtual characters; and thirdly, the player opens a prop display list containing the target virtual prop by clicking a mall control on a graphical user interface of the terminal, selects the target virtual prop from the prop display list, and then confirms a transaction prompt control displayed on the graphical user interface of the terminal so that the terminal allocates the target virtual prop to the virtual character controlled by the player after virtual resources owned by the virtual character controlled by the player are deducted.

When the timing state is the timing end, after deducting the virtual resources of the preset number of the virtual characters controlled by the player, the target virtual item is configured to the virtual characters, wherein the timing state comprises the timing start, the timing neutralization and the timing end.

In the method for trading virtual items in game provided in the figure, if a player wants to buy a virtual item (i.e. a target virtual item) after a certain time period or at a later specific time, a trade waiting time length can be set for the target virtual item that the player wants to buy. At this time, the terminal may time the target virtual item according to the transaction waiting duration set for the target virtual item, and monitor the timing condition of the transaction waiting duration of the target virtual item in real time, and when the timing is finished, transact the target virtual item that the player wants. Compared with the prior art, the method and the device have the advantages that the transaction waiting duration can be directly set for the target virtual prop, and the player does not need to use brain memory, so that the risk of forgetting does not exist; and when the timing is finished, the player does not need to open the appointed page in the game again and perform resource exchange operation, and the target virtual item is directly and automatically traded. For the player, the method is convenient and fast, and is beneficial to improving the transaction efficiency of the target virtual prop, so that the effective control duration of the player on the virtual character is improved.

In a possible embodiment, before responding to the transaction waiting time set for the target virtual item, the method for transacting virtual items in the game may determine the transaction waiting time set for the target virtual item through the following steps S201 to S203:

step S201: and identifying whether the interactive information of the own teammate comprises first target element information, wherein the first target element information at least comprises the target virtual prop and the purchase time information of the target virtual prop.

Step S202: and when the interactive information of the own teammate comprises the first target element, displaying a first purchasing control of the target virtual prop on a terminal graphical user interface.

Specifically, the teammates refer to at least one player in the same team or in the same battle in the game, such as: the control players of all virtual characters in the same team or the same battle in the multi-player tactical competitive game; the interactive information comprises chat information and an interactive instruction, the chat information comprises voice chat information and text chat information, and the interactive instruction refers to an instruction which is received or sent by a terminal used by a current player and used for indicating to purchase a virtual item; the first target element information may include the target virtual item and purchase time information of the target virtual item, and in addition, the first target element information may also include information such as purchase quantity information of the target virtual item and a purchase object of the target virtual item; the target virtual item may be a name of the target virtual item, such as: double stars, may also be the common name for target virtual props, such as: the meteor hammer may also be an abbreviation of a target virtual prop, such as: a hammer, a flyweight, and the like, and is not particularly limited herein.

The purchase time information is used for indicating the time of the transaction target virtual prop; the purchase time information includes a time point of the trading target virtual item or a time interval between a current time point and the time point of the trading target virtual item.

In specific implementation, when the interaction information includes two pieces of information, namely the target virtual item and the purchase time information of the target virtual item, a first purchase control used for enabling a player to confirm whether to purchase the target virtual item is displayed on a terminal graphical user interface, wherein the first purchase control includes a confirmation control and a cancellation control, the player can click the confirmation control to realize the confirmation operation for the first purchase control, and the player can click the cancellation control to realize the cancellation operation for the first purchase control.

It should be noted that, the first purchase control may carry label information for describing purchase information of the target virtual item, where the purchase information includes: the information such as the target virtual item purchased, the purchase quantity of the target virtual item, the quantity of virtual resources required for purchasing the target virtual item, and the time for purchasing the target virtual item, for example, the label information is: "whether prop a was purchased after 1 minute".

It should be noted again that the display position of the first purchase control on the terminal graphical user interface may be within a preset range of the interactive information, or may be at a central position of the terminal graphical user interface, and the specific display position of the first purchase control may be set according to an actual situation, which is not specifically limited herein.

For example, fig. 4 shows an exemplary diagram of a display manner of a first purchase control provided in an embodiment of the present application, as shown in fig. 4, player a and player B are teammates of the same team or the same team in the same battle, in the interaction information between player a and player B, the terminal identifies that player B needs to purchase item a after 3 minutes, the terminal identifies a target virtual item (item a) that player B is ready to trade and purchase time information of item a (after 3 minutes) in the purchase information, and displays a first purchase control on a terminal graphical user interface of player B, the first purchase control carries an explanation label, and the label content is "whether to purchase item a after 3 minutes? And on this first purchase control there is a "yes" control indicating confirmation of the purchase and a "no" control indicating cancellation of the purchase.

Step S203: and responding to the confirmation operation aiming at the first purchase control, and determining the transaction waiting time set for the target virtual prop according to the purchase time information.

Specifically, the operation of confirming the first purchase control includes one of the following operation modes: clicking, double clicking, sliding, long pressing for a preset time period and the like. Such as: in the first purchase control shown in FIG. 4, the confirmation operation for the first purchase control is: clicking the "yes" control; the determining of the transaction waiting duration set for the target virtual item according to the purchase time information specifically includes: and when the purchasing time information comprises the time point of the transaction target virtual prop, calculating the time interval between the time point contained in the purchasing time information and the current time point, and taking the calculated time interval as the transaction waiting time set for the target virtual prop. Such as: the current time is 14: 00, purchase time information is 14 pm today: 30, the time interval between the time point contained in the calculated purchasing time information and the current time point is 30min, so that the transaction waiting time set for the target virtual prop is 30 min; when the purchasing time information is a time interval between the current time point and the time point of the trading target virtual item, taking the time interval as a trading waiting time set for the target virtual item, such as: and after the purchase time information is 3min, purchasing the target virtual prop, and setting the transaction waiting time for the target virtual prop to be 3 min.

In specific implementation, when a player determines to purchase the target virtual item, the player confirms the first purchase control, and at this time, the terminal receives a purchase request and sets transaction waiting time length for the target virtual item according to the recognized purchase time information.

To sum up, the terminal can automatically identify the purchase information of the target virtual prop of the player in the interactive information of the teammates of the own party, and display the first purchase control of the target virtual prop on the terminal graphical user interface of the player according to the purchase information to determine whether the player needs to purchase the target virtual prop again, and after the player determines to purchase the target virtual prop, the terminal sets a transaction waiting time length for the target virtual prop according to the purchase time information in the purchase information. In the process, if the player wants to purchase the target virtual prop, only the confirmation operation needs to be executed on the first purchase control, so that the method is convenient and fast, the game experience of the player is improved, and meanwhile, the flexibility of virtual prop transaction is improved.

In a possible embodiment, before responding to the transaction waiting duration set for the target virtual item, the method for transacting virtual items in the game may further determine the transaction waiting duration set for the target virtual item through the following steps S301 to S303:

step S301: and identifying whether the interaction information of the own teammate comprises second target element information, wherein the second target element information at least comprises the target virtual prop.

Step S302: and when the interactive information of the own teammate comprises the second target element, displaying a second purchasing control of the target virtual prop on a terminal graphical user interface.

Specifically, the second target element information may include the target virtual item, and in addition, the second target element information may further include information such as purchase time information of the target virtual item and purchase quantity information of the target virtual item. For the description of the own teammate, the description of the interaction information, and the description of the second purchase control, the description of the first purchase control are referred to above, and further description is omitted here.

Step S303: and responding to the determination operation of the second purchase control, and displaying a first setting control for setting the transaction waiting time length in the associated area of the target virtual prop.

Specifically, for the description of the determining operation of the second purchase control, refer to the description of the determining operation of the first purchase control, and are not described herein again. The association area of the target virtual item includes: within the preset range of the target virtual prop, for example: taking the icon of the target virtual prop as a circle center, and presetting a circle with a distance as a radius; or an area containing identification information of the target virtual item, such as: and the prompt box comprises a target virtual prop icon. The first setting control comprises a clock with a pointer to be stirred, or an area to be filled, or at least one time control to be selected; when the first setting control is a clock to be shifted, a player can set a transaction waiting time length by shifting a pointer in the clock; when the first setting control comprises an area to be filled in, the player can realize the operation of setting the transaction waiting time length by filling the transaction waiting time length in the area to be filled in; when the first setting control comprises at least one time control to be selected, the player can realize the operation of setting the transaction waiting time length by selecting the required time control.

For example, fig. 5 is an exemplary diagram illustrating a setting manner of a first setting control provided in an embodiment of the present application, and as shown in fig. 5, in the clock in fig. 5, a time interval between time points indicated by two adjacent marked lines is 5 minutes, and a text "purchase countdown" is set below the clock: 00min "; the player can set the countdown duration (i.e., the transaction wait duration) by toggling the pointer in the clock in the toggle direction (clockwise), and when the player toggles the pointer, the terminal automatically determines the duration pointed by the pointer as the countdown duration set by the player, that is: the number in the caption below the clock changes with the pointing direction of the pointer, for example, the current pointer points to 0 o' clock direction, and the number in the caption below the clock is 00.

Fig. 6 is an exemplary diagram illustrating another setting manner of the first setting control provided in the first embodiment of the present application, and as shown in fig. 6, a text description and a "determination" control below the text description are provided in a block of fig. 6, and when the text description "purchase countdown: in Min, the player can set the countdown duration (i.e., the transaction waiting duration) by filling in the numbers underlined, and when the player completes the filling, the player can click the "confirm" control to set the transaction waiting duration.

Fig. 7 is an exemplary diagram illustrating another setting manner of a first setting control provided in the first embodiment of the present application, and as shown in fig. 7, in a block of fig. 7, four option controls for counting down time duration are preset, and are respectively marked with characters of 5min, 10min, 15min, and 20min, and a text "purchase countdown" is set above the four option controls: if the player wants to set the transaction waiting time of 20min, the player can click the option control marked with the 20min typeface (after clicking, the option control frame marked with the 20min typeface becomes thick, and the upper text description becomes 'purchase countdown: 20 min'), and click the 'confirm' control to set the transaction waiting time.

In specific implementation, after a player determines to purchase a target virtual item, the terminal needs to determine the time for purchasing the target virtual item, so that a first setting control is displayed on a terminal graphical user interface of the player, so that the player can set the time for purchasing the target virtual item (namely, the transaction waiting time length) through the first setting control.

Step S304: and responding to the time length setting operation aiming at the first setting control, and determining the transaction waiting time length set for the target virtual prop.

Specifically, after the player sets the transaction waiting duration of the target virtual item through the first setting control, the terminal may determine the transaction waiting duration set by the player as the transaction waiting duration set for the target virtual item.

To sum up, in the embodiment of the present application, when the purchase time information of the target virtual item cannot be determined, a first setting control for setting the transaction waiting duration is displayed on a terminal graphical user interface of the player, so that the player can autonomously set the transaction waiting duration of the target virtual item to be purchased through the first setting control, and determine the transaction duration set by the player as the transaction waiting duration set for the target virtual item.

In a possible embodiment, before responding to the transaction waiting duration set for the target virtual item, the method for transacting virtual items in the game may further determine the transaction waiting duration set for the target virtual item through the following steps S401 and S402:

step S401: and responding to the specified operation aiming at the target virtual prop, and displaying a second setting control for setting the transaction waiting time length in the associated area of the target virtual prop.

Step S402: and responding to the time length setting operation aiming at the second setting control, and determining the transaction waiting time length set for the target virtual prop.

Specifically, the designated operation includes operations such as clicking, double-clicking, sliding, dragging, and multiple continuous clicks; for a description about the associated region of the target virtual item, reference may be made to the description about the associated region, for a description about the second setting control, reference may be made to the description about the first setting control, for a description about setting the transaction waiting duration by using the second setting control, reference may be made to the description about setting the transaction waiting duration by using the first setting control, and for a description about responding to the duration setting operation for the second setting control, and determining the transaction waiting duration set for the target virtual item, reference may be made to the description about responding to the duration setting operation for the first setting control, and determining the transaction waiting duration set for the target virtual item, which is not described herein again.

When the player wants to purchase the virtual item, the player can select a target virtual item to be purchased through a designated operation in the item display list, after the player selects the target virtual item, the terminal displays a second setting control for setting transaction waiting duration in an associated area of the virtual item, and after the player sets the transaction waiting duration through the second setting control, the transaction waiting duration is determined as the transaction waiting duration set for the target virtual item.

For example, fig. 8 shows an exemplary diagram of a setting manner of a transaction waiting duration of a target virtual item provided in an embodiment of the present application, as shown in fig. 8, in an item display list located above an arrow, each circle represents a virtual item, a black circle represents a target virtual item that a player wants to purchase, the player realizes selection of the target virtual item by sliding an icon of the target virtual item according to a sliding route, in a square box pointed by the arrow, an icon of the target virtual item obtained by sliding exists on the left side of the square box, a clock for setting the transaction waiting duration exists on the right side of the icon, the player can dial a pointer in the clock according to a preset dialing direction to realize setting of the transaction waiting duration, and a description text "time purchase" exists above the clock: 05min ", wherein the numbers in the description words can change along with the pointing direction of the pointer, for example, when the pointer is turned to a clock direction, the description words are: "purchase at regular time: 05min ".

The embodiment of the application provides another determination mode of the target virtual prop through the above mode, namely: the player can actively execute appointed operation on the virtual item to be purchased, namely, the virtual item can be determined as the target virtual item to be traded, the player can also set a transaction waiting duration for the target virtual item through the second setting control, and the mode is favorable for improving interactivity with the player, namely, game experience of the player and flexibility of virtual item transaction.

In a possible embodiment, the method for trading virtual items in the game further comprises the following implementation modes:

and before the timing is finished, responding to the modification operation aiming at the transaction waiting time length, and timing the target virtual prop according to the modified transaction waiting time length.

Specifically, when timing starts, timing time is displayed in an icon preset range of the target virtual item, the timing time comprises countdown time or count-up time, and before timing ends, if a player wants to modify the timing time (i.e. modify the transaction waiting time), modification can be performed by performing modification operation on the timing time (i.e. the transaction waiting time), and the modification operation comprises: clicking the timing time, and changing the timing time after a cursor appears; or the time is timed by clicking, and the transaction waiting time is reset on the displayed modification interface, wherein the clicking operation can also be double-click, sliding, multiple continuous clicking, long-press preset time period and other operations, and is specifically set according to the actual situation, and is not specifically limited herein.

For example, fig. 9 shows an example diagram of a modification manner of a transaction waiting duration provided in an embodiment of the present application, as shown in fig. 9, above an arrow, each circle in a prop display list represents a virtual prop, and a black circle represents a target virtual prop. When the target virtual prop is timed, a label of countdown time (namely:) is displayed below the target virtual prop "2minPost-purchase "), when the player wants to modify the countdown time, the player may click on the time on the countdown time (i.e.: 2min on the horizontal line), the time modification comment is displayed, and after the time modification comment is displayed, the player can reset the countdown time (after the time modification comment is displayed) on the displayed time modification commentNamely: transaction wait length), the player modifies in the text "to: fill out the reset countdown time (i.e.: 3min) on the horizontal line in "and the text in the time modification comment becomes" modified to:3min"after modification, the label of the countdown time of the target virtual item in the item display list changes, so"2minAfter purchase "become"3minPost purchase ".

Through the mode, a mode of modifying the countdown time (transaction waiting time length) is provided for the player, the countdown time can be changed by the player in real time before the timing is finished, the experience of the player for purchasing the target virtual item is favorably optimized, and meanwhile, the flexibility of adjusting the transaction waiting time length is improved.

In a possible embodiment, the method for trading virtual items in the game can be further implemented by the following steps S501 and S502:

step S501: before timing is finished, whether virtual resources owned by a controlled virtual role meet virtual resource transaction conditions of the target virtual item is identified, wherein the controlled virtual role is a virtual role for transacting the target virtual item.

Specifically, the controlled virtual character refers to a virtual character of a transaction target virtual item used by a current game account in a game, the current game account is a game account logged in the game application, wherein one game account may own at least one virtual character, and for each virtual character, a virtual resource owned by the virtual character is a resource used for exchanging the target virtual item, such as: the energy value, which is a virtual resource owned by the virtual character (set according to actual conditions), may be equal to or different from a virtual resource owned by a game account to which the virtual character belongs, that is: virtual resources owned by different virtual characters under the same game account are different, and the virtual resource transaction condition comprises at least one of the following conditions: firstly, the number of the virtual resources is greater than or equal to the number of virtual resources preset for the target virtual prop; secondly, in at least one resource included in the virtual resources, a specified resource preset for the target virtual prop exists; the specific virtual transaction condition may be set according to actual conditions, and is not limited in detail here.

Step S502: if the virtual resources owned by the controlled virtual role meet the virtual resource transaction conditions of the target virtual prop, displaying a first prompt control on a terminal graphical user interface; the first prompt control comprises prompt information used for representing that the target virtual prop is about to be traded and/or timing remaining duration information.

When the virtual resource transaction condition includes the first condition, the virtual resource owned by the controlled virtual character satisfies the virtual resource transaction condition of the target virtual item, which specifically includes: the number of virtual resources owned by the controlled virtual character is greater than or equal to the number of virtual resources preset for the target virtual prop; when the virtual resource transaction condition includes the first condition, the virtual resource owned by the controlled virtual character satisfies the virtual resource transaction condition of the target virtual item, which specifically includes: the virtual resources owned by the controlled virtual role comprise at least one resource, and the specified resource preset for the target virtual prop exists.

When the virtual resources owned by the controlled virtual character meet the virtual resource transaction conditions, the virtual resources owned by the controlled virtual character can exchange the target virtual prop, namely: the automatic trading of the target virtual item can be completed without the participation of the player. At this time, the transaction situation of the target virtual item may be described to the player, for example, a first prompt control is displayed on a terminal graphical user interface of the player, and the first prompt control may include: the prompt that the target virtual item is about to trade may further include a countdown time (i.e., information on the remaining time period).

For example, fig. 10 shows an exemplary diagram of a display method of a first prompt control provided in an embodiment of the present application, and as shown in fig. 10, a largest box in fig. 10 represents a terminal graphical user interface, and a second box displayed in a central area of the terminal graphical user interface represents the first prompt control, where in the first prompt control, a black circle isIcon, caption of target virtual item to be purchased "3 minutesThe "buy automatically" is then used to prompt the player to purchase time, and the "x" icon at the top right of the caption is used to cause the player to close the first prompt control.

It should be noted that the display area of the first prompt control may be a central area of the terminal graphical user interface, or may be within a preset range of the target virtual item in the mall, and the specific display area is set according to an actual situation, which is not specifically limited herein. The display timing of the first prompt control may also be set according to an actual situation, for example, the display may be performed when the timer starts, or the display may be performed when the timer counts down for a preset time period, and the specific display timing is not specifically limited herein.

In the process, whether the virtual resources owned by the virtual character controlled by the player in the game meet the virtual resource condition of the target virtual prop can be judged in advance before the timing is finished, so that the situation that the transaction fails due to the fact that the virtual resources owned by the virtual character controlled by the player in the game are insufficient to purchase the target virtual prop when the timing is finished can be avoided, and the success rate of the transaction when the timing is finished is improved.

In a possible embodiment, the method for trading virtual items in the game further comprises the following implementation modes:

and if the virtual resources owned by the controlled virtual role meet the virtual resource transaction conditions of the target virtual prop, displaying one or more of a purchase confirmation control, a purchase cancellation control and an immediate purchase control on a terminal graphical user interface.

Specifically, the purchase confirmation control is a control for a player to confirm purchase of the target virtual item, the purchase cancellation control is a control for the player to cancel purchase of the target virtual item, and the immediate purchase control is a control for the player to realize immediate purchase of the target virtual item; the display areas of the purchase confirmation control, the purchase cancellation control and the immediate purchase control can be displayed on the first prompt control, or can be displayed in other areas except the first prompt control on the terminal graphical user interface, and the specific display areas can be set according to actual conditions, and are not limited specifically here.

When the virtual resources owned by the controlled virtual role meet the virtual resource transaction conditions, the method comprises the following steps: when the virtual resources of the controlled virtual character can realize the transaction of the target virtual resources, in order to determine the current requirement of the player on the target virtual resources again, the embodiment of the application can display a purchase confirmation control on a terminal graphical user interface, and when the player operates the purchase confirmation control, the player really wants to purchase the target virtual item; the embodiment of the application can also display a purchase cancellation control on a terminal graphical user interface, and when a player operates the purchase cancellation control, the player does not want to purchase the target virtual item at present; the embodiment of the application can also display an immediate purchase control on a terminal graphical user interface, and when the player operates the immediate purchase control, the player is explained to purchase the target virtual item. In addition, any two controls of the purchase confirmation control, the purchase cancellation control and the immediate purchase control can be displayed at the same time or the three controls can be displayed at the same time, the method can confirm the current requirement of the player on the target virtual prop, and the method is favorable for improving the accuracy and the flexibility of the target virtual prop transaction.

For example, fig. 11 shows an exemplary diagram of a display manner of a control provided in the first embodiment of the present application, as shown in fig. 11, a maximum box in fig. 11 represents a terminal graphical user interface, and in a first prompt control on the terminal graphical user interface, except for an icon of a target virtual item (i.e., a black circle) and a text description for prompting a player to automatically purchase information "3 minutesThe post automatic purchase and the top right corner of the caption are used for closing the X control of the first prompting control, and the post automatic purchase and the top right corner of the caption also comprise a purchase confirmation control, a purchase cancellation control and an immediate purchase control. The text on the purchase confirmation control is "confirm purchase", the text on the purchase cancellation control is "cancel purchase", and the text on the immediate purchase control is "immediate purchase".

In a possible embodiment, the trading the target virtual item in response to the timing of the trade waiting time length ending may be implemented by:

and after responding to the operation of the purchase confirmation control, responding to the end of timing of the transaction waiting time length, and performing transaction on the target virtual prop.

Specifically, the purchase confirmation control includes: a graphic area for clicking and a control form such as a slider for sliding. When the purchase confirmation control includes a graphical area for clicking, the above operations for the purchase confirmation control include: clicking the graphic area, double clicking the graphic area, long pressing the graphic area in a preset time period and the like; when the purchase confirmation control includes a slider for sliding, the operations described above with respect to the purchase confirmation control include: dragging the slider to a designated area, sliding the slider according to a designated route, and the like. The form of the purchase confirmation control and the operation of the purchase confirmation control may be set according to actual conditions, and are not specifically limited herein.

When a player operates the purchase confirmation control before timing is finished, the terminal monitors the timing state of the transaction waiting time of the target virtual item in real time, and when the timing state is the timing end, the transaction is carried out on the target virtual item, wherein the timing state comprises the timing start, the timing neutralization and the timing end.

In the process, when the two conditions of the operation of the player on the purchase confirmation control and the timing end are both met, the transaction of the target virtual prop is realized, and the mode is favorable for improving the transaction accuracy and flexibility of the target virtual prop.

In a possible embodiment, the method for trading virtual items in the game further comprises the following implementation modes:

stopping the timing of the target virtual item in response to the operation of the purchase cancellation control; or

And responding to the operation aiming at the immediate purchase control, and trading the target virtual prop.

Specifically, when the player does not need to purchase the target virtual item before timing is finished, the player can cancel the transaction of the target virtual item by operating the purchase cancellation control, and at this time, timing is stopped, and the timing stopping performance can be a display identifier of timing related to the transaction of the target virtual item on a terminal graphical user interface; when a player wants to purchase a target virtual item immediately, the player can operate the instant purchase control to immediately purchase the target virtual item, at the moment, timing is finished, the target virtual item is traded, and by means of the above mode, the cancel purchase demand or the immediate purchase demand of the player can be met, the player experience is improved, and the flexibility of virtual item trading is improved.

It should be noted that, for the description of the operation of the purchase canceling control and the description of the operation of the immediate purchase control, reference may be made to the description of the operation of the purchase confirming control, which is not described herein again.

In a possible embodiment, the method for trading virtual items in the game further comprises the following implementation modes:

and if the virtual resources owned by the controlled virtual role do not meet the virtual resource transaction conditions of the target virtual prop, displaying a second prompt control on a terminal graphical user interface. And the second prompt control displays prompt information used for indicating that the virtual resource owned by the controlled virtual character does not meet the virtual resource transaction condition of the target virtual prop, and/or difference information between the virtual resource owned by the controlled virtual character and the virtual resource transaction condition of the target virtual prop.

Specifically, when the virtual resource owned by the controlled virtual role does not satisfy the virtual resource transaction condition, the method comprises the following steps: when the virtual resources owned by the controlled virtual character are not enough to purchase the target virtual item, the method for trading the virtual item in the game provided by the embodiment of the application cannot realize the trading of the target virtual item, that is, the target virtual item cannot be traded after timing is finished, so that a second prompt control needs to be displayed on a terminal graphical user interface of the player, and the second prompt control not only can include prompt information that the virtual resources owned by the controlled virtual character do not meet the trading conditions of the virtual resources, such as: the prompt message is that the gold coin of the current virtual character is insufficient and the current virtual character cannot be purchased, and the prompt message can also include difference value information between the virtual resource currently owned by the controlled virtual character and the virtual resource transaction condition of the target virtual prop, namely: the amount or type of virtual resources that the player is required to replenish; through the second prompt control, the player is clearly prompted of the virtual resources of the current virtual character which need to be supplemented, and the number or the type of the virtual resources which the player needs to supplement can be prompted, so that the player can supplement the virtual resources under the condition of knowing accurate information, the efficiency of supplementing the virtual resources by the player is improved, and the transaction success rate of the target virtual prop after timing is finished is improved.

For example, fig. 12 is an exemplary diagram illustrating a display manner of a second prompt control provided in an embodiment of the present application, and as shown in fig. 12, the largest box in fig. 12 represents a graphical user interface of a terminal, and a box representing the second prompt control is displayed at a central position of the largest box, and a prompt text "gold coin is insufficient, cannot be purchased, and 30 gold coins | is included in the box of the second prompt control! And an X closing prompt control is arranged on the upper right side of the prompt text, and when the player clicks the closing prompt control, the terminal closes a second prompt control on the terminal graphical user interface.

It should be noted that, for the display description of the second prompt control, refer to the above description of the display of the first prompt control, which is not described herein again.

In a possible embodiment, the method for trading virtual items in the game further comprises the following implementation modes:

and when the difference information between the virtual resource currently owned by the controlled virtual character and the virtual resource transaction condition of the target virtual prop is zero, responding to the end of timing of the transaction waiting time length, and performing transaction on the target virtual prop.

Specifically, after the player supplements the virtual resources of the controlled virtual character, the terminal determines whether the difference information between the resources currently owned by the controlled virtual character and the virtual resource transaction conditions is 0, and if the difference information is 0, the automatic transaction of the target virtual prop can be realized. At this time, the timing state of the transaction waiting time of the target virtual item is judged in real time, and when the timing state is the end of timing, the target virtual item is automatically transacted, wherein the description of the timing state refers to the description of the timing state, and is not repeated herein; by the above mode, the terminal can automatically monitor the timing state without participation after the player supplements enough virtual resources for the controlled virtual character, and automatically transacts the target virtual prop when timing is finished, so that the experience of a user is improved, and the transaction flexibility of the virtual prop is improved.

In another possible embodiment, when the timing is over, the player does not supplement the virtual resource owned by the controlled virtual character or the virtual resource currently owned by the controlled virtual character does not meet the virtual resource transaction condition, the target virtual item is automatically cancelled, and a prompt message for indicating that the target virtual item is cancelled to be purchased and/or a reason for cancelling the target virtual item to be purchased is displayed on the terminal graphical interface.

Example two

Fig. 13 is a schematic structural diagram illustrating a virtual item transaction apparatus in a game according to a second embodiment of the present application, where as shown in fig. 13, the apparatus includes:

the first response module 1301 is configured to, after determining a target virtual item to be traded, respond to a trade waiting duration set for the target virtual item, and time the target virtual item according to the trade waiting duration;

a second response module 1302, configured to respond to that the timing of the transaction waiting duration is ended, and perform a transaction on the target virtual item.

In a possible embodiment, the first response module 1301, before being configured to respond to the transaction waiting duration set for the target virtual item, is further configured to:

identifying whether the interactive information of own teammates comprises first target element information, wherein the first target element information at least comprises the target virtual prop and purchase time information of the target virtual prop;

when the interactive information of the own teammate comprises the first target element, displaying a first purchasing control of the target virtual prop on a terminal graphical user interface;

and responding to the confirmation operation aiming at the first purchase control, and determining the transaction waiting time set for the target virtual prop according to the purchase time information.

In a possible embodiment, the first response module 1301, before being configured to respond to the transaction waiting duration set for the target virtual item, is further configured to:

identifying whether the interaction information of own teammates comprises second target element information, wherein the second target element information at least comprises the target virtual prop;

when the interactive information of the own teammate comprises the second target element, displaying a second purchasing control of the target virtual prop on a terminal graphical user interface;

responding to the determination operation of the second purchase control, and displaying a first setting control for setting the transaction waiting time length in the associated area of the target virtual prop;

and responding to the time length setting operation aiming at the first setting control, and determining the transaction waiting time length set for the target virtual prop.

In a possible embodiment, the first response module 1301, before being configured to respond to the transaction waiting duration set for the target virtual item, is further configured to:

responding to the specified operation aiming at the target virtual prop, and displaying a second setting control for setting the transaction waiting time length in the associated area of the target virtual prop;

and responding to the time length setting operation aiming at the second setting control, and determining the transaction waiting time length set for the target virtual prop.

In a possible embodiment, the apparatus for trading virtual items in the game further comprises:

and the timing module is used for responding to the modification operation aiming at the transaction waiting time before the timing is finished and timing the target virtual prop according to the modified transaction waiting time.

In a possible embodiment, the apparatus for trading virtual items in the game further comprises:

the identification module is used for identifying whether virtual resources owned by a controlled virtual role meet virtual resource transaction conditions of the target virtual item before timing is finished, wherein the controlled virtual role is a virtual role for transacting the target virtual item;

the first display module is used for displaying a first prompt control on a terminal graphical user interface if the virtual resources owned by the controlled virtual role meet the virtual resource transaction conditions of the target virtual prop; the first prompt control comprises prompt information used for representing that the target virtual prop is about to be traded and/or timing remaining duration information.

In a possible embodiment, the apparatus for trading virtual items in the game further comprises:

and the second display module is used for displaying one or more of a purchase confirmation control, a purchase cancellation control and an immediate purchase control on a terminal graphical user interface if the virtual resources owned by the controlled virtual role meet the virtual resource transaction conditions of the target virtual prop.

In a possible implementation, the second response module 1302 is specifically configured to:

and after responding to the operation of the purchase confirmation control, responding to the end of timing of the transaction waiting time length, and performing transaction on the target virtual prop.

In a possible embodiment, the apparatus for trading virtual items in the game further comprises:

a termination module, configured to stop timing of the target virtual item in response to an operation directed to the purchase cancellation control; or

And the first transaction module is used for responding to the operation aiming at the immediate purchase control and transacting the target virtual prop.

In a possible embodiment, the apparatus for trading virtual items in the game further comprises:

the third display module is used for displaying a second prompt control on a terminal graphical user interface if the virtual resources owned by the controlled virtual role do not meet the virtual resource transaction conditions of the target virtual prop; and the second prompt control displays prompt information used for indicating that the virtual resource owned by the controlled virtual character does not meet the virtual resource transaction condition of the target virtual prop, and/or difference information between the virtual resource owned by the controlled virtual character and the virtual resource transaction condition of the target virtual prop.

In a possible embodiment, the apparatus for trading virtual items in the game further comprises:

and the second transaction module is used for responding to the end of timing of the transaction waiting time length and transacting the target virtual prop when the difference information between the virtual resource currently owned by the controlled virtual role and the virtual resource transaction condition of the target virtual prop is zero.

The apparatus provided in the embodiments of the present application may be specific hardware on a device, or software or firmware installed on a device, etc. The device provided by the embodiment of the present application has the same implementation principle and technical effect as the foregoing method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiments where no part of the device embodiments is mentioned. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the foregoing devices and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.

EXAMPLE III

Fig. 14 shows a schematic structural diagram of a computer device provided in the third embodiment of the present application, and as shown in fig. 14, the device includes a memory 1401, a processor 1402, and a computer program stored in the memory 1401 and capable of running on the processor 1402, where the processor 1402 implements a virtual item transaction method in the game when executing the computer program.

Specifically, the memory 1401 and the processor 1402 can be general memories and processors, which are not limited in particular, and when the processor 1402 runs a computer program stored in the memory 1401, the virtual item trading method in the game can be executed, so that the problems that the trading efficiency of the virtual item is reduced and the effective control duration of the player on the virtual character in the prior art is reduced are solved.

Example four

The embodiment of the application also provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the virtual item trading method in the game are executed.

Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, and the like, and when a computer program on the storage medium is run, the virtual item trading method in the game can be executed, so that the problems that the trading efficiency of the virtual item is reduced and the effective control duration of the player on the virtual character in the prior art is reduced are solved.

In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.

The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.

Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the present disclosure, which should be construed in light of the above teachings. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

29页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种根据游戏交流记录生成文本标签的方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类