Transaction method, gateway device, payment platform, merchant device and transaction system

Through communication between gateway equipment and merchant equipment, secret key negotiation and encryption technology are used to realize contactless payment, which solves the problems of inconvenient payment methods and low utilization rate of charging piles, and realizes a safe and convenient transaction process and efficient charging Serve.

CN111553667BActive Publication Date: 2024-11-12CHINA UNIONPAY
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN202010253181.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-02
Publication Date
2024-11-12
Estimated Expiration
2040-04-02

AI Technical Summary

Technical Problem

In car charging scenarios, existing payment methods such as card swiping and QR code payment are inconvenient. Users need to use them at specific sites, and cannot charge when the network signal is poor or the QR code is unclear, and there is a risk that the payment channel will be applied.

Method used

Through communication between gateway equipment, merchant equipment and payment platform, orders are generated and processed, key negotiation and encryption technology are used to ensure the security and convenience of the payment process, realize contactless payment, and optimize the utilization rate of charging piles through the appointment mechanism .

Benefits of technology

It realizes that users can complete a safe and convenient transaction process without manual operations, eliminates the risk of payment channels being applied, and improves the utilization rate of charging piles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111553667B_ABST
    Figure CN111553667B_ABST
Patent Text Reader

Abstract

The present disclosure provides a transaction method, a gateway device, a payment platform, a merchant device and a transaction system. The transaction method includes: obtaining identification information and transaction information of a first device from a merchant device; generating an order according to the identification information and the transaction information, the order including the identification information; sending the order to a payment platform, so that the payment platform can parse the identification information of the first device from the order, and operate the account when the identification of the first device is associated with an account on the payment platform. Applying the transaction method, safe, convenient and seamless payment can be achieved, as well as confirmation of transaction scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the field of communications, and more specifically, relates to a transaction method, a gateway device, a payment platform, a merchant device, and a transaction system. Background Art

[0002] In the car charging scenario, the mainstream payment methods are card payment and QR code payment. However, these methods are inconvenient for users. The charging cards applied for by users can only be used at specific stations, which has great limitations. If you use a QR code, you need to take out your mobile phone to scan the code when charging, and you will also encounter the problem of being unable to start charging due to poor network signals and unclear QR codes. In addition, the orders for QR code payment are generated on the Internet, and it is difficult to determine the specific transaction scenario, and there is a risk of the payment channel being used. Summary of the invention

[0003] The present disclosure provides a transaction method, a gateway device, a payment platform, a merchant device and a transaction system to at least partially solve the technical problems existing in the prior art.

[0004] An embodiment of the present disclosure provides a transaction method, which is applied to a gateway device, and the transaction method includes: obtaining identification information and transaction information of a first device from a merchant device; generating an order based on the identification information and the transaction information, and the order includes the identification information; sending the order to a payment platform, so that the payment platform can parse the identification information of the first device from the order, and operate on an account when the identification of the first device is associated with an account on the payment platform.

[0005] In some optional embodiments, receiving identification information and transaction information of a first device from a merchant device includes: performing a key negotiation with the first device through forwarding by the merchant device; receiving a ciphertext of the identification information of the first device from the merchant device, wherein the ciphertext of the identification information of the first device is encrypted by the first device; parsing the ciphertext into plain text; and receiving the transaction information from the merchant device.

[0006] In some optional embodiments, key negotiation is performed with the first device through forwarding by the merchant device, including: receiving a key identifier from the merchant device, wherein the key identifier is a key identifier sent to the first device by a security platform and sent by the first device to the merchant device; sending the key identifier to the security platform; and obtaining a first key corresponding to the key identifier from the security platform, wherein the first key is a key sent to the first device by the security platform.

[0007] In some optional implementations, obtaining identification information and transaction information of the first device from a merchant device includes: parsing the identification information of the first device from a battery management system message sent by the merchant device to the gateway device.

[0008] In some optional implementations, the method further includes: sending the identification information of the first device to an operation platform to verify the availability of the identification information of the first device; and informing the merchant device to provide services for the first device if the identification information of the first device is available.

[0009] In some optional embodiments, the merchant device can be occupied by appointment, and can be allowed to be occupied by other first devices if the first device making the appointment is not occupied by the merchant device during the appointment period, and can release the occupation of the merchant device by other first devices according to the appointment certificate provided by the appointment user when the merchant device is occupied by other first devices during the appointment period; the transaction method also includes: obtaining appointment information from the operation platform, the appointment signal including: identification information of the first device making the appointment and the appointment period; obtaining identification information of the first device of the appointment user from the merchant device during the appointment period; comparing the identification information of the first device of the appointment user obtained from the operation platform with the identification information of the first device of the appointment user obtained from the merchant device; if the comparison is successful, notifying the merchant device to provide service for the first device of the appointment user.

[0010] In some feasible implementations, generating an order based on the identification information and the transaction information is performed in a trusted execution environment.

[0011] In some optional embodiments, the first device includes an electric vehicle, and the merchant device includes a charging station.

[0012] In some optional implementations, the identification information of the first device includes: any one of a vehicle identification code VIN, a license plate number, and a radio frequency identification tag.

[0013] An embodiment of the present disclosure provides a transaction method, which is applied to a payment platform, and the transaction method includes: establishing an association between identification information of a first device and an account; receiving an order from a gateway device, the order including the identification of the first device; and operating the account when the identification information of the first device is associated with an account on the payment platform.

[0014] An embodiment of the present disclosure provides a transaction method, which is applied to a merchant device, wherein the merchant device is communicatively connected to a gateway device, and the transaction method includes: establishing a communication connection with a first device; determining identification information and corresponding transaction information of the first device; and sending the identification information and corresponding transaction information of the first device to the gateway device.

[0015] In some optional embodiments, the identification information of the first device is a ciphertext. Before sending the identification information of the first device and the corresponding transaction information to the gateway device, it also includes: receiving a key identifier from the first device, where the key identifier is a key identifier sent to the first device by a security platform; sending the key identifier to the gateway device so that the gateway device can obtain a corresponding first key according to the key identifier, where the first key is a key sent to the first device by a security platform.

[0016] In some optional embodiments, it also includes: receiving a reservation credential provided by the reservation user during the reservation period; sending the reservation credential to the operation platform via the gateway device for verification; if the reservation credential is verified, sending the identification information of the first device of the reservation user to the gateway device, so that the gateway device can compare the identification information of the first device of the reservation user received from the merchant device with the identification information of the first device of the reservation user received from the operation platform; after receiving the comparison success information sent by the gateway device, providing services for the first device.

[0017] An embodiment of the present disclosure provides a transaction method, comprising: at a gateway device, receiving identification information and transaction information of a first device from a merchant device; at the gateway device, generating an order based on the identification information and the transaction information, the order including the identification information; at the gateway device, sending the order to a payment platform; at the payment platform, establishing an association between the identification information of the first device and an account; at the payment platform, receiving an order from the gateway device; at the payment platform, when the identification information of the first device in the order is associated with an account on the payment platform, operating the corresponding account.

[0018] An embodiment of the present disclosure provides a gateway device, including a memory and a processor, wherein the memory stores instructions, and the instructions are executed by the processor to execute the transaction method described above based on the gateway device.

[0019] An embodiment of the present disclosure provides a gateway device, including an acquisition module for acquiring identification information and transaction information of a first device from a merchant device; an order generation module for generating an order based on the identification information and the transaction information, wherein the order includes the identification information; and a sending module for sending the order to a payment platform so that the payment platform can parse the identification information of the first device from the order and perform operations on an account when the identification of the first device is associated with an account on the payment platform.

[0020] In some optional embodiments, the determination module includes: the acquisition module includes: a communication unit, used to receive the transaction information from the merchant device, and receive the ciphertext of the identification information of the first device from the merchant device, the ciphertext of the identification information of the first device being encrypted by the first device; a key unit, used to perform key negotiation with the first device and parse the ciphertext into plain text.

[0021] In some optional embodiments, the key unit is specifically used to: receive a key identifier from the merchant device, where the key identifier is a key identifier sent by the security platform to the first device and sent by the first device to the merchant device; send the key identifier to the security platform; and obtain a first key corresponding to the key identifier from the security platform, where the first key is a key sent by the security platform to the first device.

[0022] In some optional implementations, the acquisition module is specifically used to parse out the identification information of the first device from a battery management system message sent by the merchant device to the gateway device.

[0023] In some optional implementations, the acquisition module is specifically a power line carrier communication module.

[0024] In some optional embodiments, a verification module is further included, which is used to send the identification information of the first device to the operation platform to verify the availability of the identification information of the first device; if the identification information of the first device is available, the merchant device is notified to provide services for the first device.

[0025] In some optional embodiments, the merchant device can be occupied by appointment, and can allow itself to be occupied by other first devices if the first device making the appointment is not occupied by the merchant device during the appointment period, and can release the occupation of the merchant device by other first devices according to the appointment certificate provided by the appointment user when the merchant device is occupied by other first devices during the appointment period; the gateway device also includes a reservation module, which is used to obtain reservation information from the operation platform, and the reservation signal includes: identification information of the first device making the appointment and the appointment period; within the appointment period, obtaining identification information of the first device of the appointment user from the merchant device; comparing the identification information of the first device of the appointment user obtained from the operation platform with the identification information of the first device of the appointment user obtained from the merchant device; if the comparison is successful, notifying the merchant device to provide service for the first device of the appointment user.

[0026] In some optional implementations, the identifier of the first device includes: any one of a vehicle identification code VIN, a license plate number, and a radio frequency identification identifier.

[0027] In some optional implementations, the gateway device is an edge computing gateway or a fog computing gateway.

[0028] An embodiment of the present disclosure provides a payment platform, including a memory and a processor, wherein the memory stores instructions, and the instructions are executed by the processor to execute the transaction method described above based on the payment platform.

[0029] An embodiment of the present disclosure provides a payment platform, including: an association module, used to establish an association between identification information of a first device and an account; a receiving module, used to receive an order from a gateway device, the order including the identification of the first device; and an operation module, used to operate an account when the identification information of the first device is associated with the account on the payment platform.

[0030] An embodiment of the present disclosure provides a merchant device, including a memory and a processor, wherein the memory stores instructions, and the instructions are executed by the processor to execute the transaction method based on the merchant device.

[0031] An embodiment of the present disclosure provides a merchant device, comprising: a communication module, used to establish a communication connection with a first device and a gateway device; a determination module, used to determine identification information and corresponding transaction information of the first device; the communication module is also used to send the identification information and corresponding transaction information of the first device to the gateway device.

[0032] In some optional embodiments, a security module is further included, which is used to receive a key identifier from the first device, where the key identifier is a key identifier sent by a security platform to the first device; and send the key identifier to the gateway device so that the gateway device can obtain a corresponding first key according to the key identifier, where the first key is a key sent by the security platform to the first device.

[0033] In some optional embodiments, a reservation module is further included, which is used to receive a reservation certificate provided by a reservation user within a reservation period; send the reservation certificate to the operation platform via the gateway device for verification; if the reservation certificate is verified, send the identification information of the first device of the reservation user to the gateway device, so that the gateway device can compare the identification information of the first device of the reservation user received from the merchant device with the identification information of the first device of the reservation user received from the operation platform; after receiving the comparison success information sent by the gateway device, provide services for the first device.

[0034] In some optional implementations, the communication module includes a power line carrier communication module, and the power line carrier communication module is specifically used to establish a communication connection with the gateway device.

[0035] In some optional implementations, the first device includes an electric vehicle, and the merchant device includes a charging station.

[0036] An embodiment of the present disclosure provides a transaction system, characterized in that it includes the above-mentioned gateway device, the above-mentioned payment platform, and the above-mentioned merchant device.

[0037] Based on the embodiments of the present disclosure, after the user connects his or her first device to the merchant device, a safe and convenient transaction process can be achieved through the automatic communication process between the first device, the merchant device, the gateway device and the payment platform. The payment of the transaction does not require manual operation by the user, nor does it require the user to apply for membership cards or recharge cards from multiple merchant device providers. In addition, the payment platform can determine the transaction scenario, eliminating the risk of the payment channel being used. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 The present invention is a flowchart of a transaction method applied to a gateway device according to an embodiment of the present invention.

[0039] Figure 2 The present invention is a flowchart of a transaction method applied to a payment platform according to an embodiment of the present invention.

[0040] Figure 3 The present invention is a flowchart of a transaction method applied to a merchant device according to an embodiment of the present invention.

[0041] Figure 4 The present invention is a flowchart of a transaction method according to an embodiment of the present invention.

[0042] Figure 5 The present invention is a flowchart of a part of the transaction process of an embodiment of the present invention.

[0043] Figure 6 A schematic diagram of a scenario of a transaction method according to an embodiment of the present disclosure.

[0044] Figure 7 A schematic diagram of the structure of a gateway device according to an embodiment of the present disclosure.

[0045] Figure 8 A schematic diagram of the structure of a gateway device according to another embodiment of the present disclosure.

[0046] Fig. 9 A schematic diagram of the structure of a payment platform according to an embodiment of the present disclosure.

[0047] Fig.10 A schematic diagram of the structure of a payment platform according to another embodiment of the present disclosure.

[0048] Fig.11 It is a structural diagram of a merchant device according to an embodiment of the present disclosure.

[0049] Fig.12 It is a structural diagram of a merchant device according to another embodiment of the present disclosure. DETAILED DESCRIPTION

[0050] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0051] In the present disclosure, it should be understood that terms such as “including” or “having” are intended to indicate the presence of features, numbers, steps, behaviors, components, parts, or a combination thereof disclosed in the specification, and are not intended to exclude the possibility of the presence of one or more other features, numbers, steps, behaviors, components, parts, or a combination thereof.

[0052] It should also be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0053] Figure 1 Provided is a transaction method applied to a gateway device. Figure 2 Provided is a transaction method applied to a payment platform. Figure 3 Provided is a transaction method applied to a merchant device. Figure 4 It is a complete transaction flow chart based on the gateway device payment platform, merchant equipment and other surrounding platforms and equipment.

[0054] In the present disclosure, the first device refers to a device that interacts with the merchant device and generates payment requirements. The first device is, for example, an electric vehicle that requires charging services, a mobile phone that requires charging services, etc. After charging is completed, the holder of the first device needs to pay for it. Of course, in the embodiment of the present disclosure, this payment behavior is completed automatically. Of course, the payer may also be the holder of the merchant device. The merchant device refers to a device that provides valuable services to the first device or accepts valuable services provided by the first device. The merchant device is connected to the gateway device in communication. The merchant device is, for example, a charging pile that provides charging services for electric vehicles or mobile phones. In addition to basic routing functions, the gateway device also has certain computing capabilities. The gateway device is, for example, an edge computing gateway or a fog computing gateway. A security platform refers to a platform that provides security services, such as a server for the distribution of secret keys. An operation platform refers to a management background that manages each merchant device. An operation platform is, for example, a charging pile background management platform.

[0055] The following introduces the transaction process from the perspectives of a gateway device, a payment platform, and a merchant device, and introduces the transaction method provided by the present disclosure from the perspective of a system composed of a gateway device, a payment platform, and a merchant device in combination with a specific transaction scenario.

[0056] refer to Figure 1 The transaction method applied to the gateway device includes the following steps. From the perspective of the device, the execution subject of the transaction method is the gateway device, and from the perspective of the program, the execution subject of the transaction method is the program installed on the gateway device.

[0057] S101. Obtain identification information and transaction information of a first device from a merchant device.

[0058] S102: Generate an order according to the identification information and the transaction information, wherein the order includes the identification information.

[0059] S103: Send the order to a payment platform, so that the payment platform can parse the identification information of the first device from the order, and operate on an account when the identification of the first device is associated with an account on the payment platform.

[0060] The gateway device plays the role of a POS machine (point of sale information management system) in the IoT scenario. The gateway device communicates with the merchant device and the payment platform respectively. If the first device consumes or provides valuable services to the merchant device, the first device will inevitably establish a communication connection with the merchant device. In the IoT scenario, the merchant device provides valuable services to the first device or accepts valuable services provided by the first device, and the merchant device can also determine the identification information of the first device. Therefore, during the communication process between the gateway device and the merchant device, the gateway device can determine the identification information and transaction information of the first device (for example, including the amount consumed by the holder of the first device).

[0061] Step S102 is preferably performed in a trusted execution environment. In this way, security can be improved. In addition to the identification information of the first device, the order usually also contains other information, such as the account or merchant number of the manager (operating platform) of the merchant device, the amount of the transaction, whether the merchant device is the payer or the payee, and other information. The merchant number of the manager of the merchant device can be recorded in the gateway device when the connection between the gateway device and the merchant device is established. The transaction amount can be sent by the merchant device to the gateway device, or the merchant device can send the transaction amount to the gateway device, and the gateway device calculates the specific transaction amount. Here, the identification information of the first device replaces the account of the holder of the first device in a normal order.

[0062] Take the scenario of an electric vehicle charging at a charging pile as an example. The battery management system (BMS) in the electric vehicle stores battery information (such as voltage, current, and temperature). In addition, it also stores vehicle information (such as the VIN number, i.e., the vehicle identification number, also known as the Vehicle Identification Number). After the charging gun is inserted into the car, the charging pile can read the information (battery management system message) in the BMS system through the car's controller area network bus (CAN bus). By deploying an edge computing gateway at the charging station, it is connected to the charging pile using a network cable. The charging pile further sends the battery management system message to the edge computing gateway. The edge computing gateway can parse the battery management system message and extract the VIN number of the electric vehicle from it. In this way, the identity of the electric vehicle is recognized. The operating logic of the charging pile itself is relatively simple, and the changes on the charging pile side are relatively small.

[0063] Of course, the charging pile may also send the identification information of the electric vehicle directly to the edge computing gateway in an encrypted or unencrypted manner.

[0064] In addition, the edge computing gateway can receive the power consumption information submitted by the charging pile and calculate the fees to be paid (of course, the charging pile can also calculate the consumption amount by itself and submit the consumption amount to the edge computing gateway). The edge computing gateway encapsulates the VIN number, charging settlement information, and merchant information provided by the charging pile management service platform (of course, it can also be pre-stored) into an order and sends it to the payment platform to complete the payment. In addition to the vehicle identification code VIN, the merchant equipment can also read the electric vehicle's license plate number, radio frequency identification mark and other identification information of the electric vehicle.

[0065] The gateway device completes the collection of order-related information and generates an order, and then completes the payment transaction on the payment platform. The account of the first device holder in the order is replaced by the identification information of the first device. This makes the user's consumption process more convenient and quick, and realizes contactless payment. Since the gateway device can determine the identity of the first device through technical means, it can also determine the identity of the merchant device, which is conducive to the payment platform to accurately determine the transaction scenario.

[0066] In some feasible implementations, the process of the gateway device determining the identification and consumption amount of the first device includes the following steps.

[0067] S1011. Perform key negotiation with the first device through forwarding by the merchant device.

[0068] S1012. Receive the ciphertext of the identification information of the first device from the merchant device, where the ciphertext of the identification information of the first device is encrypted by the first device;

[0069] S1013. Parse the ciphertext into plaintext.

[0070] S1014. Receive the transaction information from the merchant device.

[0071] In this way, as the key information in the order, the first device sends its identification information to the merchant device in an encrypted manner, and then the merchant device sends it to the gateway device. The gateway device collects the identification information of the first device in a more secure manner.

[0072] In order to improve the information security when the gateway device determines the identification of the first device, the gateway device and the first device perform ciphertext communication, and thus a key negotiation needs to be performed between the gateway device and the first device.

[0073] The following is a feasible implementation method for performing key negotiation between the gateway device and the first device. The security platform needs to provide key distribution services for the first device and the gateway device. It is necessary to set the security platform to send the first key and key identifier to the first device. The first key is used for encrypted communication between the first device and the gateway device. The key identifier corresponds to the first key one by one. The process includes the following steps.

[0074] S10111. Receive a secret key identifier from the merchant device, where the secret key identifier is a secret key identifier sent by the security platform to the first device and sent by the first device to the merchant device.

[0075] S10112. Send the secret key identifier to the security platform.

[0076] S10113. Obtain a first key corresponding to the key identifier from the security platform, where the first key is a key sent by the security platform to the first device.

[0077] In this way, the gateway device obtains the first secret key through the secret key identifier, and can achieve peer-to-peer encrypted communication with the first device. Since the same first device may encounter many gateway devices, the same gateway device may also encounter many first devices. The secret key distribution method of peer encryption is more efficient.

[0078] Of course, after the identification information of the first device is determined, the first device may not necessarily be eligible to make purchases on this merchant device (for example, the user of the first device is not a registered member).

[0079] To this end, in some feasible implementations, the transaction method also includes the following steps.

[0080] First, the identification information of the first device is sent to the operation platform to verify the availability of the identification information of the first device; then, if the identification information of the first device is available, the merchant device is notified to provide services for the first device.

[0081] If the identification information of the first device is unavailable, a message may be sent to the merchant device so that the merchant device rejects the consumption request or displays information on the merchant device to prompt the consumer what to do.

[0082] The embodiments of the present disclosure also provide a transaction method applied to a payment platform, which includes the following steps.

[0083] S201: Establish an association between identification information of a first device and an account.

[0084] S202: Receive an order from a gateway device, where the order includes identification information of the first device.

[0085] S203: When the identification information of the first device is associated with an account on the payment platform, perform operations on the account.

[0086] The user needs to complete the association between his first device and his account on the payment platform in advance. After receiving the order, the payment platform can determine the corresponding account based on the identification information of the first device. In this way, the non-contact payment based on the Internet of Things transaction is completed. The payment platform can determine which gateway device initiated the payment scenario, and thus can also determine the transaction scenario.

[0087] refer to Figure 3 , an embodiment of the present disclosure provides a transaction method applied to a merchant device. The transaction method includes the following steps.

[0088] S301. Establish a communication connection with a first device.

[0089] S304: Determine identification information of the first device and corresponding transaction information.

[0090] S305: Send the identification information of the first device and the corresponding transaction information to the gateway device.

[0091] Based on the Internet of Things, the merchant device can communicate with the first device and the gateway device, which can not only realize contactless payment, but also help the payment platform determine the transaction scenario.

[0092] In some optional implementations, the identification information of the first device is a ciphertext, and before the identification information of the first device and the corresponding transaction information are sent to the gateway device, the following steps are also included.

[0093] S302: Receive a key identifier from the first device, where the key identifier is a key identifier sent by a security platform to the first device.

[0094] S303: Send the key identifier to the gateway device, so that the gateway device obtains a corresponding first key according to the key identifier, where the first key is a key sent by the security platform to the first device.

[0095] That is, the merchant device forwards the secret key identifier to the gateway device, so that the gateway device can obtain the first secret key accordingly. Thus, the gateway device and the first device perform symmetric encryption communication based on the first secret key.

[0096] Based on the above, the present disclosure also provides a transaction method, referring to Figure 4 , which includes the following steps.

[0097] S401. At a gateway device, receive identification information and transaction information of a first device from a merchant device.

[0098] S402: At the gateway device, generate an order according to the identification information and the transaction information, wherein the order includes the identification information.

[0099] S403: at the gateway device, sending the order to the payment platform.

[0100] S404: Establishing an association between the identification information of the first device and the account on the payment platform.

[0101] S405: On the payment platform, receiving an order from the gateway device.

[0102] S406: On the payment platform, when the identification information of the first device in the order is associated with an account on the payment platform, operate the corresponding account.

[0103] refer to Figure 5 , the complete transaction process is explained by taking the scenario of electric vehicles charging at a charging pile as an example. When the charging gun is inserted into the charging port of the electric vehicle, the electric vehicle and the edge computing gateway establish communication through the charging pile and negotiate the secret key. After the negotiation is completed, the vehicle VIN number is encrypted using the secret key. The charging pile reads the vehicle information through the CAN bus of the car and sends this information to the edge computing gateway connected to it. After receiving this information, the edge computing gateway parses the message through the charging pile driver and decrypts the VIN number using the first secret key, and then sends it to the IoT payment platform to check the vehicle availability. If the electric vehicle has been bound to an account such as a bank card on the payment platform, the edge computing gateway controls the charging pile to charge the vehicle. When charging is completed and the charging gun is unplugged from the car charging port, the charging pile sends the vehicle information and charging settlement information to the edge computing gateway. After the edge computing gateway recognizes the VIN number, the payment control encapsulates the VIN number and settlement information into an order, which is encrypted by the IoT security chip and submitted to the IoT payment platform to complete the payment.

[0104] In particular, taking charging piles and electric vehicles as an example, the interfaces and communication protocols between the two are standardized. There is no need to modify existing electric vehicles and charging piles, and the construction costs of charging station operators are greatly reduced. Car owners only need to insert and unplug the charging gun to complete the entire charging and payment process.

[0105] The inventor of the present disclosure has found that the existing technology center has the problem of low utilization rate of charging piles in scenarios such as charging pile reservation. For example, if a user reserves a charging pile from 12:00 to 13:00, then no matter whether the user actually comes to the charging pile to charge during the period from 12:00 to 13:00, other users cannot use the charging pile. To solve this problem, the inventor of the present disclosure further proposes the following solution.

[0106] The merchant device can be occupied by appointment, and can allow itself to be occupied by other first devices if the first device that makes an appointment during the appointment period is not occupying the merchant device, and can release the occupation of the merchant device by other first devices according to the appointment certificate provided by the appointment user if the merchant device is occupied by other first devices during the appointment period.

[0107] The reservation user here refers to the user who has made a reservation to occupy the charging pile.

[0108] For the gateway device, the transaction method further includes the following steps.

[0109] S104. Obtaining reservation information from the operation platform, wherein the reservation signal includes: identification information of the first device making the reservation and the reservation period. The gateway device may obtain the reservation information from the operation platform, or from the merchant device. To ensure the security and accuracy of the information, it is preferred to obtain the reservation information from the operation platform.

[0110] S105: Acquire identification information of the first device of the reservation user from the merchant device within the reservation period.

[0111] S106: Compare the identification information of the first device of the reserved user obtained from the operation platform with the identification information of the first device of the reserved user obtained from the merchant device. If the comparison is successful, notify the merchant device to provide service for the first device of the reserved user.

[0112] In this way, the gateway device completes the exclusive use of the merchant device by the scheduled user during the scheduled time period. Of course, if the merchant device is previously occupied by other first devices, the merchant device will terminate the service to the other first devices accordingly.

[0113] In coordination with this, the transaction method of the merchant device also includes the following steps.

[0114] S306: Receive a reservation certificate provided by the reservation user during the reservation period.

[0115] S307: Send the reservation certificate to the operation platform via the gateway device for verification.

[0116] S308. When the reservation credential is verified, the identification information of the first device of the reservation user is sent to the gateway device, so that the gateway device compares the identification information of the first device of the reservation user received from the merchant device with the identification information of the first device of the reservation user received from the operation platform.

[0117] S309: After receiving the successful comparison information sent by the gateway device, provide services for the first device.

[0118] Taking the example of charging piles being reserved, the reservation process can be as follows.

[0119] After the charging pile is reserved, it can still provide charging services for non-reserved vehicles, but it will inform the non-reserved vehicle before charging: after the charging reservation time arrives, the charging pile of the vehicle may be preempted by the reserved vehicle. The so-called preemption means that the reserved user can terminate the charging of the non-reserved vehicle during the reserved charging time and insert the charging gun into the reserved vehicle for charging.

[0120] The user selects a charging pile on the charging pile operation platform to make a charging reservation. After that, the charging operator sends the last 4 digits of the user's mobile phone number (as a reservation voucher), the vehicle VIN number, and the reservation time to the reservation service on the edge computing gateway. Arrive at the charging station for charging within the reservation time. If the vehicle is using the charging pile for charging at this time, the user who made the reservation can enter the last 4 digits of his personal mobile phone number on the charging pile screen to end the current charging, and then insert the charging gun into his vehicle. After the gun is inserted, the edge computing gateway compares the VIN number of the reservation service with the VIN number of the current vehicle. If they are consistent, the charging pile is locked until the charging is completed or the reservation time ends. If they are inconsistent, charging will not be performed.

[0121] refer to Figure 6 ,In specific transaction scenarios, some transaction processes can be carried out in the following ,ways.

[0122] The information of each party involved in the transaction scenario is as follows.

[0123]

[0124]

[0125] All users need to bind their bank cards and vehicle VIN numbers on the payment platform. The merchant number of the charging pile operation platform is S1.

[0126] After the charging gun of charging pile A is inserted into vehicle A, vehicle A requests the key identification from the security platform. The security platform generates the first key K and the key identification token, records them locally and sends them to the electric vehicle. After receiving the key identification token, the electric vehicle sends the key identification token to the edge computing gateway through the charging pile, and the edge computing gateway sends the key identification token to the security platform. The security platform finds the corresponding first key K according to the key identification token and sends it to the edge computing gateway. The edge computing gateway obtains the key identification token. Then vehicle A uses the first key K to encrypt the VIN number. Charging pile A reads the encrypted vehicle VIN number, battery temperature, battery power and other information from the CAN bus of car A and sends it to the edge computing gateway. The edge computing gateway uses the first key K to decrypt and recognizes the VIN number of the charging vehicle as E1111 from this information, and sends it to the payment platform (usually also sent in an encrypted manner). After receiving the message, the payment platform decrypts it, and then queries whether the vehicle with VIN number E1111 has been bound to a bank card. The result is that it has been bound, and then informs the edge computing gateway through the network that charging can be carried out. After receiving the instruction to charge, the edge computing gateway controls charging pile A to start charging.

[0127] After vehicle A is finished charging, charging pile A reads the vehicle VIN number, battery temperature, battery power and other information from the CAN bus of vehicle A, and sends it together with the power consumption of 20 kWh to the edge computing gateway. The edge computing gateway calculates the payment amount of 20 yuan based on the power consumption of 20 kWh, and identifies the VIN number of the charging vehicle as E1111. It is then packaged into an order with the merchant number S1 of the charging pile operator and sent to the IoT payment platform. After receiving the order, the payment platform finds the bank card C621 corresponding to the VIN number E1111, and then deducts 20 yuan from the bank card C621 to the merchant S1 through the payment channel. After the deduction is completed, the IoT payment platform synchronizes the deduction information to the charging pile operation platform.

[0128] User C makes an appointment for charging on the charging pile operation platform. The appointment content is from 8:00 to 10:00. Vehicle C makes an appointment to charge on charging pile B. After the appointment is successful, the charging pile operation platform sends the appointment time, vehicle C's VIN number E3333, and user D's mobile phone number P3333 to the appointment service on the edge computing gateway. At 7 o'clock, vehicle B uses charging pile B to charge. At this time, charging pile B informs user B through the charging pile screen that the pile has been scheduled for charging at 8 o'clock, and the charging of vehicle B may be affected. For some reason, vehicle C arrives at the charging station at 8:30, and vehicle B is using charging pile B for charging. User C enters the last four digits of the mobile phone number 3333 on the charging pile screen. The charging pile sends the last four digits of the mobile phone number 3333 to the edge computing gateway for verification. After receiving the request, the appointment service program module on the edge computing gateway compares the last four digits of the mobile phone number and finds that they are consistent. Then it controls charging pile B to end charging. After charging is completed, user C unplugs the charging gun from vehicle B and inserts it into vehicle C. Afterwards, the edge computing gateway recognizes that the VIN number of the vehicle is E3333. At this time, the VIN number of the reserved vehicle stored in the reservation service of the edge computing gateway is also E3333. The two are consistent. The edge computing gateway controls charging pile B to start charging vehicle C.

[0129] refer to Figure 7 An embodiment of the present disclosure further provides a gateway device, including a memory 11 and a processor 12, wherein the memory 11 stores instructions, and the instructions are executed by the processor 12 to implement the aforementioned transaction method based on the gateway device.

[0130] refer to Figure 8 An embodiment of the present disclosure further provides a gateway device, including: an acquisition module 13, used to acquire identification information and transaction information of a first device from a merchant device; an order generation module 14, used to generate an order according to the identification information and the transaction information, the order including the identification information; a sending module 15, used to send the order to a payment platform, so that the payment platform can parse the identification information of the first device from the order, and operate on an account when the identification of the first device is associated with an account on the payment platform.

[0131] In some optional embodiments, the acquisition module 13 includes: a communication unit 131, used to receive the transaction information from the merchant device, and receive the ciphertext of the identification information of the first device from the merchant device, the ciphertext of the identification information of the first device being encrypted by the first device; a key unit 132, used to perform key negotiation with the first device and parse the ciphertext into plain text.

[0132] Optionally, the key unit 132 is specifically used to: receive a key identifier from the merchant device, where the key identifier is a key identifier sent by the security platform to the first device and sent by the first device to the merchant device; send the key identifier to the security platform; and obtain a first key corresponding to the key identifier from the security platform, where the first key is a key sent by the security platform to the first device.

[0133] In some optional implementations, the acquisition module 13 is specifically used to parse the identification information of the first device from a battery management system message sent by the merchant device to the gateway device.

[0134] In some optional implementations, the acquisition module is specifically a power line carrier communication module.

[0135] Power line carrier communication technology (PLC) is a communication method that uses power lines to transmit data and media signals. Using a power line carrier communication module to achieve communication between gateway devices and merchant devices has two beneficial effects: on the one hand, the gateway device can communicate with merchant devices (such as charging piles) through power lines, breaking through geographical restrictions, and there is no need to lay additional network cables between merchant devices and gateway devices, which greatly reduces the construction cost of charging operators; on the other hand, the gateway device can be directly connected to the power grid management system. When the gateway device interacts with the power grid management system, it can feedback the load information of the charging pile to which it is connected to the power grid management system, thereby facilitating the power grid management system to perform load balancing and ensure the stability of power consumption at the charging station.

[0136] In this way, the power line provides power to merchant equipment (such as charging piles) on the one hand, and realizes communication between the gateway device and the merchant equipment, and communication between the gateway device and the management platform of the power grid on the other hand.

[0137] In some optional embodiments, a verification module 16 is further included, which is used to send the identification information of the first device to the operation platform to verify the availability of the identification information of the first device; if the identification information of the first device is available, the merchant device is notified to provide services for the first device.

[0138] In some optional embodiments, the merchant device can be occupied by appointment, and can allow itself to be occupied by other first devices if the first device making the appointment is not occupied by the merchant device during the appointment period, and can release the occupation of the merchant device by other first devices according to the appointment certificate provided by the appointment user when the merchant device is occupied by other first devices during the appointment period; the gateway device also includes a reservation module 17, which is used to obtain reservation information from the operation platform, and the reservation signal includes: identification information of the first device making the appointment and the appointment period; within the appointment period, obtaining identification information of the first device of the appointment user from the merchant device; comparing the identification information of the first device of the appointment user obtained from the operation platform with the identification information of the first device of the appointment user obtained from the merchant device; if the comparison is successful, notifying the merchant device to provide service for the first device of the appointment user.

[0139] Optionally, the identifier of the first device includes: any one of a vehicle identification code VIN, a license plate number, and a radio frequency identification identifier.

[0140] refer to Fig. 9 An embodiment of the present disclosure further provides a payment platform, including a memory 21 and a processor 22, wherein the memory 21 stores instructions, and the instructions are executed by the processor 22 to execute the aforementioned transaction method based on the payment platform.

[0141] refer to Fig.10 An embodiment of the present disclosure further provides a payment platform, including: an association module 23, used to establish an association between the identification information of a first device and an account; a receiving module 24, used to receive an order from a gateway device, the order including the identification of the first device; an operation module 25, used to operate an account when the identification information of the first device is associated with an account on the payment platform.

[0142] refer to Fig.11 An embodiment of the present disclosure provides a merchant device, comprising a memory 31 and a processor 32, wherein the memory 31 stores instructions, and the instructions are executed by the processor 32 to execute the transaction method according to any one of claims 9-11.

[0143] refer to Fig.12 An embodiment of the present disclosure provides a merchant device, including: a communication module 33, used to establish a communication connection with a first device and a gateway device; a determination module 34, used to determine the identification information and corresponding transaction information of the first device; the communication module 33 is also used to send the identification information and corresponding transaction information of the first device to the gateway device.

[0144] In some optional embodiments, a security module 35 is further included, which is used to receive a key identifier from the first device, where the key identifier is a key identifier sent by the security platform to the first device; and send the key identifier to the gateway device so that the gateway device can obtain the corresponding first key according to the key identifier, where the first key is a key sent by the security platform to the first device.

[0145] In some optional embodiments, it also includes a reservation module 36, which is used to receive a reservation certificate provided by a reservation user during the reservation period; send the reservation certificate to the operation platform via the gateway device for verification; if the reservation certificate is verified, send the identification information of the first device of the reservation user to the gateway device, so that the gateway device can compare the identification information of the first device of the reservation user received from the merchant device with the identification information of the first device of the reservation user received from the operation platform; after receiving the comparison success information sent by the gateway device, provide services for the first device.

[0146] Optionally, the communication module 33 includes a power line carrier communication module, and the power line carrier communication module is specifically used to establish a communication connection with the gateway device.

[0147] Optionally, the first device includes an electric vehicle, and the merchant device includes a charging pile.

[0148] An embodiment of the present disclosure also provides a transaction system, including the above-mentioned gateway device, the above-mentioned payment platform, and the above-mentioned merchant device.

[0149] Each embodiment in the present disclosure is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, its description is simplified, and the relevant parts can be referred to the partial description of the method embodiment.

[0150] The devices and methods provided in the embodiments of the present disclosure correspond one to one, and therefore, each device also has similar beneficial technical effects as the corresponding method. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the apparatus, equipment and computer-readable storage medium will not be repeated here.

[0151] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, devices or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0152] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0153] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0154] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0155] In a typical configuration, a device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0156] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0157] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. In addition, although the operations of the disclosed method are described in a particular order in the accompanying drawings, this does not require or imply that these operations must be performed in this particular order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step, and / or one step can be decomposed into multiple steps.

[0158] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present disclosure, but the present disclosure is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and substance of the present disclosure, and these modifications and improvements are also considered to be within the scope of protection of the present disclosure.

Claims

1. A trading method, characterized in that: Applied to a gateway device, the transaction method includes: Acquire identification information and transaction information of the first device from the merchant device; generating an order according to the identification information and the transaction information, wherein the order includes the identification information; sending the order to a payment platform, so that the payment platform can parse the identification information of the first device from the order, and operate on an account when the identification of the first device is associated with an account on the payment platform, The gateway device is an edge computing gateway, the merchant device is a charging pile and the first device is an electric vehicle. The merchant device can be occupied by reservation, and can be allowed to be occupied by other first devices if the first device that makes a reservation during the reservation period does not occupy the merchant device, and can release the occupation of the merchant device by other first devices according to the reservation certificate provided by the reservation user when the merchant device is occupied by other first devices during the reservation period; the transaction method also includes: Acquire reservation information from the operation platform, the reservation information including: identification information of the first device making the reservation and the reservation time period; Acquiring identification information of the first device of the reservation user from the merchant device within the reservation period; The identification information of the first device of the reserved user obtained from the operation platform is compared with the identification information of the first device of the reserved user obtained from the merchant device. If the comparison is successful, the merchant device is notified to provide services for the first device of the reserved user.

2. The transaction method according to claim 1, characterized in that: Receiving identification information and transaction information of the first device from the merchant device includes: Performing key negotiation with the first device through forwarding by the merchant device; receiving, from the merchant device, a ciphertext of the identification information of the first device, the ciphertext of the identification information of the first device being encrypted by the first device; Parsing the ciphertext into plaintext; The transaction information is received from the merchant device.

3. The transaction method according to claim 2, characterized in that: Performing key negotiation with the first device through forwarding by the merchant device includes: receiving a key identifier from the merchant device, where the key identifier is a key identifier sent by the security platform to the first device and sent by the first device to the merchant device; Sending the secret key identifier to the security platform; A first key corresponding to the key identifier is obtained from the security platform, where the first key is a key sent by the security platform to the first device.

4. The transaction method according to claim 1, characterized in that: Acquiring identification information and transaction information of the first device from the merchant device includes: The identification information of the first device is parsed from a battery management system message sent by the merchant device to the gateway device.

5. The transaction method according to claim 1, characterized in that: Also includes: Sending the identification information of the first device to the operation platform to verify the availability of the identification information of the first device; In a case where the identification information of the first device is available, the merchant device is notified to provide services for the first device.

6. The transaction method according to claim 1, characterized in that: Generating an order according to the identification information and the transaction information is performed in a trusted execution environment.

7. The transaction method according to claim 1, characterized in that: The first device includes an electric vehicle, and the merchant device includes a charging pile.

8. The transaction method according to claim 7, characterized in that: The identification information of the first device includes: any one of a vehicle identification code VIN, a license plate number, and a radio frequency identification identifier.

9. A gateway device, characterized in that: The method comprises a memory and a processor, wherein the memory stores instructions, and the instructions are executed by the processor to execute the transaction method according to any one of claims 1 to 8.

10. A gateway device, characterized in that: include: An acquisition module, used to acquire identification information and transaction information of the first device from the merchant device; An order generating module, generating an order according to the identification information and the transaction information, wherein the order includes the identification information; a sending module, configured to send the order to a payment platform, so that the payment platform can parse the identification information of the first device from the order, and operate the account when the identification of the first device is associated with an account on the payment platform, The gateway device is an edge computing gateway, the merchant device is a charging pile and the first device is an electric vehicle. Among them, the merchant equipment can be occupied by appointment, and can be allowed to be occupied by other first devices if the first device making the appointment is not occupied by the merchant equipment during the appointment period, and can release the occupation of the merchant equipment by other first devices according to the appointment certificate provided by the appointment user when the merchant equipment is occupied by other first devices during the appointment period; the gateway device also includes a reservation module, which is used to obtain reservation information from the operation platform, and the reservation information includes: identification information of the first device making the appointment and the appointment period; within the appointment period, obtaining identification information of the first device of the appointment user from the merchant equipment; comparing the identification information of the first device of the appointment user obtained from the operation platform with the identification information of the first device of the appointment user obtained from the merchant equipment; if the comparison is successful, notifying the merchant equipment to provide services for the first device of the appointment user.

11. The gateway device according to claim 10, characterized in that: The acquisition module comprises: a communication unit, configured to receive the transaction information from the merchant device, and to receive the ciphertext of the identification information of the first device from the merchant device, the ciphertext of the identification information of the first device being encrypted by the first device; A key unit is used to perform key negotiation with the first device and parse the ciphertext into plaintext.

12. The gateway device according to claim 11, characterized in that: The secret key unit is specifically used to: receive a secret key identifier from the merchant device, where the secret key identifier is a secret key identifier sent by the security platform to the first device and sent by the first device to the merchant device; and send the secret key identifier to the security platform; A first key corresponding to the key identifier is obtained from the security platform, where the first key is a key sent by the security platform to the first device.

13. The gateway device according to claim 10, characterized in that: The acquisition module is specifically used to parse the identification information of the first device from the battery management system message sent by the merchant device to the gateway device.

14. The gateway device according to claim 10, characterized in that: The acquisition module is specifically a power line carrier communication module.

15. The gateway device according to claim 10, characterized in that: It also includes a verification module, which is used to send the identification information of the first device to the operation platform to verify the availability of the identification information of the first device; if the identification information of the first device is available, the merchant device is notified to provide services for the first device.

16. A trading system, characterized in that: It comprises a gateway device according to any one of claims 9 to 15, and comprises a payment platform and a merchant device.

Citation Information

Patent Citations

  • Networked transaction method and system

    CN102801710A

  • Sensitive information identification system and sensitive information identification method

    CN104361489A

  • Intelligent electronic commerce user management system technique and operating method thereof

    CN104935550A

  • Self-service charging method, charging device and charging system

    CN105591424A

  • Smart parking lot system and smart parking method

    CN105631523A