CPC G06Q 20/12 (2013.01) [G06Q 20/385 (2013.01); G06Q 30/0635 (2013.01); H04L 69/321 (2013.01)] | 19 Claims |
1. A payment processing method, performed by a first device, the method comprising:
obtaining order information and transmitting the order information to a second device for display, wherein the second device and the first device are individual devices that transmit data packets between each other based on a two-way communication;
receiving a payment code transmitted by the second device, the payment code being generated by the second device according to a user payment identity of a user after receiving a payment confirmation instruction triggered by the user, the user being a customer;
performing, in a payment account corresponding to the payment code, payment processing on the order information based on the payment code, to obtain a payment result;
obtaining membership information corresponding to user identity information;
after the payment processing on the order information, updating the membership information;
transmitting the payment result to the second device, wherein the payment result comprises updated membership information; and
displaying the payment result on the second device;
wherein:
in the two-way communication between the first device and the second device, a data packet is transmitted through a service layer, an application layer, a transport layer, and a link layer sequentially, and a data packet is received through the link layer, the transport layer, the application layer, and the service layer sequentially;
a standard read interface, a write interface, and a control interface are defined at the link layer that support a plurality of different physical communication links, and differences of the different physical communication links are shielded from the transport layer.
|