Constant-time cascading deletion of resources

    公开(公告)号:US11694211B2

    公开(公告)日:2023-07-04

    申请号:US17360113

    申请日:2021-06-28

    Applicant: STRIPE, INC.

    CPC classification number: G06Q30/016 H04L67/025

    Abstract: A method and apparatus for deleting resources are described. In one embodiment, the method comprises: detecting, by a network commerce system, a deletion request in a first message sent over a network as an electronic communication to delete a first resource; identifying one or more additional resources that have a hierarchical relationship to the first resource, including identifying one or more child resources related the first resource, the one or more child resources being in a parent-child relationship with the first resource as the parent; causing a module of the network commerce system to perform a delete action with respect to the first resource, where the delete action deletes the first resource and causes the one or more child resources to be deleted in the future and to appear deleted when receiving access requests prior to deletion of the one or more child resources; detecting, by the network commerce system, an access request in a second message sent over the network as an electronic communication to access one child resource of the one or more child resources after deletion of the first resource but prior to deletion of the one child resource; determining, in response to the access request, if the first resource has been deleted; and denying access to the one child resource if the first resource is determined to have been deleted.

    DATABASE RACE CONDITION PREVENTION

    公开(公告)号:US20230114105A1

    公开(公告)日:2023-04-13

    申请号:US17489062

    申请日:2021-09-29

    Applicant: Stripe, Inc.

    Abstract: A method comprises: setting an first entry and an second entry in a database; receiving a first online transaction; responsive to determining a lock of the database is in progress, suspending the first online transaction; updating the first entry; removing the lock; receiving a second online transaction; responsive to determining that the first field is greater than zero, decrementing the first field by an amount indicated in the second online transaction; and responsive to determining the second entry is greater than zero, decrementing the second entry.

    CROSS-PLATFORM CONTRACT VALIDATION

    公开(公告)号:US20220303183A1

    公开(公告)日:2022-09-22

    申请号:US17204398

    申请日:2021-03-17

    Applicant: STRIPE, INC.

    Abstract: A method and apparatus for performing cross-platform contract validation are described. In one embodiment, the method for validating compatibility between first and second endpoints, the method comprising: accessing a memory storing a machine-readable contract specifying a request-response pair in a file, the request-response pair consisting of an expected request that the second endpoint expects to receive from the first endpoint and an expected response that should be provided by the second endpoint according to the expected request from the first endpoint; and performing multi-platform contract validation by performing independent tests for the first and second endpoints, using the expected request and expected response specified in the machine-readable contract.

    Systems and methods for context-aware event ordering protocol for distributed service systems

    公开(公告)号:US11431823B1

    公开(公告)日:2022-08-30

    申请号:US17531466

    申请日:2021-11-19

    Applicant: Stripe, Inc.

    Abstract: A method and apparatus for a first service processing system receiving and responding to a service request using a time context of a service time protocol is described. The method may include receiving a network based message associated with a service. The method may also include determining whether a service time context has been passed to the first service processing system from a second service processing system in the request. Furthermore, the method can include when no service time context is determined to have been passed to the first service processing system in the request, generating a current service time from a combination of a current physical time of the first service processing system and an initial counter time, performing a task associated with the service, and transmitting a second network based message that comprises the current service time as time context metadata associated with the performance of the task to a second service processing system.

    ADAPTIVE CONTROL LOOP ROUTING VIA CASCADING CONTROLLERS

    公开(公告)号:US20250071048A1

    公开(公告)日:2025-02-27

    申请号:US18236364

    申请日:2023-08-21

    Applicant: Stripe, Inc.

    Abstract: Aspects of the subject technology include receiving from a user device a request for obtaining data associated with the user device. The request is addressed to a destination device. Aspects also include determining with a first controller whether to transmit the request to the destination device via a first path. The determination is based on a first success rate of the first path. Aspects also include transmitting the request to the destination device via the first path in response to a determination to transmit the request to the destination device via the first path. Aspects also include determining, with a second controller, whether to transmit the request to the destination device via a second path, in response to a determination not to transmit the request via the first path. The determination is based on a second success rate of the second path.

    Systems, methods, and apparatuses for implementing user customizable policies for revenue recognition

    公开(公告)号:US11776066B2

    公开(公告)日:2023-10-03

    申请号:US17479757

    申请日:2021-09-20

    Applicant: STRIPE, INC.

    CPC classification number: G06Q40/12 G06Q10/063

    Abstract: Systems, methods and apparatuses for implementing user customizable policies for revenue recognition are described. In some embodiments, a method comprises: tracking, by a network commerce system, a plurality of transactions; determining one or more revenue recognition rules of a plurality of revenue recognition rules that applies to each transaction of the plurality of transactions based on results of matching performed between conditions of each of the plurality of revenue recognition rules and one or more characteristics of said each transaction, the conditions of each rule including an effective time period during which individual transactions are subject to the rule; and automatically performing revenue recognition for each transaction according to one of the one or more revenue recognition rules determined to apply to said each transaction using based on results of matching conditions of one revenue recognition rule and the one or more characteristics of said each transaction.

    SYSTEMS AND METHODS FOR CONTEXT-AWARE EVENT ORDERING PROTOCOL FOR DISTRIBUTED SERVICE SYSTEMS

    公开(公告)号:US20230164243A1

    公开(公告)日:2023-05-25

    申请号:US17898422

    申请日:2022-08-29

    Applicant: Stripe, Inc.

    CPC classification number: H04L67/62 H04L67/01 H04L67/51

    Abstract: A method and apparatus for a first service processing system receiving and responding to a service request using a time context of a service time protocol is described. The method may include receiving a network based message associated with a service. The method may also include determining whether a service time context has been passed to the first service processing system from a second service processing system in the request. Furthermore, the method can include when no service time context is determined to have been passed to the first service processing system in the request, generating a current service time from a combination of a current physical time of the first service processing system and an initial counter time, performing a task associated with the service, and transmitting a second network based message that comprises the current service time as time context metadata associated with the performance of the task to a second service processing system.

    DATABASE LOCKNG MECHANISM
    8.
    发明申请

    公开(公告)号:US20230098748A1

    公开(公告)日:2023-03-30

    申请号:US17590206

    申请日:2022-02-01

    Applicant: Stripe, Inc.

    Abstract: A method for preventing race conditions in a database comprises: setting a first numerical entry and a second numerical entry in a database; receiving a first online transaction; responsive to determining a lock of the database is in progress due to a second received online transaction, suspending the first online transaction; removing the lock after the second received online transaction is completed; responsive to determining that the first entry is greater than zero, decrementing the first entry by an amount indicated in the first online transaction; responsive to determining the second entry is greater than zero, decrementing the second entry; processing the first transaction; and generating an online transaction record for the first transaction and storing the generated record in an online transaction database.

    SYSTEMS, METHODS, AND APPARATUSES FOR IMPLEMENTING USER CUSTOMIZABLE POLICIES FOR REVENUE RECOGNITION

    公开(公告)号:US20240062312A1

    公开(公告)日:2024-02-22

    申请号:US18241656

    申请日:2023-09-01

    Applicant: Stripe, Inc.

    CPC classification number: G06Q40/12 G06Q10/063

    Abstract: Systems, methods and apparatuses for implementing user customizable policies for revenue recognition are described. In some embodiments, user inputs are received from a merchant that specify components of a set of revenue recognition rules to apply to transactions of the merchant on a per transaction basis, wherein each revenue recognition rule specifies a set of conditions to be met to trigger its application, a rule identifier, status, and whether the revenue recognition rule is applied at least one of: a specified product; a specified invoice; a specified customer; a specified payment; a specified refund; and a specified dispute. The user inputs are converted into rules to enable the rules to be matched to the transactions. A transaction is tracked by a server computer system. One or more applicable revenue recognition rules are identified to apply to the transaction, and revenue recognition is performed against the transaction.

    Systems and methods for context-aware event ordering protocol for distributed service systems

    公开(公告)号:US11863649B2

    公开(公告)日:2024-01-02

    申请号:US17898422

    申请日:2022-08-29

    Applicant: Stripe, Inc.

    CPC classification number: H04L67/62 H04L67/01 H04L67/51

    Abstract: A method and apparatus for a first service processing system receiving and responding to a service request using a time context of a service time protocol is described. The method may include receiving a network based message associated with a service. The method may also include determining whether a service time context has been passed to the first service processing system from a second service processing system in the request. Furthermore, the method can include when no service time context is determined to have been passed to the first service processing system in the request, generating a current service time from a combination of a current physical time of the first service processing system and an initial counter time, performing a task associated with the service, and transmitting a second network based message that comprises the current service time as time context metadata associated with the performance of the task to a second service processing system.

Patent Agency Ranking