CN110599303A - E-commerce transaction method, device, electronic equipment and medium - Google Patents

E-commerce transaction method, device, electronic equipment and medium Download PDF

Info

Publication number
CN110599303A
CN110599303A CN201910855491.0A CN201910855491A CN110599303A CN 110599303 A CN110599303 A CN 110599303A CN 201910855491 A CN201910855491 A CN 201910855491A CN 110599303 A CN110599303 A CN 110599303A
Authority
CN
China
Prior art keywords
order
platform
information
commerce platform
container cloud
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
CN201910855491.0A
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.)
CERNET Corp
Original Assignee
Next Generation Internet Major Application Technology (beijing) Engineering Research Center 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 Next Generation Internet Major Application Technology (beijing) Engineering Research Center Co Ltd filed Critical Next Generation Internet Major Application Technology (beijing) Engineering Research Center Co Ltd
Priority to CN201910855491.0A priority Critical patent/CN110599303A/en
Publication of CN110599303A publication Critical patent/CN110599303A/en
Pending legal-status Critical Current

Links

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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/085Payment architectures involving remote charge determination or related payment systems
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/123Applying verification of the received information received data contents, e.g. message integrity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

An e-commerce transaction method comprising: the container cloud platform issues a special key to the e-commerce platform according to a store opening request sent by the e-commerce platform; a user places an order on the e-commerce platform, sends order information to the container cloud platform, and calls a payment success callback interface of the container cloud platform to enable the container cloud platform to send callback information to the e-commerce platform; the container cloud platform inquires a special key of the E-commerce platform according to the order information and compares the special key with a signature key in the order information; if the special key is the same as the signature key, the container cloud platform calls an order delivery interface of the e-commerce platform and sends a message to inform the e-commerce platform that delivery is performed; and the container cloud platform calls an order query interface of the power merchant platform to query order information. The present disclosure also provides an e-commerce transaction apparatus, an electronic device and a computer readable medium.

Description

E-commerce transaction method, device, electronic equipment and medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method, an apparatus, an electronic device, and a medium for electronic commerce transaction.
Background
With the development of enterprises, the IaaS infrastructure service is introduced according to business requirements, and an IaaS cloud service platform is introduced to serve as a supplier and can be directly sold by a virtual machine. In the same enterprise, each branch company or department has a set of B2C or B2C e-commerce system, which can be used as a supplier to sell virtual machines of the CERID-based IaaS cloud service platform. And based on the self requirement, an interface for intercommunication of the two systems is designed.
With the development of technology, the common virtual machine infrastructure service provided by the original IaaS platform cannot meet new requirements. Therefore, a CERID-based container cloud platform is developed, each branch company or department needs to establish container commodities on a B2C or B2B2C E-commerce system, each business system needs to be in butt joint with a container cloud service platform system, and related communication data needs to be processed uniformly.
The CERID-based container cloud platform provides container services, and can sell self-operated products and container sales through third-party merchants. Because the container cloud platform belongs to an independent system and more customized parameters are needed for the container, the original virtual machine-based interface cannot meet the requirement.
Disclosure of Invention
Technical problem to be solved
In view of the prior art, the present disclosure provides an e-commerce transaction method, apparatus, electronic device and medium, which are used to at least partially solve the above technical problems.
(II) technical scheme
One aspect of the present disclosure provides an e-commerce transaction method, including: the container cloud platform issues a special key to the e-commerce platform according to a store opening request sent by the e-commerce platform; a user places an order on the e-commerce platform, sends order information to the container cloud platform, and calls a payment success callback interface of the container cloud platform to enable the container cloud platform to send callback information to the e-commerce platform; the container cloud platform inquires a special key of the E-commerce platform according to the order information and compares the special key with a signature key in the order information; if the private key is the same as the signature key, the container cloud platform calls an order delivery interface of the e-commerce platform and sends a message to inform the e-commerce platform that delivery is performed; and the container cloud platform calls an order query interface of the E-commerce platform to query the order information.
Optionally, calling a payment success callback interface of the container cloud platform, so that the container cloud platform sends callback information to the e-commerce platform includes: the container cloud platform sends synchronous callback information to the e-commerce platform, so that the e-commerce platform jumps to a specified page, wherein the callback information comprises the order information; and the container cloud platform sends asynchronous callback information to the e-commerce platform until the e-commerce platform receives the asynchronous callback information.
Optionally, the order information includes CERID user information of the user, the container cloud platform calls an order delivery interface of the e-commerce platform, and sending a message to notify the e-commerce platform that delivery has been performed includes: the container cloud platform creates a CERID user order according to the CERID user information, creates a host according to the CERID user order, and records the address of the host; the container cloud platform generates delivery information, calls the order delivery interface, and sends an order number, the delivery information, the signature key, the host address and the current time in the order information to the e-commerce platform; the e-commerce platform displays the shipment to the user based on the received information.
Optionally, the method further includes: and the container cloud platform calls an order query interface of the E-commerce platform, queries the order with the expired lease term and closes the order with the expired lease term.
Optionally, the method further includes: and calling a payment success call-back interface by the E-commerce platform, and inquiring the order information according to the CERID user order and the host address.
Optionally, the querying, by the container cloud platform, the private key of the e-commerce platform according to the order information, and comparing the private key with the signature key in the order information includes: splicing the special keys by adopting a message digest algorithm to generate a first message digest, and splicing the signature keys according to the same sequence to generate a second message digest; and comparing the first information abstract with the second information abstract.
Optionally, the ordering by the user at the e-commerce platform, and sending the order information to the container cloud platform includes: and the E-commerce platform packages the CERID user information of the buyer, the CERID user information of the seller, the order number, the order placing time, the payment time, the commodity list, the preferential amount, the order total price and the signature key to generate the order information.
Another aspect of the present disclosure provides an e-commerce transaction apparatus, including:
the order generation module is used for placing an order by a user, sending order information to the container cloud platform, calling a payment success callback interface of the container cloud platform, and enabling the container cloud platform to send callback information to the e-commerce platform; the delivery module is used for issuing a special key to the e-commerce platform according to a store opening request sent by the e-commerce platform, inquiring the special key of the e-commerce platform according to the order information, comparing the special key with a signature key in the order information, calling an order delivery interface of the e-commerce platform if the special key is the same as the signature key, and sending a message to inform that the e-commerce platform delivers the goods; and the query module is used for calling an order query interface of the E-commerce platform to query the order information.
Another aspect of the present disclosure provides an electronic device including: one or more processors. A memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method provided above.
Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions for implementing the method provided above when executed.
Another aspect of the present disclosure provides a computer program comprising computer executable instructions for implementing the method provided above when executed.
(III) advantageous effects
The utility model provides an e-commerce transaction method, device, electronic equipment and medium, which has the following beneficial effects:
1. when the e-commerce platform applies for opening a shop, the container cloud platform distributes a special key for the e-commerce platform, and in the transaction process, the special key needs to be compared and authenticated with a signature in order information sent by the e-commerce platform, so that parameters of data are guaranteed to be tampered in the transmission process, and the transaction safety is improved.
2. Compared with the traditional transaction scheme, the e-commerce platform sets an order query interface, the container cloud platform can call the order query interface to query the order information in a single way according to the user information or order number of the CERID except that the e-commerce platform actively calls the call-back interface for successful payment to acquire the order information, and two query modes form a loop to ensure the order consistency of the two parties.
3. The container cloud platform can also call an order query interface to query the order with the expired lease period first and carry out non-forced closing processing.
4. Data transmission in the transaction process is carried out through the call-back interface, the order delivery interface and the order query interface based on successful payment, so that the data transmission efficiency is improved, and the design cost, the development cost and the maintenance cost of the e-commerce transaction platform are reduced.
Drawings
For a more complete understanding of the present disclosure and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
FIG. 1 schematically illustrates a flow chart of an e-commerce transaction method according to an embodiment of the disclosure;
FIG. 2 illustrates an implementation details diagram of an e-commerce transaction method according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates a payment success callback interface parameter setting diagram according to an embodiment of the disclosure;
FIG. 4 schematically shows an order delivery interface parameter setting diagram according to an embodiment of the disclosure.
FIG. 5 schematically shows an order query interface parameter set-up diagram according to an embodiment of the disclosure.
FIG. 6 schematically illustrates a block diagram of an e-commerce transaction arrangement according to an embodiment of the present disclosure; and
fig. 7 schematically shows a block diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing system, such that the instructions, which execute via the processor, create a system that implements the functions/acts specified in the block diagrams and/or flowchart block or blocks. The techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable storage medium having instructions stored thereon for use by or in connection with an instruction execution system.
The embodiment of the disclosure provides an e-commerce transaction method and an e-commerce transaction device capable of applying the method. The method and the device are based on CERID B2B2C payment platform and container cloud platform to carry out E-commerce transaction, and the whole transaction process is planned and controlled on the technical level by using interfaces on respective independent systems.
HTTP is the most widely used network protocol on the internet, and is a client and server request and response standard (TCP), which is a transport protocol for transmitting hypertext from WWW server to local browser, and it can make browser more efficient and reduce network transmission. Since the data transmitted by the HTTP protocol is unencrypted, i.e., plaintext, it is very unsafe to transmit the private information by using the HTTP protocol. Therefore, the interfaces invoked during the transaction are all transmitted using the HTTPS protocol. HTTPS is a secure HTTP channel, which is simply a secure version of HTTP, i.e. an SSL layer is added under HTTP, and the security base of HTTPS is SSL, so SSL is required for the details of encryption.
Fig. 1 schematically shows a flow chart of an e-commerce transaction method according to an embodiment of the present disclosure. FIG. 2 illustrates an implementation details diagram of an e-commerce transaction method according to an embodiment of the disclosure.
As shown in fig. 1 and 2, the e-commerce transaction method according to the embodiment of the present disclosure may include, for example, operations S101 to S105.
In operation S101, the container cloud platform issues a private key to the e-commerce platform according to an opening request sent by the e-commerce platform.
The role of the signature is generally to verify the integrity of the transmitted file or parameter. In the method proposed by the embodiment, the cloud service platform only needs to create an order and provide a virtual machine for the third-party e-commerce platform according to data brought by the third-party e-commerce platform through the interface, so that a set of security mechanism needs to be designed in the interface.
When the e-commerce platform applies for opening a store, the cloud platform issues a sellerSign for the e-commerce platform as a private key of the e-commerce platform. sellerSign is not directly spliced into parameters transmitted in the transaction process, but is spliced into a signature by an e-commerce platform, and then MD5 is carried out. The private key is used for comparing and authenticating with the signature key in the sent order information in the process of purchasing the commodity by the user, and the commodity can pass through the comparison and authentication if the private key is consistent with the signature key in the sent order information. The order payment success call-back address is added in the store opening process so as to facilitate the subsequent call-back
The mode can be used as a most basic security policy, parameters of data are prevented from being tampered in the transmission process, even if the parameters are tampered, the MD5 cannot be spliced again under the condition that the sellerSign corresponding to the third-party E-business user is not known, and certain security can be achieved.
Generating the private key t _ sign requires two parameters and invokes the relevant APIs: sign builder, a character string generated by parameter splicing, and attention is paid to null conversion into "" and no messy code is ensured; timeStamp, timeStamp. The generation of the t _ sign signed key code may be, for example, as follows:
String orderId=″ON123456″;
String orderTime=″20091227091010″;
String payTime=″20091227091010″;
String buyerCerid=″69999000760″;
String sellerCerid=″69999000761″;
String goodsList=″[{′id′:′string′,′name′:′string′,′price′:int,′attr′:′string′,′stock′:int,′pic′:′string′,′desc′:′string′,′cnt′:int},{},...]″;
String reduceFee=0;
String orderFee=12334;
String sellerSign=″j4d7s2j0d9″;
SignBulider ═ new SignBulider (); // tools for generating signatures
"orderld", orderId), "add (" orderTime ", orderTime)," add ("pay Time", payTime), "add (" buyerCerid ", buyerCerid)," add ("selerCerid", selerCerid), "add (" goodsList ", goodsList),. add (" redFee ", redueFee)," add ("ordFee", orderFee), "add"; // parameter splicing
Stringt _ sign ═ sign builder. createsign (timetag, "UTF-8"); // generating a key
System.out.println(t_sign);
In operation S102, the user places an order on the e-commerce platform, sends the order information to the container cloud platform, and calls a call-back interface of the container cloud platform for successful payment, so that the container cloud platform sends call-back information to the e-commerce platform.
The payment success callback interface is called by the container cloud service platform exposed to the self-service or third-party e-commerce platform. As shown in fig. 3, after the user selects a commodity and successfully places an order and pays, the platform packages the CERID user information of the seller and other request parameters to generate order information, and stores the order information in the cloud platform interface/api/paysusceptaclback. And calling a callback interface after payment is successful, so that the container cloud platform sends callback information to the e-commerce platform.
And after receiving the request parameters, the cloud service platform sends synchronous callback information and asynchronous callback information to inform the e-commerce platform. The synchronous call-back information is used for enhancing user experience, and a CERID user can directly jump back to a specified page of the platform after successful payment. And the asynchronous callback is sent by the background of the cloud service platform at regular time until the platform confirms to receive the asynchronous callback message. The request parameters for specific order information are shown in table 1.
TABLE 1
Among these, the interface request URL is exemplified as follows:
http://yun.n.edu.cn/docker/api/paySuccessCallback.do?
orderId=[orderId]&orderTime=[orderTime]&payTime=[payTime]&buyerCerid=[buyerCerid]&sellerCerid=[sellerCerid]&goodsList=[goodsList]&reduceFee=[reduceFee]&orderFee=[orderFee]&t_sign=[t_sign]&time Stamp=[time Stamp]
examples of the corresponding data of the interface are:
and (4) query success:
{′ret′:′OK′,′msg′:′Query Suc!′}
and (3) failure of inquiry:
1.{′ret′:′ERR′,’timeStamp’:timestamp,′msg′:′SellerCerid is not exist′}
2.{′ret′:′ERR′,’timeStamp’:timestamp,′msg′:′T_sign is incorrect!′}
3.{ 'ret': 'ERR', 'TimeStamp': timeframe, 'msg': 'other error information' }
In operation S103, the container cloud platform queries the private key of the e-commerce platform according to the order information, and compares the private key with the signature key in the order information.
After the container cloud platform receives the request parameters, the corresponding private key sellerSign is searched from the library according to the CERID user information of the e-commerce platform, and the private keys are spliced by adopting a message digest algorithm (for example, MD5) to generate a first information digest. And splicing the signature keys in the order information according to the same sequence to generate a second information abstract, and comparing the first information abstract with the second information abstract to ensure that the information can pass through the first information abstract and the second information abstract.
In operation S104, if the private key is the same as the signature key, the container cloud platform calls an order delivery interface of the e-commerce platform and sends a message to notify the e-commerce platform that delivery has been performed.
The order delivery interface is an interface exposed to the outside by the e-commerce platform and is used for calling by the container cloud platform to inform the e-commerce platform that goods are delivered. As shown in fig. 4, after receiving the information of the call-back interface that the e-commerce platform calls successfully pays, the container cloud platform creates a CERID user order through the information of the CERID user in the call-back interface that the e-commerce platform calls successfully pays, creates a host according to the CERID user order, records the address of the host, and generates shipping information. And then, calling an order delivery interface/api/sender.htm, putting an order number, delivery information, a signature key, a host address and the current time (timestamp) into the order delivery interface/api/sender.htm, and informing the E-commerce platform that delivery is completed. The e-commerce platform can modify the CERID user order information into received goods, and the user can use the host to view the order information.
The order shipping interface parameters may be, for example: orderid order number; info delivery information and custom information; a time timestamp; sign signature
The interface returns content: the success is as follows: { "ret": "OK" }; failure: { "ret": "ERR", "msg": "error message" }
In operation S105, the container cloud platform calls an order query interface of the power distribution and commerce platform to query order information.
The order inquiry interface is an externally exposed interface of the third-party e-commerce platform. The successful payment callback interface and the order delivery interface are interfaces which are called by the E-commerce platform and the container cloud platform in a mutually single direction, and the container cloud platform actively calls the successful payment callback interface, inquires the order information according to the CERID user order and the host address, and can check the order of the payment user of the E-commerce platform in no other way. By designing the order inquiry interface, the convenient container cloud platform can call the inquiry order interface of the third-party e-commerce platform in a single way according to the user information or order number of the CERID, so as to inquire the order information, form a loop and ensure the order consistency of both parties. The container cloud platform can also call an order query interface of the power supplier platform, query orders with expired lease term and close the orders with expired lease term.
As shown in fig. 5, the order query interface parameters may be, for example: orderid order number; a time timestamp; sign signature.
And interface return information:
the success is as follows: { "ret": "OK", "order": { "orderid": "order number", "orderAt": "time to issue", "payAt": "Payment time", "DeliverrAt": "delivery time", "buyercenter": "buyer center", "selercrid": "seller center", "orderPrice": "order price", "sellPrice": "preferential price", "shipPrice": "freight", "goods": [ { "goodsId": "Commodity id", "name": "trade name", "price": "Commodity price", "storePrice": "preferential price", "prop": "Commodity attributes", "amount": "stock quantity", "imageUrl": "commodity picture", "desc": "description of the article" }, { },. ] }
Failure: { "ret": "ERR", "msg": "error message" }
According to the transaction method, when the e-commerce platform applies for opening a shop, the container cloud platform distributes a special key for the e-commerce platform, and in the transaction process, the special key needs to be compared and authenticated with a signature in order information sent by the e-commerce platform, so that parameters of data are guaranteed to be tampered in the transmission process, and the transaction safety is improved. Compared with the traditional transaction scheme, the e-commerce platform sets an order query interface, the container cloud platform can call the order query interface to query the order information in a single way according to the user information or order number of the CERID except that the e-commerce platform actively calls the call-back interface for successful payment to acquire the order information, and two query modes form a loop to ensure the order consistency of the two parties. The container cloud platform can also call an order query interface to query the order with the expired lease period first and carry out non-forced closing processing. Data transmission in the transaction process is carried out through the call-back interface, the order delivery interface and the order query interface based on successful payment, so that the data transmission efficiency is improved, and the design cost, the development cost and the maintenance cost of the e-commerce transaction platform are reduced.
Fig. 6 schematically illustrates a block diagram of an e-commerce transaction arrangement according to an embodiment of the present disclosure. The device can execute the E-commerce transaction method.
As shown in fig. 6, the e-commerce transaction apparatus 600 of the embodiment of the disclosure may include, for example, an order generation module 610, a delivery module 620, and a query module 630.
The order generating module 610 is used for placing an order by a user, sending order information to the container cloud platform, and calling a payment success callback interface of the container cloud platform to enable the container cloud platform to send callback information to the e-commerce platform.
And the delivery module 620 is configured to issue a special key to the e-commerce platform according to a store opening request sent by the e-commerce platform, query the special key of the e-commerce platform according to the order information, compare the special key with a signature key in the order information, call an order delivery interface of the e-commerce platform if the special key is the same as the signature key, and send a message to inform that the e-commerce platform has delivered the item.
And the query module 630 is used for calling an order query interface of the power provider platform to query order information.
It should be noted that the embodiments of the apparatus portion and the method portion are similar to each other, and the achieved technical effects are also similar to each other, which are not described herein again.
Any of the modules according to embodiments of the present disclosure, or at least part of the functionality of any of them, may be implemented in one module. Any one or more of the modules according to the embodiments of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules according to the embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in any other reasonable manner of hardware or firmware by integrating or packaging the circuit, or in any one of three implementations, or in any suitable combination of any of the software, hardware, and firmware. Alternatively, one or more of the modules according to embodiments of the disclosure may be implemented at least partly as computer program modules which, when executed, may perform corresponding functions.
For example, any of the order generation module 610, the shipping module 620, and the query module 630 may be combined and implemented in one module, or any of the modules may be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the order generation module 610, the shipping module 620, and the query module 630 may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or in any one of or a suitable combination of software, hardware, and firmware implementations. Alternatively, at least one of the order generation module 610, the shipping module 620, and the query module 630 may be implemented, at least in part, as a computer program module that, when executed, may perform corresponding functions.
Fig. 7 schematically shows a block diagram of an electronic device according to an embodiment of the disclosure. The electronic device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 7, electronic device 700 includes a processor 710, a computer-readable storage medium 720. The electronic device 700 may perform a method according to an embodiment of the present disclosure.
In particular, processor 710 may comprise, for example, a general purpose microprocessor, an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), and/or the like. The processor 710 may also include on-board memory for caching purposes. Processor 710 may be a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present disclosure.
Computer-readable storage medium 720, for example, may be a non-volatile computer-readable storage medium, specific examples including, but not limited to: magnetic storage systems, such as magnetic tape or Hard Disk Drives (HDDs); optical storage systems, such as compact discs (CD-ROMs); memory such as Random Access Memory (RAM) or flash memory, etc.
The computer-readable storage medium 720 may include a computer program 721, which computer program 721 may include code/computer-executable instructions that, when executed by the processor 710, cause the processor 710 to perform a method according to an embodiment of the disclosure, or any variation thereof.
The computer program 721 may be configured with, for example, computer program code comprising computer program modules. For example, in an example embodiment, code in computer program 721 may include one or more program modules, including 721A, modules 721B, … …, for example. It should be noted that the division and number of modules are not fixed, and those skilled in the art may use suitable program modules or program module combinations according to actual situations, so that the processor 710 may execute the method according to the embodiment of the present disclosure or any variation thereof when the program modules are executed by the processor 710.
At least one of the order generation module 610, the shipping module 620, and the query module 630 according to embodiments of the present disclosure may be implemented as computer program modules described with reference to fig. 7, which when executed by the processor 710 may perform the respective operations described above.
The present disclosure also provides a computer-readable storage medium, which may be included in the device/system described in the above embodiments, or may exist separately without being assembled into the device/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It will be understood by those skilled in the art that while the present disclosure has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present disclosure as defined by the appended claims and their equivalents. Accordingly, the scope of the present disclosure should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.
The above-mentioned embodiments are intended to illustrate the objects, aspects and advantages of the present disclosure in further detail, and it should be understood that the above-mentioned embodiments are only illustrative of the present disclosure and are not intended to limit the present disclosure, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (10)

1. An e-commerce transaction method comprising:
the container cloud platform issues a special key to the e-commerce platform according to a store opening request sent by the e-commerce platform;
a user places an order on the e-commerce platform, sends order information to the container cloud platform, and calls a payment success callback interface of the container cloud platform to enable the container cloud platform to send callback information to the e-commerce platform;
the container cloud platform queries a special key of the E-commerce platform according to the order information and compares the special key with a signature key in the order information;
if the special key is the same as the signature key, the container cloud platform calls an order delivery interface of the e-commerce platform and sends a message to inform the e-commerce platform that delivery is performed;
and the container cloud platform calls an order query interface of the E-commerce platform to query the order information.
2. The method of claim 1, wherein invoking a payment success callback interface of the container cloud platform, causing the container cloud platform to send callback information to the e-commerce platform comprises:
the container cloud platform sends synchronous callback information to the e-commerce platform, so that the e-commerce platform jumps to a specified page, wherein the callback information comprises the order information;
and the container cloud platform sends asynchronous callback information to the e-commerce platform until the e-commerce platform receives the asynchronous callback information.
3. The method of claim 1, the order information comprising CERID user information of the user, the container cloud platform invoking an order delivery interface of the e-commerce platform, sending a message informing the e-commerce platform that a delivery has been made comprising:
the container cloud platform creates a CERID user order according to the CERID user information, creates a host according to the CERID user order and records the address of the host;
the container cloud platform generates delivery information, calls the order delivery interface, and sends an order number, the delivery information, the signature key, the host address and the current time in the order information to the e-commerce platform;
and the E-commerce platform displays the shipped goods to the user according to the received information.
4. The method of claim 1, further comprising: and the container cloud platform calls an order query interface of the E-commerce platform, queries the order with the expired lease term and closes the order with the expired lease term.
5. The method of claim 3, further comprising:
and the E-commerce platform calls a payment success call-back interface and inquires the order information according to the CERID user order and the host address.
6. The method of claim 1, wherein the container cloud platform queries a private key of the e-commerce platform according to the order information, and comparing the private key with a signature key in the order information comprises:
splicing the special keys by adopting a message digest algorithm to generate a first message digest, and splicing the signature keys according to the same sequence to generate a second message digest;
and comparing the first information abstract with the second information abstract.
7. The method of claim 1, wherein the user places an order at the e-commerce platform, and sending order information to the container cloud platform comprises:
and the E-commerce platform packages CERID user information of the buyer, CERID user information of the seller, order serial numbers, order placing time, payment time, commodity lists, preferential amount, order total price and signature keys to generate the order information.
8. An e-commerce transaction arrangement comprising:
the order generation module is used for placing an order by a user, sending order information to the container cloud platform, calling a payment success callback interface of the container cloud platform, and enabling the container cloud platform to send callback information to the e-commerce platform;
the delivery module is used for issuing a special key to the e-commerce platform according to a shop opening request sent by the e-commerce platform, inquiring the special key of the e-commerce platform according to the order information, comparing the special key with a signature key in the order information, calling an order delivery interface of the e-commerce platform if the special key is the same as the signature key, and sending a message to inform that the e-commerce platform delivers the goods;
and the query module is used for calling an order query interface of the E-commerce platform to query the order information.
9. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-7.
10. A computer-readable storage medium storing computer-executable instructions for implementing the method of any one of claims 1 to 7 when executed.
CN201910855491.0A 2019-09-10 2019-09-10 E-commerce transaction method, device, electronic equipment and medium Pending CN110599303A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910855491.0A CN110599303A (en) 2019-09-10 2019-09-10 E-commerce transaction method, device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910855491.0A CN110599303A (en) 2019-09-10 2019-09-10 E-commerce transaction method, device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN110599303A true CN110599303A (en) 2019-12-20

Family

ID=68858832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910855491.0A Pending CN110599303A (en) 2019-09-10 2019-09-10 E-commerce transaction method, device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN110599303A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113592600A (en) * 2021-08-02 2021-11-02 深圳市鑫启电子商务有限公司 Construction method and system of multi-level e-commerce transaction platform
CN117474635A (en) * 2023-12-26 2024-01-30 深圳市安科讯电子制造有限公司 Online sales system for energy products

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9146603B2 (en) * 2012-05-08 2015-09-29 William Reber, Llc Cloud computing system, vehicle cloud processing device and methods for use therewith
CN107239279A (en) * 2017-05-26 2017-10-10 四川长虹电器股份有限公司 Order data based on electric business class PaaS platform system is obtained and method for pushing
CN107492017A (en) * 2017-08-22 2017-12-19 四川长虹电器股份有限公司 A kind of order split system and its implementation based on electric business class PaaS platform
CN109242595A (en) * 2018-07-31 2019-01-18 赛尔网络有限公司 A kind of method of commerce and electronic equipment for e-commerce

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9146603B2 (en) * 2012-05-08 2015-09-29 William Reber, Llc Cloud computing system, vehicle cloud processing device and methods for use therewith
CN107239279A (en) * 2017-05-26 2017-10-10 四川长虹电器股份有限公司 Order data based on electric business class PaaS platform system is obtained and method for pushing
CN107492017A (en) * 2017-08-22 2017-12-19 四川长虹电器股份有限公司 A kind of order split system and its implementation based on electric business class PaaS platform
CN109242595A (en) * 2018-07-31 2019-01-18 赛尔网络有限公司 A kind of method of commerce and electronic equipment for e-commerce

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113592600A (en) * 2021-08-02 2021-11-02 深圳市鑫启电子商务有限公司 Construction method and system of multi-level e-commerce transaction platform
CN117474635A (en) * 2023-12-26 2024-01-30 深圳市安科讯电子制造有限公司 Online sales system for energy products
CN117474635B (en) * 2023-12-26 2024-03-22 深圳市安科讯电子制造有限公司 Online sales system for energy products

Similar Documents

Publication Publication Date Title
Hasan et al. Blockchain-based proof of delivery of physical assets with single and multiple transporters
US11410136B2 (en) Procurement system using blockchain
US20200211092A1 (en) Adaptive product listing using blockchain inventory and smart contracts
US10592985B2 (en) Systems and methods for a commodity contracts market using a secure distributed transaction ledger
US20110085667A1 (en) Various methods and apparatuses for securing an application container
AU2013239866B2 (en) Unified service for providing shipping services
US20120197807A1 (en) Secure online transaction processing
US20030144852A1 (en) Providing highly automated procurement services
US20130066744A1 (en) Flexible shipping delivery
WO2022120886A1 (en) Commodity transaction method and apparatus, computer device, storage medium, and system
CN106406826B (en) Joint debugging task creation method, system joint debugging method and device
CN109242595A (en) A kind of method of commerce and electronic equipment for e-commerce
WO2018036397A1 (en) Goods exchange information processing method and apparatus
RU2718175C1 (en) Network transaction device and method based on division of privileges
TW201626301A (en) Electronic certificate generating device and system
US11496455B2 (en) Systems and methods for managing secure sharing of online data
US7035817B1 (en) Electronic catalog method
CN110599303A (en) E-commerce transaction method, device, electronic equipment and medium
CN112565055A (en) System and method for facilitating authentication of e-mail sent by third party
KR20200000595A (en) Blockchain based certificate management method and device, server and system thereof
KR20230000595A (en) Electronic purchasing system and method connected with erp
US9760921B2 (en) Half-graphical user interface order processing system and method
WO2022148237A1 (en) Inventory information processing method and device
CN113988982A (en) Data transaction method, device, equipment and storage medium
KR102263220B1 (en) E-commerce Payment Method using Block Chain

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211203

Address after: 100084 Beijing Haidian District Zhongguancun East Road 1 hospital Qinghua science and Technology Park 8 Building B block seal building

Applicant after: CERNET Co.,Ltd.

Address before: 100084 B1001-C 8, building 1, Zhongguancun East Road, Haidian District, Beijing, 2.

Applicant before: NEXT GENERATION INTERNET MAJOR APPLICATION TECHNOLOGY (BEIJING) ENGINEERING RESEARCH CENTER Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191220