Resource exchange method, apparatus, device, storage medium and program product
The resource exchange method optimizes instant exchanges by adjusting to market fluctuations, ensuring data resource consumption aligns with user expectations, thereby enhancing user satisfaction and platform utilization.
Patent Information
- Application Number
- JP2024214295
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2024-10-28
- Filing Date
- 2024-12-09
- Publication Date
- 2026-03-05
- Estimated Expiration
- 2044-12-09
AI Technical Summary
The utilization rate of instant resource exchange functions on digital platforms is low due to significant market fluctuations causing deviations in data resource consumption from user expectations, leading to user dissatisfaction and reduced frequency of use.
A resource exchange method that includes performing initial exchanges within expected value bounds, generating conditions based on surplus resources and market fluctuations, and allowing a waiting period for further exchanges to match updated conditions, thereby reducing actual data resource consumption and optimizing resource utilization.
This method increases user satisfaction with instant exchanges by minimizing resource waste and improving the utilization rate of digital platforms by ensuring data resource consumption aligns with user expectations, even in fluctuating markets.
Smart Images

Figure 0007824614000001_ABST
Abstract
Description
[Technical Field]
[0001] The present application relates to the technical field of data processing, and in particular to a resource exchange method, apparatus, computer device, computer-readable storage medium and computer program product. [Background technology]
[0002] With the rapid development of technology, people are becoming increasingly dependent on digitalized lifestyles. The method of exchanging resources over networks adapts to this trend and provides a new means of storing and transferring value in the digital age.
[0003] In the prior art, when a user needs a certain resource urgently, there is a desire to exchange the resource immediately. Meanwhile, in order to alleviate the expectation of data resource consumption for resource exchange, the resource exchange digital platform provides an instant resource exchange function for the above situation, which can quickly facilitate and successfully exchange the resource in a short time.
[0004] However, when users desire many resources for instant exchange and the overall market fluctuates greatly, the data resource consumption for resource exchange is likely to be significantly different from users' expectations. As a result, users' satisfaction with the instant resource exchange function decreases, and they use the instant resource exchange function less frequently, which leads to a decrease in the utilization rate of resources allocated to the instant resource exchange function by the resource exchange digital platform. Summary of the Invention [Problem to be solved by the invention]
[0005] In response to this, in order to solve the above technical problems, there is a need to provide a resource exchange method, apparatus, computer device, computer-readable storage medium and computer program product that improve the resource utilization rate of a resource exchange digital platform. [Means for solving the problem]
[0006] In a first aspect, the present application provides a resource exchange method, which includes: receiving a resource instant exchange request sent from an exchange requester; a first exchange step of performing a data resource exchange between an exchange requester and a first exchange responder corresponding to the upper and lower bounds of a first expected value of a current exchange response attribute corresponding to the resource immediate exchange request; a condition determination step of generating a first resource request condition based on the amount of surplus requested resources and upper and lower limits of the first expected value when it is detected that the amount of surplus requested resources of the resource immediate exchange request is greater than a predetermined resource amount threshold; If a second resource requirement that matches the first resource requirement is detected, a step of conducting a data resource exchange between the exchange requester and a second exchange responder that corresponds to the second resource requirement is included based on the second resource requirement.
[0007] In one embodiment, after the step of generating a first resource request condition based on the amount of surplus requested resources and the upper and lower limits of the first expected value, When a second resource requirement condition that matches the first resource requirement condition is not detected within the predetermined time period, obtaining upper and lower bounds of a second expected value of a current exchange response attribute corresponding to the resource immediate exchange request; and updating the first resource requirement condition based on a preset optimization coefficient and upper and lower limits of the second expected value.
[0008] In one embodiment, after the step of generating a first resource request condition based on the amount of surplus requested resources and the upper and lower limits of the first expected value, detecting upper and lower bounds of a third expected value of the current replacement request attribute corresponding to the resource immediate replacement request; If the upper and lower limits of the third expectation are different from the upper and lower limits of the first expectation, updating the first resource requirement condition based on the upper and lower limits of the third expectation.
[0009] In one embodiment, after the step of performing a data resource exchange between the exchange requester and a second exchange responder corresponding to the second resource requirement based on the second resource requirement, further comprising: The method includes a step of reconfirming the surplus request resource amount of the resource immediate exchange request based on exchange amount information regarding the resource exchange between the exchange requester and the second exchange responder, and transitioning to a condition determination step.
[0010] In one embodiment, when the surplus requested resource amount of the resource immediate exchange request is greater than a preset resource amount threshold, before performing a condition determination step of generating a first resource request condition based on the surplus requested resource amount and the upper and lower limits of the first expected value, further: obtaining exchange type information of the resource immediate exchange request; a step of transitioning to a condition determination step when it is confirmed from the exchange type information that the resource immediate exchange request belongs to a dynamic adjustment type; When it is determined from the exchange type information that the immediate resource exchange request belongs to the immediate execution type, detecting whether the surplus request resource amount of the immediate resource exchange request is greater than a preset resource amount threshold; When detecting that the amount of surplus requested resources of the resource instant exchange request is greater than a predetermined resource amount threshold, determining again the upper and lower limit values of the first expected value of the current exchange response attribute corresponding to the resource instant exchange request; The method includes a step of performing a data resource exchange between the exchange requester and the first exchange responder corresponding to the upper and lower limit values of the first expected value of the current exchange response attribute corresponding to the resource instant exchange request, according to the upper and lower limit values of the first expected value, and returning to the step of detecting whether the surplus request resource amount of the resource instant exchange request is greater than the predetermined resource amount threshold.
[0011] In one embodiment, after the step of performing a data resource exchange between the exchange requester and a second exchange responder corresponding to the second resource requirement based on the second resource requirement, further comprising: detecting actual data resource consumption and predicted data resource consumption when the resource immediate replacement request belongs to the immediate execution type; and displaying the actual and predicted data resource consumption.
[0012] In a second aspect, the present application provides a resource exchange device, a receiving module for receiving a resource instant exchange request sent from an exchange requester; a first exchange module that performs a first exchange step of performing a data resource exchange between an exchange requester and a first exchange responder corresponding to the upper and lower bounds of the first expected value based on the upper and lower bounds of the first expected value of a current exchange response attribute corresponding to the resource immediate exchange request; a condition determination module that executes a condition determination step of generating a first resource request condition based on the amount of surplus requested resources and the upper and lower limits of the first expected value when it is detected that the amount of surplus requested resources of the resource immediate exchange request is greater than a predetermined resource amount threshold; and a second exchange module that, when a second resource requirement condition that matches the first resource requirement condition is detected, performs a data resource exchange between the exchange requester and a second exchange responder that corresponds to the second resource requirement condition based on the second resource requirement condition.
[0013] In a third aspect, the present application provides a computer device including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, receiving a resource instant exchange request sent from an exchange requester; a first exchange step of performing a data resource exchange between an exchange requester and a first exchange responder corresponding to the upper and lower bounds of a first expected value of a current exchange response attribute corresponding to the resource immediate exchange request; a condition determination step of generating a first resource request condition based on the amount of surplus requested resources and upper and lower limits of the first expected value when it is detected that the amount of surplus requested resources of the resource immediate exchange request is greater than a predetermined resource amount threshold; If a second resource requirement that matches the first resource requirement is detected, a step of conducting a data resource exchange between the exchange requester and a second exchange responder that corresponds to the second resource requirement is realized based on the second resource requirement.
[0014] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, the computer program, when executed by a processor, receiving a resource instant exchange request sent from an exchange requester; a first exchange step of performing a data resource exchange between an exchange requester and a first exchange responder corresponding to the upper and lower bounds of a first expected value of a current exchange response attribute corresponding to the resource immediate exchange request; a condition determination step of generating a first resource request condition based on the amount of surplus requested resources and upper and lower limits of the first expected value when it is detected that the amount of surplus requested resources of the resource immediate exchange request is greater than a predetermined resource amount threshold; If a second resource requirement that matches the first resource requirement is detected, a step of conducting a data resource exchange between the exchange requester and a second exchange responder that corresponds to the second resource requirement is realized based on the second resource requirement.
[0015] In a fifth aspect, the present application provides a computer program product including a computer program, which, when executed by a processor, receiving a resource instant exchange request sent from an exchange requester; a first exchange step of performing a data resource exchange between an exchange requester and a first exchange responder corresponding to the upper and lower bounds of a first expected value of a current exchange response attribute corresponding to the resource immediate exchange request; a condition determination step of generating a first resource request condition based on the amount of surplus requested resources and upper and lower limits of the first expected value when it is detected that the amount of surplus requested resources of the resource immediate exchange request is greater than a predetermined resource amount threshold; If a second resource requirement that matches the first resource requirement is detected, a step of conducting a data resource exchange between the exchange requester and a second exchange responder that corresponds to the second resource requirement is realized based on the second resource requirement.
[0016] The above resource exchange method, apparatus, computer device, computer-readable storage medium, and computer program product include: first receiving an immediate resource exchange request sent from an exchange requester; then, based on the upper and lower limits of a first expected value of a current exchange response attribute corresponding to the immediate resource exchange request, conducting a resource exchange between the exchange requester and a first exchange responder corresponding to the upper and lower limits of the first expected value; thereby, at least some of the resource requests of the exchange requester are immediately satisfied, and the actual data resource consumption during the resource exchange based on the upper and lower limits of the first expected value may be equal to or lower than the expected value. Furthermore, if it is detected that the amount of surplus requested resources of the immediate resource exchange request is greater than a predetermined resource amount threshold, a first resource request condition is generated based on the amount of surplus requested resources and the upper and lower limits of the first expected value; and if a second resource request condition matching the first resource request condition is detected, a data resource exchange is conducted between the exchange requester and a second exchange responder corresponding to the second resource request condition based on the second resource request condition, thereby realizing a waiting and buffering period for some resource requests whose actual data resource consumption after the resource exchange may be higher than the expected consumption. If there is a new second exchange responder willing to exchange resources under conditions equivalent to or lower than the expected loss during that period, the actual data resource loss of that portion of the resource request can be effectively reduced, thereby increasing the exchange requester's satisfaction with the instant resource exchange function, increasing the frequency of use of the instant resource exchange function, reducing resource waste of the instant resource exchange function, and improving the resource utilization rate of the resource exchange digital platform.
[0017] In order to more clearly explain the embodiments of the present application or the technical solutions of the prior art, the drawings necessary for describing the embodiments or the prior art will be briefly described. Note that the drawings related to the following description are only the specific embodiments described in this specification, and it is clear that those skilled in the art can obtain drawings of other embodiments based on these drawings without any creative efforts. [Brief explanation of the drawings]
[0018] [Figure 1] 1 is a flowchart of a resource exchange method according to an embodiment. [Figure 2] 10 is a flowchart of a first resource requirement update process according to one embodiment. [Figure 3] 10 is a flowchart of a first resource requirement update process according to another embodiment. [Figure 4] 1 is a block diagram illustrating a configuration of a resource exchange device according to an embodiment. [Figure 5] FIG. 2 is a diagram illustrating the internal configuration of a computer device according to an embodiment. DETAILED DESCRIPTION OF THE INVENTION
[0019] In order to clarify the purpose, technical solution and advantages of the present application, the present application will be described in detail below with reference to the accompanying drawings and examples. Note that the specific examples described in this specification are only for the purpose of interpreting the present application and are not intended to limit the present application.
[0020] In one exemplary embodiment, a resource exchange method is provided, as shown in FIG. 1. In this embodiment, the method is described as being applied to a terminal, and the terminals referred to herein include, but are not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, and projection equipment. Portable wearable devices include smart watches, smart bands, and head-mounted devices, and head-mounted devices include virtual reality (VR) devices, augmented reality (AR) devices, and smart glasses. It should be understood that this method can also be applied to a server and to a system including a terminal and a server, and that it is realized by the interaction between the terminal and the server. This embodiment includes the following steps S10 to S40.
[0021] In step S10, a resource immediate exchange request is received from an exchange requester.
[0022] Here, resource exchange refers to the process of exchanging resources owned by one party for other resources owned by another party, and resources may include data resources, virtual resources, economic resources, etc. Virtual resources refer to digitized products, such as digital collectibles, digital currencies, and non-homogenized tokens. For example, resource exchange refers to the exchange of data resources, such as between multiple departments or subsidiaries within a company, optimizing their respective functions through digital resource exchange. For example, resource exchange refers to the exchange between virtual resources and economic resources, i.e., the exchange of economic resources owned by one party for virtual resources owned by another party.
[0023] The resource exchange method of this embodiment is applied to a resource exchange digital platform. The resource exchange digital platform is a digital platform used for exchanging virtual resources and economic resources, and users can purchase, sell, trade, and store various types of virtual resources through the resource exchange digital platform. When a user needs to exchange resources, they can send a resource exchange request to the resource exchange digital platform via their user device. The resource exchange request requests a resource exchange from the resource exchange digital platform. The party sending the resource exchange request is an exchange requester, and the party exchanging resources with the exchange requester is an exchange responder.
[0024] A request for immediate resource exchange requests a digital resource exchange platform to exchange resources immediately or within a short period of time. A request for immediate resource exchange does not include resource exchange conditions, and the digital resource exchange platform typically exchanges resources according to the optimal exchange conditions published on the platform. When a user urgently needs a specific resource, they will want to exchange the resource immediately and will be less concerned about data resource consumption. To meet this need, a digital resource exchange platform provides an immediate resource exchange function, which enables rapid resource exchange within a short period of time. Data resource consumption includes at least one of economic resource consumption, time resource consumption, computational resource consumption, human resource consumption, and communication resource consumption. For example, when a user urgently needs a virtual resource, they will compete for the virtual resource by utilizing more communication resources, human resources, and economic resources. Furthermore, when a user urgently needs an economic resource, they are willing to quickly sell their virtual resource at a lower price.
[0025] However, when users desire many resources for instant exchange and the overall market fluctuates significantly, the market conditions understood when assessing data resource consumption may differ significantly from the market conditions at the time the request was submitted. As a result, the data resource consumption of the ultimately completed resource exchange may deviate significantly from the expected data resource consumption, resulting in the actual data resource consumption far exceeding the expected data resource consumption. Accordingly, when the overall market fluctuates significantly, exchangeable resources with even less data resource consumption may appear on the market shortly after the resource exchange is completed. If this occurs repeatedly, users may become less satisfied with the instant resource exchange function and may use it less or abandon it. As a result, users may use the instant resource exchange function less frequently, and the utilization rate of the resources allocated to the instant resource exchange function by the resource exchange digital platform may also decrease.
[0026] For example, when all users need a resource exchange immediately or in a short time, they can act as resource exchange requesters and send a resource exchange request to the resource exchange digital platform, requesting the resource exchange digital platform to execute the resource exchange immediately or in a short time. The resource exchange digital platform can receive the resource exchange request sent by the resource exchange requester.
[0027] In step S20, i.e., the first exchange step, a data resource exchange is performed between the exchange requester and the first exchange responder corresponding to the upper and lower limit values of the first expected value of the current exchange response attribute corresponding to the resource immediate exchange request, based on the upper and lower limit values of the first expected value.
[0028] The expected value of an exchange attribute represents the resource exchange standard desired by the user, and includes the expected value of the exchange response attribute and the expected value of the exchange request attribute. The expected value of the exchange response attribute represents the resource exchange standard desired by the responder, and the expected value of the exchange request attribute represents the resource exchange standard desired by the requester. As an example, the expected value of an exchange attribute is expressed as the resource exchange price specified by the user. For example, if the exchange requester is a buyer, the expected value of the exchange request attribute is the purchase price, and if the exchange responder is a seller, the expected value of the exchange response attribute is the selling price. Conversely, if the exchange requester is a seller, the expected value of the exchange request attribute is the selling price, and if the exchange responder is a buyer, the expected value of the exchange response attribute is the purchasing price. The upper and lower limits of the expected value of an exchange attribute refer to the expected values of the exchange attributes published on the resource exchange digital platform that result in the least data resource consumption for the exchange requester. Typically, this is the maximum or minimum expected value of the published exchange attribute. For example, if the exchange requester is a buyer, the upper and lower limits of the expected value of the exchange response attribute will be the lowest selling price among the published selling prices, and if the exchange requester is a seller, the upper and lower limits of the expected value of the exchange response attribute will be the highest purchasing price among the published purchasing prices.
[0029] As an example, after the resource exchange digital platform receives a resource instant exchange request from a resource exchange requester, it first determines a target exchange type corresponding to the resource instant exchange request. Next, it determines upper and lower bounds on the expected value of the exchange response attribute from the expected value of the published exchange response attribute corresponding to the target exchange type, and obtains the upper and lower bounds of the first expected value. Then, it identifies at least one first exchange responder corresponding to the upper and lower bounds of the first expected value, and performs a resource exchange between the exchange requester and the first exchange responder based on the upper and lower bounds of the first expected value and the exchangeable resource amount provided by the first exchange responder. For example, if the target exchange type of the exchange requester P1 is "sale," the upper and lower bounds of the first expected value are set to the highest purchase price C of the purchase prices published on the resource exchange digital platform. max Suppose, C max The first exchange responder P2 corresponding to "C maxIf P1 publishes an order to "purchase n1 resources at a price of ," the resource exchange digital platform will transfer n1 resources held by P1 to P2 and purchase C held by P2. max P1 transfers economic resources to P2. In other words, a resource exchange is established between P1 and P2.
[0030] As can be appreciated, there may be multiple first exchange responders, i.e., if multiple users publish expectations for the same exchange attribute, a resource exchange may be effected partially or fully between the exchange requester and multiple first exchange responders based on the exchange requester's actual resource quantity needs and each first exchange responder's available resource quantity.
[0031] In step S30, i.e., the condition determination step, if it is detected that the amount of surplus requested resources of the immediate resource exchange request is greater than a predetermined resource amount threshold, a first resource request condition is generated based on the amount of surplus requested resources and the upper and lower limits of the first expected value.
[0032] It should be noted here that if the resource amount required by the exchange requester exceeds the amount of resources the first exchange responder can provide, even if the resource exchange between the exchange requester and the first exchange responder is completed, the exchange requester's resource request may not be fully satisfied. In this case, conventional technologies search for the upper and lower limits of the new first expected value and the first exchange responder corresponding to the upper and lower limits of the first expected value based on other publicly available resource information on the resource exchange digital platform, and continue resource exchange until the exchange requester's resource request is fully satisfied. For example, assume that User 1 offers a resource for sale at a price of 1 and the available resource amount is 1. Assume that User 2 offers 5 resources for a price of 5 and User 3 offers 20 resources for a price of 10. If the exchange requester sends an instant resource exchange request to purchase 10 resources, conventional technologies first purchase 1 resource from User 1 at a price of 1, then 5 resources from User 2 at a price of 5, and 4 resources from User 3 at a price of 10. During this time, if the market fluctuates significantly, any of these orders may be canceled or changed. For example, if User 3 cancels an order and the next closest price offered is 50, the resource loss will be significantly greater than the transaction price of 10. Also, if User 3 resubmits the order to offer 10 resources at a price of 5, the exchange requester may find this new order after the transaction has been completed, which may cause frustration for the previously completed transaction.
[0033] As an example, after an exchange requester completes a resource exchange with a first exchange responder, the actual exchange amount of the resource exchange is first obtained. This actual exchange amount is typically the amount of exchangeable resources published by the first exchange responder. Then, information on the requested resource amount is extracted from the immediate resource exchange request, the requested resource amount of the exchange requester is identified, and the actual exchange amount is subtracted from the requested resource amount to calculate the surplus requested resource amount. If the surplus requested resource amount is greater than the set resource amount threshold (e.g., equal to or greater than 0), the exchange requester's resource request has not yet been fully satisfied and the exchange must continue. Therefore, a first resource request condition is generated based on the surplus requested resource amount and the upper and lower limits of the first expected value, and exchange conditions are gradually set for the immediate resource exchange request. At this stage, only exchange responders whose exchange attribute expectations match the first resource request condition can transact with the exchange requester.
[0034] In this case, unlike the prior art, this embodiment provides the exchange requester with a waiting and buffering period to mitigate the risk of market fluctuations, and can seize the opportunity to reduce data resource consumption due to market fluctuations.
[0035] For example, a time range can be set for this period to ensure a quick response to a resource immediate exchange request. After a first resource request condition is generated, a timer is started. If the set time range is exceeded, the upper and lower limits of the current latest first expectation are determined again, and resource exchange is performed based on the new upper and lower limits of the first expectation.
[0036] As another example, to enhance the flexibility of the instant resource exchange function, both the dynamic adjustment type instant resource exchange request method provided in this embodiment and the conventional instant execution type instant resource exchange request method can be simultaneously maintained. This allows users to evaluate risk and make a selection based on current market conditions and their own needs. For example, when market prices are fluctuating significantly and the amount of requested resources is large, the dynamic adjustment type instant resource exchange request method may be selected if the dynamic adjustment type instant resource exchange request method is determined to have low risk. Alternatively, when prices are stable, the amount of requested resources is small, response speed is important, or the instant execution type instant resource exchange request method is evaluated to have an acceptable risk level, the conventional instant execution type instant resource exchange request method may be selected.
[0037] As an example, after a first resource requirement is generated, it may be made public to other users.
[0038] In step S40, if a second resource requirement condition that matches the first resource requirement condition is detected, a data resource exchange is performed between the exchange requester and a second exchange responder that corresponds to the second resource requirement condition based on the second resource requirement condition.
[0039] As an example, after a first resource request is generated, if a second exchange responder submits a second resource request that matches the first resource request, a data resource exchange can be conducted between the exchange requester and the second exchange responder based on the second resource request. For example, if the first resource request specifies the purchase of a resource at a price lower than c1 and the second resource request specifies the sale of the resource at a price c2, if c2 is lower than c1, the two conditions match and a resource exchange can be conducted between the exchange requester and the second exchange responder at the price c2.
[0040] This resource exchange method first receives an immediate resource exchange request from an exchange requester, and then performs a data resource exchange between the exchange requester and a first exchange responder corresponding to the upper and lower limits of the first expectation based on the upper and lower limits of the first expectation of the current exchange response attribute corresponding to the immediate resource exchange request. This allows at least some of the resource requests from the exchange requester to be immediately fulfilled, and ensures that the actual data resource consumption in the resource exchange based on the upper and lower limits of the first expectation is equal to or less than the expected value. Furthermore, if the amount of surplus requested resources in the immediate resource exchange request is greater than a predetermined resource amount threshold, a first resource request condition is generated based on the amount of surplus requested resources and the upper and lower limits of the first expectation. If a second resource request condition that matches the first resource request condition is detected, a data resource exchange is performed between the exchange requester and a second exchange responder corresponding to the second resource request condition based on the second resource request condition. This achieves a waiting and buffering period for some resource requests whose actual data resource consumption after the resource exchange may be higher than the expected consumption. If there is a new second exchange responder willing to exchange resources under conditions equivalent to or lower than the expected loss during that period, the actual data resource loss of that portion of the resource request can be effectively reduced, thereby increasing the exchange requester's satisfaction with the instant resource exchange function, increasing the frequency of use of the instant resource exchange function, reducing resource waste of the instant resource exchange function, and improving the resource utilization rate of the resource exchange digital platform.
[0041] As an example, as shown in FIG. 2, after generating the first resource request condition based on the amount of surplus requested resources and the upper and lower limits of the first expected value, the following steps S411 and S412 are included.
[0042] In step S411, if a second resource requirement condition that matches the first resource requirement condition is not detected within a predetermined time period, the upper and lower limits of the second expected value of the current exchange response attribute corresponding to the resource immediate exchange request are obtained.
[0043] Since users who submit instant resource exchange requests typically expect the exchange to be immediate or within a short period of time, if the second resource request condition is not found for a long time or if a prompt response is not received, the user's satisfaction with the instant resource exchange function will decrease and the frequency of using the instant resource exchange function will decrease, which will also reduce the utilization rate of the resources allocated by the resource exchange digital platform to the instant resource exchange function.
[0044] As an example, after a first resource request condition is generated, timing is started and a second resource request condition that matches the first resource request condition is monitored. If a second resource request condition that matches the first resource request condition is detected within a set time range, a data resource exchange is performed between the exchange requester and a second exchange responder corresponding to the second resource request condition. If a second resource request condition that matches the first resource request condition is not detected even after the set time has elapsed, upper and lower bounds on the expected value of the exchange response attribute are determined from the expected value of the published exchange response attribute corresponding to the target exchange type, and the upper and lower bounds on the second expected value are determined.
[0045] In step S412, the first resource requirement condition is updated based on a preset optimization coefficient and upper and lower limits of the second expected value.
[0046] As an example, after the upper and lower bounds of the second expectation are determined, an optimized expectation is calculated based on the optimization coefficient and the upper and lower bounds of the second expectation. The optimized expectation represents a data resource consumption that is lower than the data resource consumption based on the upper and lower bounds of the second expectation. For example, if the resource immediate exchange request is a request to sell a resource and the upper and lower bounds of the second expectation are a purchase price c1, the optimized expectation should be lower than c1. Conversely, if the resource immediate exchange request is a request to purchase a resource and the upper and lower bounds of the second expectation are a selling price c2, the optimized expectation should be higher than c2. The optimized expectation is then used instead of the upper and lower bounds of the first expectation to regenerate the first resource request condition, allowing the exchange requester to quickly execute the exchange.
[0047] As an example, if a first resource requirement is published or exhibited on a resource exchange digital platform, the previously published or exhibited first resource requirement may be retracted and a new first resource requirement may be published.
[0048] The method for calculating the optimized expected value based on the optimization coefficient and the upper and lower limits of the second expected value includes the following: multiplying the upper and lower limits of the second expected value by the optimization coefficient and determining the result as the optimized expected value, or adding the upper and lower limits of the second expected value to the optimization coefficient and determining the sum as the optimized expected value. The specific method is determined according to the actual situation, so no further restrictions are imposed in this embodiment.
[0049] In this embodiment, by optimizing the first resource requirement condition over a period of time within a set time range, it is possible to control data resource consumption while quickly responding to requests for immediate resource replacement, thereby satisfying the need for a quick response to requests for immediate resource replacement, thereby increasing the frequency of use of the immediate resource replacement function, reducing resource waste in the immediate resource replacement function, and improving the resource utilization rate of the resource replacement digital platform.
[0050] As an example, as shown in FIG. 3, after generating the first resource request condition based on the amount of surplus requested resources and the upper and lower limits of the first expected value, the following steps S421 and S422 are included.
[0051] In step S421, the upper and lower bounds of the third expected value of the current exchange request attribute corresponding to the resource immediate exchange request are detected.
[0052] The resource exchange between the exchange requester and the first exchange responder is based on the upper and lower bounds of the expected value of the current exchange response attribute and the upper and lower bounds of the third expected value. If the market fluctuates significantly, the upper and lower bounds of the third expected value will also fluctuate. Therefore, if the first resource requirement conditions remain unchanged, it may lose its competitiveness and the resource request of the exchange requester may not be fulfilled promptly.
[0053] For example, after the first resource requirement condition is generated, the resource exchange digital platform may continuously monitor whether the upper and lower limits of the third expectation value are fluctuating, i.e., whether the current upper and lower limits of the third expectation value are the same as the upper and lower limits of the first expectation value.
[0054] In step S422, if the upper and lower limits of the third expected value and the upper and lower limits of the first expected value differ, the first resource requirement condition is updated based on the upper and lower limits of the third expected value.
[0055] For example, if the upper and lower limits of the third expected value are different from those of the first expected value, the upper and lower limits of the third expected value are replaced with those of the first expected value, and the first resource requirement condition is regenerated. If the upper and lower limits of the third expected value are the same as those of the first expected value, there is no need to update the first resource requirement condition, and it is possible to continue to monitor whether the upper and lower limits of the third expected value are fluctuating.
[0056] As an example, if a first resource requirement is published or exhibited on a resource exchange digital platform, the previously published or exhibited first resource requirement may be retracted and a new first resource requirement may be published.
[0057] In this embodiment, the upper and lower limits of the third expectation value are monitored, and the first resource requirement condition is dynamically adjusted based on the upper and lower limits of the third expectation value, allowing the instant resource exchange request to adapt to market fluctuations and maintain competitiveness. This improves the success rate of resource exchange, controls data resource consumption, and ensures a fast response to instant resource exchange requests. This increases the frequency of use of the instant resource exchange function, reduces resource waste in the instant resource exchange function, and improves the resource utilization rate of the resource exchange digital platform.
[0058] For example, after performing a data resource exchange between the exchange requester and the second exchange responder corresponding to the second resource requirement based on the second resource requirement, further: The method includes a step of reconfirming the surplus request resource amount of the resource immediate exchange request based on exchange amount information regarding the resource exchange between the exchange requester and the second exchange responder, and transitioning to a condition determination step.
[0059] As an example, after a data resource exchange is performed between the exchange requester and the second exchange responder, exchange amount information regarding the resource exchange between the exchange requester and the second exchange responder is acquired, and the actual resource exchange amount resulting from the resource exchange between the exchange requester and the second exchange responder is determined based on the exchange amount information regarding the resource exchange between the exchange requester and the second exchange responder. Furthermore, the actual resource exchange amount resulting from the resource exchange between the exchange requester and the second exchange responder is subtracted from the surplus request resource amount to determine a new surplus request resource amount. If the new surplus request resource amount is greater than the set resource amount threshold (e.g., greater than 0), the resource request of the exchange requester has not yet been satisfied, and the exchange must continue. Therefore, the process returns to the condition determination step, and the exchange continues until the surplus request resource amount becomes equal to or less than the set resource amount threshold.
[0060] In this embodiment, when a user desires to exchange a large amount of resources immediately and the overall market is fluctuating greatly, the resource exchange step and the waiting step are repeated to effectively control the actual data resource consumption for the request for immediate resource exchange, thereby mitigating the risk caused by market fluctuations and seizing the opportunity to reduce data resource consumption.
[0061] As an example, if the amount of surplus requested resources of the resource immediate exchange request is greater than a predetermined resource amount threshold, before generating the first resource request condition based on the amount of surplus requested resources and the upper and lower limits of the first expected value, the method further includes steps S21 to S25 as follows:
[0062] In step S21, exchange type information of the immediate resource exchange request is obtained.
[0063] The exchange type refers to the type of immediate resource exchange, and includes the "dynamic adjustment type" and the "immediate execution type," each of which is used in different situations. The dynamic adjustment type is a method of exchanging resources by setting a waiting period or the like and allowing a delay within a certain time range when the amount of exchangeable resources corresponding to the upper and lower limit values of the expected values of the current exchange response attribute does not satisfy the resource request. The immediate execution type is a method of exchanging resources immediately based on the expected values of other exchange response attributes when the amount of exchangeable resources corresponding to the upper and lower limit values of the expected values of the current exchange response attribute does not satisfy the resource request of the immediate resource exchange request. The exchange type for an immediate resource exchange request can be selected by the user when submitting the immediate resource exchange request.
[0064] As an example, the exchange type information of the immediate resource exchange request is acquired based on a selection operation of the exchange type of the immediate resource exchange request.
[0065] In step S22, if it is confirmed from the exchange type information that the resource immediate exchange request belongs to the dynamic adjustment type, the process proceeds to a condition determination step.
[0066] For example, if the dynamic adjustment type is determined based on the exchange type information, the process checks whether the surplus requested resource amount of the immediate resource exchange request is greater than a preset resource amount threshold. If the surplus requested resource amount does not exceed the threshold, the resource request of the immediate resource exchange request has been fulfilled and the request is completed. If the surplus requested resource amount is greater than the preset resource amount threshold, the process proceeds to a condition determination step.
[0067] In step S23, when it is confirmed from the exchange type information that the immediate resource exchange request belongs to the immediate execution type, it is detected whether the surplus request resource amount of the immediate resource exchange request is greater than a preset resource amount threshold.
[0068] For example, if the resource immediate exchange request is determined to be of immediate execution type based on the exchange type information, it is checked whether the amount of surplus requested resources is greater than a threshold value.
[0069] In step S24, if it is detected that the amount of surplus requested resources of the immediate resource exchange request is greater than a predetermined resource amount threshold, the upper and lower limit values of the first expected value of the current exchange response attribute corresponding to the immediate resource exchange request are newly determined.
[0070] For example, if the amount of excess requested resources of the immediate resource exchange request does not exceed the preset resource amount threshold, it means that all resource requests of the immediate resource exchange request have been satisfied and the immediate resource exchange request has already been completed.If the amount of excess requested resources of the immediate resource exchange request is greater than the preset resource amount threshold, the upper and lower limits of the expected values of the current exchange response attributes are newly determined from the expected values of the published exchange response attributes corresponding to the target exchange type, the upper and lower limits of the first expected values are obtained, and at least one first exchange responder corresponding to the upper and lower limits of the new first expected values is identified.
[0071] In step S25, according to the upper and lower limit values of the first expected value of the current exchange response attribute corresponding to the resource immediate exchange request, a data resource exchange is performed between the exchange requester and the first exchange responder corresponding to the upper and lower limit values of the first expected value, and the process returns to the step of detecting whether the surplus request resource amount of the resource immediate exchange request is greater than the preset resource amount threshold.
[0072] As an example, a resource exchange is performed between the exchange requester and the new first exchange responder according to the upper and lower limits of the new first expected value and the exchangeable resource amount corresponding to the new first exchange responder, and whether the surplus requested resource amount is greater than a preset resource amount threshold is re-detected, and the cycle continues until the surplus requested resource amount becomes equal to or less than the preset resource amount threshold.
[0073] In this embodiment, by simultaneously maintaining both the dynamic adjustment type real-time resource exchange request method and the traditional real-time execution type request method, users can be provided with flexible and comprehensive options, and risk assessment and selection can be made according to the current market situation and user needs. This method improves the flexibility and comprehensiveness of the real-time resource exchange function, so that exchange requesters can meet their expectations regarding data resource consumption, increase the frequency of use of the real-time resource exchange function, reduce resource waste in the real-time resource exchange function, and improve the resource utilization rate of the resource exchange digital platform.
[0074] For example, after performing a data resource exchange between the exchange requester and the second exchange responder corresponding to the second resource requirement based on the second resource requirement, the method further includes steps S50 to S60.
[0075] In step S50, the actual data resource consumption and the predicted data resource consumption when the resource immediate exchange request belongs to the immediate execution type are detected.
[0076] For example, after a dynamic adjustment type immediate resource exchange request is completed, the actual data resource consumption can be calculated based on the actual situation of the resource exchange. An immediate execution type immediate resource exchange request is made based on the expected value of the exchange response attribute published in the resource exchange digital platform at the time of submitting the immediate resource exchange request, so its consumption is predictable. Therefore, if the immediate resource exchange request belongs to the immediate execution type, the expected data resource consumption can be estimated.
[0077] In step S60, the actual data resource consumption and the predicted data resource consumption are displayed.
[0078] For example, after the actual and expected data resource consumption is determined, this information will be displayed to exchange requesters through the resource exchange digital platform, allowing users to visually understand the advantages of the two exchange methods.
[0079] In this embodiment, by presenting the data resource consumption information of the two exchange methods, users can be provided with more analytical data and be able to select the most suitable exchange method according to different market conditions and needs, which can increase the frequency of use of the resource instant exchange function, reduce resource waste in the resource instant exchange function, and improve the resource utilization rate of the resource exchange digital platform.
[0080] It should be understood that although the steps in the flowcharts associated with the above embodiments are displayed sequentially according to the direction of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise clearly indicated in the text, there is no strict order restriction on the execution of these steps, and they may be executed in other orders. Furthermore, at least some of the steps in the flowcharts associated with the above embodiments include multiple steps or phases, and these steps or phases may not necessarily be executed simultaneously but may be executed at different times. The order in which these steps or phases are executed is also not necessarily sequential, and they may be executed alternately or repeatedly with other steps or some steps or phases of other steps.
[0081] Based on the same inventive concept, an embodiment of the present application also provides a resource exchange device for implementing the resource exchange method related to the above. The solution provided by this device is similar to the solution described in the above method, so that the specific limitations of one or more embodiments of the resource exchange device provided below can be referenced to the limitations of the resource exchange method described above, and will not be repeated here.
[0082] 4, a resource exchange device is provided, which includes: a receiving module 402, a first exchange module 404, a condition determining module 406, and a second exchange module 408.
[0083] The receiving module 402 receives a resource instant exchange request sent from an exchange requester.
[0084] The first exchange module 404 performs a first exchange step of exchanging data resources between the exchange requester and the first exchange responder corresponding to the upper and lower limit values of the first expected value of the current exchange response attribute corresponding to the resource immediate exchange request, based on the upper and lower limit values of the first expected value.
[0085] Condition determination module 406: When it is detected that the surplus requested resource amount of the resource immediate exchange request is greater than a preset resource amount threshold, a condition determination step is executed to generate a first resource request condition based on the surplus requested resource amount and the upper and lower limits of the first expected value.
[0086] A second exchange module 408: when a second resource requirement that matches the first resource requirement is detected, a data resource exchange is performed between the exchange requester and a second exchange responder that corresponds to the second resource requirement based on the second resource requirement.
[0087] In one example, the resource exchange device further includes an optimization module, and after generating a first resource request condition based on the amount of surplus requested resources and the upper and lower limits of the first expected value, the optimization module: If a second resource requirement condition that matches the first resource requirement condition is not detected within the predetermined time period, obtain upper and lower bounds of a second expected value of a current exchange response attribute corresponding to the resource immediate exchange request; The first resource requirement condition is updated based on a preset optimization coefficient and upper and lower limits of the second expected value.
[0088] As an example, the resource exchange device further includes an update module, and after generating a first resource request condition according to the amount of surplus requested resources and the upper and lower limits of the first expected value, the update module: Detecting upper and lower bounds of a third expected value of the current replacement request attribute corresponding to the resource immediate replacement request; If the upper and lower limits of the third expectation are different from the upper and lower limits of the first expectation, the first resource request condition is updated based on the upper and lower limits of the third expectation.
[0089] As an example, the resource exchange device further includes a loop module, and after the step of performing a data resource exchange between the exchange requester and a second exchange responder corresponding to the second resource requirement condition based on the second resource requirement condition, the loop module: Based on the exchange amount information regarding the resource exchange between the exchange requester and the second exchange responder, the amount of surplus requested resources for the immediate resource exchange request is confirmed again, and the process proceeds to the condition determination step.
[0090] As an example, the resource exchange device further includes a classification processing module, and when the surplus requested resource amount of the resource immediate exchange request is greater than a preset resource amount threshold, before performing a condition determination step of generating a first resource request condition based on the surplus requested resource amount and the upper and lower limits of the first expected value, the classification processing module: Obtain exchange type information for a resource immediate exchange request; If it is confirmed from the exchange type information that the resource immediate exchange request belongs to the dynamic adjustment type, the process proceeds to the condition determination step, If it is determined from the exchange type information that the immediate resource exchange request belongs to the immediate execution type, it is determined whether the surplus request resource amount of the immediate resource exchange request is greater than a preset resource amount threshold value; When detecting that the amount of surplus request resources of the resource immediate exchange request is greater than a predetermined resource amount threshold, re-determine upper and lower limit values of the first expected value of the current exchange response attribute corresponding to the resource immediate exchange request; According to the upper and lower limit values of the first expected value of the current exchange response attribute corresponding to the resource instant exchange request, a data resource exchange is performed between the exchange requester and the first exchange responder corresponding to the upper and lower limit values of the first expected value, and the process returns to the step of detecting whether the surplus request resource amount of the resource instant exchange request is greater than the preset resource amount threshold.
[0091] As an example, the resource exchange device further includes a display module, and after the step of performing a data resource exchange between the exchange requester and the second exchange responder corresponding to the second resource request condition based on the second resource request condition, the display module: Detecting actual data resource consumption and predicted data resource consumption when the resource immediate replacement request belongs to an immediate execution type; Shows actual and predicted data resource consumption.
[0092] Each module of the resource exchange processing device described above can be implemented in whole or in part by software, hardware, or a combination of both. These modules can be embedded as hardware or exist independently within a processor of a computer system. Alternatively, these modules can be stored as software in the memory of a computer system and invoked by the processor to perform the operations corresponding to each module.
[0093] In one exemplary embodiment, a computing device is provided. This device is a terminal, and its internal structure can be seen in FIG. 5. The computing device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, memory, and input / output interface are connected by a system bus, and the communication interface, display unit, and input device are connected to the system bus via the input / output interface. The processor of the computing device provides calculation and control functions. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system (OS) and computer programs, and the internal memory provides an execution environment for the operating system and computer programs. The input / output interface is used to exchange information between the processor and an external device. The communication interface is used for wired or wireless communication with an external terminal, and the wireless method can be realized by Wi-Fi, a mobile cellular network, Near Field Communication (NFC), or other technologies. The computer program is executed by the processor to realize a resource exchange processing method. The display unit is used to generate a visually visible screen and can include a display screen, a projection device, a virtual reality imaging device, or the like. The display screen may be a liquid crystal display screen or an electronic paper display, and the input device may be a touch layer overlaid on the display screen, or buttons, a trackball, or a touchpad located on the outside of the computing device, or even an externally connected keyboard, touchpad, or mouse.
[0094] Those skilled in the art will appreciate that the structure shown in Figure 5 is merely a block diagram of a partial structure related to the solution of the present application, and does not limit the computer device to which the solution of the present application is applied. A specific computer device may include more or fewer components than those shown in the figure, or may combine some components. Furthermore, the computer device may have a different component arrangement.
[0095] In one embodiment, a computing device is provided having a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, performs the steps of the method embodiments described above.
[0096] In an embodiment, a computer-readable storage medium having a computer program recorded thereon is provided, which, when executed by a processor, implements the steps of the above method embodiments.
[0097] In an embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, performs the steps of the above method embodiments.
[0098] All user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, storage, display, etc.) related to this application are information authorized by the user or information fully authorized by each relevant party, and the collection, use, and processing of related data must comply with relevant regulations.
[0099] As will be understood by those skilled in the art, all or part of the processes of the above-described method embodiments can be completed through associated hardware instructed by a computer program. The computer program is stored in a non-volatile computer-readable storage medium, and when executed, the processes illustrated in the above-described method embodiments are implemented. Any reference to storage media, databases, or other media used in the embodiments of this application should be understood to include at least one of non-volatile memory and volatile memory. Non-volatile memory includes read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage device, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM®), phase change memory (PCM), graphene memory, etc. Volatile memory includes random access memory (RAM) or external high-speed cache memory, etc. For illustrative purposes, RAM may take many forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases used in the embodiments of this application may include at least one of a relational database and a non-relational database. Non-relational databases include, but are not limited to, distributed databases based on blockchains.The processors associated with each embodiment of the present application may include, but are not limited to, general purpose processors, central processing units (CPUs), graphics processors (GPUs), digital signal processors, programmable logic circuits, data processing logic circuits based on quantum computing, artificial intelligence (AI) processors, etc.
[0100] The technical features of the above-described embodiments can be combined in any manner. For the sake of brevity, not all combinations of the technical features of the above-described embodiments are described, but any combination of these technical features should be considered within the scope of the present specification unless there is a contradiction.
[0101] The above examples merely illustrate some embodiments of the present application, and although the descriptions are specific and detailed, they should not be construed as limiting the scope of protection of the invention. Those skilled in the art may make minor modifications and improvements without departing from the spirit of the present application, and all of these modifications and improvements are within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined in accordance with the claims.
Claims
1. A data resource exchange method performed by a resource exchange device, the method comprising: receiving a resource instant exchange request sent from an exchange requester; a first exchange step of performing a data resource exchange between the exchange requester and a first exchange responder corresponding to the upper and lower bounds of a first expected value of a current exchange response attribute corresponding to the resource immediate exchange request; a condition determination step of generating a first resource request condition based on the amount of surplus requested resources and upper and lower limits of the first expected value when it is detected that the amount of surplus requested resources of the immediate resource exchange request is greater than a predetermined resource amount threshold; and when a second resource requirement condition that matches the first resource requirement condition is detected, a step of conducting a data resource exchange between the exchange requester and a second exchange responder that corresponds to the second resource requirement condition based on the second resource requirement condition.
2. After the step of generating a first resource requirement condition based on the amount of surplus requested resources and the upper and lower limits of the first expected value, When a second resource requirement condition that matches the first resource requirement condition is not detected within a predetermined time period, obtaining upper and lower bounds of a second expected value of a current exchange response attribute corresponding to the resource immediate exchange request; 2. The method of claim 1, further comprising: updating the first resource requirement condition based on a preset optimization coefficient and upper and lower limits of the second expected value.
3. After the step of generating a first resource requirement condition based on the amount of surplus requested resources and the upper and lower limits of the first expected value, detecting upper and lower bounds of a third expected value of a current exchange request attribute corresponding to the resource immediate exchange request; 2. The method of claim 1, further comprising: if the upper and lower limits of the third expected value are different from the upper and lower limits of the first expected value, updating the first resource requirement condition based on the upper and lower limits of the third expected value.
4. After the step of performing a data resource exchange between the exchange requester and a second exchange responder corresponding to the second resource requirement based on the second resource requirement, further The method of claim 1, further comprising a step of reconfirming the amount of surplus requested resources of the immediate resource exchange request based on exchange amount information regarding the resource exchange between the exchange requester and the second exchange responder, and transitioning to the condition determination step.
5. When the surplus requested resource amount of the resource immediate exchange request is greater than a predetermined resource amount threshold, before performing a condition determination step of generating a first resource request condition based on the surplus requested resource amount and the upper and lower limits of the first expected value, obtaining exchange type information of the resource immediate exchange request; a step of transitioning to the condition determining step when it is confirmed from the exchange type information that the resource immediate exchange request belongs to a dynamic adjustment type; When it is determined from the exchange type information that the immediate resource exchange request belongs to an immediate execution type, detecting whether an amount of surplus requested resources of the immediate resource exchange request is greater than a predetermined resource amount threshold; When detecting that the surplus requested resource amount of the instant resource exchange request is greater than a predetermined resource amount threshold, determining a new upper and lower limit value of a first expected value of a current exchange response attribute corresponding to the instant resource exchange request; According to the upper and lower limit values of a first expected value of a current exchange response attribute corresponding to the resource instant exchange request, a data resource exchange is performed between the exchange requester and a first exchange responder corresponding to the upper and lower limit values of the first expected value, and returning to the step of detecting whether the surplus requested resource amount of the resource instant exchange request is greater than a preset resource amount threshold; 2. The method of claim 1, comprising:
6. After the step of performing a data resource exchange between the exchange requester and a second exchange responder corresponding to the second resource requirement based on the second resource requirement, further detecting actual data resource consumption and predicted data resource consumption when the resource immediate replacement request belongs to an immediate execution type; 6. The method of claim 5, further comprising displaying the actual data resource consumption and the predicted data resource consumption.
7. A resource exchange device, a receiving module for receiving a resource instant exchange request sent from an exchange requester; a first exchange module that performs a first exchange step of performing a data resource exchange between the exchange requester and a first exchange responder corresponding to the upper and lower bounds of a first expected value of a current exchange response attribute corresponding to the resource immediate exchange request, the first exchange step being based on the upper and lower bounds of a first expected value of the current exchange response attribute; a condition determination module that, when it is detected that the amount of surplus requested resources of the resource immediate exchange request is greater than a predetermined resource amount threshold, executes a condition determination step of generating a first resource request condition based on the amount of surplus requested resources and upper and lower limits of the first expected value; a second exchange module that, when a second resource requirement that matches the first resource requirement is detected, performs a data resource exchange between the exchange requester and a second exchange responder that corresponds to the second resource requirement based on the second resource requirement; A resource exchange device comprising:
8. A computing device including a memory and a processor, A computer program is stored in the memory, and when the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are realized.
1. A computing device comprising:
9. A computer-readable storage medium on which a computer program is stored, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented. A computer-readable storage medium comprising:
10. A computer program product comprising a computer program, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
1. A computer program product comprising:
Citation Information
Patent Citations
Data processing method and device based on resource conversion, equipment and storage medium
CN116091186A
Information processing system, server device and recording medium
JP2004213452A
Proprietary resource interaction and method and system for processing electronic commerce information
JP2008535069A