Specialized messaging
Through incremental capture technology and divisible data level technology, special messages are generated, which solves the problem of update rate and level requirements of different recipients, and improves the efficiency and reliability of data update.
Patent Information
- Application Number
- CN202010241586.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2014-07-14
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2034-07-14
AI Technical Summary
When providing data updates, it is difficult for the existing technology to effectively handle the update rate preferences and data level requirements of different recipients, resulting in low message transmission efficiency and increased system complexity and delay.
Incremental capture technology and divisible data level technology are used to generate specially crafted messages, and the status difference and data level of the data source are generated and transmitted according to the receiver's preferences to improve the efficiency and reliability of message transmission.
It realizes customized data updates for different recipients, improves the efficiency and reliability of message transmission, and reduces system complexity and delay.
Smart Images

Figure CN111581551B_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application with application number 201480046050.1 filed on July 14, 2014 and invention name “Customized Message Transmission”.
[0002] Cross-reference to related applications
[0003] This application claims priority to U.S. Patent Application No. 14 / 329,602, entitled “Tailored Messaging,” filed on July 11, 2014, and claims priority to U.S. Provisional Patent Application No. 61 / 845,613, entitled “System and Method for Dynamically Distributing Market Data Across Multiple Devices in an Electronic Trading Environment,” filed on July 12, 2013, and claims priority to U.S. Provisional Patent Application No. 62 / 022,736, entitled “System and Method for Dynamically Distributing Market Data Across Multiple Devices in an Electronic Trading Environment,” filed on July 10, 2014. The entire contents of each of the foregoing applications are hereby incorporated by reference in their entirety for all purposes. Background Art
[0004] Electronic devices can exchange data messages to provide, for example, up-to-date information about the status of the device. In some systems, multiple recipients are interested in receiving updates from a data source. The data source may provide these updates in certain types of networks using techniques such as broadcast messaging or multicast messaging. In other systems, some recipients may communicate with the data source using point-to-point connections due to, for example, network limitations, communication preferences (e.g., reliable delivery, placing an order, etc.), and / or security requirements.
[0005] Some recipients may prefer to receive updates from the same data source at different rates. Providing updates at different rates while minimizing the sending of unwanted messages to recipients limits the usefulness of broadcast and multicast messaging techniques, and point-to-point connections become more efficient as the number of recipients with different update rate preferences increases. However, in the case of point-to-point connections, messages must be generated for each recipient. In addition, some recipients may prefer to receive different levels or levels of data in their updates. Customizing messages based on different levels or levels of data requires that different messages be generated for each level or level of data. Especially for time-sensitive information where the delay increase when receiving data is unacceptable, as the number of recipients with different preferences grows, accommodating different update rates and different levels or levels of data becomes cumbersome. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Some embodiments are disclosed with reference to the following drawings.
[0007] Figure 1 A block diagram is shown of an example computing device that may be used to implement some embodiments.
[0008] Figure 2 A block diagram of an example system for sending a tailored message to one or more receiving devices is shown.
[0009] Figure 3 A block diagram illustrating an example subscription control module that may be used to send snapshots and deltasnaps to one or more receiving devices.
[0010] Figure 4 Shows the data flow of an example using the snapshot technique.
[0011] Figure 5 The data flow of an example using the incremental technique is shown.
[0012] Figure 6 Shows data flow for an example using the incremental capture technique.
[0013] Fig. 7A and Figure 7B A block diagram illustrating example data levels is shown.
[0014] Fig. 8A and Figure 8B A block diagram illustrating example customizable messages based on snapshot and incremental capture is shown.
[0015] Fig. 9 The data flow of an example using a tailor-made incremental capture technique is shown.
[0016] Fig.10An example customizable message in the buffer is shown.
[0017] Fig.11 An example data flow diagram depicting example connections between an example receiving device and an example subscription control module is shown.
[0018] Fig.12 It means that it can be executed to achieve Figure 2 and Figure 3 A flowchart of an example method of example machine readable instructions for a subscription control module.
[0019] Fig.13 It means that it can be executed to achieve Figure 3 A flow chart of an example method of example machine readable instructions for a data formatter.
[0020] Fig.14 It means that it can be executed to achieve Figure 3 A flow chart of an example method of example machine readable instructions for a data formatter.
[0021] Fig.15 It means that it can be executed to achieve Figure 3 A flowchart of an example method of example machine readable instructions for a message sender.
[0022] Fig.16 It means that it can be executed to achieve Figure 3 A flowchart of an example method of example machine readable instructions for a message sender.
[0023] Fig.17 It means that it can be executed to achieve Figure 3 A flowchart of an example method of example machine readable instructions for a message sender.
[0024] Fig.18 Shown is a block diagram representing an example electronic transaction system in which some embodiments may be employed.
[0025] Fig.19 A block diagram illustrating another example electronic transaction system in which some embodiments may be employed.
[0026] Fig. 20A and Fig. 20B Example customizable messages for providing snapshot and incremental capture of market data at multiple data levels of market depth are shown.
[0027] Some embodiments will be better understood when read in conjunction with the accompanying drawings provided to illustrate examples. It should be understood, however, that the embodiments are not limited to the arrangements and instrumentality shown in the drawings. DETAILED DESCRIPTION
[0028] The disclosed embodiments generally relate to techniques for tailoring messages for network communications. More specifically, the disclosed embodiments relate to systems and methods for efficiently providing customized information updates based on recipient preferences. For example, a recipient may prefer to receive updates less frequently than the system creates updates, and / or may prefer to receive different levels of data in updates. In some embodiments, an incremental capture technique is provided that allows the rate at which update messages are provided to be more efficiently tailored. In some embodiments, a partitioning technique is provided that allows the content of update messages to be more efficiently tailored. In some embodiments, a combination of partitioning techniques and incremental capture techniques is provided that allows the rate and content of update messages to be more efficiently tailored.
[0029] In various contexts, data messages provide information to a recipient. Some recipients may be interested in receiving updates at a different rate than other recipients. For example, a first recipient may expect to receive updates at a first rate such as once per millisecond (perhaps at a rate at which updates are being generated). A second recipient may be bandwidth-constrained and thus want to be sent updates at a lower rate such as twice per second. A third recipient may sometimes be bandwidth-constrained and wish to reliably receive updates at any possible rate without ever receiving outdated data or experiencing large gaps due to connection resets. In addition, in some systems, data sources may provide data at different levels or levels in updates. For example, each subsequent level may include values indicating more details or additional information than provided at the previous level. Some recipients may be interested in receiving data at different levels of quantity in updates from a data source. For example, a first recipient may be interested in receiving updates for values at the first five levels. A second recipient may be interested in receiving updates for values at the first two levels. In order to provide data at different levels, messages are tailored according to the preferences of the recipient. In current systems, accommodating recipient preferences (such as update rates and / or varying amounts of data levels) requires formatting a unique message for each recipient based on the source data.
[0030] Although the description discloses embodiments that include software executed on hardware in addition to other components, it should be noted that the embodiments are merely illustrative and should not be viewed as limiting. For example, it is contemplated that any or all of these hardware and software components may be embodied exclusively in hardware, exclusively in software, exclusively in firmware, or in any combination of hardware, software, and / or firmware. Accordingly, some embodiments may be implemented in other ways.
[0031] I. Brief Description of Some Embodiments
[0032] Example methods, systems, and computer-readable media are disclosed for tailoring messages for network communications. An example method for tailoring messages includes: generating, by a computing device, a first snapshot message representing a state of a data source at a first time. Sending the first snapshot message to a first recipient. An example method includes: generating, by a computing device, a first delta-snap message representing a difference between a state of the data source at a second time and a state of the data source at the first time; and sending, by the computing device, the first delta-snap message to the first recipient.
[0033] The example method includes: generating, by a computing device, a first snapshot representing a first data set captured at a first time. The example method also includes: sending, by the computing device, a first version of the first snapshot to a first subscribing device. The first version of the first snapshot is tailored according to a first preference of the first subscribing device. The example method includes: generating, by the computing device, a first incremental capture representing a difference between the first data set and a second data set. The second data set represents data generated at a second time after the first time. The example method includes: sending, by the computing device, a first version of the first incremental capture to the first subscribing device. The first version of the first incremental capture is tailored according to a first preference of the first subscribing device.
[0034] An example tangible computer-readable storage medium includes instructions that, when executed, cause a machine to at least: generate a first snapshot message representing a state of a data source at a first time. Example instructions cause the machine to send the first snapshot message to a first recipient. Example instructions cause the machine to generate a first delta-snap message representing a difference between a state of the data source at a second time and a state of the data source at the first time. Example instructions cause the first delta-snap message to be sent to the first recipient.
[0035] II. Example Computing Device
[0036] Figure 1 A block diagram of an example computing device 100 that may be used to implement some embodiments is shown. Computing device 100 includes a communication network 140, a processor 112, a memory 114, an interface 116, an input device 118, and an output device 120. Computing device 100 may include additional components, different components, or fewer components. For example, multiple communication networks, multiple processors, multiple memories, multiple interfaces, multiple input devices, multiple output devices, or any combination thereof may be provided. As another example, computing device 100 may not include input device 118 or output device 120.
[0037] like Figure 1As shown, computing device 100 may include processor 112, which is coupled to communication network 140. Communication network 140 may include a communication bus, electrical or optical network, circuit, switch, fabric, or other mechanism for communicating data between components in computing device 100. Communication network 140 may be communicatively coupled to any component of computing device 100, and communication network 140 may transmit data between any components of computing device 100.
[0038] Processor 112 may be any suitable processor, processing unit, or microprocessor. For example, processor 112 may include one or more general purpose processors, digital signal processors, application specific integrated circuits, field programmable gate arrays, analog circuits, digital circuits, programmed processors, and / or combinations thereof. Processor 112 may be a single device or a combination of devices, such as one or more devices associated with a network or distributed processing. Any processing strategy may be used, such as multi-processing, multi-tasking, parallel processing, and / or remote processing. Processing may be local or remote, and may be moved from one processor to another. In some embodiments, computing device 100 is a multi-processor system, and thus may include one or more additional processors communicatively coupled to communication network 140.
[0039] Processor 112 may be operable to execute logic and other computer-readable instructions encoded in one or more tangible media, such as memory 114. As used herein, logic encoded in one or more tangible media includes instructions that may be executable by processor 112 or a different processor. For example, the logic may be stored as part of software, hardware, integrated circuits, firmware, and / or microcode. The logic may be received from an external communication device via a communication network such as network 140. Processor 112 may execute the logic to perform the functions, actions, or tasks shown in the figures or described herein.
[0040] The memory 114 may be, for example, one or more tangible media, such as a computer-readable storage medium. Computer-readable storage media may include various types of volatile storage media and non-volatile storage media, including, for example, random access memory, read-only memory, programmable read-only memory, electrically programmable read-only memory, electrically erasable read-only memory, flash memory, any combination thereof, or any other tangible data storage device. As used herein, the term non-transient computer-readable medium or tangible computer-readable medium is expressly defined to include any type of computer-readable medium and is defined to exclude propagating signals. The memory 114 may include any desired type of mass storage device, including a hard drive, optical media, tape or disk, etc.
[0041] The memory 114 may include one or more memory devices. For example, the memory 114 may include local memory, mass storage devices, volatile memory, non-volatile memory, or a combination thereof. For example, the memory 114 may be adjacent to the processor 112, as part of the processor 112, programmed with the processor 112, networked with the processor 112, and / or remote from the processor 112, so that the data stored in the memory 114 can be retrieved and processed by the processor 112. The memory 114 may store instructions that can be executed by the processor 112. The instructions may be executed to perform one or more of the actions or functions described herein or shown in the figures.
[0042] The memory 114 may store an application 130 that implements the disclosed technology. In some embodiments, the application 130 may be accessed from different locations or may be stored in different locations. The processor 112 may access the application 130 stored in the memory 114 and execute the computer-readable instructions contained in the application 130.
[0043] In some embodiments, during the installation process, the application may be transferred from the input device 118 and / or the network 140 to the memory 114. When the computing device 100 is running or preparing to run the application 130, the processor 112 may retrieve instructions from the memory 114 via the communication network 140.
[0044] III. Subscription Control Module
[0045] Figure 2An example system 200 including a subscription control module 201 and a data source 202 is shown. In the example shown, the data source 202 provides data to the subscription control module 201. The subscription control module 201 can receive and / or otherwise retrieve the data, for example, when the data source 202 sends the data, periodically (e.g., at a set time interval), when an update is detected, and / or in response to a trigger event, etc. The subscription control module 201 transforms the data into a specially crafted message 204. The specially crafted message 204 is sent to one or more receiving devices 206 (e.g., a smart phone, a tablet, a server, a personal computer, etc.) via a communication link (e.g., a point-to-point connection, a unicast channel, a transmission control protocol (TCP) socket, a WebSocket connection, etc.). One or more preferences (e.g., an update rate, a number of levels of data, etc.) are defined relative to the receiving device 206. In some examples, the electronic device 206 communicates the preferences to the subscription control module 201. For example, for a subscription control module 201 that generates updates every 100 ms, the recipient 206 can set a preference to receive updates only at a frequency of every 500 ms. In some examples, the preference for the electronic device 206 is determined by the subscription control module 201. For example, the subscription control module 201 can determine that the update rate should be set to 1s based on the delay during the connection process with the electronic device 206, and only has 3 levels of data. In some examples, the subscription control module 201 adjusts the update rate based on the network link throughput. For example, if the earlier update is still being sent, the subscription control module 201 can delay sending the next update. In this example, if a more recent update is generated during the delay, the subscription control module 201 can send this more recent update instead. The subscription control module 201 communicates with the recipient 206 via a wired connection or a wireless connection (e.g., a cable / DSL / satellite connection, a cellular connection, a long-term evolution (LTE) connection, etc.) through a network (e.g., the Internet, a wide area network, etc.).
[0046] Figure 3 Shows Figure 2 The subscription control module 201 receives and / or otherwise retrieves data from a data source 202 and sends a specially crafted message (e.g. Figure 2 The subscription control module 201 of the illustrated example includes a data source receiver 302, a data formatter 304, a primary buffer 306, a secondary buffer 308, and a message sender 310. The data source receiver 302 receives and / or otherwise retrieves data from the data source 202.
[0047] exist Figure 3In the example shown, the data source 202 is updated dynamically (e.g., asynchronously when new information becomes available, periodically with idle periods, etc.). To receive and process data and send messages to the recipient 206, the data source receiver 302 (e.g., via Figure 3 The data source receiver 302 captures the state of the data source 202 at discrete points in time. In some examples, the data source receiver 302 captures the state of the data source 202 when the data source 202 provides updates about changes in its state. In some examples, the data source receiver 302 captures the state of the data source 202 at set time intervals (e.g., examples where the data source is frequently updated). For example, the data source receiver 302 may capture the state of the data source 202 every 100 milliseconds. In some examples, the data source receiver 302 captures the state of the data source 202 in response to detecting an update (e.g., examples where the data source is sporadically updated). The data source receiver 302 may establish a basic update rate. The basic update rate is the rate at which the subscription control module 201 makes updates available to the receiving device 206. In some examples, the basic update rate is established at regular intervals (e.g., when the data source 202 is frequently updated, etc.). In some examples, the basic update rate is established at irregular intervals (e.g., when the data source 202 is not frequently updated, etc.). In some examples, the basic update rate changes according to the frequency of changes in the data source 202.
[0048] exist Figure 3 In the example shown in FIG. 1 , the data formatter 304 formats (e.g., marshals, translates, standardizes, organizes, etc.) data from the data source 202. The data formatter 304 transforms the data into a customizable message to be stored in the primary buffer 306 and / or the secondary buffer 308. The primary buffer 306 and / or the secondary buffer 308 store the data formatted by the data formatter 304. In some examples, the data stored in the primary buffer 306 and / or the secondary buffer 308 is accessed by the data formatter 304 to be compared with subsequent data from the data source 202. For example, the primary buffer 306 may include a customizable snapshot message. Using the techniques discussed in more detail below, the data formatter 304 may then compare the data from the data receiver 302 with the customizable snapshot message in the primary buffer 306 to generate a customizable delta capture message in the secondary buffer 308.
[0049] In the example shown, the message sender 310 manages a connection with one or more recipient electronic devices 206. The message sender 310 uses the customizable messages stored in the primary buffer 306 and / or the secondary buffer 308 and sends the data as the customizable message 204 to the recipient electronic device 206. In some examples, the message sender 310 receives preferences from the recipient electronic device 206. For example, the preferences may include preferences for update rates and / or preferences for the number of levels of data. In some such examples, the message sender 310 customizes the customizable messages stored in the primary buffer 306 and / or the secondary buffer 308 to send to the recipient electronic device 206 based on the received preferences. In order to customize the customizable message, the message sender 310 calculates which portion of the customizable message (e.g., the total number of bytes) will be sent based on the received preferences. For example, if the customizable message is 100 bytes, the message sender 310 can calculate that only the first 56 bytes will be sent to the recipient electronic device 206 based on the received preferences. In this way, there is no need to re-transform the message per recipient. The data formatter 304 specifically formats the customizable message to allow truncated transmission. In some examples, when the message sender 310 detects that the connection to the recipient electronic device 206 is congested, the message sender 310 delays or abandons the message to the device 206.
[0050] IV. Current Techniques for Communication of Data Source Updates
[0051] Current techniques for providing changes to the state of a data source include snapshots and deltas, some example techniques of which are described further below.
[0052] A. Snapshot Technology
[0053] A snapshot represents the state of a data source at a specific point in time. A snapshot can be used to deliver updates to a receiving device. An example snapshot technique delivers the state of a data source by sending a snapshot message to one or more receiving devices for each update. Because the snapshot technique sends the entire state of a data source at a specific point in time to the receiving party, the state of the data source at time t can be determined as shown in formula (1):
[0054] Current State(t)=S t Formula (1),
[0055] Among them, S t represents the snapshot most recently sent before time t.
[0056] Figure 4The data flow illustrating an example of using the snapshot technique is shown in which a data source is used to generate a snapshot at a discrete time (e.g., time T 0 , time T 1 , time T 2 , etc.) of the example first state 400a, the example second state 400b, and the example third state 400c. Figure 4 In the example shown, at time t 0 Capture the first state 400a. Format the first state 400a as a snapshot S 0 , and store it in the buffer. 0 Sent to the receiver. At time T 1 , capturing the second state 400b, formatting it as a snapshot S 1 , and sent to the receiver. At time T 2 , capture data 400c, formatting it as snapshot S 2 , and sent to the receiver.
[0057] Because a snapshot includes all the data needed to know the current state of a data source, the impact of missing a snapshot can be reduced or minimized (e.g., by waiting for the next update, etc.). However, because the data from the data source may only change slightly over an interval, sending a snapshot may unnecessarily use valuable data bandwidth. Therefore, recipients receiving messages from frequently updated data sources, many different data sources, and / or recipients with limited bandwidth (e.g., mobile devices using cellular network connections, etc.) may experience congestion and / or lost messages.
[0058] B. Incremental Technology
[0059] The increment represents the difference between the most recent previous state of the data source and the current state of the data source. The most recent previous state is the latest snapshot adjusted by all intervening increments. The incremental technique uses periodic snapshots separated by one or more increments to deliver updates to the receiving device. The example incremental technique delivers the state of the data source by sending snapshots to the receiver periodically (e.g., at set time intervals) and / or aperiodically (e.g., after a certain number of updates). Between each snapshot, the increment is sent to the receiver periodically and / or aperiodically. Accordingly, the current state of the data source at time t can be determined as shown in formula (2):
[0060] Current State(t)=S R +Δ 1 +Δ 2 +…+Δ t Formula (2),
[0061] Among them, SR represents the most recently sent snapshot before time t, Δ 1 To Δ t Indicates the deltas sent since the most recent snapshot.
[0062] Figure 5 The data sources are shown at time T. 0 , time T 1 and time T 2 The data flow of the example incremental technique of the example first state 400a, the example second state 400b and the example state 400c. Figure 5 In the example shown, at time T 0 , capturing the first state 400a, formatting it as a snapshot S 0 , and sent to the receiver. At time T 1 , capture the second state 400b, and compare with the second state 400b. Generate an example increment Δ based on the difference 1 Then the increment Δ 1 Sent to the receiver. At time T 2 , capturing the third state 400c and comparing it with the second state 400b to generate an increment Δ based on the difference 2 Then the increment Δ 2 Sent to the recipient. Figure 4 In the example shown, the increment (eg, increment Δ 1 and increment Δ 2 ) includes an instruction 500 (e.g., add (A), change (C), remove (R)), an index (index) 502 indicating which portion of the data to change, and a value 504 (e.g., value 1 and value 2) indicating how to change the data. For example, the increment may instruct the recipient to change (C) the value (value 1, value 2) at index 1 by (0, -50). In some examples, a snapshot (e.g., snapshot S 0 ) is marked as a snapshot and does not include instruction 500.
[0063] The delta technique can reduce bandwidth usage because only the portion of the updated data that has changed is delivered to the receiver between snapshots. However, since deltas deliver only a portion of any update, if a delta is not received in time (e.g., due to congestion, due to a connection interruption, due to a lost message, etc.), the receiver's data may become erroneous, or the receiver may have to wait until a new snapshot is sent, having to ignore all subsequently received deltas until then.
[0064] V. Incremental capture technology and message rate customization
[0065] Some embodiments use techniques referred to herein as incremental capture techniques to provide improved delivery of the state of a data source (e.g., data source 202) to one or more recipient devices (e.g., one or more electronic devices 206). Incremental capture techniques provide more efficient bandwidth utilization compared to snapshot techniques and greater resistance to data loss than incremental techniques. In addition, incremental capture techniques provide efficient message rates and number of levels while reducing redundant data sent using only snapshot techniques and reducing the complexity and storage required using incremental techniques.
[0066] Incremental capture means that the Figure 2 and Figure 3 The most recent snapshot of the receiver 206) and the data source to be provided in the update (e.g. Figure 2 and Figure 3 The difference between the current state of the data source 202 and the current state of the data source 202). The example incremental capture technology communicates the state of the data source by sending snapshots to the recipients periodically and / or aperiodically (e.g., at a set time interval, after a certain number of updates, upon a trigger condition, etc.). The snapshot is sent to all recipients. In addition, the most recent snapshot is sent in response to a new connection. Preferably, the snapshot is sent using a communication technology that ensures reliable delivery of the snapshot. For example, the snapshots can be generated in a manner similar to the snapshot techniques discussed above. In addition, one or more incremental captures are typically generated between each snapshot. Updates can be provided to the recipients at a basic update rate (e.g., the data source 202 provides updates to the recipients at a certain time). Figure 2 and Figure 3 Incremental captures may be generated using a method similar to the incremental captures in the incremental techniques discussed above, except that the incremental captures are performed relative to the most recently sent snapshot rather than relative to the state represented by the most recently sent delta. When an incremental capture is being generated, it is possible that the representation of the incremental capture may be larger than what the equivalent snapshot would have been, due to the scope of the changes from the earlier snapshot to be represented. In these cases, in some embodiments, the generation of the incremental capture may be abandoned, and a new snapshot may be generated and sent in addition. Using the incremental capture technique, the state of the data source 202 at time t may be determined as shown in formula (3):
[0067] Current State(t)=SR +ΔS t Formula (3)
[0068] Among them, S R represents the most recently sent snapshot before time t, ΔS t represents the most recently sent delta capture before time t.
[0069] Figure 6 The data source 202 is shown in FIG. 0 , time T 1 and time T 2 The data flow of the example incremental capture technique of the example first state 400a, the example second state 400b, and the example state 400c. Figure 6 In the example shown, the data source receiver 302 ( Figure 3 ) captures the first state 400a, which is then captured by the data formatter 304 ( Figure 3 ) format it as snapshot S 0 , and placed in the primary buffer 306 ( Figure 3 ) in the message transmitter 310 ( Figure 3 ) Snapshot S 0 Send to the recipient 206 ( Figure 3 ). At time T 1 , the second state 400b is captured by the data source receiver 302. In the example shown, the data formatter 304 converts the snapshot S in the primary buffer 306 into 0 is compared to the second state 400b. Based on the difference, the data formatter 304 generates an example incremental capture ΔS 1 . The incremental capture ΔS 1 Stored in the secondary buffer 310 ( Figure 3 ). The message sender 310 then captures the incremental ΔS according to the update rate preference of each receiver. 1 Send to the recipient 206.
[0070] like Figure 6 As shown in the example, at time T 2 , the data source receiver 302 captures the third state 400c of the data source 202. The data formatter 304 converts the snapshot S stored in the primary buffer 306 into 0 is compared with the third state 400c and an incremental capture ΔS is generated based on the difference 2 . The incremental capture ΔS 2 Stored in the secondary buffer 308. The incremental capture ΔS is then sent by the message sender 310 according to the update rate preference of each recipient. 2 Send to the recipient 206. Figure 6In the example shown, the incremental capture ΔS is generated using action 600, an index 602 indicating which portion of the data is affected, and / or a change to a value 604 (eg, value 1 and value 2). 1 , ΔS 2 .
[0071] Because the incremental capture includes information about one or more updates to the data that have occurred at the data source 202 since the most recent snapshot, the incremental capture technology allows updates to be sent to recipients 206 with different update rate preferences at multiple base update rates. For example, if snapshots are created every two minutes and incremental captures are created every second between snapshots, a first recipient may set a preference to receive incremental captures every five seconds, and a second recipient may set a preference to receive incremental captures every ten seconds. Each snapshot is sent to each recipient. When incremental captures are generated, the incremental captures may then be sent to the recipients according to the preferences of the recipients. Therefore, each incremental capture may not be sent to each recipient. Since incremental captures represent changes relative to the most recently sent snapshot, a particular recipient does not have to receive each incremental capture to determine the most recent update to the data source.
[0072] Because the incremental capture contains updated portions of information about the data source 202, the incremental capture technique generally requires less bandwidth than the snapshot technique.
[0073] In some examples, the incremental capture technique may require more bandwidth than the incremental technique. For example, if the data source 202 changes, and then does not change again for a while, the incremental capture will repeatedly include the change, while the incremental will not. However, using the incremental capture technique, subscribing to the data source and recovering from lost messages is more manageable than using the incremental technique. For example, using the incremental capture technique, the receiving device 206 can connect to the subscription control module 201 between snapshots and become up to date by receiving the most recent snapshot and the most recent incremental capture.
[0074] VI. Data level technology and data level customization
[0075] Some embodiments use a technique referred to herein as a divisible data level technique to provide improved delivery of the state of a data source 202 to one or more recipient devices 206. Divisible data levels refer to organizing the data being updated into levels or hierarchies. Fig. 7A and Figure 7B In the example shown in Figure 3 The data formatter 304 will be generated from the data source (e.g. Figure 2 and Figure 3The data 700 received from the data source 202 (eg, the data source 202) is organized into data levels 702a-702f. In some examples, the data levels 702a-702f are organized in descending order of interest (e.g., the first level 702a includes the most requested data, the second level 702b includes the next most requested data, and so on). Additionally or alternatively, each data level 702a-702f represents a level of information detail. The data levels 702a-702f are divisible according to the following data levels 702 (e.g., the first data level 702a can be used to create Figure 2 2a, and a second data level 702b may be used to create a tailored message 204, and so on. That is, the data is sorted into levels or hierarchies so that a recipient can specify a preference to receive only a subset of the levels, starting at the first data level 702a and going through the preferred data levels. For example, some recipients may prefer to receive the first three data levels (levels 702a-702c), while other recipients may prefer to receive only the first data level (level 702a). Some recipients may only desire information in the fifth data level (level 702e), but according to the divisible data level technique, these recipients are willing to also receive the levels above the data level they desire (in this case, levels 702a-702d).
[0076] exist Figure 7B In the example shown in , the data level 702 may include multiple data values 704. In the example shown, the data values 704 in the data level 702 are not divisible. For example, if the receiving device 206 requests a specific value 704 contained in the first data level 702a, the receiving device 206 accepts the entire first data level 702a. For example, the data source 202 can provide Twitter topic tags and their release rates. The data formatter can organize them in descending order of the release rate of the topic tags. The first topic tag can be the first data level (e.g., data level 702a), topic tags two to ten can be the second data level (e.g., data level 702b), and topic tags eleven to one hundred can be the third data level (e.g., data level 702c). If the recipient prefers to receive only the first topic tag, they will receive the first data level. If the recipient prefers to receive the first ten topic tags, they will receive the first data level and the second data level.
[0077] Divisible data levels facilitate the generation of data that allows multiple receiving devices (e.g. Figure 3 The message can be customized to each recipient 206) without reorganizing the data into each recipient's message buffer. For example, if one thousand receiving devices (such as Figure 2 and Figure 3 The receiving device 206) is connected to the subscription control module (eg Figure 2 and Figure 3 Subscription control module 201), then you can (for example, use Fig. 7A and Figure 7B The sender may also use a method of sending update messages having different interest levels and / or detail levels to each receiving device 206 without the sender having to group the data for each update message for each recipient.
[0078] Fig. 8A and Figure 8B shows that a data formatter (e.g. Figure 3 304) generates and places it into a buffer (e.g. Figure 3 After being placed in the buffer, the message sender (e.g. Figure 3 The message sender 310 of the embodiment of the present invention uses the portion of the customizable message in the buffer as the customizable message 204 to send to the receiving device (e.g. Figure 2 and Figure 3 receiving device 206). Fig. 8A shows the snapshots (e.g. Figure 4 , Figure 5 and Figure 6 An example of a snapshot S0) of which a message 800 may be tailored. Fig. 8A In the example shown, the customizable message 800 includes one or more headers 802 and one or more data levels 804. The header 802 includes bookkeeping information (e.g., the number of data levels 804, the level of precision, a timestamp, etc.) and a message sent by the message sender (e.g., Figure 3 The message sender 310) processes the transmission information required for the customizable message 800.
[0079] Data level 804 is a divisible data level that is divisible at one or more partition points 806 (e.g., Fig. 7A and Figure 7B In some examples, each data level 804 can include multiple values 808. In some examples, to send the tailored message 204, the message sender 310 uses a portion of the tailorable message 800 from the buffer that reaches one of the partition points 806. Fig. 8A In the example shown, each data level 804 may include a plurality of values 808 to represent the state of the data source 202 corresponding to the level of detail and / or level of interest (eg, Figure 4 , Figure 5 and Figure 6For example, if the customizable message 800 includes 8 data levels 804, the receiving device 206 can choose to receive only the first 2 data levels 804 by setting a preference. In this example, the message sender 310 uses the header 802 and the first 2 data levels 804 to send to the receiving device 206. In some embodiments, a socket write call can be used with reference to including the preferred number of data levels for each recipient and not including more appropriate lengths and buffers.
[0080] Figure 8B shows the incremental capture based on (e.g., Figure 6 The increment captures ΔS 1 ) can be tailored to the message 810. Figure 8B In the example shown, the customizable message 810 includes one or more headers 802 and one or more updates 812. In the example shown, the updates 812 include actions 814. In some examples, each update 812 may include one or more actions 814. In the example shown, the actions 814 include information about changes to the data source 202 since the most recent snapshot. The data updates 812 may be divisible data levels divisible at the partition point 806 (e.g., Fig. 7A and Figure 7B In some examples, to send the tailored message 204, the message sender 310 uses a portion of the tailorable message 810 from a buffer (e.g., primary buffer 306, secondary buffer 308, etc.) that reaches one of the partition points 806. In some examples, the tailorable message 810 may not include updates 812 corresponding to each data level 804 (e.g., no data has changed in that particular data level 804 since the most recent snapshot, etc.).
[0081] exist Figure 8B In the example shown in FIG. 8 , an action 814 includes an action reference 818, an index 816, and one or more parameters 820. The action reference 818 identifies which action to perform (e.g., Figure 6 800) to update the data level 804 identified by the example index 816. The example parameter 820 identifies the magnitude of the change to the value (eg, value 808) of the identified data level 804. The example action references are described in Table (1).
[0082] Table (1)
[0083]
[0084] The example "add" action uses the value specified by the example parameter 820 (e.g., Figure 7B704), adding a new data level after the data level specified by index 816 (e.g., Fig. 7A and Figure 7B The example "Add Relative" action adds a new data level after the data level specified by index 816, where the value of the data level specified by index 816 is modified (e.g., added, subtracted, etc.) by the value specified by example parameter 820. The example "Add Top" action adds a new data level before the first data level using the value specified by example parameter 820. The example "Modify Nth Value" action (e.g., "Modify 1st Value" (MV1), etc.) modifies the Nth value of the data level identified by index 816 as specified by example parameter 820. The example "Modify All" action modifies the value of the data level identified by index 816 as specified by example parameter 820. The example "Delete" action deletes the data level identified by index 816. The example "No Change" action creates a copy of the data level specified by index 816 before the data level specified by index 816.
[0085] The tailorable message 810 may include an update 812 that adds a new data level 804 (e.g., using an "add" action, an "add relative" action, and / or an "add top" action, etc.). Additionally or alternatively, the tailorable message 810 may include an update 812 that deletes an existing data level 804 (e.g., using a "delete" action, etc.). When a data level 804 is deleted, the lower data levels are shifted upward. For example, the tailorable message 800 may include data level 1, data level 2, and data level 3. If data level 2 is deleted at the next update of the data source 202, data level 3 is shifted to become data level 2. However, in this example, if the receiving device 206 only receives two data levels in the tailored message 204 (e.g., as per the recipient's preference), the receiving device 206 will not have information about data level 3. That is, when the receiving device 206 receives the latest snapshot, the tailored message 204 does not include information about data level 3. To help the receiving device 206 have accurate, up-to-date information about the current state of the data source 202, the data formatter 304 can include an action 814 (e.g., a “no change” action) that provides an upwardly shifted data level 804 (e.g., data levels 1 and 3) upon detecting a deleted data level 804. In some examples, a receiving device 206 that already has the data level 804 ignores the “no change” action 814.
[0086] Fig. 9 Shows that the data level has been deleted (e.g. Fig. 8A The example shown shows that the data source 202 ( Figure 2 and Figure 3 ) at time T 0 The first state 900a and at time T 1 The first state 900a and the second state 900b have been organized into a first data level 902a, a second data level 902b, a third data level 902c, a fourth data level 902d, and a fifth data level 902e. Figure 3 ) Generate customizable messages based on snapshots (e.g. Fig. 8A Customizable message 800). At time T 0 , because the receiving device 206 ( Figure 2 and Figure 3 ) has set preferences for three data levels 804, so there will be a special snapshot S for three data levels 0 is sent to the receiving device 206. 1 , the second data level 902b is deleted. In the example shown, the third data level 902c, the fourth data level 902d, and the fifth data level 902e are shifted upward. When generating a customizable message based on incremental capture (e.g. Figure 8B When the data formatter 304 includes a "no change" action, the special increment capture ΔS 1 Send to the receiver.
[0087] Fig.10 The buffer (eg, Figure 3 The main buffer 306 or Figure 3 The example of a customizable message 1000 (eg, Fig. 8A A customizable snapshot-based message 800 and / or Figure 8B The customizable message 1000 includes one or more headers 1002 and one or more divisible data levels 1004 (e.g., Fig. 8A Data level 804 or Figure 8B In the example shown, while formatting the customizable message, the data formatter 304 ( Figure 3 ) calculates the location of the partition point 1006 in the buffer. In some examples, the data formatter 304 generates a partition table 1008 that stores the location (e.g., byte offset, etc.) of the partition point 1006 in the buffer. In some such examples, the partition table 1008 can be stored at the beginning or end of the specially crafted message 1000. In some examples, when sending the specially crafted message 204 ( Figure 2 ), the message sender 310 ( Figure 3) uses the partition table 1008. In this way, when sending a specially crafted message 204, the message sender 310 can quickly determine the size (e.g., the amount of bytes in the buffer) required to use the specially crafted message 1000 based on the preferences of the receiving device 206.
[0088] VII. Use incremental capture and tailored messaging for classifiable data
[0089] Some embodiments use a combination of incremental capture and divisible data level techniques to provide improved communication of the state of a data source 202 to one or more recipient devices 206 .
[0090] Fig.11 An example receiving device A 1104a is shown with Figure 2 and Figure 3 1104a and 1104b. The diagram 1100 also depicts an example second connection 1102b between an example receiving device B 1104b and the subscription control module 201. The subscription control module 201 generates snapshots 1106 at a snapshot threshold rate (e.g., every minute, every two minutes, etc.) and generates incremental captures 1108a-1108g at a basic update rate (e.g., every second, etc.). In the example shown, the subscription control module 201 sends the snapshots 1106 and incremental captures 1108a-1108g to the first connection 1102a and the second connection 1102b.
[0091] exist Fig.11In the example shown, the first connection 1102a has congestion periods 1110 and no significant congestion periods 1112 over time. In the example shown, the receiving device A1104a sets a preference for an update rate (e.g., the rate at which incremental captures 1108a-1108g are sent to the first connection 1102a) and / or a preference for the number of data levels received (e.g., how many data levels are included in each snapshot 1106 and each incremental capture 1108a-1108g). In the example shown, the update rate set by the receiving device A1104a is equal to the basic update rate (e.g., the rate at which incremental captures 1108a-1108g are generated by the subscription control module 201). For example, if the basic update rate is one second, the receiving device A1104a receives incremental captures 1108a-1108g at one second intervals. In some examples, the subscription control module 201 can detect the congestion period 1110. For example, the send socket of the subscription control module 201 may indicate that the send buffer is full and / or the first connection 1102a is congested. In some examples, the subscription control module 201 delays transmitting the delayed incremental capture 1108b until the first connection 1102a is no longer congested. When the congestion period 1110 is longer than the update rate preferred by the receiving device 206, the subscription control module 201 may abandon the pending incremental capture 1108d and send the next incremental capture 1108e instead.
[0092] exist Fig.11 In the example shown, the second connection 1102b has a connection period 1113 and a disconnection period 1114 over time. In the example shown, the update rate set by the receiving device B 1104b is set to be less frequent than the basic update rate. For example, if the basic update rate is 100 milliseconds, the update rate of the receiving device B 1104b can be 200 milliseconds. In the example shown, when the connection 1102b is established between the subscription control module 201 and the receiving device B 1104b, the subscription control module 201 sends the most recent snapshot 1106 and the most recent incremental capture 1108b, 1108f. Additionally or alternatively, if the disconnection period 1114 is very short (e.g., less than the current update rate), the subscription control module 201 can only send the incremental capture 1108f.
[0093] Fig.12 It means that it can be run to achieve Figure 2 and Figure 3 The subscription control module 201 is used to connect the subscription control module with the data source (eg Figure 2 and Figure 3Flowchart of an example method 1200 of example machine-readable instructions for generating snapshots and incremental captures when establishing a connection with a data source 202 (i.e., a data source 202). Initially, at box 1202, the subscription control module 201 receives data sent from the data source 202. In some examples, the subscription control module 201 retrieves data at set time intervals. Additionally or alternatively, the subscription control module 201 may retrieve data in response to detecting an update to the data source 202 and / or in response to a trigger. At box 1204, the subscription control module 201 determines whether a snapshot threshold rate has been exceeded. For example, the snapshot threshold rate is the minimum amount of time between each snapshot generated. In some examples, the snapshot threshold may be based on how much the data source 202 changes with each update (e.g., larger data source changes involve shorter snapshot thresholds).
[0094] If the snapshot threshold has been exceeded, program control proceeds to block 1206. Otherwise, if the snapshot threshold has not been exceeded, program control proceeds to block 1208. At block 1206, subscription control module 201 generates a snapshot (e.g., Fig.11 Snapshot 1106). Program control then returns to block 1202. At block 1208, the subscription control module generates an incremental capture (e.g., Fig.11 The program control then returns to block 1202. The example machine readable instructions 1200 are executed until the subscription control module 201 is disconnected from the data source 202.
[0095] Fig.13 It means that it can be run to achieve Figure 3 The data formatter 304 is configured to Figure 3 The data source receiver 302 receives the data to generate a snapshot (for example, Fig.11 1106). Initially, at block 1302, after receiving data from a data source receiver 302, a data formatter 304 converts one or more headers (e.g., Fig. 8A Head 802, Fig.10 Add the header 1002) to Figure 3 At block 1304, the data formatter 304 organizes the data into divisible data levels (e.g., Fig. 7A and Figure 7B In some examples, the data is organized into interest levels and / or detail levels. At block 1306, the data formatter 304 formats the organized data into a customizable message (e.g., Fig. 8A Customizable message 800, Fig.10The customizable message 1000, etc.) is then placed into the primary buffer 306. At block 1308, the data formatter 304 calculates the partition points (e.g., Fig. 8A The divisible point 806, Fig.10 In some examples, the data formatter 304 creates a partition table (e.g., Fig.10 1008) and appends it to the beginning or end of the customizable message in the main buffer 306. The example program 1300 then ends.
[0096] Fig.14 It means that it can be run to achieve Figure 3 The data formatter 304 is configured to Figure 3 The data source receiver 302 generates an incremental capture of the data retrieved (e.g., Fig.11 1108a-1108g) of an example method 1400 of example machine readable instructions for incrementally capturing 1108a-1108g). Initially, at block 1402, after receiving data from a data source receiver 302, the data formatter 304 converts one or more headers (e.g., Figure 8B Head 802, Fig.10 Add the header 1002) to Figure 3 At block 1404, the data formatter 304 organizes the data into divisible data levels (e.g., Fig. 7A and Figure 7B The divisible data levels 702a-702f).
[0097] At block 1406, starting with the first data level organized at block 1402, the data formatter determines whether the current data level is consistent with the data level in the primary buffer 306 ( Figure 3 ) in the customizable message. At block 1408, the data formatter 304 determines what action is involved (e.g. Figure 8B In block 1410, data formatter 304 adds the action determined in block 1408 to the customizable message in secondary buffer 308 (e.g., Figure 8B Customizable message 810, Fig.10At block 1412, the data formatter 304 determines whether the portion of the incremental capture in the secondary buffer 308 is larger than the snapshot in the primary buffer 306. If the incremental capture in the secondary buffer 308 is larger than the snapshot, program control proceeds to block 1414. Conversely, if the incremental capture in the secondary buffer 308 is not larger than the snapshot, program control proceeds to block 1416.
[0098] At block 1414, the generation of the incremental capture is aborted, and the data formatter generates the snapshot instead. The example program 1400 then ends. At block 1416, the data formatter 304 determines whether there is another level of data for comparison to the snapshot. If there is another level of data for comparison to the snapshot, program control returns to block 1406. Otherwise, if there is no another level of data for comparison to the snapshot, program control proceeds to block 1418. At block 1418, the data formatter 304 calculates the partitionable points (e.g., Figure 8B The divisible point 806, Fig.10 In some examples, the data formatter 304 creates a partition table (e.g., Fig.10 1008) and appends it to the beginning or end of the customizable message in the secondary buffer 308. The example program 1400 then ends.
[0099] Fig.15 It means that it can be run to achieve Figure 3 Example message sender 310 to update the recipient (e.g., Figure 2 and Figure 3 1500 of example machine readable instructions of an example method 1500 of a receiving device 206 of a message. At block 1502, the message sender 310 establishes a connection with a recipient (e.g., Fig.11 In some examples, the message sender 310 requests and / or receives preferences from the recipient. Additionally or alternatively, the message sender 310 maintains and / or has access to (e.g., from a subscriber database, etc.) the preferences of the recipient. At block 1504, the message sender 310 sends the most recent snapshot (e.g., Fig.11 In some examples, the message sender 310 customizes the message according to the preferences of the recipient (e.g., using Figure 3 A snapshot of a portion of the customizable messages in the main buffer 306.
[0100] At block 1506, the message sender 310 determines the secondary buffer 308 ( Figure 3 ) whether there are more recent incremental captures (e.g., Fig.11If the message sender 310 determines that there are more recent incremental captures, program control proceeds to block 1508, otherwise, the example program 1500 ends. At block 1508, the message sender 310 sends the most recent incremental capture to the recipient. In some examples, the message sender 310 tailors the message to the recipient's preferences (e.g., using Figure 3 The example process 1500 then ends.
[0101] Fig.16 It means that it can be run to achieve Figure 3 The message sender 310 is used to send a snapshot (eg Fig.11 Snapshot 1106) and incremental capture (e.g. Fig.11 The incremental capture 1108a-1108g) is sent to the connected Figure 2 and Figure 3 The receiving device 206 ( Figure 2 and Figure 3 ) of an example method 1600 of example machine readable instructions. Initially, at block 1602, a primary buffer 306 ( Figure 3 ) in a new snapshot or secondary buffer 308 ( Figure 3 ). If there is a new snapshot or incremental capture, program control proceeds to box 1604. Otherwise, program control returns to box 1602. In box 1604, the message sender 310 determines whether the update rate of the receiving device 206 has been met. In some examples, the recipient sets the preferences received by the message sender 310 when the connection is established and / or the preferences maintained by the message sender 310. In some examples, the receiving device 206 does not set preferences. In these examples, the update rate defaults to the rate at which the subscription control module 201 generates snapshots and incremental captures (e.g., the basic update rate). If the update rate of the receiving device 206 has been met, program control proceeds to box 1606. Otherwise, if the update rate of the receiving 206 has not yet been met, program control returns to box 1602.
[0102] At block 1606, the message sender 310 determines whether the message can be sent to the receiving device 206. In some examples, the message sender 310 detects congestion (e.g., Figure 3congestion period 1112). If the message can be sent to the receiving device 206, program control proceeds to block 1608. Otherwise, if the message cannot be sent to the receiving device 206, program control returns to block 1602. At block 1608, the message sender 310 determines whether a snapshot or a delta capture is to be sent to the receiving device 206. If a snapshot is to be sent, program control proceeds to block 1610. If a delta capture is to be sent, program control proceeds to block 1612. At block 1610, the message sender 310 sends the snapshot to the receiving device 206. In some examples, the message sender 310 tailors the message to the recipient's preferences (e.g., using Figure 3 Program control returns to block 1602. At block 1612, the message sender 310 sends the incremental capture to the recipient. In some examples, the message sender 310 customizes (e.g., uses) the recipient's preferences. Figure 3 Program control returns to block 1602. The example instructions 1600 are executed until the recipient disconnects from the subscription control module 201.
[0103] Fig.17 It means that it can be run to achieve Figure 3 The message sender 310 can be configured to send a message to the buffer (eg, Figure 3 The primary buffer 306 and / or the secondary buffer 308) may contain a customizable message (e.g., Fig. 8A Customizable message 800, Figure 8B 810, etc.) to regroup the snapshot (e.g. Fig.11 Snapshot 1106) and / or incremental capture (e.g. Fig.11 1108a-1108g) of the incremental capture 1108a-1108g) of the example method 1700 of the example machine readable instructions specially crafted. Initially, at block 1702, the message sender 310 determines the level of data to be sent as indicated by the recipient's preferences (e.g., Fig. 7A and Figure 7B At block 1704, the message sender 310 determines the size of the portion of the buffer to be sent to the receiving device 206 based on the number of data levels determined at block 1702. In some examples, the partition table (e.g. Fig.10 1704) is attached to the beginning or end of the buffer. In these examples, the message sender 310 looks up the required buffer size on the partition table 1008. At block 1706, the message sender 310 sends the portion of the buffer determined at block 1704 to the receiving device 206. The example procedure 1700 then ends.
[0104] VIII. Example Electronic Trading System
[0105] Some of the embodiments discussed above may be useful in an electronic trading system. For example, delivering market information including quantities available at various price levels may benefit from message customization. For example, internal market data and market depth data for tradable objects may be organized into divisible data levels (e.g., divisible data levels 702a-702f). In addition, updates to the internal market data and market depth data may be delivered to subscribers for exchanging these tradable objects using incremental capture techniques.
[0106] Fig.18 A block diagram representing an example electronic trading system 1800 in which some embodiments may be employed is shown. System 1800 includes a trading device 1810, a gateway 1820, and an exchange 1830. Trading device 1810 communicates with gateway 1820. Gateway 1820 communicates with exchange 1830. As used herein, the phrase "communicating with" encompasses direct communication and / or indirect communication through one or more intermediate components. Trading device 1810, gateway 1820, and / or exchange 1830 may include Figure 1 Without departing from the teachings and disclosures provided herein, Fig.18 The exemplary electronic transaction system 1800 described in can communicate with additional components, subsystems, and elements to provide additional functionality and capabilities.
[0107] In operation, trading device 1810 may receive market data from exchange 1830 via gateway 1820. A user may utilize trading device 1810 to monitor the market data and / or as a basis for a decision to send an order message to exchange 1830 for buying or selling one or more tradable objects.
[0108] Market data may include data about the market for a tradable object. For example, market data may include the internal market, market depth, the last traded price ("LTP"), the last traded quantity ("LTQ"), or a combination thereof. The internal market refers to the highest available bid price (best bid) and the lowest available ask price (best ask or best offer) in the market for a tradable object at a particular point in time (this is because the internal market can change over time). Market depth refers to the quantity available at price levels that include and are away from the internal market. Market depth may have "cracks" because there are prices based on orders in the market without quantities.
[0109] Price levels associated with internal markets and market depth may be provided as value levels, which may include representations of prices and derived and / or calculated values. For example, a value level may be displayed as a net change from the opening price. As another example, a value level may be provided as a value calculated from prices in two other markets. In another example, a value level may include a composite price level.
[0110] A tradable object is anything that can be traded. For example, a certain amount of a tradable object can be bought or sold for a specific price. Tradable objects may include, for example, financial products, stocks, options, bonds, futures contracts, foreign exchange, guarantees, fund derivatives, collateral, commodities, swaps, interest rate products, index-based products, trading events, goods, or a combination thereof. Tradable objects may include products listed and / or governed by an exchange, products defined by a user, a combination of real products or synthetic products, or a combination thereof. There may be synthetic tradable objects that correspond to and / or are similar to real tradable objects.
[0111] An order message is a message that includes a trading order. A trading order can be, for example: a command for issuing an order for buying or selling a tradable object; a command for initiating a management order according to a defined trading strategy; a command for changing, modifying or canceling an order; an instruction for an electronic exchange related to an order; or a combination thereof.
[0112] The trading device 1810 may include one or more electronic computing platforms. For example, the trading device 1810 may include a desktop computer, a handheld device, a laptop device, a server, a portable computing device, a trading terminal, an embedded trading system, a workstation, an algorithmic trading system (such as a "black box" or "gray box" system), a computer cluster, or a combination thereof. As another example, the trading device 1810 may include a single-core or multi-core processor in communication with a memory or other storage medium configured to accessibly store one or more computer programs, applications, libraries, computer-readable instructions, etc. for execution by the processor.
[0113] As used herein, the phrases "configured to" and "adapted to" encompass that an element, structure or apparatus has been modified, arranged, changed or adapted to perform a particular function or for a particular purpose.
[0114] By way of example, the transaction device 1810 may be implemented to run As another example, trading device 1810 may be a personal computer running a copy of Automated Trading Platform, an electronic trading platform provided by Trading Technologies International, Inc. of Chicago, Illinois ("Trading Technologies"). As another example, trading device 1810 may be a computer running a program that provides automated trading tools, such as Automated Trading Platform, also provided by Trading Technologies. and / or AUTOTRADER TM ) of the transaction application. In yet another example, the transaction device 1810 may include a transaction terminal that communicates with the server, wherein the transaction terminal and the server are collectively the transaction device 1810.
[0115] The trading device 1810 is typically owned, operated, controlled, programmed, configured, or otherwise used by a user. As used herein, the phrase "user" may include, but is not limited to, a human (e.g., a trader), a trading group (e.g., a group of traders), or an electronic trading device (e.g., an algorithmic trading system). For example, one or more users may be involved in owning, operating, controlling, programming, configuring, or otherwise using.
[0116] The trading device 1810 may include one or more trading applications. As used herein, a trading application is an application that promotes or improves electronic trading. The trading application provides one or more electronic trading tools. For example, a trading application stored by the trading device may be executed to arrange and display market data in one or more trading windows. In another example, the trading application may include an automated extended trading application that provides extended trading tools. In yet another example, the trading application may include an algorithmic trading application that automatically processes algorithms and performs specific actions (e.g., placing orders, modifying existing orders, deleting orders, etc.). In yet another example, the trading application may provide one or more trading screens. The trading screen may provide one or more trading tools that allow interaction with one or more markets. For example, a trading tool may allow a user to obtain and browse market data, set order entry parameters, submit order messages to an exchange, deploy trading algorithms, and / or monitor positions while implementing various trading strategies. The electronic trading tools provided by the trading application may always be available, or may only be available in certain configurations or operating modes of the trading application.
[0117] The trading application may be implemented using computer readable instructions stored in a computer readable medium and executable by a processor. Computer readable media may include various types of volatile storage media and non-volatile storage media, including, for example, random access memory, read-only memory, programmable read-only memory, electrically programmable read-only memory, electrically erasable read-only memory, flash memory, any combination thereof, or any other tangible data storage device. As used herein, the term non-transitory computer readable medium or tangible computer readable medium is expressly defined to include any type of computer readable storage medium and exclude propagating signals.
[0118] One or more components or modules of the transaction application may be loaded into the computer-readable medium of the transaction device 1810 from another computer-readable medium. For example, the transaction application (or an update to the transaction application) may be stored by a manufacturer, developer, or publisher on one or more CDs or DVDs, which are then loaded onto the transaction device 1810 or onto a server from which the transaction device 1810 retrieves the transaction application. As another example, the transaction device 1810 may receive the transaction application (or an update to the transaction application) from a server, such as via the Internet or an intranet. The transaction device 1810 may receive the transaction application or update when requested by the transaction device 1810 (e.g., "pull distribution") and / or when not requested by the transaction device 1810 (e.g., "push distribution").
[0119] The trading device 1810 may be adapted to send an order message. For example, the order message may be sent to the exchange 1830 via the gateway 1820. As another example, the trading device 1810 may be adapted to send the order message to a simulated exchange in a simulated environment that does not implement real-world trading.
[0120] The order message may be sent upon user request. For example, a trader may use the trading device 1810 to send an order message, or manually enter one or more parameters of a trading order (e.g., order price and / or quantity). As another example, an automated trading tool provided by a trading application may calculate one or more parameters of a trading order and automatically send an order message. In some instances, the automated trading tool may prepare an order message to be sent, but does not actually send the order message to be sent without confirmation from the user.
[0121] The order message may be sent in one or more data packets or through a shared memory system. For example, the order message may be sent from the trading device 1810 to the exchange 1830 through the gateway 1820. For example, the trading device 1810 may use a local area network, a wide area network, a wireless network, a virtual private network, a cellular network, a point-to-point network, a T1 line, a T3 line, an integrated services digital network ("ISDN") line, a point-of-presence, the Internet, a shared memory system, and / or a private network (such as TTNET provided by Trading Technologies) TM ) to communicate with gateway 1820.
[0122] The gateway 1820 may include one or more electronic computing platforms. For example, the gateway 1820 may be implemented as one or more desktop computers, handheld devices, laptops, servers, portable computing devices, trading terminals, embedded trading systems, workstations with single-core or multi-core processors, algorithmic trading systems (e.g., "black box" or "gray box" systems), computer clusters, or any combination thereof.
[0123] The gateway 1820 may facilitate communications. For example, the gateway 1820 may perform protocol translation for data passed between the trading device 1810 and the exchange 1830. For example, the gateway 1820 may process order messages received from the trading device 1810 into a data format understood by the exchange 1830. Likewise, for example, the gateway 1820 may transform market data received from the exchange 1830 in an exchange-specific format into a format understood by the trading device 1810.
[0124] The gateway 1820 may include a trading application similar to the trading application described above that facilitates or improves electronic trading. For example, the gateway 1820 may include a trading application that tracks orders from the trading device 1810 and updates the status of the order based on the fill confirmation received from the exchange 1830. As another example, the gateway 1820 may include a trading application that aggregates market data from the exchange 1830 and provides it to the trading device 1810. In yet another example, the gateway 1820 may include a trading application that provides risk processing, calculates implieds, handles order processing, handles market data processing, or a combination thereof.
[0125] For example, in some embodiments, gateway 1820 uses a local area network, a wide area network, a wireless network, a virtual private network, a cellular network, a point-to-point network, a T1 line, a T3 line, an ISDN line, a point of presence, the Internet, a shared storage system, and / or a private network (such as TTNET provided by Trading Technologies). TM) to communicate with exchange 1830.
[0126] Exchange 1830 may be owned, operated, controlled, or used by an exchange entity. Example exchange entities include CME Group, London International Financial Futures and Options Exchange, Intercontinental Exchange, and Eurex. Exchange 1830 may include an electronic matching system (such as a computer, server, or other computing device) adapted to allow the purchase and sale of tradable objects for trading, such as those provided by the exchange. For example, exchange 1830 may include separate entities, some of which list and / or govern tradable objects, while others receive and match orders. For example, exchange 1830 may include an electronic communications network ("ECN").
[0127] Exchange 1830 may be an electronic exchange. Exchange 1830 is adapted to receive order messages and match contra-side trade orders for buying and selling tradable objects. Exchange 1830 may list unmatched trade orders for a trade. Once an exchange receives and confirms an order for buying or selling a tradable object, the order is considered a working order until it is filled or canceled. If only a portion of the quantity of the order is matched, the partially filled order is still a working order. For example, the trade order may include a trade order received from a trading device 1810 or other device that communicates with exchange 1830. For example, typically, exchange 1830 will communicate with various other trading devices (which may be similar to trading device 1810) that also provide trade orders to be matched.
[0128] The exchange 1830 is adapted to provide market data. The market data may be provided in one or more messages or data packets or provided through a shared memory system. For example, the exchange 1830 may publish a data feed to a subscribing device such as a trading device 1810 or a gateway 1820. The data feed may include market data.
[0129] System 1800 may include additional components, different components, or fewer components. For example, system 1800 may include multiple transaction devices, gateways, and / or exchanges. In another example, system 1800 may include other communication devices, such as middleware, firewalls, hubs, switches, routers, servers, exchange-specific communication equipment, modems, security managers, and / or encryption / decryption devices.
[0130] IX. Extended Sample Electronic Trading System
[0131] Fig.19A block diagram of another example electronic trading system 1900 in which some embodiments may be employed is shown. In this example, a trading device 1910 may utilize one or more communication networks to communicate with a gateway 1920 and an exchange 1930. For example, trading device 1910 utilizes network 1902 to communicate with gateway 1920, and gateway 1920 in turn utilizes networks 1904 and 1906 to communicate with exchange 1930. As used herein, a network facilitates or enables communications between various computing devices such as trading device 1910, gateway 1920, and exchange 1930. For purposes of brevity, the overall reference numerals for trading device 1910, gateway 1920, exchange 1930, and networks 1902, 1904, and 1906 are shown in FIG. Fig.19 Not shown.
[0132] The following discussion generally focuses on trading device 1910, gateway 1920, and exchange 1930. However, trading device 1910 may also be connected to or communicate with "n" additional gateways (individually identified as gateways 1920a-1920n, which may be similar to gateway 1920) and "n" additional exchanges (individually identified as exchanges 1930a-1930n, which may be similar to exchange 1930) via network 1902 (or other similar networks). Additional networks (individually identified as networks 1904a-1904n and 1906a-1906n, which may be similar to networks 1904 and 1906, respectively) may be used for communications between the additional gateways and the exchanges. Communications between trading device 1910 and each of the additional exchanges 1930a-1930n need not be the same as communications between trading device 1910 and exchange 1930. Typically, each exchange has its own preferred technology and / or format for communicating with a trading device, a gateway, a user, or another exchange. It should be understood that there is not necessarily a one-to-one mapping between gateways 1920a-1920n and exchanges 1930a-1930n. For example, a particular gateway may communicate with more than one exchange. As another example, more than one gateway may communicate with the same exchange. This arrangement may, for example, allow one or more trading devices 1910 to trade at more than one exchange (and / or provide redundant connections to multiple exchanges).
[0133] Additional trading devices 1910a-1910n, which may be similar to trading device 1910, may be connected to one or more of gateways 1920a-1920n and exchanges 1930a-1930n. For example, trading device 1910a may communicate with exchange 1930a via gateway 1920a and networks 1902a, 1904a, and 1906a. In another example, trading device 1910b may communicate directly with exchange 1930a. In another example, trading device 1910c may communicate with gateway 1920n via an intermediary device (such as a proxy, remote host, WAN router).
[0134] Possibly Figure 1 The transaction device 1910 similar to the transaction device 1810 of FIG. 1 includes a server 1912 in communication with a transaction terminal 1914. For the purpose of simplicity, the overall reference numerals of the server 1912 and the transaction terminal 1914 are shown in FIG. Fig.19 1914. The server 1912 may be geographically located closer to the gateway 1920 than the trading terminal 1914 to reduce latency. In operation, the trading terminal 1914 may provide a trading screen to the user and pass the command to the server 1912 for further processing. For example, a trading algorithm may be deployed to the server 1912 based on market data for execution. The server 1912 may execute the trading algorithm without further input from the user. In another example, the server 1912 may include a trading application that provides an automated trading tool and may communicate back to the trading terminal 1914. The trading device 1910 may include additional components, different components, or fewer components.
[0135] In operation, the network 1902 may be a multicast network configured to allow the transaction device 1910 to communicate with the gateway 1920. The data on the network 1902 may be logically separated by subject matter (such as, for example, price, order, or fill). Thus, the server 1912 and the transaction terminal 1914 may subscribe and receive data (such as, for example, data related to price, order, or fill) according to their individual needs.
[0136] Possibly Fig.18 The gateway 1920 similar to the gateway 1820 may include a price server 1922, an order server 1924, and a filling server 1926. For the purpose of simplicity, the overall reference numerals of the price server 1922, the order server 1924, and the filling server 1926 are shown in FIG. Fig.191920. Gateway 1920 may include additional components, different components, or fewer components. Price server 1922 may process price data. Price data includes data related to the market of one or more tradable objects. Order server 1924 processes order data. Order data is data related to the user's trading order. For example, order data may include order messages, confirmation messages, or other types of messages. Filling server collects and provides filling data. Filling data includes data related to one or more fillings of trading orders. For example, filling server 1926 may provide a record of trading orders that have been filled or not filled and have been routed through order server 1924. Servers 1922, 1924, and 1926 may run on the same machine or separate machines. There may be more than one instance of price server 1922, order server 1924, and / or filling server 1926 of gateway 1920. In some embodiments, additional gateways 1920a-1920n may each include instances of servers 1922, 1924, and 1926 (individually identified as servers 1922a-1922n, 1924a-1924n, and 1926a-1926n).
[0137] Gateway 1920 may communicate with exchange 1930 using one or more communication networks. Fig.19 As shown, there may be two communication networks connecting gateway 1920 and exchange 1930. Network 1904 may be used to communicate market data to price server 1922. In some instances, exchange 1930 may include the data in a data feed published to subscribing devices. Network 1906 may be used to communicate order data to order server 1924 and fill server 1926. Network 1906 may also be used to communicate order data from order server 1924 to exchange 1930.
[0138] Possibly Fig.18 Exchange 1930, which is similar to exchange 1830, includes an order book 1932 and a matching engine 1934. For the purpose of brevity, the overall reference numerals of order book 1932 and matching engine 1934 are shown in FIG. Fig.191930 is not shown. The exchange 1930 may include additional components, different components, or fewer components. The order book 1932 is a database including data related to unmatched trading orders that have been submitted to the exchange 1930. For example, the order book 1932 may include data related to the market for tradable objects (such as the internal market), the market depth at various price levels, the latest transaction price, and the latest transaction quantity. The matching engine 1934 can match the counterparty bids and bids pending in the order book 1932. For example, the matching engine 1934 can execute one or more matching algorithms that match the counterparty bids and bids. The sell order is the counterparty to the buy order. Similarly, the buy order is the counterparty to the sell order. For example, the matching algorithm can match the counterparty bids and bids at the same price. In some embodiments, the additional exchanges 1930a-1930n may each include an order book and a matching engine (individually identified as order books 1932a-1932n and matching engines 1934a-1934n, which may be similar to order books 1932 and matching engines 1934, respectively). Different exchanges may use different data structures and algorithms for tracking data related to orders and matching orders.
[0139] In operation, the exchange 1930 may provide price data from the order book 1932 to the price server 1922, and provide order data and / or fill data from the matching engine 1934 to the order server 1924 and / or fill server 1926. The servers 1922, 1924, 1926 may process the data and pass it to the trading device 1910. For example, the trading device 1910 may use a trading application to process the data. For example, the data may be displayed to a user. In another example, the data may be used in a trading algorithm to determine whether a trading order should be submitted to the exchange 1930. The trading device 1910 may prepare an order message and send it to the exchange 1930.
[0140] In some embodiments, gateway 1920 is part of trading device 1910. For example, components of gateway 1920 may be part of the same computing platform as trading device 1910. As another example, components of trading device 1910 may perform the functionality of gateway 1920. In some embodiments, gateway 1920 is not present. Such an arrangement may occur when trading device 1910 does not need to utilize gateway 1920 to communicate with exchange 1930 (e.g., if trading device 1910 is already adapted to communicate directly with exchange 1930).
[0141] X. Tailor-made messaging with market data
[0142] The message tailoring techniques described herein can be used to communicate with a gateway (e.g. Fig.18Gateway 1820) or a server that handles communications between the devices and other components of the trading system will be sent from the exchange (e.g. Fig.18 The market data (e.g., internal market, market depth, implied conditions, etc.) received by the exchange 1830) is provided to the trading equipment (e.g. Fig.18 For example, a subscription control module (e.g. Figure 2 and Figure 3 The subscription control module 201 can be a component of a gateway 1820 or edge server for a distributed trading environment. The trading device 1810 reconstructs the current status of the market for tradable objects by using the most recently received snapshot as a basis and applying the actions contained in the most recently received incremental capture.
[0143] The data source receiver 302 of the subscription control module 201 ( Figure 3 ) receives or otherwise retrieves market data from the exchange 1830 for tradable objects. Then the data formatter 304 ( Figure 3 ) Organize market data into data levels (e.g. Fig. 7A and Figure 7B The data levels 702a-702f of the data formatter 304 are shown in Figure 702b. The data levels include an internal market for tradable objects at a first data level (e.g., including data for the highest bid and the lowest ask), a first level market depth at a second data level (e.g., including the second highest bid and / or the second lowest ask), etc. In some examples, the data formatter 304 also organizes the implied market for tradable objects into data levels.
[0144] When the subscription control module 201 is generating a snapshot (eg Fig.11 1106), the data formatter 304 generates a header (e.g. Fig. 8A The data formatter then reads the header 802 of the market depth data level and appends the header to the beginning of the market depth data level. In some examples, the data formatter appends the implied market data level after the market depth data level. In some examples, the data formatter includes the implied market data with the corresponding market depth data level. The result is then placed into the primary buffer (e.g. Figure 3 In some examples, the data formatter generates a partition table (e.g. Fig.10 partition table 1008) to be stored in the main buffer 306 or in a separate memory.
[0145] When the subscription control module 201 is generating an incremental capture (e.g. Fig.11 When the incremental capture 1108a) is executed, the data formatter 304 generates a header and places the header into a secondary buffer (e.g. Figure 3The data formatter compares the market depth level stored in the primary buffer 306 (including the most recently generated snapshot) with the current market data level and generates an action reflecting the difference (e.g. Figure 8B 814). When the action 814 is generated, the action 814 is added to the buffer. In some examples, after adding the action, the data formatter checks whether the message in the secondary buffer 308 is larger than the message in the primary buffer 306. If the message in the secondary buffer 308 is larger, the data formatter 304 generates a snapshot instead. In some examples, the data formatter 304 also generates actions for implied market data levels. In addition, the data formatter generates a partition table 1008 for storage in the secondary buffer 308 or a separate memory.
[0146] Fig. 20A and Fig. 20B Example customizable messages for providing snapshot and incremental capture of market data at multiple data levels of market depth are shown. Fig. 20A An example customizable snapshot message 2000 for providing market data at multiple data levels of market depth is shown. The customizable snapshot message 2000 includes a header 2002 and a market depth data level 2018. In some examples, the customizable snapshot message 2000 also includes an implied market data level 2020. In the example shown, the implied market data level 2020 is interleaved with the market depth data level 2018 (e.g., first market depth, then first implied market depth, second market depth, then second implied market depth, etc.). This interleaving allows the implied market data level 2020 to be truncated to the same level as the market depth data level 2018. This interleaving also requires that the implied market data level 2020 be sent with the customizable message 204 even if the implied market data level 2020 is not requested by a particular recipient. Alternatively, in some examples, the implied market data level 2020 may be organized at the end of the customizable snapshot message 2000. In this example, the market depth data level 2018 and the implied market data level 2020 are not separately truncable.
[0147] In the example shown, header 2002 includes size parameter 2008, implicit parameter 2010, query depth parameter 2012a, bid depth parameter 2012b, implicit query depth parameter 2014a, and implicit bid depth parameter 2014b. Size parameter 2008 provides the size of customizable snapshot message 2000 in a buffer (e.g., primary buffer 306, secondary buffer 308, etc.). In some examples where partition table 1008 is attached to the end of customizable snapshot message 2000, size parameter 2008 can be used to determine the start of partition table 1008.
[0148] exist Fig. 20A In the example shown, the implicit parameter 2010 indicates whether the implied market data level 2020 is included in the customizable snapshot message 2000. The example query depth parameter 2012a indicates the number of market depth data levels 2018 that include the query level 2017a in the customizable snapshot message 2000. The example bid depth parameter 2012b indicates the number of market depth data levels 2018 that include the bid level 2017b in the customizable snapshot message 2000. In some examples, the query depth parameter 2012a and the bid depth parameter are not equal. For example, the market for tradable objects can be asymmetric, where the bid level 2017b is more than the query level 2017a (or vice versa). The implicit query depth parameter 2014a indicates the number of implied market data levels 2020 included in the query level 2017a included in the customizable snapshot message 2000. The implicit bid depth parameter 2014b indicates the number of implied market data levels 2020 included in the bid level 2017b included in the customizable snapshot message 2000. In some examples where the implicit parameter 2010 indicates that the implied market data level 2020 is not included in the customizable snapshot message 2000, the implicit query depth parameter 2014a and the implicit bid depth parameter 2014b are not included in the header 2002.
[0149] exist Fig. 20A In the example shown, the depth data level 2018 may include the price and quantity (also known as size) of the bid level 2017a and / or the price and quantity (also known as size) of the ask level 2027a (e.g., market depth may not be symmetrical, where there may be more ask levels than bids, and vice versa). For example, the first depth data level 2018 may have the ask level 2017b and the bid level 2017b, while the second depth data level 2018 may include only the ask level 2017a because the market for tradable objects is asymmetric. Regarding efficiency, the depth data levels 2018 after the first depth data level may include price offsets (e.g., the prices for the bid / ask levels relative to the prices included in the earlier depth data level 2018) (such as ask offset 2019a and bid offset 2019c), and also include quantities (also known as sizes) (such as ask size 2019b and bid size 2019d). Since the price can be represented by 64 bits (8 bytes), using an 8-bit (1-byte) relative offset to identify subsequent price values can result in a reduction in the amount of data that needs to be sent.
[0150] In the example shown, the example implied depth data level 2020 includes a price and size of the depth of the implied market. Additionally or alternatively, the implied depth data level 2020 may include a size and price offset similar to that discussed above for the depth data level 2018 (e.g., a price relative to a price included in an earlier implied depth data level 2020). The message sender 310 ( Figure 3 ) can establish a connection with a receiving device (e.g., trading device 1810) of a subscriber to a market for a particular tradable object (e.g., Fig.11 The first connection 1102a, Fig.11 1102b, etc.). The message sender 310 may receive preferences from the trading device 1810. Example preferences include how many levels of market depth to receive and / or a preferred transmission rate (e.g., how often incremental captures are sent). In some examples, when the implied market data levels 2020 are not interleaved with the market depth data levels 2018, if the receiving device 206 sets a preference for any level of the implied market, then the receiving device 206 also receives all levels of market depth.
[0151] To send specially crafted snapshot messages (such as Figure 2 To send the specially crafted message 204 to the transaction device 1810, the message sender 310 uses the portion of the customizable snapshot message 2000 from the main buffer 306. In some examples, the message sender looks up the portion of the customizable snapshot message 2000 to use on the partition table 1008. The message sender 310 then sends the specially crafted message 204 to the transaction device 1810.
[0152] In some examples, to determine the amount to truncate the customizable snapshot message 2000 to achieve the level preferred by the recipient, the message sender 310 calculates the number of bytes in the primary buffer 306 to send to the transaction device 1810. In some such examples, the number of bytes to send is calculated according to formula (4), formula (5), and formula (6).
[0153] B L =(MD 1 Ten AB B ×n)×2(1+I), formula (4)
[0154] Among them, B L is the upper bound on the length in bytes of the customizable message in the buffer to be sent, MD 1 is the size in bytes of the difference between the size of the first Market Depth data level 2018 and the subsequent Market Depth data level 2018 when the subsequent Market Depth data level utilizes a price offset, AB Bis the size in bytes of the subsequent market depth data level 2018, n is the number of desired levels of market depth, and I is the implicit parameter 2010 (e.g., 0 equals no implied market data, 1 equals included implied market data).
[0155] B R =AB B ×(min(0,nb)+min(0,na)+min(0,n-ib)+min(0,n-ia)) Formula (5)
[0156] Among them, B R is the number of bytes reduced due to asymmetric bidding / asking in the level (if any), AB B is the size in bytes of subsequent (i.e., non-first) market depth data level 2018 that may differ from the first market depth data level 2018 if price offset is used, n is the number of desired levels of market depth, b is the bid depth parameter 2012b, a is the ask depth parameter 2012a, ib is the implied bid depth parameter 2014b, and ia is the implied ask depth parameter 2014a.
[0157] B S =B L -B R , formula (6)
[0158] Among them, B S is the number of bytes to send for the customizable level portion of the customizable snapshot message 2000. To determine the size of the message from the beginning of the buffer carrying the customizable snapshot message 2000, including, for example, the header 2002, the additional bytes of the header are added to B S , to determine the total number of bytes to be sent. The message sender 310 then sends the specially crafted message 204 including the number of bytes calculated based on the customizable snapshot message 2000 to the transaction device 1810.
[0159] Fig. 20BAn example customizable delta capture message 2022 for providing updates to market data at multiple data levels of market depth is shown. The customizable delta capture message 2022 includes a header 2002 and market depth data level updates 2026. In some examples, the customizable delta capture message 2022 also includes implied market depth update data levels 2028. In the example shown, the implied market depth update data levels 2028 are interleaved with the market depth data level updates 2026. Alternatively, the customizable delta capture message 2022 may be organized with the implied market depth update data levels 2028 at the end of the message (e.g., when the implied market depth data levels 2020 are organized at the end of the customizable snapshot message 2000).
[0160] In the example shown, the header 2002 includes a size parameter 2008, an implicit parameter 2010, a query depth parameter 2012a, a bid depth parameter 2012b, an implicit query depth parameter 2014a, and an implicit bid depth parameter 2014b. The size parameter 2008 provides the size of the customizable delta capture message 2022 in the buffer (e.g., the primary buffer 306, the secondary buffer 308, etc.). In some examples where the partition table 1008 is attached to the end of the customizable delta capture message 2022, the size parameter 2008 can be used to determine the start of the partition table 1008.
[0161] exist Fig. 20B In the example shown, implicit parameters 2010 indicate whether implicit market data level updates 2028 are included in the customizable delta capture message 2022. An inquiry update parameter 2023a indicates the number of market depth data level updates 2026 that include inquiry value 2017a in the customizable delta capture message 2022. A bid update parameter 2023b indicates the number of market depth data level updates 2026 that include bid value 2017b in the customizable delta capture message 2022. An implicit inquiry update parameter 2024a indicates the number of implicit market data level updates 2028 that include inquiry value 2017a in the customizable delta capture message 2022. An implicit bid update parameter 2024b indicates the number of implicit market data level updates 2028 that include bid value 2017b in the customizable delta capture message 2022. In some examples where the implicit parameters 2010 indicate that the implied market data level update 2028 is not included in the tailorable delta capture message 2022 , the implied ask depth parameter 2024a and the implied bid depth parameter 2024b are not included in the header 2002 .
[0162] exist Fig. 20BIn the example shown, when the ask price, ask size, bid price, and / or bid size of the internal market or corresponding market depth has changed since the most recent snapshot, a market depth data level update 2026 is included in the customizable delta capture message 2022. For example, if the internal market has not changed, the first market depth has not changed, and the bid size of the second market depth has changed, the customizable delta capture message 2022 will include a market depth data level update 2026 for the second market depth. In some examples, when the ask price, ask size, bid price, and / or bid size of the corresponding implied market depth has changed since the most recent snapshot, an implied market data level update 2028 is included in the customizable delta capture message 2022.
[0163] exist Fig. 20B In the illustrated example, the market depth data level update 2026 and / or implied market depth data level update 2028 included in the customizable incremental capture message 2022 includes one or more actions 2030. The action 2030 may include an action reference 2032, an index 2034, an offset 2036, a price 2038, and / or a size 2040. The action reference 2032 identifies the action on the trading device 1810 for execution to implement the corresponding update. The index 2034 identifies the data level on which the action is to be performed. The offset 2036 identifies the amount by which the specified value is to be changed. For example, for a modify price action, the offset 2036 identifies the amount by which the price is to be adjusted. The price 2038 identifies the value of the price at which the data level is to be set. The size 2040 identifies the value of the size at which the data level is to be set. Example action references are described in Table (2).
[0164] Table (2)
[0165]
[0166]
[0167] In order to capture specially crafted incremental messages (such as Figure 2 The message sender 310 uses the tailorable delta from the secondary buffer 308 to capture the portion of the message 2022. In some examples, the message sender looks up the portion of the tailorable delta to use in the partition table 1008. The message sender 310 then sends the tailored message 204 to the transaction device 1810.
[0168] In some examples, to truncate the tailorable delta capture message 2022, the message sender 310 calculates the number of bytes for sending to the secondary buffer 308 of the trading device 1810. To calculate the number of bytes, the market depth data level updates 2026 and the implied market depth data level updates 2028 are spanned to determine the calculated position in the secondary buffer 308. For actions 2030 with an index 2034 that reaches the depth limit (N) set by the preferences of the receiving device 206, the number of action references 2032 with "delete" actions (D) is counted, and the number of action references 2032 with add actions (e.g., "add", "add top", "add relative") (A) is counted. The actions 2030 in the secondary buffer 308 are spanned to the end of the most recent action 2030 corresponding to the N+DA index. This position is the calculated position. The message sender 310 then sends a tailored message 204 including the number of bytes indicated by the calculated position from the tailorable delta capture message 2022 to the trading device 1810.
[0169] Some of the described figures describe example block diagrams, systems, and / or flow charts representing methods that may be used to implement all or part of some embodiments. For example, one or more of the components, elements, and / or functions of the example block diagrams, systems, and / or flow charts may be implemented, alone or in combination, in hardware, firmware, discrete logic, as a set of computer-readable instructions stored on a tangible computer-readable medium, and / or any combination thereof.
[0170] For example, the example block diagrams, systems and / or flow charts may be implemented using any combination of application specific integrated circuits (ASICs), programmable logic devices (PLDs), field programmable logic devices (FPLDs), discrete logic, hardware and / or firmware. In addition, for example, some or all of the example methods may be implemented manually or in combination with the aforementioned techniques.
[0171] For example, one or more processors, controllers, and / or other processing devices may be used to perform the example block diagrams, systems, and / or flow charts. For example, coded instructions (e.g., computer-readable instructions) stored on a tangible computer-readable medium may be used to implement the examples. Tangible computer-readable media may include various types of volatile storage media and non-volatile storage media, including, for example, random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), electrically programmable read-only memory (EPROM), electrically erasable read-only memory (EEPROM), flash memory, hard disk drive, optical media, magnetic tape, file server, any other tangible data storage device, or any combination thereof. Tangible computer-readable media are non-transient.
[0172] Furthermore, although example block diagrams, systems, and / or flow charts are described above with reference to the accompanying drawings, other implementations may be used. For example, the order of execution of components, elements, blocks, and / or functions may be changed, and / or some of the components, elements, blocks, and / or functions may be changed, eliminated, sub-divided, or combined. Furthermore, any or all components, elements, blocks, and / or functions may be executed sequentially and / or in parallel, for example, by separate processing threads, processor devices, discrete logic, and / or circuits.
[0173] Although embodiments have been disclosed, various changes may be made and equivalents may be substituted. In addition, many modifications may be made to adapt to specific circumstances or materials. Therefore, it is intended that the disclosed technology is not limited to some disclosed embodiments, but will include all embodiments falling within the scope of the appended claims.
Claims
1. A data storage and distribution method, include: storing, by the computing device, the snapshot message in a first buffer; sending, by the computing device, a first snapshot message from the first buffer to a first recipient; as well as sending, by the computing device, a second snapshot message from the first buffer to a second recipient; storing, by the computer device, the incremental capture message in a second buffer; sending, by the computing device, the first incremental capture message from the second buffer to the first recipient; as well as sending, by the computing device, a second incremental capture message from the second buffer to a second recipient, wherein storing the snapshot message further comprises: sorting the snapshot message into a plurality of data levels in descending interest levels for storage in the first buffer, the first receiver and the second receiver receiving subsets of the plurality of data levels according to preference, and the plurality of data levels being divisible data levels divisible at a plurality of division points, wherein the first snapshot message sent to the first recipient includes a first subset of the multiple data levels of the snapshot message determined by a first partition point among the multiple partition points, and the second snapshot message sent to the second recipient includes a second subset of the multiple data levels of the snapshot message determined by a second partition point among the multiple partition points.
2. The method according to claim 1, in, The first data level represents data from the data source that is requested more frequently than data represented by the second data level.
3. The method according to any one of claims 1 to 2, in, The first subset includes a first data level and the second subset includes a first data level and a second data level.
4. The method according to any one of claims 1 to 2, in, The second delta capture message is a first portion of the delta capture message in the second buffer, and the second delta capture message is a second portion of the delta capture message in the second buffer.
5. The method according to any one of claims 1 to 2, further comprising: include: A first partition table is generated into the first buffer, the first partition table indicating a first divisible position of the snapshot message and a second divisible position of the snapshot message.
6. The method of any one of claims 1 to 2, wherein the first snapshot message is sent based on the number of data levels requested by the first recipient, and wherein the second snapshot message is sent based on the number of data levels requested by the second recipient.
7. The method according to any one of claims 1 to 2, in, The first snapshot message includes a larger portion of the snapshot message than the second snapshot message.
8. The method of any one of claims 1 to 2, wherein the snapshot message represents a state of the data source at a first time, and wherein the incremental capture message represents a difference between a state of the data source at a second time and a state of the data source at the first time.
9. A computer readable medium comprising instructions which, when executed, cause a machine to at least: storing the snapshot message in a first buffer; Send the first snapshot message from the first buffer to the first recipient ; as well as sending a second snapshot message from the first buffer to a second recipient; storing the incremental capture message in a second buffer; sending the first delta capture message from the second buffer to the first recipient; and sending a second incremental capture message from the second buffer to a second recipient, wherein, in order to store the snapshot message, the instructions further cause the machine to sort the snapshot message into a plurality of data levels in descending interest levels for storage in the first buffer, the first recipient and the second recipient receive subsets of the plurality of data levels according to preference, and the plurality of data levels are divisible data levels divisible at a plurality of partition points, wherein the first snapshot message sent to the first recipient includes a first subset of the multiple data levels of the snapshot message determined by a first partition point among the multiple partition points, and the second snapshot message sent to the second recipient includes a second subset of the multiple data levels of the snapshot message determined by a second partition point among the multiple partition points.
10. The computer readable medium of claim 9, in, The first data level represents data from the data source that is requested more frequently than data represented by the second data level.
11. The computer readable medium of any one of claims 9 or 10, in, The first subset includes a first data level and the second subset includes a first data level and a second data level.
12. The computer readable medium of any one of claims 9 to 10, in, The second delta capture message is a first portion of the delta capture message in the second buffer, and the second delta capture message is a second portion of the delta capture message in the second buffer.
13. A computer-readable medium as described in any one of claims 9 to 10, wherein the instructions further cause the machine to generate a first partition table into a first buffer at least after the snapshot message, wherein the first partition table indicates a first divisible position of the snapshot message and a second divisible position of the snapshot message.
14. The computer-readable medium of any one of claims 9 to 10, wherein the instructions cause: sending a first snapshot message based on a number of data levels requested by a first recipient, and wherein sending a second snapshot message based on a number of data levels requested by a second recipient.
15. The computer readable medium of any one of claims 9 to 10, in, The first snapshot message includes a larger portion of the snapshot message than the second snapshot message.
16. The computer-readable medium of any one of claims 9 to 10, wherein the snapshot message represents a state of the data source at a first time, and wherein the delta capture message represents a difference between the state of the data source at a second time and the state of the data source at the first time.
17. A data storage and distribution system, include: Data formatters to: storing the snapshot message in a first buffer; storing the incremental capture message in a second buffer; as well as Message sender to: sending a first snapshot message from the first buffer to a first recipient; sending a second snapshot message from the first buffer to a second recipient; sending a first incremental capture message from the second buffer to the first recipient; as well as sending a second incremental capture message from the second buffer to a second recipient, wherein, in order to store the snapshot message, the data formatter sorts the snapshot message into a plurality of data levels in descending interest levels for storage in the first buffer, the first receiver and the second receiver receive subsets of the plurality of data levels according to preference, and the plurality of data levels are divisible data levels divisible at a plurality of division points, wherein the first snapshot message sent to the first recipient includes a first subset of the multiple data levels of the snapshot message determined by a first partition point among the multiple partition points, and the second snapshot message sent to the second recipient includes a second subset of the multiple data levels of the snapshot message determined by a second partition point among the multiple partition points.
18. The system of claim 17, in, The first data level represents data from the data source that is requested more frequently than data represented by the second data level.
19. The system of any one of claims 17 to 18, in, The first subset includes a first data level and the second subset includes a first data level and a second data level.
20. The system of any one of claims 17 to 18, in, The second delta capture message is a first portion of the delta capture message in the second buffer, and the second delta capture message is a second portion of the delta capture message in the second buffer.
21. The system of any one of claims 17 to 18, wherein the data formatter further generates a first partition table into the first buffer, the first partition table indicating a first divisible position of the snapshot message and a second divisible position of the snapshot message.
22. A system as described in any one of claims 17 to 18, wherein the message sender sends a first snapshot message based on the number of data levels requested by a first recipient, and wherein the message sender sends a second snapshot message based on the number of data levels requested by a second recipient.
23. The system of any one of claims 17 to 18, in, The first snapshot message includes a larger portion of the snapshot message than the second snapshot message.
24. The system of any one of claims 17 to 18, wherein a snapshot message represents a state of a data source at a first time, and wherein a delta capture message represents a difference between a state of the data source at a second time and a state of the data source at the first time.
25. A data distribution method, include: configuring, by the data formatter, a buffer in the memory to store data at a plurality of partitionable data levels at a plurality of partitioning points, the plurality of partitionable data levels being ordered in descending level of interest, wherein each of a plurality of subscriber devices receives a subset of the plurality of partitionable data levels according to a preference; as well as sending, by a data transmitter, a first message from the buffer to at least one of the plurality of subscriber devices, the first message comprising a first subset of the plurality of divisible data levels of the data determined by a first partition point of the plurality of partition points, the first subset comprising a first requested data level and all data levels having an interest level greater than or equal to the interest level of the first requested data level; and A second message is sent from the buffer to at least another one of the plurality of subscriber devices, the second message comprising a second subset of the plurality of divisible data levels of the data determined by a second partition point of the plurality of partition points, the second subset comprising a second requested data level and all data levels having an interest level greater than or equal to the second requested data level.
26. The data distribution method according to claim 25, in, The second message is sent without reorganizing the data in the buffer by the data formatter.
27. The data distribution method according to any one of claims 25 to 26, further comprising: include: A header is stored, the header including bookkeeping information associated with a plurality of divisible data levels.
28. The data distribution method according to claim 27, in, The bookkeeping information includes the number of levels into which the data can be divided.
29. The data distribution method according to claim 28, in, The bookkeeping information includes a timestamp.
30. The data distribution method according to any one of claims 25 to 26, in, To send the first message, the data sender sets a socket write call referring to lengths and buffers for all levels including a first requested data level and a level of interest having a level of interest greater than or equal to the first requested data level.
31. The data distribution method according to any one of claims 25 to 26, further comprising generating a first partition table indicating first divisible positions of the plurality of divisible data levels and second divisible positions of the plurality of divisible data levels.
32. The data distribution method according to claim 31, in, A first partition table is generated into a buffer.
33. The data distribution method according to claim 32, in, The first message includes a divisible data level up to a first divisible position, and the second message includes a divisible data level up to a second divisible position.
34. A computer readable medium comprising instructions which, when executed, cause a machine to at least: configuring a buffer in a memory to store data at a plurality of partitioning points in a plurality of partitionable data levels, the plurality of partitionable data levels being ordered in descending order of interest, wherein each of a plurality of subscriber devices receives a subset of the plurality of partitionable data levels according to a preference ; as well as sending a first message from the buffer to at least one of the plurality of subscriber devices, the first message comprising a first subset of the plurality of divisible data levels of the data determined by a first partition point of the plurality of partition points, the first subset comprising a first requested data level and all data levels having a level of interest greater than or equal to a level of interest of the first requested data level; A second message is sent from the buffer to at least another one of the plurality of subscriber devices, the second message comprising a second subset of the plurality of divisible data levels of the data determined by a second partition point of the plurality of partition points, the second subset comprising a second requested data level and all data levels having an interest level greater than or equal to the second requested data level.
35. The computer readable medium of claim 34, wherein the instructions cause the machine to send the second message without reorganizing the data in the buffer.
36. The computer-readable medium of any one of claims 34 to 35, wherein the instructions further cause the machine to store a header comprising bookkeeping information associated with a plurality of divisible data levels.
37. The computer readable medium of claim 36, in, The bookkeeping information includes the number of levels into which the data can be divided.
38. The computer readable medium of claim 37, in, The bookkeeping information includes a timestamp.
39. The computer readable medium of any one of claims 34 to 35, in, To send the first message, the instructions cause the machine to set up a socket write call with reference to lengths and buffers for all levels including a first request data level and a level of interest greater than or equal to the first request data level.
40. The computer-readable medium of any one of claims 34 to 35, wherein the instructions further cause the machine to generate a first partition table indicating first partitionable positions of a plurality of divisible data levels and second partitionable positions of a plurality of divisible data levels.
41. The computer readable medium of claim 40, in, To generate the first partition table, the instructions cause the first partition table to be generated into a buffer.
42. The computer readable medium of claim 41, in, The first message includes a divisible data level up to a first divisible position, and the second message includes a divisible data level up to a second divisible position.
43. A data distribution system for distributing data to a plurality of subscriber devices, the data distribution system include: Memory; a data formatter to configure a buffer in the memory to store data in a plurality of divisible data levels at a plurality of partition points, the plurality of divisible data levels being ordered in descending level of interest, wherein each of a plurality of subscriber devices receives a subset of the plurality of divisible data levels according to a preference; as well as A data transmitter for sending a first message from a buffer to at least one of the multiple subscriber devices, the first message including a first subset of the multiple divisible data levels of the data determined by a first partition point among the multiple partition points, the first subset including a first requested data level and all data levels of interest levels having an interest level greater than or equal to the first requested data level, and sending a second message from the buffer to at least another one of the multiple subscriber devices, the second message including a second subset of the multiple divisible data levels of the data determined by a second partition point among the multiple partition points, the second subset including a second requested data level and all data levels of interest levels having an interest level greater than or equal to the second requested data level.
44. The data distribution system of claim 43, in, The second message is sent without reorganizing the data in the buffer.
45. A data distribution system as claimed in any one of claims 43 to 44, wherein the data formatter further configures the buffer to store a header comprising bookkeeping information associated with a plurality of divisible data levels.
46. The data distribution system of claim 45, in, The bookkeeping information includes the number of levels into which the data can be divided.
47. A data distribution system as claimed in claim 46, in, The bookkeeping information includes a timestamp.
48. A data distribution system as claimed in any one of claims 43 to 44, in, To send the first message, the data sender sets a socket write call referring to lengths and buffers for all levels including a first requested data level and a level of interest having a level of interest greater than or equal to the first requested data level.
49. A data distribution system as described in any one of claims 43 to 44, wherein the data formatter is further used to generate a first partition table, the first partition table indicating first divisible positions of multiple divisible data levels and second divisible positions of multiple divisible data levels.
50. The data distribution system of claim 49, in, A first partition table is generated into a buffer.
51. The data distribution system of claim 50, in, The first message includes a divisible data level up to a first divisible position, and the second message includes a divisible data level up to a second divisible position.
Citation Information
Patent Citations
Tailored messaging
US20150019618A1
System and method for providing market updates in an electronic trading environment
US7783558B1
