CN114119175A - Carbon commodity transaction method, device, server, system and storage medium - Google Patents

Carbon commodity transaction method, device, server, system and storage medium Download PDF

Info

Publication number
CN114119175A
CN114119175A CN202210081594.8A CN202210081594A CN114119175A CN 114119175 A CN114119175 A CN 114119175A CN 202210081594 A CN202210081594 A CN 202210081594A CN 114119175 A CN114119175 A CN 114119175A
Authority
CN
China
Prior art keywords
carbon
transaction
commodity
payment
order
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210081594.8A
Other languages
Chinese (zh)
Inventor
米胜荣
姚锦丽
吴浩
梁开岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meijin Carbon Assets Operation Co ltd
Hydrogen Mountain Technology Co ltd
Original Assignee
Meijin Carbon Assets Operation Co ltd
Hydrogen Mountain Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meijin Carbon Assets Operation Co ltd, Hydrogen Mountain Technology Co ltd filed Critical Meijin Carbon Assets Operation Co ltd
Priority to CN202210081594.8A priority Critical patent/CN114119175A/en
Publication of CN114119175A publication Critical patent/CN114119175A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0609Buyer or seller confidence or verification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0611Request for offers or quotes

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a carbon commodity transaction method, a device, a server, a system and a storage medium, wherein the method comprises the following steps: the user terminal carries out identity verification according to the obtained user login information, if the identity verification is passed, carbon commodity ordering information is generated in response to a carbon commodity ordering instruction, the carbon commodity ordering information is sent to the server, the server creates a transaction order according to the type and the ordering quantity of the carbon commodities, the transaction order is sent to the user terminal, the user terminal carries out payment on a payment platform according to the payment type and the payment price contained in the transaction order, the server receives a payment success voucher returned by the payment platform, generates a transaction voucher according to the payment success voucher and the transaction order, and sends the transaction voucher to the user terminal.

Description

Carbon commodity transaction method, device, server, system and storage medium
Technical Field
The invention relates to the technical field of new energy, in particular to a carbon commodity transaction method, a device, a server, a system and a storage medium.
Background
Global climate change caused by greenhouse gas emission of carbon dioxide has become one of the major challenges facing human needs, and countries in the world should move to reduce emission of greenhouse gases to slow down climate change, and the realization of carbon neutralization in the middle of this century is the most fundamental measure for global coping with climate change.
The carbon emission trade refers to an important mechanism for promoting environmental protection by applying market economy, and allows enterprises to use or trade energy sources inside the enterprises and at home and abroad by using the reduced carbon emission amount on the premise that the total emission amount specified in the carbon emission trade is not broken through, so as to achieve the aim of carbon neutralization.
However, a standardized carbon emission trading method is not proposed at present, and a platform for managing carbon emission trading is urgently needed to achieve the purposes of scientifically managing carbon emission trading and improving the accuracy of carbon emission trading results.
Disclosure of Invention
The invention provides a carbon commodity transaction method, a device, a server, a system and a storage medium, and improves the accuracy of a carbon emission transaction result by providing a standardized carbon emission transaction method.
In a first aspect, the present invention provides a carbon commodity transaction method, applied to a server, the method including:
receiving carbon commodity ordering information sent by a user terminal, wherein the carbon commodity ordering information is generated according to a carbon commodity ordering instruction when the user terminal passes identity verification according to user login information;
creating a transaction order according to the type and the order quantity of the carbon commodities contained in the carbon commodity order information, and sending the transaction order to the user terminal, so that the user terminal pays on a payment platform according to the payment type and the payment price contained in the transaction order, and the payment platform sends the generated payment success voucher to the server;
and receiving a payment success certificate returned by the payment platform, generating a transaction certificate according to the payment success certificate and a transaction order, and sending the transaction certificate to the user terminal, wherein the transaction certificate comprises a carbon emission transaction right certificate and an order number.
In one possible design, before creating a trade order according to the type and the order quantity of the carbon commodity included in the carbon commodity order information, the method further includes:
obtaining the types and the number of the carbon commodities corresponding to all the carbon emission reduction quantities according to a preset carbon commodity metering model;
determining the unit price of each type of the carbon commodities according to a preset price setting rule, taking the number of the carbon commodities as the stock number, and setting commodity sales types according to the types of the carbon commodities;
and generating all carbon commodity display information to be traded according to the unit price of the type of the carbon commodity, the inventory quantity and the commodity sales type, and sending all the carbon commodity display information to be traded to a user terminal for displaying.
In one possible design, after creating a trade order according to the type and the order quantity of the carbon commodity included in the carbon commodity order information, the method further includes:
obtaining a label corresponding to the transaction order, wherein the label is determined by performing hash operation on the transaction order;
and if the data identical to the label does not exist in the database, storing the label into the database, otherwise, deleting the transaction order.
In one possible design, after creating a trade order according to the type and the order quantity of the carbon commodity included in the carbon commodity order information, the method further includes:
generating order state information according to the user login information, the type of the carbon commodity, the order quantity, the payment type and the payment price, wherein the order state information is to-be-paid;
correspondingly, before the receiving the payment success credential returned by the user terminal, the method further includes:
if the payment success voucher returned by the user terminal is not received within a preset time period, configuring the order state information into transaction failure;
correspondingly, after the sending the transaction credential to the user terminal, the method further comprises:
and configuring the order state information as transaction success according to the payment success voucher.
In one possible design, the payment types include online payments and offline payments;
if the payment type contained in the transaction order is online payment, the payment price contained in the transaction order comprises the unit price of the carbon commodity and the total payment price;
if the payment type contained in the transaction order is off-line payment, the payment price contained in the transaction order is the total payment price;
correspondingly, after the creating of the trade order according to the type and the order quantity of the carbon commodity contained in the carbon commodity order information, the method further comprises the following steps;
in response to the obtained price revision instruction, wherein the price revision instruction includes a revised price per unit of the carbon good and a total price paid;
if the payment type contained in the transaction order is online payment, the unit price of the carbon commodity and the total payment price in the transaction order are modified according to the unit price of the carbon commodity and the total payment price in the price revision instruction;
and if the payment type contained in the transaction order is off-line payment, modifying the total payment price in the transaction order according to the total payment price in the price revision instruction.
In one possible design, after the sending the display information of all carbon goods to be traded to the user terminal for displaying, the method further includes:
and responding to a newly added merchant instruction to be traded, configuring the commodity display information according to the information of the carbon commodity merchant to be traded contained in the newly added merchant instruction to be traded, wherein the information of the carbon commodity merchant contains at least one of a newly added carbon commodity merchant list, a newly added carbon commodity merchant association list and a carbon commodity association list.
In one possible design, the carbon commodity display information includes at least one of a carbon commodity name, a carbon commodity available amount, a number of carbon commodities per piece, a carbon commodity address, a carbon commodity type, a carbon commodity picture, and a carbon commodity price.
In one possible design, the type of commercial sale of the carbon commodity is one of an immediately upstream, downstream, and sold-out;
if the commodity sales type of the carbon commodity is to be put on shelf, setting the carbon commodity to be displayed at the user terminal, wherein the inventory number of the carbon commodity is zero;
if the commodity sales type of the carbon commodity is on-shelf, setting the carbon commodity to be displayed on the user terminal, wherein the inventory number of the carbon commodity is larger than zero;
if the commodity sales type of the carbon commodity is off-shelf, setting the carbon commodity not to be displayed at the user terminal, and setting the inventory number of the carbon commodity to be zero;
if the commodity sales type of the carbon commodities is sold out, setting the carbon commodities to be displayed at the user terminal, wherein the inventory quantity of the carbon commodities is zero;
accordingly, after the creating a trade order according to the type of the carbon commodity and the order quantity included in the carbon commodity order information, the method further includes:
and modifying the inventory quantity of the carbon commodities according to the ordered quantity, and determining the commodity sales type of the carbon commodities according to the inventory quantity.
In one possible design, the sending the transaction credential to the user terminal includes:
acquiring at least one transaction certificate corresponding to the user terminal, and sending all acquired transaction certificates to a user mailbox corresponding to the user terminal;
and if the transaction certificate is successfully sent, generating transaction success information according to the result of successful sending, and sending the transaction success information to the user terminal.
In a second aspect, the present invention provides a carbon commodity transaction method applied to a user terminal, the method including:
performing identity authentication according to the obtained user login information, and if the identity authentication is passed, responding to a carbon commodity ordering instruction to generate carbon commodity ordering information, wherein the carbon commodity ordering information comprises the type and the ordering number of ordered carbon commodities;
sending the carbon commodity ordering information to a server, so that the server creates a transaction order according to the type of the carbon commodity and the ordering quantity;
receiving a transaction order sent by the server, paying on a payment platform according to the payment type and the payment price contained in the transaction order, enabling the payment platform to send the generated successful payment voucher to the server, and enabling the server to generate a transaction voucher according to the successful payment voucher and the transaction order;
and receiving a transaction certificate sent by the server, wherein the transaction certificate comprises a carbon emission transaction right certificate and an order number.
In one possible design, before the authentication according to the obtained user login information, the method includes:
responding to a user registration instruction, completing identity registration according to a user identity and an identity verification result contained in the user registration instruction, and sending the user identity and a login key contained in the user registration instruction to the server, so that the server stores the user identity and the corresponding login key, wherein the user identity is a mobile phone number or an identity card number;
correspondingly, the authentication according to the obtained user login information includes:
responding to a user login instruction to obtain user login information, wherein the user login information comprises a user identity and a login key;
sending the user identity and the login key to the server, so that the server performs identity verification on the user identity and the login key;
and receiving an authentication result returned by the server, and judging whether the authentication passes according to the authentication result.
In one possible design, the performing the identity verification according to the obtained user login information includes:
acquiring a user identity identifier and a login token contained in the user login information, wherein the user identity identifier is a mobile phone number, and the login token is a short message verification code;
and sending the user identity identification and the login token to a third-party identity authentication platform, and judging whether identity authentication passes according to an authentication result returned by the third-party authentication platform.
In one possible design, after the authentication is passed, the method further includes;
responding to a carbon commodity issuing instruction, and generating carbon commodity shelving information, wherein the carbon commodity shelving information comprises the type of carbon commodities to be shelved and the quantity of the carbon commodities to be shelved;
and sending the carbon commodity shelving information to a server, so that the server creates new carbon commodity information according to the type of the carbon commodities to be shelved and the quantity to be shelved, wherein the commodity sales type of the new carbon commodities is pre-sale, and the inventory quantity of the new carbon commodities is the quantity to be shelved.
In a third aspect, the present invention provides a carbon goods transaction system, including at least one user terminal and a server:
the user terminal is used for performing identity authentication according to the obtained user login information, responding to a carbon commodity ordering instruction to generate carbon commodity ordering information if the identity authentication is passed, and sending the carbon commodity ordering information to the server, wherein the carbon commodity ordering information comprises the type and the ordering number of ordered carbon commodities;
the server is used for creating a trade order according to the type of the carbon commodity and the order quantity and sending the trade order to the user terminal;
the user terminal is also used for paying on a payment platform according to the payment type and the payment price contained in the transaction order;
the server is further used for receiving a payment success voucher returned by the payment platform, generating a transaction voucher according to the payment success voucher and a transaction order, and sending the transaction voucher to the user terminal, wherein the transaction voucher comprises a carbon emission transaction right certificate and an order number.
In a fourth aspect, the present invention provides a carbon commodity transaction apparatus applied to a server, including:
the receiving module is used for receiving carbon commodity ordering information sent by a user terminal, wherein the carbon commodity ordering information is generated according to a carbon commodity ordering instruction when the user terminal passes identity authentication according to user login information;
the creating module is used for creating a transaction order according to the type and the order quantity of the carbon commodities contained in the carbon commodity order information and sending the transaction order to the user terminal, so that the user terminal can pay on a payment platform according to the payment type and the payment price contained in the transaction order, and the payment platform can send the generated payment success voucher to the server;
and the sending module is used for receiving a payment success certificate returned by the payment platform, generating a transaction certificate according to the payment success certificate and the transaction order, and sending the transaction certificate to the user terminal, wherein the transaction certificate comprises a carbon emission transaction right certificate and an order number.
In a fifth aspect, the present invention provides a carbon goods transaction apparatus applied to a user terminal, including:
the generation module is used for performing identity authentication according to the obtained user login information, and if the identity authentication is passed, generating carbon commodity ordering information in response to a carbon commodity ordering instruction, wherein the carbon commodity ordering information comprises the type and the ordering number of ordered carbon commodities;
the sending module is used for sending the carbon commodity ordering information to a server so that the server creates a transaction order according to the type of the carbon commodity and the ordering quantity;
the payment module is used for receiving the transaction order sent by the server, paying on a payment platform according to the payment type and the payment price contained in the transaction order, enabling the payment platform to send the generated payment success voucher to the server, and enabling the server to generate a transaction voucher according to the payment success voucher and the transaction order;
and the receiving module is used for receiving the transaction certificate sent by the server, wherein the transaction certificate comprises a carbon emission transaction right certificate and an order number.
In a sixth aspect, the present invention provides a server, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the carbon commodity transaction method as set forth in the first aspect above and in various possible designs of the first aspect.
In a seventh aspect, the present invention provides an electronic device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the carbon commodity transaction method as set forth in the second aspect above and in various possible designs of the second aspect.
In an eighth aspect, the present invention provides a computer storage medium having stored thereon computer executable instructions which, when executed by a processor, implement the carbon commodity transaction method as described above in the first aspect and various possible designs of the first aspect or various possible designs of the second aspect and various possible designs of the second aspect.
In a ninth aspect, the present invention provides a computer program product, wherein the computer storage medium has stored thereon computer executable instructions, which when executed by a processor, implement the carbon commodity transaction method as described above in the first aspect and various possible designs of the first aspect or various possible designs of the second aspect and various possible designs of the second aspect.
The carbon commodity transaction method, the device, the server, the system and the storage medium provided by the invention provide a platform for scientifically managing carbon emission transactions, and the purposes of scientifically managing carbon emission transactions and improving the accuracy of carbon emission transaction results are achieved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a carbon commodity transaction system according to an embodiment of the present invention;
FIG. 2 is a first flowchart of a carbon commodity transaction method according to an embodiment of the present invention;
fig. 3 is a second schematic flow chart of a carbon commodity transaction method according to an embodiment of the present invention;
fig. 4 is a third schematic flow chart of a carbon commodity transaction method according to an embodiment of the present invention;
fig. 5 is a first schematic structural diagram of a carbon commodity transaction apparatus according to an embodiment of the present invention;
fig. 6 is a second schematic structural diagram of a carbon commodity transaction apparatus according to an embodiment of the present invention;
fig. 7 is a schematic hardware structure diagram of a server according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic structural diagram of a carbon commodity transaction system according to an embodiment of the present invention. As shown in fig. 1, the carbon commodity transaction system according to the embodiment of the present invention includes a user terminal 101 and a server 102.
It is understood that the number of user terminals 101 and the number of servers 102 shown in fig. 1 are only one example, and the present disclosure does not limit it. The user terminal 101 and the server 102 establish a connection through a communication network, and optionally, the user terminal 101 may be a mobile phone terminal or a notebook computer terminal.
For example, a client for performing a carbon commodity transaction is installed on the user terminal 101, and a user can input user login information on the client, so that the user terminal 101 performs authentication according to the obtained user login information, and when the authentication passes, the user terminal 101 generates a carbon commodity ordering instruction according to the carbon commodity ordering information input by the user, and sends the carbon commodity ordering information to the server 102. The server 102 creates a transaction order according to the type and the order quantity of the carbon goods, sends the transaction order to the user terminal 101, the user terminal 101 pays on the payment platform according to the payment type and the payment price contained in the transaction order, the server 102 receives a payment success certificate returned by the payment platform, generates a transaction certificate according to the payment success certificate and the transaction order, and sends the transaction certificate to the user terminal 101.
Fig. 2 is a first schematic flow chart of a carbon commodity transaction method according to an embodiment of the present invention. On the basis of the carbon commodity transaction system provided in fig. 1, as shown in fig. 2, the carbon commodity transaction method provided in the embodiment of the present invention includes:
s201: and the user terminal performs identity authentication according to the obtained user login information, if the identity authentication is passed, the carbon commodity ordering information is generated in response to the carbon commodity ordering instruction, and the carbon commodity ordering information is sent to the server, wherein the carbon commodity ordering information comprises the type and the ordering number of the ordered carbon commodities.
In the embodiment of the invention, the user terminal can be a mobile phone terminal or a notebook computer terminal. The user terminal is provided with a client-side applet or an application program for carbon commodity transaction, and the user can input user login information on the client side or a notebook computer terminal. And the user terminal performs identity authentication according to the obtained user login information. And the user terminal completes user registration according to the registration information input by the user on the client. Specifically, the user terminal completes identity registration according to a user identity and an identity verification result contained in the user registration instruction, sends the user identity and a login key contained in the user registration instruction to the server, and the server stores the user identity and the corresponding login key in a database for managing user information. Specifically, the user id may be a mobile phone number or an identification number. For example, an enterprise user may register with a mobile phone number of a uniquely specified contact, and an individual user needs to obtain a registration verification short message according to the mobile phone number to ensure that the individual user is self-registered. The server can manage the stored user data, and specifically set user new information, user basic information viewing and modification, user permission viewing and modification and user account starting and stopping.
In the embodiment of the invention, after the user is successfully registered, the user inputs the user login information on the client of the user terminal. Specifically, the user terminal obtains user login information according to the user login instruction, the obtained user login information comprises a user identity and a login key, the user identity and the login key are sent to the server, and the server performs identity authentication on the user identity and the login key; and receiving an authentication result returned by the server, and judging whether the authentication passes according to the authentication result. For example, after the authentication passes, the user only needs to log in once to access a plurality of application systems which are mutually authenticated and share the user identity information. The server sets the authority of the user according to the identity information of the user, and specifically sets the access authority of the subsystem, the access authority of the module and the access authority of the data.
In the embodiment of the present invention, the user identity and the login token included in the user login information may also be obtained, and specifically, the login token is a short message authentication code. And the user terminal sends the user identity identification and the login token to the third-party identity authentication platform, and judges whether the identity authentication passes according to an authentication result returned by the third-party authentication platform. Specifically, the third party verification platform performs identity verification in the form of an App Key and an App Secret, and the third party verification platform can also provide a function of refreshing an authorization Key. Specifically, the expiration time of the login token is set to 7 days, and when the user switches from the applet to another terminal, the login token needs to be input again. For example, parameters of a login interface can be added to the login token to distinguish different login terminals.
Illustratively, to prevent malicious spoofing by third parties, a blacklist mechanism may be employed. Specifically, it is verified whether the network address of the user terminal is in the blacklist, and when the terminal of the same network address consecutively requests 10 times in 5 minutes, the network address is added to the blacklist.
S202: and the server creates a trade order according to the type and the order quantity of the carbon commodities and sends the trade order to the user terminal.
In an embodiment of the present invention, the server checks the inventory each time before creating a trade order. In order to deal with the situation that the data concurrency is large, the locking is also carried out by setting the version number in a database for managing trading orders. After creating a trade order according to the type of the carbon goods and the order quantity contained in the carbon goods order information, the inventory quantity of the carbon goods is modified according to the order quantity, and the goods sales type of the carbon goods is determined according to the inventory quantity.
In the embodiment of the present invention, in order to prevent the order from being repeatedly submitted, the hash operation may be performed on the transaction order, and the obtained hash value is used as the label corresponding to the transaction order. And if the data identical to the label does not exist in the redis database, storing the label into the redis database. If the same data as the tag exists in the redis database, it indicates that a duplicate trade order is created and the trade order is deleted.
S203: and the user terminal carries out payment on the payment platform according to the payment type and the payment price contained in the transaction order.
In embodiments of the present invention, the payment types include online payments as well as offline payments. Illustratively, the online payment includes WeChat payment and Payment, and the offline payment is offline payment for public. Specifically, when the payment amount is higher than the preset amount, the payment type is set to be offline payment, and when the payment amount is smaller than the preset amount, the payment type is set to be online payment. Or when the user is an enterprise user, setting the payment type as off-line payment, and when the user is an individual user, setting the payment type as on-line payment. If the payment type contained in the transaction order is online payment, the payment price contained in the transaction order comprises the unit price of the carbon commodity and the total payment price; if the payment type included in the trade order is the off-line payment, the payment price included in the trade order is the total payment price. In the embodiment of the present invention, after creating the trade order according to the type and the order quantity of the carbon goods contained in the carbon goods order information, the obtained price revision instruction contains the revised unit price of the carbon goods and the payment total price. If the payment type contained in the trading order is online payment, the unit price of the carbon commodity and the total payment price in the trading order are modified according to the unit price of the carbon commodity and the total payment price in the price revision instruction; and if the payment type contained in the transaction order is offline payment, modifying the total payment price in the transaction order according to the total payment price in the price revision instruction.
S204: the server receives a payment success voucher returned by the payment platform, generates a transaction voucher according to the payment success voucher and a transaction order, and sends the transaction voucher to the user terminal, wherein the transaction voucher comprises a carbon emission transaction right certificate and an order number.
In the embodiment of the invention, the server manages the order information of the transaction. Illustratively, the server generates order state information according to the user login information, the type of the carbon goods, the order quantity, the payment type and the payment price, and at the moment, the order state information is set to be paid; if the server returns a payment failure certificate for receiving the user terminal within a preset time period, the order state information is set as transaction failure; and after the transaction certificate is sent to the user terminal, setting the order state information as transaction success according to the payment success certificate.
In the embodiment of the invention, at least one transaction certificate corresponding to a user terminal is obtained, and all the obtained transaction certificates are sent to a user mailbox corresponding to the user terminal; and if the transaction certificate is successfully sent, generating transaction success information according to the result of successful sending, and sending the transaction success information to the user terminal. Specifically, the transaction certificates belonging to the same user are screened out, and all the obtained transaction certificates are sent to the user mailbox corresponding to the user terminal. Wherein the user mailbox information is registered when the user registers. After the mail is successfully sent, the transaction success information is sent according to the registered mobile phone number, the user is reminded to log in the mailbox to check and receive the transaction certificate, and the carbon emission transaction right certificate and the order number contained in the transaction certificate are confirmed in time.
The carbon commodity transaction method provided by the embodiment of the invention generates the carbon commodity ordering information by setting the user terminal to respond to the carbon commodity ordering instruction, and transmits the ordering information of the carbon goods to the server, the server creates a trade order according to the type and the ordering quantity of the carbon goods, and sends the transaction order to the user terminal, so that the user terminal pays on the payment platform according to the payment type and the payment price contained in the transaction order, the server generates a transaction voucher according to the payment success voucher returned by the payment platform and the transaction order, and sends the transaction certificate to the user terminal to remind the user to confirm the carbon emission transaction right certificate and the order number contained in the transaction certificate, all information is managed, a platform for scientifically managing carbon emission transaction is provided, and the purposes of scientifically managing carbon emission transaction and improving the accuracy of carbon emission transaction results are achieved.
Fig. 3 is a schematic flow chart of a carbon commodity transaction method according to an embodiment of the present invention, where an execution subject of the embodiment may be a server in the embodiment shown in fig. 1, and the embodiment is not limited herein. As shown in fig. 3, the method includes:
s301: and receiving carbon commodity ordering information sent by the user terminal, wherein the carbon commodity ordering information is generated according to a carbon commodity ordering instruction when the user terminal passes the authentication according to the user login information.
In the embodiment of the invention, the server obtains the types and the number of the carbon commodities corresponding to all the carbon emission reduction quantities according to a preset carbon commodity metering model; determining the unit price of each type of the carbon commodities according to a preset price setting rule, taking the number of the carbon commodities as the stock number, and setting commodity sales types according to the types of the carbon commodities; and generating all carbon commodity display information to be traded according to the unit price, the stock quantity and the commodity sales type of the carbon commodity, and sending all the carbon commodity display information to be traded to the user terminal for displaying. In an embodiment of the present invention, the carbon commodity display information includes at least one of a carbon commodity name, a carbon commodity available amount, a number of each carbon commodity, a carbon commodity address, a carbon commodity type, a carbon commodity picture, and a carbon commodity price. For example, the backend manager may set and modify the trade names of all the carbon commodities to be traded, sort the commodities in question, edit icons, and the like through the server.
For example, the carbon commodity metering model is preset to calculate carbon neutralization quantities corresponding to different carbon emission reduction quantities. The carbon emission reduction amount of all carbon commodities to be traded is known, the unit is ton, the carbon emission reduction amount is the existing non-pre-sold commodities, all the carbon commodities to be traded can be delivered to a warehouse in a commodity form, the unit price of each type of the carbon commodities is determined according to the preset price setting rule, the quantity of the carbon commodities on and off shelves and the quantity of the warehouse can be controlled, and all the carbon commodities to be traded can only be traded on the platform provided by the embodiment of the invention.
In an embodiment of the present invention, the commodity sales type of the carbon commodity is one of an about-to-be-put-on-shelf, an about-to-be-put-off shelf, and a sold-out shelf; if the commodity sales type of the carbon commodity is to be put on shelf, setting the carbon commodity to be displayed at a user terminal, wherein the inventory quantity of the carbon commodity is zero; if the commodity sales type of the carbon commodities is on shelf, setting the carbon commodities to be displayed at a user terminal, wherein the inventory quantity of the carbon commodities is more than zero; if the commodity sales type of the carbon commodities is off-shelf, setting the carbon commodities not to be displayed at the user terminal, and setting the inventory quantity of the carbon commodities to be zero; if the commodity sales type of the carbon commodities is sold out, the carbon commodities are set to be displayed at the user terminal, and the inventory quantity of the carbon commodities is zero.
In the embodiment of the invention, the server also provides an interface for adding the carbon transaction merchant. Specifically, the server configures the commodity display information according to the carbon commodity merchant information to be traded, which is included in the newly added merchant instruction to be traded, wherein the carbon commodity merchant information includes at least one of a newly added carbon commodity merchant list, a newly added carbon commodity merchant association list and a carbon commodity association list.
S302: and creating a transaction order according to the type and the order quantity of the carbon commodities contained in the carbon commodity order information, sending the transaction order to the user terminal, paying in the payment platform by the user terminal according to the payment type and the payment price contained in the transaction order, and sending the generated payment success voucher to the server by the payment platform.
S303: and receiving a payment success certificate returned by the payment platform, generating a transaction certificate according to the payment success certificate and the transaction order, and sending the transaction certificate to the user terminal, wherein the transaction certificate comprises a carbon emission transaction right certificate and an order number.
The steps S302 to S303 are similar to the method and effect implemented by steps S202 to S204 in the embodiment of fig. 2, and are not described herein again.
According to the carbon commodity transaction method provided by the embodiment of the invention, the type and the number of carbon commodities corresponding to all carbon emission reduction quantities are obtained through the setting server according to the preset carbon commodity metering model; the unit price of each type of carbon commodity is determined according to a preset price setting rule so as to obtain the display information of all the carbon commodities to be traded, so that all the carbon commodities to be traded displayed by the user terminal are added with the carbon commodities of the shopping cart, and a trading platform for scientifically managing the carbon commodities to be ordered is provided.
Fig. 4 is a third schematic flow chart of a carbon commodity transaction method according to an embodiment of the present invention, where an execution subject of the embodiment may be a user terminal in the embodiment shown in fig. 1, and the embodiment is not limited herein. As shown in fig. 4, the method includes:
s401: and performing identity authentication according to the obtained user login information, and if the identity authentication is passed, responding to a carbon commodity ordering instruction to generate carbon commodity ordering information, wherein the carbon commodity ordering information comprises the type and the ordering number of ordered carbon commodities.
In the embodiment of the invention, the carbon commodity shelving information is generated in response to the carbon commodity issuing instruction, wherein the carbon commodity shelving information comprises the type and the quantity of the carbon commodities to be shelved; and sending the carbon commodity shelving information to a server, and creating new carbon commodity information by the server according to the type and the quantity of the carbon commodities to be shelved, wherein the commodity sales type of the new carbon commodities is pre-sold, and the stock quantity of the new carbon commodities is the quantity of the carbon commodities to be shelved. For example, the carbon commodity released by the user is the own carbon resource of the user, and the user may also trade the carbon commodity online. The authenticity and the quantity authenticity of the carbon commodities issued by the user cannot be determined, so that the commodity sales type of the carbon commodities issued by the user is set to be pre-sold, after the commodity sales type passes the verification, the stock quantity is set according to the actual quantity, and the commodity sales type is modified to be put on shelves or to be put on shelves.
S402: and sending the ordering information of the carbon commodities to a server, and creating a trading order by the server according to the types and the ordering quantity of the carbon commodities.
S403: and receiving the transaction order sent by the server, paying on a payment platform according to the payment type and the payment price contained in the transaction order, sending the generated payment success voucher to the server by the payment platform, and enabling the server to generate the transaction voucher according to the payment success voucher and the transaction order.
S404: and receiving a transaction certificate sent by the server, wherein the transaction certificate comprises a carbon emission transaction right certificate and an order number.
Steps S401 to S404 are similar to the method and effect realized by steps S201 to S204 in the embodiment of fig. 2, and are not described again here.
The carbon commodity transaction method provided by the embodiment meets the requirement of a user for selling own carbon commodity resources by providing the interface for releasing the carbon commodity for the user, and achieves the purpose of scientifically managing carbon emission transaction.
Fig. 5 is a first schematic structural diagram of a carbon commodity transaction apparatus according to an embodiment of the present invention. As shown in fig. 5, the carbon commodity transaction apparatus 50 includes: a receiving module 501, a creating module 502 and a sending module 503.
A receiving module 501, configured to receive carbon commodity ordering information sent by a user terminal, where the carbon commodity ordering information is generated according to a carbon commodity ordering instruction when the user terminal passes authentication according to user login information;
a creating module 502, configured to create a transaction order according to the type and the order quantity of the carbon goods included in the carbon goods order information, and send the transaction order to the user terminal, so that the user terminal performs payment on a payment platform according to the payment type and the payment price included in the transaction order, and the payment platform sends the generated payment success credential to the server;
the sending module 503 is configured to receive a payment success credential returned by the payment platform, generate a transaction credential according to the payment success credential and the transaction order, and send the transaction credential to the user terminal, where the transaction credential includes a carbon emission transaction right certificate and an order number.
In a possible implementation manner, the carbon commodity transaction device further includes a display module, and the display module is specifically configured to obtain types and numbers of carbon commodities corresponding to all carbon emission reductions according to a preset carbon commodity metering model; determining the unit price of each type of the carbon commodities according to a preset price setting rule, taking the number of the carbon commodities as the stock number, and setting commodity sales types according to the types of the carbon commodities; and generating all carbon commodity display information to be traded according to the unit price of the type of the carbon commodity, the inventory quantity and the commodity sales type, and sending all the carbon commodity display information to be traded to a user terminal for displaying.
In a possible implementation manner, the carbon commodity trading device further includes an obtaining module, where the obtaining module is specifically configured to obtain a label corresponding to the trading order, where the label is determined by performing a hash operation on the trading order; and if the data identical to the label does not exist in the database, storing the label into the database, otherwise, deleting the transaction order.
In a possible implementation manner, the carbon commodity transaction apparatus further includes a generation module, where the generation module is specifically configured to generate order status information according to the user login information, the type of the carbon commodity, the order quantity, the payment type, and the payment price, where the order status information is to-be-paid.
In a possible implementation manner, the carbon commodity transaction apparatus further includes a configuration module, where the configuration module is specifically configured to configure the order state information as a transaction failure if a payment failure credential returned by the user terminal is not received within a preset time period; the configuration module is further used for configuring the order state information into transaction success according to the payment success voucher.
In one possible implementation, the payment types include online payments and offline payments; if the payment type contained in the transaction order is online payment, the payment price contained in the transaction order comprises the unit price of the carbon commodity and the total payment price; if the payment type contained in the transaction order is offline payment, the payment price contained in the transaction order is a total payment price, and the carbon commodity transaction device further comprises a price revision module, specifically, used for responding to the obtained price revision instruction, wherein the price revision instruction contains the revised unit price of the carbon commodity and the total payment price; if the payment type contained in the transaction order is online payment, the unit price of the carbon commodity and the total payment price in the transaction order are modified according to the unit price of the carbon commodity and the total payment price in the price revision instruction; and if the payment type contained in the transaction order is off-line payment, modifying the total payment price in the transaction order according to the total payment price in the price revision instruction.
In a possible implementation manner, the carbon commodity transaction apparatus further includes a newly added module, where the newly added module is specifically configured to respond to a newly added to-be-transacted merchant instruction, and configure the commodity display information according to carbon commodity merchant information to be transacted, which is included in the newly added to-be-transacted merchant instruction, where the carbon commodity merchant information includes at least one of a newly added carbon commodity account table, a newly added carbon commodity merchant association table, and a carbon commodity association table.
In one possible implementation manner, the carbon commodity transaction device further includes a setting module, where the setting module is specifically configured to set the carbon commodity to be displayed at the user terminal if the commodity sales type of the carbon commodity is that the carbon commodity is about to be put on shelf, and the inventory number of the carbon commodity is zero; if the commodity sales type of the carbon commodity is on-shelf, setting the carbon commodity to be displayed on the user terminal, wherein the inventory number of the carbon commodity is larger than zero; if the commodity sales type of the carbon commodity is off-shelf, setting the carbon commodity not to be displayed at the user terminal, and setting the inventory number of the carbon commodity to be zero; if the commodity sales type of the carbon commodities is sold out, the carbon commodities are set to be displayed at the user terminal, and the inventory quantity of the carbon commodities is zero. The setting module is also used for modifying the stock quantity of the carbon commodities according to the ordered quantity and determining the commodity sales type of the carbon commodities according to the stock quantity
In a possible implementation manner, the sending module 503 is specifically configured to obtain at least one transaction credential corresponding to the user terminal, and send all obtained transaction credentials to a user mailbox corresponding to the user terminal; and if the transaction certificate is successfully sent, generating transaction success information according to the result of successful sending, and sending the transaction success information to the user terminal.
The apparatus provided in this embodiment may be used to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of a carbon commodity transaction apparatus according to an embodiment of the present invention. As shown in fig. 6, the carbon commodity transaction apparatus 60 includes: a generation module 601, a sending module 602, a payment module 603, and a receiving module 604.
A generating module 601, configured to perform identity authentication according to the obtained user login information, and if the identity authentication passes, generate carbon commodity ordering information in response to a carbon commodity ordering instruction, where the carbon commodity ordering information includes a type and an order number of ordered carbon commodities;
a sending module 602, configured to send the carbon commodity ordering information to a server, so that the server creates a transaction order according to the type of the carbon commodity and the ordering amount;
a payment module 603, configured to receive the transaction order sent by the server, perform payment on a payment platform according to the payment type and the payment price included in the transaction order, so that the payment platform sends the generated successful payment credential to the server, and the server generates a transaction credential according to the successful payment credential and the transaction order;
the receiving module 604 is configured to receive a transaction certificate sent by the server, where the transaction certificate includes a carbon emission transaction right certificate and an order number.
In a possible implementation manner, the carbon commodity transaction device further includes a registration module, where the registration module is specifically configured to respond to a user registration instruction, complete identity registration according to a user identity and an identity verification result included in the user registration instruction, and send the user identity and a login key included in the user registration instruction to the server, so that the server stores the user identity and a corresponding login key, where the user identity is a mobile phone number or an identity card number.
In a possible implementation manner, the generating module is specifically configured to obtain user login information in response to a user login instruction, where the user login information includes a user identity and a login key; sending the user identity and the login key to the server, so that the server performs identity verification on the user identity and the login key; and receiving an authentication result returned by the server, and judging whether the authentication passes according to the authentication result.
In a possible implementation manner, the generating module is specifically configured to obtain a user identity and a login token included in the user login information, where the user identity is a mobile phone number, and the login token is a short message authentication code; and sending the user identity identification and the login token to a third-party identity authentication platform, and judging whether identity authentication passes according to an authentication result returned by the third-party authentication platform.
In a possible implementation manner, the carbon commodity transaction apparatus further includes a shelving module, where the shelving module is specifically configured to generate shelving information of the carbon commodities in response to a carbon commodity issuing instruction, where the shelving information of the carbon commodities includes types of carbon commodities to be shelved and numbers of the carbon commodities to be shelved; and sending the carbon commodity shelving information to a server, so that the server creates new carbon commodity information according to the type of the carbon commodities to be shelved and the quantity to be shelved, wherein the commodity sales type of the new carbon commodities is pre-sale, and the inventory quantity of the new carbon commodities is the quantity to be shelved.
The apparatus provided in this embodiment may be used to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 7 is a schematic diagram of a hardware structure of a server according to an embodiment of the present invention. As shown in fig. 7, the server of the present embodiment includes: a processor 701 and a memory 702; wherein
A memory 702 for storing computer-executable instructions;
the processor 701 is configured to execute the computer execution instructions stored in the memory to implement the steps performed by the server in the above embodiments. Reference may be made in particular to the description relating to the method embodiments described above.
Alternatively, the memory 702 may be separate or integrated with the processor 701.
When the memory 702 is provided separately, the server further includes a bus 703 for connecting the memory 702 and the processor 701.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention. As shown in fig. 8, the electronic apparatus of the present embodiment includes: a processor 801 and a memory 802; wherein
A memory 802 for storing computer-executable instructions;
the processor 801 is configured to execute the computer-executable instructions stored in the memory to implement the steps performed by the electronic device in the above embodiments. Reference may be made in particular to the description relating to the method embodiments described above.
Alternatively, the memory 802 may be separate or integrated with the processor 801.
When the memory 802 is provided separately, the electronic device further includes a bus 803 for connecting the memory 802 and the processor 801.
The embodiment of the invention also provides a computer storage medium, wherein a computer executing instruction is stored in the computer storage medium, and when a processor executes the computer executing instruction, the carbon commodity transaction method is realized.
An embodiment of the present invention further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the method for trading a carbon commodity as described above is implemented. An embodiment of the present invention further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the method for trading a carbon commodity as described above is implemented.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of modules may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to implement the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The unit formed by the modules can be realized in a hardware form, and can also be realized in a form of hardware and a software functional unit.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute some steps of the methods described in the embodiments of the present application.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium may reside as discrete components in an electronic device or host device.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (20)

1. A carbon commodity transaction method is applied to a server, and the method comprises the following steps:
receiving carbon commodity ordering information sent by a user terminal, wherein the carbon commodity ordering information is generated according to a carbon commodity ordering instruction when the user terminal passes identity verification according to user login information;
creating a transaction order according to the type and the order quantity of the carbon commodities contained in the carbon commodity order information, and sending the transaction order to the user terminal, so that the user terminal pays on a payment platform according to the payment type and the payment price contained in the transaction order, and the payment platform sends the generated payment success voucher to the server;
and receiving a payment success certificate returned by the payment platform, generating a transaction certificate according to the payment success certificate and a transaction order, and sending the transaction certificate to the user terminal, wherein the transaction certificate comprises a carbon emission transaction right certificate and an order number.
2. The method according to claim 1, further comprising, before creating a trade order according to the type and the order quantity of the carbon goods included in the carbon goods order information:
obtaining the types and the number of the carbon commodities corresponding to all the carbon emission reduction quantities according to a preset carbon commodity metering model;
determining the unit price of each type of the carbon commodities according to a preset price setting rule, taking the number of the carbon commodities as the stock number, and setting commodity sales types according to the types of the carbon commodities;
and generating all carbon commodity display information to be traded according to the unit price of the type of the carbon commodity, the inventory quantity and the commodity sales type, and sending all the carbon commodity display information to be traded to a user terminal for displaying.
3. The method according to claim 1, further comprising, after creating a trade order according to the type and the order quantity of the carbon goods included in the carbon goods order information:
obtaining a label corresponding to the transaction order, wherein the label is determined by performing hash operation on the transaction order;
and if the data identical to the label does not exist in the database, storing the label into the database, otherwise, deleting the transaction order.
4. The method according to claim 1, further comprising, after creating a trade order according to the type and the order quantity of the carbon goods included in the carbon goods order information:
generating order state information according to the user login information, the type of the carbon commodity, the order quantity, the payment type and the payment price, wherein the order state information is to-be-paid;
correspondingly, before the receiving the payment success credential returned by the user terminal, the method further includes:
if a payment failure certificate is returned for receiving the user terminal within a preset time period, configuring the order state information as transaction failure;
correspondingly, after the sending the transaction credential to the user terminal, the method further comprises:
and configuring the order state information as transaction success according to the payment success voucher.
5. The method of claim 1, wherein the payment types include online payments and offline payments, the method further comprising:
if the payment type contained in the transaction order is online payment, the payment price contained in the transaction order comprises the unit price of the carbon commodity and the total payment price;
if the payment type contained in the transaction order is off-line payment, the payment price contained in the transaction order is the total payment price;
correspondingly, after the creating of the trade order according to the type and the order quantity of the carbon commodity contained in the carbon commodity order information, the method further comprises the following steps;
in response to the obtained price revision instruction, wherein the price revision instruction includes a revised price per unit of the carbon good and a total price paid;
if the payment type contained in the transaction order is online payment, the unit price of the carbon commodity and the total payment price in the transaction order are modified according to the unit price of the carbon commodity and the total payment price in the price revision instruction;
and if the payment type contained in the transaction order is off-line payment, modifying the total payment price in the transaction order according to the total payment price in the price revision instruction.
6. The method as claimed in claim 2, wherein after sending the display information of all the carbon goods to be traded to the user terminal for display, the method further comprises:
and responding to a newly added merchant instruction to be traded, configuring the commodity display information according to the information of the carbon commodity merchant to be traded contained in the newly added merchant instruction to be traded, wherein the information of the carbon commodity merchant contains at least one of a newly added carbon commodity merchant list, a newly added carbon commodity merchant association list and a carbon commodity association list.
7. The method of claim 2, wherein the carbon goods presentation information comprises at least one of a carbon goods name, a carbon goods availability, a number of carbon goods per piece, a carbon goods address, a carbon goods type, a carbon goods picture, and a carbon goods price.
8. The method of claim 2, wherein the type of commercial sale of the carbon commodity is one of an immediately upstream shelf, an upstream shelf, a downstream shelf, and a sold-out portion, the method further comprising:
if the commodity sales type of the carbon commodity is to be put on shelf, setting the carbon commodity to be displayed at the user terminal, wherein the inventory number of the carbon commodity is zero;
if the commodity sales type of the carbon commodity is on-shelf, setting the carbon commodity to be displayed on the user terminal, wherein the inventory number of the carbon commodity is larger than zero;
if the commodity sales type of the carbon commodity is off-shelf, setting the carbon commodity not to be displayed at the user terminal, and setting the inventory number of the carbon commodity to be zero;
if the commodity sales type of the carbon commodities is sold out, setting the carbon commodities to be displayed at the user terminal, wherein the inventory quantity of the carbon commodities is zero;
accordingly, after the creating a trade order according to the type of the carbon commodity and the order quantity included in the carbon commodity order information, the method further includes:
and modifying the inventory quantity of the carbon commodities according to the ordered quantity, and determining the commodity sales type of the carbon commodities according to the inventory quantity.
9. The method of any of claims 1 to 8, wherein sending the transaction credentials to the user terminal comprises:
acquiring at least one transaction certificate corresponding to the user terminal, and sending all acquired transaction certificates to a user mailbox corresponding to the user terminal;
and if the transaction certificate is successfully sent, generating transaction success information according to the result of successful sending, and sending the transaction success information to the user terminal.
10. A carbon commodity transaction method is applied to a user terminal, and the method comprises the following steps:
performing identity authentication according to the obtained user login information, and if the identity authentication is passed, responding to a carbon commodity ordering instruction to generate carbon commodity ordering information, wherein the carbon commodity ordering information comprises the type and the ordering number of ordered carbon commodities;
sending the carbon commodity ordering information to a server, so that the server creates a transaction order according to the type of the carbon commodity and the ordering quantity;
receiving a transaction order sent by the server, paying on a payment platform according to the payment type and the payment price contained in the transaction order, enabling the payment platform to send the generated successful payment voucher to the server, and enabling the server to generate a transaction voucher according to the successful payment voucher and the transaction order;
and receiving a transaction certificate sent by the server, wherein the transaction certificate comprises a carbon emission transaction right certificate and an order number.
11. The method of claim 10, prior to said authenticating based on the obtained user login information, comprising:
responding to a user registration instruction, completing identity registration according to a user identity and an identity verification result contained in the user registration instruction, and sending the user identity and a login key contained in the user registration instruction to the server, so that the server stores the user identity and the corresponding login key, wherein the user identity is a mobile phone number or an identity card number;
correspondingly, the authentication according to the obtained user login information includes:
responding to a user login instruction to obtain user login information, wherein the user login information comprises a user identity and a login key;
sending the user identity and the login key to the server, so that the server performs identity verification on the user identity and the login key;
and receiving an authentication result returned by the server, and judging whether the authentication passes according to the authentication result.
12. The method of claim 10, wherein the performing authentication based on the obtained user login information comprises:
acquiring a user identity identifier and a login token contained in the user login information, wherein the user identity identifier is a mobile phone number, and the login token is a short message verification code;
and sending the user identity identification and the login token to a third-party identity authentication platform, and judging whether identity authentication passes according to an authentication result returned by the third-party authentication platform.
13. The method according to any one of claims 10 to 12, further comprising, after the authentication is passed;
responding to a carbon commodity issuing instruction, and generating carbon commodity shelving information, wherein the carbon commodity shelving information comprises the type of carbon commodities to be shelved and the quantity of the carbon commodities to be shelved;
and sending the carbon commodity shelving information to a server, so that the server creates new carbon commodity information according to the type of the carbon commodities to be shelved and the quantity to be shelved, wherein the commodity sales type of the new carbon commodities is pre-sale, and the inventory quantity of the new carbon commodities is the quantity to be shelved.
14. A carbon commodity transaction system is characterized by comprising at least one user terminal and a server:
the user terminal is used for performing identity authentication according to the obtained user login information, responding to a carbon commodity ordering instruction to generate carbon commodity ordering information if the identity authentication is passed, and sending the carbon commodity ordering information to the server, wherein the carbon commodity ordering information comprises the type and the ordering number of ordered carbon commodities;
the server is used for creating a trade order according to the type of the carbon commodity and the order quantity and sending the trade order to the user terminal;
the user terminal is also used for paying on a payment platform according to the payment type and the payment price contained in the transaction order;
the server is further used for receiving a payment success voucher returned by the payment platform, generating a transaction voucher according to the payment success voucher and a transaction order, and sending the transaction voucher to the user terminal, wherein the transaction voucher comprises a carbon emission transaction right certificate and an order number.
15. A carbon commodity transaction device is applied to a server and comprises:
the receiving module is used for receiving carbon commodity ordering information sent by a user terminal, wherein the carbon commodity ordering information is generated according to a carbon commodity ordering instruction when the user terminal passes identity authentication according to user login information;
the creating module is used for creating a transaction order according to the type and the order quantity of the carbon commodities contained in the carbon commodity order information and sending the transaction order to the user terminal, so that the user terminal can pay on a payment platform according to the payment type and the payment price contained in the transaction order, and the payment platform can send the generated payment success voucher to the server;
and the sending module is used for receiving a payment success certificate returned by the payment platform, generating a transaction certificate according to the payment success certificate and the transaction order, and sending the transaction certificate to the user terminal, wherein the transaction certificate comprises a carbon emission transaction right certificate and an order number.
16. A carbon commodity transaction device is applied to a user terminal and comprises:
the generation module is used for performing identity authentication according to the obtained user login information, and if the identity authentication is passed, generating carbon commodity ordering information in response to a carbon commodity ordering instruction, wherein the carbon commodity ordering information comprises the type and the ordering number of ordered carbon commodities;
the sending module is used for sending the carbon commodity ordering information to a server so that the server creates a transaction order according to the type of the carbon commodity and the ordering quantity;
the payment module is used for receiving the transaction order sent by the server, paying on a payment platform according to the payment type and the payment price contained in the transaction order, enabling the payment platform to send the generated payment success voucher to the server, and enabling the server to generate a transaction voucher according to the payment success voucher and the transaction order;
and the receiving module is used for receiving the transaction certificate sent by the server, wherein the transaction certificate comprises a carbon emission transaction right certificate and an order number.
17. A server, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the carbon commodity transaction method of any one of claims 1 to 9.
18. An electronic device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the carbon commodity transaction method of any one of claims 10 to 13.
19. A computer-readable storage medium having stored thereon computer-executable instructions which, when executed by a processor, implement a carbon goods transaction method as recited in any one of claims 1 to 9 or 10 to 13.
20. A computer program product comprising a computer program which, when executed by a processor, implements a method of trading a carbon commodity according to any one of claims 1 to 9 or 10 to 13.
CN202210081594.8A 2022-01-24 2022-01-24 Carbon commodity transaction method, device, server, system and storage medium Pending CN114119175A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210081594.8A CN114119175A (en) 2022-01-24 2022-01-24 Carbon commodity transaction method, device, server, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210081594.8A CN114119175A (en) 2022-01-24 2022-01-24 Carbon commodity transaction method, device, server, system and storage medium

Publications (1)

Publication Number Publication Date
CN114119175A true CN114119175A (en) 2022-03-01

Family

ID=80361251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210081594.8A Pending CN114119175A (en) 2022-01-24 2022-01-24 Carbon commodity transaction method, device, server, system and storage medium

Country Status (1)

Country Link
CN (1) CN114119175A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114936899A (en) * 2022-05-09 2022-08-23 武汉同创元盛科技有限公司 Online shopping transaction processing system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107516201A (en) * 2017-08-31 2017-12-26 江西博瑞彤芸科技有限公司 A kind of order method of payment
CN108269073A (en) * 2016-12-30 2018-07-10 航天信息股份有限公司 A kind of order payment management method and system
CN112200634A (en) * 2020-10-19 2021-01-08 平安国际智慧城市科技股份有限公司 Order processing method and device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108269073A (en) * 2016-12-30 2018-07-10 航天信息股份有限公司 A kind of order payment management method and system
CN107516201A (en) * 2017-08-31 2017-12-26 江西博瑞彤芸科技有限公司 A kind of order method of payment
CN112200634A (en) * 2020-10-19 2021-01-08 平安国际智慧城市科技股份有限公司 Order processing method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114936899A (en) * 2022-05-09 2022-08-23 武汉同创元盛科技有限公司 Online shopping transaction processing system

Similar Documents

Publication Publication Date Title
KR102141069B1 (en) Transaction system to managing a transparent transaction history
CN110363666B (en) Information processing method, apparatus, computing device and storage medium
TWI640937B (en) Online payment method and equipment
US20170046758A1 (en) Payment Approval Platform
US20150178814A1 (en) Methods and systems for conducting online transactions
US10803428B2 (en) Method, non-transitory computer-readable medium, and system for payment approval
US20090125440A1 (en) Method and system for approving credit card transactions
US20160078397A1 (en) Authentication system for purchase delivery
US20210150527A1 (en) System and method for transferring data representing transactions between computing nodes of a computer network
US20210248600A1 (en) System and method to secure payment transactions
US20140358713A1 (en) Method and system for bulk purchase negotiating using an ad hoc online group
CN109872223B (en) Virtual article transaction method, device, equipment and storage medium
CN114119175A (en) Carbon commodity transaction method, device, server, system and storage medium
US20170046697A1 (en) Payment Approval Platform
AU2014268112A1 (en) Method of processing a transaction request
JP2021082284A (en) Settlement processing method and system using sub account registered for main account
CN116911999A (en) Funds transaction method, device, equipment and storage medium
KR20170031680A (en) Device and method to provide digital contents
US20170046716A1 (en) Payment Approval Platform
US20160364959A1 (en) Electronic receipt system
US20210304083A1 (en) Computer-based automated acquisition system
CN112529647B (en) Block chain-based commodity transaction method, device and computer equipment
KR20230023531A (en) Method, system and non-transitory computer-readable recording medium for managing ticket transaction on blockchain network
WO2021081704A1 (en) Two-dimensional payment code management method and device, payment system, and storage medium
CN113706272A (en) Commodity information processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220301