Community mutual-aid shared transaction method and device based on block chain and carbon assets, and medium
By building a blockchain-based carbon asset management center and mutual aid team within the community, the problems of individual or family carbon assets are solved, effective sharing of carbon assets and low-carbon behavior are realized, and an effective closed loop of low-carbon environmentally friendly resources is formed.
Patent Information
- Application Number
- CN202411528708.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-03-14
Smart Images

Figure CN119624453A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a community mutual assistance and sharing transaction method, device and medium based on blockchain and carbon assets. Background Art
[0002] As the global climate change problem becomes increasingly serious, carbon asset management has become the focus of attention of governments and enterprises around the world. However, there has been no effective application scenario for the incentives and management of carbon assets corresponding to individuals or families. Some carbon credits accumulated in personal daily life, such as green travel, low-carbon behavior, etc., have not been converted into effective scenarios for the use of carbon credits. This will lead to people not being active in practicing low carbon. In order to closely link my country's low-carbon environmental protection actions with everyone, the carbon credits accumulated by low-carbon environmental protection must be effectively applied to everyone's vital interests, so that an effective closed loop can be formed.
[0003] At the same time, as the domestic social development continues to progress, the aging population is also becoming more prominent, and the elderly have more and more service requirements, which brings new requirements for community construction and service management. Neighborhood mutual assistance services with harmonious co-governance, green intensiveness, and smart sharing as the connotation are the direction strongly advocated by future community development. Summary of the invention
[0004] In order to overcome the above-mentioned defects, the purpose of the present invention is to provide a community mutual assistance and sharing transaction method, device and medium based on blockchain and carbon assets.
[0005] To achieve the above-mentioned purpose, the present invention provides a method for implementing community mutual assistance and sharing transactions based on blockchain and carbon assets, wherein the method comprises the following steps:
[0006] Build a community carbon asset management center to manage the list of community members; each community member has a carbon asset account, and each community member's carbon asset account is a node in the blockchain; community members use carbon asset currency to pay for the services they enjoy;
[0007] There are more than one mutual aid group among community members, and the list of members of the mutual aid group is deployed on the blockchain node;
[0008] Each member maintains a real-time updated list of mutual aid groups and a priority queue Pi for other mutual aid members in his or her own blockchain node, as well as the upper limit Mi of the mutual aid amount for each member in the mutual aid group.
[0009] Furthermore, the mutual aid rules within the mutual aid group are as follows:
[0010] S 2-1 : Mutual aid groups have unique numbers and consist of more than 2 people;
[0011] S 2-2 : Each person in the group has a unique list of the group to which they belong, and each person can set the amount of funding for other members M, 0 <= M <= personal carbon assets S i ;
[0012] S 2-3 : The recipients of the mutual aid group members set the funding priority for each donor in the group, and the accounts with higher priority will provide funding to them first;
[0013] S 2-4 : When node i pays for a service, it will pay from its personal account first. If the personal account is insufficient, it will pay from the shared account. If the shared account is still insufficient, it will pay from the corresponding P i M set by the first priority member in the queue i Pay if M i If it is not enough to pay, then deduct M i The remaining difference is then deducted from the funding amount set by the second priority member; and so on.
[0014] Furthermore, the method further comprises the following steps:
[0015] S 2-5 : All the above information, including the list of mutual aid groups maintained by each node, the mutual aid group ID, the funder priority queue, the funding amount M, and each transaction and operation, are written into the blockchain node, and each node saves the same copy.
[0016] Furthermore, the method further comprises the following steps:
[0017] Each mutual aid group builds a common shared account; members of the community mutual aid group realize mutual aid payment through the shared account;
[0018] Furthermore, the shared payment rules between the shared account members include:
[0019] S 5-1 : The shared account has a unique number;
[0020] S 5-2 :Each member sets a shared quota X i , 0<=X i <=Personal Carbon Assets S i
[0021] S 5-3 : When node i pays for a service, it will pay from its personal account first. If the personal account is insufficient, the remaining balance will be paid from the shared account.
[0022] S 5-4: All the above information, including the shared account ID maintained by each node, the shared quota X, the shared member list and each person’s shared member ID, every transaction and operation, are written into the blockchain node, and each node saves the same copy.
[0023] Furthermore, the monetary amount of the payment depends on the duration of the service and the evaluation of the service recipient:
[0024] When the actual service time of the service provider is T, and the service recipient's satisfaction score for the service provider is S%, 0≤S≤100, then the carbon asset currency paid for this service is C=T*S%;
[0025] Furthermore, it also includes:
[0026] If a service recipient receives service from more than two service providers during a service provision activity, each service provider will be scored separately.
[0027] Furthermore, the method is specifically as follows: in a community mutual assistance service event, the service providers are A and B; the personal carbon asset currency of the service recipient is S, the service time provided by A is T1, and the service time provided by B is T2;
[0028] 1) The service recipient gives the service provider A a satisfaction score of S1% and the service provider B a satisfaction score of S2% on the system; the currency that N needs to pay A is: T1*S1%=C1; the currency that the service recipient needs to pay B is: T2*S2%=C2;
[0029] 2) If the personal assets of the service recipient S≥C1+C2, then C1+C2 will be deducted from the personal carbon asset account of the service recipient, and the monetary assets of A and B's personal accounts will be increased by C1 and C2; if the personal assets of the service recipient S≤C1+C2, then proceed to the next step;
[0030] 3) The balance of the shared account of the service recipient is X. The balance after the service recipient pays the service fee from the personal account is C1+C2-S=H. If H≤X, H is deducted from the shared account, and the remaining real-time balance of the shared account is XH. If H>X, proceed to the next step.
[0031] 4) The difference after the service recipient pays the service fee from the shared account is HX=I, which is deducted from the account of the first donor in the mutual aid member priority queue P belonging to the service recipient, and the maximum funding amount M1 set by the donor for the recipient N is read; if M1≥I, I is paid on behalf of the recipient by its account, otherwise it proceeds to the next step;
[0032] 5) The monetary difference that the recipient of the service currently needs to make up is I-M1, which is the remaining difference after deducting from the first-priority donor; read the maximum funding amount M2 set for N by the second-priority donor account of the listed priority P; if M2 ≥ I-M1, it will pay I-M1 on behalf of the recipient, otherwise proceed to the next step;
[0033] 6) Similarly, when M n-1 <I-(M1+M2+…M n-2 ), the Nth priority donor account will be used to pay, and the maximum funding amount Mn set by the Nth priority donor for the service recipient is read. If Mn≥(M1+M2+…M n-1 ), then its account will pay I-(M1+M2+…M n-1 ).
[0034] To achieve the above objectives, the terminal device of the present invention includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor loads and executes the computer program, the above-mentioned community mutual assistance and sharing transaction method based on blockchain and carbon assets is adopted.
[0035] In order to achieve the above-mentioned purpose, the present invention provides a computer-readable storage medium, in which a computer program is stored. When the computer program is loaded and executed by a processor, the above-mentioned community mutual assistance and sharing transaction method based on blockchain and carbon assets is adopted.
[0036] The present invention realizes the digitization, tokenization and symbolization of carbon credits and carbon assets through blockchain technology, which is used to pay the service fees generated by community services, and promotes the mutual sharing of carbon assets among community members through smart contracts. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0038] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0039] In the description of the present invention, it should be understood that the terms "center", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0040] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "plurality" means two or more.
[0041] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0042] The community sharing service method based on blockchain and carbon assets disclosed in the embodiments of the present application is composed of the following modules:
[0043] 1. Open a carbon asset account for each member of the community. This carbon asset account can be connected to the carbon asset accounts of various apps, such as shared bicycle green travel, garbage recycling and disposal systems, food delivery platforms and other platforms with carbon points. The newly added points are synchronized to the personal carbon asset account on a regular basis.
[0044] 2. A community has a common carbon asset management center. The community's carbon asset management center manages the community personnel list, the basic information of each person's account, and reviews the personnel's application to enter the community and exit the community. The list of mutual aid personnel in this community is also deployed on the blockchain node and maintained by the management center.
[0045] 3. Deploy each person's carbon asset account to the blockchain. Each community member's carbon asset account is a node of the blockchain. Specifically, it includes the carbon asset account ID, total carbon asset balance, carbon asset income details, carbon asset consumption details, personal sharing quota in the shared account, payment limit for other members of the mutual aid group, mutual aid priority queue set for other people in the shared account, etc.
[0046] 4. Community members can form mutual aid groups, and a mutual aid group can create a common shared account.
[0047] 5. Members of a mutual aid group can realize mutual payment. Each member maintains a real-time updated mutual aid group list and a priority queue P for other mutual aid members on his own blockchain node. i , and the upper limit of the mutual aid amount for each member of the mutual aid group M i .
[0048] As a further improvement of the present invention, the mutual assistance rules within each mutual assistance group are as follows:
[0049] S 5-1 : Mutual aid groups have unique numbers and consist of more than 2 people, who can be family members, relatives, or friends;
[0050] S 5-2 :Everyone in the group has a unique list of the group they belong to, and each person can set the amount of funding M for other members, 0 <= M <= personal carbon assets S i ;
[0051] S 5-3 : The recipients of the mutual aid group can set the funding priority for each donor in the group, and the accounts with high priority will give priority to providing monetary funding. That is, for recipient i, a queue P is generated i , P i The elements are the donor IDs sorted from high to low in priority;
[0052] S 5-4 : When node i pays for a service, it will pay from its personal account first. If the personal account is insufficient, it will pay from the shared account. If the shared account is still insufficient, it will pay from the corresponding P i M set by the first priority member in the queue i Pay if M i If it is not enough to pay, then deduct M i The remaining difference is then deducted from the funding amount set by the second priority member. And so on. . . . . .
[0053] S 5-5 : All the above information, including the list of mutual aid groups maintained by each node, the mutual aid group ID, the funder priority queue, the funding amount M, and every transaction and operation, are written into the blockchain node, and each node saves the same copy.
[0054] As a further improvement of the present invention, members in a shared account can set their own shared carbon asset currency X i , 0<=X i <=Personal Carbon Assets S i The total amount of money in the shared account is the sum of the shared quotas set by each member in the shared account, and this shared quota can be shared. When any member in the shared account receives community services, when paying money, it is paid from the personal account first. If the balance is insufficient, the shared account account will be used to pay the balance difference. And this process is automatically realized through the smart contract deployed on the blockchain.
[0055] Furthermore, the shared payment rules between the shared account members are as follows:
[0056] S 6-1 : A shared account has a unique number, and members of the shared account can be family members, relatives, and friends;
[0057] S 6-2 :Each member can set a shared quotaX i , 0<=X i <=Personal Carbon Assets S i . This shared quota can be modified in real time;
[0058] S 5-3 : When node i pays for a service, it will pay from its personal account first. If the personal account is insufficient, the remaining balance will be paid from the shared account.
[0059] S 5-4 : All the above information, including the shared account ID maintained by each node, the shared quota X, the shared member list and each person’s shared member ID, every transaction and operation, are written into the blockchain node, and each node saves the same copy.
[0060] As a further improvement of the present invention, in the carbon asset management system, community members use carbon asset currency to pay for the services they enjoy, and the amount of money paid each time depends on the service time and the evaluation of the service recipient. The evaluation rules are as follows:
[0061] S 7-1 :When the actual service time of the service provider is T, and the service recipient's satisfaction score is S%, 0≤S≤100, then the carbon asset currency paid for this service is C=T*S%;
[0062] S 7-2 : If a service recipient receives service from two or more service providers in a service provision activity, different service providers can be scored separately.
[0063] Combine the following Figure 1 The embodiments shown further illustrate the present invention.
[0064] In a community mutual assistance service event, the recipient of the service is N, and the service providers are A and B; N's personal carbon asset currency is S, the service time provided by A is T1, and the service time provided by B is T2;
[0065] 1. The service recipient N gives the satisfaction score of service provider A to S1% and the satisfaction score of service provider B to S2% on the system. The currency that N needs to pay to A is: T1*S1%=C1; the currency that N needs to pay to B is:
[0066] T2*S2%=C2;
[0067] 2. If N's personal assets S≥C1+C2, then C1+C2 will be deducted from N's personal carbon asset account, and the monetary assets of C1 and C2 will be increased in A and B's personal accounts accordingly; if N's personal assets S≤C1+C2, then proceed to process 3;
[0068] 3. The balance of the shared account of the service recipient N is X. As mentioned above, the balance after N pays the service fee from his personal account is C1+C2-S=H. If H≤X, H is deducted from the shared account, and the remaining real-time balance of the shared account is XH. If H>X, then proceed to process 4.
[0069] 4. The difference after the service recipient N pays the service fee from the shared account is HX=I, which is deducted from the account of the first-ranked donor in the mutual aid member priority queue P belonging to N, and the maximum funding amount M1 set by the donor for the recipient N is read; if M1≥I, then I is paid on behalf of the donor by its account, otherwise it will be transferred to process 5;
[0070] 5. The monetary difference that the service recipient N needs to make up is I-M1, which is the remaining difference after deducting the amount from the first-priority donor. Read the maximum funding amount M2 set for N by the second-priority donor account of the listed priority P;
[0071] If M2 ≥ I-M1, it will pay I-M1 on behalf of the client, otherwise it will proceed to process 6;
[0072] 6. Similarly, when M n-1 <I-(M1+M2+…M n-2 ), the Nth priority donor account will make the payment on behalf of the recipient, and the maximum funding amount Mn set by the Nth priority donor for the recipient N will be read. If Mn ≥
[0073] (M1+M2+…M n-1 ), then its account will pay I-(M1+M2+…M n-1 ).
[0074] An embodiment of the present application also discloses a terminal device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the community mutual assistance and sharing transaction method based on blockchain and carbon assets of the above-mentioned embodiment is adopted when the processor executes the computer program.
[0075] The terminal device may be a computer device such as a desktop computer, a laptop computer or a cloud server, and the terminal device includes but is not limited to a processor and a memory. For example, the terminal device may also include input and output devices, a network access device and a bus.
[0076] Among them, the processor can adopt a central processing unit (CPU). Of course, according to actual usage, other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. can also be adopted. The general-purpose processor can adopt a microprocessor or any conventional processor, etc., and this application does not impose any restrictions on this.
[0077] Among them, the memory can be an internal storage unit of the terminal device, such as a hard disk or memory of the terminal device, or it can be an external storage device of the terminal device, such as a plug-in hard disk, a smart memory card (SMC), a secure digital card (SD) or a flash memory card (FC) equipped on the terminal device, etc., and the memory can also be a combination of an internal storage unit and an external storage device of the terminal device. The memory is used to store computer programs and other programs and data required by the terminal device. The memory can also be used to temporarily store data that has been output or is to be output, and this application does not impose any restrictions on this.
[0078] Among them, through this terminal device, the community mutual assistance and sharing transaction method based on blockchain and carbon assets of the above-mentioned embodiment is stored in the memory of the terminal device, and is loaded and executed on the processor of the terminal device to facilitate user use.
[0079] An embodiment of the present application also discloses a computer-readable storage medium, and the computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the community mutual assistance and sharing transaction method based on blockchain and carbon assets of the above embodiment is adopted.
[0080] Among them, the computer program can be stored in a computer-readable medium, the computer program includes computer program code, the computer program code can be in the form of source code, object code, executable file or certain middleware, etc. The computer-readable medium includes any entity or device that can carry the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the computer-readable medium includes but is not limited to the above-mentioned components.
[0081] Among them, through this computer-readable storage medium, the community mutual assistance and sharing transaction method based on blockchain and carbon assets of the above-mentioned embodiment is stored in a computer-readable storage medium, and is loaded and executed on a processor to facilitate the storage and application of the community mutual assistance and sharing transaction method based on blockchain and carbon assets.
[0082] The present invention is described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of ordinary technicians in the field without departing from the purpose of the present invention. Many other changes and modifications that do not depart from the concept and scope of the present invention should be regarded as the protection scope of the present invention.
[0083] In the description of this specification, specific features, structures, materials or characteristics may be combined in an appropriate manner in any one or more embodiments or examples.
[0084] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for implementing community mutual assistance and sharing transactions based on blockchain and carbon assets, characterized in that: The method comprises the following steps: Build a community carbon asset management center to manage the list of community members; each community member has a carbon asset account, and each community member's carbon asset account is a node in the blockchain; community members use carbon asset currency to pay for the services they enjoy; There are more than one mutual aid group among community members, and the list of members of the mutual aid group is deployed on the blockchain node; Each member maintains a real-time updated list of mutual aid groups and a priority queue Pi for other mutual aid members in his or her own blockchain node, as well as the upper limit Mi of the mutual aid amount for each member in the mutual aid group.
2. The community mutual assistance and sharing transaction method based on blockchain and carbon assets as claimed in claim 1, characterized in that: The mutual aid rules within the mutual aid group are as follows: S 2-1 : Mutual aid groups have unique numbers and consist of more than 2 people; S 2-2 : Each person in the group has a unique list of the group to which they belong, and each person can set the amount of funding for other members M, 0 <= M <= personal carbon assets S i ; S 2-3 : The recipients of the mutual aid group members set the funding priority for each donor in the group, and the accounts with higher priority will provide funding to them first; S 2-4 : When node i pays for a service, it will pay from its personal account first. If the personal account is insufficient, it will pay from the shared account. If the shared account is still insufficient, it will pay from the corresponding P i M set by the first priority member in the queue i Pay if M i If it is not enough to pay, then deduct M i The remaining difference is then deducted from the funding amount set by the second priority member; and so on.
3. The community mutual assistance and sharing transaction method based on blockchain and carbon assets as claimed in claim 2 is characterized in that: The following steps are also included: S 2-5 : All the above information, including the list of mutual aid groups maintained by each node, the mutual aid group ID, the funder priority queue, the funding amount M, and each transaction and operation, are written into the blockchain node, and each node saves the same copy.
4. The community mutual assistance and sharing transaction method based on blockchain and carbon assets as claimed in claim 1, characterized in that: The following steps are also included: Each mutual aid group builds a common shared account; members within the community mutual aid group realize mutual aid payments through the shared account.
5. The community mutual assistance and sharing transaction method based on blockchain and carbon assets as claimed in claim 4 is characterized in that: The shared payment rules between the shared account members include: S 5-1 : The shared account has a unique number; S 5-2 :Each member sets a shared quota X i , 0<=X i <=Personal Carbon Assets S i S 5-3 : When node i pays for a service, it will pay from its personal account first. If the personal account is insufficient, the remaining balance will be paid from the shared account. S 5-4 : All the above information, including the shared account ID maintained by each node, the shared quota X, the shared member list and each person’s shared member ID, every transaction and operation, are written into the blockchain node, and each node saves the same copy.
6. The community mutual assistance and sharing transaction method based on blockchain and carbon assets as claimed in claim 1, characterized in that: The monetary amount of the payment mentioned above depends on the duration of the service and the evaluation of the service recipient: When the actual service time of the service provider is T, and the service recipient's satisfaction score for the service provider is S%, 0≤S≤100, then the carbon asset currency paid for this service is C=T*S%.
7. The community mutual assistance and sharing transaction method based on blockchain and carbon assets as claimed in claim 6, characterized in that: Also includes: If a service recipient receives service from more than two service providers during a service provision activity, each service provider will be scored separately.
8. The community mutual assistance and sharing transaction method based on blockchain and carbon assets as claimed in claim 7, characterized in that: The method described is as follows: in a community mutual assistance service event, the service providers are A and B; the personal carbon asset currency of the service recipient is S, the service time provided by A is T1, and the service time provided by B is T2; 1) The service recipient gives the service provider A a satisfaction score of S1% and the service provider B a satisfaction score of S2% on the system; the currency that N needs to pay A is: T1*S1%=C1; the currency that the service recipient needs to pay B is: T2*S2%=C2; 2) If the personal assets of the service recipient S≥C1+C2, then C1+C2 will be deducted from the personal carbon asset account of the service recipient, and the monetary assets of A and B's personal accounts will be increased by C1 and C2; if the personal assets of the service recipient S≤C1+C2, then proceed to the next step; 3) The balance of the shared account of the service recipient is X. The balance after the service recipient pays the service fee from the personal account is C1+C2-S=H. If H≤X, H is deducted from the shared account, and the remaining real-time balance of the shared account is XH. If H>X, proceed to the next step. 4) The difference after the service recipient pays the service fee from the shared account is HX=I, which is deducted from the account of the first donor in the mutual aid member priority queue P belonging to the service recipient, and the maximum funding amount M1 set by the donor for the recipient N is read; If M1≥I, then I will be paid by its account, otherwise proceed to the next step; 5) The monetary difference that the recipient of the service currently needs to make up is I-M1, which is the remaining difference after deducting from the first-priority donor; read the maximum funding amount M2 set for N by the second-priority donor account of the listed priority P; if M2 ≥ I-M1, it will pay I-M1 on behalf of the recipient, otherwise proceed to the next step; 6) Similarly, when M n-1 <I-(M1+M2+…M n-2 ), the Nth priority donor account will be used to pay, and the maximum funding amount Mn set by the Nth priority donor for the service recipient is read. If Mn≥(M1+M2+…M n-1 ), then its account will pay I-(M1+M2+…M n-1 ).
9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, characterized in that: When the processor loads and executes the computer program, the community mutual assistance and sharing transaction method based on blockchain and carbon assets as described in claim 1 is adopted.
10. A computer-readable storage medium having a computer program stored therein, characterized in that: When the computer program is loaded and executed by the processor, the community mutual assistance and sharing transaction method based on blockchain and carbon assets as described in claim 1 is adopted.