The present disclosure relates generally to providing a mechanism for communication between point of sale devices. Using network technology and novel processes, the present systems and methods can share transaction records among multiple devices without the presence of a physical server. For example, in certain embodiments, the present systems and methods leverage virtual server technology to implement local area networks of point of sale devices with zero configuration.
|
1. A system for facilitating data communication between point of sale (pos) devices, comprising:
a plurality of pos devices deployed at a retail location and operative to process transactions relating to purchase of goods/services at the retail location, wherein one of the plurality of pos devices comprises a master pos device that coordinates transaction data corresponding to the purchase of goods/services from the plurality of pos devices to a central server located at a disparate physical location from the retail location, and further wherein the plurality of pos devices are self-organized, whereby each of the plurality of pos devices dynamically share their statuses; and
the central server operative to communicate with the master pos device,
wherein the master pos device is designated from the plurality of pos devices via a master election algorithm, the master election algorithm comprising the following steps:
retrieving one or more preferences corresponding to election of the master pos device, wherein the one or more preferences define operational and/or network characteristics appropriate for the master pos device;
scanning each of the plurality of pos devices according to a predefined sorting algorithm to identify at least one pos device that has a respective status indicating it is available to become the master pos device and has operational and/or network characteristics matching the one or more preferences; and
designating the at least one pos device as the master pos device.
2. The system of
3. The system of
4. The system of
5. The system of
6. The system of
7. The system of
8. The system of
9. The system of
10. The system of
|
This application claims priority to, the benefit under 35 U.S.C. § 119 of, and incorporates by reference herein in its entirety U.S. Provisional Patent Application No. 62/491,763, filed Apr. 28, 2017, and entitled “Systems and Methods for Point of Sale Data Synchronization.”
The present systems and methods relate generally to synchronizing point of sale data and systems in commercial establishments, and more particularly to systems and methods for synchronizing point of sale data across multiple devices without the use of a central server.
A retail store point of sale (“POS”) system is a highly distributed system operating over a wide area network connecting retail stores to corporate data systems. A customer's interaction in the store at the point of sale needs to be as smooth as possible in order to ensure the highest level of customer experience. The reliability of the network connectivity between stores and external data sources (e.g., corporate headquarters) can vary substantially from one retailer to another or within a retailer based on the geography and capabilities of available data networks.
Traditionally, in-store systems included one or more in-store servers and one or more store devices. The devices in stores are generally traditional point of sale devices (e.g., desktop computers). These devices would electronically communicate to a store server, operating as a bridge between the wide area (corporate) network and the local area (store) network. The store server would both retrieve master data from the external data sources as well serve as a collection point for financial transactions to later be transmitted to the external data system for auditing and analysis. The challenge with this architecture, however, is the long term cost to own and operate such systems. Each end point in the store has to be secured, updated, and maintained which presents retailers with various challenges.
Virtually every retailer needs a high performing and highly reliable system which can operate quickly with or without a network connection to the corporate systems. Therefore, there exists a long felt but unresolved need for systems and methods that allow for POS systems to be centrally managed, have real-time access to key data, and operate offline without the use of a physical, in-store server.
According to various aspects of the present disclosure, and in one embodiment, the present systems and methods allow for the synchronization of point of sale data and devices in a communications network in both online and offline environments. In traditional point of sale systems, various POS devices are connected over a network to an “edge server”. In particular embodiments, the various devices may be computers, cash registers, etc., and the edge server is operable to receive data from these devices (such as transaction and payment information). In certain embodiments, the edge server may further transmit this data to a data center, or any appropriate large scale storage entity, for further processing and/or analysis. According to various aspects of the present disclosure, the present system eliminates the need for an edge server in a communications networks (e.g., a retailer network), as well as provides many benefits over previous systems. Throughout the disclosure, the terms “client” and “point of sale” (or “POS”) device are used interchangeably. It should be understood that these terms are intended to represent a device within a network operable to transmit and receive wired or wireless electronic communications in connection with processing point of sale transactions, such as purchases of goods and services.
In various embodiments, the present system includes one or more POS devices, each device operable to communicate with a virtual server (e.g., cloud-based architecture). In one embodiment, the system employs a virtual, document-oriented architecture and database system (e.g., Couchbase®, MongoDB®, CouchDB®, etc.) to receive, store, and analyze data from the one or more point of sale devices. In some embodiments, the one or more point of sale devices may be tablet computers (e.g., iPads®), desktop computers, smartphones, or any appropriate device capable of executing various business transactions. The one or more point of sale devices may execute software corresponding to the cloud-based architecture, such as the mobile application engine Couchbase Lite®, wherein the mobile application engine allows seamless communication between the point of sale devices and the cloud-based architecture.
According to various aspects of the present disclosure, and as will be discussed in greater detail below, the one or more point of sale devices form a peer-to-peer network at the point of sale location, wherein one of the point of sale devices is determined to be a master point of sale device by means of a leader election algorithm. In one embodiment, the master point of sale device transmits and receives data to and from a gateway module within the virtual architecture, and then further facilitates an update/sharing process among the other point of sale devices in the network. In a particular embodiment, the update/sharing process among the point of sale devices in the network may occur while the point of sale devices are offline and not connected to the virtual architecture. In one embodiment, and upon becoming reconnected to the virtual architecture, the master point of sale device may synchronize data between the virtual architecture and the peer-to-peer network at the point of sale location.
According to particular embodiments, a system for facilitating data communication between point of sale (“POS”) devices, including: a plurality of POS devices deployed at a retail location and operative to process transactions relating to purchase of goods/services at the retail location, wherein one of the plurality of POS devices comprises a master POS device that coordinates transaction data corresponding to the purchase of goods/services from the plurality of POS devices to a central server located at a disparate physical location from the retail location; and the central server operative to communicate with the master POS device, wherein the master POS device is designated from the plurality of POS devices via a master election algorithm, the master election algorithm including the following steps: 1) retrieving one or more preferences corresponding to election of the master POS device; 2) scanning each of the plurality of POS devices to identify at least one POS device matching the one or more preferences; and 3) designating the at least one POS device as the master POS device.
In particular embodiments, the system herein, wherein the central server is operative to receive transaction data from the master POS device. In at least one embodiment, the system herein, wherein the master POS device is operable to receive data from the central server, stores it in local memory within the master POS device, and propagate it to the plurality of POS devices. In some embodiments, the system herein, wherein each of the plurality of POS devices has installed thereon a software agent comprising an HTTP listener that detects data updates within any of the plurality of POS devices. According to one or more embodiments, the system herein, wherein each of the plurality of POS devices replicates its respective transaction data to at least one other POS device for purposes of data redundancy. According to some embodiments, the system herein, wherein data replication is performed during an offline mode when at least one of the plurality of POS devices is disconnected from a network connection. In various embodiments, the system herein, wherein the plurality of POS devices are organized into a hierarchical tree structure of devices comprising the master POS device at a root of the tree structure, whereby data is propagated and replicated along the tree structure. In particular embodiments, the system herein, wherein each of the plurality of POS devices is able to communicate with all POS devices in the plurality of POS devices. In certain embodiments, the system herein, wherein the one or more preferences corresponding to election of the master POS device are selected from the group comprising: available bandwidth, available storage memory, network connection strength, processing capabilities, age of device, device type, a preordered list of devices. In at least one embodiment, the system herein, wherein the plurality of POS devices are selected from the group comprising: cash registers, tablet computers, desktop computers, smartphones, and/or any of the foregoing having a dongle that enables payment transaction processing.
These and other aspects, features, and benefits of the claimed invention(s) will become apparent from the following detailed written description of the preferred embodiments and aspects taken in conjunction with the following drawings, although variations and modifications thereto may be effected without departing from the spirit and scope of the novel concepts of the disclosure.
The accompanying drawings illustrate one or more embodiments and/or aspects of the disclosure and, together with the written description, serve to explain the principles of the disclosure. Wherever possible, the same reference numbers are used throughout the drawings to refer to the same or like elements of an embodiment, and wherein:
For the purpose of promoting an understanding of the principles of the present disclosure, reference will now be made to the embodiments illustrated in the drawings and specific language will be used to describe the same. It will, nevertheless, be understood that no limitation of the scope of the disclosure is thereby intended; any alterations and further modifications of the described or illustrated embodiments, and any further applications of the principles of the disclosure as illustrated therein are contemplated as would normally occur to one skilled in the art to which the disclosure relates. All limitations of scope should be determined in accordance with and as expressed in the claims.
Whether a term is capitalized is not considered definitive or limiting of the meaning of a term. As used in this document, a capitalized term shall have the same meaning as an uncapitalized term, unless the context of the usage specifically indicates that a more restrictive meaning for the capitalized term is intended. However, the capitalization or lack thereof within the remainder of this document is not intended to be necessarily limiting unless the context clearly indicates that such limitation is intended.
According to various aspects of the present disclosure, and in one embodiment, the present systems and methods allow for the synchronization of point of sale data and devices in a communications network in both online and offline environments. In traditional point of sale systems, various POS devices are connected over a network to an “edge server”. In particular embodiments, the various devices may be computers, cash registers, etc., and the edge server is operable to receive data from these devices (such as transaction and payment information). In certain embodiments, the edge server may further transmit this data to a data center, or any appropriate large scale storage entity, for further processing and/or analysis. According to various aspects of the present disclosure, the present system eliminates the need for an edge server in a communications networks (e.g., a retailer network), as well as provides many benefits over previous systems.
In various embodiments, the present system includes one or more POS devices, each device operable to communicate with a virtual server (e.g., cloud-based architecture). In one embodiment, the system employs a virtual, document-oriented architecture and database system (e.g., Couchbase®, MongoDB®, CouchDB®, etc.) to receive, store, and analyze data from the one or more point of sale devices. In some embodiments, the one or more point of sale devices may be tablet computers (e.g., iPads®), desktop computers, smartphones, or any appropriate device capable of executing various business transactions. The one or more point of sale devices may execute software corresponding to the cloud-based architecture, such as the mobile application engine Couchbase Lite®, wherein the mobile application engine allows seamless communication between the point of sale devices and the cloud-based architecture.
According to a particular embodiment, the mobile application engine includes an HTTP listener. In particular embodiments, an HTTP listener is operable to monitor HTTP activity and requests within a network. According to various aspects of the present disclosure, the HTTP listener exposes a REST API, which allows for the system to detect text manipulation and updates within the system (e.g., new transaction data stored within the system).
In one embodiment, the mobile application engine supports push replication, wherein a client (point of sale device) may make an HTTP request to a listener to push changed documents. In certain embodiments, the mobile application engine also supports pull replication, wherein a client makes an HTTP request to pull changed documents. In various embodiments, replication can be continuous (using web socket or long-polling) or “one-shot”.
According to various aspects of the present disclosure, and as will be discussed in greater detail below, the one or more point of sale devices form a peer-to-peer network at the point of sale location, wherein one of the point of sale devices is determined to be a master point of sale device by means of a leader election algorithm. In one embodiment, the master point of sale device transmits and receives data to and from a gateway module within the virtual architecture, and then further facilitates an update/sharing process among the other point of sale devices in the network. In a particular embodiment, the update/sharing process among the point of sale devices in the network may occur while the point of sale devices are offline and not connected to the virtual architecture. In one embodiment, and upon becoming reconnected to the virtual architecture, the master point of sale device may synchronize data between the virtual architecture and the peer-to-peer network at the point of sale location.
In one embodiment, the virtual architecture includes a gateway module, such as the Couchbase® Sync Gateway. In a particular embodiment, the gateway module may maintain up-to-date copies of various documents and other data, as well as regulate the access of data between the various POS devices and the virtual architecture.
Referring now to the figures, for the purposes of example and explanation of the fundamental processes and components of the disclosed systems and methods, reference is made to
As shown in
In one embodiment, the network 106 may be, but is not limited to the Internet, and may involve the usage of one or more services (e.g., a Web-deployed service with client/service architecture, a corporate Local Area Network (LAN) or Wide Area Network (WAN), a cellular data network, or through a cloud-based system). Moreover, as will be understood and appreciated by one having ordinary skill in the art, various networking components like routers, switches, hosts, etc. are typically involved in these communications. Although not shown in
Assume, as a discussion example, that the sales clerk 102 is processing a credit card transaction for a customer that is purchasing apparel. The sales clerk is using a POS device 104 operatively connected to a POS network 108. As will be understood by a person of ordinary skill in the art, a POS device is an electronic device used to process payments at retail locations. Generally, a POS device can process credit cards and debit cards, track customer orders, and manage inventory among other tasks.
Prior to the sales clerk processing the customer's apparel transaction, in this particular example, the pricing information should be current and the store inventory should reflect current inventory levels. To ensure this, the master POS device 114 pulls the most current inventory and pricing information from the database 112 on the virtual server 110, and shares that information with every other device on the POS network 108, including POS device 104.
Continuing with the present example, in the event the sales clerk 102 needs to suspend the current transaction because the customer wants to continue shopping and select additional items, or for any other reason, the POS device 104 may replicate the customer's transaction across each device in the POS network, such that the customer can continue the transaction at any other POS device on the network 108. The system's ability to self-replicate within the POS network 108 facilitates data redundancy and increases resiliency in the event of disruptions to any one or more POS devices 104. As will be understood from the discussions herein, the above particular example is merely exemplary functionality of the systems and methods described herein. For example, the above describes a sales clerk processing a payment transaction for a customer purchasing apparel, but the systems and methods herein may be useful for any use in connection with point of sale transaction processing across a wide area network of point of sale devices.
Master Election
In one embodiment, the one or more POS devices in a POS network 108 “elect” one of the POS devices to be the master POS device 114. In certain embodiments, the master POS device receives and transmits data (using push and pull replication as described herein) to and from the virtual server 110.
In one embodiment, and as shown in
At step 204, the system is configured to perform a check to determine whether a master POS device 114 was found at step 202. In one embodiment, if a master POS device was found, at step 206 the system performs an additional check to determine whether more than one master POS devices were found in the POS network 108. If only one master POS device was found, then at step 208, in particular embodiments, the system is configured to broadcast the master designation to the POS network and the exemplary process terminates.
However, in various embodiments, if more than one master POS device was found at step 206, or no master POS device 114 was found at step 204, then at step 210 the system is configured to sort the POS devices in the POS network 108 according to a predetermined sorting algorithm. In one embodiment, the system may sort the POS devices via a comparison sorting algorithm (e.g., merge sort, insertion sort, etc.). In another embodiment, the system may sort the devices via an integer sorting algorithm (e.g., counting sort, alphabetically according to the device identification numbers, etc.). At step 212, in particular embodiments, the system designates a POS device to be the master POS device 114 in the POS network 108 based on a predetermined selection criteria. In one embodiment, the selection criteria may include positioning resulting from the sort conducted in step 210. In another embodiment, the selection criteria may include technical factors and POS device capabilities, such as memory size, upstream/downstream bandwidth capabilities, and processor speeds.
In various embodiments, the system is configured to terminate after step 214, in which the system broadcasts the master designation to the POS network 108. In at least one embodiment, upon election of a master POS device 114, the system initiates a master data sync followed by peer replication (pull) as described herein.
Master Data Sync
As shown in
In particular embodiments, the master POS device 114 may receive data from the ELB module 308. In some embodiments, elastic load balancing allows for the cloud-based architecture to dynamically adjust to high traffic without compromising fault tolerance. In particular embodiments, the master POS device 114 may receive master data directly from the database synchronization gateways 312 without the need for the ELB module 114. In certain embodiments, the virtual server 110 replicates the master data and transmits the data to the master POS device 114. In various embodiments, the replication process may be one-way or bi-directional, as appropriate for various system configurations.
Sync Gateway Replication
In various embodiments, once a master POS device 114 is elected, it may initiate continuous pull replication with the database synchronization gateway module 312 to receive documents, or only document changes, from the virtual server 110 that may include the item catalog, pricing, tax calculation information, promotions, user accounts, configuration settings, retail location settings, etc. According to various aspects of the present disclosure, the result of the sync gateway 312 replication is that any pertinent changes in master data are replicated and transmitted to the master POS device. In one embodiment, the master POS device 114 may initiate pull replication any time a document change is detected. In another embodiment, the master POS device may initiate pull replication at set intervals.
Peer Selection (Master Data)
Turning now to
For example, and as shown in
In some embodiments, a gossip protocol or algorithm may be used to propagate the master data throughout the POS network 108. In one embodiment, a gossip protocol allows for nodes to receive data from a nearby node, and then transmit that data to any other nearby node. A gossip protocol is useful and effective for spreading data across a network; however, it typically promotes redundancy due to nodes transmitting data to nodes that may have already received the data. In various embodiments, the system may use any other appropriate data transmission method/algorithm.
Service Discovery
In one embodiment, the POS devices at various locations use a service discovery protocol to advertise their availability on the network and to discover their peers (other POS devices in the POS network 108). In various embodiments, service discovery allows the clients within a network to be self-organizing without having to configure each connection, and to dynamically share state with each other.
For example,
In particular embodiments, the service discovery capability is implemented using DNS service discovery, wherein devices and services within a network are advertised to the surrounding POS devices using standard DNS programming interfaces, servers, and packet formats. In some embodiments, software packages such as Bonjour®, developed by Apple Inc., may allow service discovery within a network. In one embodiment, a custom websocket-based cloud discovery service may allow for each POS device to broadcast information such as device state to the surrounding POS devices.
In various embodiments, service discovery typically only works over a single network segment, therefore if a network is segmented it could have multiple “swarms” of POS devices. According to various aspects of the present disclosure, service discovery is used to advertise the following information:
In one embodiment, transaction data synchronization and/or replication allows for data regarding information such as unposted transactions on one or more POS devices to be shared in a POS network 108, and temporarily saved on one or more POS devices if a virtual server 110 cannot be reached (i.e. offline). In various embodiments, the transaction data may be stored in a local database or memory cache at one or more POS devices. In certain embodiments, transaction data syncing adds an extra layer of resilience to reduce the chance of transactions getting lost if a POS device's storage fails or the data is erased before all transactions can be posted to the virtual server. For example, consider a retail location with two POS devices operating various business transactions. In this example, each point of sale device may share transaction data with the other device, therefore if one of the devices experiences a failure then the other device includes a record of the failed device's transaction history.
In some scenarios, a transaction may be suspended at a point of sale device (or mobile payment application on a customer's mobile device). In these scenarios, and according to one embodiment, the system may select a peer POS device and the transaction information may be sent directly to the selected peer POS device to be resumed without having to relay the data through the virtual architecture.
Turning now to
According to various embodiments, the exemplary process begins with step 602, where the system is configured to inspect the transaction records of one POS device on the POS network 108. In various embodiments, transaction records may include, but are not limited to, total sales, employee sales, returns, customer information, inventory levels, etc.).
At step 604, the system is configured to perform a check to determine whether all the transaction records on the POS device inspected at step 602 have posted. For purposes of this discussion, a “posted transaction” is a transaction that has been finalized and can no longer be deleted or edited. In one embodiment, if all the transaction records have posted, then the process terminates.
However, in particular embodiments, if all the transaction records have not posted, then at step 606, the system is configured to identify other POS devices on the POS network 108. In various embodiments, the system identifies other POS devices using a service discovery protocol as described above in
At step 608, the system sorts the POS devices in the POS network 108 according to a predetermined sorting algorithm to determine the most efficient path of data replication and/or transfer. In one embodiment, the system may sort the POS devices via a comparison sorting algorithm (e.g., merge sort, insertion sort, etc.). In another embodiment, the system may sort the devices via an integer sorting algorithm (e.g., counting sort, alphabetically according to the device identification numbers, etc.).
Finally, at step 610, the system transmits the unposted transaction(s) to the other POS devices identified on the POS network prior to process termination.
According to various aspects of the present disclosure, for transaction replication, all devices do not need to receive all transactions. In a particular embodiment, the system replicates unposted transactions to 1-N peer devices.
Peer Replication (Pull)
In one embodiment, peer replication could use either push or pull replication. In one embodiment, each POS device in the system selects a partner (its parent node in the tree) and monitors its service information (the DNS-SD TXT record) (e.g., store identifier, terminal identifier, tenant identifier, environment identifier, database sequence, port number, etc.). In various embodiments, when the POS device detects a database sequence change, it may initiate pull replication. In particular embodiments, this process may execute whenever a service change is detected and replicate with a new parent if the network topology is changed.
Peer Replication (Push)
In one embodiment, when the transaction posting component fails to post transactions to the virtual server, it initiates push replication with 1-N peer POS devices.
Server/Slave Replication
In one embodiment, if a POS device advertises itself on a network as a “server”, all other POS devices may cease peer-to-peer replication and instead use pull replication with the server. In various embodiments, this makes it possible to deploy a store server when desired and the POS devices will automatically configure themselves into a hub-and-spoke topology to replicate with the newly declared server. If the store server goes down, the POS devices can switch into peer-to-peer mode and elect a master, providing resilience against a store server failure.
Mutual Authentication
In one embodiment, when a POS device is connecting to a server, the system may implement transport layer security (“TLS”) server authentication to ensure that the server is trusted. In various embodiments, this process includes reliance on a trusted domain name server (“DNS”) system to resolve the hostname to an address, and a trusted TLS certificate provided from the server at that address matching that hostname. In certain embodiments, TLS mutual authentication involves sending a client TLS certificate to the server, which verifies and identifies the client.
In some embodiments, mutual TLS authentication with custom verification is used, wherein information such as group ID and service name is embedded into the certificate. In one embodiment, during provisioning a POS device or other retail client, the POS device can submit a certificate signing request (“CSR”) to a private virtual Certificate Authority (“CA”) service and obtain a signed certificate and certificate chain it can use to present and verify credentials. In various embodiments, these certificates can be stored in the POS device's keychain. In some embodiments, a Certificate Revocation List (“CRL”) may be distributed out-of-band to revoke the certificate of a POS device that has been unprovisioned or has gone missing. According to various aspects of the present disclosure, this process allows for POS devices to submit CSRs, get certificates, and can then mutually authenticate each other.
Couchbase® Cluster
According to various embodiments, a virtual, document-oriented architecture and database system, such as a Couchbase® server, and sync gateway cluster in a virtual computing platform, such as Amazon® AWS, may be included in the system. In one embodiment, the sync gateway instances may be set up behind an elastic load balancer. In various embodiments, instances of a web service that provide secure, resizable computing capacity in the cloud (e.g., EC2, m4.xlarge) may be optimized to balance computing, memory, and network resources with persistent block storage (e.g., EBS storage). According to various aspects of the present disclosure, a time-series analytics platform (e.g., an ELK stack), may gather and report on telemetry from clients sent via a server-side data processing pipeline (e.g., a Logstash protocol).
Client
In various embodiments, a framework for developing mobile applications (e.g., React Native) may be integrated with a mobile application engine, such as Couchbase Lite® iOS, for evaluation on iOS mobile devices. In one embodiment, and in order to simulate a “swarm” of POS devices, a JavaScript run-time environment, such as a node.js application, may act as a client simulating a POS device. In a particular embodiment, the application integrated Couchbase Lite® Java may run a virtual operating system environment, such as Docker®, in a service for deploying and scaling web applications, such as Elastic Beanstalk, using its auto-scaling capability to configure the number of POS simulator workers for each test.
In a particular embodiment, the application may implement a custom scheme for replicating data from the sync gateway and also peer-to-peer between devices. Exemplary aspects of the implementation are outlined below:
The following are POS system data replication and document insertion test results over a variety of simulated environments. The number of documents, the size of data, and the speed of the network were tested among other variables.
Test 1: Insert Documents Via Sync Gateway
In some embodiments, Bash and JavaScript scripts may be implemented to populate the Couchbase® cluster with documents using the Sync Gateware REST API. In one exemplary system test which focused on replication from the cluster to the clients, not on the performance of the data upload, the scripts were not optimized to take advantage of Couchbase's° bulk upload API, resulting in the data below:
According to various aspects of the present disclosure, this test involves a single iOS POS client acting as master, replicating the documents from Test #1 from Sync Gateway.
According to various aspects of the present disclosure, this test involves a single iOS POS client acting as master, replicating the documents from Test #1 from Sync Gateway.
According to various aspects of the present disclosure, this test is a repeat of test #3 but with highly randomized documents that did not compress well over the wire.
According to various aspects of the present disclosure, this test may involve replicating all of the documents from the previous tests to a master iOS POS client with a single “slave” client that uses mDNS service discovery and P2P Couchbase Lite® pull replication from the master.
In at least one embodiment, this test may be a repeat of test 5, but may force the clients to switch between master and client by periodically killing and restarting whichever one was master. In one embodiment, the master-slave switch was forced seven times during the test.
Compared to the previous test, switching masters did increase the overall time, number of requests, and amount of data sent over the wire. However, performance was not greatly affected and both clients received all documents despite the applications being randomly terminated during replication.
Test 7: Replicate Data to 60 New POS Clients Added at a Store
In one embodiment, this test simulates 60 new clients being switched on with one as the elected master replicating from sync-gateway and p2p replication to the other 59.
In one embodiment, a script may be developed to use the Couchbase® Sync Gateway REST API* to upload documents. According to various aspects of the present disclosure, the script may be configured to create 80% of the documents on a “common” channel that would be received by all stores, and the other 20% on channels unique per store. In a particular embodiment, about 100K documents per store were created (˜4 KB each), which amounted to a total of 1.08M documents, or 4.32 GB of raw data. *Note: This script did not take advantage of the Couchbase® bulk upload API, which would likely greatly improve insert performance.
In one embodiment, using the 1.08M documents seeded in the Couchbase® cluster, 50 node POS client simulators were started to test replication via sync gateway to 50 stores. This is effectively simulating a scenario of bringing new 50 stores online simultaneously.
According to one embodiment, in this test a simple script was used to upload 540,000 documents, with 40,000 common to all stores and the rest 10,000 unique for each of 50 stores. There were 50 node POS simulator clients running and connected to sync-gateway while the documents were uploading.
From the foregoing, it will be understood that various aspects of the processes described herein are software processes that execute on computer systems that form parts of the system. Accordingly, it will be understood that various embodiments of the system described herein are generally implemented as specially-configured computers including various computer hardware components and, in many cases, significant additional features as compared to conventional or known computers, processes, or the like, as discussed in greater detail herein. Embodiments within the scope of the present disclosure also include computer-readable media for carrying or having computer-executable instructions or data structures stored thereon. Such computer-readable media can be any available media which can be accessed by a computer, or downloadable through communication networks. By way of example, and not limitation, such computer-readable media can comprise various forms of data storage devices or media such as RAM, ROM, flash memory, EEPROM, CD-ROM, DVD, or other optical disk storage, magnetic disk storage, solid state drives (SSDs) or other data storage devices, any type of removable non-volatile memories such as secure digital (SD), flash memory, memory stick, etc., or any other medium which can be used to carry or store computer program code in the form of computer-executable instructions or data structures and which can be accessed by a computer.
When information is transferred or provided over a network or another communications connection (either hardwired, wireless, or a combination of hardwired or wireless) to a computer, the computer properly views the connection as a computer-readable medium. Thus, any such a connection is properly termed and considered a computer-readable medium. Combinations of the above should also be included within the scope of computer-readable media. Computer-executable instructions comprise, for example, instructions and data which cause a computer to perform one specific function or a group of functions.
Those skilled in the art will understand the features and aspects of a suitable computing environment in which aspects of the disclosure may be implemented. Although not required, some of the embodiments of the claimed inventions may be described in the context of computer-executable instructions, such as program modules or engines, as described earlier, being executed by computers in networked environments. Such program modules are often reflected and illustrated by flow charts, sequence diagrams, exemplary screen displays, and other techniques used by those skilled in the art to communicate how to make and use such computer program modules. Generally, program modules include routines, programs, functions, objects, components, data structures, application programming interface (API) calls to other computers whether local or remote, etc. that perform particular tasks or implement particular defined data types, within the computer. Computer-executable instructions, associated data structures and/or schemas, and program modules represent examples of the program code for executing steps of the methods disclosed herein. The particular sequence of such executable instructions or associated data structures represent examples of corresponding acts for implementing the functions described in such steps.
Those skilled in the art will also appreciate that the claimed and/or described systems and methods may be practiced in network computing environments with many types of computer system configurations, including personal computers, smartphones, tablets, hand-held devices, multi-processor systems, microprocessor-based or programmable consumer electronics, networked PCs, minicomputers, mainframe computers, and the like. Embodiments of the claimed invention are practiced in distributed computing environments where tasks are performed by local and remote processing devices that are linked (either by hardwired links, wireless links, or by a combination of hardwired or wireless links) through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.
An exemplary system for implementing various aspects of the described operations, which is not illustrated, includes a computing device including a processing unit, a system memory, and a system bus that couples various system components including the system memory to the processing unit. The computer will typically include one or more data storage devices for reading data from and writing data to. The data storage devices provide nonvolatile storage of computer-executable instructions, data structures, program modules, and other data for the computer.
Computer program code that implements the functionality described herein typically comprises one or more program modules that may be stored on a data storage device. This program code, as is known to those skilled in the art, usually includes an operating system, one or more application programs, other program modules, and program data. A user may enter commands and information into the computer through keyboard, touch screen, pointing device, a script containing computer program code written in a scripting language or other input devices (not shown), such as a microphone, etc. These and other input devices are often connected to the processing unit through known electrical, optical, or wireless connections.
The computer that effects many aspects of the described processes will typically operate in a networked environment using logical connections to one or more remote computers or data sources, which are described further below. Remote computers may be another personal computer, a server, a router, a network PC, a peer device or other common network node, and typically include many or all of the elements described above relative to the main computer system in which the inventions are embodied. The logical connections between computers include a local area network (LAN), a wide area network (WAN), virtual networks (WAN or LAN), and wireless LANs (WLAN) that are presented here by way of example and not limitation. Such networking environments are commonplace in office-wide or enterprise-wide computer networks, intranets, and the Internet.
When used in a LAN or WLAN networking environment, a computer system implementing aspects of the invention is connected to the local network through a network interface or adapter. When used in a WAN or WLAN networking environment, the computer may include a modem, a wireless link, or other mechanisms for establishing communications over the wide area network, such as the Internet. In a networked environment, program modules depicted relative to the computer, or portions thereof, may be stored in a remote data storage device. It will be appreciated that the network connections described or shown are exemplary and other mechanisms of establishing communications over wide area networks or the Internet may be used.
While various aspects have been described in the context of a preferred embodiment, additional aspects, features, and methodologies of the claimed inventions will be readily discernible from the description herein, by those of ordinary skill in the art. Many embodiments and adaptations of the disclosure and claimed inventions other than those herein described, as well as many variations, modifications, and equivalent arrangements and methodologies, will be apparent from or reasonably suggested by the disclosure and the foregoing description thereof, without departing from the substance or scope of the claims. Furthermore, any sequence(s) and/or temporal order of steps of various processes described and claimed herein are those considered to be the best mode contemplated for carrying out the claimed inventions. It should also be understood that, although steps of various processes may be shown and described as being in a preferred sequence or temporal order, the steps of any such processes are not limited to being carried out in any particular sequence or order, absent a specific indication of such to achieve a particular intended result. In most cases, the steps of such processes may be carried out in a variety of different sequences and orders, while still falling within the scope of the claimed inventions. In addition, some steps may be carried out simultaneously, contemporaneously, or in synchronization with other steps.
The embodiments were chosen and described in order to explain the principles of the claimed inventions and their practical application so as to enable others skilled in the art to utilize the inventions and various embodiments and with various modifications as are suited to the particular use contemplated. Alternative embodiments will become apparent to those skilled in the art to which the claimed inventions pertain without departing from their spirit and scope. Accordingly, the scope of the claimed inventions is defined by the appended claims rather than the foregoing description and the exemplary embodiments described therein.
Johnson, David, Bissonnette, Terry
Patent | Priority | Assignee | Title |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Apr 27 2018 | JOHNSON, DAVID | APTOS, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 045677 | /0585 | |
Apr 27 2018 | BISSONNETTE, TERRY | APTOS, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 045677 | /0585 | |
Apr 30 2018 | APTOS, Inc. | (assignment on the face of the patent) | / | |||
Jul 23 2018 | APTOS, INC | CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH, AS COLLATERAL AGENT | FIRST LIEN PATENT SECURITY AGREEMENT | 046619 | /0365 | |
Jul 23 2018 | APTOS, INC | CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH, AS COLLATERAL AGENT | SECOND LIEN PATENT SECURITY AGREEMENT | 046619 | /0381 | |
Mar 04 2020 | ASPEN NY, LLC | APTOS, LLC | MERGER AND CHANGE OF NAME SEE DOCUMENT FOR DETAILS | 053158 | /0977 | |
Mar 04 2020 | APTOS, INC | APTOS, LLC | MERGER AND CHANGE OF NAME SEE DOCUMENT FOR DETAILS | 053158 | /0977 | |
Mar 04 2020 | Credit Suisse AG, Cayman Islands Branch | APTOS, INC | TERMINATION AND RELEASE OF PATENT SECURITY AGREEMENT | 052093 | /0158 | |
Mar 04 2020 | APTOS, LLC | KEYBANK NATIONAL ASSOCIATION | SECURITY AGREEMENT | 052090 | /0922 | |
Feb 11 2021 | APTOS, LLC | WILMINGTON SAVINGS FUND SOCIETY, FSB | SECURITY AGREEMENT | 055281 | /0979 | |
Feb 11 2021 | REVIONICS, LLC | WILMINGTON SAVINGS FUND SOCIETY, FSB | SECURITY AGREEMENT | 055281 | /0979 |
Date | Maintenance Fee Events |
Apr 30 2018 | BIG: Entity status set to Undiscounted (note the period is included in the code). |
Date | Maintenance Schedule |
Mar 01 2025 | 4 years fee payment window open |
Sep 01 2025 | 6 months grace period start (w surcharge) |
Mar 01 2026 | patent expiry (for year 4) |
Mar 01 2028 | 2 years to revive unintentionally abandoned end. (for year 4) |
Mar 01 2029 | 8 years fee payment window open |
Sep 01 2029 | 6 months grace period start (w surcharge) |
Mar 01 2030 | patent expiry (for year 8) |
Mar 01 2032 | 2 years to revive unintentionally abandoned end. (for year 8) |
Mar 01 2033 | 12 years fee payment window open |
Sep 01 2033 | 6 months grace period start (w surcharge) |
Mar 01 2034 | patent expiry (for year 12) |
Mar 01 2036 | 2 years to revive unintentionally abandoned end. (for year 12) |