Asset exchange method, device, equipment, storage medium and program product
By displaying the asset exchange interface on the terminal device and generating an order after the exchange is completed, the problems of frequent order creation and inventory management in the existing technology are solved, the efficiency of asset exchange is improved and the operating costs are reduced.
Patent Information
- Application Number
- CN202411975406.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2044-12-26
AI Technical Summary
Existing asset exchange methods require frequent order creation and cancellation, resulting in high operating costs, low efficiency, and the problem of "illusion" in inventory management.
By displaying the asset exchange interface on the terminal device, users are allowed to select the assets to be confirmed and update them, and then generate an order after the exchange is completed. The server deducts inventory after receiving the order request, avoiding frequent order creation and inventory operations.
It reduces the operational steps of asset exchange, improves exchange efficiency, avoids invalid orders and inventory management problems, and reduces operating costs.
Smart Images

Figure CN119809714B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular to an asset exchange method, apparatus, device, storage medium, and program product. Background Art
[0002] With the rapid development of internet technology, various e-commerce platforms have emerged, allowing users to purchase goods on them. To boost their competitiveness, e-commerce platforms have launched various asset giveaway services. For example, users can participate in a lottery on the platform and receive a prize asset, or users can purchase asset A and receive asset B as a gift from the platform.
[0003] Current asset exchange methods create an order for each user's asset. For example, if a user purchases asset A and also receives assets B and C as gifts, separate orders are created for each asset. If an asset exchange is needed, the user must cancel the order, and the corresponding inventory releases the assets corresponding to the canceled order. This demonstrates that current asset exchange methods involve multiple operations, including creating, canceling, and releasing inventory, which increases the operational cost of asset exchange and reduces its efficiency. Summary of the Invention
[0004] The embodiments of the present application provide an asset exchange method, apparatus, device, storage medium, and program product, which can reduce the operating cost of asset exchange and improve the efficiency of asset exchange.
[0005] In one aspect, an embodiment of the present application provides an asset exchange method, applied to a terminal device, comprising:
[0006] Displaying an asset exchange interface, wherein the asset exchange interface includes N pending assets of the object, a first asset that the object can be exchanged for, and an exchange rule for exchanging the pending assets of the object for the first asset, wherein the pending assets are assets that can be used for asset exchange and for placing orders, and N is a positive integer;
[0007] In response to the object selecting K to-be-confirmed assets from the N to-be-confirmed assets based on the exchange rule corresponding to the first asset, the object's to-be-confirmed assets are updated, the updated to-be-confirmed assets of the object including the first asset and excluding the K to-be-confirmed assets, and the updated to-be-confirmed assets of the object can continue to be used for asset exchange, where K is a positive integer less than or equal to N;
[0008] When it is detected that the asset exchange operation input by the object is completed, an order interface is displayed, and in response to the object's order operation for at least one unconfirmed asset in the order interface, an order request is sent to the server, wherein the order request is used to request the server to generate an order for the at least one unconfirmed asset.
[0009] On the other hand, an embodiment of the present application provides an asset exchange method, applied to a server, the method comprising:
[0010] receiving an order request sent by a terminal device, the order request being used to request the server to generate an order for at least one unconfirmed asset, the order request being sent by the terminal device in response to the subject's order operation for the at least one unconfirmed asset in the order interface, the order interface being displayed upon the terminal device detecting completion of an asset exchange operation input by the subject, the subject's unconfirmed assets being updated by the terminal device in response to the subject's selection operation of selecting K unconfirmed assets from N unconfirmed assets of the subject based on an exchange rule corresponding to the first asset, the unconfirmed assets being assets that can be used for asset exchange and for placing orders, where N is a positive integer and K is a positive integer less than or equal to N;
[0011] Based on the order request, an order for the at least one asset to be confirmed is generated, and the at least one asset to be confirmed is deducted from the assets included in the inventory.
[0012] On the other hand, an embodiment of the present application provides an asset mapping device, applied to a terminal device, the device comprising:
[0013] an exchange interface display unit, configured to display an asset exchange interface, the asset exchange interface including N pending assets of an object, a first asset that the object can exchange for, and an exchange rule for exchanging the pending assets of the object for the first asset, wherein the pending assets are assets that can be used for asset exchange and for placing orders, and N is a positive integer;
[0014] an exchange unit configured to update the object's pending assets in response to the object selecting K pending assets from the N pending assets based on the exchange rule corresponding to the first asset, wherein the updated pending assets include the first asset but do not include the K pending assets, and the updated pending assets can continue to be used for asset exchange, where K is a positive integer less than or equal to N;
[0015] An order placement unit is configured to display an order placement interface upon detecting that an asset exchange operation input by the subject is completed, and in response to the subject placing an order for at least one unconfirmed asset in the order placement interface, send an order request to a server, wherein the order request is configured to request the server to generate an order for the at least one unconfirmed asset.
[0016] In some embodiments, the exchange unit is specifically configured to send a first asset exchange request to the server in response to the object selecting the K assets to be confirmed from the N assets to be confirmed, wherein the first asset exchange request is used to request that the K assets to be confirmed of the object be exchanged for the first asset; receive a first exchange success notification sent by the server, wherein the first exchange success notification is used to indicate that the K assets to be confirmed of the object have been successfully exchanged for the first asset; and update the assets to be confirmed of the object based on the first exchange success notification.
[0017] In some embodiments, the order placement unit is specifically used to display a successful redemption window in response to the first successful redemption notification, and the successful redemption window includes a confirmed order option; in response to the object's triggering operation on the confirmed order option, the order placement interface is displayed.
[0018] In some embodiments, the exchange success window also includes a continue exchange option, and the exchange unit is further used to respond to the object's triggering operation on the continue exchange option, return to display the asset exchange interface, and the asset exchange interface includes the object's updated pending assets, the second asset that the object can exchange for, and the exchange rules for exchanging the object's updated pending assets for the second asset; in response to the object's selection operation of selecting P pending assets from the object's updated pending assets based on the exchange rules corresponding to the second asset, send a second asset exchange request to the server, the second asset exchange request is used to request that the object's P pending assets be exchanged for the second asset, where P is a positive integer; receive a second exchange success notification sent by the server, the second exchange success notification is used to indicate that the object's P pending assets are successfully exchanged for the second asset; based on the second exchange success notification, update the object's updated pending assets.
[0019] In some embodiments, each pending asset of the object in the ordering interface corresponds to a confirmation option, and the ordering unit is specifically used to display a confirmation shipment interface in response to the object triggering operation of the confirmation option corresponding to any pending asset in the ordering interface, wherein the confirmation shipment interface includes the pending assets of the object and the confirmation shipment option; in response to the object's selection operation of at least one pending asset in the confirmation shipment interface and the triggering operation of the confirmation shipment option, send the order request to the server.
[0020] In some embodiments, each to-be-confirmed asset of the object in the order interface also corresponds to an exchange option, and the exchange interface display unit is further used to display the asset exchange interface in response to the object triggering an exchange option corresponding to any to-be-confirmed asset in the order interface.
[0021] In some embodiments, the confirmed shipment interface also includes a redemption option, and the redemption interface display unit is further used to display the asset redemption interface in response to the object triggering the redemption option in the confirmed shipment interface.
[0022] In some embodiments, the asset exchange interface also includes an exchange progress bar and a confirm exchange option, wherein the exchange progress bar is used to indicate the exchange rules corresponding to the first asset, and the exchange progress in the exchange progress bar represents the percentage of the sum of the values of the assets to be confirmed that the object has selected and the value of the first asset, and the confirm exchange option is displayed when the sum of the values of the assets to be confirmed that the object already has is greater than or equal to the value of the first asset; the exchange unit is specifically used to respond to the object's selection operation of selecting the K assets to be confirmed from the N assets to be confirmed based on the exchange progress in the exchange progress bar corresponding to the first asset, and mark the status of the K assets to be confirmed as selected; in response to the object's triggering operation of the confirm exchange option, update the object's assets to be confirmed.
[0023] In some embodiments, if the sum of the values of the objects' existing assets to be confirmed is less than the value of the first asset, a "Go to Collection" option is displayed in the asset exchange interface instead of a "Confirm Exchange" option, and the "Go to Collection" option is used to instruct the object to continue collecting the assets to be confirmed.
[0024] In some embodiments, the asset exchange interface includes a first display area, a second display area, and a third display area, wherein the first display area is used to display the first asset, the second display area is used to display M assets that the object can exchange for, the first asset is an asset selected by the object from the M assets, and the third display area is used to display the object's pending asset and the exchange rules, where M is a positive integer.
[0025] In some embodiments, the object's assets to be confirmed include at least one of the following: assets gifted from purchasing assets, assets won in a lottery, assets gifted from participating in an activity, and purchased assets.
[0026] On the other hand, an embodiment of the present application provides an asset exchange device, applied to a server, comprising:
[0027] a transceiver unit, configured to receive an order request sent by a terminal device, the order request being used to request the server to generate an order for at least one unconfirmed asset, the order request being sent by the terminal device in response to an order operation by the subject for the at least one unconfirmed asset in the order interface, the order interface being displayed by the terminal device upon detecting completion of an asset exchange operation input by the subject, the unconfirmed assets of the subject being updated by the terminal device in response to an operation by the subject to select K unconfirmed assets from N unconfirmed assets of the subject based on an exchange rule corresponding to the first asset, the unconfirmed assets being assets that can be used for asset exchange and for placing orders, where N is a positive integer and K is a positive integer less than or equal to N;
[0028] An order placing unit is configured to generate an order for the at least one asset to be confirmed based on the order placing request, and deduct the at least one asset to be confirmed from the assets included in the inventory.
[0029] In some embodiments, the transceiver unit is further used to receive a first asset exchange request sent by a terminal device, where the first asset exchange request is used to request that the K pending assets of the object be exchanged for the first asset; based on the first asset exchange request, the first asset is added to the asset pool of the object, and the status of the first asset is marked as a pending status, and the status of the K pending assets in the asset pool is marked as an exchanged status, where the assets in the pending status are assets that can be used for asset exchange and can be used for placing orders, and the assets in the exchanged status are assets that cannot be used for asset exchange and cannot be used for placing orders; and a first exchange success notification is sent to the terminal device, where the first exchange success notification is used to indicate that the K pending assets of the object have been successfully exchanged for the first asset.
[0030] In some embodiments, the transceiver unit is further used to receive a second asset exchange request sent by the terminal device, where the second asset exchange request is used to request that P pending assets of the object be exchanged for a second asset, where P is a positive integer; based on the second asset exchange request, the second asset is added to the asset pool of the object, and the status of the second asset is marked as the pending status, and the status of the P pending assets in the asset pool is marked as the exchanged status; and a second exchange success notification is sent to the terminal device, where the second exchange success notification is used to indicate that the P pending assets of the object have been successfully exchanged for the second asset.
[0031] In some embodiments, if the server is an exchange server, and the order is generated by the exchange server requesting the order server, the order placement unit is specifically used to send an order creation request to the order server based on the order placement request, and the order creation request is used to request the order server to create an order for the at least one asset to be confirmed; the transceiver unit is also used to receive an authentication request sent by the order server, and the authentication request is used to request the exchange server to verify whether the object has the right to purchase the at least one asset to be confirmed for zero yuan; the order placement unit is also used to authenticate the object based on the authentication request; the transceiver unit is also used to send the authentication result of the object to the order server, so that the order server creates an order for the at least one asset to be confirmed when the authentication result indicates that the object has the right to purchase the at least one asset to be confirmed for zero yuan, and sends a deduction inventory request to the inventory server, and the deduction inventory request is used to request the inventory server to deduct the at least one asset to be confirmed from the assets included in the inventory.
[0032] On the other hand, an embodiment of the present application provides an electronic device, including a processor and a memory;
[0033] The memory is used to store computer programs;
[0034] The processor is configured to execute the computer program to implement the method described in the first aspect and / or the second aspect.
[0035] On the other hand, an embodiment of the present application provides a computer-readable storage medium, which is used to store a computer program, and the computer program is loaded and executed by an electronic device to implement the above-mentioned asset exchange method.
[0036] On the other hand, an embodiment of the present application provides a computer program product, which includes computer instructions, and the computer instructions are stored in a readable storage medium. An electronic device can read the computer instructions from the readable storage medium, so that the electronic device loads and executes them to implement the above-mentioned asset exchange method.
[0037] Based on the technical solutions provided in the embodiments of the present application, a terminal device displays an asset exchange interface that includes N pending assets of a subject, a first asset that the subject can exchange for, and exchange rules for exchanging the subject's pending assets for the first asset. The pending assets are assets that can be used for asset exchange and for placing orders. Based on the exchange rules corresponding to the first asset, the subject can select K pending assets from the N pending assets. In response to the subject's selection, the terminal device updates the subject's pending assets. The updated pending assets include the first asset but exclude the K pending assets, and the updated pending assets can continue to be used for asset exchange. After the asset exchange is complete, the subject enters an asset exchange completion operation. Upon detecting the subject's input, the terminal device displays an order interface that includes the subject's current pending assets. The subject can select at least one pending asset from the order interface to place an order. In response to the subject's order operation, the terminal device sends an order request to a server, requesting the server to generate an order for the at least one pending asset. In this way, the server generates an order for the at least one asset to be confirmed based on the order request, and deducts the at least one asset to be confirmed from the assets included in the inventory. It can be seen from this that in the embodiment of the present application, during the asset exchange process, no order is created, and no operation of deducting inventory is involved. Instead, after the asset exchange is completed, the terminal device sends an order request to the server, and the server generates an order based on the order request and deducts the corresponding asset from the inventory. This can avoid the problem of frequently creating orders, deducting inventory, canceling orders, and releasing inventory, avoid the generation of multiple invalid orders, solve the problem of inventory "illusion", reduce the operational steps of exchanging assets, and thus improve the efficiency of asset exchange. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0039] Figure 1 A schematic diagram of an implementation environment of the asset exchange method according to an embodiment of the present application;
[0040] Figure 2 A flowchart of an asset exchange method provided in one embodiment of the present application;
[0041] Figure 3A 、 Figure 3B and Figure 3C This is a schematic diagram of several trigger displays on the asset exchange interface;
[0042] Figure 4 This is a schematic diagram of the asset exchange interface;
[0043] Figure 5 This is another schematic diagram of the asset exchange interface;
[0044] Figure 6 This is a diagram of the asset exchange interface including the exchange progress bar;
[0045] Figure 7A and Figure 7B Several display diagrams of the redemption progress bar;
[0046] Figures 8A to 8C A diagram showing the exchange progress displayed on the exchange progress bar as the number of assets to be confirmed increases.
[0047] Figure 9 This is another schematic diagram of the asset exchange interface;
[0048] Figure 10A A schematic diagram of the successful redemption window;
[0049] Figure 10B This is a diagram showing the asset exchange interface displayed after the Continue Exchange option in the exchange success window is triggered;
[0050] Figure 11 Another schematic diagram of the successful redemption window;
[0051] Figure 12 A schematic diagram showing the process of switching from the successful redemption window to the order placement interface;
[0052] Figure 13A This is a schematic diagram of the order placement interface;
[0053] Figure 13B A schematic diagram for determining the delivery interface;
[0054] Figure 13C This is a schematic diagram of the multiple asset exchange process;
[0055] Figure 14 A flowchart of an asset exchange method provided in one embodiment of the present application;
[0056] Figure 15 Schematic diagram of several asset states;
[0057] Figure 16 A schematic diagram of a system architecture of the asset exchange method according to an embodiment of the present application;
[0058] Figure 17 A flowchart of the asset exchange method provided in an embodiment of the present application;
[0059] Figure 18 An interactive diagram for asset exchange;
[0060] Figure 19 A schematic diagram of the structure of the asset exchange device provided in an embodiment of the present application;
[0061] Figure 20 A schematic diagram of the structure of the asset exchange device provided in an embodiment of the present application;
[0062] Figure 21 This is a block diagram of an electronic device involved in an embodiment of the present application. DETAILED DESCRIPTION
[0063] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0064] It should be understood that in the embodiments of the present invention, "B corresponding to A" means that B is associated with A. In one implementation, B can be determined based on A. However, it should also be understood that determining B based on A does not mean determining B based solely on A; B can also be determined based on A and / or other information.
[0065] In the description of the present application, unless otherwise specified, "plurality" means two or more than two.
[0066] In addition, to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art will understand that the words "first" and "second" do not limit the quantity or execution order, and the words "first" and "second" do not necessarily mean different.
[0067] The asset exchange method provided in the embodiments of the present application can be applied to technical fields such as online shopping, e-commerce systems, and video applications, and can reduce the operating costs of asset exchange and improve the efficiency of asset exchange.
[0068] To facilitate understanding of the embodiments of the present application, the following briefly introduces the relevant concepts involved in the embodiments of the present application:
[0069] Exchange (synthesis) system: This means that an object (such as a user) obtains Asset A and Asset B through lottery, gifting, etc. on the e-commerce platform. The object can choose to exchange (synthesize) Asset D by combining Asset A and Asset B.
[0070] Main assets (order): Asset A + Asset B are exchanged for Asset D, then Asset A and Asset B are the main assets.
[0071] Exchange assets (orders): Asset A + Asset B are exchanged for Asset D, where Asset D becomes the exchange item (D is derived from the initials of the Chinese character for "Dui"). Furthermore, Asset D can also be used to exchange for other exchange items, whereby Asset D becomes the main commodity in other exchange transactions.
[0072] Asset Inventory: The number of assets available for sale is called inventory in e-commerce systems.
[0073] Assets: Resources that can be used for redemption, such as prizes and gifts, can be called the assets of the object.
[0074] Progressive (incremental) type: that is, multi-layer, multiple exchange (synthesis), for example, the object can be exchanged for asset D based on asset A + asset B, and asset C + asset D can be exchanged for asset D2.
[0075] The current asset exchange method first creates an order for each asset and deducts the corresponding asset from the inventory system. Upon exchange, the subject cancels the order, and the inventory system releases the corresponding asset. For example, if a subject purchases asset A (asset A is the primary asset) and receives assets Z1 and Z2 as gifts, an order for asset A is created, along with orders for assets Z1 and Z2. During the first exchange, if the subject wishes to exchange assets Z1 and Z2 for asset D3, the orders for assets Z1 and Z2 are canceled, and the inventory system releases assets Z1 and Z2. The subject then exchanges assets Z1 and Z2 for asset D3, generating an order for asset D3 and deducting asset D3. During the second exchange, if the subject wishes to exchange assets D3 and Z3 for asset D4, the order for assets D3 and Z3 is canceled, and the inventory system releases assets D3 and Z3. The subject then exchanges assets Z3 and Z3 for asset D4, generating an order for asset D4 and deducting asset D4. From this, we can see that in the current asset exchange process, there are frequent order creation, inventory deduction, order cancellation, and inventory release, which increases the pressure on the order system and inventory system. In addition, the object needs to perform multiple order cancellation operations, which increases the object's asset exchange operations and makes the asset exchange efficiency low.
[0076] To address the aforementioned technical issues, embodiments of the present application provide a novel asset exchange method. A terminal device displays an asset exchange interface, which includes a subject's N pending assets, a first asset that the subject can exchange for, and exchange rules for exchanging the subject's pending assets for the first asset. The pending assets are assets that can be used for asset exchange and for placing orders. Based on the exchange rules corresponding to the first asset, the subject can select K pending assets from the N pending assets. In response to the subject's selection, the terminal device updates the subject's pending assets. The updated pending assets include the first asset but exclude the K pending assets, and the updated pending assets can continue to be used for asset exchange. After the asset exchange is complete, the subject enters an asset exchange completion operation. Upon detecting the subject's input, the terminal device displays an order interface, which includes the subject's current pending assets. The subject can select at least one pending asset from the order interface to place an order. In response to the subject's order operation, the terminal device sends an order request to a server, requesting the server to generate an order for the at least one pending asset. In this way, the server generates an order for the at least one asset to be confirmed based on the order request, and deducts the at least one asset to be confirmed from the assets included in the inventory. It can be seen from this that in the embodiment of the present application, during the asset exchange process, no order is created, and no operation of deducting inventory is involved. Instead, after the asset exchange is completed, the terminal device sends an order request to the server, and the server generates an order based on the order request and deducts the corresponding asset from the inventory. This can avoid the problem of frequently creating orders, deducting inventory, canceling orders, and releasing inventory, avoid the generation of multiple invalid orders, solve the problem of inventory "illusion", reduce the operational steps of exchanging assets, and thus improve the efficiency of asset exchange.
[0077] The following is an introduction to the implementation environment involved in the embodiments of this application.
[0078] Figure 1 This is a schematic diagram of an implementation environment of the asset exchange method according to an embodiment of the present application, including a terminal device 101 and a server 102.
[0079] The terminal device 101 may refer to a device that is deployed with a client of a business platform, which may be an e-commerce platform, an event platform, a lottery platform, a streaming platform, a gaming platform, etc. The terminal device 101 of the embodiment of the present application may include, but is not limited to: a PC (Personal Computer), a PDA (Tablet Computer), a mobile phone, a wearable smart device, an intelligent voice interaction device, a smart home appliance, a vehicle-mounted terminal, an aircraft, etc. The terminal device 101 may be configured with a display device, which may also be a display, a display screen, a touch screen, etc. The touch screen may also be a touch screen, a touch panel, etc. The display device may be used to display video images, etc.
[0080] Server 102 can be understood as the backend of the business platform. Server 102 can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. Server 102 can also become a node in the blockchain.
[0081] The terminal device 101 and the server 102 can be connected directly or indirectly through wired communication or wireless communication, which is not limited in this application.
[0082] In the terminal device 101 of the present embodiment, a client for the business platform is installed and running. The subject can use this client to perform operations such as asset purchases, asset exchanges, and asset gifting. During the asset exchange process, the terminal device 101 can display an asset exchange interface based on the subject's asset exchange operation. This interface includes the subject's N pending assets, the subject's first asset that can be exchanged for, and the exchange rules for exchanging the subject's pending assets for the first asset. A pending asset is an asset that can be used for asset exchange and for placing an order, where N is a positive integer. Based on the exchange rules corresponding to the first asset, the subject can select K pending assets from the N pending assets. In response to the subject's selection operation, the terminal device 101 updates the subject's pending assets. The updated pending assets include the first asset and exclude the K pending assets. The updated pending assets can continue to be used for asset exchange. After the asset exchange is completed, the subject enters an asset exchange completion operation. Upon detecting the subject's input of the asset exchange completion operation, the terminal device 101 displays an ordering interface that includes the subject's current pending assets. The object can select at least one unconfirmed asset in the order interface to place an order. In response to the object's order operation, the terminal device 101 sends an order request to the server 102. The order request is used to request the server 102 to generate an order for the at least one unconfirmed asset. In this way, the server 102 generates an order for the at least one unconfirmed asset based on the order request and deducts the at least one unconfirmed asset from the assets included in the inventory. It can be seen from this that in the embodiment of the present application, during the asset exchange process, no order is created and no operation of deducting inventory is involved. Instead, after the asset exchange is completed, the terminal device 101 sends an order request to the server 102, and the server 102 generates an order based on the order request and deducts the corresponding asset from the inventory. This can avoid the problem of frequently creating orders, deducting inventory, canceling orders, and releasing inventory, avoid the generation of multiple invalid orders, solve the problem of inventory "illusion", reduce the operational steps of exchanging assets, and thus improve the efficiency of asset exchange.
[0083] It should be noted that the application scenarios of the embodiments of the present application include but are not limited to Figure 1 shown.
[0084] The following describes the technical solutions of the embodiments of the present application in detail through some embodiments. The following embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0085] Figure 2 A flowchart of an asset exchange method provided in one embodiment of the present application.
[0086] like Figure 2 As shown, the method of the embodiment of the present application includes:
[0087] S101. The terminal device displays an asset exchange interface.
[0088] The asset exchange interface includes: N pending assets of the object, a first asset that the object can exchange for, and an exchange rule for exchanging the pending assets of the object for the first asset. The pending assets are assets that can be used for asset exchange and for placing orders, and N is a positive integer.
[0089] It should be noted that the method of obtaining data and the relevant data obtained in executing the asset exchange method of the embodiment of the present application are in compliance with relevant laws and regulations.
[0090] In the embodiments of the present application, a client of the service platform is installed on the terminal device. In some embodiments, the client of the service platform can be a standalone client. In some embodiments, the client of the service platform can be integrated into the client of another application, such as a video playback client. In other words, the object can not only play videos on the video playback client, but also perform operations such as asset purchase and asset merging on the video playback client.
[0091] The embodiment of the present application does not limit the specific type of the business platform, as long as the platform can obtain assets.
[0092] Exemplarily, the business platform may be an e-commerce platform, an activity platform, a lottery platform, a streaming platform, a gaming platform, and the like.
[0093] The embodiment of the present application does not limit the specific method by which the object obtains the asset to be confirmed.
[0094] In some embodiments, the subject's assets to be confirmed include at least one of the following: a gift asset obtained by the subject when purchasing a target asset, a prize asset obtained by the subject in a lottery, a gift asset obtained by the subject when participating in an activity, an asset purchased by the subject, a prize asset obtained by the subject when consuming a certain resource, etc.
[0095] In one example, if the business platform is an e-commerce platform, the subject's pending asset includes at least one of a gifted asset obtained by the subject upon purchasing the target asset, a prize asset obtained by the subject through a lottery, a gifted asset obtained by the subject through participating in an event, or an asset purchased by the subject. For example, if the subject purchases the target asset on the e-commerce platform and receives a gifted asset, the gifted asset will be determined as the subject's pending asset. For another example, if the subject participates in a lottery on the e-commerce platform and receives a prize asset, the prize asset will be determined as the subject's pending asset. For another example, if the subject participates in an event on the e-commerce platform and receives a gifted asset, the gifted asset will be determined as the subject's pending asset.
[0096] In one example, if the business platform is an activity platform, the subject can participate in certain activities on the activity platform and obtain corresponding donated assets, which are determined as the subject's pending assets.
[0097] In one example, if the business platform is a lottery platform, the subject can participate in a lottery on the lottery platform and obtain a prize asset, which is determined as the subject's asset to be confirmed.
[0098] In one example, if the service platform is a streaming platform, the subject browses media data on the streaming platform and obtains a corresponding prize asset, which is determined as the subject's asset to be confirmed.
[0099] In one example, if the business platform is a game platform, the subject can obtain a prize asset by completing a game task on the game platform, and the prize asset is determined as the subject's asset to be confirmed.
[0100] It should be noted that the business platform of the embodiment of the present application includes but is not limited to the above-mentioned platforms, and can be a platform on which any object can obtain the assets to be confirmed.
[0101] In the embodiment of the present application, the business platform includes N assets to be confirmed obtained by the object. The object can complete the asset exchange operation through the client of the business platform.
[0102] In this embodiment of the present application, the pending asset is an asset that can be used for asset exchange and for placing orders. In other words, if a subject is interested in the pending asset, they can place an order for it. If a subject is not interested in the pending asset, they can use it to exchange for an asset of their interest.
[0103] In an embodiment of the present application, when the subject needs to exchange assets, the subject inputs an asset exchange operation, and the terminal device displays an asset exchange interface in response to the asset exchange operation input by the subject.
[0104] The embodiment of the present application does not limit the specific type of asset exchange operation input by the object.
[0105] In one embodiment, if Figure 3A As shown, the main interface of the business platform displays an exchange option. When a subject needs to exchange assets, the exchange option is triggered. In response to the subject's triggering operation on the exchange option, the terminal device displays the asset exchange interface. In this case, the subject's triggering operation on the exchange option can be determined as the asset exchange operation input by the subject.
[0106] In one embodiment, if Figure 3BAs shown, the main interface of the business platform displays an order option, and the object triggers the order option. The terminal device responds to the object's triggering operation on the order option and displays the order interface. Figure 3B As shown, the order interface includes one or more pending assets of the subject, each of which corresponds to an exchange option. The subject can trigger an exchange option corresponding to any pending asset in the order interface. In response to the subject triggering an exchange option corresponding to any pending asset in the order interface, the terminal device displays the asset exchange interface.
[0107] In one embodiment, if Figure 3C As shown, the order interface of the embodiment of the present application includes one or more assets to be confirmed of the object, and each asset to be confirmed corresponds to a confirmation option. The object can trigger the confirmation option corresponding to any asset to be confirmed in the order interface. The terminal device responds to the object's triggering operation on the confirmation option corresponding to any asset to be confirmed in the order interface, and displays the confirmation delivery interface. Figure 3C As shown, the confirmation delivery interface includes a redemption option, which can be triggered by the subject. In response to the subject triggering the redemption option in the confirmation delivery interface, the terminal device displays the asset redemption interface.
[0108] The asset exchange interface in this embodiment of the present application includes the subject's N pending assets, the first asset for which the subject can be exchanged, and the exchange rules for exchanging the subject's pending assets for the first asset. It should be noted that the aforementioned assets for which the subject can be exchanged and the corresponding exchange rules for these assets are configured by the operator through the B-side management console.
[0109] The embodiment of the present application does not limit the display position and form of the N assets to be confirmed of the object, the first asset that the object can be exchanged for, and the exchange rules corresponding to the first asset in the asset exchange interface.
[0110] In one example, Figure 4 As shown, the asset exchange interface includes a first display area, a second display area, and a third display area, wherein the first display area is used to display the first asset, the second display area is used to display the M assets that the object can exchange, and the first asset is an asset selected by the object from the M assets. The third display area is used to display the object's pending assets and exchange rules. In one example, Figure 4 As shown, when the object selects the first asset among the M assets displayed in the second display area, the state of the first asset in the second display area becomes selected. At the same time, the first asset selected by the object is displayed in the first display area.
[0111] In some embodiments, as Figure 5As shown, if the number of M assets is large and cannot be fully displayed in the second display area, a hidden option (e.g. Figure 5 The object can trigger this hidden option. In response to the object's triggering operation on this hidden option, the terminal device displays the page shown on the right, which displays all M assets, which can also become M redemption items.
[0112] In some embodiments, as Figure 5 As shown, the first display area also includes a left switch option and a right switch option. If the object triggers the left switch option, the terminal device displays the previous asset of the first asset in the first display area in response to the object's triggering operation on the left switch option, wherein the previous asset of the first asset is an asset that is located before the first asset among the M assets displayed in the second display area, and at the same time, the status of the asset that is located before the first asset in the second display area is changed to a selected state. If the object triggers the right switch option, the terminal device displays the next asset of the first asset in the first display area in response to the object's triggering operation on the right switch option, wherein the next asset of the first asset is an asset that is located after the first asset among the M assets displayed in the second display area, and at the same time, the status of the asset that is located after the first asset in the second display area is changed to a selected state.
[0113] In some embodiments, if one of the M assets displayed in the second display area is fully redeemed, a mark indicating that the asset has been fully redeemed may be placed on the asset. Alternatively, the fully redeemed asset may be directly removed from the M assets, with the remaining unredeemed assets displayed in the second display area.
[0114] The embodiment of the present application does not limit the specific form of expression of the exchange rules, such as a descriptive text or an exchange relationship diagram.
[0115] In some embodiments, as Figure 6 As shown, the exchange rules are indicated by an exchange progress bar. For example, if the subject selects a first asset as the exchangeable asset, the exchange progress in the exchange progress bar corresponding to the first asset represents the percentage of the sum of the values of the subject's selected pending assets divided by the value of the first asset. For example, if the subject currently has N pending assets and selects M assets to exchange from these N pending assets, the exchange progress in the exchange progress bar represents the percentage of the sum of the values of these M pending assets divided by the value of the first asset.
[0116] For example, if N is equal to 2, that is, the object currently has 2 assets to be confirmed, assuming that the sum of the values of the 2 assets to be confirmed is 20, and assuming that the value of the first asset is 100. Figure 7AAs shown, if the subject selects these two assets to be confirmed, the exchange progress displayed on the exchange progress bar is 20%, which means that the percentage of the sum of the values of the two assets to be confirmed currently selected by the subject to the value of the first asset is 20%.
[0117] For example, if N is equal to 10, that is, the object currently has 10 assets to be confirmed, assuming that the sum of the values of these 10 assets to be confirmed is 100, and assuming that the value of the first asset is 100. Figure 7B As shown, if the subject selects these 10 assets to be confirmed, the exchange progress displayed on the exchange progress bar is 100%, which means that the percentage of the sum of the values of the 10 assets to be confirmed currently selected by the subject and the value of the first asset is 100%.
[0118] It can be seen from this that in the embodiments of the present application, Figure 7A and Figure 7B As shown, the exchange rules between assets can be indicated by an exchange progress bar. The embodiment of the present application does not limit the specific display position of the exchange progress bar. In one example, Figure 7A and Figure 7B As shown, the redemption progress bar can be displayed on top of the object's pending assets for easy viewing by the object.
[0119] In some embodiments, if the sum of the values of the subject's currently existing assets to be confirmed is greater than or equal to the value of the first asset, the asset exchange interface further includes a confirm exchange option. The confirm exchange option is used to indicate that the value of the subject's currently existing assets to be confirmed is sufficient to exchange for the first asset. The embodiment of the present application does not limit the display position of the confirm exchange option in the asset exchange interface. In one example, Figure 7B As shown, the confirm exchange option can be displayed at the bottom of the object's pending asset.
[0120] In some embodiments, if the sum of the values of the currently existing unconfirmed assets of the object is less than the value of the first asset, the asset exchange interface further includes a "go to collect" option. The "go to collect" option is used to indicate that the value of the currently existing unconfirmed assets of the object is not enough to exchange for the first asset, and it is necessary to continue searching for unconfirmed assets. The embodiment of the present application does not limit the display position of the "go to collect" option in the asset exchange interface. In one example, Figure 7A As shown, the de-collect option may be displayed at the bottom of the object's pending asset.
[0121] The above describes the asset exchange interface of the embodiment of the present application. Next, the following step S102 is executed.
[0122] S102. The terminal device updates the object's to-be-confirmed assets in response to the object's selection operation of selecting K to-be-confirmed assets from N to-be-confirmed assets based on the exchange rule corresponding to the first asset.
[0123] The assets to be confirmed after the object is updated include the first asset and do not include K assets to be confirmed. The assets to be confirmed after the object is updated can continue to be used for asset exchange, and K is a positive integer less than or equal to N.
[0124] As can be seen from the above, the asset exchange interface of the embodiment of the present application includes N pending assets of the object, the first asset that the object can exchange for, and the exchange rules for exchanging the pending assets of the object for the first asset. In this way, the object can select K pending assets from the N pending assets of the object based on the exchange rules corresponding to the first asset. The terminal device updates the pending assets of the object in response to the selection operation of the object to select K pending assets from the N pending assets. For example, when the N pending assets of the object are successfully exchanged for the first asset, the terminal device adds the first asset to the pending assets of the object, and removes the above K pending assets from the pending assets of the object, thereby obtaining the updated pending assets of the object.
[0125] In some embodiments, if the exchange rule corresponding to the first asset is represented by a text, assuming the exchange rule reads: 10 to-be-confirmed assets A can be exchanged for one first asset. Based on the exchange rule, the subject can select 10 to-be-confirmed assets from the subject's current N to-be-confirmed assets to exchange for the first asset. In response to the subject's selection of the K to-be-confirmed assets, the terminal device marks the K to-be-confirmed assets as selected.
[0126] In some embodiments, if the exchange rule corresponding to the first asset is indicated by an exchange progress bar, the exchange progress in the exchange progress bar represents the percentage of the sum of the values of the assets to be confirmed that the object has selected and the value of the first asset. In this way, the object can select K assets to be confirmed from N assets to be confirmed based on the exchange progress in the exchange progress bar. For example, each time the object selects an asset to be confirmed from N assets to be confirmed, the exchange progress increases by one step in the exchange progress bar. For example, suppose the object currently has 10 assets to be confirmed, suppose the sum of the values of these 10 assets to be confirmed is 100, and suppose the value of the first asset is 100. As Figure 8A As shown, the subject selects one asset to be confirmed from 10 assets to be confirmed. In response to the subject's selection of the asset to be confirmed, the terminal device increases the exchange progress in the exchange progress bar, and the exchange progress is now displayed as 10%. Figure 8BAs shown in FIG, the subject continues to select another asset to be confirmed from the 10 assets to be confirmed. In response to the subject's selection of the other asset to be confirmed, the terminal device continues to increase the exchange progress in the exchange progress bar, and the exchange progress is now displayed as 20%. Similarly, the subject can select an asset to be confirmed from N assets to be confirmed based on the exchange progress in the exchange progress bar, such as Figure 8C As shown, until the exchange progress displayed in the exchange progress bar is full, that is, when the exchange progress displayed in the exchange progress bar reaches 100%, the step of selecting the assets to be confirmed is stopped, and K assets to be confirmed are selected from the N assets to be confirmed. In response to the subject's selection operation of selecting K assets to be confirmed from the N assets to be confirmed based on the exchange progress in the exchange progress bar corresponding to the first asset, the terminal device marks the status of these K assets to be confirmed as selected.
[0127] In one example, Figure 9 As shown, in the embodiment of the present application, each of the N pending assets of the object may include two states, such as Figure 9 As shown in , they are selected state and unselected state respectively. Figure 9 As shown, during the subject's selection of assets to be confirmed, a prompt message may be displayed in the form of a bubble, prompting the subject to click to continue adding assets. Optionally, this prompt message is typically displayed when the sum of the values of the subject's selected assets to be confirmed is less than the value of the first asset, prompting the subject to continue clicking to add assets so that the value of the subject's selected assets to be confirmed subsequently equals the value of the first asset.
[0128] In some embodiments, if the sum of the values of the subject's existing pending assets is greater than or equal to the value of the first asset, the asset exchange interface further includes a confirm exchange option. In this case, the subject triggers the confirm exchange option after selecting K pending assets from the subject's N pending assets. In response to the subject's triggering of the confirm exchange option, the terminal device updates the subject's pending assets.
[0129] In one example, Figures 8A to 8C As shown, when the asset exchange interface also includes an exchange progress bar and a confirmation exchange option, the above S102 includes: in response to the object's selection operation of selecting K assets to be confirmed from N assets to be confirmed based on the exchange progress in the exchange progress bar corresponding to the first asset, marking the status of the K assets to be confirmed as selected; in response to the object's triggering operation of confirming the exchange option, updating the object's assets to be confirmed. Figure 10AAs shown, the exchange progress in the exchange progress bar indicates the percentage of the sum of the values of the assets to be confirmed that the object has selected and the value of the first asset. Based on the exchange progress in the exchange progress bar, a selection operation can be performed to select K assets to be confirmed from N assets to be confirmed. Figure 8C As shown, in response to the subject's selection operation of selecting K assets to be confirmed from N assets to be confirmed, the terminal device marks the status of the K assets to be confirmed as selected and updates the exchange progress in the exchange progress bar to 100%, indicating that the sum of the values of the K assets to be confirmed currently selected by the subject is equal to the value of the first asset. Next, the subject triggers the confirm exchange option in the asset exchange interface, and the terminal device updates the subject's assets to be confirmed in response to the subject's triggering operation of the confirm exchange option. In some embodiments, the initial state of the confirm exchange option in the asset exchange interface is inactive. Upon detecting that the sum of the values of the K assets to be confirmed selected by the subject is equal to the value of the first asset, the terminal device changes from inactive to active. In response to the subject's triggering operation of the confirm exchange option in active state, the terminal device updates the subject's assets to be confirmed.
[0130] In some embodiments, as Figure 7A As shown, if the sum of the value of the subject's existing pending assets is less than the value of the first asset, the asset exchange interface displays a "Cancel Collection" option instead of a "Confirm Exchange" option. This "Cancel Collection" option instructs the subject to continue collecting pending assets. The subject triggers this "Cancel Collection" option, and the terminal device, in response to the triggering operation of the "Cancel Collection" option, jumps to a lottery interface, an event interface, a shopping interface, etc., allowing the subject to continue acquiring pending assets.
[0131] The embodiment of the present application does not limit the specific manner in which the terminal device updates the object's pending assets in response to the object's selection operation of selecting K pending assets from N pending assets based on the exchange rule corresponding to the first asset.
[0132] In some embodiments, the terminal device maintains an asset pool of the object, which includes the assets of the object. In response to the object's selection operation of selecting K assets to be confirmed from N assets to be confirmed, the terminal device exchanges the K assets to be confirmed of the object for the first asset. Specifically, the terminal device writes the first asset into the object's asset pool, and marks the status of the first asset as a pending status, and marks the status of the K assets to be confirmed as an exchanged status, wherein the exchanged status indicates that the asset can no longer be used for asset exchange and cannot be used for placing an order. Optionally, the terminal device can also delete the K assets to be confirmed of the object from the asset pool. In this way, the terminal device can obtain the updated assets to be confirmed of the object based on the assets in the current asset pool of the first object that are in a pending status. The updated assets to be confirmed of the object include the first asset, but do not include the above-mentioned K assets to be confirmed.
[0133] In some embodiments, the exchange of assets is completed by a server, that is, the server maintains the asset pool of the object. That is, in response to the object's selection operation of selecting K unconfirmed assets from N unconfirmed assets, the terminal device sends a first asset exchange request to the server, and the first asset exchange request is used to request that the K unconfirmed assets of the object be exchanged for the first asset. Based on the first asset exchange request, the server writes the first asset into the object's asset pool, and marks the status of the first asset as unconfirmed, and the status of the K unconfirmed assets as exchanged. Then, the server sends a first exchange success notification to the terminal device, and the terminal device updates the unconfirmed assets of the object based on the first exchange success notification. The specific process of this implementation method can be referred to the specific description of the following embodiment, which will not be repeated here.
[0134] It should be noted that the updated pending assets of the object can continue to be used for asset exchange. The object can refer to the above method to continue asset exchange. For example, the object inputs a continue exchange operation (the embodiment of the present application does not limit the manner in which the object inputs the continue exchange operation, and reference can be made to the relevant manner in which the object enters the asset exchange interface in S101 above). The terminal device responds to the object's input of the continue exchange operation and returns to display the asset exchange interface. At this time, the asset exchange interface displays the updated pending assets of the object, and the updated pending assets include the first asset. The object can continue to exchange assets by referring to the above asset exchange method.
[0135] In a possible implementation, after the terminal device updates the object's pending assets in response to the object's selection operation of selecting K pending assets from N pending assets based on the exchange rule corresponding to the first asset, Figure 10A As shown, the terminal device displays a successful exchange window, which is used to indicate that the K unconfirmed assets of the object have been exchanged for the first asset. Figure 10AAs shown, the exchange success window includes a continue exchange option. If the object needs to continue to exchange assets, the object triggers the continue exchange option, and the terminal device responds to the object's triggering operation of the continue exchange option and returns to display Figure 10B The asset exchange interface shown in the figure includes the updated pending assets of the object, the second asset that the object can exchange for (optionally, the second asset can be the same as or different from the first asset mentioned above), and the exchange rules for exchanging the updated pending assets of the object for the second asset. The object can select P pending assets from the updated pending assets of the object based on the exchange rules corresponding to the second asset. The terminal device responds to the object's selection operation of selecting P pending assets from the updated pending assets of the object, and updates the updated pending assets of the object again to obtain the latest updated pending assets of the object. At this time, the latest updated pending assets include the second asset, and do not include P pending assets. After the terminal device updates the updated pending assets of the object again, it displays Figure 11 If the subject needs to redeem more assets, the subject can click the Continue Redemption option. In response to the subject's triggering of the Continue Redemption option, the terminal device returns to the asset redemption interface. This interface now displays the subject's most recently updated pending assets, including the second asset, and excluding the P pending assets. Repeating this redemption operation allows for multiple asset redemptions.
[0136] In the embodiment of the present application, after the asset exchange is completed, the following step S103 is executed.
[0137] S103. When the terminal device detects that the asset exchange operation input by the object is completed, it displays the order interface.
[0138] In this embodiment of the present application, multiple asset exchanges can be performed, and no orders are generated during the asset exchange process. After the subject finally exchanges an asset that satisfies the subject, the terminal device displays an order interface. Based on the subject's order operation for at least one unconfirmed asset in the order interface, an order request is sent to the server, causing the server to generate an order for the at least one unconfirmed asset. This avoids the frequent creation of orders, inventory deductions, order cancellations, and inventory releases, avoids the generation of multiple invalid orders, solves the problem of "illusion inventory," reduces the number of steps required to exchange assets, and thereby improves asset exchange efficiency.
[0139] In an embodiment of the present application, the terminal device completes the asset exchange operation based on the object input and displays an order interface.
[0140] The embodiment of the present application does not limit the specific method of completing the operation of inputting asset exchange.
[0141] In some embodiments, the subject may complete the asset exchange operation by voice input. For example, the subject may output the voice command "asset exchange completed," and the terminal device may display an order interface based on the subject's voice input.
[0142] In some embodiments, the object can trigger an order option, and the terminal device displays an order interface in response to the object's triggering operation on the order option.
[0143] In some embodiments, after each asset exchange is completed, the terminal device displays a successful exchange window. Figure 12 As shown, the exchange success window includes a confirm order option. When the object needs to place an order, the confirm order option is triggered, and the terminal device displays the order interface in response to the object's triggering operation on the confirm order option.
[0144] S104: The terminal device sends an order request to the server in response to the object's order operation on at least one unconfirmed asset in the order interface.
[0145] The order request is used to request the server to generate an order for at least one asset to be confirmed.
[0146] In the embodiment of the present application, the ordering interface includes the subject's latest pending assets, and the subject can select at least one pending asset from the subject's latest pending assets to place an order. In response to the subject's order operation for at least one pending asset in the ordering interface, the terminal device sends an order request to the server.
[0147] In some embodiments, each pending asset on the ordering interface corresponds to a selection icon. When an object triggers the selection icon, the icon changes to a selected state, indicating that the corresponding pending asset has been selected. The ordering interface also includes a confirm option. When an object triggers the confirm option, the terminal device sends an order request to the server in response to the object's triggering of the confirm option.
[0148] In some embodiments, as Figure 13A As shown, the order interface includes the subject's pending assets (e.g., asset 1, asset 2, and asset 3, etc.), and each pending asset corresponds to a confirmation option. At this time, the subject can trigger the confirmation option corresponding to any pending asset in the order interface, and the terminal device responds to the subject's triggering operation on the confirmation option corresponding to any pending asset in the order interface, and displays the confirmation delivery interface. Figure 13BAs shown, the shipment confirmation interface includes the subject's pending assets (e.g., Asset 1, Asset 2, and Asset 3) and a shipment confirmation option. The subject can select at least one pending asset in the shipment confirmation interface and, after completing the selection, trigger the shipment confirmation option. In response to the subject's selection of the at least one pending asset in the shipment confirmation interface and the subject's triggering of the shipment confirmation option, the terminal device sends an order request to the server.
[0149] In some embodiments, as Figure 13A As shown, each pending asset in the order interface corresponds to an exchange option. If the subject wishes to continue exchanging assets, the subject can trigger the exchange option corresponding to any pending asset in the order interface. In response to the subject triggering the exchange option corresponding to any pending asset in the order interface, the terminal device displays the asset exchange interface.
[0150] In some embodiments, as Figure 13B As shown, the confirm shipment interface also includes an exchange option. If the subject wishes to continue with the asset exchange, the exchange option in the confirm shipment interface can be triggered. In response to the subject's triggering of the exchange option in the confirm shipment interface, the terminal device displays the asset exchange interface.
[0151] S105: The server generates an order for at least one asset to be confirmed based on the order request, and deducts the at least one asset to be confirmed from the inventory assets included in the inventory.
[0152] In an embodiment of the present application, upon detecting that an asset exchange operation entered by a subject has been completed, the terminal device displays an order interface and, in response to the subject's order operation for at least one unconfirmed asset in the order interface, sends an order request to the server. Upon receiving the order request, the server generates an order for the at least one unconfirmed asset and simultaneously deducts the at least one unconfirmed asset from the inventory resources included in the inventory. This avoids the frequent creation of orders, deduction of inventory, cancellation of orders, and release of inventory, avoids the generation of multiple invalid orders, resolves the problem of "illusion" inventory, reduces the number of steps required to exchange assets, and thereby improves the efficiency of asset exchange.
[0153] The embodiment of the present application does not limit the specific manner in which the server generates an order for at least one asset to be confirmed based on the order request and deducts the at least one asset to be confirmed from the inventory assets included in the inventory.
[0154] In some embodiments, the server, based on order creation functionality, has the ability to deduct assets from inventory. In this case, the server can generate an order for at least one unverified asset based on the order request. When generating the order for the at least one unverified asset, the server sends an inventory deduction request to the inventory system, instructing the inventory system to deduct the at least one unverified asset from existing inventory.
[0155] In some embodiments, if the server is an exchange server, when the exchange server generates an order through the order server, the exchange server, based on the order request sent by the terminal device, sends an order creation request to the order server. The order creation request requests the order server to create an order for at least one unverified asset. Upon receiving the order creation request, the order server sends an authentication request to the exchange server, requesting the exchange server to verify whether the subject has the right to purchase the at least one unverified asset for zero yuan. The exchange server receives the authentication request from the order server and, based on the authentication request, authenticates the subject, obtaining an authentication result. The exchange server then sends the authentication result to the order server. If the authentication result indicates that the subject has the right to purchase the at least one unverified asset for zero yuan, the order server creates an order for the at least one unverified asset and sends a deduction request to the inventory server, requesting the inventory server to deduct the at least one unverified asset from the assets in the inventory. The server then deducts the at least one unverified asset from the assets in the inventory based on the deduction request.
[0156] In some embodiments, upon detecting that the at least one unverified asset has been successfully deducted from the inventory assets included in the inventory, the exchange server sends a notification message indicating a successful order placement to the terminal device. The terminal device displays the successful order placement notification message. For example, upon receiving the successful asset deduction notification message from the inventory server, the order server sends a successful order placement notification message to the exchange server. The exchange server forwards the successful order placement notification message to the terminal device.
[0157] As can be seen from the above, in the embodiment of the present application, multiple exchanges of assets can be realized, and no order is generated and inventory is deducted during each exchange. After the exchange is completed, an order is generated and inventory is deducted for the last time. For example, Figure 13CAs shown, the objects include two pending assets B1, one pending asset B2, one pending asset B3, one pending asset B4, one pending asset B5, one pending asset B6, and so on. Assume that one pending asset B1 and one pending asset B2 are obtained by purchasing product 1, another pending asset B1 and another pending asset B3 are obtained by purchasing product 2, and pending assets B4, B5, and B6 are obtained by purchasing product 3. During redemption, pending assets B1 and B2 can be exchanged for pending asset B12, pending assets B3, B4, and B5 can be exchanged for pending asset B345, and pending asset B12 and B1 can be exchanged for pending asset B112. Exchange pending assets B112 and B345 for pending assets B112345, and so on. Finally, place an order for at least one of the pending assets, such as B112345 and B6. Finally, place an order (i.e., the payment order in the figure) for at least one of the pending assets, such as B112345 and B6.
[0158] In an asset exchange method provided by an embodiment of the present application, a terminal device displays an asset exchange interface. The interface includes N pending assets of a subject, a first asset that the subject can exchange for, and exchange rules for exchanging the pending assets for the first asset. The pending assets are assets that can be used for asset exchange and for placing orders. Based on the exchange rules corresponding to the first asset, the subject can select K pending assets from the N pending assets. In response to the subject's selection, the terminal device updates the subject's pending assets. The updated pending assets include the first asset but exclude the K pending assets. The updated pending assets can continue to be used for asset exchange. After the asset exchange is complete, the subject enters an asset exchange completion operation. Upon detecting the subject's input, the terminal device displays an order interface that includes the subject's current pending assets. The subject can select at least one pending asset from the order interface to place an order. In response to the subject's order operation, the terminal device sends an order request to a server, requesting the server to generate an order for the at least one pending asset. In this way, the server generates an order for the at least one asset to be confirmed based on the order request, and deducts the at least one asset to be confirmed from the assets included in the inventory. It can be seen from this that in the embodiment of the present application, during the asset exchange process, no order is created, and no operation of deducting inventory is involved. Instead, after the asset exchange is completed, the terminal device sends an order request to the server, and the server generates an order based on the order request and deducts the corresponding asset from the inventory. This can avoid the problem of frequently creating orders, deducting inventory, canceling orders, and releasing inventory, avoid the generation of multiple invalid orders, solve the problem of inventory "illusion", reduce the operational steps of exchanging assets, and thus improve the efficiency of asset exchange.
[0159] The above is an overall introduction to the asset exchange method provided in the embodiment of the present application. The following takes the asset exchange completed by the server as an example to further introduce the asset exchange method in the embodiment of the present application.
[0160] Figure 14 A flowchart of an asset exchange method provided in one embodiment of the present application.
[0161] like Figure 14 As shown, the method of the embodiment of the present application includes:
[0162] S201. The terminal device displays an asset exchange interface.
[0163] The asset exchange interface includes N pending assets of an object, a first asset that the object can be exchanged for, and exchange rules for exchanging the pending assets of the object for the first asset. The pending assets are assets that can be used for asset exchange and for placing orders, and N is a positive integer.
[0164] The specific implementation process of the above S201 can refer to the relevant description of the above S101, which will not be repeated here.
[0165] S202: In response to the object selecting K assets to be confirmed from N assets to be confirmed based on the exchange rule corresponding to the first asset, the terminal device sends a first asset exchange request to the server.
[0166] The first asset exchange request is used to request to exchange the K unconfirmed assets of the object into the first asset.
[0167] The specific implementation process of the above S202 can refer to the relevant description of the above S102 and will not be repeated here.
[0168] S203. Based on the first asset exchange request, the server adds the first asset to the object's asset pool, marks the first asset's status as pending confirmation, and marks the status of the K pending assets in the asset pool as exchanged.
[0169] Among them, assets in the pending confirmation status are assets that can be used for asset exchange and orders, and assets in the exchanged status are assets that cannot be used for asset exchange and orders.
[0170] In this embodiment, the server maintains an asset pool for each subject. This pool maintains the subject's pending assets and configures a list of redeemable assets. Its core capability is to implement progressive redemption based on the subject's pending assets and redeemable assets, and to record the subject's redemption history for subsequent data processing and display. Furthermore, the asset pool provides authentication capabilities, allowing subsequent order callbacks to determine whether the subject has purchase authorization.
[0171] In the embodiment of this application, Figure 15 As shown, the status of assets placed in the asset pool mainly includes: pending confirmation, exchanged, and ordered. The pending confirmation status indicates that the asset can be used for asset exchange and orders. The exchanged status indicates that the asset has been exchanged for other assets and can no longer be used for asset exchange or orders. The ordered status indicates that the asset has been confirmed for an order and cannot be used for further exchange or orders.
[0172] S204. The server sends a first redemption success notification to the terminal device.
[0173] The first exchange success notification is used to indicate that the K to-be-confirmed assets of the object have been successfully exchanged for the first asset.
[0174] The server adds the first asset to the object's asset pool and marks the first asset's status as pending confirmation. When the K pending assets' status are marked as redeemed, the server sends a redemption success notification to the server, which is recorded as the first redemption success notification.
[0175] S205. The terminal device updates the pending assets of the object based on the first exchange success notification and displays an exchange success window.
[0176] Among them, the redemption success window includes the option to continue redeeming.
[0177] After receiving the first exchange success notification, the terminal device exchanges the K pending assets of the object for the first asset based on the instruction of the first exchange success notification. The terminal device updates the pending assets of the object, specifically adding the first asset to the corresponding pending asset list and removing the above K pending assets from the pending asset list of the object, thereby obtaining the updated pending assets of the object.
[0178] In this embodiment of the present application, upon receiving the first object success notification from the subject, the terminal device not only updates the subject's pending assets but also displays a successful exchange window. Optionally, the successful exchange window may include an indication that the subject's K pending assets have been successfully exchanged for the first asset.
[0179] S206. The terminal device returns to displaying the asset exchange interface in response to the subject's triggering operation on the continue exchange option.
[0180] The asset exchange interface includes the updated pending asset, the second asset that the object can be exchanged for, and the exchange rules for exchanging the updated pending asset for the second asset.
[0181] like Figure 10B As shown, if the subject needs to continue the asset exchange, the continue exchange option is triggered. In response to the subject's triggering of the continue exchange option, the terminal device returns to display the asset exchange interface. The asset exchange interface now includes the subject's updated pending asset, the second asset that the subject can exchange for, and the exchange rules for exchanging the subject's updated pending asset for the second asset.
[0182] S207 : In response to the object's selection operation of selecting P assets to be confirmed from the updated assets to be confirmed based on the exchange rule corresponding to the second asset, the terminal device sends a second asset exchange request to the server.
[0183] The second asset exchange request is used to request to exchange P pending assets of the object for the second asset, where P is a positive integer.
[0184] like Figure 10B As shown, if the subject needs to exchange a second asset, P pending assets are selected from the subject's updated pending assets based on the exchange rules corresponding to the second asset. In response to the subject's selection operation of selecting P pending assets from the subject's updated pending assets based on the exchange rules corresponding to the second asset, the terminal device sends a second asset exchange request to the server.
[0185] S208. Based on the second asset exchange request, the server adds the second asset to the object's asset pool, marks the second asset's status as pending confirmation, and marks the status of the P pending assets in the asset pool as exchanged.
[0186] After receiving the second asset exchange request sent by the terminal device, the server adds the second asset to the object's asset pool based on the second asset exchange request, marks the status of the second asset as pending confirmation, and marks the status of the P pending assets in the asset pool as exchanged, thereby adding the object's latest updated pending assets.
[0187] S209. The server sends a second redemption success notification to the terminal device.
[0188] The second exchange success notification is used to indicate that the P to-be-confirmed assets of the object have been successfully exchanged for the second asset.
[0189] S210. The terminal device displays a redemption success window in response to the second redemption success notification.
[0190] The successful exchange window includes a confirm order option. That is, the successful exchange window in the embodiment of the present application includes not only a continue exchange option but also a confirm order option. If the object needs to continue the exchange, the continue exchange option can be triggered, and if the object needs to place an order, the confirm order option is triggered.
[0191] S211. The terminal device displays an order interface in response to the triggering operation of the object to determine the order option.
[0192] The specific implementation process of the above S211 can refer to the relevant description of the above S103 and will not be repeated here.
[0193] S212: The terminal device sends an order request to the server in response to the object's order operation on at least one unconfirmed asset in the order interface.
[0194] The specific implementation process of the above S212 can refer to the relevant description of the above S103, which will not be repeated here.
[0195] S213: The server generates an order for at least one asset to be confirmed based on the order request, and deducts the at least one asset to be confirmed from the assets included in the inventory.
[0196] The specific implementation process of the above S213 can refer to the relevant description of the above S104, which will not be repeated here.
[0197] S214. The server sends a notification message of successful order placement to the terminal device.
[0198] S215. The terminal device displays a notification message indicating that the order has been successfully placed.
[0199] In an asset exchange method provided by an embodiment of the present application, a terminal device displays an asset exchange interface that includes N pending assets of a subject, a first asset that the subject can exchange for, and exchange rules for exchanging the pending assets for the first asset. Based on the exchange rules corresponding to the first asset, the subject can select K pending assets from the N pending assets. In response to the subject's selection, the terminal device sends a first asset exchange request to a server, requesting that the K pending assets of the subject be exchanged for the first asset. Based on the first asset exchange request, the server adds the first asset to the subject's asset pool, marks the first asset's status as pending, and marks the K pending assets in the asset pool as exchanged. The server sends a first exchange success notification to the terminal device, indicating that the K pending assets of the subject have been successfully exchanged for the first asset. Based on the first exchange success notification, the terminal device updates the pending assets of the subject, wherein the updated pending assets include the first asset and exclude the K pending assets. The updated pending assets can continue to be used for asset exchange. After the asset exchange is complete, the subject enters a "Complete Asset Exchange" operation. Upon detecting the subject's input, the terminal device displays an order interface that includes the subject's currently pending assets. The subject can select at least one pending asset in the order interface to place an order. In response to the subject's order operation, the terminal device sends an order request to the server, requesting the server to generate an order for the at least one pending asset. Based on the order request, the server generates an order for the at least one pending asset and deducts the at least one pending asset from the assets in inventory. As can be seen, in this embodiment of the present application, the asset exchange process does not involve creating an order or deducting inventory. Instead, after the asset exchange is complete, the terminal device sends an order request to the server, which generates an order based on the order request and deducts the corresponding asset from inventory. This avoids the frequent creation of orders, inventory deductions, order cancellations, and inventory releases, prevents the generation of multiple invalid orders, addresses the problem of "phantom inventory," reduces the number of steps required to exchange assets, and improves asset exchange efficiency.
[0200] The following introduces the asset exchange method of the embodiment of the present application by taking the business platform of the embodiment of the present application as an e-commerce platform as an example.
[0201] Figure 16 This is a schematic diagram of a system architecture of the asset exchange method according to an embodiment of the present application. Figure 16 As shown, a system architecture of the asset exchange method of an embodiment of the present application mainly includes a business layer, an asset pool, an e-commerce system, a basic capability layer, etc.
[0202] Among them, the business layer is based on the business form and can include gift systems, lottery systems, activity systems, etc. Through the business layer, the assets that the object can participate in the exchange (i.e., assets to be confirmed) can be obtained and written into the asset pool and marked as pending confirmation status.
[0203] The asset pool maintains pending assets from the business layer and configures a list of redeemable assets (i.e., redeemable items). Its core capability is to enable progressive redemption based on the pending assets and redeemable items of an object. It also records the redemption history of the object for subsequent data processing and display. It also provides authentication capabilities for subsequent order callbacks to determine whether the object has purchase permission.
[0204] The e-commerce system includes basic capabilities such as products, orders, transactions, inventory, and logistics, and completes the purchase of main products and zero-yuan purchase orders for exchange items, and completes the subsequent logistics processing of the entire order.
[0205] The basic capability layer includes databases (such as Redis databases and TDSQL databases), caches, configurations, and other basic capabilities for data storage throughout the system.
[0206] The following is based on Figure 16 The system shown, combined with Figure 17 and Figure 18 The asset exchange method proposed in the embodiment of the present application is introduced.
[0207] Figure 17 A flowchart of the asset exchange method provided in an embodiment of the present application. Figure 18 This is an interactive diagram of asset exchange. The asset exchange method of the embodiment of the present application can be based on a microservice architecture, and the main microservices involved include gift services, lottery services, event services, exchange services, inventory services, order services, etc. Figure 16As shown, the order service and inventory service can belong to the e-commerce system. These microservices can be located on one server or on different servers, and this embodiment of the application does not limit this. For ease of description, this embodiment of the application uses the example of a gift server implementing a gift service, a lottery server implementing a lottery service, an event server implementing an event service, an exchange server implementing an asset exchange, an inventory server implementing an inventory service, and an order server implementing an order service. These servers can be one server or different servers.
[0208] like Figure 17 and Figure 18 As shown, the asset exchange method of the embodiment of the present application includes the following steps:
[0209] S301: The exchange server obtains the object's assets to be confirmed and stores the object's assets to be exchanged into the object's asset pool.
[0210] In the embodiment of the present application, the manner in which the object obtains the assets to be confirmed includes at least the following: free assets obtained by purchasing assets, assets obtained by lottery, free assets obtained by participating in activities, purchased assets, etc.
[0211] Example 1, such as Figure 18 As shown, the user purchases the main product through the activity page displayed on the terminal device, such as the mall homepage or the lucky draw page, enters the order server to create an order, and completes the payment. After the user completes the payment, the terminal device jumps to the lucky draw page. The user clicks on the lucky draw. In response to the user's click, the terminal device sends a lucky draw request to the lucky draw server. Based on the lucky draw request, the lucky draw server calls the lucky draw middleware to conduct the lucky draw. After obtaining the prize, it synchronizes the prize with the redemption server, which identifies the prize as the user's pending asset and stores it in the asset pool.
[0212] Example 2, such as Figure 18 As shown, the subject purchases the main product through the activity page displayed on the terminal device, such as the mall homepage or the lucky draw page, creates an order through the order server, and completes the payment. After detecting that the subject has completed the payment, the order server sends a gift request to the gift server. The gift server sends the gift to the order server, which in turn sends the gift to the redemption server. The redemption server identifies the gift as the subject's pending asset and stores it in the asset pool.
[0213] In Example 3, a participant can participate in a lottery even if they haven't purchased any items. For example, the participant enters the lottery on a lottery page displayed on a terminal device. In response to the participant's lottery entry, the terminal device sends a lottery request to the lottery server. Based on the lottery request, the lottery server calls the lottery middleware to conduct the lottery. After obtaining the prize, it synchronizes the prize to the redemption server, which identifies the prize as the participant's pending asset and stores it in the asset pool.
[0214] It should be noted that the object can also obtain assets through other means, and the embodiments of the present application do not limit this.
[0215] In the embodiment of the present application, the exchange server maintains an asset pool of the object, which includes the object's assets to be confirmed. For example, Figure 18 As shown, the asset pool includes the object's pending asset 1 (recorded as sku1), pending asset 2 (recorded as sku2), pending asset 3 (recorded as sku3), pending asset 4 (recorded as sku4), etc. Optionally, as Figure 18 As shown, the exchange server also maintains an exchange pool, which includes assets that can be exchanged by objects, such as Figure 18 As shown, the assets that the object can exchange for include: asset 12 (denoted as sku12), asset 34 (denoted as sku34), and asset 124 (denoted as sku124). The exchange server can exchange the assets in the exchange pool (i.e., exchange items) based on the unconfirmed assets in the object's asset pool.
[0216] S302. The terminal device displays an asset exchange interface.
[0217] The asset exchange interface includes N pending assets of the object, a first asset that the object can be exchanged for, and an exchange rule for exchanging the pending assets of the object for the first asset. The pending assets are assets that can be used for asset exchange and for placing orders, and N is a positive integer.
[0218] The specific implementation process of the above S302 can refer to the relevant description of the above S101, which will not be repeated here.
[0219] S303: In response to the object's selection operation of selecting K assets to be confirmed from N assets to be confirmed based on the exchange rule corresponding to the first asset, the terminal device sends a first asset exchange request to the exchange server.
[0220] The first asset exchange request is used to request to exchange the K unconfirmed assets of the object into the first asset.
[0221] The specific implementation process of the above S303 can refer to the relevant description of the above S102, which will not be repeated here.
[0222] S304: Based on the first asset exchange request, the exchange server adds the first asset to the object's asset pool, marks the first asset's status as pending confirmation, and marks the status of the K pending assets in the asset pool as exchanged.
[0223] Among them, assets in the pending confirmation status are assets that can be used for asset exchange and orders, and assets in the exchanged status are assets that cannot be used for asset exchange and orders.
[0224] For example, Figure 18 As shown, assume that the K pending assets are pending asset 1 (denoted as sku11) and pending asset 2 (denoted as sku2), and the first asset is asset 12 (denoted as sku12) in the exchange pool. Thus, the exchange server can exchange the subject's pending assets 1 and 2 for asset 12, add the exchanged asset 12 to the subject's asset pool, and mark the status of asset 12 as pending. At the same time, the status of pending assets 1 and 2 in the asset pool is marked as exchanged.
[0225] S305: The exchange server sends a first exchange success notification to the terminal device.
[0226] The first exchange success notification is used to indicate that the K unconfirmed assets of the object have been successfully exchanged for the first asset.
[0227] S306. The terminal device updates the pending assets of the object based on the first exchange success notification and displays an exchange success window.
[0228] After receiving the first exchange success notification, the terminal device exchanges the K pending assets of the object for the first asset based on the instruction of the first exchange success notification. The terminal device updates the pending assets of the object, specifically adding the first asset to the corresponding pending asset list and removing the above K pending assets from the pending asset list of the object, thereby obtaining the updated pending assets of the object.
[0229] Among them, the redemption success window includes the option to continue redeeming.
[0230] In this embodiment of the present application, upon receiving the first object success notification from the subject, the terminal device not only updates the subject's pending assets but also displays a successful exchange window. Optionally, the successful exchange window may include an indication that the subject's K pending assets have been successfully exchanged for the first asset.
[0231] S307: The terminal device returns to display the asset exchange interface in response to the subject's triggering operation on the continue exchange option.
[0232] The asset exchange interface includes the updated pending asset, the second asset that the object can be exchanged for, and the exchange rules for exchanging the updated pending asset for the second asset.
[0233] like Figure 10B As shown, if the object needs to continue the asset exchange, the continue exchange option is triggered, and the terminal device returns to display the asset exchange interface in response to the object's triggering operation on the continue exchange option.
[0234] like Figure 10B As shown, the asset exchange interface now includes the updated asset to be confirmed, the second asset that the object can be exchanged for, and the exchange rules for exchanging the updated asset to be confirmed for the second asset.
[0235] S308: In response to the object's selection operation of selecting P assets to be confirmed from the updated assets to be confirmed based on the exchange rule corresponding to the second asset, the terminal device sends a second asset exchange request to the exchange server.
[0236] The second asset exchange request is used to request to exchange P pending assets of the object for the second asset, where P is a positive integer.
[0237] like Figure 10B As shown, if the subject needs to exchange a second asset, P pending assets are selected from the subject's updated pending assets based on the exchange rules corresponding to the second asset. In response to the subject's selection operation of selecting P pending assets from the subject's updated pending assets based on the exchange rules corresponding to the second asset, the terminal device sends a second asset exchange request to the exchange server.
[0238] S309. Based on the second asset exchange request, the exchange server adds the second asset to the object's asset pool, marks the second asset's status as pending confirmation, and marks the status of the P pending assets in the asset pool as exchanged.
[0239] After receiving the second asset exchange request sent by the terminal device, the exchange server adds the second asset to the object's asset pool based on the second asset exchange request, marks the status of the second asset as pending confirmation, and marks the status of P pending assets in the asset pool as exchanged, thereby adding the object's latest updated pending assets.
[0240] S310: The exchange server sends a second exchange success notification to the terminal device.
[0241] The second exchange success notification is used to indicate that the P to-be-confirmed assets of the object have been successfully exchanged for the second asset.
[0242] S311. The terminal device updates the updated assets to be confirmed in response to the second exchange success notification and displays an exchange success window.
[0243] Among them, the redemption success window includes an option to confirm the order.
[0244] That is to say, the exchange success window of the embodiment of the present application includes not only the continue exchange option, but also the confirm order option. If the object needs to continue to exchange, the continue exchange option can be triggered, and if the object needs to place an order, the confirm order option is triggered.
[0245] S312: The terminal device displays an order interface in response to the triggering operation of the object to determine the order option.
[0246] The specific implementation process of the above S312 can refer to the relevant description of the above S103 and will not be repeated here.
[0247] S313: The terminal device sends an order request to the exchange server in response to the subject's order operation for at least one unconfirmed asset in the order interface.
[0248] The specific implementation process of the above S313 can refer to the relevant description of the above S104, which will not be repeated here.
[0249] S314. The exchange server sends an order creation request to the order server based on the order request.
[0250] The order creation request is used to request the order server to create an order for the at least one asset to be confirmed.
[0251] In an embodiment of the present application, the exchange server marks the status of the at least one unconfirmed asset in the asset pool as confirmed based on the order request. At the same time, the exchange server sends an order creation request to the order server.
[0252] S315: The order server sends an authentication request to the redemption server.
[0253] The authentication request is used to request the server to verify whether the object has the right to purchase the at least one asset to be confirmed for zero yuan.
[0254] S316: The exchange server authenticates the object based on the authentication request.
[0255] For example, the order server calls the zero-yuan purchase interface in the e-commerce system. This interface then calls back to the redemption server via the configured callback authentication interface to verify the legitimacy of the recipient's eligibility, that is, to check whether the recipient has the asset. At this point, the order server's call to the zero-yuan purchase interface in the e-commerce system can be understood as sending an authentication request to the redemption server.
[0256] S317: The exchange server sends the object authentication result to the order server.
[0257] S318. When the authentication result indicates that the object has the right to purchase at least one asset to be confirmed for zero yuan, the order server creates an order for at least one asset to be confirmed.
[0258] In an embodiment of the present application, if the at least one asset to be confirmed includes multiple assets, an order is generated to achieve a combined order for the multiple assets to be confirmed.
[0259] S319: The order server sends an inventory deduction request to the inventory server.
[0260] The inventory deduction request is used to request the inventory server to deduct the at least one to-be-confirmed asset from the assets included in the inventory.
[0261] S320: The exchange server sends a notification message indicating that the order has been successfully placed to the terminal device.
[0262] In one example, when the inventory server successfully deducts the at least one unconfirmed asset, it directly sends a notification message of successful inventory deduction to the exchange server. Based on the notification message of successful inventory deduction, the exchange server sends a notification message of successful order placement to the terminal device.
[0263] In one example, upon successfully deducting the at least one unconfirmed asset, the inventory server sends a notification of successful inventory deduction to the order server. Based on the successful inventory deduction notification, the order server sends a successful order notification to the redemption server, which then forwards the successful order notification to the terminal device.
[0264] S321. The terminal device displays a notification message indicating that the order has been successfully placed.
[0265] In this way, the object can know whether the current exchange asset order is successful through the notification message of successful order displayed on the terminal device.
[0266] The asset exchange method provided in the embodiment of the present application adopts a microservice architecture, so that each microservice is responsible for a part of independent business logic, which is highly scalable and easy to deploy. At the same time, the asset exchange method in the embodiment of the present application does not create an order during the asset exchange process, nor does it involve the operation of deducting inventory. Instead, after the asset exchange is completed, the terminal device sends an order request to the exchange server. Based on the order request, the exchange server requests the order server to generate an order, which in turn causes the inventory server to deduct the corresponding assets from the inventory. This can avoid the problem of frequently creating orders, deducting inventory, canceling orders, and releasing inventory, avoid the generation of multiple invalid orders, solve the problem of inventory "illusion", reduce the operational steps of exchanging assets, and thus improve the efficiency of asset exchange.
[0267] The preferred embodiments of the present application are described in detail above in conjunction with the accompanying drawings. However, the present application is not limited to the specific details in the above embodiments. Within the technical concept of the present application, a variety of simple modifications can be made to the technical solution of the present application, and these simple modifications all fall within the scope of protection of the present application. For example, the various specific technical features described in the above specific embodiments can be combined in any suitable manner unless there is any contradiction. In order to avoid unnecessary repetition, the present application will not further explain various possible combinations. For another example, the various different embodiments of the present application can also be arbitrarily combined, and as long as they do not violate the ideas of the present application, they should also be regarded as the contents disclosed in the present application.
[0268] It should also be understood that in the various method embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0269] Combined with the above Figures 2 to 18 , describes the method embodiment of the present application in detail, and the following is combined with Figures 18 and 19 , describe in detail the device embodiments of the present application.
[0270] Figure 19 A schematic diagram of the structure of an asset exchange device provided in an embodiment of the present application. The asset exchange device is applied to a terminal device.
[0271] like Figure 19 As shown, the asset corresponding device 10 includes:
[0272] An exchange interface display unit 11 is configured to display an asset exchange interface, wherein the asset exchange interface includes N unconfirmed assets of an object, a first asset that the object can exchange for, and an exchange rule for exchanging the unconfirmed assets of the object for the first asset. The unconfirmed assets are assets that can be used for asset exchange and for placing orders, and N is a positive integer.
[0273] an exchange unit 12 configured to update the object's pending assets in response to the object selecting K pending assets from the N pending assets based on the exchange rule corresponding to the first asset, wherein the updated pending assets include the first asset but do not include the K pending assets, and the updated pending assets can continue to be used for asset exchange, where K is a positive integer less than or equal to N;
[0274] The order placement unit 13 is configured to display an order placement interface upon detecting that an asset exchange operation input by the subject is completed, and in response to the subject placing an order for at least one unconfirmed asset in the order placement interface, send an order request to the server, wherein the order request is configured to request the server to generate an order for the at least one unconfirmed asset.
[0275] In some embodiments, the exchange unit 12 is specifically configured to send a first asset exchange request to the server in response to the object selecting the K assets to be confirmed from the N assets to be confirmed, wherein the first asset exchange request is used to request that the K assets to be confirmed of the object be exchanged for the first asset; receive a first exchange success notification sent by the server, wherein the first exchange success notification is used to indicate that the K assets to be confirmed of the object have been successfully exchanged for the first asset; and update the assets to be confirmed of the object based on the first exchange success notification.
[0276] In some embodiments, the order placement unit 13 is specifically used to display a successful redemption window in response to the first successful redemption notification, and the successful redemption window includes a confirmed order option; in response to the object's triggering operation on the confirmed order option, the order placement interface is displayed.
[0277] In some embodiments, the exchange success window also includes a continue exchange option, and the exchange unit 12 is further used to return to display the asset exchange interface in response to the object's triggering operation on the continue exchange option, wherein the asset exchange interface includes the object's updated pending assets, the second asset that the object can exchange for, and the exchange rules for exchanging the object's updated pending assets for the second asset; in response to the object's selection operation of selecting P pending assets from the object's updated pending assets based on the exchange rules corresponding to the second asset, send a second asset exchange request to the server, the second asset exchange request is used to request that the object's P pending assets be exchanged for the second asset, where P is a positive integer; receive a second exchange success notification sent by the server, the second exchange success notification is used to indicate that the object's P pending assets are successfully exchanged for the second asset; and based on the second exchange success notification, update the object's updated pending assets.
[0278] In some embodiments, each pending asset of the object in the ordering interface corresponds to a confirmation option, and the ordering unit 13 is specifically configured to display a confirmation shipment interface in response to the object triggering an operation to determine the option corresponding to any pending asset in the ordering interface, wherein the confirmation shipment interface includes the pending assets of the object and the confirmation shipment option; and send the order request to the server in response to the object selecting the at least one pending asset in the confirmation shipment interface and triggering the determination shipment option.
[0279] In some embodiments, each to-be-confirmed asset of the object in the order interface also corresponds to an exchange option, and the exchange interface display unit 11 is further used to display the asset exchange interface in response to the object triggering an exchange option corresponding to any to-be-confirmed asset in the order interface.
[0280] In some embodiments, the confirmed delivery interface also includes a redemption option, and the redemption interface display unit 11 is further configured to display the asset redemption interface in response to the object triggering the redemption option in the confirmed delivery interface.
[0281] In some embodiments, the asset exchange interface also includes an exchange progress bar and a confirm exchange option, wherein the exchange progress bar is used to indicate the exchange rules corresponding to the first asset, and the exchange progress in the exchange progress bar represents the percentage of the sum of the values of the assets to be confirmed that the object has selected and the value of the first asset, and the confirm exchange option is displayed when the sum of the values of the assets to be confirmed that the object already has is greater than or equal to the value of the first asset; the exchange unit 12 is specifically used to respond to the object's selection operation of selecting the K assets to be confirmed from the N assets to be confirmed based on the exchange progress in the exchange progress bar corresponding to the first asset, and mark the status of the K assets to be confirmed as a selected state; in response to the object's triggering operation of the confirm exchange option, update the object's assets to be confirmed.
[0282] In some embodiments, if the sum of the values of the objects' existing assets to be confirmed is less than the value of the first asset, a "Go to Collection" option is displayed in the asset exchange interface instead of a "Confirm Exchange" option, and the "Go to Collection" option is used to instruct the object to continue collecting the assets to be confirmed.
[0283] In some embodiments, the asset exchange interface includes a first display area, a second display area, and a third display area, wherein the first display area is used to display the first asset, the second display area is used to display M assets that the object can exchange for, the first asset is an asset selected by the object from the M assets, and the third display area is used to display the object's pending asset and the exchange rules, where M is a positive integer.
[0284] In some embodiments, the object's assets to be confirmed include at least one of the following: assets gifted from purchasing assets, assets won in a lottery, assets gifted from participating in an activity, and purchased assets.
[0285] In an apparatus provided by an embodiment of the present application, a terminal device displays an asset exchange interface that includes N pending assets of a subject, a first asset that the subject can exchange for, and exchange rules for exchanging the pending assets for the first asset. The pending assets are assets that can be used for asset exchange and for placing orders. Based on the exchange rules corresponding to the first asset, the subject can select K pending assets from the N pending assets. In response to the subject's selection, the terminal device updates the subject's pending assets. The updated pending assets include the first asset but exclude the K pending assets. The updated pending assets can continue to be used for asset exchange. After the asset exchange is complete, the subject enters an asset exchange completion operation. Upon detecting the subject's input, the terminal device displays an order interface that includes the subject's current pending assets. The subject can select at least one pending asset from the order interface to place an order. In response to the subject's order operation, the terminal device sends an order request to a server, requesting the server to generate an order for the at least one pending asset. This can avoid the problems of frequently creating orders, deducting inventory, canceling orders, and releasing inventory, avoid generating multiple invalid orders, solve the problem of inventory "illusion", reduce the operational steps of exchanging assets, and thus improve the efficiency of asset exchange.
[0286] It should be understood that the device embodiment and the method embodiment may correspond to each other, and similar descriptions may refer to the method embodiment. To avoid repetition, they will not be described here. Specifically, Figure 19 The apparatus shown may correspond to the corresponding subject in the method for executing the embodiment of the present application, and the aforementioned and other operations and / or functions of each module in the training apparatus 10 are respectively for realizing Figures 2 to 18 For the sake of brevity, the corresponding processes of the terminal device in each method are not repeated here.
[0287] Figure 20 A schematic diagram of the structure of an asset exchange device provided in an embodiment of the present application. The asset exchange device is applied to a server.
[0288] like Figure 20 As shown, the asset exchange device 20 includes:
[0289] The transceiver unit 21 is configured to receive an order request sent by a terminal device, the order request being used to request the server to generate an order for at least one unconfirmed asset. The order request is sent by the terminal device in response to the subject's order operation for the at least one unconfirmed asset in the order interface. The order interface is displayed by the terminal device upon detecting that an asset exchange operation input by the subject is complete. The unconfirmed assets of the subject are updated by the terminal device in response to the subject's selection operation of selecting K unconfirmed assets from N unconfirmed assets of the subject based on an exchange rule corresponding to the first asset. The unconfirmed assets are assets that can be used for asset exchange and for placing orders, where N is a positive integer and K is a positive integer less than or equal to N.
[0290] The order placing unit 22 is configured to generate an order for the at least one asset to be confirmed based on the order placing request, and deduct the at least one asset to be confirmed from the assets included in the inventory.
[0291] In some embodiments, the transceiver unit 21 is also used to receive a first asset exchange request sent by a terminal device, where the first asset exchange request is used to request that the K unconfirmed assets of the object be exchanged for the first asset; based on the first asset exchange request, the first asset is added to the asset pool of the object, and the status of the first asset is marked as a pending status, and the status of the K unconfirmed assets in the asset pool is marked as an exchanged status, where the assets in the pending status are assets that can be used for asset exchange and can be used for placing orders, and the assets in the exchanged status are assets that cannot be used for asset exchange and cannot be used for placing orders; a first exchange success notification is sent to the terminal device, where the first exchange success notification is used to indicate that the K unconfirmed assets of the object have been successfully exchanged for the first asset.
[0292] In some embodiments, the transceiver unit 21 is further used to receive a second asset exchange request sent by the terminal device, where the second asset exchange request is used to request that P unconfirmed assets of the object be exchanged for a second asset, where P is a positive integer; based on the second asset exchange request, the second asset is added to the asset pool of the object, and the status of the second asset is marked as the unconfirmed status, and the status of the P unconfirmed assets in the asset pool is marked as the exchanged status; and a second exchange success notification is sent to the terminal device, where the second exchange success notification is used to indicate that the P unconfirmed assets of the object have been successfully exchanged for the second asset.
[0293] In some embodiments, if the server is an exchange server, and the order is generated by the exchange server requesting the order server, the order placement unit 22 is specifically used to send an order creation request to the order server based on the order placement request, and the order creation request is used to request the order server to create an order for the at least one asset to be confirmed; the transceiver unit 21 is also used to receive an authentication request sent by the order server, and the authentication request is used to request the exchange server to verify whether the object has the right to purchase the at least one asset to be confirmed for zero yuan; the order placement unit 22 is also used to authenticate the object based on the authentication request; the transceiver unit 21 is also used to send the authentication result of the object to the order server, so that the order server creates an order for the at least one asset to be confirmed when the authentication result indicates that the object has the right to purchase the at least one asset to be confirmed for zero yuan, and sends a deduction inventory request to the inventory server, and the deduction inventory request is used to request the inventory server to deduct the at least one asset to be confirmed from the assets included in the inventory.
[0294] In an apparatus provided by an embodiment of the present application, a terminal device displays an asset exchange interface that includes N pending assets of a subject, a first asset that the subject can exchange for, and exchange rules for exchanging the pending assets for the first asset. The pending assets are assets that can be used for asset exchange and for placing orders. Based on the exchange rules corresponding to the first asset, the subject can select K pending assets from the N pending assets. In response to the subject's selection, the terminal device updates the subject's pending assets. The updated pending assets include the first asset but exclude the K pending assets. The updated pending assets can continue to be used for asset exchange. After the asset exchange is complete, the subject enters an asset exchange completion operation. Upon detecting the subject's input, the terminal device displays an order interface that includes the subject's current pending assets. The subject can select at least one pending asset from the order interface to place an order. In response to the subject's order operation, the terminal device sends an order request to a server, requesting the server to generate an order for the at least one pending asset. As can be seen, in this embodiment of the present application, during the asset exchange process, no orders are created, and no inventory deductions are involved. Instead, after the asset exchange is completed, the terminal device sends an order request to the server, which generates an order based on the order request and deducts the corresponding assets from inventory. This avoids the frequent creation of orders, inventory deductions, order cancellations, and inventory releases, prevents the generation of multiple invalid orders, resolves the inventory "illusion" problem, reduces the number of steps required to exchange assets, and thus improves asset exchange efficiency.
[0295] It should be understood that the device embodiment and the method embodiment may correspond to each other, and similar descriptions may refer to the method embodiment. To avoid repetition, they will not be described here. Specifically, Figure 20 The apparatus shown may correspond to the corresponding subject in the method for executing the embodiment of the present application, and the aforementioned and other operations and / or functions of each module in the asset exchange apparatus 20 are respectively to implement Figures 2 to 18 For the sake of brevity, the corresponding processes of the server in each method are not repeated here.
[0296] The apparatus of the embodiment of the present application is described above from the perspective of functional modules in conjunction with the accompanying drawings. It should be understood that the functional module can be implemented in hardware form, can be implemented by instructions in software form, and can also be implemented by a combination of hardware and software modules. Specifically, the steps of the method embodiment in the embodiment of the present application can be completed by the integrated logic circuit of the hardware in the processor and / or the instructions in software form. The steps of the method disclosed in conjunction with the embodiment of the present application can be directly embodied as being executed by the hardware processor, or can be executed by a combination of hardware and software modules in the processor. Optionally, the software module can be located in a mature storage medium in the art such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps in the above method embodiment in conjunction with its hardware.
[0297] Figure 21 This is a block diagram of an electronic device involved in an embodiment of the present application. The electronic device can be the above-mentioned terminal device or the above-mentioned server, which is used to execute the asset exchange method described in the above-mentioned embodiment. For details, please refer to the description in the above-mentioned method embodiment.
[0298] Figure 21 The electronic device 200 shown includes a memory 201, a processor 202, and a communication interface 203. The memory 201, processor 202, and communication interface 203 are communicatively connected to each other. For example, the memory 201, processor 202, and communication interface 203 can be communicatively connected using a network connection. Alternatively, the electronic device 200 may further include a bus 204. The memory 201, processor 202, and communication interface 203 are communicatively connected to each other via the bus 204. Figure 21 The electronic device 200 is a memory 201 , a processor 202 , and a communication interface 203 , which are connected to each other via a bus 204 .
[0299] The memory 201 may be a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 201 may store programs. When the program stored in the memory 201 is executed by the processor 202, the processor 202 and the communication interface 203 are used to perform the above method.
[0300] The processor 202 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), a graphics processing unit (GPU), or one or more integrated circuits.
[0301] The processor 202 may also be an integrated circuit chip with signal processing capabilities. During implementation, the method of the present application may be implemented by hardware integrated logic circuits in the processor 202 or by software instructions. The processor 202 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The general-purpose processor may be a microprocessor or any conventional processor. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, or the like. The storage medium is located in the memory 201, and the processor 202 reads the information in the memory 201 and, in combination with its hardware, implements the method of the embodiment of the present application.
[0302] The communication interface 203 uses a transceiver module such as, but not limited to, a transceiver to implement communication between the electronic device 200 and other devices or a communication network. For example, a data set can be obtained through the communication interface 203.
[0303] When the electronic device 200 includes the bus 204 , the bus 204 may include a path for transmitting information between various components of the electronic device 200 (eg, the memory 201 , the processor 202 , and the communication interface 203 ).
[0304] The present application also provides a computer storage medium having a computer program stored thereon. When the computer program is loaded and executed by an electronic device, the electronic device can implement the asset exchange method of the above method embodiment.
[0305] This application also provides a computer program product comprising computer instructions stored in a readable storage medium. At least one processor of an electronic device can read the computer instructions from the readable storage medium, and the electronic device can load and execute the computer instructions to cause the electronic device to implement the asset exchange method of the above-described method embodiment.
[0306] In other words, when implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on an electronic device, the process or function according to the embodiment of the present application is generated in whole or in part. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by an electronic device or a data storage device such as a server or data center that includes one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (DVD)), or a semiconductor medium (e.g., a solid state drive (SSD)).
[0307] Those skilled in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0308] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0309] Modules described as separate components may or may not be physically separate, and components displayed as modules may or may not be physical modules, i.e., they may be located in one place or distributed across multiple network elements. Some or all of the modules may be selected based on actual needs to achieve the purpose of the present embodiment. For example, the functional modules in the various embodiments of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module.
[0310] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here. In addition, reference can be made between the various method embodiments and the various device embodiments, and the same or corresponding contents in different embodiments can be referenced to each other without further elaboration.
Claims
1. An asset exchange method, characterized in that: Applied to a terminal device, the method includes: Displaying an asset exchange interface, wherein the asset exchange interface includes N pending assets of the subject, a first asset that the subject can exchange for, and an exchange rule for exchanging the pending assets of the subject for the first asset. The pending assets are assets that can be used for asset exchange and for placing orders, and N is a positive integer; In response to the object selecting K pending assets from the N pending assets based on the exchange rule corresponding to the first asset, the pending assets of the object are updated, the updated pending assets of the object including the first asset and excluding the K pending assets, and the updated pending assets of the object can continue to be used for asset exchange, where K is a positive integer less than or equal to N; When it is detected that the asset exchange operation input by the object is completed, an order interface is displayed, and in response to the object's order operation for at least one unconfirmed asset in the order interface, an order request is sent to the server, wherein the order request is used to request the server to generate an order for the at least one unconfirmed asset.
2. The method according to claim 1, characterized in that In response to the object selecting K assets to be confirmed from the N assets to be confirmed based on the exchange rule corresponding to the first asset, updating the assets to be confirmed of the object includes: In response to the subject selecting the K assets to be confirmed from the N assets to be confirmed, sending a first asset exchange request to the server, where the first asset exchange request is used to request that the K assets to be confirmed of the subject be exchanged for the first asset; receiving a first exchange success notification sent by the server, where the first exchange success notification is used to indicate that the K unconfirmed assets of the object have been successfully exchanged for the first asset; Based on the first exchange success notification, the pending assets of the object are updated.
3. The method according to claim 2, characterized in that When the asset exchange operation input by the object is detected to be completed, an order interface is displayed, including: In response to the first redemption success notification, displaying a redemption success window, wherein the redemption success window includes a confirm order option; In response to the object triggering the operation of determining the order option, the order interface is displayed.
4. The method according to claim 3, characterized in that The redemption success window further includes a continue redemption option, and the method further includes: In response to the subject triggering the continue exchange option, returning to display the asset exchange interface, wherein the asset exchange interface includes the subject's updated pending asset, the second asset that the subject can exchange for, and an exchange rule for exchanging the subject's updated pending asset for the second asset; In response to the object selecting P to-be-confirmed assets from the updated to-be-confirmed assets of the object based on the exchange rule corresponding to the second asset, sending a second asset exchange request to the server, where the second asset exchange request is used to request that the P to-be-confirmed assets of the object be exchanged for the second asset, where P is a positive integer; receiving a second exchange success notification sent by the server, where the second exchange success notification is used to indicate that the P unconfirmed assets of the object are successfully exchanged for the second asset; Based on the second exchange success notification, the to-be-confirmed asset after the object is updated is updated.
5. The method according to any one of claims 1 to 4, characterized in that Each unconfirmed asset of the object in the order interface corresponds to a confirmation option, and in response to the object placing an order for at least one unconfirmed asset in the order interface, sending an order request to the server includes: In response to the subject triggering an operation of confirming an option corresponding to any one of the pending assets in the order placement interface, displaying a shipment confirmation interface, the shipment confirmation interface including the pending assets of the subject and the shipment confirmation option; In response to the object's selection operation on at least one to-be-confirmed asset in the shipment confirmation interface and the triggering operation on the shipment determination option, the order request is sent to the server.
6. The method according to claim 5, characterized in that Each to-be-confirmed asset in the order placement interface further corresponds to a redemption option, and the method further includes: In response to the object triggering an exchange option corresponding to any one of the to-be-confirmed assets in the order interface, the asset exchange interface is displayed.
7. The method according to claim 5, characterized in that The delivery confirmation interface also includes a redemption option, and the method further includes: In response to the object triggering the exchange option in the shipment confirmation interface, the asset exchange interface is displayed.
8. The method according to claim 1, characterized in that The asset exchange interface also includes an exchange progress bar and a confirm exchange option. The exchange progress bar is used to indicate the exchange rules corresponding to the first asset. The exchange progress in the exchange progress bar represents the percentage of the sum of the values of the assets to be confirmed selected by the subject to be confirmed and the value of the first asset. The confirm exchange option is displayed when the sum of the values of the assets to be confirmed selected by the subject is greater than or equal to the value of the first asset. In response to the object selecting K assets to be confirmed from the N assets to be confirmed based on the exchange rule corresponding to the first asset, updating the assets to be confirmed of the object includes: In response to the object selecting the K assets to be confirmed from the N assets to be confirmed based on the exchange progress in the exchange progress bar corresponding to the first asset, marking the status of the K assets to be confirmed as a selected state; In response to the triggering operation of the object on the determined redemption option, the to-be-confirmed assets of the object are updated.
9. The method according to claim 8, characterized in that If the sum of the values of the subject's existing assets to be confirmed is less than the value of the first asset, a "Cancel Collection" option is displayed in the asset exchange interface instead of a "Confirm Exchange" option, and the "Cancel Collection" option is used to instruct the subject to continue collecting assets to be confirmed.
10. The method according to any one of claims 1 to 4 or 6 to 9, characterized in that: The asset exchange interface includes a first display area, a second display area, and a third display area. The first display area is used to display the first asset. The second display area is used to display M assets that the object can exchange for. The first asset is an asset selected by the object from the M assets. The third display area is used to display the object's pending asset and the exchange rules, where M is a positive integer.
11. The method according to any one of claims 1 to 4 or 6 to 9, characterized in that: The object's assets to be confirmed include at least one of the following: assets given as gifts from purchasing assets, assets won in a lottery, assets given as gifts from participating in an activity, and purchased assets.
12. An asset exchange method, characterized in that: Applied to a server, the method includes: Receiving an order request sent by a terminal device, the order request being used to request the server to generate an order for at least one unconfirmed asset, the order request being sent by the terminal device in response to a subject's order operation for the at least one unconfirmed asset in an order interface, the order interface being displayed by the terminal device upon detecting completion of an asset exchange operation input by the subject, the unconfirmed assets of the subject being updated by the terminal device in response to the subject's selection operation of selecting K unconfirmed assets from N unconfirmed assets of the subject based on an exchange rule corresponding to a first asset, the updated unconfirmed assets of the subject including the first asset and excluding the K unconfirmed assets, the unconfirmed assets being assets that can be used for asset exchange and for placing orders, N being a positive integer, and K being a positive integer less than or equal to N; Based on the order request, an order for the at least one asset to be confirmed is generated, and the at least one asset to be confirmed is deducted from the assets included in the inventory.
13. The method according to claim 12, characterized in that The method further comprises: Receiving a first asset exchange request sent by a terminal device, where the first asset exchange request is used to request that K to-be-confirmed assets of the object be exchanged for the first asset; Based on the first asset exchange request, the first asset is added to the object's asset pool, and the status of the first asset is marked as pending confirmation, and the status of the K pending assets in the asset pool is marked as exchanged. The assets in the pending confirmation state are assets that can be used for asset exchange and orders, and the assets in the exchanged state are assets that cannot be used for asset exchange and orders; A first exchange success notification is sent to the terminal device, where the first exchange success notification is used to indicate that the K to-be-confirmed assets of the object have been successfully exchanged for the first asset.
14. The method according to claim 13, characterized in that The method further comprises: receiving a second asset exchange request sent by the terminal device, where the second asset exchange request is used to request that P to-be-confirmed assets of the object be exchanged for a second asset, where P is a positive integer; Based on the second asset exchange request, add the second asset to the object's asset pool, mark the second asset's status as the pending confirmation status, and mark the P pending confirmation assets in the asset pool's status as the exchanged status; A second exchange success notification is sent to the terminal device, where the second exchange success notification is used to indicate that the P to-be-confirmed assets of the object have been successfully exchanged for the second asset.
15. The method according to any one of claims 12 to 14, characterized in that: If the server is an exchange server, and the order is generated by the exchange server requesting an order server, generating an order for the at least one unconfirmed asset based on the order request and deducting the at least one unconfirmed asset from the assets included in the inventory includes: Sending an order creation request to the order server based on the order request, wherein the order creation request is used to request the order server to create an order for the at least one asset to be confirmed; receiving an authentication request sent by the order server, wherein the authentication request is used to request the exchange server to verify whether the subject has the right to purchase the at least one unconfirmed asset for zero yuan; authenticating the object based on the authentication request; The authentication result of the object is sent to the order server, so that when the authentication result indicates that the object has the right to purchase the at least one unconfirmed asset for zero yuan, the order server creates an order for the at least one unconfirmed asset and sends a deduction inventory request to the inventory server, wherein the deduction inventory request is used to request the inventory server to deduct the at least one unconfirmed asset from the assets included in the inventory.
16. An asset matching device, characterized in that: Applied to a terminal device, the device includes: an exchange interface display unit, configured to display an asset exchange interface, wherein the asset exchange interface includes N pending assets of an object, a first asset that the object can exchange for, and an exchange rule for exchanging the pending assets of the object for the first asset, wherein the pending assets are assets that can be used for asset exchange and for placing orders, and N is a positive integer; an exchange unit configured to update the object's pending assets in response to the object selecting K pending assets from the N pending assets based on the exchange rule corresponding to the first asset, wherein the updated pending assets include the first asset but do not include the K pending assets, and the updated pending assets can continue to be used for asset exchange, where K is a positive integer less than or equal to N; An order placement unit is configured to display an order placement interface upon detecting that an asset exchange operation input by the subject is completed, and in response to the subject placing an order for at least one unconfirmed asset in the order placement interface, send an order request to a server, wherein the order request is configured to request the server to generate an order for the at least one unconfirmed asset.
17. An asset exchange device, characterized in that: Applied to a server, the device includes: a transceiver unit, configured to receive an order request sent by a terminal device, the order request being used to request the server to generate an order for at least one unconfirmed asset, the order request being sent by the terminal device in response to a subject's order operation for the at least one unconfirmed asset in an order interface, the order interface being displayed by the terminal device upon detecting completion of an asset exchange operation input by the subject, the unconfirmed assets of the subject being updated by the terminal device in response to the subject's selection operation of selecting K unconfirmed assets from N unconfirmed assets of the subject based on an exchange rule corresponding to a first asset, the updated unconfirmed assets of the subject including the first asset and excluding the K unconfirmed assets, the unconfirmed assets being assets that can be used for asset exchange and for placing orders, N being a positive integer, and K being a positive integer less than or equal to N; An order placing unit is configured to generate an order for the at least one asset to be confirmed based on the order placing request, and deduct the at least one asset to be confirmed from the assets included in the inventory.
18. An electronic device, characterized in that: include: processor and memory; The memory is used to store computer programs; The processor is configured to execute the computer program to implement the method according to any one of claims 1 to 11 or 12 to 15.
19. A computer-readable storage medium, characterized in that Used to store a computer program, wherein the computer program is loaded and executed by an electronic device to implement the method according to any one of claims 1 to 11 or 12 to 15.
20. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. An electronic device reads the computer instructions from the computer-readable storage medium so that the electronic device loads and executes the computer instructions to implement the method according to any one of claims 1 to 11 or 12 to 15.