Subscription management method, device and system
Patent Information
- Application Number
- JP2024520890
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-10-06
- Filing Date
- 2022-10-04
- Publication Date
- 2024-10-23
Smart Images

Figure 2024538702000001_ABST
Abstract
Description
[Technical field]
[0001] TECHNICAL FIELD This disclosure relates generally to subscription management for providing object updates to clients. [Background technology]
[0002] Subscription management systems provide client devices with updates on various subject-matter data subscribed to by users of the respective client devices. For example, in the financial industry, traders who electronically trade financial instruments using electronic trading systems often subscribe to services that provide trade-related data, including, for example, trading portfolio information and real-time market information related to the financial instruments in the trading portfolio from external data sources. The tremendous amount of trading information available for electronic delivery to clients from subscription management systems that provide financial instrument trading information, and the need to ensure that clients electronically receive current trading information in real-time according to client-specific requirements for selected financial instrument trading information available from the subscription management system, results in the use of substantial bandwidth of the communications network and substantial amounts of computer processing and data storage resources at the subscription management system computers that provide the subscription data to each client's computer and at each client's computer. The technical problem of a large processing burden at the subscription management system server computers and at the client's computers that receive the subscription data is particularly acute for subscriptions with a real-time data context, where updated subscription data needs to be delivered to the client's computers in real-time as the updates occur.
[0003] Thus, a need exists for methods, devices, and systems that use improved computer and networking architectures to minimize processing resource usage, bandwidth usage, memory consumption, and processing latency, and to increase reliability, efficiency, and processing speed in delivering subscription data in real-time updates to client computers in accordance with each client's subscription. Summary of the Invention [Problem to be solved by the invention]
[0004] The present invention has been made to solve the problems in the conventional techniques described above. [Means for solving the problem]
[0005] According to one aspect of the present disclosure, a subscription management system includes at least one memory configured to store client subscription data for a client subscription of at least one client, and subscription subject data indicative of a dataset including a plurality of subjects available for selection for a given client subscription, each of the subjects having a respective rate of change; receiving, via a communication network, from at least one client device of the at least one client, a subscribe request for a client subscription identifying subscribed subjects of the selected dataset for a respective subscription item; and generating a server subscription array based on the subscribe request, wherein each subscription item of the client subscription is identified by a row identifier. generating, for each subscribed subject of each subscription item of the client subscription indicated in the server subscription array, a subject message thread indicating a current value of the subscribed subject; generating thread-safe messages from the subject message threads respectively; obtaining object values indicated respectively for the subscribed subject of the thread-safe messages associated with the row identifiers by random access to the thread-safe messages based on the row identifiers indicated in the server subscription array and respectively associated with the thread-safe messages; and displaying at the client device in a client view array in accordance with the client subscription.and at least one processor configured to control: generating a user interface (UI) message indicating a byte array representing at least one current object value for at least one of the subscribed subjects for a given subscription item having a given row identifier in the server subscription array obtained by accessing the thread-safe message, where given current object values for given ones of the subscribed subjects are included in the byte array based on a given rate of change corresponding to the given subscribed subject respectively; and transmitting the UI message to the client device via the communication network.
[0006] According to one aspect of the disclosure, a method includes receiving, by at least one processor, from at least one client device of at least one client over a communications network, a client subscription subscribe request identifying subscribed subjects of a dataset including a plurality of subjects available for selection of a given client subscription selected for a respective subscription item, each of the subjects of the dataset having a respective rate of change; generating a server subscription array based on the subscribe request, each subscription item of the client subscription corresponding to a row of the server subscription array identified by a row identifier and including at least one subscribed subject; and generating a subject message indicating a current value of the subscribed subject for each subscribed subject of each subscription item of the client subscription represented in the server subscription array. generating a thread-safe message thread for each of the subscribed subjects; generating thread-safe messages from the subject message threads; obtaining an object value indicated for each of the subscribed subjects of the thread-safe messages associated with the row identifiers by random accessing the thread-safe messages based on the row identifiers indicated in the server subscription array and respectively associated with the thread-safe messages; and generating a user interface (UI) message indicating a byte array respectively representing at least one current object value for at least one of the subscribed subjects for a given subscription item having a given row identifier in the server subscription array obtained by accessing the thread-safe message for display at the client device in a client view array in accordance with the client subscription, wherein the given current object value for a given of the subscribed subjects isand controlling the inclusion in the byte array and the transmission of UI messages to the client device via the communications network based on predetermined rates of change each corresponding to a respective one of the predetermined subscribed subjects.
[0007] According to one aspect of the present disclosure, a non-temporary storage medium, when executed by at least one processor, includes: receiving, from at least one client device of at least one client over a communications network, a client subscription subscribe request identifying subscribed subjects of a dataset including a plurality of subjects available for selection of a given client subscription selected for a respective subscription item, each of the subjects having a respective rate of change; generating a server subscription array based on the subscribe request, wherein each subscription item of the client subscription corresponds to a row of the server subscription array identified by a row identifier and includes at least one subscribed subject; and generating a server subscription array indicating, for each subscribed subject of each subscription item of the client subscription represented in the server subscription array, a current value of the subscribed subject. generating a message thread; generating thread-safe messages from the subject message threads respectively; obtaining object values indicated for the subscribed subjects of the thread-safe messages associated with the row identifiers by random access to the thread-safe messages based on the row identifiers indicated in the server subscription array and respectively associated with the thread-safe messages; and generating user interface (UI) messages indicating a byte array respectively representing at least one current object value for at least one of the subscribed subjects for a given subscription item having a given row identifier in the server subscription array obtained by accessing the thread-safe messages for display at the client device in a client view array in accordance with the client subscription, wherein the given current object value for a given subscribed subject among the subscribed subjects is:and may be configured to store instructions for controlling inclusion in the byte array and transmission of UI messages to the client device over the communications network based on predetermined rates of change each corresponding to a respective one of the predetermined subscribed subjects. [Brief description of the drawings]
[0008] [Figure 1] FIG. 2 is a block diagram of an example subscription management device in accordance with the present disclosure. [Diagram 2] FIG. 1 is a block diagram of an example subscription management system according to the present disclosure. [Diagram 3] 1 is an exemplary high-level flow diagram of an exemplary method for providing a subscription service in accordance with the present disclosure. [Figure 4] 1 illustrates an exemplary high-level flow diagram of an exemplary method for subscription management processing in accordance with the present disclosure. [Diagram 5] 1 is an exemplary high-level flow diagram of a method for generating a byte array containing subscription data for a client subscription in accordance with the present disclosure. [Figure 6] FIG. 2 illustrates an exemplary configuration of a server subscription array in accordance with the present invention. [Figure 7] FIG. 2 illustrates an exemplary configuration of another server subscription arrangement according to the present invention. [Figure 8] FIG. 2 illustrates an exemplary configuration of a client view array in accordance with the present disclosure. [Figure 9] FIG. 2 illustrates an example implementation of subscription management for multiple clients in accordance with the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] The disclosed technology relates, by way of example, to a computer and networking architecture that may control real-time delivery of subscription data to each client computing device that subscribes to a subscription service in which the client may dynamically select subscription subjects ("subjects") for which data is to be provided under the client subscription, utilizing a UI message framework that reduces the size and frequency of real-time transmissions of user interface (UI) messages to the client computing devices that include client subscription data in accordance with the client subscription. In one embodiment, the UI messages may have a Java Script Object Notation (JSON) message format and may include a byte array that includes the client subscription data as an object value, from which a client view array is generated and displayed on the display of the client computing device. Advantageously, the technical problems of heavy usage of processing resources and memory in the subscription data server and each client's computing device, as well as communication network bandwidth, to meet the demands of real-time subscription data delivery to multiple client's computing devices based on the client's subscriptions are solved by the technical solution of a subscription management technique using a UI message framework according to the present disclosure, which reduces the size and sending frequency of UI messages and minimizes string processing on the client's computing devices by using numeric values in UI messages to represent string constants corresponding to the subjects of the client's subscriptions.In an exemplary embodiment as illustrated herein, a subscription management system according to the present disclosure is implemented in connection with an electronic financial instruments exchange system to address the needs of financial instruments traders as clients, for example, to display transaction data for subjects subscribed to by the trader, each associated with orders and market data for a particular financial instrument, along with update data for the subjects, in real time on a trade blotter on the trader's computer. It should be appreciated that the features according to the present disclosure may be applied to other subscription management services that require real-time data transmission while minimizing the amount of data processed and stored, and typically involve data sets with a large number of subjects available for subscription where a client may wish to subscribe to a smaller subset of the available subset, such as, for example, news, person-to-person text messaging, and other dynamic client subscription systems.
[0010] The present disclosure may be implemented using a combination of computer hardware and computer software to form a special purpose machine capable of performing operations. Embodiments of the present disclosure may be performed using a combination of a central processing device (CPU), physical memory, physical storage devices, electronic communication ports, electronic communication lines, and other computer hardware. The computer software may include at least a computer operating system and the special purpose computer processes described herein.
[0011] In this disclosure, certain specific details are set forth to provide a thorough understanding of various disclosed embodiments. However, one skilled in the art will recognize that the embodiments can be practiced without one or more of these specific details, or with other methods, components, etc. In other instances, well-known structures associated with electronic trading systems have not been shown or described in detail to avoid unnecessarily obscuring the description of the embodiments.
[0012] Aspects, features and advantages of the present disclosure will be understood when considered in conjunction with the following example description and the accompanying drawings. In describing the exemplary embodiments of the present disclosure illustrated in the drawings, specific terminology is used for the sake of clarity. However, it is not intended that the disclosure be limited to the specific terminology used.
[0013] Example System 1 illustrates a block diagram of an exemplary electronic subscription management computing device 10 according to the present disclosure. The device 10 may be communicatively coupled to a plurality of remote client devices and a plurality of external data sources via a communications network. In some embodiments, advantageously according to the present disclosure, the device 10 may perform subscription management processing functions that provide a subscription management service platform that provides technical advantages of minimizing the use of network bandwidth, processing resources, and memory resources, as described in more detail below, in connection with processing, managing, transmitting, and displaying in real time, in a user interface of each client's computing device, subscription data associated with a customer's subscription contract to receive real time updates on selected subjects of subscription data, such as data related to electronic financial instrument transactions, and that reduce the size and number of messages generated, transmitted, received, and processed by components of the device 10 or computing devices to which the subscription data is provided by the device 10.
[0014] 1, computing device 10 may be in the form of a computing device that includes one or more processors 2, one or more memories 4, and other components typically found in a computing device. In one embodiment, the one or more processors 2 may include, or be configured to operate as, one or more servers.
[0015] Memory 4 may store information accessible by one or more processors 2, including instructions 6 that may be executed by one or more processors 2. Memory 4 may also include data 8 that may be stored, manipulated, or retrieved by a processor. Data 8 may also be used to execute instructions 6 and / or perform other functions. Memory 4 may be any type of non-transitory medium readable by one or more processors, such as a hard drive, solid state hard drive, memory card, ROM, RAM, DVD, CD-ROM, writable memory, read-only memory, etc.
[0016] Instructions 6 may be any set of instructions capable of being read and executed by one or more processors 2. The instructions may be stored elsewhere on the computing device, such as on a network attached storage drive, or may be stored locally on the computing device. The terms "instructions," "functions," "applications," "processes," and "programs" may be used interchangeably herein.
[0017] Data 8 may be stored, retrieved and / or modified by one or more processors 2 in accordance with instructions 6. Such data may be stored in one or more formats or structures, such as a relational or non-relational database, an SQL database, a table with many different fields and records, an XLS, TXT or XML document, etc. The data may also be formatted in a format that any computing device can read. In some embodiments, the data may be encrypted.
[0018] Additionally, the device 10 may include a communication device 9 configured to provide wired or wireless communication capabilities.
[0019] The one or more processors 2 may be any type of processor, or may be two or more types of processors, for example, the one or more processors 2 may be CPUs manufactured by Intel, AMD, and Apple, or application specific integrated circuits (ASICs) or systems on chips (SoCs).
[0020] Device 10 may include all of the components typically used in connection with a computer, for example, device 10 may have a keyboard and mouse and / or various other types of input devices, such as pen input, joystick, buttons, touch screen, etc., and a display, which may include, for example, a CRT, LCD, plasma screen monitor, television, projector, etc.
[0021] Although FIG. 1 illustrates the components of device 10 as being a single component, the components may actually be comprised of multiple processors, computers, computing devices, or memories that may or may not be stored in the same physical housing. For example, the memory may be a hard drive or other storage medium located in a different housing than device 10. Thus, any reference herein to a processor, computer, computing device, or memory is understood to include a reference to a collection of processors, computers, computing devices, or memories that may or may not operate in parallel. Furthermore, although some functions described below are shown as occurring on a single computing device having a single processor, various aspects of the subject matter described herein may be implemented by multiple computing devices in series or parallel. For example, in one embodiment, the functions performed by device 10 as described below may be performed at least in part on another computing device having the same or similar components as device 10. In one embodiment, the functions described herein performed by device 10 may be distributed among one or more computing devices (servers) operating as a cloud system.
[0022] 2, device 10 may be interconnected with other computers via a communications network 18, which may be a local area network ("LAN"), a wide area network ("WAN"), the Internet, etc. Network 18 and intervening nodes may also use a variety of protocols, including virtual private networks, local Ethernet networks, private networks using one or more proprietary communications protocols, cellular and wireless networks, HTTP, and various combinations of the foregoing. Additionally, network 18 may utilize a variety of currently available or later developed networking protocols, including, but not limited to, TCP / IP-based networking protocols.
[0023] Although only a single computing device 10 (computer) is depicted herein, it should be understood that a computing device according to the present disclosure may include additional interconnected computers, and that device 10 may be an individual node in a network including many more computers.
[0024] The instructions present in the non-transient memory may include any set of instructions that may be executed by the processor 2 directly (such as machine code) or indirectly (such as script). In this regard, the terms "instructions", "script", or "module" may be used interchangeably herein. The computer-executable instructions may be stored in any computer language or format, such as object code or source code modules. Furthermore, it is understood that the instructions may be implemented in the form of hardware, software, or a combination of hardware and software, and the examples herein are merely illustrative.
[0025] With reference to FIG. 2, in some embodiments, device 10 may be configured to implement certain functions and operations in a subscription management system 40 according to the present disclosure, and in some embodiments may be programmed with a program to perform some or all of the functions and operations described herein.
[0026] 2, the device 10 may include a server 22, a memory 24 configured to store client subscription data 26 and subscription subject data 28, a communication interface 30, a communication interface 32, and a subject data generator 48. Each of the server 22, the communication interfaces 30 and 32, and the subject data generator 48 may include a processor and memory including instructions to implement the functionality of the respective components, as described below. The device 10 may be part of a subscription management system 40 and may be configured to be communicatively coupled to a number of computers as client devices 44 via the interface 30 and to a number of external data sources 46 via the interface 32 by the communication network 18. For reference and convenience, any disclosure herein that the server 22 or another component of the system 40 may perform a function or operation is also a disclosure that a processor or circuitry of the server 22, or another component of the system 40, may perform or control the execution of the function or operation.
[0027] In one embodiment, device 10 may be configured to communicate over communication network 18 using a networking protocol configured to enable communication over interface 30 with communication network 18 via web sockets 45 with client devices 44, perform functions associated with a subscription service to service client subscriptions at multiple client devices ("client subscriptions"), and implement the subscription service. In one embodiment, device 10 may use a custom Java Script Object Notation (JSON) protocol as the networking protocol to send UI messages containing subscription data over web sockets 45 to client devices 44 to service the client subscriptions. In one embodiment, the UI messages contain the client subscription data as object values of an array, and may be formatted according to multiple JSON protocols, such as JSON over RPC, JSON over REST / HTTP, etc.
[0028] In one embodiment, one or more of the client devices 44 may be a laptop, desktop, or mobile computing device such as a smartphone or tablet. One or more of the client devices may execute “apps” to communicate with the server 22 and the interface 30. The apps may run on a mobile device operating system, such as Apple's iOS®, Google's AndroID®, or Microsoft's Windows 10 Mobile®, which provides a platform that allows the apps to communicate with certain hardware and software components of the mobile device. For example, the mobile device operating system may provide functionality for interacting with location services circuitry, wired and wireless network interfaces, user contacts, and other applications, including application programming interfaces (APIs) that allow communication with hardware and software modules that run outside of the apps, such as those included in the device 10. In one embodiment, the client devices 44 may be configured to communicate with the device 10 via one or more web sockets 45 via apps running on the client devices 44.
[0029] In one embodiment, one or more of the data sources 46 may be computing devices, including mobile computing devices, having processing and communication capabilities, executing software instructions or “apps” to interact with the server 22 and the interface 32 to transmit, among other things, data for each subject of a data set available for subscription to a client. In one embodiment, the data sources 46 may be external to the device 10 and provide data, including real-time data, for use in servicing subscriptions of subjects of a data set by users of computing devices (“clients”) having subscriptions with the device 10. In one embodiment, the data sources 46 may be, for example, internal or external financial markets or exchanges, financial transaction clearinghouses, middle / back offices providing post-trade and allocation data, market data sources providing real-time financial market data via multicast or point-to-point communication, and databases of transaction information including data describing attributes of client subscription accounts.
[0030] In one embodiment, interface 30 may be configured to establish a communications link with client device 44 using the Point to Point Financial Information eXchange (FIX) protocol.
[0031] In one embodiment, the interface 32 may be configured as a gateway through which a communication link is established with a data source 46 .
[0032] The subject data generator 48 may generate data for particular subjects of a data set available for a client subscription based on data from the data sources 46 or other data related to the subjects of the data set and stored in memory 24.
[0033] The server 22 may be configured to control the receipt of messages defining parameters of client subscriptions sent from one or more client devices 44, the receipt of incoming messages from a data source 46 containing external data of or related to subscription subjects available for subscription from a data set, and the acquisition or receipt of internal data from a data generator 48 that may be used to constitute or determine data for each subject of a data set available for a client subscription. The external and internal data may be numerical values, text characters, or a combination of numerical values and text characters. The subscription data set may include (i) subjects whose data changes little or changes infrequently over a given period of time, e.g., data that changes about 0-2 times per day (“static data”), and (ii) subjects whose data changes frequently, e.g., multiple times per second, and in some embodiments at a pre-set rate of change based on operations performed by the subject data generator 48 (“transactional data”). As will be described in more detail below, a subject's data may change in real time based on external data that changes in real time, but a subject may be specified with respective change rates based on whether the subject relates to static or transactional data. The change rates may determine when server 22 generates and sends UI messages to client devices with the current value of the subject's data to service the client subscription.Using the rate of change to control the transmission of UI messages containing updated data for each subject to service a client subscription advantageously reduces the usage of processing, network bandwidth, and data storage resources in providing a subscription service in accordance with the present disclosure because updated data for each subject for a client subscription may be transmitted at a preset rate that is a rate of change specific to the type of subject's data, rather than the rate at which the subject's data changes. For example, a data set for an electronic financial instrument data subscription in accordance with the present disclosure may include subjects having (i) static data, such as the name of a trader's trading book (e.g., "BookName") that contains the particular financial instrument for which subscription data is subscribed to by the trader under the client subscription, and (ii) transactional data, such as the number of shares of a particular financial instrument traded so far during the day (e.g., "OrderRecords"), the real-time market price of a particular financial instrument (e.g., "MarketDataRecords"), and the results of calculations (e.g., "CalcRecords") performed by server 22 at predefined times, such as every 500 milliseconds, using data from subject data generator 48 or data of other subjects in the data set. In one embodiment, a subject's data, including transaction data, may change in real time more frequently than a rate of change specified for the subject, such as, for example, when the subject is the current market price of a financial instrument based on real-time external market data.
[0034] Additionally, server 22 may be configured to control generation of UI messages including the current data of each subject of the client subscription. In one embodiment, the UI messages may include or indicate the current data of the subjects of the client subscription as object values in a JSON message. Server 22 sends UI messages via interface 30 over communications network 18 and web sockets 45 to one or more client devices 44, causing display of a client view array in a trade blotter at the client device, where the client view array includes the current data of the subjects of the client subscription obtained from the UI messages.
[0035] In one embodiment, server 22 may be configured to analyze metadata provided as part of one or more incoming messages from external sources 46 and process subscription subject related data in the incoming messages based at least in part on the content of the metadata of the incoming messages to identify specific data in the incoming messages, including data defining relationships between data for a subject ("parent data") and data for other subjects ("dependent data"). Dependent data may include static data and transactional data. For example, a message stream from an external source 46 providing stock order data may include parent data for a particular stock, such as GOOGLE, and data specifying dependent data subjects of the parent data, such as market price, volume, side (e.g., buy or sell), offer size, etc., for which data is provided in the respective message stream. In another example, a message stream from an external source 46 providing market data may include parent data for a particular stock, such as GOOGLE, and data specifying subordinate data subjects of the parent data, such as the bid price, ask price, last traded price, exchange, etc., subjects associated with the parent data for which data is respectively provided in the message stream.
[0036] As will be described in more detail below, message streams from external sources 46 may contain data regarding relationships between specific parent and subordinate data subjects that may be used to service the subscriptions of the subjects of specific subscription items of the client subscription.
[0037] In one embodiment, server 22 may be configured to provide a web-based subscription management service that runs on a browser or desktop container, such as Openfin, and performs authentication functions to authenticate client device 44.
[0038] Example of how to For purposes of illustrating features of the present disclosure, high level block diagrams of exemplary processes 100, 200 and 400, which advantageously minimize bandwidth usage, processing resource and memory usage, and processing latency over a communications network while providing subscription service management functionality including real-time delivery of subscription data, as shown in Figures 3, 4 and 5, respectively, are described below in conjunction with operations performed by components of system 40, as shown in Figure 2. Process 100 may control generating a data set of subscription subjects available for client subscriptions and receiving and storing in memory data of the subjects of the data set. Process 200 may control displaying subjects of the data set available for client subscriptions at a client device, receiving a client subscription request from a client device, determining a server subscription array including subscription items for each subscribed subject based on the client subscription request, generating a UI message including current data of the subscribed subjects that satisfy a filter criteria according to the client subscription, and sending a UI message to the client device where a client view array including current data of the subjects subscribed in the client subscription may be displayed at the client device. Process 400 may control generating a byte array containing current data for a subscribed subject according to a client subscription based on data for the subscription subject received from external sources 46 and data generator 48, and whether the subscribed subject data meets filter criteria of the client subscription.In one embodiment, the filter criteria may specify, for example, whether a particular user of an institution having a client subscription with multiple users as clients is entitled to receive data for a subscribed subject, or whether the current value of a subscribed subject meets a requirement that it is greater than, less than, or equal to a given value.
[0039] 3, in block 105, the server 22 may generate a dataset of subscription subjects and store the dataset in memory 24 with the subscription subjects as subscription subject data 28. The dataset may correspond to a particular category or type of data for which the server 22 receives data from an external source 46, such as a database or computing device. The dataset containing all of the subscription subjects may be configured to be viewed as a two-dimensional array with columns corresponding to each subject in the dataset and rows that may be used to create subscription items forming client subscriptions, as described in more detail below. As described below, each row may correspond to a unique subscription item that includes a parent data subject, where subordinate data subjects in the dataset are mapped as related to the parent data subject and may be subscribed to in a client subscription.
[0040] In one embodiment, the data set may relate to financial instrument trade information and may include subjects that include static data and transactional data of the financial instrument trade information, respectively. For example, the data set may be for subscription data related to stock orders and may include subjects whose data may be provided in an incoming message stream EquityOrderRecord that includes data for subjects of equity instruments that constitute parent data, and additional data for other subjects that are in a dependent data relationship with the particular subject of the equity instrument. For example, the incoming message stream EquityOrderRecord may include as parent data a particular value corresponding to an equity instrument of GOOGLE stock, and dependent data subjects that are mapped by metadata to particular values corresponding to GOOGLE stock, such as the current market price of GOOGLE and the number of shares purchased during the day. In one embodiment, the incoming message stream EquityOrderRecord may include data EquityOrderClassKey describing metadata defining the relationship of the dependent data subject to the parent data subject, which is a subject of a data set that includes, for example, the parent key of the parent data and the child keys of other subjects of the data set that include the dependent data subject information including the metadata of the dependent data. For example, the data of the parent data subject of the incoming message stream EquityOrderRecord may include metadata MarketDataClassKey and EquityInstrumentClassKey as child keys defining that the parent data subject has two dependent data subjects, and the server 22 may use this metadata to associate new update data of each dependent data subject received in the incoming message EquityOrderRecord related to the parent data subject to the parent data subject.
[0041] In one embodiment of a data set for a financial instrument exchange subscription service according to the present disclosure, subordinate data subjects containing static data related to a parent data subject may include, for example, an identifier for the underlying financial instrument, such as a stock financial instrument record ("TickerID"), a description of the financial instrument ("description"), user record creation information identifying the first and last name of a client having a client subscription to receive specific financial information related to the financial instruments in the client subscription ("firstName" and "lastName"), an internal reference code for device 10 identifying the particular client ("viewCode"), the name of the client's trading book that contains the particular financial instrument for which subscription data is provided to the client ("BookRecords"), and the date and time when the client subscribed to the client subscription to receive specific information related to the particular financial instrument ("createDateTime"). Additionally, dependent data subjects related to a parent data subject containing transaction data may include a value determined by calculations performed at pre-set time intervals, such as several times per second, based on real-time market data that changes several times per second, such as the sale size of a particular product at a particular time ("saleSize"), the volume weighted average price of a financial product ("ivwap"), the notional value of the financial product, the percentage of trading volume of the financial product ("pov"), and values calculated based on data provided by generator 48 and data from one or more dependent data subjects. It should be understood that the subscription subjects identified above are exemplary and that a dataset of subjects relating to financial product transaction information may include other financial product transaction related information subjects.
[0042] In block 110, the server 22 may specify, in metadata in subscription subject data 28 stored in memory in association with the subjects of the datasets, the subjects in the dataset array with their respective change rates corresponding to how often to update the display of the client device with the current value of the subject under the client subscription. The rate of change may be, for example, less than once per second, or any number of times per second. Note, however, that the value of the data of a subject of a dataset to which a client subscription subscribes may change more frequently than the rate of change specified for the subject. For example, real-time market data for a subject, such as the market price of a particular financial instrument, may change in real time at a rate much greater than the rate of change specified for the subject.
[0043] At block 120, the server 22 may receive, via the communications network 18, from the external source 46, a message stream of external data including or relating to data of each subject of the data set. The data of each subject may include, for example, real-time clearing or settlement data, post-trade data, current market price data for financial instruments, and similar financial transaction information. The server 22 may extract the data of each subject from the message stream for use in updating subscribed subjects in client subscriptions, as described below. Additionally, the server 22 may store the data of each subject extracted from the message stream in the memory 24 as subscription subject data.
[0044] In one embodiment, at block 120, the server 22 may receive or obtain data from the generator 48 representing the calculations performed by the generator 48 and store the obtained or derived data as values for the subjects subscribed to the client subscription, as described in more detail below. The calculations may be performed at preconfigured time intervals using data for each subject in the data set. For example, the generator 48 may calculate an IVWAP ("volume weighted average price") value for a parent data subject of a particular equity instrument that it subscribes to from the data set every 500 milliseconds, using the subject's respective values, such as market volume and last sale price, for the particular equity instrument that are updated more frequently than every 500 milliseconds, and provide the calculated IVWAP values for the related subjects of the particular equity instrument to the server 22.
[0045] FIG. 4 illustrates an example process 200 for creating, managing, and servicing client subscriptions according to this disclosure.
[0046] Referring to FIG. 4, in block 202, the server 22 may transmit dataset information indicating the subjects of datasets selectable in the subscription service to the client device 44 via the communications network 18 via WebSocket 45, thereby causing a two-dimensional array (the “dataset array”) to be displayed in a graphical user interface (GUI) on the display of the client device 44, the columns each corresponding to a subject of the dataset available for client subscription selection, and rows that may be used to specify subscription items having subscribed subjects.
[0047] In one embodiment, a user of a client device may select a particular subject of a row of the dataset array, such as by clicking a cell of the row with a mouse pointer on the GUI to create a subscription item of the client subscription, and become a client of a subscription data service contract with an owner or operator of a subscription service implemented on the device 10 that services the client subscription. By this contract, the client may receive current data of the subject of the dataset subscribed by the client as a subscription item of the client subscription. When a selection operation is performed on the GUI for the dataset array to define a subscription item of the client subscription, the client device 44 may automatically generate and transmit a subscribe command as a subscribe request in a subscribe request message to the server 22 over the communications network 18 indicating the selection of one or more subjects in one or more respective rows of the dataset array for the subscription item in the client subscription.
[0048] In one embodiment, a subscription request message containing a subscribe command may include data parameters of "type" identifying the type of dataset for which subscription services are requested at the device 10 under the client subscription, e.g., a dataset containing stock financial information, "BookName" identifying the client's trade blotter that will display the data provided for the client subscription on the client device, and "fields" identifying the subscribed subjects from among the available subjects of the dataset array for which the server 22 can provide data to the client's client device in order to service the client subscription.
[0049] In one embodiment, the subscription service may be accessed at and provided to client device 44 as a web service accessed via a browser. In another embodiment, client device 44 may be configured to have an app or software instructions stored in its memory to implement the subscription service, including controlling the exchange of data between the client device and device 10 to display client subscription data on the client device, and allowing a client to enter subscription request information to define a client subscription by selecting cells of an array displayed on a GUI provided by device 10.
[0050] At block 205, the server 22 may receive a subscription request message from the client device 44 over the communications network 18 via the web socket 45 indicating a subscription request entered at the client device 44. In one embodiment, the server 22 may receive client data over the communications network 18 along with the subscribe command or during a previous subscription registration session with the client via the client device 44, including information identifying a group of users, such as traders, as clients for the client subscription to financial transaction information provided by the device 10, and a subscribing organization, such as a brokerage firm, of which the traders in the group are members. The server 22 may also receive client-related data along with the subscribe command, including the specific financial instruments for which subscription data is desired and the type of financial instruments, such as stocks, bonds, etc., for which subscription data is desired. The server 22 may store the data included in the subscribe command and other client-related data in memory 24 as client subscription data 26.
[0051] At block 210, for each subscription request message containing a subscribe command received from a client, the server 22 may generate a record of subscription items including subscribing subjects indicated in the subscription request message, which may be represented as a two-dimensional array, a server subscription array ("server array"), and store information in the client subscription data 26 defining the server array including metadata defining the parent data subject and dependent data subject relationships for each subscription item. In one embodiment, the first element of each row in the server array may have a unique row identifier corresponding to the unique subscription item indicated by the subscribe command. The unique subscription item may be associated with the parent data subject of the row that is mapped to the dependent data subject of the row. In one embodiment, the dependent data subject in the row may have one or more dependent data subjects of its own in the row. For a unique subscription item in the client subscription, the server 22 may determine that the parent subject data has dependent data subjects based on the metadata of the parent data subject.
[0052] In one embodiment, the server array may be configured to include subjects containing static data, each identified by a unique parent key; subjects containing transactional data, each identified by a unique parent key and one or more child keys that optionally reference data of other subjects identified by respective child keys; and subjects, each identified by their respective child keys. The server 22 may determine the value of a particular subject by retrieving the value of each child key identified in the metadata of the particular subject. For example, a server array defined from a data set of financial transaction information may include a static data subject BookRecords, identified by a parent key "bookRecordId", and a transactional data subject OrderRecords, also identified by a parent key. The data of the subject OrderRecords may be updated multiple times daily in real time based on changing external data, including data identified by the parent key "OrderId" and the child keys "bookRecordId" and "customerid". The server 22 may determine the value of the subject OrderRecords by retrieving the values of the subjects corresponding to the child keys "bookrecord" and "customerid" respectively indicated in the subject OrderRecords.
[0053] As described in more detail below, the server 22 may use the parent key, child key, dependent data, and unique row identifier to generate and send a UI message that includes a byte array containing the current data for the subscribed subject, and include the parent key, child key, and unique row identifier in the UI message. Additionally, the client device 44 may display, as a client view array, a two-dimensional array containing the current values for the subscribed subjects under the client subscription based on the parent key, child key, dependent data, and unique row identifier received in the UI message.
[0054] In one embodiment, for a stock order subscription service, the server 22 may organize the client subscription-specific subscription item data included in the subscription request message into EquityOrderRecord, EquityInstrumentRecord, and CustomerRecord records as follows: EquityOrderRecord: ID=1001 InstrumentId=12 side=B Amount=100 Price=101 CustomerId=1 Equity Instrument Record: ID=12 InstrumentId=12 InstrumentTicker=MSFT InstrumentName=Microsoft Corporation CustomerName-CUSTOMER1 Customer LongName-Bill Gates CustomerRecord: ID=1 CustomerId=1 CustomerName=Morgan Stanley The record "EquityOrderRecord" is an indication that the subscription item of the client subscription is an equity order and may include as record items: "ID" is a unique value that identifies a unique subscription item of an equity order client subscription with a subscribed subject, where the subscribed subject is: "InstrumentId" is a value that corresponds to an instrument and constitutes parent data; "Side" has a value B for buy or S for sell and constitutes dependent data; "Quantity" is a value that is equal to the number of shares ordered of the instrument corresponding to the InstrumentId value and constitutes dependent data; "Price" is a value of the instrument corresponding to the InstrumentId value and constitutes dependent data; "CustomerId" is a value that corresponds to a particular client and constitutes dependent data. Additionally, the record "EquityInstrumentRecord" is an indication of instrument information associated with the subscription item EquityOrderRecord and may include as record items: "ID" is a unique value that identifies a unique equity instrument record among multiple equity instruments available for client subscription. "InstrumentId" is a value corresponding to the product of the subscription item and constitutes parent data; "InstrumentTicker" is an abbreviation of the product corresponding to the "InstrumentId" value and constitutes dependent data; "InstrumentName" is the full name of the product corresponding to the "InstrumentId" value and constitutes dependent data; "CustomerName" is the name of the client corresponding to the "CustomerId" value and constitutes dependent data; "Customer LongName" is the full name of the customer corresponding to the "CustomerId" value and constitutes dependent data. Additionally, the record "CustomerRecord" is an index of customer information related to the EquityOrderRecord of the subscription item and may include the following as record items:"ID" is a unique value that identifies a unique client record among multiple clients that may be associated with a client subscription. "CustomerId" is a value that corresponds to a particular client and constitutes dependent data. "CustomerName" is the name of the client that corresponds to the "CustomerId" value and constitutes dependent data. In EquityOrderRecord, the InstrumentId subject is the parent data that maps to the child keys of the dependent data subjects "InstrumentTicker" and "InstrumentName", and the CustomerId subject is the dependent data that maps to the child keys of the dependent data subjects "CustomerName" and "Customer LongName" of EquityInstrumentRecord, as well as the dependent data subject "CustomerName" of CustomerRecord. FIG. 6 illustrates an exemplary server array including the above example of a stock order subscription item and other exemplary unique subscription items that may constitute each stock order record in a client subscription represented in an array configuration. It should be understood that a server array representing a client subscription may include many other subjects for each unique subscription item.
[0055] In one embodiment, for the market data subscription service, the server 22 may organize data corresponding to the unique subscription items of the client subscription included in the subscription request message into EquityInstrumentRecord and MarketDataRecord records as follows: Equity Instrument Record ID=12 InstrumentId=12 Exchange: NASD InstrumentTicker=MSFT InstrumentName=Microsoft Market Data Record ID=12 InstrumentId=12 Bid price=143.56 Selling price=144.56 Last trade=143.56. The record "EquityInstrumentRecord" is an index of product information that may be for a subscription item of a client subscription and may include as record items: "ID" is a unique value that identifies a record of a unique equity instrument among multiple equity instruments available for a client subscription; "InstrumentId" is a value corresponding to the instrument of the subscription item and constitutes parent data; "Buy Price" is the current price of the offer to buy of the instrument corresponding to the value of the instrument identifier and constitutes subordinate data; "Exchange" is the name of the exchange where market data for the instrument corresponding to the value of InstrumentId is obtained and constitutes subordinate data; "InstrumentTicker" is an abbreviation of the instrument corresponding to the value of InstrumentId and constitutes subordinate data; "InstrumentName" is the full name of the instrument corresponding to the value of InstrumentId and constitutes subordinate data. Additionally, the record "MarketDataRecord" is an index of customer information related to the EquityInstrumentRecord of a subscription item and may include as record items: "ID" is a unique value that identifies a unique market data product record among multiple market data products that may be included in a customer's subscription. "InstrumentId" is a value that corresponds to the subscription item's product and constitutes parent data. "Bid" is the current price of offers to buy the product that corresponds to the InstrumentId value and constitutes dependent data. "Ask" is the current price of offers to sell the product that corresponds to the InstrumentId value and constitutes dependent data. "Last Trade" is the price at which the product that corresponds to the InstrumentId value was last sold and constitutes dependent data. The InstrumentId subject of EquityInstrumentRecord is the parent data that maps to child keys of the MarketDataRecord's dependent data subjects "InstrumentTicker" and "InstrumentName", as well as to child keys of the dependent data subjects "Bid", "Ask" and "Last Trade".FIG. 7 illustrates an example server array including the above example of subscription items as well as other example specific subscription items that may comprise the product records for each of the client subscriptions to EquityInstrumentRecords represented in the array configuration.
[0056] Referring to the above example, the relationship between data of subjects of different datasets, e.g., a stock order subscription with EquityOrderRecord and a market data subscription service with EquityInstrumentRecord as described above, may be indicated in the metadata of the unique subscription item record such that data of a given InstrumentId value of EquityInstrumentRecord, e.g., InstrumentId=12, may be used as data of EquityOrderRecord having the same InstrumentId value, i.e., InstrumentId=12. Advantageously, based on the parent-child key data relationship indicated in the metadata, the server 22 may use data (e.g., values) of a subject from one dataset as values of the same subject in another dataset based on the metadata to avoid duplication of data when processing and transmitting values of subjects subscribed in a client subscription for display in a client view array in a client device.
[0057] In one embodiment, the subscription request message containing the subscribe command received as described in block 205 may include the following data parameters: "sort" specifies the order in which the subjects (i.e., columns) of the subscribed server array are displayed in the client view array across the trading blotter at the client's client device. "columnFilters" defines filter criteria that the server 22 may use to determine whether to send data for a row of the server array, or data for each subject of a row, under the client subscription. Filter criteria may include determining whether the object value of the subject of a particular row of the server array is greater than, equal to, or less than a pre-set or dynamically changeable value, or contains a particular text character. In one embodiment, the columnFilters may include logical AND or OR operations, a start of group (GS) operation that defines the parameters of the record group provided, e.g., rows where the subject "amount" has a value greater than or less than a threshold and the subject "side" has a value "buy", a "start with" operation, and a "contains" operation.
[0058] In one embodiment, the server 22 may use the subject "BookName" data to distinguish between multiple trade blotters that a client may use to display different subscription data at the client device 44. For example, a client may have different trade blotters displaying data from the same single data set that are each subscribed to different other subjects in the server array that correspond to the single data set. In one embodiment, the subjects subscribed to in a client's subscription may not be the subjects from the data sets that make up the server array, but may be all subjects.
[0059] In one embodiment, the server array may be generated to allow the following column manipulations by the server 22 to generate a modified server array for display as a client view array: Filter columns, i.e., identify subscribed subject values in different rows of the server array and remove any rows where the subject value does not meet the column filter criteria; Sorting and arranging columns of the server array as desired; Sorting or aggregating groups of columns, such as sums or averages of values of the same subject in multiple rows, and including the results of the aggregation as object values of different subjects (columns) in another row of the server array. The above column manipulations, or other column manipulations, may be indicated in the subscription request message, and the resulting aggregation of columns may constitute the subscribed subjects.
[0060] In one embodiment, the server array may be represented in memory using a data structure having a JSON format or a format compatible with JSON. The data structure may include a first data element [0] that is always reserved for a unique row identifier of a row in the server array, and data elements following data element [0] that correspond to subscribing subjects that have the index of each column of the server array of the row with the unique row identifier. For example, in a financial transaction subscription management system, a data structure stored in memory that may be used to generate a client view array for display on a client device that represents the server array may be: (i) server array row EquityOrderRecordData[0]=ID corresponding to a particular stock order item of a client, or server array row EquityTradeHistoryData[0]=ID corresponding to a particular stock trade item of a client. Additionally, for example, if the subjects identified in the subscription message include only "side" and "amount," then the data structure representing the server array may indicate a column index, such as in which columns of the server array the subject "side" and "amount" are located, e.g., [33,199], or columns 33 and 199 of the server array. As a result, in accordance with a data structure format for generating a particular row of an EquityOrderRecord, i.e., a unique subscription item, from the server array, the data structure may indicate that the object values for each of the subscribed subjects are located at index 33 of the server array, i.e., the column of the server array having index 33 for the subject "side," and at index 199 of the server array, i.e., the column of the server array having index 199 for the subject "amount." Advantageously, this simple and concise representation of the server array row locations from which object values are obtained in accordance with the data structures of the present disclosure allows for quick random access to object values from the subscribed subjects' data in the server array, using less processing resources and less memory space.For example, the data structure [EquityOrderRecord
[33] , EquityOrderRecord
[0199] ] may be used to obtain, for each row identifier, or ID, from a server array of EquityOrderRecords, the current object values of the subject “side” and “amount” subscribed to under the client subscription.
[0061] In one embodiment, the server array may contain subscribed subjects arranged in order and having object values of the data length indicated in the subscription request message.
[0062] In one embodiment, when a subscribe command identifies a subject that is not in a particular data set, the server 22 may create a blank entry "" for that subject.
[0063] In one embodiment, as described below, in block 210, the server 22 may generate a server array based on the subject indicated in the subscription modification request received in block 230.
[0064] 4, in block 212, the server 22 may create a subject message thread for each subject in a row of the server array, identified by the unique row identifier for that row, and identifying, such as in metadata, a memory location from which the current value for that subject may be obtained or determined. Thus, each subject in each row of the server array can have a value in its respective subject message thread.
[0065] In one embodiment, for each subject message thread corresponding to a subject of a row of the server array, where the row corresponds to a unique subscription item, the subject message thread may include or indicate a change rate indicating a time interval specifying a change rate at which the server 22 processes the subject message thread to obtain a current value of the subject for either an initial display of the client subscription data of the client subscription as a client view array at the client device, or for updating a display of the client subscription data of the client subscription as a client view array at the client device to reflect any changes to the current value of the subject. The server 22 may maintain and control the operation of an electronic timer that counts down the time interval for each subject of the subject message thread according to the change rate of the subject of the subject message thread. The server 22 may store a representation of each subject message thread, including its associated subject change rate, in memory as client subscription data 26.
[0066] The storage of subject object values for each subscription item in the form of a server array and the use of subject message threads for storing and tracking updates to each subject's data in accordance with the present disclosure advantageously enables the server 22 to randomly access each subject object value in the server array subscribed to by the client under the client subscription, thereby improving the speed at which the subscription subject data is processed and displayed to the client on the client device as a client view array containing updated data of the subjects subscribed to by the client, and also enables the server to dynamically change the client subscriptions with minimal use of processing and data storage resources, thus dynamically changing the subject data displayed to the client as a client view array based on the client subscription.
[0067] In block 215, the server 22 may generate a byte array containing the current object values of each subscribed subject for each unique subscription item in the client subscription based on the current state of the client subscription. The byte array may contain only the subscribed subjects as shown in the server array and the object values of each of the subscribed subjects. For example, the server array may contain 250 subjects and the byte array may have only 10 of the 250 subjects based on application of filter criteria, as described below.
[0068] Referring to FIG. 5, the server 22 may execute a process 400 that manages storing the data of the subscribed subjects in a server array and processing the data of the subscribed subjects to generate a byte array in block 215 that contains the current data of the subscribed subjects according to a change rate specified for the subject and is filtered according to filter criteria that may be preset and dynamically changed by the client.
[0069] At block 410, the server 22 may continually update the data in the subject message thread as update data becomes available for the particular subject in the row corresponding to the unique subscription item in the server array. For example, the updated data may be based on external data received from the external source 46 or internal data generated by the data generator 48. In one embodiment, the server 22 may determine that an incoming message stream from the external source 46 includes data for a particular row in the server array and extract the subject data for the particular row from the message stream. Additionally, the server 22 may store metadata, flags, etc. with the subject message thread that indicate whether the subject's value has changed, whether changes have occurred over a predefined period of time since the subject's object value in the subject message thread was last provided to a client device to service a client subscription, the number of times the subject's object value has changed within the predefined period of time, and the different object values that existed for the subject over the predefined period of time. In one embodiment, an indication of whether the subject's object value has changed within the predefined period of time and the different values of the subject's object value that existed within the predefined period of time may be stored in a change list associated with the subject message thread as so-called dirty logic. In one embodiment, the list of changes may be stored in memory as client subscription data, along with any new values to which the subject's data has been changed.
[0070] In one embodiment, the server 22 may receive or obtain from the generator 48 data representing calculations performed by the generator 48 for the subject of a particular row of the server array and store the data in the subject message thread of the particular row's subject. For example, the generator 48 may calculate a subject ivwap ("volume weighted average price") value for a particular row of the server array every 500 milliseconds using the subject's respective values, such as market volume and last sale price, for the particular row that are updated more frequently than every 500 milliseconds, and provide the calculated value to the server 22 for inclusion in the subject message thread of the subject ivwap for the particular row.
[0071] In one embodiment, in block 410, the server 22 may determine whether data is available to determine a value of a particular subject of a subject message thread that is for a unique subscription item. For example, the value of subject for a particular ID as a unique subscription item may be determined based on a calculation using data from other subjects, such as market data ("external data"), and the server 22 may determine whether the data necessary for the calculation is available. If the server 22 determines in block 410 that data is not available to determine a value of at least one subject for a particular ID, the server 22 may perform processing according to blocks 420, 430, 440, and 450.
[0072] At block 420, the server 22 may add parent keys of unique subscription items having unique ID values for which data is not available to determine a value for at least one subject of the unique subscription item to a pending list. Inclusion of a parent key in the pending list may indicate that data needs to be obtained for the unique subscription item and then used to determine a value for at least one subject included in each subject message thread of the unique subscription item. The pending list may be stored in memory as metadata for the unique subscription item's unique ID value, associated with the unique subscription item's unique ID value, or as client subscription data.
[0073] At block 430, the server 22 may control the timing of the period of time by an electronic timer for each unique subscription item having a parent key in the pending list and determine when the period of time being timed by the timer has elapsed. If the period of time for each unique subscription item having a parent key in the pending list has not elapsed, the server 22 may continue to monitor the timer until the period of time has elapsed. If the server determines that the period of time has elapsed, at block 430, the server 22 may perform further processing to determine whether necessary data that was not previously available is now available to determine the value of the subject of the unique subscription item. Furthermore, if the server 22 determines that necessary data is not available to determine the value of the subject of at least one of the unique subscription items having a parent key in the pending list, the server 22 may resume timing the period of time by the electronic timer of the unique subscription item. As discussed above, the external data on which the subject data of the subject message thread is calculated may be provided or become available at various rates, such as several times per second, and the subject value that depends on the external data may be calculated at a rate faster or different than the rate at which the external data is available.
[0074] In block 440, for those subjects of unique subscription items on the pending list for which it was determined in block 430 that all data necessary to calculate the subject's value is currently available, the server 22 may obtain the necessary data and calculate the subject's value based on the obtained necessary data.
[0075] At block 450, the server 22 may remove the parent key of the unique subscription item from the pending list if the values of all subjects as dependent data subjects dependent on the parent data subject of the unique subscription item have been determined. If the value of at least one subject of the unique subscription item has not yet been determined based on unavailability of data to determine the value, the parent key of the unique subscription item may be maintained on the pending list and processing may continue at block 430.
[0076] As noted above, a pending list may indicate unique subscription items for which the value of at least one subject cannot be determined because the data necessary to determine the value is not yet available.
[0077] In one embodiment of the processing at blocks 420, 430, and 440, for example, a unique subscription item having a subject of a financial instrument, such as GOOGLE stock, as parent subject data may have a subject "pov" ("percentage of volume traded") as dependent data that is calculated based on market data. The subject pov may be defined to be dependent on the dependent data subject OrderCalc. The server 22 may determine that a value of the subject OrderCalc is needed to determine a value of the subject pov, attempt to obtain the value of the subject OrderCalc, and determine that the value of the subject OrderCalc is not available because the market data needed to perform the calculation of OrderCalc is not yet available. In this situation, the server 22 may tag the unique subscription item's unique ID value in the metadata as incomplete because additional data is needed to determine the subject pov, add the parent key of the unique ID value to a pending list, and begin timing a time, such as 500 milliseconds, that is specific to the subject pov of the unique ID value. When the server 22 determines that the timed period for the subject pov of the unique ID value has elapsed, the server 22 may determine whether market data is available for a calculation specified for the subject OrderCalc, where the value of the subject pov is determined using the results of a calculation for the subject OrderCalc. In particular, the server 22 may determine whether all data required to perform the calculation for OrderCalc is available, i.e., whether all market data required for the calculation of OrderCalc is available, and only if all data required for the calculation is available, and there are no other subjects associated with the unique ID value for which data is not available, may the server 22 remove the parent key of the unique ID value from the pending list. In other words, the parent key of the unique ID value may be removed from the pending list if values for all subjects for the unique ID value can be determined.If there are subjects for the unique ID value for which the data necessary to determine a value is not available, the server 22 may continue processing at block 430 as described above until values have been determined for all subjects associated with the unique ID value, at which point the parent key for the unique ID value is removed from the pending list at block 450. Additionally, after the server 22 has determined the value of the subject pov for this unique ID value, it may add that value to each of the subject message threads for the unique ID value.
[0078] In block 460, the server 22 may generate a thread-safe message for the subject of the subject message thread for the client subscription based on the current value of the subject of the subject message thread if a thread-safe message for the subject of the subject message thread has not been previously generated. As described above, the value of the subject may be based on the calculation in block 440 when the timed period last expired or the value of the subject in the subject message thread that was last updated in block 410. The thread-safe message may indicate the particular row identifier, i.e., unique ID value, of the server array to which the subject value corresponds, and metadata indicating the time or version of the subject message thread for which the subject data was calculated when the subject period last expired in block 430, and the subject change list information, if any.
[0079] In one embodiment, to avoid autoboxing in Java, server 22 may store data extracted from an incoming message in a thread-safe message as a value of the subject referenced in the subject message thread as a message object of a first type where the actual value of the subject is an object, and a second type where the actual value is a string or other that cannot be upscaled to length. In this embodiment, server 22 may be able to easily move data received in an incoming message between different message object types, e.g., between thread-safe messages, avoiding autoboxing and thus preserving the original meaning of the contents of the incoming message.
[0080] Alternatively, in block 460, if a thread-safe message for the subject of the subject message thread was previously generated, when the server 22 detects an update to the value of the subject message thread, the server 22 may change only the subject's data in the thread-safe message to the current updated value of the subject message thread.
[0081] In block 470, the server 22 may add dependency data for the subject of the thread-safe message, which is static data, to the thread-safe message without any dependency data that may be present when the thread-safe message is initially generated for the client subscription or the modified client subscription. If the thread-safe message for the client subscription already includes static dependency data, the server 22 may skip processing at block 470 and resume processing at block 480. The static dependency data specified by the parent data of the subject of the thread-safe message may be added only once to the thread-safe message and may include a value of a particular subject for a particular row identifier, i.e., unique ID value, of the server array. In one embodiment, the static dependency data may include a value of the subject determined based on the values of each other subject of a particular row of the server array. For example, the subject of the thread-safe message may be the price of the stock GOOGLE that corresponds to the unique ID value of a unique subscription item of the client subscription, and the data of the thread-safe subject message may define a relationship between the parent data subject and the dependent data subject of the thread-safe message. In the example server array, a particular financial instrument (GOOGLE stocks) is a subject value for a particular row with a unique ID value row identifier, and further includes static dependent data for the subject "side" value.
[0082] For example, a thread-safe message of a subject of a particular subscription item may include dependent data subject values corresponding to the trader (user) who is the client of the client subscription, the entity (firm) to which the client belongs and which is included in the client subscription, and the trading desk (desk) with which the trader trades. The server 22 may add dependent message data, such as the subject "desk," to the thread-safe message to enable sorting and filtering of subject values within the thread-safe message, resulting in a client view array in which only data covered by the client subscription is displayed on the client device.
[0083] At block 480, the server 22 may perform a normalization process on the data of each subject of the thread-safe message, including the dependent data, to obtain a uniform data format for each thread-safe message. Normalization may be performed because data from different external sources 46 from which the subject data is obtained and calculated may be in different formats. Normalization of the data format of the data in the thread-safe message may enable the client device to use the value of each subject without further processing to populate a cell of a two-dimensional array with the value of each subject for display as a client view array on the client device.
[0084] In one embodiment, the normalized thread-safe message may include time or version information indicating its order of creation based on the current data values of the subject message thread for each subject of a particular row of the server array.
[0085] At block 490, the server 22 may create a client message thread, if not already created, and add normalized thread-safe messages for the client subscription to the client message thread. Each normalized thread-safe message may be identified in the client message thread with metadata indicating the particular client subscription and metadata describing the relationship of parent subject data and subordinate subject data of the subject of the normalized thread-safe message. The client message thread may include normalized thread-safe messages for one or more client subscriptions for a particular client. Additionally, a client subscription may be part of a group subscription in which multiple users are authorized to receive a particular subject based on the authorization information in the client subscription. The server 22 may add normalized thread-safe messages to the client message thread as soon as the normalized thread-safe messages are generated. The client message thread may be stored in the memory 24 as client subscription data.
[0086] At block 500, the server 22 may determine whether to provide a subject value of a particular normalized thread-safe message in a client message thread to the client for display in the client view array according to authorization information associated with the client subscription. For example, the client subscription may be for an organization including multiple users and may include authorization information specifying which of the users are entitled to receive a particular subject under the client subscription. If the server 22 determines that a particular normalized thread-safe message in a client message thread meets the authorization criteria of the client, the server 22 may allow the normalized thread-safe message to remain in the client message thread. Alternatively, if the server 22 determines that a particular normalized thread-safe message in a client message thread does not meet the authorization criteria of the client, the server 22 may filter the client message thread by removing the normalized thread-safe message from the client message thread.
[0087] At block 510, the server 22 may determine whether the subject's data for the particular row (i.e., unique ID value) of the server array identified in the normalized thread-safe message in the client message thread has changed since the last time the subject's data for the particular row identified in the normalized thread-safe message was provided to the client device for display in the client view array. In one embodiment, the server 22 may extract from the normalized thread-safe message in the client message thread any change list information associated therewith that indicates whether the subject's data in the normalized thread-safe message differs from the subject's data for the particular row of the server array that was last provided to the client device for display in the client view array. If the client view array has not been provided to the client device for the client subscription, the change list information may have the same indicator as the indicator that the subject's data differs from when the subject's data was last provided. When the server 22 determines that the change list information includes an indicator that the subject's data is different from when the subject's data was last provided for the subject, the server 22 may allow the normalized thread-safe message to remain in the client message thread. If the change list information includes an indication that the subject data has not been changed, the server 22 may filter the client message thread to remove the normalized thread-safe message from the client message thread.
[0088] At block 520, the server 22 may generate an array of client subscription data for the client subscription (a "notification view array") using the subject data of each normalized thread-safe message for the client subscription in the client message thread after the filtering of blocks 500 and 510, and store the notification view array in memory 24 as client subscription data. The notification view array may represent a compiled version of the client view array that will be displayed on the client device and will resemble and have a configuration that reflects the client view array as it is actually displayed on the client device. Additionally, the notification view array may undergo further processing to remove unnecessary data, determine subject data, and generate aggregate data that defines the configuration of the client view array.
[0089] At block 530, the server 22 may filter or configure the data in the notification view array based on the current filter criteria of the client subscription. The filter criteria may be specified in the subscribe command that establishes the client subscription or may be received from the client via the client device after the subscription is established. The filter criteria may be stored in the client subscription data, such as metadata associated with the subject of the client subscription. As described above, the filter criteria may specify whether the subject's data, such as the column value or text of the notification view array, for a particular row, i.e., the unique ID value of the client subscription, whose associated data is subscribed under the client subscription, should be displayed in the client view array on the client device. In particular, the filter criteria may specify whether the subject's data for the cell of the notification view array that corresponds to the particular row, i.e., the row of the unique ID value of the client subscription, should remain in the notification view array. The filter criteria may include, for example, (i) a column filter criterion specifying that the subject's value must be greater than or equal to a specified value, or less than or equal to a specified value, where the specified value is determined from a specified logical operation, or (ii) a column filter criterion specifying that the subject's data must contain a particular, or particular configuration, of text characters, e.g., the particular text characters must be at the beginning or at a specified position within the object value in the cell of the notification view array corresponding to the subject. If the server 22 determines that the subject's data meets the current column filter criteria, it does not modify the notification view array. If the server 22 determines that the subject's data does not meet the current column filter criteria, it may filter the notification view array to remove rows therefrom having the subject's value for the row that does not meet the column filter criteria.Effectively, filtering the notification view array using column filter criteria may remove rows from the client view array displayed on the client device such that it does not include rows corresponding to the client subscription's unique ID value.
[0090] In one embodiment, the server 22 may sort the columns of the notification view array in an order specified by the filter criteria at block 530. For example, based on the filter criteria, the server 22 may process the data of the notification view array such that the columns are displayed horizontally across the notification view array in the specified order from left to right, such that this order of columns (i.e., subjects) is present identically across the client view array.
[0091] In one embodiment, the filter criteria may specify that the values of the subjects of each row of the notification view array are aggregated and the aggregated values are displayed in a new row of the notification view array. For example, the server 22 may configure the notification view array to group multiple rows together according to the filter criteria and define a new row having an accumulation of the values of the cells of the multiple rows grouped together. For example, the values of the subject "sharessold" of multiple rows of the notification view array may be summed and reflected in the subject of another row of the notification view array, which in turn may be reflected in the client view array for the aggregated transaction data. It should be understood that the values of the columns of multiple rows may be aggregated in any of a variety of ways and included in the new row of the notification view array as part of the filtering. Advantageously, the filtering at block 530 may remove rows of the notification view array to reduce the total amount of data processed and stored in memory at the device 10 to service the client subscription and also reduce the bandwidth required to communicate data to the client device to service the client subscription. Furthermore, the client device may display the client view array using less processing and memory storage as a result of the filtering.
[0092] In block 540, the server 22 may determine whether a change period that the server 22 is timing on an electronic timer has elapsed for a subject that subscribes to a particular subscription item in the client subscription and is currently included in the filtered notification view array. The change period for each subject corresponds to a change rate specified for the subject. For example, if the change rate is once every 0.5 seconds, the change period is 0.5 seconds. If the change period has not elapsed, the server 22 may continue to monitor the timer until the change period has elapsed. If the change period has elapsed, the server 22 may perform the operation of block 550. Furthermore, after the timed change period has elapsed, the server 22 may resume timing the change period on the electronic timer for the subject. As discussed above, data for a subject in a client subscription may be updated at various change rates, such as several times per second, where the update change rate differs from a change change rate specified for the subject, and a client message thread may include multiple filtered canonicalized thread-safe messages for the same subject arranged in chronological order, with the most recent filtered canonicalized thread-safe message for the same subject being last. In one embodiment, data for the same subject for unique ID values in multiple filtered canonicalized thread-safe messages in a client message thread may be stored in memory 24 in a stack of data structures in chronological order based on the time the filtered canonicalized thread-safe messages were added to the client message thread.
[0093] In one embodiment, the subjects of the server array may have multiple, such as three, different change rates, and the timing of the change periods of the subjects may be synchronized such that change periods that are identical are timed simultaneously. In this manner, the client view array may be updated at three different intervals corresponding to the three change rates, if desired.
[0094] In one embodiment, modification periods may be configurable for a subject, and timing for all modification periods may begin when servicing of a client subscription is initiated.
[0095] In block 550, for a subject that is dependent data of a unique ID value for which the modification period timer has elapsed, the server 22 may identify each filtered normalized thread-safe message for the same subject and unique ID value in the client message thread, and may determine from the identified filtered normalized thread-safe message, e.g., from metadata associated with or within the identified filtered normalized thread-safe message, the most recent or most recent data, if any, for the subject of the unique ID value since the last time it was obtained from the client message thread or provided to the client device as part of a client view array. In one embodiment, multiple values of the subject may be obtained from a stack of data structures corresponding to the subject of the unique ID value. The server 22 may save the most recent data for the subject of the unique ID value in the corresponding row of the notification view array. The notification view array may then be updated to coalesce all data for the subject of a particular row of the server array currently in the client message thread into a single value for the subject of the unique ID value that may be provided to the client for display as a client view array according to the client subscription. Alternatively, if a client message thread does not contain filtered normalized thread-safe messages for the same subject, the notification view array may not be modified for the same subject.
[0096] At block 560, the server 22 may further filter the data in the filtered notification view array obtained at block 550 based on the current filtering criteria of the client subscription. The filtering may be performed similarly to that described at block 530. In one embodiment, the filtering criteria used to filter at block 560 may differ from the filtering criteria used at block 530 based on updated filtering criteria received from the client device between the filtering performed at block 530 and the filtering performed at block 560.
[0097] In block 570, the server 22 may generate or reuse a byte array representing the notification view array of block 560. When a UI message representing the notification view array of block 560, including all values of subjects that satisfy the parameters of the client subscription, has not yet been sent to the client device for the client subscription, the server 22 may generate an initial byte array for the client subscription based on the notification view array of block 560. When another modified notification view array for the client subscription (assuming the client subscription has not changed) is generated in block 560, the same byte array as previously generated may be used and appropriately modified based on the modified values, if any, for the subjects included in the notification view array of block 560. In one embodiment, a portion of the previously generated byte array may be used if, for example, the server 22 removed rows from the previously generated notification view array based on filter criteria, such as modified column filter criteria. Thus, when a client view array has not yet been displayed for the client subscription at the client device, the notification view array of block 560 may include all values of subjects that satisfy the parameters of the client subscription, including the current filter criteria.
[0098] In one embodiment, the server 22 may include or modify metadata in the byte array to indicate whether the byte array is for a client subscription for which a UI message representing the notification view array has not been sent to the client device or has been previously sent.
[0099] In one embodiment, the byte array may include metadata indicating whether a particular row corresponding to a unique subscription item that was present in the last generated notification view array of block 560 is no longer present in the currently generated notification view array of block 560. In one embodiment, the byte array may include a subject for each unique ID value indicating whether the unique ID value, in other words the row in the server array for the unique ID value, no longer satisfies the filter criteria.
[0100] In one embodiment, the server 22 may generate a byte array as a data structure including a unique ID value for each row of the notification view array of block 560. The server 22 may use the unique ID value to obtain data for the subject of each row of the notification view array of block 560 from the corresponding filtered normalized thread-safe message of each subject represented in the server array included in the client message thread by random access. For example, a particular row of the server array of EquityOrderRecord may be represented in memory 24 by a data structure [10, 33, 199, ...], and the server 22 processing this data structure may dynamically access and obtain the object value of the row indicated by the cell of the notification view array of the column having indexes
[33] and
[0199] for the row of the notification view array corresponding to the row identifier "10". The server 22 may then populate a byte array with the object values retrieved at the corresponding cell locations of the notification view array, i.e., the byte array having a unique ID value of 10 is populated with the object values retrieved at indexes
[33] and
[0199] of the notification view array corresponding to subject (column) "side" and "quantity", respectively. This data format of the byte array, which may be in JSON format, advantageously minimizes the amount of data that needs to be transmitted over the communications network and processed to generate the client view array at the client device.
[0101] In one embodiment, subjects whose object values are textual may be represented as numeric values in the server array, and therefore in the byte array, to reduce the size of UI messages containing byte arrays sent over a communications network and also to achieve lower memory resource usage at the server 22 and client devices. For example, subjects representing sides in a financial transaction may contain a value of 1 or 0 in the byte array of a UI message to indicate whether the subject is buying or selling, respectively.
[0102] Referring again to FIG. 4, in block 220, the server 22 may generate a UI message including the byte array of block 570 containing the values in the notification view array for display on the client device as a client view array.
[0103] At block 220, when a notification view array is initially generated for a client subscription, in other words, when the client view array has not yet been displayed at the client device based on a client subscription established with the device 10, the server 22 may generate a UI message as a snapshot message including a byte array including the value of the notification view array initially generated for the client subscription. The snapshot message may provide a display at the client device of the client view array of data for a subject subscribed in the initially specified client subscription. In one embodiment, the server 22 may recognize from the metadata included in the byte array that the client view array has not yet been displayed for a particular client subscription and may include metadata in the snapshot message indicating that the UI message is the first message for the client subscription. The server 22 may also include row metadata in the snapshot message indicating the number of rows of the client view array to be displayed. The row metadata may advantageously reduce the use of processing and storage resources at the client device in association with processing the data of the UI message and generating the client view array therefrom.
[0104] In one embodiment, in block 220, the server 22 may recognize from the metadata including the byte array generated in block 215 for a particular client subscription that the data represents an update to a notification view array previously generated under the client subscription. In this situation, in block 220, the server 22 may generate a UI message as an update message and include metadata in the update message to indicate that the data in the byte array includes update or delta data for a particular subject of the client subscription. The server 22 in block 220 may continue to generate and send update messages to cause updates of the client view array at the client device as new byte arrays are generated based on the updated notification view array.
[0105] In one embodiment, if the subject and subject values of the notification view array remain unchanged, the byte array generated in block 570 may indicate the unchanged state of the notification view array, and thus the server 22 may not send an update message to the client device for the client subscription.
[0106] In one embodiment, the server 22 may include metadata in the UI message to identify which subjects in the client view array are being updated in the update message.
[0107] Additionally, in block 220 , the server 22 may send the UI message to the client device 44 via the web socket 45 over the communications network 18 .
[0108] In one embodiment, the server 22 may send a UI message indicating the dependent data of a particular subscription item only once to the client device, and thereafter only send UI messages indicating the updated values of the parent data subject of the subscription item to update the values of the client view array displayed on the client device. For example, referring to Figure 6, the server 22 may send a UI message indicating dependent data of InstrumentTicker MSFT and InstrumentName Microsoft for device ID 12, and dependent data of CustomerName Customer 1 and Customer LongName Bill Gates for customer 1 only once to the client device.
[0109] At block 225, the client device 44 may receive the UI message from the server 22 and use the byte array in the UI message to generate and display a client view array that corresponds to the current content and configuration of the notification view array. In one embodiment, if the UI message is a snapshot message, the client device may automatically generate and display a client view array based on the byte array in the UI message having the same configuration and data of the notification view array from which the byte array was generated. A processor of the client device 44 may determine that the UI message is a snapshot message based on metadata indicating that the message is a snapshot, thereby performing processing more quickly and minimizing the use of processing resources and memory, and display a client view array based on the byte array in the snapshot message. In one embodiment, the client device 44 may use the row number indicated in the row metadata of the snapshot message to perform error checking to ensure that all data for generating the client view array has been received from the device 10.
[0110] In one embodiment, upon receipt of the snapshot message, client device 44 may automatically display a client view array on a transaction blotter that includes the object values indicated in the byte array of the snapshot message, using the row number indicated by the row metadata to generate the client view array.
[0111] In one embodiment, based on the row metadata included in the update message, the client device may generate the client view array to include a different number of rows, such as more or fewer rows than previously displayed, which may be the result of changes in the filter criteria or changes in the value of the subject for the same filter criteria as before. For example, based on receiving the update message, the client device 44 may automatically update the display on the transaction blotter of the client view array to reflect the subject values indicated in the update message. In one embodiment, the update message may include a subject that indicates that for a unique ID value, the corresponding row in the server array no longer meets the filter criteria and therefore will not be displayed in the client view array.
[0112] In one embodiment, a processor of client device 44 may perform processing more quickly and with less processing resources and memory based on metadata in the UI message indicating that the byte array contains difference data for one or more subjects to update the client view array displayed on the client device based on values of selected subjects in the byte array that differ from values of selected subjects in the client view array currently displayed on the client device.
[0113] Referring to FIG. 8, the client device 44 may display a client view array as shown in FIG. 8, which includes only selected subscribed subjects of the respective IDs of the server array shown in FIG. 6 that remain after being filtered based on the filter criteria.
[0114] In one embodiment, in block 225, the processor of the client device 44 may perform filtering and sorting of subjects within the byte array of the UI message and use dependency data of the UI message to control the format and content of the client view array displayed on the client device.
[0115] At block 230, the server 22 may continually monitor messages received over the communications network 18 from the client devices 44 for subscription change requests. The change requests may include changes to the client subscriptions, such as different filter criteria or different subjects for existing subscription items, or new subscription items for the client subscriptions with the same or new subjects in the client subscription. If the server 22 determines that a subscription change request has been received, it may perform the operations of process 200 beginning at block 210 for the client subscriptions modified by the subscription change request, and beginning at blocks 212, 215, 220, and 230 consistent with the descriptions of those blocks above.
[0116] In one embodiment, the server 22 may use the correlation ID value to keep a record of updates of client subscriptions based on receipt of subscription change requests and store the correlation ID value in the client subscription data. Following a subscription change request that changes a parameter of a subscribed subject, the server 22 may associate the correlation ID value as metadata for the subscribed subject and increment the correlation ID value for the subscribed subject. UI messages sent from the server 22 may include metadata of the correlation ID value. Based on the metadata of the correlation ID value in the UI message, the client device may determine whether the UI message includes data from processing by the server 22 before or after updating the client subscription and control the display of data from the UI message in the client view array to reflect only the most updated client subscriptions. In some circumstances, due to processing latency, the server 22 may send a UI message with a correlation ID value of 1 even if the client subscription has been updated at the device 10 based on a client request, e.g., the correlation ID value of a subscribed subject in a client subscription has been updated from a previous value of 1 to a value of 2. In this situation, the client device may maintain a record of the current correlation ID values for the subscribed subjects, ignore data in UI messages for subscribed subjects having correlation ID value 1, and process only data in UI messages for subscribed subjects having correlation ID value 2. In this manner, the client device may control the display of object values included in UI messages after a change in the client subscription, and ignore object values in UI messages that do not reflect the subscription data of the updated client subscription.
[0117] It should be noted that a client may have multiple independent subscriptions with a device such that a respective client view array of subscription data provided by the device is displayed on the client device, for example as shown in Figure 9. In one embodiment, a client device may be linked to one or more web sockets, each web socket displaying one or more client view arrays.
[0118] In one embodiment, dependency data for the subject of a subscription item may be added to the subject at the client device 44 .
[0119] In one embodiment, the server 22 may receive a message indicating a subscription removal request from the client device 44 via the communications network 18. Based on the subscription removal request, the server 22 may stop sending UI messages for the client subscription and remove the client subscription indicated by the request.
[0120] In one embodiment, data for a particular subject may change in real time at a first rate of change, and server 22 may store data received in a corresponding subject message thread in real time at a second rate of change, the second rate of change being less than the first rate of change. In one embodiment, server 22 may provide a display of updated object values for the subject in a client view array on a client device in accordance with the client subscription at a third rate of change that is the rate of change and is less than the second rate of change.
[0121] Although the disclosure herein has been described with reference to certain examples, it should be understood that these examples merely illustrate the principles of the disclosure. It is therefore understood that numerous modifications may be made to the examples, and other arrangements may be devised, without departing from the spirit and scope of the disclosure, as defined by the appended claims. Furthermore, although certain steps are shown in a particular order in the accompanying drawings, such steps are not limited to any particular order, unless such order is expressly set forth herein. Rather, various steps may be processed in different orders or simultaneously, and steps may be omitted or added.
Claims
1. 1. A subscription management system, comprising: client subscription data for at least one client subscription; subscription subject data indicative of a data set including a plurality of subjects available for selection for a given client subscription, each of said subjects having a respective rate of change; At least one memory configured to store: receiving, via a communications network, from at least one client device of at least one client, a subscribe request for a client subscription identifying a subscribed subject of a selected data set for a respective subscription item; generating a server subscription array based on the subscribe request, where each subscription item of the client subscription corresponds to a row of the server subscription array identified by a row identifier and includes at least one subscribed subject; creating, for each subscribed subject of each subscription item of the client subscription represented in the server subscription array, a subject message thread indicating a current value of the subscribed subject; generating thread-safe messages from each of the subject message threads; obtaining, by random access to the thread-safe messages based on the row identifiers indicated in the server subscription array and respectively associated with the thread-safe messages, object values respectively indicated for the subscribed subjects of the thread-safe messages associated with the row identifiers; generating a user interface (UI) message indicating a byte array representing at least one current object value for at least one of the subscribed subjects for a given subscription item having a given row identifier in the server subscription array obtained by accessing the thread-safe message for display at the client device in a client view array in accordance with the client subscription, wherein a given current object value for a given one of the subscribed subjects is included in the byte array based on a given rate of change corresponding to the given subscribed subject respectively; sending a UI message to the client device over the communications network; At least one processor configured to control A subscription management system comprising:
2. The at least one processor: receiving a subscription change request message from the at least one client device over the communications network indicating a change to the client subscription; updating the server subscription array by deleting a first subject of the plurality of subjects of the data set from the server subscription array or adding a second subject to the server subscription array; The subscription management system of claim 1 configured to control
3. The at least one processor: determining a notification view array based on the thread-safe message, the notification view array reflecting a configuration of the client view array; filtering the notification view array by removing a first row from the notification view array that corresponds to a first row identifier among the row identifiers indicated in the server subscription array based on a filter criterion included in the client subscription; The subscription management system of claim 1 configured to control
4. The at least one processor: receiving a subscription change request message from the at least one client device over the communications network, the request message indicating the filter criteria; The subscription management system of claim 3 configured to control
5. The subscription management system of claim 1 , wherein the subscribe request is received and the UI message is sent over a WebSocket connection with the at least one client device.
6. The at least one processor: generating a first thread-safe message for a first subject message thread for a first subscription item in the client subscription, the first subscription item being indicated in the server subscription array; responding to the thread-safe message with a notification view array that reflects a configuration of the client view array; storing in a stack of a data structure in the at least one memory in chronological order each first acquired object value of a first subscribed subject of the first thread-safe message that becomes available during a predetermined time period, each first acquired object value becoming available at a second rate of change that is greater than a first rate of change associated with the first subscribed subject; if it is determined that the elapsed time of the electronic timer is equal to a time threshold defined by the first rate of change, obtaining a last acquired object value that was most recently added to the stack and updating the notification view array to indicate the last acquired object value of the first subscribed subject; The subscription management system of claim 1 configured to control
7. 2. The subscription management system of claim 1, wherein a first subscribed subject in the client subscription associated with a first subscription item is identified by a first parent key, and the first parent key is used to determine a value of a second subscribed subject in the client subscription associated with the first subscription item.
8. 2. The subscription management system of claim 1, wherein the byte array has a framework in the form of an array having a first element as a given row identifier for a given row of the server subscription array, and each element of the framework successive to the first element is an object value for each successive subscribed subject of the given row.
9. 9. The subscription management system of claim 8, wherein the UI message is a Java Script Object Notation (JSON) message.
10. 9. The subscription management system of claim 8, wherein first and second consecutive subscribed subjects in the framework do not correspond to consecutive strings of the server subscription array.
11. The subscription management system of claim 1 , wherein the UI messages contain object values of a given subscribed subject that have the same rate of change.
12. 1. A subscription management method, comprising: by at least one processor, receiving, from at least one client device of at least one client over a communications network, a client subscription request identifying subscribed subjects of a dataset including a plurality of subjects available for selection of a given client subscription selected for a respective subscription item, each of the subjects of the dataset having a respective rate of change; generating a server subscription array based on the subscribe request, where each subscription item of the client subscription corresponds to a row of the server subscription array identified by a row identifier and includes at least one subscribed subject; creating, for each subscribed subject of each subscription item of the client subscription represented in the server subscription array, a subject message thread indicating a current value of the subscribed subject; generating thread-safe messages from each of the subject message threads; obtaining, by random access to the thread-safe messages based on the row identifiers indicated in the server subscription array and respectively associated with the thread-safe messages, object values respectively indicated for the subscribed subjects of the thread-safe messages associated with the row identifiers; generating a user interface (UI) message indicating a byte array representing at least one current object value for at least one of the subscribed subjects for a given subscription item having a given row identifier in the server subscription array obtained by accessing the thread-safe message for display at the client device in a client view array in accordance with the client subscription, wherein a given current object value for a given one of the subscribed subjects is included in the byte array based on a given rate of change corresponding to the given subscribed subject respectively; sending a UI message to the client device over the communications network; A subscription management method comprising the step of controlling
13. by said at least one processor, receiving a subscription change request message from the at least one client device over the communications network indicating a change to the client subscription; updating the server subscription array by deleting a first subject of the plurality of subjects of the data set from the server subscription array or adding a second subject to the server subscription array; The method of claim 12 , further comprising the step of controlling:
14. by said at least one processor, determining a notification view array based on the thread-safe message, the notification view array reflecting a configuration of the client view array; filtering the notification view array by removing a first row from the notification view array that corresponds to a first row identifier among the row identifiers indicated in the server subscription array based on a filter criterion included in the client subscription; The method of claim 12 , further comprising the step of controlling:
15. by said at least one processor, receiving a subscription change request message from the at least one client device over the communications network, the request message indicating the filter criteria; The method of claim 14 , further comprising the step of controlling:
16. The method of claim 12 , wherein the subscribe request is received and the UI message is sent over a WebSocket connection with the at least one client device.
17. by said at least one processor, generating a first thread-safe message for a first subject message thread for a first subscription item in the client subscription, the first subscription item being indicated in the server subscription array; responding to the thread-safe message with a notification view array that reflects a configuration of the client view array; storing in a stack of data structures in memory in chronological order each first acquired object value of a first subscribed subject of said first thread-safe message that becomes available during a predetermined time period, each first acquired object value becoming available at a second rate of change that is greater than the first rate of change associated with said first subscribed subject; if it is determined that the elapsed time of the electronic timer is equal to a time threshold defined by the first rate of change, obtaining a last acquired object value that was most recently added to the stack and updating the notification view array to indicate the last acquired object value of the first subscribed subject; The method of claim 12 , further comprising the step of controlling:
18. 13. The method of claim 12, wherein a first subscribed subject in the client subscription associated with a first subscription item is identified by a first parent key, and the first parent key is used to determine a value of a second subscribed subject in the client subscription associated with the first subscription item.
19. 13. The method of claim 12, wherein the byte array has a framework in the form of an array having a first element as a given row identifier for a given row of the server subscription array, and each element of the framework successive to the first element is an object value for each successive subscribed subject of the given row.
20. a non-primary storage medium that, when executed by at least one processor, receiving, from at least one client device of at least one client over a communications network, a client subscription request identifying subscribed subjects of a data set including a plurality of subjects available for selection of a given client subscription selected for a respective subscription item, each of the subjects having a respective rate of change; generating a server subscription array based on the subscribe request, where each subscription item of the client subscription corresponds to a row of the server subscription array identified by a row identifier and includes at least one subscribed subject; creating, for each subscribed subject of each subscription item of the client subscription represented in the server subscription array, a subject message thread indicating a current value of the subscribed subject; generating thread-safe messages from each of the subject message threads; obtaining, by random access to the thread-safe messages based on the row identifiers indicated in the server subscription array and respectively associated with the thread-safe messages, object values respectively indicated for the subscribed subjects of the thread-safe messages associated with the row identifiers; generating a user interface (UI) message indicating a byte array representing at least one current object value of at least one of the subscribed subjects for a given subscription item having a given row identifier in the server subscription array obtained by accessing the thread-safe message for display at the client device in a client view array in accordance with the client subscription, wherein given current object values for given subscribed subjects of the subscribed subjects are included in the byte array based on a given rate of change corresponding to the given subscribed subjects respectively; sending a UI message to the client device over the communications network; A non-primary storage medium configured to store instructions for controlling
