Message sizing and serialization optimization
AssigneeSquare, Inc.
InventorShalisa Pattarawuttiwong
Life of this patent
Estimating the term…
Abstract
Systems and methods for message sizing and serialization optimization are disclosed. Communications between a secure payment enclave, other components of a customer terminal, a merchant terminal, and/or a remote system may be optimized depending on a state of the customer terminal and/or the merchant terminal. Message sizing and type may be optimized depending on the state. Additionally, or alternatively, message serialization may be optimized using state-dependent protocol buffers. The communications may pass between components of a POS system to a remote system via two operating-system stacks, which may be customized for a POS system transaction.
Claims20
A system comprising:
- a customer terminal comprising:
- a payment-object reader;
- one or more first processors;
- and
- first non-transitory computer-readable media storing a first operating-system and customer application collectively having instructions that, when executed by the one or more first processors, cause the one or more first processors to perform operations comprising:
- determining a state of at least one of the customer terminal or a merchant terminal, the state selected from at least a search state or a payment state;
- receiving, via a secure payment enclave and from the payment-object reader, payment card information from a payment card;
- and
- sending, to the merchant terminal and based at least in part on the state, a subset of the payment card information, the subset of the payment card information being serialized based at least in part on a protocol buffer;
- the merchant terminal comprising:
- one or more second processors;
- and
- second non-transitory computer readable media storing a second operating-system and merchant application collectively having instructions that, when executed by the one or more second processors, cause the one or more second processors to perform operations comprising:
- receiving, from the customer terminal, the subset of the payment card information, the subset of the payment card information being deserialized after the receiving;
- sending the subset of the payment card information to a remote system;
- and
- receiving, from the remote system, transaction information associated with the payment card.
A method comprising:
- determining a state of at least one of a customer terminal or a merchant terminal;
- receiving payment object information from a payment object;
- sending, from the customer terminal to the merchant terminal and based at least in part on the state, a subset of the payment object information;
- sending, from the merchant terminal to a remote system, the subset of the payment object information;
- and
- receiving, from the remote system, transaction information associated with the payment object.
A system comprising:
- a customer terminal comprising:
- one or more first processors;
- and
- first non-transitory computer-readable media storing instructions that, when executed by the one or more first processors, cause the one or more first processors to perform operations comprising:
- determining a state of at least one of the customer terminal or a merchant terminal;
- receiving payment object information from a payment object;
- serializing the payment object information based at least in part on a protocol buffer, the protocol buffer determined based at least in part on the state;
- and
- sending, to the merchant terminal, the payment object information;
- the merchant terminal comprising:
- one or more second processors;
- and
- second non-transitory computer readable media storing instructions that, when executed by the one or more second processors, cause the one or more second processors to perform operations comprising:
- receiving, from the customer terminal, the payment object information;
- sending the payment object information to a remote system;
- and
- receiving, from the remote system, transaction information associated with the payment card.
Dependencies are inferred from the claim text.