Non-currency resource circulation method and system based on time decay and dynamic weight
By using a time decay and dynamic weighting method, non-monetary resources are quantified and settled, solving the problems of value decay and cross-regional assessment in the circulation of non-monetary resources, and achieving fairness and accuracy in resource circulation.
Patent Information
- Application Number
- CN202511084908.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-04
- Publication Date
- 2025-11-18
AI Technical Summary
Existing technologies lack the ability to dynamically quantify the timeliness of resources in non-monetary resource circulation scenarios, making it impossible to accurately calculate the depreciation of resource value. Furthermore, the value assessment of cross-regional circulation is inaccurate, resulting in insufficiently precise compensation and difficulty in achieving fairness and accurate settlement.
A time decay and dynamic weighting-based approach is adopted to quantify non-monetary resource data by generating dynamic weighting coefficients. The timeliness value is calculated by combining a piecewise time decay function, and settlement instructions and decay compensation smart contracts are introduced to integrate resource matching, settlement and compensation records and store them using blockchain.
It enables dynamic quantification and cross-regional clearing of non-monetary resources, improves the accuracy of clearing and compensation during the circulation process, and ensures the fairness and precision of resource circulation.
Smart Images

Figure CN120975474A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of non-monetary resource circulation technology, specifically relating to a non-monetary resource circulation method and system based on time decay and dynamic weighting. Background Technology
[0002] In non-monetary resource exchange scenarios, such as community mutual aid networks, volunteer service systems, and disaster relief operations, efficient management and smooth circulation of resources are crucial for achieving social collaboration and enhancing emergency response capabilities. However, resources in these scenarios are highly heterogeneous, encompassing multiple dimensions such as time, skills, materials, and information. Their value assessment and matching mechanisms are far more complex than those of monetary transactions, and existing technological solutions still face numerous technical bottlenecks in supporting comprehensive, dynamic, and equitable resource circulation.
[0003] First, the value of non-monetary resources often exhibits a significant non-linear decay characteristic over time. However, existing technological systems generally lack the ability to dynamically quantify the timeliness of resources. Most platforms still rely on preset priority rules or user-manually labeled timeliness, failing to automatically capture the dynamic changes in resource value over time. Furthermore, existing platforms lack effective timeliness quantification, making it difficult to accurately calculate the value decay of resources at different points in time. Consequently, compensation mechanisms for value decay are also difficult to adjust automatically and dynamically, often relying on preset compensation tables for rigid compensation distribution. This results in insufficient precision in compensation for decay during circulation, failing to guarantee the fairness of resource compensation.
[0004] Secondly, in large-scale or cross-regional resource allocation, the circulation value of resources needs to comprehensively consider regional economic differences and geographical costs. For example, the benchmark value of the same medical service may differ between developed and underdeveloped regions, and spatial factors such as transportation costs and time costs must be added when allocating resources across regions. However, regional economic indicators (such as GDP, per capita income, and price index) and geospatial information (such as distance, transportation networks, and terrain complexity) are data from different dimensions, and existing technologies lack effective fusion algorithms. This makes it difficult for existing technologies to dynamically adjust value conversion, resulting in inaccurate settlement of cross-regional circulation.
[0005] As mentioned above, how to provide a non-monetary resource circulation method and system based on time decay and dynamic weighting that can dynamically quantify non-monetary resources to overcome clearing obstacles and effectively improve the accuracy of clearing and compensation in the circulation process has become an urgent problem to be solved. Summary of the Invention
[0006] The purpose of this invention is to provide a method and system for the circulation of non-monetary resources based on time decay and dynamic weighting, in order to solve the above-mentioned problems existing in the prior art.
[0007] To achieve the above objectives, the present invention adopts the following technical solution:
[0008] In a first aspect, the present invention provides a method for the circulation of non-monetary resources based on time decay and dynamic weighting, comprising:
[0009] Obtain non-monetary resource data provided by resource providers, generate dynamic weighting coefficients for the non-monetary resource data, and quantify the non-monetary resource data using the dynamic weighting coefficients to obtain a quantitative value for the circulation of non-monetary resources.
[0010] Obtain a preset segmented time decay function, and calculate the timeliness of the non-monetary resource circulation quantification value based on the segmented time decay function and the non-monetary resource data to generate the current non-monetary resource circulation quantification value.
[0011] Obtain external resource requests and, based on the current non-monetary resource circulation quantification value, perform non-monetary resource matching on the external resource requests to obtain non-monetary resource matching results;
[0012] Based on the non-monetary resource matching results, the account information and location information of the resource provider and the resource requester are obtained. Based on the non-monetary resource matching results and the current non-monetary resource circulation quantification value, a settlement instruction is generated for the resource provider and the resource requester. The settlement is performed on the resource provider and the resource requester according to the settlement instruction to obtain a settlement record.
[0013] Obtain a preset attenuation compensation smart contract, calculate the non-monetary resource time attenuation compensation value based on the current non-monetary resource circulation quantification value and the non-monetary resource circulation quantification value, evaluate the non-monetary resource time attenuation compensation value through the attenuation compensation smart contract, generate compensation instructions for the resource provider and the resource requester according to the evaluation results, and execute compensation for the resource provider and the resource requester according to the compensation instructions to obtain compensation records;
[0014] The non-monetary resource matching results, the settlement records, and the compensation records are integrated to generate a non-monetary resource circulation record. Based on the non-monetary resource circulation record, the non-monetary resource circulation is completed, and the non-monetary resource circulation record is input into the blockchain for on-chain storage.
[0015] In one possible design, non-monetary resource data provided by the resource provider is acquired, and dynamic weighting coefficients are generated for the non-monetary resource data, including:
[0016] User roles are obtained through client software or web interface, wherein the user roles include resource providers, resource requesters or third-party volunteers;
[0017] Resource providers are selected from various user roles, and the non-monetary resource registration information input by the resource providers is obtained accordingly. The non-monetary resource registration information includes the non-monetary resource registration name, non-monetary resource registration time, non-monetary resource cost price, and non-monetary resource registration quantity.
[0018] Obtain preset non-monetary resource classification rules, classify the non-monetary resource registration information of resource providers according to the non-monetary resource classification rules, and integrate the classification results with the non-monetary resource registration information to form non-monetary resource data;
[0019] Based on the non-monetary resource data, dynamic weight coefficients are matched for each type of non-monetary resource, wherein the dynamic weight coefficients include resource cost weight coefficient β, resource scarcity weight coefficient γ, and resource social benefit weight coefficient δ.
[0020] Accordingly, the non-monetary resource data is quantified using the dynamic weighting coefficients to obtain a quantitative value for non-monetary resource circulation, which includes:
[0021] Based on the aforementioned non-monetary resource data, the resource scarcity factor M for each non-monetary resource type is obtained through blockchain. market And resource social benefit factor S social Based on the non-monetary resource registration information, a resource cost factor C is set for each non-monetary resource type. cost ;
[0022] The non-monetary resource data is quantified using the following formula to calculate the non-monetary resource circulation quantification value V0:
[0023] V0=α·C cost β ·M market γ·S social δ (1)
[0024] Where α is a preset resource quantification coefficient.
[0025] In one possible design, a preset piecewise time decay function is obtained. Based on the piecewise time decay function and the non-monetary resource data, the timeliness of the non-monetary resource circulation quantification value is calculated to generate the current non-monetary resource circulation quantification value, including:
[0026] Obtain a preset piecewise time decay function f(t), wherein the piecewise time decay function f(t) is expressed by the following formula:
[0027]
[0028] Where T0 is the preset time decay threshold, t is the difference between the current time and the registration time of non-monetary resources, e is the base of the natural logarithm, 0.0005 is the first decay rate, and 0.002 is the second decay rate;
[0029] Obtain the timestamp of the current moment. Based on the timestamp of the current moment and the non-monetary resource data, calculate the difference t between the current moment and the registration time of the non-monetary resource. Then, perform a timeliness calculation on the circulation quantification value of the non-monetary resource using the following formula to generate the current circulation quantification value V of the non-monetary resource. t :
[0030] V t =V0·f(t) (3)
[0031] V0 represents the quantitative value of non-monetary resource circulation.
[0032] In one possible design, an external resource request is acquired, and based on the current non-monetary resource circulation quantification value, the external resource request is matched with non-monetary resources to obtain a non-monetary resource matching result, including:
[0033] Obtain the external resource request input by the resource requester;
[0034] The historical non-monetary resource circulation records of the resource requester are retrieved from the blockchain, and a credit score is evaluated on the resource requester based on the historical non-monetary resource circulation records to obtain the credit score factor of the resource requester.
[0035] Obtain a pre-trained non-monetary resource matching model, input the external resource request input by the resource requester and the credit score factor of the resource requester into the non-monetary resource matching model, and obtain the optimal matching scheme output by the non-monetary resource matching model;
[0036] The optimal matching scheme binds the corresponding resource providers and resource requesters to obtain non-monetary resource matching results.
[0037] In one possible design, based on the non-monetary resource matching result, the account information and location information of the resource provider and resource requester are obtained. Based on the non-monetary resource matching result and the current non-monetary resource circulation quantification value, a settlement instruction is generated for the resource provider and the resource requester. The settlement is then executed according to the settlement instruction to obtain a settlement record, including:
[0038] Based on the non-monetary resource matching results, retrieve the account information of the resource provider and the account information of the resource requester from the blockchain;
[0039] Based on the non-monetary resource matching results and the non-monetary resource data, an internal clearing instruction is generated correspondingly for the account information of the resource provider and the account information of the resource requester, wherein the internal clearing instruction is used to make an initial account adjustment for the account information of the resource provider and the account information of the resource requester;
[0040] Based on the non-monetary resource matching results, the regional GDP information of the resource provider and the regional GDP information of the resource requester are retrieved from the blockchain, and the geographical location of the resource provider and the geographical location of the resource requester are obtained through the geographic information system.
[0041] Based on the regional GDP information of the resource provider and the regional GDP information of the resource requester, the traffic cost attenuation coefficient K is determined, and based on the geographical location of the resource provider and the geographical location of the resource requester, the distance d between the resource provider and the resource requester is calculated.
[0042] Using the traffic cost attenuation coefficient K and the distance d between the resource provider and the resource requester, the traffic cost correction coefficient k is calculated using the following formula. adj :
[0043] k adj =k·e -Kd (4)
[0044] Where k is the preset basic traffic cost coefficient, and e is the base of the natural logarithm;
[0045] Using the traffic cost correction factor k adj The current non-monetary resource circulation quantification value is converted and a cross-regional clearing instruction is generated. The cross-regional clearing instruction is used to eliminate the inter-regional resource circulation value error between the resource provider and the resource requester, and to make further account adjustments to the account information of the resource provider and the resource requester.
[0046] Integrate the internal clearing instructions and the cross-regional clearing instructions to form a clearing instruction;
[0047] The account information of the resource provider and the resource requester are adjusted according to the liquidation instruction to obtain a liquidation record.
[0048] In one possible design, a preset attenuation compensation smart contract is obtained. Based on the current non-monetary resource circulation quantification value and the non-monetary resource circulation quantification value, a non-monetary resource time attenuation compensation value is calculated. The attenuation compensation smart contract evaluates the non-monetary resource time attenuation compensation value, and compensation instructions are generated for the resource provider and the resource requester according to the evaluation results. Compensation is then performed on the resource provider and the resource requester according to the compensation instructions to obtain a compensation record, including:
[0049] Obtain the preset attenuation compensation smart contract and retrieve the historical non-monetary resource circulation records of the resource requester over the past year from the blockchain;
[0050] The number of months in which the resource requester made a positive contribution in the historical non-monetary resource circulation records over the past year is calculated from the resource requester's historical non-monetary resource circulation records.
[0051] Calculate the difference ΔV between the current quantitative value of non-monetary resource circulation and the quantitative value of non-monetary resource circulation, and calculate the non-monetary resource attenuation compensation value V using the following formula. offset :
[0052]
[0053] The attenuation compensation smart contract compensates for the time decay value V of non-monetary resources. offset Conduct an evaluation and obtain the evaluation results;
[0054] Based on the evaluation results, the attenuation compensation smart contract is used to associate the compensation issuer and bind the resource provider, the resource requester, and the compensation issuer to generate a compensation instruction;
[0055] According to the compensation instruction, the compensation issuer adjusts the account information of the resource provider and the resource requester to obtain the compensation record.
[0056] In one possible design, the non-monetary resource circulation method based on time decay and dynamic weighting further includes:
[0057] Obtain disaster information from the blockchain in real time, and determine whether a disaster has occurred based on the disaster information;
[0058] If not, disaster information will continue to be retrieved from the blockchain in real time until the result is yes;
[0059] If so, the dynamic weighting coefficient is dynamically adjusted in real time according to the disaster information to obtain a quantitative value for the circulation of non-monetary resources during the disaster. This quantitative value is used as the current quantitative value for the circulation of non-monetary resources during the disaster. The matching result and settlement instruction for non-monetary resources during the disaster are calculated. The matching result and the settlement record obtained through the settlement instruction are integrated into a non-monetary resource circulation record for the disaster. Non-monetary resources are circulated during the disaster based on this record. The non-monetary resource circulation record is then input into the blockchain for storage, and a non-monetary resource circulation report for the disaster is generated.
[0060] In a second aspect, the present invention provides a non-monetary resource circulation system based on time decay and dynamic weighting, for implementing the non-monetary resource circulation method based on time decay and dynamic weighting as described in the first aspect or any possible design of the first aspect, comprising:
[0061] The non-monetary resource circulation quantification module is used to acquire non-monetary resource data provided by resource providers, generate dynamic weight coefficients for the non-monetary resource data, and quantify the non-monetary resource data through the dynamic weight coefficients to obtain the non-monetary resource circulation quantification value.
[0062] The non-monetary resource timeliness calculation module is used to obtain a preset segmented time decay function, and to perform timeliness calculation on the non-monetary resource circulation quantification value based on the segmented time decay function and the non-monetary resource data, so as to generate the current non-monetary resource circulation quantification value.
[0063] The non-monetary resource matching module is used to acquire external resource requests and, based on the current non-monetary resource circulation quantification value, perform non-monetary resource matching on the external resource requests to obtain non-monetary resource matching results.
[0064] The clearing instruction generation module is used to obtain the account information and location information of the resource provider and the resource requester based on the non-monetary resource matching result, and generate clearing instructions for the resource provider and the resource requester based on the non-monetary resource matching result and the current non-monetary resource circulation quantification value, and execute clearing for the resource provider and the resource requester according to the clearing instructions to obtain clearing records;
[0065] The compensation instruction generation module is used to obtain a preset attenuation compensation smart contract, calculate the non-monetary resource time attenuation compensation value based on the current non-monetary resource circulation quantification value and the non-monetary resource circulation quantification value, evaluate the non-monetary resource time attenuation compensation value through the attenuation compensation smart contract, generate compensation instructions for the resource provider and the resource requester according to the evaluation results, and execute compensation for the resource provider and the resource requester according to the compensation instructions to obtain compensation records;
[0066] The non-monetary resource circulation record storage module is used to integrate the non-monetary resource matching results, the settlement records, and the compensation records to generate non-monetary resource circulation records, complete the non-monetary resource circulation based on the non-monetary resource circulation records, and input the non-monetary resource circulation records into the blockchain for storage.
[0067] Thirdly, the present invention provides an electronic device comprising a memory, a processor, and a transceiver connected in sequence, wherein the memory is used to store a computer program, the transceiver is used to send and receive messages, and the processor is used to read the computer program and execute the non-monetary resource circulation method based on time decay and dynamic weight as described in the first aspect or any possible design of the first aspect.
[0068] Fourthly, the present invention provides a computer-readable storage medium storing instructions that, when executed on a computer, perform the non-monetary resource circulation method based on time decay and dynamic weighting as described in the first aspect or any possible design of the first aspect.
[0069] Fifthly, the present invention provides a computer program product containing instructions that, when executed on a computer, cause the computer to perform a non-monetary resource circulation method based on time decay and dynamic weighting as described in the first aspect or any possible design of the first aspect.
[0070] Beneficial Effects: This invention provides a method and system for non-monetary resource circulation based on time decay and dynamic weighting, comprising: First, acquiring non-monetary resource data provided by a resource provider, generating dynamic weighting coefficients for the non-monetary resource data, and quantifying the non-monetary resource data using the dynamic weighting coefficients to obtain a non-monetary resource circulation quantification value; Second, acquiring a preset piecewise time decay function, and calculating the timeliness of the non-monetary resource circulation quantification value based on the piecewise time decay function and the non-monetary resource data to generate a current non-monetary resource circulation quantification value; Then, acquiring external resource requests, and performing non-monetary resource matching on the external resource requests based on the current non-monetary resource circulation quantification value to obtain a non-monetary resource matching result; Finally, based on the non-monetary resource matching result, acquiring the account information and location information of the resource provider and resource requester, and performing non-monetary resource matching... Based on the results and the current non-monetary resource circulation quantification value, liquidation instructions are generated for the resource provider and the resource requester. Liquidation is then performed on the resource provider and the resource requester according to the liquidation instructions to obtain a liquidation record. A preset attenuation compensation smart contract is then obtained. Based on the current non-monetary resource circulation quantification value and the current non-monetary resource circulation quantification value, a non-monetary resource time attenuation compensation value is calculated. This value is evaluated using the attenuation compensation smart contract, and compensation instructions are generated for the resource provider and the resource requester according to the evaluation results. Compensation is then performed on the resource provider and the resource requester according to the compensation instructions to obtain a compensation record. Finally, the non-monetary resource matching results, the liquidation record, and the compensation record are integrated to generate a non-monetary resource circulation record. Based on this non-monetary resource circulation record, the non-monetary resource circulation is completed, and the non-monetary resource circulation record is input into the blockchain for on-chain storage. By generating dynamic weighting coefficients, the system achieves dynamic quantification of non-monetary resources and calculates accurate value decay based on a piecewise time decay function. It incorporates location information for resource providers and requesters to accurately quantify and evaluate the cross-regional clearing process, generating clearing instructions. Furthermore, through the calculation of non-monetary resource time decay compensation values and the evaluation of decay compensation smart contracts, compensation instructions are generated for both resource providers and requesters. This system achieves dynamic quantification and cross-regional clearing of non-monetary resources and effectively improves the accuracy of clearing and compensation during circulation. Attached Figure Description
[0071] Figure 1 A flowchart illustrating the non-monetary resource circulation method based on time decay and dynamic weighting provided in an embodiment of the present invention;
[0072] Figure 2A functional structure diagram of a non-monetary resource circulation system based on time decay and dynamic weights provided in an embodiment of the present invention;
[0073] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0074] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the present invention will be briefly introduced below in conjunction with the accompanying drawings and descriptions of the embodiments or the prior art. Obviously, the following description of the structure of the accompanying drawings is only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. It should be noted that the description of these embodiments is for the purpose of helping to understand the present invention, but does not constitute a limitation of the present invention.
[0075] It should be understood that although the terms first, second, etc., may be used herein to describe various units, these units should not be limited by these terms. These terms are only used to distinguish one unit from another. For example, a first unit may be referred to as a second unit, and similarly, a second unit may be referred to as a first unit, without departing from the scope of the exemplary embodiments of the invention.
[0076] It should be understood that the term "and / or" that may appear in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, B exists alone, and A and B exist simultaneously. The term " / and" that may appear in this document describes another relationship between related objects, indicating that two relationships can exist. For example, A / and B can mean: A exists alone, and A and B exist alone. In addition, the character " / " that may appear in this document generally indicates that the related objects before and after it are in an "or" relationship.
[0077] Example:
[0078] like Figure 1 As shown, the first aspect of this embodiment provides a non-monetary resource circulation method based on time decay and dynamic weighting, which may include, but is not limited to, the following steps:
[0079] S1. Obtain non-monetary resource data provided by the resource provider, generate dynamic weighting coefficients for the non-monetary resource data, and quantify the non-monetary resource data through the dynamic weighting coefficients to obtain a quantitative value of non-monetary resource circulation.
[0080] In one possible implementation, step S1, acquiring non-monetary resource data provided by the resource provider and generating dynamic weighting coefficients for the non-monetary resource data, can be decomposed into, but is not limited to, the following steps S11-S14, including:
[0081] S11. Obtain user roles through client software or web interface, wherein the user roles include resource providers, resource requesters or third-party volunteers;
[0082] S12. Select resource providers from each user role and obtain the non-monetary resource registration information entered by the resource providers, wherein the non-monetary resource registration information includes the non-monetary resource registration name, non-monetary resource registration time, non-monetary resource cost price, and non-monetary resource registration quantity;
[0083] S13. Obtain preset non-monetary resource classification rules, classify the non-monetary resource registration information of resource providers according to the non-monetary resource classification rules, and integrate the classification results and the non-monetary resource registration information to form non-monetary resource data;
[0084] S14. Based on the non-monetary resource data, dynamic weight coefficients are matched for each non-monetary resource type, wherein the dynamic weight coefficients include resource cost weight coefficient β, resource scarcity weight coefficient γ, and resource social benefit weight coefficient δ.
[0085] Accordingly, in step S1, the non-monetary resource data is quantified using the dynamic weighting coefficients to obtain a quantitative value for non-monetary resource circulation. This can be decomposed, but is not limited to, the following steps S15-S16, including:
[0086] S15. Based on the aforementioned non-monetary resource data, obtain the resource scarcity factor M for each non-monetary resource type through blockchain. market And resource social benefit factor S social Based on the non-monetary resource registration information, a resource cost factor C is set for each non-monetary resource type. cost ;
[0087] S16. The non-monetary resource data is quantified using the following formula to calculate the non-monetary resource circulation quantification value V0:
[0088] V0=α·C cost β ·M market γ·S social δ (1)
[0089] Where α is a preset resource quantification coefficient.
[0090] It should be noted that, based on the aforementioned non-monetary resource data, resource cost weighting coefficient β, resource scarcity weighting coefficient γ, resource social benefit weighting coefficient δ, and resource quantification coefficient α are set for each type of non-monetary resource. These coefficients can be adjusted in real time. In practical applications, various non-monetary resources can be quantified in real time by obtaining the skill complexity, resource scarcity, resource social benefit, resource provider credit rating, and resource provider community recognition from the non-monetary resource registration information. For example, for construction skill resources, the resource cost weighting coefficient β can be set to 0.3, the resource scarcity weighting coefficient γ can be set to 0.2, the resource social benefit weighting coefficient δ can be set to 0.5, and the resource quantification coefficient α can be set to 1, while the resource cost factor C... cost Resource scarcity factor M market And resource social benefit factor S social Pre-settings can be made based on blockchain technology to ensure the rationality of the calculated quantitative value V0 for non-monetary resource circulation.
[0091] Furthermore, in one possible parameter adjustment and optimization method, circulation scenario information can be obtained from the blockchain, and the resource cost weight coefficient β, resource scarcity weight coefficient γ, resource social benefit weight coefficient δ, and resource quantification coefficient α can be adjusted in real time based on the circulation scenario information. The circulation scenario information may include, but is not limited to, disaster scenarios and general scenarios. For example, in a general scenario, the resource quantification coefficient α can be preset to 1, and the resource social benefit weight coefficient δ of medical rescue resources can be preset to 0.3. When the circulation scenario changes to a disaster scenario, a disaster rating is immediately performed based on the specific information of the disaster scenario. The resource quantification coefficient α is adjusted in real time to 2-10 based on the disaster rating, and the resource social benefit weight coefficient δ of medical rescue resources is increased to 0.5-0.8. At the same time, the resource cost weight coefficient β and resource scarcity weight coefficient γ are dynamically adjusted to adapt to the changes in circulation scenarios. This allows the method in this embodiment to adapt to changes in circulation scenarios, realize the dynamic quantification of the value of non-monetary resources in different circulation scenarios, and improve the accuracy of quantification.
[0092] S2. Obtain a preset segmented time decay function, and calculate the timeliness of the non-monetary resource circulation quantification value based on the segmented time decay function and the non-monetary resource data to generate the current non-monetary resource circulation quantification value;
[0093] In one possible implementation, step S2 involves obtaining a preset piecewise time decay function, and calculating the timeliness of the non-monetary resource circulation quantification value based on the piecewise time decay function and the non-monetary resource data to generate the current non-monetary resource circulation quantification value. This step can be broken down into, but is not limited to, the following steps S21-S22, including:
[0094] S21 . Obtain a preset piecewise time decay function f(t), wherein the piecewise time decay function f(t) is expressed by the following formula:
[0095]
[0096] Where T0 is the preset time decay threshold, t is the difference between the current time and the registration time of non-monetary resources, e is the base of the natural logarithm, 0.0005 is the first decay rate, and 0.002 is the second decay rate;
[0097] S22. Obtain the timestamp of the current moment. Based on the timestamp of the current moment and the non-monetary resource data, calculate the difference t between the current moment and the registration time of the non-monetary resource. Then, perform a timeliness calculation on the circulation quantification value of the non-monetary resource using the following formula to generate the current circulation quantification value V of the non-monetary resource. t :
[0098] V t =V0·f(t) (3)
[0099] V0 represents the quantitative value of non-monetary resource circulation.
[0100] It should be noted that in the preferred implementation, the time decay threshold T0 can be preset to 90 days. This makes the impact of resource value decay within 90 days relatively small, while the impact of resource value decay beyond 90 days is relatively large. This controls the timeliness of resources, reduces the resource idle rate, and improves the timeliness management of resources. Furthermore, the difference t between the current time and the registration time of non-monetary resources is calculated. The decay value of resources is calculated using the piecewise time decay function f(t), which allows for accurate value decay of non-monetary resource circulation, ensuring the fairness of resource circulation and providing accurate numerical support for subsequent decay compensation.
[0101] S3. Obtain external resource requests, and based on the current non-monetary resource circulation quantification value, perform non-monetary resource matching on the external resource requests to obtain non-monetary resource matching results;
[0102] In one possible implementation, step S3, obtaining an external resource request and matching the external resource request with non-monetary resources based on the current non-monetary resource circulation quantification value to obtain a non-monetary resource matching result, can be decomposed into, but is not limited to, the following steps S31-S34, including:
[0103] S31. Obtain the external resource request input by the resource requester;
[0104] S32. Retrieve the historical non-monetary resource circulation records of the resource requester from the blockchain, and evaluate the credit score of the resource requester based on the historical non-monetary resource circulation records to obtain the credit score factor of the resource requester.
[0105] S33. Obtain a pre-trained non-monetary resource matching model, input the external resource request input by the resource requester and the credit score factor of the resource requester into the non-monetary resource matching model, and obtain the optimal matching scheme output by the non-monetary resource matching model;
[0106] S34. Bind the corresponding resource providers and resource requesters using the optimal matching scheme to obtain non-monetary resource matching results.
[0107] It should be noted that the pre-trained non-monetary resource matching model can be built based on existing optimization algorithms (e.g., graph theory-based bipartite graph matching algorithms or constraint satisfaction problem optimization algorithms). The samples required for training are historical resource matching records and historical resource circulation records obtained from big data platforms.
[0108] S4. Based on the non-monetary resource matching result, obtain the account information and location information of the resource provider and the resource requester, and based on the non-monetary resource matching result and the current non-monetary resource circulation quantification value, generate a liquidation instruction for the resource provider and the resource requester, and execute the liquidation for the resource provider and the resource requester according to the liquidation instruction to obtain a liquidation record;
[0109] In one possible implementation, step S4 involves obtaining the account information and location information of the resource provider and resource requester based on the non-monetary resource matching result, and generating a liquidation instruction for the resource provider and resource requester based on the non-monetary resource matching result and the current non-monetary resource circulation quantification value. The liquidation is then performed on the resource provider and resource requester according to the liquidation instruction to obtain a liquidation record. This step can be broken down into, but is not limited to, the following steps S41-S48, including:
[0110] S41. Based on the non-monetary resource matching results, retrieve the account information of the resource provider and the account information of the resource requester from the blockchain;
[0111] S42. Based on the non-monetary resource matching result and the non-monetary resource data, generate an internal clearing instruction corresponding to the account information of the resource provider and the account information of the resource requester, wherein the internal clearing instruction is used to make an initial account adjustment to the account information of the resource provider and the account information of the resource requester;
[0112] S43. Based on the non-monetary resource matching results, retrieve the regional GDP information of the resource provider and the regional GDP information of the resource requester from the blockchain, and obtain the geographical location of the resource provider and the geographical location of the resource requester through the geographic information system;
[0113] S44. Based on the regional GDP information of the resource provider and the regional GDP (Gross Domestic Product) information of the resource requester, determine the transportation cost attenuation coefficient K, and based on the geographical location of the resource provider and the geographical location of the resource requester, calculate the distance d between the resource provider and the resource requester.
[0114] S45. Using the traffic cost attenuation coefficient K and the distance d between the resource provider and the resource requester, the traffic cost correction coefficient k is calculated using the following formula. adj :
[0115] k adj =k·e -Kd (4)
[0116] Where k is the preset basic traffic cost coefficient, and e is the base of the natural logarithm;
[0117] S46. Utilizing the transportation cost correction factor k adj The current non-monetary resource circulation quantification value is converted and a cross-regional clearing instruction is generated. The cross-regional clearing instruction is used to eliminate the inter-regional resource circulation value error between the resource provider and the resource requester, and to make further account adjustments to the account information of the resource provider and the resource requester.
[0118] S47. Integrate the internal clearing instructions and the cross-regional clearing instructions to form a clearing instruction;
[0119] S48. Adjust the accounts of the resource provider and the resource requester according to the liquidation instruction to obtain a liquidation record.
[0120] It should be noted that, based on the non-monetary resource matching results, retrieving the regional GDP information of the resource provider and the resource requester from the blockchain, and obtaining the geographical locations of the resource provider and the resource requester through a geographic information system, is to overcome obstacles to cross-regional resource flow. Specifically, based on the regional GDP information of the resource provider and the resource requester, a transportation cost attenuation coefficient K can be determined. This is because when the regional GDP information of the resource provider and the resource requester is inconsistent, the transportation costs, modes of transportation, communication levels, and travel times between the two regions are all different, making unified calculation difficult. If only a fixed constant (basic transportation cost coefficient) is used to calculate cross-regional transportation costs, there may be problems of inflated or insufficient transportation costs, leading to unreasonable clearing instructions. Therefore, the transportation cost attenuation coefficient K needs to be dynamically updated based on the actual regional GDP information of the resource provider and the resource requester. For example, if the regional GDP information of the resource provider indicates a developed economy with high economic activity, while the regional GDP information of the resource requester indicates a backward economy with low economic activity, then the transportation cost attenuation coefficient K should be appropriately increased based on the specific regional GDP difference. This ensures that the transportation cost correction coefficient can be effectively improved when facing situations of high transportation difficulty and increased transportation time, making the subsequent conversion of the current non-monetary resource circulation quantification value more accurate and generating accurate cross-regional clearing instructions.
[0121] Correspondingly, the distance d between the resource provider and the resource requester is also a key part of traffic cost calculation. Therefore, in specific applications, the precise distance between the resource provider and the requester can be calculated by calling GIS (Geographic Information System) services or using GPS (Global Positioning System) data.
[0122] Furthermore, when converting the current non-monetary resource circulation quantification value, the current non-monetary resource circulation quantification value V is used directly. t With the traffic cost correction factor k adj Multiply them together; however, when the distance d between the resource provider and the resource requester is a near-zero value and / or the traffic cost attenuation coefficient K is 0 (when the regional GDP information of the resource provider and the regional GDP information of the resource requester are consistent, the traffic cost attenuation coefficient K is 0), the traffic cost correction coefficient k... adj It is approximately equal to the basic transportation cost coefficient k.
[0123] S5. Obtain a preset attenuation compensation smart contract, calculate the non-monetary resource time attenuation compensation value based on the current non-monetary resource circulation quantification value and the non-monetary resource circulation quantification value, evaluate the non-monetary resource time attenuation compensation value through the attenuation compensation smart contract, generate compensation instructions for the resource provider and the resource requester according to the evaluation results, and execute compensation for the resource provider and the resource requester according to the compensation instructions to obtain compensation records;
[0124] In one possible implementation, step S5 involves obtaining a preset attenuation compensation smart contract, calculating a non-monetary resource time attenuation compensation value based on the current non-monetary resource circulation quantification value and the non-monetary resource circulation quantification value, evaluating the non-monetary resource time attenuation compensation value through the attenuation compensation smart contract, generating compensation instructions for the resource provider and the resource requester according to the evaluation results, and executing compensation for the resource provider and the resource requester according to the compensation instructions to obtain a compensation record. This step can be broken down into, but is not limited to, the following steps S51-S56, including:
[0125] S51. Obtain the preset attenuation compensation smart contract and retrieve the historical non-monetary resource circulation records of the resource requester over the past year from the blockchain;
[0126] S52. Calculate the number of months n in which the resource requester made a positive contribution in the historical non-monetary resource circulation records of the resource requester over the past year;
[0127] S53. Calculate the current quantitative value of non-monetary resource circulation and the difference ΔV between the current quantitative value of non-monetary resource circulation, and calculate the non-monetary resource attenuation compensation value V using the following formula. offset :
[0128]
[0129] S54. The time decay compensation value V for non-monetary resources is compensated through the aforementioned decay compensation smart contract. offset Conduct an evaluation and obtain the evaluation results;
[0130] S55. Based on the evaluation results, the compensation issuer is associated with the attenuation compensation smart contract, and the resource provider, the resource requester, and the compensation issuer are bound together to generate a compensation instruction;
[0131] S56. According to the compensation instruction, the compensation issuer adjusts the account information of the resource provider and the resource requester to obtain a compensation record.
[0132] In practical implementation, the attenuation compensation smart contract includes a built-in timed scanning task (e.g., a monthly scan task) to scan the account information of resource providers and resource requesters to compensate for the time attenuation value V of non-monetary resources. offset An assessment is conducted when the time decay compensation value V for non-monetary resources is identified. offset When the compensation ratio exceeds the preset ratio in the attenuation compensation smart contract, the compensation issuer (including built-in or third-party public fund accounts) is immediately associated, and the accounts of the resource provider and the resource requester are adjusted (i.e., compensation is issued).
[0133] S6. Integrate the non-monetary resource matching results, the settlement records, and the compensation records to generate a non-monetary resource circulation record. Based on the non-monetary resource circulation record, complete the non-monetary resource circulation and input the non-monetary resource circulation record into the blockchain for on-chain storage.
[0134] In one possible implementation, the non-monetary resource circulation method based on time decay and dynamic weighting is specifically designed for disaster scenarios, accelerating the process of resource matching and non-monetary resource circulation for resource requests during disasters. Specifically, in this implementation, time decay calculation and compensation instruction generation can be selectively omitted, and non-monetary circulation can be carried out solely based on non-monetary resource matching results and settlement instructions, generating a corresponding non-monetary resource circulation report. Therefore, this method may also include, but is not limited to, the following steps S01-S06:
[0135] Obtain disaster information from the blockchain in real time, and determine whether a disaster has occurred based on the disaster information;
[0136] If not, disaster information will continue to be retrieved from the blockchain in real time until the result is yes;
[0137] If so, the dynamic weighting coefficient is dynamically adjusted in real time according to the disaster information to obtain a quantitative value for the circulation of non-monetary resources during the disaster. This quantitative value is used as the current quantitative value for the circulation of non-monetary resources during the disaster. The matching result and settlement instruction for non-monetary resources during the disaster are calculated. The matching result and the settlement record obtained through the settlement instruction are integrated into a non-monetary resource circulation record for the disaster. Non-monetary resources are circulated during the disaster based on this record. The non-monetary resource circulation record is then input into the blockchain for storage, and a non-monetary resource circulation report for the disaster is generated.
[0138] like Figure 2 As shown, the second aspect of this embodiment provides a hardware system for implementing the non-monetary resource circulation method based on time decay and dynamic weighting described in the first aspect of the embodiment, including:
[0139] The non-monetary resource circulation quantification module is used to acquire non-monetary resource data provided by resource providers, generate dynamic weight coefficients for the non-monetary resource data, and quantify the non-monetary resource data through the dynamic weight coefficients to obtain the non-monetary resource circulation quantification value.
[0140] The non-monetary resource timeliness calculation module is used to obtain a preset segmented time decay function, and to perform timeliness calculation on the non-monetary resource circulation quantification value based on the segmented time decay function and the non-monetary resource data, so as to generate the current non-monetary resource circulation quantification value.
[0141] The non-monetary resource matching module is used to acquire external resource requests and, based on the current non-monetary resource circulation quantification value, perform non-monetary resource matching on the external resource requests to obtain non-monetary resource matching results.
[0142] The clearing instruction generation module is used to obtain the account information and location information of the resource provider and the resource requester based on the non-monetary resource matching result, and generate clearing instructions for the resource provider and the resource requester based on the non-monetary resource matching result and the current non-monetary resource circulation quantification value, and execute clearing for the resource provider and the resource requester according to the clearing instructions to obtain clearing records;
[0143] The compensation instruction generation module is used to obtain a preset attenuation compensation smart contract, calculate the non-monetary resource time attenuation compensation value based on the current non-monetary resource circulation quantification value and the non-monetary resource circulation quantification value, evaluate the non-monetary resource time attenuation compensation value through the attenuation compensation smart contract, generate compensation instructions for the resource provider and the resource requester according to the evaluation results, and execute compensation for the resource provider and the resource requester according to the compensation instructions to obtain compensation records;
[0144] The non-monetary resource circulation record storage module is used to integrate the non-monetary resource matching results, the settlement records, and the compensation records to generate non-monetary resource circulation records, complete the non-monetary resource circulation based on the non-monetary resource circulation records, and input the non-monetary resource circulation records into the blockchain for storage.
[0145] In one possible implementation, the system further includes a disaster response module, used to obtain disaster information from the blockchain in real time, and based on the disaster information, determine whether a disaster has occurred; if not, it continues to obtain disaster information from the blockchain in real time until the result is yes; if yes, it communicates with the non-monetary resource circulation quantification module according to the disaster information to dynamically adjust the dynamic weight coefficient in real time and obtain the disaster-time non-monetary resource circulation quantification value, and then uses the disaster-time non-monetary resource circulation quantification value as the current disaster-time non-monetary resource circulation quantification value (skipping the non-monetary resource timeliness calculation module), and then coordinates with the non-monetary resource circulation quantification module. The module directly inputs the current disaster-time non-monetary resource circulation quantification value into the non-monetary resource matching module to calculate the disaster-time non-monetary resource matching result. It then controls the clearing instruction generation module to generate disaster-time clearing instructions. The disaster-time non-monetary resource matching result and the disaster-time clearing record obtained through the disaster-time clearing instructions are integrated into a disaster-time non-monetary resource circulation record. This record is then input into the non-monetary resource circulation record storage module (skipping the compensation instruction generation module). The disaster-time non-monetary resource circulation record is then input into the blockchain for storage, and a disaster-time non-monetary resource circulation report is generated. Finally, the disaster-time non-monetary resource circulation is directly completed based on the disaster-time non-monetary resource circulation record.
[0146] The working process, working details and technical effects of the system provided in this embodiment can be found in the first aspect of the embodiment, and will not be repeated here.
[0147] like Figure 3 As shown, the third aspect of this embodiment provides an electronic device, including: a memory, a processor, and a transceiver that are sequentially and communicatively connected, wherein the memory is used to store a computer program, the transceiver is used to send and receive messages, and the processor is used to read the computer program and execute the non-monetary resource circulation method based on time decay and dynamic weight as described in the first aspect of the embodiment.
[0148] For specific examples, the memory may include, but is not limited to, random access memory (RAM), read-only memory (ROM), flash memory, first-in-first-out (FIFO) memory, and / or first-in-last-out (FILO) memory, etc.; specifically, the processor may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor may be implemented using at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), PLA (Programmable Logic Array). The processor may also include a main processor and a coprocessor. The main processor, also known as the CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state.
[0149] In some embodiments, the processor may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. For example, the processor may not be limited to microprocessors of the STM32F105 series, reduced instruction set computer (RISC) microprocessors, x86 architecture processors, or processors with integrated neural network processing units (NPUs). The transceiver may be, but is not limited to, a Wi-Fi transceiver, a Bluetooth transceiver, a General Packet Radio Service (GPRS) transceiver, a ZigBee (a low-power LAN protocol based on the IEEE 802.15.4 standard) transceiver, a 3G transceiver, a 4G transceiver, and / or a 5G transceiver. Furthermore, the device may also include, but is not limited to, a power module, a display screen, and other necessary components.
[0150] The working process, working details and technical effects of the electronic device provided in this embodiment can be found in the first aspect of the embodiment, and will not be repeated here.
[0151] The fourth aspect of this embodiment provides a storage medium for storing instructions containing the non-monetary resource circulation method based on time decay and dynamic weight as described in the first aspect of the embodiment. That is, the storage medium stores instructions that, when executed on a computer, perform the non-monetary resource circulation method based on time decay and dynamic weight as described in the first aspect of the embodiment.
[0152] The storage medium refers to a carrier for storing data, which may include, but is not limited to, floppy disks, optical disks, hard disks, flash memory, USB flash drives, and / or memory sticks. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
[0153] The working process, working details and technical effects of the storage medium provided in this embodiment can be found in the first aspect of the embodiment, and will not be repeated here.
[0154] The fifth aspect of this embodiment provides a computer program product containing instructions that, when executed on a computer, cause the computer to perform the non-monetary resource circulation method based on time decay and dynamic weighting as described in the first aspect of the embodiment, wherein the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.
[0155] Finally, it should be noted that the above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for non-monetary resource circulation based on time decay and dynamic weighting, characterized in that, include: Obtain non-monetary resource data provided by resource providers, generate dynamic weighting coefficients for the non-monetary resource data, and quantify the non-monetary resource data using the dynamic weighting coefficients to obtain a quantitative value for the circulation of non-monetary resources. Obtain a preset segmented time decay function, and calculate the timeliness of the non-monetary resource circulation quantification value based on the segmented time decay function and the non-monetary resource data to generate the current non-monetary resource circulation quantification value. Obtain external resource requests and, based on the current non-monetary resource circulation quantification value, perform non-monetary resource matching on the external resource requests to obtain non-monetary resource matching results; Based on the non-monetary resource matching results, the account information and location information of the resource provider and the resource requester are obtained. Based on the non-monetary resource matching results and the current non-monetary resource circulation quantification value, a settlement instruction is generated for the resource provider and the resource requester. The settlement is performed on the resource provider and the resource requester according to the settlement instruction to obtain a settlement record. Obtain a preset attenuation compensation smart contract, calculate the non-monetary resource time attenuation compensation value based on the current non-monetary resource circulation quantification value and the non-monetary resource circulation quantification value, evaluate the non-monetary resource time attenuation compensation value through the attenuation compensation smart contract, generate compensation instructions for the resource provider and the resource requester according to the evaluation results, and execute compensation for the resource provider and the resource requester according to the compensation instructions to obtain compensation records; The non-monetary resource matching results, the settlement records, and the compensation records are integrated to generate a non-monetary resource circulation record. Based on the non-monetary resource circulation record, the non-monetary resource circulation is completed, and the non-monetary resource circulation record is input into the blockchain for on-chain storage.
2. The non-monetary resource circulation method based on time decay and dynamic weighting according to claim 1, characterized in that, Acquire non-monetary resource data provided by resource providers, and generate dynamic weighting coefficients for the non-monetary resource data, including: User roles are obtained through client software or web interface, wherein the user roles include resource providers, resource requesters or third-party volunteers; Resource providers are selected from various user roles, and the non-monetary resource registration information input by the resource providers is obtained accordingly. The non-monetary resource registration information includes the non-monetary resource registration name, non-monetary resource registration time, non-monetary resource cost price, and non-monetary resource registration quantity. Obtain preset non-monetary resource classification rules, classify the non-monetary resource registration information of resource providers according to the non-monetary resource classification rules, and integrate the classification results with the non-monetary resource registration information to form non-monetary resource data; Based on the non-monetary resource data, dynamic weight coefficients are matched for each type of non-monetary resource, wherein the dynamic weight coefficients include resource cost weight coefficient β, resource scarcity weight coefficient γ, and resource social benefit weight coefficient δ. Accordingly, the non-monetary resource data is quantified using the dynamic weighting coefficients to obtain a quantitative value for non-monetary resource circulation, which includes: Based on the aforementioned non-monetary resource data, the resource scarcity factor M for each non-monetary resource type is obtained through blockchain. market And resource social benefit factor S social Based on the non-monetary resource registration information, a resource cost factor C is set for each non-monetary resource type. cost ; The non-monetary resource data is quantified using the following formula to calculate the non-monetary resource circulation quantification value V0: V0=α·C cost β ·M market c·S social δ (1) Where α is a preset resource quantification coefficient.
3. The non-monetary resource circulation method based on time decay and dynamic weighting according to claim 1, characterized in that, Obtain a preset piecewise time decay function, and based on the piecewise time decay function and the non-monetary resource data, perform timeliness calculations on the non-monetary resource circulation quantification value to generate the current non-monetary resource circulation quantification value, including: Obtain a preset piecewise time decay function f(t), wherein the piecewise time decay function f(t) is expressed by the following formula: Where T0 is the preset time decay threshold, t is the difference between the current time and the registration time of non-monetary resources, e is the base of the natural logarithm, 0.0005 is the first decay rate, and 0.002 is the second decay rate; Obtain the timestamp of the current moment. Based on the timestamp of the current moment and the non-monetary resource data, calculate the difference t between the current moment and the registration time of the non-monetary resource. Then, perform a timeliness calculation on the circulation quantification value of the non-monetary resource using the following formula to generate the current circulation quantification value V of the non-monetary resource. t : V t =V0 f(t) (3) V0 represents the quantitative value of non-monetary resource circulation.
4. The non-monetary resource circulation method based on time decay and dynamic weighting according to claim 1, characterized in that, Obtain external resource requests and, based on the current non-monetary resource circulation quantification value, perform non-monetary resource matching on the external resource requests to obtain non-monetary resource matching results, including: Obtain the external resource request input by the resource requester; The historical non-monetary resource circulation records of the resource requester are retrieved from the blockchain, and a credit score is evaluated on the resource requester based on the historical non-monetary resource circulation records to obtain the credit score factor of the resource requester. Obtain a pre-trained non-monetary resource matching model, input the external resource request input by the resource requester and the credit score factor of the resource requester into the non-monetary resource matching model, and obtain the optimal matching scheme output by the non-monetary resource matching model; The optimal matching scheme binds the corresponding resource providers and resource requesters to obtain non-monetary resource matching results.
5. The non-monetary resource circulation method based on time decay and dynamic weighting according to claim 1, characterized in that, Based on the non-monetary resource matching results, the account information and location information of the resource provider and resource requester are obtained. Based on the non-monetary resource matching results and the current non-monetary resource circulation quantification value, a settlement instruction is generated for the resource provider and the resource requester. The settlement is then executed according to the settlement instruction to obtain a settlement record, including: Based on the non-monetary resource matching results, retrieve the account information of the resource provider and the account information of the resource requester from the blockchain; Based on the non-monetary resource matching results and the non-monetary resource data, an internal clearing instruction is generated correspondingly for the account information of the resource provider and the account information of the resource requester, wherein the internal clearing instruction is used to make an initial account adjustment for the account information of the resource provider and the account information of the resource requester; Based on the non-monetary resource matching results, the regional GDP information of the resource provider and the regional GDP information of the resource requester are retrieved from the blockchain, and the geographical location of the resource provider and the geographical location of the resource requester are obtained through the geographic information system. Based on the regional GDP information of the resource provider and the regional GDP information of the resource requester, the traffic cost attenuation coefficient K is determined, and based on the geographical location of the resource provider and the geographical location of the resource requester, the distance d between the resource provider and the resource requester is calculated. Using the traffic cost attenuation coefficient K and the distance d between the resource provider and the resource requester, the traffic cost correction coefficient k is calculated using the following formula. adj : k adj =k·e -Kd (4) Where k is the preset basic traffic cost coefficient, and e is the base of the natural logarithm; Using the traffic cost correction factor k adj The current non-monetary resource circulation quantification value is converted and a cross-regional clearing instruction is generated. The cross-regional clearing instruction is used to eliminate the inter-regional resource circulation value error between the resource provider and the resource requester, and to make further account adjustments to the account information of the resource provider and the resource requester. Integrate the internal clearing instructions and the cross-regional clearing instructions to form a clearing instruction; The account information of the resource provider and the resource requester are adjusted according to the liquidation instruction to obtain a liquidation record.
6. The non-monetary resource circulation method based on time decay and dynamic weighting according to claim 1, characterized in that, A preset attenuation compensation smart contract is obtained. Based on the current non-monetary resource circulation quantification value and the non-monetary resource circulation quantification value, a non-monetary resource time attenuation compensation value is calculated. The attenuation compensation smart contract is used to evaluate the non-monetary resource time attenuation compensation value, and compensation instructions are generated for the resource provider and the resource requester according to the evaluation results. Compensation is then executed for the resource provider and the resource requester according to the compensation instructions to obtain a compensation record, including: Obtain the preset attenuation compensation smart contract and retrieve the historical non-monetary resource circulation records of the resource requester over the past year from the blockchain; The number of months in which the resource requester made a positive contribution in the historical non-monetary resource circulation records over the past year is calculated from the resource requester's historical non-monetary resource circulation records, n. Calculate the difference ΔV between the current quantitative value of non-monetary resource circulation and the quantitative value of non-monetary resource circulation, and calculate the non-monetary resource attenuation compensation value V using the following formula. offset : The attenuation compensation smart contract compensates for the time decay value V of non-monetary resources. offset Conduct an evaluation and obtain the evaluation results; Based on the evaluation results, the attenuation compensation smart contract is used to associate the compensation issuer and bind the resource provider, the resource requester, and the compensation issuer to generate a compensation instruction; According to the compensation instruction, the compensation issuer adjusts the account information of the resource provider and the resource requester to obtain the compensation record.
7. The non-monetary resource circulation method based on time decay and dynamic weighting according to claim 1, characterized in that, Also includes: Obtain disaster information from the blockchain in real time, and determine whether a disaster has occurred based on the disaster information; If not, continue to retrieve disaster information from the blockchain in real time until the result is yes; If so, the dynamic weighting coefficient is dynamically adjusted in real time according to the disaster information to obtain a quantitative value for the circulation of non-monetary resources during the disaster. This quantitative value is used as the current quantitative value for the circulation of non-monetary resources during the disaster. The matching result and settlement instruction for non-monetary resources during the disaster are calculated. The matching result and the settlement record obtained through the settlement instruction are integrated into a non-monetary resource circulation record for the disaster. Non-monetary resources are circulated during the disaster based on this record. The non-monetary resource circulation record is then input into the blockchain for storage, and a non-monetary resource circulation report for the disaster is generated.
8. A non-monetary resource circulation system based on time decay and dynamic weighting, used to implement the non-monetary resource circulation method based on time decay and dynamic weighting as described in any one of claims 1-7, characterized in that, include: The non-monetary resource circulation quantification module is used to acquire non-monetary resource data provided by resource providers, generate dynamic weight coefficients for the non-monetary resource data, and quantify the non-monetary resource data through the dynamic weight coefficients to obtain the non-monetary resource circulation quantification value. The non-monetary resource timeliness calculation module is used to obtain a preset segmented time decay function, and to perform timeliness calculation on the non-monetary resource circulation quantification value based on the segmented time decay function and the non-monetary resource data, so as to generate the current non-monetary resource circulation quantification value. The non-monetary resource matching module is used to acquire external resource requests and, based on the current non-monetary resource circulation quantification value, perform non-monetary resource matching on the external resource requests to obtain non-monetary resource matching results. The clearing instruction generation module is used to obtain the account information and location information of the resource provider and the resource requester based on the non-monetary resource matching result, and generate clearing instructions for the resource provider and the resource requester based on the non-monetary resource matching result and the current non-monetary resource circulation quantification value, and execute clearing for the resource provider and the resource requester according to the clearing instructions to obtain clearing records; The compensation instruction generation module is used to obtain a preset attenuation compensation smart contract, calculate the non-monetary resource time attenuation compensation value based on the current non-monetary resource circulation quantification value and the non-monetary resource circulation quantification value, evaluate the non-monetary resource time attenuation compensation value through the attenuation compensation smart contract, generate compensation instructions for the resource provider and the resource requester according to the evaluation results, and execute compensation for the resource provider and the resource requester according to the compensation instructions to obtain compensation records; The non-monetary resource circulation record storage module is used to integrate the non-monetary resource matching results, the settlement records, and the compensation records to generate non-monetary resource circulation records, complete the non-monetary resource circulation based on the non-monetary resource circulation records, and input the non-monetary resource circulation records into the blockchain for storage.
9. An electronic device, characterized in that, The device includes a memory, a processor, and a transceiver that are sequentially and communicatively connected. The memory is used to store a computer program, the transceiver is used to send and receive messages, and the processor is used to read the computer program and execute the non-monetary resource circulation method based on time decay and dynamic weight as described in any one of claims 1 to 7.
10. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or the instructions are executed by the computer, they implement the non-monetary resource circulation method based on time decay and dynamic weight as described in any one of claims 1 to 7.