Carbon resource value management method and device, computer equipment, readable storage medium and program product
By providing management nodes with a carbon resource value management method in the blockchain network to obtain and exchange low-carbon data, the problem of low flexibility and availability of carbon accounts in traditional carbon resource value management methods is solved, and the utilization of carbon resource value is improved. rates and account flexibility.
Patent Information
- Application Number
- CN202410607377.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-08-23
AI Technical Summary
Traditional carbon resource value management methods make carbon accounts less flexible and usable, resulting in low utilization of carbon resource value, and some users fail to effectively use their carbon resource value.
By providing a carbon resource value management method for management nodes in the target blockchain network, low-carbon data is obtained and the target carbon resource value is determined according to the carbon resource value exchange rules, stored in the corresponding carbon account, and when a transaction request is received Execute carbon trading to realize the sharing and utilization of carbon resource value.
It improves the utilization rate of carbon resource value and the flexibility and availability of carbon accounts, ensuring that carbon resource value can be effectively used and traded.
Smart Images

Figure CN118537128A
Abstract
Description
Technical Field
[0001] The present application relates to the field of blockchain technology, and in particular to a carbon resource value management method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] A carbon account usually refers to an account that records the generation or reduction of carbon dioxide emissions by an enterprise or individual in their production and life. The emergence of carbon accounts aims to promote emission reduction and achieve the goal of mitigating climate change by quantifying and trading carbon emissions.
[0003] In traditional technologies, enterprises or individuals are mostly used as account subjects of carbon accounts. Carbon accounts can store the carbon resource values of account subjects, and account subjects can conduct carbon transactions based on the carbon resource values in the carbon accounts.
[0004] However, this method of managing carbon resource values makes carbon accounts less flexible and less usable. Summary of the invention
[0005] Based on this, it is necessary to provide a carbon resource value management method, device, computer equipment, computer-readable storage medium and computer program product that can improve the flexibility and availability of carbon accounts in response to the above technical problems.
[0006] In a first aspect, the present application provides a carbon resource value management method for a management node in a target blockchain network, comprising:
[0007] Obtain the first low-carbon data of the first node, and obtain the second low-carbon data of the second node bound to the first node; determine the target carbon resource value according to the first low-carbon data, the second low-carbon data and the carbon resource value exchange rule, and store the target carbon resource value in the carbon account corresponding to the first node; after receiving the target carbon trading request sent by the first node, execute the target carbon trading based on the target carbon resource value in the carbon account.
[0008] In one embodiment, the first low-carbon data includes first low-carbon behavior data and first low-carbon consumption data, the second low-carbon data includes second low-carbon behavior data and second low-carbon consumption data, and the target carbon resource value is determined according to the first low-carbon data, the second low-carbon data and the carbon resource value exchange rule, including: exchanging the first low-carbon behavior data and the second low-carbon behavior data based on the carbon resource value exchange rule to determine the first carbon resource value; exchanging the first low-carbon consumption data and the second low-carbon consumption data based on the carbon resource value exchange rule to determine the second carbon resource value; determining the target carbon resource value according to the first carbon resource value and the second carbon resource value.
[0009] In one of the embodiments, before executing the target carbon transaction based on the carbon resource value in the carbon account, the method also includes: receiving product information and transaction information of the carbon resource value trading product sent by the trading node; after receiving the carbon resource value trading request sent by the first node, sending the product information and transaction information to the first node.
[0010] In one of the embodiments, the target carbon transaction is executed based on the target carbon resource value in the carbon account, including: receiving a target carbon transaction request sent by the first node, the target carbon transaction request including product information of a target carbon resource value trading product, the target carbon resource value trading product being a carbon resource value trading product determined by the first node from multiple carbon resource value trading products; determining the carbon resource value information corresponding to the target carbon resource value trading product according to the transaction information; and executing the target carbon transaction based on the target carbon resource value in the carbon account when the target carbon resource value in the carbon account is greater than the first carbon resource value indicated by the carbon resource value information.
[0011] In one of the embodiments, the target carbon transaction is executed based on the target carbon resource value in the carbon account, including: obtaining the first carbon resource value indicated by the carbon resource value information from the carbon account, and sending the obtained first carbon resource value to the transaction node; obtaining the target carbon resource value transaction product from the transaction node, and sending the obtained target carbon resource value transaction product to the first node.
[0012] In one of the embodiments, the method further includes: upon receiving a query request sent by the second node, sending the carbon resource value storage information and the carbon resource value consumption information of the carbon account to the second node.
[0013] In a second aspect, the present application also provides a carbon resource value management device, comprising:
[0014] An acquisition module, used for acquiring first low-carbon data of a first node, and acquiring second low-carbon data of a second node bound to the first node;
[0015] A determination module, configured to determine a target carbon resource value according to the first low-carbon data, the second low-carbon data and a carbon resource value exchange rule, and store the target carbon resource value in a carbon account corresponding to the first node;
[0016] The execution module is used to execute the target carbon transaction based on the target carbon resource value in the carbon account after receiving the target carbon transaction request sent by the first node.
[0017] In one embodiment, the first low-carbon data includes first low-carbon behavior data and first low-carbon consumption data, and the second low-carbon data includes second low-carbon behavior data and second low-carbon consumption data. The determination module is specifically used to exchange the first low-carbon behavior data and the second low-carbon behavior data based on the carbon resource value exchange rule to determine the first carbon resource value; exchange the first low-carbon consumption data and the second low-carbon consumption data based on the carbon resource value exchange rule to determine the second carbon resource value; and determine the target carbon resource value based on the first carbon resource value and the second carbon resource value.
[0018] In one embodiment, the execution module is further used to receive product information and transaction information of the carbon resource value transaction product sent by the transaction node; after receiving the carbon resource value transaction request sent by the first node, send the product information and transaction information to the first node.
[0019] In one embodiment, the execution module is specifically used to receive a target carbon trading request sent by the first node, the target carbon trading request including product information of a target carbon resource value trading product, the target carbon resource value trading product being a carbon resource value trading product determined by the first node from multiple carbon resource value trading products; determining the carbon resource value information corresponding to the target carbon resource value trading product according to the trading information; and executing the target carbon trading based on the target carbon resource value in the carbon account when the target carbon resource value in the carbon account is greater than the first carbon resource value indicated by the carbon resource value information.
[0020] In one embodiment, the execution module is specifically used to obtain the first carbon resource value indicated by the carbon resource value information from the carbon account, and send the obtained first carbon resource value to the trading node; obtain the target carbon resource value trading product from the trading node, and send the obtained target carbon resource value trading product to the first node.
[0021] In one embodiment, the execution module is further configured to send the carbon resource value storage information and the carbon resource value consumption information of the carbon account to the second node when receiving the query request sent by the second node.
[0022] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the method described in any embodiment of the first aspect when executing the computer program.
[0023] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any one of the embodiments of the first aspect above.
[0024] In a fifth aspect, the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements the method described in any embodiment of the first aspect above.
[0025] The above-mentioned carbon resource value management method, device, computer equipment, computer-readable storage medium and computer program product are used for management nodes in the target blockchain network. The management node can determine the target carbon resource value corresponding to the low-carbon data based on the low-carbon data of the first node and the second node, and store the target carbon resource value in the carbon account corresponding to the first node, so that the first node can conduct carbon trading based on the carbon resource value. The second node can be a node pre-bound to the first node. Using the carbon resource value management method provided in the present application, when the second node has no demand for the use of carbon resource value or will not use the carbon resource value, the generated carbon resource value is given to the first node for use by the first node, thereby effectively improving the flexibility and availability of the carbon account while improving the utilization rate of the carbon resource value. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0027] Figure 1 A schematic diagram of a process of managing carbon resource value in one embodiment;
[0028] Figure 2 A flow chart of a method for determining a target carbon resource value according to the first low-carbon data, the second low-carbon data and a carbon resource value exchange rule in one embodiment;
[0029] Figure 3 It is a flowchart of a method before executing the target carbon transaction based on the carbon resource value in the carbon account in one embodiment;
[0030] Figure 4 It is a flowchart of a method for executing the target carbon transaction based on the target carbon resource value in the carbon account in one embodiment;
[0031] Figure 5 A schematic diagram of a flow chart of a method for executing the target carbon trading in an embodiment;
[0032] Figure 6 A schematic diagram of a process of managing carbon resource value in another embodiment;
[0033] Figure 7is a structural block diagram of a carbon resource value management device in an embodiment;
[0034] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0036] A carbon account usually refers to an account that records the generation or reduction of carbon dioxide emissions by an enterprise or individual in their production and life. The emergence of carbon accounts aims to promote emission reduction and achieve the goal of mitigating climate change by quantifying and trading carbon emissions.
[0037] In traditional technologies, enterprises or individuals are mostly used as account subjects of carbon accounts. Carbon accounts can store the carbon resource values of account subjects, and account subjects can conduct carbon transactions based on the carbon resource values in the carbon accounts.
[0038] In actual applications, there are still many users who have carbon resource values but do not use them. Some of these users do not use the carbon resource values because they do not know how to operate them, and some of them do not use the carbon resource values because they have no demand for the use of carbon resource values, resulting in a low utilization rate of carbon resource values.
[0039] Furthermore, this problem occurs precisely because carbon accounts have low flexibility and usability.
[0040] In view of this, the inventor of the present application provides a carbon resource value management method, which binds the second node to the first node when the second node has no demand for using the carbon resource value or will not use the carbon resource value. This can be understood as binding the carbon account of the first node and the carbon account of the second node to achieve a shared carbon account, so that the first node can conduct carbon trading based on the carbon resource value in the carbon account. While improving the utilization rate of the carbon resource value, it can also improve the flexibility and availability of the carbon account.
[0041] The carbon resource value management method provided in the present application may be executed by a computer device, which may be a server.
[0042] In an exemplary embodiment, Figure 1 As shown, a carbon resource value management method is provided for a management node in a target blockchain network, the method comprising the following steps:
[0043] Step 101: Acquire first low-carbon data of a first node, and acquire second low-carbon data of a second node bound to the first node.
[0044] Optionally, the target blockchain network includes but is not limited to a first node, at least one second node, a transaction node, and a management node.
[0045] The first node may be a first terminal device of a first user, and the second node may be a second terminal device of a second user.
[0046] In one possible implementation, the first user may send a binding request to the second terminal device through the first terminal device, and after the second user executes an operation of agreeing to the binding based on the second terminal device and the binding request, the management node will build the target blockchain network based on the first node, the second node and the transaction node.
[0047] Furthermore, after building the target blockchain network, the management node can receive the first low-carbon data and the second low-carbon data sent by the first node and the second node in real time.
[0048] Specifically, a target application may be installed on the first terminal device corresponding to the first node and the second terminal device corresponding to the second node. The application may collect low-carbon data of the first user and the second user in real time, and send the collected low-carbon data to the management node. The target application may be a financial type application, a sports type application, or a shopping type application.
[0049] For example, user A is the first user mentioned above, and user B and user C, family members of user A, are users who can generate carbon resource value but will not use carbon resource value, then user B and user C are the second users mentioned above. At this time, user A can send a binding request to user B and user C based on the terminal device, and user B and user C can perform the binding operation based on the terminal device and the binding request. Then, the management node will build a target blockchain network based on the terminal devices and transaction nodes of user A, user B and user C, and receive in real time the low-carbon data for user A, user B and user C sent by the target application in the terminal devices of user A, user B and user C.
[0050] Step 102: determine a target carbon resource value according to the first low-carbon data, the second low-carbon data and a carbon resource value exchange rule, and store the target carbon resource value in a carbon account corresponding to the first node.
[0051] The carbon resource value exchange rule can be pre-set by the technicians, or can be set by the management node according to the actual situation. Since the actual value of the carbon resource value changes in real time, the management node can determine the carbon resource value exchange rule according to the actual value of the current carbon resource value.
[0052] In one possible implementation, the first low-carbon data, the second low-carbon data and the carbon resource value exchange rule can be input into a pre-trained carbon resource value determination model to obtain the target carbon resource value output by the carbon resource value determination model, and the target carbon resource value can be stored in the carbon account corresponding to the first node.
[0053] Step 103: After receiving the target carbon trading request sent by the first node, execute the target carbon trading based on the target carbon resource value in the carbon account.
[0054] The target carbon transaction may be a transaction based on the exchange of carbon resource value for products.
[0055] In one possible implementation, when the first user has a demand for the use of carbon resource value, a carbon trading request can be sent to the management node based on the first node. After the management node receives the carbon trading request, information about products that can be carbon traded will be sent to the first node. The first user can then select the required product based on the first node, and the first node will send the selection operation to the management node. The selection operation is the target carbon transaction mentioned above. After receiving the selection operation, the management node will execute the target carbon transaction based on the target carbon resource value in the carbon account.
[0056] The above-mentioned carbon resource value management method is used for the management node in the target blockchain network. The management node can determine the target carbon resource value corresponding to the low-carbon data based on the low-carbon data of the first node and the second node, and store the target carbon resource value in the carbon account corresponding to the first node, so that the first node can conduct carbon trading based on the carbon resource value. The second node can be a node pre-bound to the first node. Using the carbon resource value management method provided in the present application, when the second node has no demand for the use of carbon resource value or will not use the carbon resource value, the generated carbon resource value will be given to the first node for use by the first node, thereby effectively improving the flexibility and availability of the carbon account while improving the utilization rate of the carbon resource value.
[0057] In an exemplary embodiment, Figure 2 As shown, the first low-carbon data includes first low-carbon behavior data and first low-carbon consumption data, the second low-carbon data includes second low-carbon behavior data and second low-carbon consumption data, and the target carbon resource value is determined according to the first low-carbon data, the second low-carbon data and the carbon resource value exchange rule, including the following steps:
[0058] Step 201: performing an exchange process on the first low-carbon behavior data and the second low-carbon behavior data based on a carbon resource value exchange rule to determine a first carbon resource value;
[0059] Step 202: performing an exchange process on the first low-carbon consumption data and the second low-carbon consumption data based on a carbon resource value exchange rule to determine a second carbon resource value;
[0060] Step 203: Determine the target carbon resource value according to the first carbon resource value and the second carbon resource value.
[0061] The first low-carbon behavior data and the second low-carbon behavior data may be data of low-carbon behaviors of the first user and the second user collected by the target application. The low-carbon behaviors include but are not limited to the user's running behavior, the user's bus riding behavior, the user's subway riding behavior, the user's online shopping behavior, and the user's online payment behavior. Further, the low-carbon behavior data may be the amount of carbon emissions reduced by the user performing the low-carbon behavior.
[0062] The first low-carbon consumption data and the second low-carbon consumption data may be low-carbon consumption data of the first user and the second user collected by the target application. The low-carbon consumption includes but is not limited to the consumption of low-carbon environmentally friendly products purchased by the user. Further, the low-carbon consumption data may be the amount of carbon emissions reduced by the user performing the low-carbon consumption.
[0063] Optionally, the carbon resource value exchange rules may include low-carbon behavior carbon resource value exchange rules and low-carbon consumption carbon resource value exchange rules.
[0064] The low-carbon behavior carbon resource value exchange rule includes a mapping relationship between each low-carbon behavior and a corresponding carbon resource value, or a calculation rule for exchanging the carbon resource value for each low-carbon behavior.
[0065] The low-carbon consumption carbon resource value exchange rule includes a mapping relationship between each low-carbon consumption and a corresponding carbon resource value, or a calculation rule for exchanging each low-carbon consumption for a carbon resource value.
[0066] In one possible implementation, the first carbon resource value may be determined directly based on the low-carbon behavior carbon resource value exchange rule, the first low-carbon behavior data, and the second low-carbon behavior data.
[0067] Furthermore, the second carbon resource value is determined according to the low-carbon consumption carbon resource value exchange rule, the first low-carbon consumption data and the second low-carbon consumption data, and the target carbon resource value is determined according to the first carbon resource value and the second carbon resource value.
[0068] In another possible implementation, the low-carbon behavior carbon resource value exchange rule, the first low-carbon behavior data and the second low-carbon behavior data can also be input into a pre-trained carbon resource value determination model to obtain the first carbon resource value output by the carbon resource value determination model.
[0069] Furthermore, the low-carbon consumption carbon resource value exchange rule, the first low-carbon consumption data and the second low-carbon consumption data are input into a pre-trained carbon resource value determination model to obtain the second carbon resource value output by the carbon resource value determination model, and the target carbon resource value is determined based on the first carbon resource value and the second carbon resource value.
[0070] In an exemplary embodiment, Figure 3 As shown, before executing the target carbon transaction based on the carbon resource value in the carbon account, the method further includes the following steps:
[0071] Step 301: Receive product information and transaction information of carbon resource value transaction products sent by a transaction node.
[0072] Optionally, the transaction node may be a node that provides a carbon resource value transaction product, where the carbon resource value transaction product refers to a product that can be paid for with carbon resource value.
[0073] The carbon resource value trading products include but are not limited to travel coupons, financial products, interest rate coupons, bank branch queuing VIP coupons and credit card value-added service coupons.
[0074] The product information is used to characterize the product name, product purpose, usage method and usage scenario of the carbon resource value trading product.
[0075] The transaction information request is used to represent the carbon resource value corresponding to the carbon resource value transaction product.
[0076] In one possible implementation, the transaction node may send the product information and transaction information of the carbon resource value trading product to the management node, and after the carbon resource value trading product is updated, resend the product information and transaction information of the new carbon resource value trading product to the management node.
[0077] Step 302: After receiving the carbon resource value transaction request sent by the first node, send the product information and transaction information to the first node.
[0078] In one possible implementation, when the first user has a carbon trading demand, the carbon resource value trading request can be sent to the management node through the first node. After receiving the carbon resource value trading request, the management node can send product information and trading information to the first node for the first user to select.
[0079] In an exemplary embodiment, Figure 4 As shown, the target carbon transaction is performed based on the target carbon resource value in the carbon account, including the following steps:
[0080] Step 401: Receive a target carbon trading request sent by the first node.
[0081] The target carbon trading request includes product information of a target carbon resource value trading product. The target carbon resource value trading product is a carbon resource value trading product determined by the first node from a plurality of carbon resource value trading products.
[0082] In one possible implementation, after the management node sends product information and transaction information to the first node, the first node will display the product information and transaction information for the first user to select. The first user can make a selection based on actual needs and, after selection, perform a trigger operation on the target carbon resource value trading product, so that the first node sends a target carbon trading request to the management node based on the trigger operation.
[0083] Step 402: Determine the carbon resource value information corresponding to the target carbon resource value trading product according to the transaction information.
[0084] In one possible implementation, after receiving the target carbon trading request, the management node can determine the target carbon resource value trading product based on the product information carried in the target carbon trading request, and then determine the carbon resource value information corresponding to the target carbon resource value trading product based on the trading information.
[0085] Step 403: When the target carbon resource value in the carbon account is greater than the first carbon resource value indicated by the carbon resource value information, execute the target carbon transaction based on the target carbon resource value in the carbon account.
[0086] In one possible implementation, after the management node determines the carbon resource value information corresponding to the target carbon resource value trading product according to the transaction information, it determines whether the target carbon resource value in the carbon account is greater than the first carbon resource value indicated by the carbon resource value information.
[0087] Further, when the target carbon resource value in the carbon account is greater than or equal to the first carbon resource value indicated by the carbon resource value information, the target carbon transaction is performed based on the target carbon resource value in the carbon account.
[0088] When the target carbon resource value in the carbon account is less than the first carbon resource value indicated by the carbon resource value information, the target carbon transaction is not executed, and target carbon transaction failure information is sent to the first node, where the target carbon transaction failure information is used to indicate the reason for the failure of the target carbon transaction.
[0089] In an exemplary embodiment, Figure 5 As shown, the target carbon transaction is performed based on the target carbon resource value in the carbon account, including the following steps:
[0090] Step 501: acquiring a first carbon resource value indicated by the carbon resource value information from the carbon account, and sending the acquired first carbon resource value to the transaction node;
[0091] Step 502: Acquire the target carbon resource value transaction product from the transaction node, and send the acquired target carbon resource value transaction product to the first node.
[0092] In one possible implementation, when it is determined that the target carbon resource value in the carbon account is greater than or equal to the first carbon resource value indicated by the carbon resource value information, the first carbon resource value indicated by the carbon resource value information is obtained from the carbon account, and the obtained first carbon resource value is sent to the transaction node.
[0093] At the same time, the target carbon resource value transaction product is obtained from the transaction node, and the obtained target carbon resource value transaction product is sent to the first node.
[0094] In an exemplary embodiment, in case of receiving the query request sent by the second node, the method further includes: sending the carbon resource value storage information and the carbon resource value consumption information of the carbon account to the second node.
[0095] Optionally, the carbon resource value storage information is used to indicate the amount of resource value stored in the carbon account.
[0096] The carbon resource value consumption information may include the consumption time of the carbon resource value and the amount of the consumed carbon resource value.
[0097] In an exemplary embodiment, when the second node has a carbon trading demand, it may first send a request to the first node. After the first node agrees, the second node can conduct carbon trading through the management node.
[0098] In an exemplary embodiment, Figure 6 As shown, another carbon resource value management method is provided, which is used for a management node in a target blockchain network, and the method includes the following steps:
[0099] Step 601: Acquire first low-carbon data of a first node, and acquire second low-carbon data of a second node bound to the first node, wherein the first low-carbon data includes first low-carbon behavior data and first low-carbon consumption data, and the second low-carbon data includes second low-carbon behavior data and second low-carbon consumption data;
[0100] Step 602: based on the carbon resource value exchange rule, the first low-carbon behavior data and the second low-carbon behavior data are exchanged to determine the first carbon resource value; based on the carbon resource value exchange rule, the first low-carbon consumption data and the second low-carbon consumption data are exchanged to determine the second carbon resource value; the target carbon resource value is determined according to the first carbon resource value and the second carbon resource value;
[0101] Step 603: receiving product information and transaction information of the carbon resource value transaction product sent by the transaction node; after receiving the carbon resource value transaction request sent by the first node, sending the product information and transaction information to the first node;
[0102] Step 604: receiving a target carbon trading request sent by the first node, the target carbon trading request including product information of a target carbon resource value trading product, the target carbon resource value trading product being a carbon resource value trading product determined by the first node from a plurality of carbon resource value trading products;
[0103] Step 605: determine the carbon resource value information corresponding to the target carbon resource value trading product based on the transaction information; when the target carbon resource value in the carbon account is greater than the first carbon resource value indicated by the carbon resource value information, obtain the first carbon resource value indicated by the carbon resource value information from the carbon account, and send the obtained first carbon resource value to the transaction node; obtain the target carbon resource value trading product from the transaction node, and send the obtained target carbon resource value trading product to the first node.
[0104] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0105] Based on the same inventive concept, the embodiment of the present application also provides a carbon resource value management device for implementing the carbon resource value management method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more carbon resource value management device embodiments provided below can refer to the limitations of the carbon resource value management method above, and will not be repeated here.
[0106] In an exemplary embodiment, Figure 7 As shown, a carbon resource value management device 700 is provided, comprising: an acquisition module 701, a determination module 702 and an execution module 703, wherein:
[0107] An acquisition module 701 is used to acquire first low-carbon data of a first node, and acquire second low-carbon data of a second node bound to the first node;
[0108] A determination module 702 is used to determine a target carbon resource value according to the first low-carbon data, the second low-carbon data and a carbon resource value exchange rule, and store the target carbon resource value in a carbon account corresponding to the first node;
[0109] The execution module 703 is used to execute the target carbon transaction based on the target carbon resource value in the carbon account after receiving the target carbon transaction request sent by the first node.
[0110] In one embodiment, the first low-carbon data includes first low-carbon behavior data and first low-carbon consumption data, and the second low-carbon data includes second low-carbon behavior data and second low-carbon consumption data. The determination module 702 is specifically used to exchange the first low-carbon behavior data and the second low-carbon behavior data based on the carbon resource value exchange rule to determine the first carbon resource value; exchange the first low-carbon consumption data and the second low-carbon consumption data based on the carbon resource value exchange rule to determine the second carbon resource value; and determine the target carbon resource value based on the first carbon resource value and the second carbon resource value.
[0111] In one embodiment, the execution module 703 is also used to receive product information and transaction information of the carbon resource value transaction product sent by the transaction node; after receiving the carbon resource value transaction request sent by the first node, send the product information and transaction information to the first node.
[0112] In one embodiment, the execution module 703 is specifically used to receive a target carbon trading request sent by the first node, the target carbon trading request including product information of a target carbon resource value trading product, the target carbon resource value trading product being a carbon resource value trading product determined by the first node from multiple carbon resource value trading products; determining the carbon resource value information corresponding to the target carbon resource value trading product according to the trading information; and executing the target carbon trading based on the target carbon resource value in the carbon account when the target carbon resource value in the carbon account is greater than the first carbon resource value indicated by the carbon resource value information.
[0113] In one embodiment, the execution module 703 is specifically used to obtain the first carbon resource value indicated by the carbon resource value information from the carbon account, and send the obtained first carbon resource value to the trading node; obtain the target carbon resource value trading product from the trading node, and send the obtained target carbon resource value trading product to the first node.
[0114] In one embodiment, the execution module 703 is further configured to send the carbon resource value storage information and the carbon resource value consumption information of the carbon account to the second node when receiving the query request sent by the second node.
[0115] Each module in the above carbon resource value management device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.
[0116] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 8 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a carbon resource value management method is implemented.
[0117] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0118] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0119] Obtain the first low-carbon data of the first node, and obtain the second low-carbon data of the second node bound to the first node; determine the target carbon resource value according to the first low-carbon data, the second low-carbon data and the carbon resource value exchange rule, and store the target carbon resource value in the carbon account corresponding to the first node; after receiving the target carbon trading request sent by the first node, execute the target carbon trading based on the target carbon resource value in the carbon account.
[0120] In one embodiment, when the processor executes the computer program, the following steps are also implemented: based on the carbon resource value exchange rule, the first low-carbon behavior data and the second low-carbon behavior data are exchanged to determine the first carbon resource value; based on the carbon resource value exchange rule, the first low-carbon consumption data and the second low-carbon consumption data are exchanged to determine the second carbon resource value; and the target carbon resource value is determined based on the first carbon resource value and the second carbon resource value.
[0121] In one embodiment, when the processor executes the computer program, it also implements the following steps: receiving product information and transaction information of the carbon resource value trading product sent by the trading node; after receiving the carbon resource value trading request sent by the first node, sending the product information and transaction information to the first node.
[0122] In one embodiment, the processor also implements the following steps when executing the computer program: receiving a target carbon trading request sent by the first node, the target carbon trading request including product information of a target carbon resource value trading product, the target carbon resource value trading product being a carbon resource value trading product determined by the first node from multiple carbon resource value trading products; determining the carbon resource value information corresponding to the target carbon resource value trading product based on the trading information; and executing the target carbon trading based on the target carbon resource value in the carbon account when the target carbon resource value in the carbon account is greater than the first carbon resource value indicated by the carbon resource value information.
[0123] In one embodiment, when the processor executes the computer program, it also implements the following steps: obtaining the first carbon resource value indicated by the carbon resource value information from the carbon account, and sending the obtained first carbon resource value to the trading node; obtaining the target carbon resource value trading product from the trading node, and sending the obtained target carbon resource value trading product to the first node.
[0124] In one embodiment, when the processor executes the computer program, the processor further implements the following steps: upon receiving a query request sent by the second node, sending the carbon resource value storage information and the carbon resource value consumption information of the carbon account to the second node.
[0125] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0126] Obtain the first low-carbon data of the first node, and obtain the second low-carbon data of the second node bound to the first node; determine the target carbon resource value according to the first low-carbon data, the second low-carbon data and the carbon resource value exchange rule, and store the target carbon resource value in the carbon account corresponding to the first node; after receiving the target carbon trading request sent by the first node, execute the target carbon trading based on the target carbon resource value in the carbon account.
[0127] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented: based on the carbon resource value exchange rule, the first low-carbon behavior data and the second low-carbon behavior data are exchanged to determine the first carbon resource value; based on the carbon resource value exchange rule, the first low-carbon consumption data and the second low-carbon consumption data are exchanged to determine the second carbon resource value; and the target carbon resource value is determined based on the first carbon resource value and the second carbon resource value.
[0128] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: receiving product information and transaction information of the carbon resource value trading product sent by the trading node; after receiving the carbon resource value trading request sent by the first node, sending the product information and transaction information to the first node.
[0129] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: receiving a target carbon trading request sent by the first node, the target carbon trading request including product information of a target carbon resource value trading product, the target carbon resource value trading product being a carbon resource value trading product determined by the first node from a plurality of carbon resource value trading products; determining the carbon resource value information corresponding to the target carbon resource value trading product based on the trading information; and executing the target carbon trading based on the target carbon resource value in the carbon account when the target carbon resource value in the carbon account is greater than the first carbon resource value indicated by the carbon resource value information.
[0130] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the first carbon resource value indicated by the carbon resource value information from the carbon account, and sending the obtained first carbon resource value to the trading node; obtaining the target carbon resource value trading product from the trading node, and sending the obtained target carbon resource value trading product to the first node.
[0131] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: upon receiving a query request sent by the second node, the carbon resource value storage information and the carbon resource value consumption information of the carbon account are sent to the second node.
[0132] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0133] Obtain the first low-carbon data of the first node, and obtain the second low-carbon data of the second node bound to the first node; determine the target carbon resource value according to the first low-carbon data, the second low-carbon data and the carbon resource value exchange rule, and store the target carbon resource value in the carbon account corresponding to the first node; after receiving the target carbon trading request sent by the first node, execute the target carbon trading based on the target carbon resource value in the carbon account.
[0134] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented: based on the carbon resource value exchange rule, the first low-carbon behavior data and the second low-carbon behavior data are exchanged to determine the first carbon resource value; based on the carbon resource value exchange rule, the first low-carbon consumption data and the second low-carbon consumption data are exchanged to determine the second carbon resource value; and the target carbon resource value is determined based on the first carbon resource value and the second carbon resource value.
[0135] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: receiving product information and transaction information of the carbon resource value trading product sent by the trading node; after receiving the carbon resource value trading request sent by the first node, sending the product information and transaction information to the first node.
[0136] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: receiving a target carbon trading request sent by the first node, the target carbon trading request including product information of a target carbon resource value trading product, the target carbon resource value trading product being a carbon resource value trading product determined by the first node from a plurality of carbon resource value trading products; determining the carbon resource value information corresponding to the target carbon resource value trading product based on the trading information; and executing the target carbon trading based on the target carbon resource value in the carbon account when the target carbon resource value in the carbon account is greater than the first carbon resource value indicated by the carbon resource value information.
[0137] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the first carbon resource value indicated by the carbon resource value information from the carbon account, and sending the obtained first carbon resource value to the trading node; obtaining the target carbon resource value trading product from the trading node, and sending the obtained target carbon resource value trading product to the first node.
[0138] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: upon receiving a query request sent by the second node, the carbon resource value storage information and the carbon resource value consumption information of the carbon account are sent to the second node.
[0139] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0140] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0141] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A carbon resource value management method, characterized in that: For managing a node in a target blockchain network, the method comprises: Acquire first low-carbon data of a first node, and acquire second low-carbon data of a second node bound to the first node; Determine a target carbon resource value according to the first low-carbon data, the second low-carbon data and a carbon resource value exchange rule, and store the target carbon resource value in a carbon account corresponding to the first node; After receiving the target carbon trading request sent by the first node, the target carbon trading is performed based on the target carbon resource value in the carbon account.
2. The method according to claim 1, characterized in that The first low-carbon data includes first low-carbon behavior data and first low-carbon consumption data, the second low-carbon data includes second low-carbon behavior data and second low-carbon consumption data, and the target carbon resource value is determined according to the first low-carbon data, the second low-carbon data and the carbon resource value exchange rule, including: Performing an exchange process on the first low-carbon behavior data and the second low-carbon behavior data based on a carbon resource value exchange rule to determine a first carbon resource value; Performing an exchange process on the first low-carbon consumption data and the second low-carbon consumption data based on a carbon resource value exchange rule to determine a second carbon resource value; The target carbon resource value is determined according to the first carbon resource value and the second carbon resource value.
3. The method according to claim 1, characterized in that Before executing the target carbon transaction based on the carbon resource value in the carbon account, the method further includes: Receive product information and transaction information of carbon resource value trading products sent by the transaction node; After receiving the carbon resource value transaction request sent by the first node, the product information and transaction information are sent to the first node.
4. The method according to claim 3, characterized in that The performing the target carbon transaction based on the target carbon resource value in the carbon account includes: receiving a target carbon trading request sent by the first node, the target carbon trading request including product information of a target carbon resource value trading product, the target carbon resource value trading product being a carbon resource value trading product determined by the first node from a plurality of carbon resource value trading products; Determine the carbon resource value information corresponding to the target carbon resource value trading product according to the target carbon trading request; In a case where the target carbon resource value in the carbon account is greater than the first carbon resource value indicated by the carbon resource value information, the target carbon transaction is performed based on the target carbon resource value in the carbon account.
5. The method according to claim 4, characterized in that The performing the target carbon transaction based on the target carbon resource value in the carbon account includes: Acquire a first carbon resource value indicated by the carbon resource value information from the carbon account, and send the acquired first carbon resource value to the transaction node; The target carbon resource value transaction product is obtained from the transaction node, and the obtained target carbon resource value transaction product is sent to the first node.
6. The method according to claim 1, characterized in that The method further comprises: When receiving the query request sent by the second node, the carbon resource value storage information and the carbon resource value consumption information of the carbon account are sent to the second node.
7. A carbon resource value management device, characterized in that: The device comprises: An acquisition module, used to acquire first low-carbon data of a first node, and acquire second low-carbon data of a second node bound to the first node; a determination module, configured to determine a target carbon resource value according to the first low-carbon data, the second low-carbon data and a carbon resource value exchange rule, and store the target carbon resource value in a carbon account corresponding to the first node; An execution module is used to execute the target carbon transaction based on the target carbon resource value in the carbon account after receiving the target carbon transaction request sent by the first node.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: 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.
10. A computer program product, comprising a computer program, characterized in that 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.
