Virtual resource purchasing method and device, equipment, storage medium and program product
By allowing players to set the price and quantity of virtual resources in the game to purchase them at a price lower than or equal to the initial price, the problem of cumbersome operation and low efficiency in existing technologies is solved, achieving the effect of simplifying the process and improving efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2026-03-10
AI Technical Summary
In the game, players need to purchase virtual resources in batches at different price points, which leads to cumbersome operations, increased transaction complexity, and low purchasing efficiency.
This invention provides a method for purchasing virtual resources, allowing players to set the price and quantity of the target virtual resource in the purchase settings interface and purchase it at a second price that is less than or equal to the initial price, thus simplifying the purchase process.
By setting their own prices and quantities, players can quickly complete bulk purchases, simplifying the process, saving time and effort, and improving the efficiency of purchasing virtual resources.
Smart Images

Figure CN121623286A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technology, and in particular to a method, apparatus, electronic device, computer-readable storage medium, and computer program product for purchasing virtual resources. Background Technology
[0002] In games using this technology, when players purchase virtual resources (i.e. goods) in large quantities, they are usually only allowed to make bulk purchases at a fixed price. If the stock at lower prices is insufficient, players can only purchase different quantities of virtual resources in batches at different price levels. This purchasing method is not only cumbersome to operate, but also increases the complexity and time cost of transactions, resulting in low efficiency in purchasing virtual resources. Summary of the Invention
[0003] This application provides a method, apparatus, electronic device, computer-readable storage medium, and computer program product for purchasing virtual resources, which can improve the efficiency of purchasing virtual resources.
[0004] The technical solution of this application embodiment is implemented as follows:
[0005] This application provides a method for purchasing virtual resources, including:
[0006] In the purchase settings interface, in response to the purchase settings operation for the target virtual resource, the first price of the target virtual resource and the quantity of the target virtual resource are displayed;
[0007] In response to a purchase operation for the target virtual resource, the quantity of the target virtual resource is purchased at a second price, the second price being less than or equal to the first price.
[0008] This application provides a device for purchasing virtual resources, comprising:
[0009] The display module is used to display, in response to a purchase setting operation for a target virtual resource, the first price of the target virtual resource and the quantity of the target virtual resource in the purchase settings interface.
[0010] A purchasing module is configured to purchase the quantity of the target virtual resources at a second price in response to a purchase operation for the target virtual resources, wherein the second price is less than or equal to the first price.
[0011] In the above scheme, the device further includes a second display module, which is used to display a virtual resource display interface including at least one virtual resource; in response to a selection operation of a target virtual resource among the at least one virtual resource, the virtual resource display interface displays detailed information of the target virtual resource and a first purchase control of the target virtual resource; wherein, the detailed information includes explanatory information for introducing the target virtual resource and at least one selling price of the target virtual resource; based on the detailed information of the target virtual resource, in response to a trigger operation of the first purchase control, the purchase settings interface for purchasing the target virtual resource is displayed.
[0012] In the above scheme, the device further includes a detection module, which is configured to detect the purchase permission of the account that triggered the selection operation in response to a selection operation of a target virtual resource among the at least one virtual resource, and obtain a permission detection result; the second display module is further configured to display the first purchase control in an active state if the permission detection result indicates that the account has the purchase permission of the target virtual resource; and to display the purchase settings interface for purchasing the target virtual resource in response to a trigger operation of the first purchase control in an active state.
[0013] In the above scheme, the purchase setting operation includes a price setting operation and a quantity setting operation; the device further includes a third display module, which is used to display the initial price and initial quantity of the target virtual resource in the purchase setting interface, wherein the initial price is less than or equal to the first price; the display module is also used to display the first price obtained by setting the price based on the initial price in response to the price setting operation, and to display the quantity obtained by setting the quantity based on the initial quantity in response to the quantity setting operation.
[0014] In the above scheme, the device further includes a fourth display module, which is used to display a price adjustment control for adjusting the initial price in the purchase settings interface; the display module is also used to, based on the price adjustment control and in response to the price setting operation, display the process of adjusting the initial price during the execution of the price setting operation, and use the adjusted initial price as the first price.
[0015] In the above scheme, the price adjustment control includes a slider and a slider disposed on the slider, and the price setting operation includes a sliding operation on the slider; the display module is further configured to, in response to the sliding operation on the slider, display the process of the slider sliding on the slider, and during the sliding process of the slider, display the process of the initial price changing as the slider slides; in response to the slider stopping sliding on the slider, display the changed initial price, and use the changed initial price as the first price.
[0016] In the above scheme, the price adjustment control includes an increase control for increasing the price and a decrease control for decreasing the price; the price setting operation includes a trigger operation for at least one of the increase control and the decrease control; the display module is further configured to display the process of the initial price change in response to at least one trigger operation continuously executed for at least one of the increase control and the decrease control, and to use the changed initial price as the first price.
[0017] In the above scheme, the device further includes a fifth display module, which is used to display multiple price options of the target virtual resource in the purchase settings interface; wherein each price option corresponds to a selling price of the target virtual resource, the price option corresponding to the lowest selling price of the target virtual resource is in a selected state, and the lowest selling price corresponding to the selected price option is the same as the initial price.
[0018] In the above scheme, the price setting operation includes a selection operation for a first price option; the display module is further configured to, in response to the selection operation for the first price option among the plurality of price options, switch the price option corresponding to the lowest selling price to a selected state, switch the first price option to a selected state, and control the lowest selling price corresponding to the first price option as the first price; wherein, the selling price corresponding to the first price option is different from the lowest selling price.
[0019] In the above scheme, the price setting operation includes a selection operation for the second price option; the display module is further configured to, in response to the selection operation for the second price option among the plurality of price options, control the second price option and the third price option to be in a selected state, and control the selling price corresponding to the second price option as the first price; wherein, the third price option is a price option whose corresponding selling price is between the selling price corresponding to the second price option and the initial price.
[0020] In the above scheme, the device further includes a control module, which is used to control the state of the second price option and the fifth price option from a selected state to an unselected state in response to the deselection operation of the fourth price option; wherein, the fourth price option is any price option whose corresponding selling price is between the selling price corresponding to the second price option and the initial price, and the fifth price option is a price option whose corresponding selling price is between the selling price corresponding to the second price option and the selling price corresponding to the fourth price option; the display module is further used to control the selling price corresponding to the fourth price option as the first price.
[0021] In the above scheme, the device further includes a sixth display module, which is used to display a quantity adjustment control for adjusting the initial quantity in the purchase settings interface; the display module is also used to adjust the initial quantity to the quantity in response to a quantity setting operation triggered based on the quantity adjustment control.
[0022] In the above scheme, the device further includes a seventh display module, which is used to display a quantity editing area in the associated area of the initial quantity; the display module is also used to display the edited quantity in response to a quantity setting operation triggered based on the quantity editing area, and to use the edited quantity as the quantity of the target virtual resource.
[0023] In the above scheme, the target virtual resource has multiple selling prices. The device further includes an eighth display module, which is used to display a price adjustment control for adjusting the initial price and multiple price options for the target virtual resource in the purchase settings interface. Each price option corresponds to a selling price of the target virtual resource, and the price option corresponding to the lowest selling price of the target virtual resource is selected. The initial price is the lowest selling price among the multiple selling prices, and the initial price is less than or equal to the first price. The display module is also used to display the first price obtained by setting a price based on the initial price, in response to the price setting operation, based on the price adjustment control, the initial price, and the multiple price options including the selected price option.
[0024] In the above scheme, the display module is further configured to respond to a price setting operation triggered by the price adjustment control, and during the execution of the price setting operation, display the process of adjusting the initial price, and use the adjusted initial price as the first price; wherein, during the adjustment of the initial price, the sixth price option is switched from an unselected state to a selected state, and the sixth price option is a price option in which the corresponding selling price is less than or equal to the adjusted initial price.
[0025] In the above scheme, the price setting operation includes a selection operation for the seventh price option, and the price adjustment control includes a slider and a slider; the display module is further configured to respond to the selection operation for the seventh price option, control the seventh price option and the eighth price option to be in a selected state, and control the slider to slide from a first position to a second position on the slider; wherein, the eighth price option is a price option whose corresponding selling price is between the selling price corresponding to the seventh price option and the initial price, and the second position is associated with the selling price corresponding to the seventh price option; the selling price corresponding to the seventh price option is used as the first price of the target virtual resource.
[0026] In the above scheme, the device further includes a ninth display module, which is used to display a success prompt message if the target virtual resource is successfully purchased; wherein the success prompt message is used to indicate that the target virtual resource has been successfully purchased, and includes the quantity of the target virtual resource that was successfully purchased.
[0027] In the above scheme, the device further includes a tenth display module, which is used to display a confirmation control if the target virtual resource is successfully purchased. The confirmation control is used to jump to the virtual resource display interface. In response to the trigger operation of the confirmation control, the device jumps from the purchase settings interface to the virtual resource display interface and displays the purchase details in the virtual resource display interface.
[0028] In the above scheme, the device further includes an eleventh display module, which is used to display a failure prompt message in the purchase settings interface if the purchase of the target virtual resource fails; wherein the failure prompt message is used to indicate that at least one of the price and quantity of the target virtual resource needs to be reset.
[0029] In the above scheme, the selling price of the target virtual resource is at least one; the device further includes a twelfth display module, which is used to display the inventory of the target virtual resource at each of the selling prices in the purchase setting interface; the display module is also used to display, in response to a purchase setting operation for the target virtual resource, a first price of the target virtual resource and the quantity of the target virtual resource based on the inventory of the target virtual resource at each of the selling prices; wherein the quantity of the target virtual resource is less than or equal to the inventory corresponding to the selling price indicated by the second price.
[0030] In the above scheme, the first price is at least one; the device further includes a thirteenth display module, which is used to display a reference purchase fee in the purchase settings interface; wherein the reference purchase fee is determined based on the product of the highest price among at least one first price and the quantity of the target virtual resource; the purchase module is further used to purchase the quantity of target virtual resources at a second price in response to a purchase operation for the target virtual resource based on the reference purchase fee.
[0031] This application provides an electronic device, including:
[0032] Memory is used to store executable instructions or computer programs.
[0033] The processor, when executing computer-executable instructions or computer programs stored in the memory, implements the virtual resource purchasing method provided in the embodiments of this application.
[0034] This application provides a computer-readable storage medium storing computer-executable instructions or computer programs, which, when executed by a processor, implement the virtual resource purchasing method provided in this application.
[0035] This application provides a computer program product comprising computer-executable instructions or a computer program stored in a computer-readable storage medium. A processor of an electronic device reads the computer-executable instructions or computer program from the computer-readable storage medium and executes the computer-executable instructions or computer program, causing the electronic device to perform the virtual resource purchasing method provided in this application.
[0036] The embodiments of this application have the following beneficial effects:
[0037] In the purchase settings interface, based on the purchase settings operation, players can set the first price and quantity of the target virtual resource, and then purchase the corresponding quantity of the target virtual resource at a second price less than or equal to the first price. In this way, compared to the traditional method of purchasing in batches, this application allows players to set the purchase quantity and price limit themselves, enabling them to directly purchase virtual resources in bulk that meet their quantity and price requirements. This allows players to complete the bulk purchase process much faster, simplifying the virtual resource purchase process, saving significant time and effort, and thus improving the efficiency of virtual resource purchases and the player's purchasing experience. Attached Figure Description
[0038] Figure 1 This is a schematic diagram of the architecture of the virtual resource purchasing system 100 provided in this application embodiment;
[0039] Figure 2 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application;
[0040] Figure 3 This is a flowchart illustrating the method for purchasing virtual resources provided in an embodiment of this application;
[0041] Figure 4 This is a detailed information provided in the embodiments of this application, as well as a schematic diagram showing the first purchase control;
[0042] Figure 5 This is a schematic diagram showing the activated and inactive states of the first purchase control provided in this application embodiment;
[0043] Figure 6 This is a schematic diagram of the price adjustment control and the initial price provided in the embodiments of this application;
[0044] Figure 7 This is a schematic diagram of the price adjustment control and the initial price provided in the embodiments of this application;
[0045] Figure 8 This is a schematic diagram showing multiple price adjustment controls in various presentation formats simultaneously, as provided in the embodiments of this application.
[0046] Figure 9 This is a schematic diagram of multiple price options, including a price option in a selected state, provided in an embodiment of this application;
[0047] Figure 10 This is a schematic diagram illustrating the process after receiving a selection operation for the second price option, as provided in an embodiment of this application.
[0048] Figure 11 This is a schematic diagram illustrating the process after receiving a deselection operation for the fourth price option, as provided in an embodiment of this application.
[0049] Figure 12 This is a schematic diagram showing multiple price options and price adjustment controls displayed simultaneously, as provided in the embodiments of this application.
[0050] Figure 13 This is a schematic diagram of the quantity adjustment control and the initial quantity provided in the embodiments of this application;
[0051] Figure 14 This is a schematic diagram of the quantity editing area provided in an embodiment of this application;
[0052] Figure 15 This is a schematic diagram illustrating the process of setting an initial price to obtain a first price based on a price setting operation, as provided in an embodiment of this application.
[0053] Figure 16 This is a schematic diagram illustrating the process of setting an initial price to obtain a first price based on a price setting operation, as provided in an embodiment of this application.
[0054] Figure 17 This is a schematic diagram of the purchase settings interface provided in an embodiment of this application;
[0055] Figure 18 This is a schematic diagram of the success and failure message provided in the embodiments of this application;
[0056] Figure 19 This is a schematic diagram illustrating the process of displaying purchase details information provided in an embodiment of this application;
[0057] Figure 20 This is a flowchart illustrating the method for purchasing virtual resources provided in this application embodiment. Detailed Implementation
[0058] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0059] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0060] In the following description, the terms "first, second, third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0061] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0062] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.
[0063] 1) In response to, used to indicate the conditions or states on which the operation performed depends. When the conditions or states on which it depends are met, one or more operations performed may be performed in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations are performed.
[0064] 2) Client, also known as user terminal, refers to the program that provides local services to users in contrast to the server. Except for some applications that can only run locally, it is generally installed on the terminal and needs to work in conjunction with the server. That is, there needs to be a corresponding server and service program on the network to provide the corresponding services. Thus, a specific communication connection needs to be established between the client and the server to ensure the normal operation of the application, such as virtual scene clients (such as game clients) and video clients.
[0065] 3) Artificial Intelligence (AI) is the theory, methods, technology, and application system that uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to achieve optimal results. In other words, AI is a comprehensive technology within computer science that attempts to understand the essence of intelligence and produce a new kind of intelligent machine that can react in a way similar to human intelligence. AI studies the design principles and implementation methods of various intelligent machines, enabling them to possess the functions of perception, reasoning, and decision-making.
[0066] 4) Virtual resources, which are virtual things used in the game. For example, they can be props used by the target in the game, experience points to increase the target's level in the game, or virtual clothing, skins, etc. that the target can use for decoration, as well as goods in the game store.
[0067] See Figure 1 , Figure 1 This is a schematic diagram of the architecture of the virtual resource purchasing system 100 provided in this application embodiment. The terminal (terminal 400 is shown as an example) is connected to the server 200 through the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two, and data transmission is achieved using wireless or wired links.
[0068] Among them, server 200 is used to send the display data of the purchase settings interface to terminal 400;
[0069] Terminal 400 is configured to receive display data from the purchase settings interface and display the purchase settings interface based on the display data; in the purchase settings interface, in response to a purchase settings operation for a target virtual resource, display the first price of the target virtual resource and the quantity of the target virtual resource; in response to a purchase operation for the target virtual resource, purchase the corresponding quantity of the target virtual resource at a second price, wherein the second price is less than or equal to the first price.
[0070] In some embodiments, server 200 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. Terminal 400 can be a smartphone, tablet, laptop, desktop computer, set-top box, smart voice interaction device, smart home appliance, virtual reality device, vehicle terminal, aircraft, portable music player, personal digital assistant, dedicated messaging device, portable gaming device, smart speaker, and smartwatch, but is not limited to these. The terminal and server can be directly or indirectly connected via wired or wireless communication, which is not limited in this embodiment.
[0071] The electronic device implementing the virtual resource purchasing method provided in the embodiments of this application will now be described. See also Figure 2 , Figure 2 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device can be a server or a terminal. The electronic device is used as an example. Figure 1 Taking the terminal shown as an example,Figure 2 The illustrated electronic device includes at least one processor 410, a memory 450, at least one network interface 420, and a user interface 430. The various components in terminal 400 are coupled together via a bus system 440. It is understood that the bus system 440 is used to implement communication between these components. In addition to a data bus, the bus system 440 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in… Figure 2 The general labeled all buses as Bus System 440.
[0072] The processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.
[0073] User interface 430 includes one or more output devices 431 that enable the display of media content, including one or more speakers and / or one or more visual displays. User interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0074] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state storage, hard disk drives, optical disk drives, etc. The memory 450 may optionally include one or more storage devices physically located away from the processor 410.
[0075] The memory 450 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 450 described in this application embodiment is intended to include any suitable type of memory.
[0076] In some embodiments, memory 450 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or subsets or supersets thereof, as illustrated below.
[0077] Operating system 451 includes system programs for handling various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic business functions and handling hardware-based tasks;
[0078] The network communication module 452 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 including: Bluetooth, WiFi, and Universal Serial Bus (USB), etc.
[0079] Presentation module 453 is configured to enable the display of information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 431 (e.g., a display screen, a speaker, etc.) associated with user interface 430;
[0080] The input processing module 454 is used to detect and translate one or more user inputs or interactions from one or more input devices 432.
[0081] In some embodiments, the apparatus provided in this application can be implemented in software. Figure 2 A device 455 for purchasing virtual resources stored in memory 450 is shown. This device can be software in the form of programs and plug-ins, and includes the following software modules: a display module 4551 and a purchasing module 4552. These modules are logically linked and can therefore be arbitrarily combined or further separated according to their implemented functions. The functions of each module will be described below.
[0082] In other embodiments, the apparatus provided in this application can be implemented in hardware. As an example, the virtual resource purchasing apparatus provided in this application can be a processor in the form of a hardware decoding processor, which is programmed to execute the virtual resource purchasing method provided in this application. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0083] In some embodiments, the terminal or server can implement the virtual resource purchasing method provided in this application by running a computer program. For example, the computer program can be a native program or software module in an operating system; it can be a native application (APP), i.e., a local client, i.e., a program that needs to be installed in the operating system to run, such as an instant messaging APP or a web browser APP; it can also be a mini-program, i.e., a program that only needs to be downloaded into a browser environment to run; or it can be a mini-program that can be embedded in any APP. In short, the above-mentioned computer program can be any form of client, module, or plugin.
[0084] Based on the above description of the virtual resource purchasing system and electronic device provided in the embodiments of this application, the method for purchasing virtual resources provided in the embodiments of this application is described below. In actual implementation, the method for purchasing virtual resources provided in the embodiments of this application can be implemented by a terminal or a server alone, or by a terminal and a server working together, so that... Figure 1 The method for purchasing virtual resources provided in this application embodiment is illustrated by taking terminal 400 as an example, where it executes the method independently. See also... Figure 3 , Figure 3 This is a flowchart illustrating the method for purchasing virtual resources provided in this application embodiment. Next, it will be combined with... Figure 3 The steps shown are explained.
[0085] Step 101: In the purchase settings interface, in response to the purchase settings operation for the target virtual resource, the terminal displays the first price of the target virtual resource and the quantity of the target virtual resource.
[0086] In practice, the terminal has an application that supports virtual scenes installed. This application can be any of the following: a multiplayer online role-playing game, a first-person shooter, a third-person shooter, a multiplayer online tactical battle royale game, a virtual reality application, a 3D map application, or a multiplayer shooting survival game. Users can use the terminal to play games within the application. When a user opens the application on the terminal and the application is running, the terminal displays a virtual scene page. This virtual scene page can be a shop interface within the game, i.e., a virtual resource display interface that includes at least one or more virtual resources. Based on this virtual resource display interface, a purchase settings interface is displayed. The virtual resources can be items used by the target character in the game, experience points to increase the target character's level in the game, or virtual clothing, skins, etc., that the target character can use for decoration.
[0087] In some embodiments, the process of displaying a purchase settings interface based on a virtual resource display interface, that is, before displaying the first price and quantity of the target virtual resource in response to a purchase settings operation for the target virtual resource in the purchase settings interface, may involve displaying a virtual resource display interface including at least one virtual resource. In response to a selection operation of the target virtual resource among the at least one virtual resource, the virtual resource display interface displays detailed information of the target virtual resource and a first purchase control for the target virtual resource. The detailed information includes explanatory information for introducing the target virtual resource and at least one selling price of the target virtual resource. Based on the detailed information of the target virtual resource, in response to a trigger operation on the first purchase control, a purchase settings interface for purchasing the target virtual resource is displayed.
[0088] It should be noted that after the application is run and the terminal displays a virtual resource display interface including at least one virtual resource, the selection operation of the target virtual resource among the at least one virtual resource and the triggering operation of the first purchase control can be a click operation of the target virtual resource, such as a single click or a double click, to control the target virtual resource to be in a selected state, and to display the details of the target virtual resource and the first purchase control of the target virtual resource in the virtual resource display interface;
[0089] The details of the target virtual resource include, in addition to descriptive information introducing the target virtual resource and at least one selling price, the name of the target virtual resource, at least one selling price, and the inventory of each selling price. When the quantity of the target virtual resource at each selling price is less than or equal to the target quantity (e.g., 3), the virtual resource display interface displays each selling price and the inventory of each selling price. When the quantity of the target virtual resource at each selling price is greater than the target quantity (e.g., 3), the virtual resource display interface displays the selling price for the target quantity and the corresponding inventory of each selling price. Simultaneously, all display controls are displayed, and in response to a trigger operation on all display controls, all selling prices of the target virtual resource and the inventory of each selling price are displayed. The selling price displayed for the target quantity can be the lowest among multiple selling prices for the target quantity.
[0090] For example, see Figure 4 , Figure 4 This is a detailed information provided in the embodiments of this application, as well as a display diagram of the first purchase control, based on... Figure 4 In such Figure 4The virtual resource display interface shown displays multiple virtual resources. Then, in response to the selection operation of the target virtual resource indicated by dashed box 403, the target virtual resource is controlled to be selected. The virtual resource display interface displays the detailed information of the target virtual resource as indicated by dashed box 401 and the first purchase control of the target virtual resource as indicated by 402.
[0091] In actual implementation, only users with the right to purchase the target virtual resource can purchase it using the first purchase control. Specifically, after displaying the virtual resource display interface including at least one virtual resource, in response to the selection operation of the target virtual resource among the at least one virtual resource, the purchase permission of the account that triggered the selection operation can be checked to obtain the permission check result. Thus, the process of displaying the first purchase control for the target virtual resource can be such that if the permission check result indicates that the account has the right to purchase the target virtual resource, then the first purchase control in an active state is displayed. And the process of displaying the purchase settings interface for purchasing the target virtual resource in response to the trigger operation of the first purchase control can be such that the purchase settings interface for purchasing the target virtual resource is displayed in response to the trigger operation of the first purchase control in an active state.
[0092] It should be noted that the process of checking the purchase authority of the account that triggered the selection operation may involve obtaining the account's reputation score, the purchase amount during the target period, and the current virtual assets. If at least one of the following conditions is met, it is determined that the account that triggered the selection operation does not have the purchase authority for the target virtual resource: the account's reputation score is less than the score threshold; the account's purchase amount during the target period is greater than the amount threshold; the account's current virtual assets are less than the minimum selling price of the target virtual resource. If none of the above conditions are met, it is determined that the account that triggered the selection operation has the purchase authority for the target virtual resource.
[0093] Meanwhile, if the permission detection result indicates that the account has the permission to purchase the target virtual resource, the first purchase control in the active state will be displayed. The active state here refers to the triggerable state. In response to the trigger operation of the first purchase control in the active state, the purchase settings interface for purchasing the target virtual resource will be displayed.
[0094] If the permission check result indicates that the account does not have the permission to purchase the target virtual resource, then the first purchase control will be displayed in an inactive state. Here, inactive state can be grayed out (referring to the first purchase control), while active state can be highlighted or have special effects such as a halo effect. For example, see... Figure 5 , Figure 5 This is a schematic diagram illustrating the activated and deactivated states of the first purchase control provided in this application embodiment, based on... Figure 5 ,Figure 5 In section a, 501 indicates the first purchase control that is active. Figure 5 The 502 error in b indicates that the first purchase control is in an inactive state.
[0095] In practice, the purchase setup operation includes price setting and quantity setting operations. In response to the purchase setup operation for the target virtual resource, before displaying the first price and quantity of the target virtual resource, the purchase setup interface may also display the initial price and initial quantity of the target virtual resource, where the initial price is less than or equal to the first price. Therefore, the process of displaying the first price and quantity of the target virtual resource in response to the purchase setup operation may involve displaying the first price obtained by setting the price based on the initial price in response to the price setting operation, and displaying the quantity obtained by setting the quantity based on the initial quantity in response to the quantity setting operation.
[0096] It should be noted that the initial price of the target virtual resource is determined based on its selling price. Specifically, when there is at least one selling price, the lowest selling price is selected as the initial price. The initial quantity is preset, for example, it could be 1 or 10. The process of displaying the first price obtained by setting the price based on the initial price in response to the price setting operation, and the process of displaying the quantity obtained by setting the quantity based on the initial quantity in response to the quantity setting operation, will be explained below.
[0097] This section describes the process of displaying a first price obtained by setting a price based on an initial price in response to a price setting operation. In practice, there are multiple methods for setting the initial price. The following section will use two of these methods as examples to explain the process of obtaining a first price based on an initial price.
[0098] In some embodiments, before displaying the first price of the target virtual resource and the quantity of the target virtual resource in response to a purchase setting operation for the target virtual resource, a price adjustment control for adjusting the initial price may also be displayed in the purchase setting interface; thus, the process of displaying the first price obtained by setting the price based on the initial price in response to the price setting operation may be based on the price adjustment control, and in response to the price setting operation, the process of adjusting the initial price is displayed during the execution of the price setting operation, and the adjusted initial price is used as the first price.
[0099] It should be noted that there are multiple ways to present the price adjustment control. When the price adjustment control is presented in different ways, the process of adjusting the initial price in response to the price setting operation will also be different. Next, we will take two presentation forms of the price adjustment control as examples to explain the process of adjusting the initial price in response to the price setting operation.
[0100] When the price adjustment control includes a slider and a slider mounted on the slider, the price setting operation includes a sliding operation on the slider; thus, based on the price adjustment control, in response to the price setting operation, during the execution of the price setting operation, the process of adjusting the initial price is displayed. This can be, in response to the sliding operation on the slider, displaying the process of the slider sliding on the slider, and during the sliding of the slider, displaying the process of the initial price changing as the slider slides; in response to the slider stopping sliding on the slider, displaying the changed initial price, and using the changed initial price as the adjusted initial price, i.e., the first price.
[0101] It should be noted that the slider can be of any shape, such as square, circle, flower, etc. When the slider is displayed horizontally, the sliding operation can be left or right; when the slider is displayed vertically, the sliding operation can be up or down. When a purchase setting operation for a target virtual resource is received and the price adjustment control is displayed, the slider can be displayed at the initial position of the slider, for example, when the slider is displayed horizontally, the initial position can be the leftmost end. Then, in response to the sliding operation, the slider's movement along the slider is displayed. During the slider's movement, the initial price changes accordingly. For example, when the slider is displayed horizontally, a rightward sliding operation increases the initial price, and a leftward sliding operation decreases the initial price. The magnitude of the price change is positively correlated with the sliding distance, i.e., the slider displacement.
[0102] Then, in response to the slider stopping on the slider bar, the changed initial price is displayed. This means that in response to the release operation on the slider, the slider is controlled to stop sliding on the slider bar, and the changed initial price, which is the current initial price, is displayed. At the same time, the duration for which the slider stops sliding is obtained and compared with the target duration. When the duration for which the slider stops sliding reaches the target duration, the changed initial price, which is the current initial price, is used as the adjusted initial price, which is the first price. Here, the target duration can be preset, for example, it can be 2 seconds.
[0103] For example, see Figure 6 , Figure 6This is a schematic diagram of the price adjustment control and initial price provided in the embodiments of this application, based on... Figure 6 The dashed box 602 indicates the price adjustment control including the slider and the slider on the slider, and 601 indicates the initial price. In response to the sliding operation of the slider, the process of the slider sliding on the slider is displayed, and the process of the initial price changing as the slider slides is displayed.
[0104] When the price adjustment control includes an increase control for increasing the initial price and a decrease control for decreasing the price; and the price setting operation includes a trigger operation for at least one of the increase control and the decrease control; then, based on the price adjustment control, in response to the price setting operation, during the execution of the price setting operation, the process of adjusting the initial price is displayed, which may be in response to at least one trigger operation executed consecutively for at least one of the increase control and the decrease control, displaying the process of initial price change; when the initial price change process ends, the changed initial price is displayed, and the changed initial price is used as the adjusted initial price, i.e., the first price.
[0105] It should be noted that the process of displaying the initial price change in response to a trigger operation for at least one of the add or remove controls can be as follows: in response to a trigger operation for the add control, the initial price is increased; in response to a trigger operation for the remove control, the initial price is decreased. The trigger operation for at least one of the add or remove controls can be a click operation, such as a single click or a double click. When the initial price change process ends, meaning when the initial price no longer changes within a target duration (which can be 3 seconds), the changed initial price is displayed, i.e., the current initial price is displayed, and the changed initial price is used as the adjusted initial price.
[0106] For example, see Figure 7 , Figure 7 This is a schematic diagram of the price adjustment control and initial price provided in the embodiments of this application, based on... Figure 7 The dashed box 702 indicates a price adjustment control that includes both an add control and a reduce control, and 701 indicates the initial price, thereby displaying the process of initial price change in response to a trigger operation on at least one of the add control and the reduce control.
[0107] In some embodiments, multiple presentation forms of the price adjustment control can be displayed simultaneously. Taking the two presentation forms mentioned above as examples, in the purchase settings interface, two presentation forms of the price adjustment control are displayed. One price adjustment control includes a slider and a slider, and the other price adjustment control includes an increase control and a decrease control. Thus, based on the price adjustment control, in response to the price setting operation, during the execution of the price setting operation, an adjustment to the initial price is displayed. For example, see [link to example]. Figure 8 , Figure 8 This is a schematic diagram illustrating the simultaneous display of multiple price adjustment controls in various presentation formats provided in the embodiments of this application, based on... Figure 8 The dashed box 801 indicates two different presentation formats of the price adjustment controls.
[0108] It should be noted that when displaying price adjustment controls in two presentation formats, one can choose only one presentation format to perform the price setting operation to adjust the initial price, or the two presentation formats can be combined to perform the price setting operation to adjust the initial price. The process of performing the price setting operation based on the price adjustment controls in each presentation format to adjust the initial price is as described above, and will not be repeated here in the embodiments of this application.
[0109] In other embodiments, the selling price of the target virtual resource is multiple. In response to the price setting operation, before displaying the first price obtained by setting the price based on the initial price, multiple price options for the target virtual resource can also be displayed in the purchase settings interface. Each price option corresponds to a selling price of the target virtual resource, and the price option corresponding to the lowest selling price of the target virtual resource is selected. The lowest selling price corresponding to the selected price option is the same as the initial price.
[0110] It should be noted that the multiple price options for the target virtual resource are displayed in order of their maximum selling price; the price option corresponding to the lowest selling price of the target virtual resource is selected, while the price options corresponding to the other selling prices of the target virtual resource are unselected. The other selling prices are the selling prices other than the initial price among the multiple selling prices.
[0111] For example, see Figure 9 , Figure 9 This is a schematic diagram of multiple price options, including a selected price option, provided in an embodiment of this application. Figure 9 In the purchase settings interface, six price options for the target virtual resource are displayed as indicated by the dashed box 902; then, the price option indicated by 901 is selected, which is the price option corresponding to the lowest selling price of the target virtual resource.
[0112] It should be noted that, for multiple price options, including those in a selected state, the process of using the selling price corresponding to the selected price option as the first price of the target virtual resource in response to a price setting operation is as follows: This means selecting the highest selling price from the selling prices corresponding to the selected price options and using that highest selling price as the first price of the target virtual resource. Specifically, this can be achieved by using the selling price corresponding to the selected price option as the first price of the target virtual resource; alternatively, it can be achieved by controlling the price options other than the initial price to be selected through a price setting operation, and then using the selling price corresponding to the selected price option as the first price of the target virtual resource.
[0113] For the process of using the selling price corresponding to the selected price option as the first price of the target virtual resource, the price setting operation includes a selection operation for the first price option; in response to the price setting operation, displaying the first price obtained by setting the price based on the initial price; in response to the selection operation for the first price option among multiple price options, selecting the price option corresponding to the lowest selling price, switching to the first price option being selected, and controlling the lowest selling price corresponding to the first price option as the first price; wherein, the selling price corresponding to the first price option is different from the lowest selling price.
[0114] It should be noted that the first price option is any price option whose corresponding selling price is greater than the initial price; the selection operation for the first price option among multiple price options is a click operation for the first price option, including a single click or a double click operation.
[0115] For the process of selecting price options other than the initial price through a price setting operation, and then using the selling price corresponding to the selected price option as the first price of the target virtual resource, specifically, the price setting operation includes a selection operation for a second price option; thus, in response to the price setting operation, the process of displaying the first price obtained by setting the price based on the initial price can be, in response to the selection operation of the second price option among multiple price options, controlling the second price option and the third price option to be selected, and controlling the selling price corresponding to the second price option as the first price; wherein, the second price option is any price option whose selling price is greater than the initial price, and the third price option is a price option whose corresponding selling price is between the selling price corresponding to the second price option and the initial price.
[0116] It should be noted that the selection operation for the second price option can be a click operation, such as a single click or double click. When a selection operation for the second price option is received, while controlling the second price option to switch from an unselected state to a selected state, the third price option, that is, the price option whose corresponding selling price is between the selling price of the second price option and the initial price, will also be controlled to switch from an unselected state to a selected state. Therefore, the highest selling price among the selling prices of the selected price options at this time is the selling price of the second price option, and thus the selling price of the second price option is used as the first price of the target virtual resource.
[0117] For example, see Figure 10 , Figure 10 This is a schematic diagram illustrating the process after receiving a selection operation for the second price option, as provided in an embodiment of this application. Figure 10 , Figure 10 In section a, the price option indicated by 1001 is the initial price option, while 1002 indicates the second price option, and the option indicated in the dashed box 1003 is the third price option; thus responding to... Figure 10 The selection operation of the second price option indicated by 1002 in section a controls whether the second price option and the third price option are selected, and displays as shown below. Figure 10 The content shown in b.
[0118] In practice, after the second and third price options are selected, in response to the deselection operation of the fourth price option, the states of the second and fifth price options can be switched from selected to unselected. The fourth price option is any price between the selling price of the second price option and the initial price, and the fifth price option is any price between the selling price of the second price option and the selling price of the fourth price option. Therefore, controlling the selling price of the second price option as the first price can be achieved by controlling the selling price of the fourth price option as the first price.
[0119] It should be noted that the deselection operation for the fourth price option can be a click operation, such as a click or double-click operation; when a deselection operation for the fourth price option is received, the fifth price option, that is, the price option whose selling price is between the selling price of the second price option and the initial price, is switched from the selected state to the unselected state. Thus, the highest selling price among the selling prices of the selected price options is the selling price of the fourth price option, and the selling price of the fourth price option is used as the first price of the target virtual resource.
[0120] For example, see Figure 11 , Figure 11 This is a schematic diagram illustrating the process after receiving a deselection operation for the fourth price option, as provided in an embodiment of this application. Figure 11 , Figure 11 In section a, 1101 indicates the fourth price option, the dashed box 1103 indicates the fifth price option, and 1102 indicates the second price option; thus responding to... Figure 11 The deselection operation of the fourth price option indicated by 1101 in section a controls the state of the second and fifth price options, switching them from selected to unselected. Figure 11 The content shown in b.
[0121] In practice, multiple price options and price adjustment controls with various presentation formats can be displayed simultaneously; for example, see [link to example]. Figure 12 , Figure 12 This is a schematic diagram illustrating the simultaneous display of multiple price options and price adjustment controls provided in the embodiments of this application, based on... Figure 12 When multiple price options, as indicated by dashed box 1201, are displayed simultaneously with multiple price adjustment controls in various presentation formats, as indicated by dashed box 1202, the following display will be shown: Figure 12 The interface shown.
[0122] It should be noted that when multiple price options and price adjustment controls with various presentation formats are displayed, the initial price can be adjusted by performing a price setting operation based on multiple price options, or by performing a price setting operation based on price adjustment controls with various presentation formats. Here, the process of adjusting the initial price by performing a price setting operation based on multiple price options and by performing a price setting operation based on price adjustment controls with various presentation formats is as described above, and will not be repeated in this embodiment.
[0123] When multiple price options and price adjustment controls with various presentation formats are displayed, if a price setting operation is performed based on multiple price options to adjust the initial price, it may affect the price adjustment controls. If a price setting operation is performed based on price adjustment controls with various presentation formats to adjust the initial price, it will affect multiple price options. The specific process will be explained in detail later.
[0124] This document describes the process of displaying the quantity obtained by setting a quantity based on an initial quantity in response to a quantity setting operation. In practice, there are multiple methods for setting the initial quantity. The following section will use two of these methods as examples to explain the process of obtaining the corresponding quantity based on the initial quantity.
[0125] In some embodiments, in response to a purchase setting operation for a target virtual resource, before displaying the first price of the target virtual resource and the quantity of the target virtual resource, a quantity adjustment control for adjusting the initial quantity may be displayed in the purchase setting interface; thus, in response to a quantity setting operation, the process of displaying the quantity obtained by setting the quantity based on the initial quantity may be, in response to a quantity setting operation triggered by the quantity adjustment control, adjusting the initial quantity to the desired quantity.
[0126] It should be noted that the quantity adjustment control also includes an increase control and a decrease control. The increase control is used to increase the initial quantity, and the decrease control is used to decrease the initial quantity after the increase. The quantity adjustment operation includes a trigger operation for at least one of the increase control and the decrease control. Therefore, the process of adjusting the initial quantity to the desired quantity in response to a quantity setting operation triggered based on the quantity adjustment control can be a process of displaying the change of the initial quantity in response to at least one trigger operation executed consecutively for at least one of the increase control and the decrease control. When the change of the initial quantity ends, the changed initial quantity is displayed, and the changed initial quantity is used as the corresponding quantity.
[0127] It should be noted that the process of displaying the change in the initial quantity in response to at least one consecutive trigger operation performed on at least one of the add control and the reduce control can be as follows: in response to the trigger operation on the add control, the initial quantity is increased; in response to the trigger operation on the reduce control, the initial quantity is decreased. The trigger operation performed on at least one consecutive trigger operation on at least one of the add control and the reduce control can be a series of click operations, such as a single click or a double click. When the process of changing the initial quantity ends, which means when the initial quantity no longer changes within a target duration (which can be 3 seconds), the changed initial quantity is displayed, that is, the current initial quantity is displayed, and the changed initial quantity is used as the corresponding quantity.
[0128] For example, see Figure 13 , Figure 13 This is a schematic diagram of the quantity adjustment control and the initial quantity provided in the embodiments of this application, based on... Figure 13 The dashed box 1301 indicates the quantity adjustment control, while 1302 indicates "10" as the initial quantity; thus, in response to at least one trigger operation performed consecutively for at least one of the increase control and decrease control, the process of the initial quantity change is displayed.
[0129] In other embodiments, in response to a quantity setting operation, before displaying the quantity obtained by setting the quantity based on the initial quantity, a quantity editing area may be displayed in the associated area of the initial quantity; thus, the process of displaying the quantity obtained by setting the quantity based on the initial quantity in response to a quantity setting operation may involve displaying the edited quantity in response to a quantity setting operation triggered based on the quantity editing area, and using the edited quantity as the quantity of the target virtual resource.
[0130] It should be noted that the quantity editing area displayed in the associated area of the initial quantity can be directly displayed in the associated area of the initial quantity when the initial quantity is displayed, or it can be displayed based on the display operation of the quantity editing area. That is, in response to the display operation of the quantity editing area, the quantity editing area is displayed in the associated area of the initial quantity. This application embodiment does not limit this.
[0131] In this process, after displaying the quantity editing area in the initial quantity association area, the edited quantity is displayed in response to a quantity setting operation triggered based on the quantity editing area, and the edited quantity is used as the quantity of the target virtual resource. The quantity setting operation triggered based on the quantity editing area can be an input operation performed in the quantity editing area, thereby using the input quantity as the edited quantity. Then, in response to a confirmation operation for the edited quantity, the edited quantity is used as the quantity of the target virtual resource. Here, using the edited quantity as the quantity of the target virtual resource can be a trigger operation for a confirmation control, such as a click operation. Specifically, a confirmation control is displayed in the quantity editing area, and in response to a trigger operation for the confirmation control, the trigger operation for the confirmation control is used as a confirmation operation for the edited quantity, and then the edited quantity is used as the quantity of the target virtual resource.
[0132] For example, see Figure 14 , Figure 14 This is a schematic diagram of the quantity editing area provided in the embodiments of this application, based on Figure 14 The dashed box 1401 indicates the quantity editing area, which displays the edited quantity in response to a quantity setting operation triggered based on the quantity editing area.
[0133] In some embodiments, as described above, when multiple price options and price adjustment controls with multiple presentation formats are displayed simultaneously, if a price setting operation is performed based on multiple price options to adjust the initial price, it may affect the price adjustment controls. If a price setting operation is performed based on price adjustment controls with multiple presentation formats to adjust the initial price, it will affect multiple price options. The specific process will be described in detail below.
[0134] In actual implementation, there are multiple selling prices for the target virtual resource. In response to a purchase setting operation for the target virtual resource, before displaying the first price of the target virtual resource and the quantity of the target virtual resource, the purchase setting interface may also display a price adjustment control for adjusting the initial price, and multiple price options for the target virtual resource. Each price option corresponds to a selling price of the target virtual resource, and the price option corresponding to the lowest selling price of the target virtual resource is selected. The initial price is the lowest selling price among the multiple selling prices, and the initial price is less than or equal to the first price. Therefore, in response to a price setting operation, the process of displaying the first price obtained by setting the price based on the initial price can be based on the price adjustment control, the initial price, and multiple price options including the selected price option. In response to the price setting operation, the first price obtained by setting the price based on the initial price is displayed.
[0135] It should be noted that, for multiple price options, including price options that are selected, the process of displaying the first price obtained by setting the price based on the initial price in response to a price setting operation is as described above. If the initial price is adjusted based on multiple price options, it may affect the price adjustment control. If the initial price is adjusted based on price adjustment controls with multiple presentation formats, it will affect multiple price options. The following will explain the process of adjusting the initial price by performing a price setting operation based on multiple price options or price adjustment controls with multiple presentation formats.
[0136] In some embodiments, if the initial price is adjusted by performing a price setting operation based on a price adjustment control with multiple presentation formats, then, in response to the price setting operation, the process of displaying the first price obtained by setting the price based on the initial price, based on the price adjustment control, the initial price, and multiple price options including a price option in a selected state, may involve displaying the process of adjusting the initial price during the price setting operation in response to the price setting operation triggered by the price adjustment control, and using the adjusted initial price as the first price; wherein, during the adjustment of the initial price, a sixth price option switches from an unselected state to a selected state, and the sixth price option is a price option whose corresponding selling price is less than or equal to the adjusted initial price.
[0137] It should be noted that the number of sixth price options can be one or more, and in response to the price setting operation triggered by the price adjustment control, the process of adjusting the initial price is displayed during the execution of the price setting operation, as mentioned above. Here, the embodiments of this application will not be described in detail.
[0138] During the adjustment of the initial price, the number of sixth price options will also change as the initial price changes. For example, when at least one selling price is 1000, 1500, 2000, and 2500, if the initial price changes from 1000 to 1500 during the adjustment process, the sixth price option will be the price option corresponding to 1000 and 1500. If the initial price changes from 1000 to 2300, the sixth price option will be the price option corresponding to 1000, 1500, and 2000.
[0139] For example, see Figure 15 , Figure 15 This is a schematic diagram illustrating the process of setting an initial price to obtain a first price based on a price setting operation, as provided in an embodiment of this application. Figure 15 In response to a price setting operation triggered by a price adjustment control including a slider and a slider on the slider, the following is displayed during the execution of the price setting operation: Figure 15 The process involves adjusting the initial price indicated by 1501 in section a, and using the adjusted initial price as the first price. During the initial price adjustment process, the sixth price option, as indicated by the dashed box 1502, changes from an unselected state to a selected state, thus displaying... Figure 15 The interface shown in b.
[0140] In other embodiments, if an initial price is adjusted based on multiple price options, and the price setting operation includes selecting price options corresponding to other prices of the second target, and since the price adjustment control has multiple presentation formats, taking the presentation format of the price adjustment control including a slider and a slider as an example, based on the price adjustment control, the initial price, and multiple price options including the selected price option, the process of displaying the first price obtained by setting the price based on the initial price in response to the price setting operation can be as follows: in response to the selection operation of the seventh price option, the seventh price option and the eighth price option are controlled to be in a selected state, and the slider is controlled to slide from a first position to a second position on the slider; wherein the seventh price option is any price option whose selling price is greater than the initial price, and the eighth price option is a price option whose corresponding selling price is between the selling price corresponding to the seventh price option and the initial price, and the second position is associated with the selling price corresponding to the seventh price option; the selling price corresponding to the seventh price option is used as the first price of the target virtual resource. During the slider's movement, the initial price changes accordingly.
[0141] It should be noted that the process of controlling the seventh and eighth price options to be selected in response to the selection operation of the seventh price option is similar to the process of controlling the second and third price options to be selected in response to the selection operation of the second price option among multiple price options. Here, the embodiments of this application will not be described in detail.
[0142] When a selection operation is received for the seventh price option, the process of the slider sliding from the first position to the second position on the slider bar is displayed. As mentioned above, the first position can be the initial position of the slide, and the second position is associated with the selling price corresponding to the seventh price option. At the same time, the slider can slide left and right or up and down on the slider bar. For example, when the slider bar is displayed horizontally, the slider can slide left and right on the slider bar, and when the slider bar is displayed vertically, the slider can slide up and down on the slider bar. This application embodiment does not limit this.
[0143] For example, see Figure 16 , Figure 16 This is a schematic diagram illustrating the process of setting an initial price to obtain a first price based on a price setting operation, as provided in an embodiment of this application. Figure 16 In response to such Figure 16 The selection operation of the seventh price option shown in 1601 (a) controls the seventh price option and the eighth price option indicated by the dashed box 1602 to be in the selected state, and controls the slider to slide from the first position to the second position on the slider bar, thereby displaying as shown in 1601 (a). Figure 16 The interface shown in b.
[0144] In some embodiments, the selling price of the target virtual resource is at least one; before displaying the first price of the target virtual resource and the quantity of the target virtual resource in response to a purchase setting operation for the target virtual resource, the inventory of the target virtual resource at each selling price may also be displayed in the purchase setting interface; thus, the process of displaying the first price of the target virtual resource and the quantity of the target virtual resource in response to a purchase setting operation for the target virtual resource may be based on the inventory of the target virtual resource at each selling price, and in response to a purchase setting operation for the target virtual resource, displaying the first price of the target virtual resource and the quantity of the target virtual resource; wherein the quantity of the target virtual resource is less than or equal to the inventory corresponding to the selling price indicated by the second price.
[0145] It should be noted that users can plan the quantity of target virtual resources based on the inventory of target virtual resources at each selling price, so that the set quantity of target virtual resources is less than or equal to the inventory corresponding to the selling price indicated by the second price, thereby increasing the success rate of purchasing target virtual resources; for example, when at least one selling price is 1000, 1500, 2000 and 2500, the corresponding inventory is 100, 200, 300 and 400 respectively. If the adjusted initial price is 2300, the quantity of target virtual resources can be planned based on the inventory of target virtual resources at each selling price, and the quantity can be set to the sum of 100, 200 and 300, which is 600.
[0146] For example, see Figure 17 , Figure 17 This is a schematic diagram of the purchase settings interface provided in an embodiment of this application, based on Figure 17 The dashed box 1701 indicates the inventory of target virtual resources at each selling price. Based on the inventory of target virtual resources at each selling price, in response to a purchase setting operation for the target virtual resources, the first price of the target virtual resources and the quantity of the target virtual resources are displayed.
[0147] In some embodiments, the first price is at least one; after displaying the first price of the target virtual resource and the quantity of the target virtual resource in response to a purchase setting operation for the target virtual resource, a reference purchase fee may also be displayed in the purchase setting interface; wherein the reference purchase fee is determined based on the product of the highest price among at least one first price and the quantity of the target virtual resource; thus, the process of purchasing a quantity of the target virtual resource at a second price in response to a purchase operation for the target virtual resource may be based on the reference purchase fee, and in response to a purchase operation for the target virtual resource, purchasing a quantity of the target virtual resource at a second price.
[0148] It should be noted that when a target user purchases a target virtual resource, the selling price and corresponding inventory will not change in real time based on other users' purchasing behavior after the purchase settings interface is displayed. Therefore, the target user's purchase settings interface may show that the target virtual resource with the lowest selling price is still in stock, but in reality, the target virtual resource with the lowest selling price has been sold out. In this case, if the user continues to purchase according to the set quantity, the purchase cost of the target virtual resource will increase. If the target user's current account does not have enough virtual assets, the purchase of the target virtual resource will fail.
[0149] Based on this, the maximum cost, or reference cost, for purchasing the target virtual resources can be determined according to the highest selling price in the first price set by the target user and the quantity of the target virtual resources. This cost is the product of the highest selling price in the first price and the quantity of the target virtual resources. Based on this maximum cost, the user can determine whether the virtual assets in their current account are sufficient to support the purchase of the target virtual resources under extreme circumstances, thereby ensuring that the target virtual resources can be purchased successfully and thus improving the success rate of the purchase of the target virtual resources.
[0150] For example, see [link to previous article] Figure 17 The dashed box 1702 indicates the reference purchase cost, where the highest selling price in the first price is 100,000, and the set quantity is 10, so the reference purchase cost is the product of 100,000 and 10, which is 1,000,000.
[0151] Step 102: In response to the purchase operation for the target virtual resources, purchase a corresponding quantity of the target virtual resources at a second price, wherein the second price is less than or equal to the first price.
[0152] In practice, after displaying the first price of the target virtual resource and the quantity of the target virtual resource, the target virtual resource can be purchased. That is, in response to the purchase operation of the target virtual resource, the corresponding quantity of the target virtual resource is purchased at the second price, which is less than or equal to the first price. The second price indicates at least one selling price of the target virtual resource that is less than or equal to the first price.
[0153] In some embodiments, the purchase operation for the target virtual resource is performed through a control. Specifically, in response to the purchase operation for the target virtual resource, before purchasing the quantity of the target virtual resource at the second price, a second purchase control may be displayed in the purchase settings interface. The second purchase control is used to purchase the target virtual resource. In response to a trigger operation for the second purchase control, the trigger operation for the second purchase control is taken as the purchase operation for the target virtual resource.
[0154] It should be noted that the second purchase control can be displayed in any blank area of the purchase settings interface, and the triggering operation for the second purchase control can be a click operation, including a single click or a double click operation; for example, see below. Figure 17 1703 indicates a second purchase control, and in response to a triggering operation for the second purchase control, the triggering operation for the second purchase control is treated as a purchase operation for the target virtual resource.
[0155] In some embodiments, as described above, each selling price of the target virtual resource has corresponding inventory. At the same time, in the purchase settings interface, each selling price and corresponding inventory do not change in real time with the purchase behavior of other users. Therefore, it is possible that all the target virtual resources at the first price set by the target user are sold out, or that the inventory of the target virtual resources at the first price set is less than the quantity of the target virtual resources set by the target user. That is, the target user may fail to purchase the target virtual resources.
[0156] Based on this, in response to a purchase operation for a target virtual resource, after purchasing a quantity of the target virtual resource at the second price, if the purchase of the target virtual resource is successful, a success message can be displayed; wherein, the success message is used to indicate that the purchase of the target virtual resource was successful, and includes the quantity of the target virtual resource successfully purchased; if the purchase of the target virtual resource fails, a failure message is displayed in the purchase settings interface; wherein, the failure message is used to indicate that at least one of the price or quantity of the target virtual resource needs to be reset.
[0157] It should be noted that, since there may be situations where the inventory of the target virtual resources at the set first price is less than the quantity of target virtual resources set by the target user, and there may also be situations where the inventory of the target virtual resources at the set first price is greater than or equal to the quantity of target virtual resources set by the target user, the target user may successfully purchase all or part of the target virtual resources. In either case, a success message will be displayed, indicating that the target virtual resources have been successfully purchased and the quantity of target virtual resources purchased. However, when all the target virtual resources at the first price set by the target user are sold out, that is, when the target user has not purchased any target virtual resources, the purchase is indicated as a failure, and a failure message will be displayed on the purchase settings interface. The failure message indicates that the purchase failed because the current inventory of the target virtual resources at the second price has changed, and at least one of the quantity and price of the target virtual resources needs to be reset.
[0158] For example, see Figure 18 , Figure 18This is a schematic diagram of the success and failure message provided in the embodiments of this application, based on... Figure 18 , Figure 18 The value indicated by 1801 in section a is a success message. Figure 18 The value in b, 1802, indicates a failure message.
[0159] In actual implementation, if the target virtual resource is successfully purchased, a confirmation control is displayed, which is used to jump to the virtual resource display interface. In response to the trigger operation of the confirmation control, the user jumps from the purchase settings interface to the virtual resource display interface, where the purchase details are displayed.
[0160] It should be noted that if the target virtual resource is successfully purchased, a success message will be displayed on the purchase settings interface, and the confirmation control will also be displayed on the purchase settings interface. The trigger operation for the confirmation control can be a click operation, including a single click or a double click operation. In response to the trigger operation for the confirmation control, the user will be redirected from the purchase settings interface to the virtual resource display interface, where the purchase details will be displayed.
[0161] The purchase details include at least one of the following: the total cost of purchasing the target virtual resources, the cost of purchasing each target virtual resource, the quantity of the target virtual resources purchased, the quantity of the target virtual resources purchased at different purchase prices, and the total cost of the target virtual resources purchased at each purchase price.
[0162] For example, see Figure 19 , Figure 19 This is a schematic diagram illustrating the display process of purchase details information provided in an embodiment of this application, based on... Figure 19 The dashed box 1901 indicates the purchase details; for more details, please refer to [link to relevant documentation]. Figure 18 , Figure 18 The 1803 in a indicates a control that determines the action, thus responding to the action taken against the control. Figure 18 The trigger operation of the confirmation control indicated by 1803 in section a redirects the user from the purchase settings interface to the virtual resource display interface, where the virtual resource display interface displays... Figure 19 Purchase details indicated by the dashed box 1901.
[0163] By applying the above embodiments of this application, in the purchase settings interface, based on the purchase settings operation, a first price and a quantity of the target virtual resource are set, thereby purchasing the corresponding quantity of the target virtual resource at a second price less than or equal to the first price. Thus, compared to the purchase method where players need to purchase in batches, this application allows players to set the purchase quantity and price limit themselves, thereby directly purchasing virtual resources in bulk to meet their quantity and price requirements. This allows players to complete the bulk purchase process more quickly, simplifying the process of purchasing virtual resources, saving significant time and effort, and thus improving the efficiency of virtual resource purchases and the player's purchase experience.
[0164] The following will describe an exemplary application of the embodiments of this application in a real-world application scenario.
[0165] In games using related technologies, there is often a need for trading markets that allow players to buy and sell in-game items (virtual resources). However, players in trading markets can usually only choose a fixed price to make a purchase. In reality, players may be willing to accept multiple different price points. Therefore, this method of only being able to make purchases at a fixed price lacks flexibility and fails to meet players' needs for bulk purchases at multiple price points. At the same time, when players need to buy a large quantity of a certain item and there is insufficient stock at lower prices, players can only buy different quantities of the item in batches at different price points. This batch purchase method is not only cumbersome to operate, but also increases the complexity and time cost of the transaction, making the overall procurement process inefficient.
[0166] Based on this, this application discloses a method for purchasing virtual resources. In the transaction interface (virtual resource display interface), multiple goods (virtual resources) are displayed. In response to a trigger operation on the purchase button (first purchase control), a bulk purchase pop-up window (purchase settings interface) is displayed. Within the pop-up window, item information and freely adjustable purchase parameters, namely the purchase price and purchase quantity, are displayed. In response to the player's sliding operation on the slider (price adjustment control) or selection of the upper limit of the price range, the upper limit of the purchase price (first price) is determined. Then, in response to the setting operation of the purchase quantity, the purchase quantity (the quantity of the target virtual resource) is determined. Finally, in response to a trigger operation on the bulk purchase button (second purchase control), the backend automatically iterates through the current inventory from low to high and purchases the specified quantity of items from low to high. Specifically, when the quantity of all goods meeting the price range is insufficient to meet the player's set quantity, all goods meeting the requirements are purchased. Finally, a transaction report (purchase details) is generated to provide feedback to the player.
[0167] Next, the technical solution of this application will be described from the product side.
[0168] In actual implementation, in response to a player's command to display the trading system, the trading system (virtual resource display interface) is displayed, and all market goods (at least one virtual resource) are shown on the trading system's tab. Then, in response to a selection operation on a target product (target virtual resource), the target product's thumbnail information (details) is displayed on the left panel, including product information (description information) such as product icon, quality color, name, description, and inventory information for different price points of the same product (minimum 3 market price points), as well as a purchase button (first purchase control), such as... Figure 4 As shown.
[0169] Then, when the player clicks the purchase button, a purchase pop-up window (purchase settings) is displayed. The left side of the purchase pop-up window displays the product icon, product name and description, and the right side displays the purchase parameter panel. The parameter panel displays the purchase parameters that the player can freely adjust, including the purchase price and the purchase quantity.
[0170] It should be noted that when the purchase pop-up is displayed, a default maximum purchase price (initial price) will also be shown. This price is the lowest price at which inventory is currently available, as reported by the backend. To the right of the maximum purchase price, an interactive slider and plus / minus buttons (price adjustment controls) are displayed. Moving the purchase price slider down displays a real-time inventory list (with multiple price options) reported by the client, consisting of the current price and real-time inventory. Inventory currently available for purchase is selected, and the list must be selected from left to right, with at least one option selected. The bottom of the purchase pop-up displays the purchase quantity. Players can also edit their expected purchase quantity using plus / minus buttons, the maximum button (quantity adjustment control), or by typing (quantity editing area). After setting, the bottom operation bar will calculate the current estimated total transaction amount (reference purchase cost) based on the maximum expected price and display the upper limit of cumulative spending for the week. A purchase button (secondary purchase control) is displayed on the right. Figure 12 As shown.
[0171] In practice, there are two ways to adjust the expected price range. Method 1: Clicking the "increase" or "decrease" buttons on the highest purchase price allows you to adjust the maximum purchase price by the smallest possible price difference range (it cannot be decreased further if it's already at its minimum). Alternatively, you can drag the highest purchase price slider to add more price levels to the selection list. During this operation, the selection status of the inventory price list also changes with the slider, such as... Figure 15 As shown; Method 2: In the current inventory price list, select units higher than the base price, i.e., select options in the inventory price list from low to high, increasing the selection of more price levels; When performing this operation, the selection state of the slider also changes with the slider, as shown. Figure 16 As shown.
[0172] In practice, the purchase pop-up window responds to player actions on the increase and decrease buttons (quantity adjustment controls), allowing adjustment of the purchase quantity in units of 1, or allowing direct input of the maximum purchase quantity by clicking the maximum button; alternatively, it can respond to display instructions on the hotspot area (quantity editing area) to display a number input component (quantity editing area) for manual input of the desired number, thus enabling players to customize the quantity input, such as... Figure 14 As shown.
[0173] In practice, after confirming the purchase price and quantity, in response to the trigger operation of the purchase button (second purchase control), the corresponding quantity of goods is purchased at the set purchase price. Specifically, when the purchase button is triggered, the client enters the transaction determination process: using the purchase price set by the player as the highest price, all currently existing goods are retrieved and purchased according to their selling price from low to high. The purchase result is divided into three types: 1. All purchases successful, 2. Partial purchases successful, 3. Purchases failed. When all or partial purchases are successful, a congratulatory pop-up window (success message) appears, displaying the items and quantities obtained after this transaction, such as... Figure 18 As shown.
[0174] When all or part of the purchase is successful, a confirmation button will be displayed. In response to triggering this button, transaction details will be shown. Based on these details (purchase details), the total cost of the transaction, the number of items purchased, and the quantity and corresponding expenditure for each item at each price point will be displayed in a list format. Figure 19 As shown;
[0175] It should be noted that if the purchase fails due to out-of-stock conditions, the inventory display will be refreshed in the purchase pop-up window, and a failure message will be displayed, such as... Figure 18 As shown.
[0176] Next, the technical solution of this application will be described from a technical perspective. (See also...) Figure 20 , Figure 20 This is a flowchart illustrating the method for purchasing virtual resources provided in this application embodiment, based on... Figure 20The virtual resource purchasing method provided in this application embodiment is implemented through steps 2001 to 2008. Specifically, firstly, a commodity trading system is displayed. Specifically, after the game starts, the commodity trading system is activated in response to a click on the commodity trading button. The button is initially closed. When the system detects a click, it switches the button's state from closed to open and requests detailed information about currently tradable commodities from the server, including commodity ID, price, and inventory status. Then, the interface updates the commodity list, price, and inventory information in real time, while providing trading options and status feedback (such as success, failure, or pending). Secondly, a purchase pop-up is displayed. Specifically, when the player activates the commodity trading system, the system detects the operation and displays a purchase pop-up (virtual resource display interface). The pop-up displays a list of currently purchasable commodities, each commodity including basic information such as name, icon, and price. The system assigns a unique serial number to each commodity, starting from 1 and incrementing, for easy detection and selection. The pop-up status is updated in real time, for example, displaying the commodity inventory quantity; if the inventory is insufficient, it is marked as "sold out." Thus, players can view detailed information and make purchases by clicking on the corresponding products. Third, adjusting purchase parameters: specifically, in response to a click on a product, the system displays detailed information about that product and pops up a purchase parameter adjustment panel (purchase settings interface). This panel allows players to set parameters such as the maximum purchase price and quantity. The system updates the displayed price and inventory information in real time based on the player's input parameters and displays options to confirm or cancel the purchase. If the player's input parameters exceed the range, the system will display a corresponding prompt message. Fourth, purchasing virtual resources: specifically, after setting the purchase parameters, the system will iterate through the server's inventory, attempting to complete the purchase operation in ascending price order, stopping when the purchase quantity reaches the player's specified quantity. Fifth, feedback on purchase results: specifically, the system provides feedback to the player on the purchase result (failure, partial completion, full completion).
[0177] It should be noted that after a player enters the trading system, the corresponding UI component is invoked to display a list of goods. The first item in the list is selected by default, and its detailed information is displayed in the corresponding UI module. Specifically, the terminal requests the server for the corresponding IDs of all items n currently existing in the trading system, their minimum selling price a(n), and their market inventory b(n). Based on the IDs, the general item frame component is invoked to display the item's icon and quality color, and its minimum selling price a(n) and market inventory b(n) are displayed below the item. The first item in the list is selected by default, and the general item frame component is invoked based on the selected item ID to display its icon, quality color, item name, and item description. The server is requested to provide the three lowest prices a(n)1, a(n)2, and a(n)3 for the item, which are displayed below the list of items for sale. If there are fewer than three lowest prices, only the corresponding quantity is displayed. If there are more than three lowest prices, a "View All" button is displayed, and a "Buy" button (the first purchase control) is displayed at the bottom.
[0178] In actual implementation, when a click operation on the purchase button is detected, a bulk purchase pop-up is displayed, and all prices and corresponding inventory data a(n)1, b(n)1, a(n)2, b(n)2, etc. of the current product n are obtained from the server and displayed in the pop-up. At the same time, the general item box component is called according to the selected item ID to display its icon, quality color, item name and item description.
[0179] Then, record the current real-time lowest price a(n)1 of the product, and display the current highest purchase price by default; display a slider for adjusting the purchase price range, up and down adjustment buttons, purchase prompt text (purchase from low to high based on real-time inventory), and a list of real-time inventory to purchase: a(n)1, b(n)1, a(n)2, b(n)2, each range in the list can be clicked directly. When an operation is detected that changes at least one of the highest purchase price options through buttons, sliders, or list ranges, the highest number changes accordingly.
[0180] In practice, initially, the purchase quantity is set to a minimum unit of 1, with the maximum unit being the total inventory at the currently selected price level. When a player clicks the corresponding adjustment button, the number changes accordingly; alternatively, in response to a display command for the input hotspot, a numeric keypad (quantity editing area) is displayed, showing the entered number, i.e., the purchase quantity.
[0181] In practice, based on the aforementioned real-time maximum purchase price and expected purchase quantity, the expected maximum purchase price (maximum price * expected purchase quantity) is calculated and displayed. Then, it checks and displays whether the purchase conditions are met (based on a reputation score system). If met, a clickable (activated) "Confirm Purchase" button is displayed. The checks for met purchase conditions include: retrieving the player's reputation score to determine if it exceeds the minimum standard; retrieving the player's weekly purchase amount to determine if it does not exceed the upper limit; and retrieving the player's current currency to determine if it exceeds the current purchase price. If all three conditions are met, a clickable "Confirm Purchase" button is displayed.
[0182] In actual implementation, when a click on the purchase button is detected, parameters are uploaded to the server so that the server can iterate through the products and inventory at the corresponding price level. Then, the server obtains all prices and corresponding inventory data a(n)1, b(n)1, a(n)2, b(n)2, etc. of the current product n that do not exceed the maximum purchase price from the server in real time, locks and deducts product inventory from low to high until the set purchase quantity is reached or the remaining inventory is 0.
[0183] Then, when the purchase result indicates a failed purchase, no fees are deducted. The system immediately returns and refreshes the data display in the bulk purchase pop-up window, providing a general prompt (failure message), such as "Current inventory has changed, purchase failed, please select a new purchase price." When the purchase result indicates a full or partial purchase success, transaction fees are deducted, and a success message, the actual quantity of goods purchased, their icons, and quality colors are displayed. Simultaneously, in response to the confirmation action for the success message, a transaction details pop-up window (purchase details information) is displayed. This pop-up window shows the cost of this transaction, the number of goods successfully purchased, and displays the quantity purchased at each unit price and the corresponding expenditure in a list format.
[0184] Thus, this application achieves the following beneficial effects: 1. Improved transaction efficiency: Players can automatically purchase items in bulk by setting price ranges, avoiding repetitive manual operations and greatly improving transaction efficiency. The system automatically assesses inventory and provides feedback on acquisition status, enabling players to quickly complete large-scale transactions, saving time and effort. 2. Reduced operational errors: The system automatically processes transactions based on the price ranges set by the player, reducing the probability of errors in manual operations and ensuring the accuracy and reliability of transactions; this function is particularly suitable for players who frequently conduct bulk transactions in the trading market. 3. Enhanced trading experience: By simplifying the trading process and optimizing the user interface, the player's trading experience is significantly improved; the intuitive slider and price range selection allow players to easily conduct bulk transactions, enhancing the smoothness and enjoyment of trading. 4. Encouraging strategic acquisitions: Players can flexibly adjust acquisition price ranges according to market conditions, formulating more complex and strategic trading plans; this not only increases the depth of the in-game economic system but also enhances players' initiative and enjoyment in trading. 5. Increased player acquisition success rate: Through an efficient, accurate, and flexible purchasing process, the risks of tedious manual operations and misoperations are reduced.
[0185] By applying the above embodiments of this application, in the purchase settings interface, based on the purchase settings operation, a first price and a quantity of the target virtual resource are set, thereby purchasing the corresponding quantity of the target virtual resource at a second price less than or equal to the first price. Thus, compared to the purchase method where players need to purchase in batches, this application allows players to set the purchase quantity and price limit themselves, thereby directly purchasing virtual resources in bulk to meet their quantity and price requirements. This allows players to complete the bulk purchase process more quickly, simplifying the process of purchasing virtual resources, saving significant time and effort, and thus improving the efficiency of virtual resource purchases and the player's purchase experience.
[0186] The following description continues to illustrate the exemplary structure of the virtual resource purchasing device 455 provided in the embodiments of this application as a software module. In some embodiments, such as... Figure 2 As shown, the software module in the virtual resource purchasing device 455 stored in the memory 450 may include:
[0187] Display module 4551 is used to display, in response to a purchase setting operation for a target virtual resource, the first price of the target virtual resource and the quantity of the target virtual resource in the purchase setting interface;
[0188] Purchase module 4552 is configured to purchase the quantity of the target virtual resources at a second price in response to a purchase operation for the target virtual resources, wherein the second price is less than or equal to the first price.
[0189] In some embodiments, the device further includes a second display module, which is configured to display a virtual resource display interface including at least one virtual resource; in response to a selection operation of a target virtual resource among the at least one virtual resource, the virtual resource display interface displays detailed information of the target virtual resource and a first purchase control of the target virtual resource; wherein the detailed information includes explanatory information for introducing the target virtual resource and at least one selling price of the target virtual resource; based on the detailed information of the target virtual resource, in response to a trigger operation of the first purchase control, the device displays a purchase settings interface for purchasing the target virtual resource.
[0190] In some embodiments, the apparatus further includes a detection module, configured to detect the purchase permission of the account that triggered the selection operation in response to a selection operation of a target virtual resource among the at least one virtual resource, and obtain a permission detection result; the second display module is further configured to display the first purchase control in an active state if the permission detection result indicates that the account has the purchase permission of the target virtual resource; and to display the purchase settings interface for purchasing the target virtual resource in response to a trigger operation of the first purchase control in an active state.
[0191] In some embodiments, the purchase setting operation includes a price setting operation and a quantity setting operation; the device further includes a third display module, which is configured to display the initial price and initial quantity of the target virtual resource in the purchase setting interface, wherein the initial price is less than or equal to the first price; the display module 4551 is further configured to, in response to the price setting operation, display the first price obtained by setting the price based on the initial price, and in response to the quantity setting operation, display the quantity obtained by setting the quantity based on the initial quantity.
[0192] In some embodiments, the device further includes a fourth display module, which is configured to display a price adjustment control for adjusting the initial price in the purchase settings interface; the display module 4551 is further configured to, based on the price adjustment control and in response to the price setting operation, display the process of adjusting the initial price during the execution of the price setting operation, and use the adjusted initial price as the first price.
[0193] In some embodiments, the price adjustment control includes a slider and a slider disposed on the slider, and the price setting operation includes a sliding operation on the slider; the display module 4551 is further configured to, in response to the sliding operation on the slider, display the process of the slider sliding on the slider, and during the sliding process of the slider, display the process of the initial price changing as the slider slides; in response to the slider stopping sliding on the slider, display the changed initial price, and use the changed initial price as the first price.
[0194] In some embodiments, the price adjustment control includes an increase control for increasing the price and a decrease control for decreasing the price; the price setting operation includes a trigger operation for at least one of the increase control and the decrease control; the display module 4551 is further configured to display the process of the initial price change in response to at least one trigger operation executed continuously for at least one of the increase control and the decrease control, and to use the changed initial price as the first price.
[0195] In some embodiments, the device further includes a fifth display module, which is configured to display multiple price options for the target virtual resource in the purchase settings interface; wherein each price option corresponds to a selling price of the target virtual resource, the price option corresponding to the lowest selling price of the target virtual resource is selected, and the lowest selling price corresponding to the selected price option is the same as the initial price.
[0196] In some embodiments, the price setting operation includes a selection operation for a first price option; the display module 4551 is further configured to, in response to the selection operation for the first price option among the plurality of price options, select the price option corresponding to the lowest selling price, switch to the first price option being selected, and control the lowest selling price corresponding to the first price option as the first price; wherein the selling price corresponding to the first price option is different from the lowest selling price.
[0197] In some embodiments, the price setting operation includes a selection operation for a second price option; the display module 4551 is further configured to, in response to the selection operation for the second price option among the plurality of price options, control the second price option and the third price option to be in a selected state, and control the selling price corresponding to the second price option as the first price; wherein, the third price option is a price option whose corresponding selling price is between the selling price corresponding to the second price option and the initial price.
[0198] In some embodiments, the device further includes a control module, configured to control the states of the second price option and the fifth price option from a selected state to an unselected state in response to a deselection operation of the fourth price option; wherein the fourth price option is a price option whose corresponding selling price is any price option between the selling price corresponding to the second price option and the initial price, and the fifth price option is a price option whose corresponding selling price is between the selling price corresponding to the second price option and the selling price corresponding to the fourth price option; the display module 4551 is further configured to control the selling price corresponding to the fourth price option as the first price.
[0199] In some embodiments, the device further includes a sixth display module, which is configured to display a quantity adjustment control for adjusting the initial quantity in the purchase settings interface; the display module 4551 is also configured to adjust the initial quantity to the quantity in response to a quantity setting operation triggered based on the quantity adjustment control.
[0200] In some embodiments, the apparatus further includes a seventh display module, which is configured to display a quantity editing area in the associated area of the initial quantity; the display module 4551 is further configured to display the edited quantity in response to a quantity setting operation triggered based on the quantity editing area, and to use the edited quantity as the quantity of the target virtual resource.
[0201] In some embodiments, the target virtual resource has multiple selling prices, and the device further includes an eighth display module. The eighth display module is used to display a price adjustment control for adjusting the initial price and multiple price options for the target virtual resource in the purchase settings interface. Each price option corresponds to a selling price of the target virtual resource, and the price option corresponding to the lowest selling price of the target virtual resource is selected. The initial price is the lowest selling price among the multiple selling prices, and the initial price is less than or equal to the first price. The display module 4551 is also used to display the first price obtained by setting a price based on the initial price, in response to the price setting operation, based on the price adjustment control, the initial price, and the multiple price options including the selected price option.
[0202] In some embodiments, the display module 4551 is further configured to respond to a price setting operation triggered based on the price adjustment control, and during the execution of the price setting operation, display the process of adjusting the initial price, and use the adjusted initial price as the first price; wherein, during the adjustment of the initial price, the sixth price option is switched from an unselected state to a selected state, and the sixth price option is a price option whose corresponding selling price is less than or equal to the adjusted initial price.
[0203] In some embodiments, the price setting operation includes a selection operation for a seventh price option, and the price adjustment control includes a slider and a slider; the display module 4551 is further configured to, in response to the selection operation for the seventh price option, control the seventh price option and an eighth price option to be in a selected state, and control the slider to slide from a first position to a second position on the slider; wherein, the eighth price option is a price option whose corresponding selling price is between the selling price corresponding to the seventh price option and the initial price, and the second position is associated with the selling price corresponding to the seventh price option; the selling price corresponding to the seventh price option is used as the first price of the target virtual resource.
[0204] In some embodiments, the device further includes a ninth display module, which is configured to display a success message if the target virtual resource is successfully purchased; wherein the success message indicates that the target virtual resource has been successfully purchased and includes the quantity of the target virtual resource successfully purchased.
[0205] In some embodiments, the device further includes a tenth display module, which is configured to display a confirmation control if the target virtual resource is successfully purchased, the confirmation control being used to jump to the virtual resource display interface; in response to a trigger operation on the confirmation control, jump from the purchase settings interface to the virtual resource display interface, and display purchase details in the virtual resource display interface.
[0206] In some embodiments, the device further includes an eleventh display module, which is configured to display a failure message in the purchase settings interface if the purchase of the target virtual resource fails; wherein the failure message indicates that at least one of the price and quantity of the target virtual resource needs to be reset.
[0207] In some embodiments, the selling price of the target virtual resource is at least one; the device further includes a twelfth display module, which is configured to display the inventory of the target virtual resource at each of the selling prices in the purchase setting interface; the display module 4551 is further configured to, based on the inventory of the target virtual resource at each of the selling prices, in response to a purchase setting operation for the target virtual resource, display a first price of the target virtual resource set and the quantity of the target virtual resource; wherein the quantity of the target virtual resource set is less than or equal to the inventory corresponding to the selling price indicated by the second price.
[0208] In some embodiments, the first price is at least one; the device further includes a thirteenth display module, the thirteenth display module being configured to display a reference purchase fee in the purchase settings interface; wherein the reference purchase fee is determined based on the product of the highest price among at least one first price and the quantity of the target virtual resource; the purchase module 4552 is further configured to purchase the quantity of the target virtual resource at a second price in response to a purchase operation for the target virtual resource based on the reference purchase fee.
[0209] This application provides a computer program product comprising computer-executable instructions or a computer program stored in a computer-readable storage medium. A processor of an electronic device reads the computer-executable instructions or computer program from the computer-readable storage medium and executes the computer-executable instructions or computer program, causing the electronic device to perform the virtual resource purchasing method described above in this application.
[0210] This application provides a computer-readable storage medium storing computer-executable instructions or a computer program. When the computer-executable instructions or the computer program are executed by a processor, the processor will execute the virtual resource purchasing method provided in this application. For example, ... Figure 3 The method for purchasing virtual resources is shown.
[0211] In some embodiments, the computer-readable storage medium may be a read-only memory (ROM), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory, magnetic surface memory, optical disk, or CD-ROM, etc.; or it may be a device that includes one or any combination of the above-mentioned memories.
[0212] In some embodiments, computer-executable instructions may take the form of programs, software, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.
[0213] As an example, computer-executable instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple co-located files (e.g., files that store one or more modules, subroutines, or code sections).
[0214] As an example, computer-executable instructions can be deployed to execute on a single electronic device, or on multiple electronic devices located at one location, or on multiple electronic devices distributed across multiple locations and interconnected via a communication network.
[0215] In summary, the embodiments of this application have the following beneficial effects:
[0216] (1) Compared to the purchase method where players need to purchase in batches, through this application players can set the purchase quantity and purchase price limit themselves, so as to directly purchase virtual resources in batches to meet the quantity and price requirements. In this way, players can complete the batch purchase process more quickly, simplifying the process of purchasing virtual resources and saving a lot of time and energy, thereby improving the purchase efficiency of virtual resources and the purchase experience of players.
[0217] (2) This application achieves the following beneficial effects: 1. Improved transaction efficiency: Players can automatically purchase items in bulk by setting price ranges, avoiding repetitive manual operations and greatly improving transaction efficiency. The system automatically judges inventory and provides feedback on the acquisition status, enabling players to quickly complete large-scale transactions and saving time and effort. 2. Reduced operational errors: The system automatically processes transactions according to the price ranges set by players, reducing the probability of errors in manual operations and ensuring the accuracy and reliability of transactions; this function is particularly suitable for players who frequently conduct bulk transactions in the trading house. 3. Enhanced transaction experience: By simplifying the transaction process and optimizing the operation interface, the player's transaction experience is significantly improved; the intuitive slider and price range selection allow players to easily conduct bulk transactions, enhancing the smoothness and enjoyment of transactions. 4. Promotes strategic acquisitions by players: Players can flexibly adjust the acquisition price range according to market conditions and formulate more complex and strategic transaction plans; this not only increases the depth of the in-game economic system but also enhances players' initiative and enjoyment in transactions. 5. Increased player acquisition success rate: Through an efficient, accurate, and flexible purchasing process, the risks of tedious manual operations and misoperations are reduced.
[0218] It should be noted that in this application embodiment, data such as user operation data is involved. When this application embodiment is applied to a specific product or technology, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0219] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.
Claims
1. A method for purchasing virtual resources, characterized in that, The method comprises: In the purchase setting interface, in response to a purchase setting operation on a target virtual resource, displaying a first price of the target virtual resource set and a quantity of the target virtual resource; In response to a purchase operation on the target virtual resource, purchasing the quantity of target virtual resources at a second price, the second price being less than or equal to the first price.
2. The method of claim 1, wherein, Before the displaying of the first price of the target virtual resource set and the quantity of the target virtual resource in response to the purchase setting operation on the target virtual resource, the method further comprises: Displaying a virtual resource display interface comprising at least one virtual resource; In response to a selection operation on a target virtual resource in the at least one virtual resource, displaying, in the virtual resource display interface, detail information of the target virtual resource and a first purchase control of the target virtual resource; The detail information comprises explanatory information for introducing the target virtual resource and at least one selling price of the target virtual resource; Based on the detail information of the target virtual resource, in response to a triggering operation on the first purchase control, displaying the purchase setting interface for purchasing the target virtual resource.
3. The method of claim 2, wherein, After the displaying of the virtual resource display interface comprising at least one virtual resource, the method further comprises: In response to a selection operation on a target virtual resource in the at least one virtual resource, detecting a purchase authority of an account triggering the selection operation to obtain an authority detection result; The displaying of the first purchase control of the target virtual resource comprises: If the authority detection result represents that the account has the purchase authority of the target virtual resource, displaying the first purchase control in an activated state; The displaying of the purchase setting interface for purchasing the target virtual resource in response to the triggering operation on the first purchase control comprises: In response to the triggering operation on the first purchase control in the activated state, displaying the purchase setting interface for purchasing the target virtual resource.
4. The method of claim 1, wherein, The purchase setting operation comprises a price setting operation and a quantity setting operation; Before the displaying of the first price of the target virtual resource set and the quantity of the target virtual resource in response to the purchase setting operation on the target virtual resource, the method further comprises: In the purchase setting interface, displaying an initial price and an initial quantity of the target virtual resource, the initial price being less than or equal to the first price; The displaying of the first price of the target virtual resource set and the quantity of the target virtual resource in response to the purchase setting operation on the target virtual resource comprises: In response to the price setting operation, displaying the first price obtained by price setting based on the initial price, and in response to the quantity setting operation, displaying the quantity obtained by quantity setting based on the initial quantity.
5. The method of claim 4, wherein, Before the displaying of the first price of the target virtual resource set and the quantity of the target virtual resource in response to the purchase setting operation on the target virtual resource, the method further comprises: In the purchase setting interface, a price adjustment control for adjusting the initial price is displayed; The first price obtained by performing the price setting based on the initial price is displayed in response to the price setting operation, including: In response to the price setting operation, based on the price adjustment control, a process of adjusting the initial price is displayed during the execution of the price setting operation, and the adjusted initial price is taken as the first price.
6. The method of claim 5, wherein, The price adjustment control includes a sliding rod and a sliding block arranged on the sliding rod, and the price setting operation includes a sliding operation on the sliding block; In response to the price setting operation, based on the price adjustment control, a process of adjusting the initial price is displayed during the execution of the price setting operation, including: In response to the sliding operation on the sliding block, a process of sliding the sliding block on the sliding rod is displayed, and a process of changing the initial price with the sliding of the sliding block is displayed during the sliding of the sliding block; In response to the sliding block stopping sliding on the sliding rod, the changed initial price is displayed, and the changed initial price is taken as the first price.
7. The method of claim 5, wherein, The price adjustment control includes an increase control for increasing the price and a decrease control for decreasing the price; and the price setting operation includes a trigger operation on at least one of the increase control and the decrease control; In response to the price setting operation, based on the price adjustment control, a process of adjusting the initial price is displayed during the execution of the price setting operation, including: In response to at least one trigger operation continuously performed on at least one of the increase control and the decrease control, a process of changing the initial price is displayed, and the changed initial price is taken as the first price.
8. The method of claim 4, wherein, Before the first price obtained by performing the price setting based on the initial price is displayed in response to the price setting operation, the method further includes: In the purchase setting interface, a plurality of price options of the target virtual resource are displayed; Each of the price options corresponds to a selling price of the target virtual resource, and a price option corresponding to a lowest selling price of the target virtual resource is in a selected state, and the lowest selling price corresponding to the price option in the selected state is the same as the initial price.
9. The method of claim 8, wherein, The price setting operation includes a selection operation on a first price option; and the first price obtained by performing the price setting based on the initial price is displayed in response to the price setting operation, including: In response to the selection operation on the first price option in the plurality of price options, the price option corresponding to the lowest selling price is switched from the selected state to the selected state of the first price option, and the lowest selling price corresponding to the first price option is controlled as the first price; The selling price corresponding to the first price option is different from the lowest selling price.
10. The method of claim 8, wherein, The price setting operation includes a selection operation on a second price option; The method further includes: In response to a selection operation on a second price option of the plurality of price options, controlling the second price option and a third price option to be in a selected state, and controlling a selling price corresponding to the second price option as the first price; The third price option is a price option whose corresponding selling price is between the selling price corresponding to the second price option and the initial price.
11. The method of claim 10, wherein, The method further includes: In response to a de-selection operation on a fourth price option, controlling a state of the second price option and a fifth price option to switch from a selected state to a non-selected state; The fourth price option is any one of the price options whose corresponding selling price is between the selling price corresponding to the second price option and the initial price, and the fifth price option is a price option whose corresponding selling price is between the selling price corresponding to the second price option and a selling price corresponding to the fourth price option. The controlling the selling price corresponding to the second price option as the first price includes: Controlling a selling price corresponding to the fourth price option as the first price.
12. The method of claim 4, wherein, The method further includes: In the purchase setting interface, displaying a quantity adjustment control for adjusting the initial quantity; The method further includes: In response to a quantity setting operation triggered based on the quantity adjustment control, adjusting the initial quantity to the quantity.
13. The method of claim 4, wherein, The method further includes: In the associated area of the initial quantity, displaying a quantity editing area; The method further includes: In response to a quantity setting operation triggered based on the quantity editing area, displaying an edited quantity, and taking the edited quantity as the quantity of the target virtual resource.
14. The method of claim 4, wherein, The selling price of the target virtual resource is a plurality of, and the method further includes: In the purchase setting interface, displaying a price adjustment control for adjusting the initial price, and a plurality of price options of the target virtual resource; The price option corresponds to a selling price of the target virtual resource, the price option corresponding to the lowest selling price of the target virtual resource is in a selected state, the initial price is the lowest selling price in the plurality of selling prices, and the initial price is less than or equal to the first price. The first price obtained by performing the price setting operation based on the initial price is displayed in response to the price setting operation, and the displaying comprises: The first price obtained by performing the price setting operation based on the initial price is displayed in response to the price setting operation based on the price adjustment control, the initial price, and the plurality of price options including the price option in the selected state.
15. The method of claim 14, wherein, The first price obtained by performing the price setting operation based on the initial price is displayed in response to the price setting operation based on the price adjustment control, the initial price, and the plurality of price options including the price option in the selected state. In response to the price setting operation triggered based on the price adjustment control, a process of adjusting the initial price is displayed during the execution of the price setting operation, and the initial price after the adjustment is taken as the first price. During the adjustment of the initial price, the sixth price option is switched from the unselected state to the selected state, and the sixth price option is a price option whose corresponding selling price is less than or equal to the initial price after the adjustment.
16. The method of claim 14, wherein, The price setting operation comprises a selection operation on the seventh price option, and the price adjustment control comprises a slide bar and a slide block. The first price obtained by performing the price setting operation based on the initial price is displayed in response to the price setting operation based on the price adjustment control, the initial price, and the plurality of price options including the price option in the selected state. In response to the selection operation on the seventh price option, the seventh price option and the eighth price option are controlled to be in the selected state, and the slide block is controlled to slide on the slide bar from a first position to a second position. The eighth price option is a price option whose corresponding selling price is between the corresponding selling price of the seventh price option and the initial price, and the second position is associated with the corresponding selling price of the seventh price option. The corresponding selling price of the seventh price option is taken as the first price of the target virtual resource.
17. The method of claim 1, wherein, After the quantity of the target virtual resource is purchased at the second price in response to the purchase operation on the target virtual resource, the method further comprises: If the target virtual resource is successfully purchased, a success prompt information is displayed. The success prompt information is used to prompt that the target virtual resource is successfully purchased, and comprises the quantity of the target virtual resource successfully purchased.
18. The method of claim 17, wherein, The method further comprises: If the target virtual resource is successfully purchased, a determination control is displayed, and the determination control is used to jump to a virtual resource display interface. In response to a trigger operation on the determination control, the purchase setting interface is jumped to the virtual resource display interface, and purchase detail information is displayed in the virtual resource display interface.
19. The method of claim 1, wherein, After the purchasing the quantity of the target virtual resource at the second price in response to the purchase operation for the target virtual resource, the method further includes: If the target virtual resource purchase fails, displaying a failure prompt information in the purchase setting interface; The failure prompt information is used to indicate that at least one of the price and the quantity of the target virtual resource needs to be reset.
20. The method of claim 1, wherein, The target virtual resource has at least one selling price; and before the displaying the set first price of the target virtual resource and the quantity of the target virtual resource in response to the purchase setting operation for the target virtual resource, the method further includes: Displaying the inventory of the target virtual resource at each selling price in the purchase setting interface; The displaying the set first price of the target virtual resource and the quantity of the target virtual resource in response to the purchase setting operation for the target virtual resource includes: Displaying the set first price of the target virtual resource and the quantity of the target virtual resource in response to the purchase setting operation for the target virtual resource based on the inventory of the target virtual resource at each selling price; The set quantity of the target virtual resource is less than or equal to the inventory corresponding to the selling price indicated by the second price.
21. The method of claim 1, wherein, The first price is at least one; After the displaying the set first price of the target virtual resource and the quantity of the target virtual resource in response to the purchase setting operation for the target virtual resource, the method further includes: Displaying a reference purchase cost in the purchase setting interface; The reference purchase cost is determined based on the product of the highest price in the at least one first price and the quantity of the target virtual resource; The purchasing the quantity of the target virtual resource at the second price in response to the purchase operation for the target virtual resource includes: Purchasing the quantity of the target virtual resource at the second price in response to the purchase operation for the target virtual resource based on the reference purchase cost.
22. An apparatus for purchasing a virtual resource, the apparatus comprising: The apparatus includes: A display module configured to display, in a purchase setting interface, a set first price of a target virtual resource and a quantity of the target virtual resource in response to a purchase setting operation for the target virtual resource; A purchase module configured to purchase the quantity of the target virtual resource at a second price in response to a purchase operation for the target virtual resource, the second price being less than or equal to the first price.
23. An electronic device, comprising: The apparatus includes: A memory configured to store computer executable instructions or computer programs; A processor configured to execute the computer executable instructions or computer programs stored in the memory to implement the virtual resource purchase method of any one of claims 1 to 21.
24. A computer-readable storage medium, characterized in that, The apparatus includes:
25. A computer program product comprising computer-executable instructions or a computer program, characterized in that, The computer executable instructions or computer programs stored in the memory are configured to cause the processor to implement the virtual resource purchase method of any one of claims 1 to 21. The computer executable instructions or computer programs are configured to cause the processor to implement the virtual resource purchase method of any one of claims 1 to 21.