CN115114222B - Market information snapshot distribution method and related device - Google Patents
Market information snapshot distribution method and related device Download PDFInfo
- Publication number
- CN115114222B CN115114222B CN202211043999.9A CN202211043999A CN115114222B CN 115114222 B CN115114222 B CN 115114222B CN 202211043999 A CN202211043999 A CN 202211043999A CN 115114222 B CN115114222 B CN 115114222B
- Authority
- CN
- China
- Prior art keywords
- market
- target
- snapshot
- module
- processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
- G06F15/163—Interprocessor communication
- G06F15/17—Interprocessor communication using an input/output type connection, e.g. channel, I/O port
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/11—File system administration, e.g. details of archiving or snapshots
- G06F16/128—Details of file system snapshots on the file-level, e.g. snapshot creation, administration, deletion
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5044—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering hardware capabilities
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45579—I/O management, e.g. providing access to device drivers or storage
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Computer Hardware Design (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Signal Processing (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- General Business, Economics & Management (AREA)
- Data Mining & Analysis (AREA)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the application discloses a quotation snapshot distribution method and a related device, the method is applied to a quotation server of a trading exchange integrated service system, the quotation server comprises a DPU and a host CPU, the host CPU is provided with a plurality of quotation cloud service hosts, the host CPU corresponds to each quotation cloud service host and stores quotation snapshots of different target products, the DPU comprises a control chip and a processing chip, the DPU is provided with a vDPU which is in one-to-one correspondence with the quotation cloud service hosts, the vDPU comprises a control module and a processing module, the control module and the processing module are respectively arranged on the control chip and the processing chip, and the method comprises the following steps: a target processing module acquires a target market snapshot in a first storage space of a CPU (central processing unit) of a host; processing the target quotation snapshot to obtain a quotation broadcast message; and then, sending a market information broadcast message to the target high-frequency transaction terminal by utilizing the switch network. The method and the device are favorable for reducing the processing pressure of the CPU of the host and improving the calculation efficiency of the market information server.
Description
Technical Field
The application relates to the technical field of computer networks, in particular to a market condition snapshot distribution method and a related device.
Background
At present, a stock exchange issues market snapshot information according to a certain time period, and a market service system needs to receive various market data issued by the stock exchange in the period, including market data such as the highest price, the lowest price, the volume of bargaining and the like of the stock in the period, and then, the market data is directly forwarded to security trading applications (such as a user side electronic equipment terminal, a high-frequency trading terminal and the like) of each user side, so that the user side can timely learn real-time market (for example, learn information such as entrusting one by one, bargaining one by one and the like).
In the prior art, in the business scene of the market snapshot, all data processing tasks related to the business are executed by a host CPU, so that the data processing pressure of the host CPU is high, and the execution efficiency is low.
Disclosure of Invention
The embodiment of the application provides a quotation snapshot distribution method and a related device, aiming at reducing the processing pressure of a host CPU and improving the calculation efficiency of a quotation server.
In a first aspect, an embodiment of the present application provides a quotation snapshot distribution method, which is applied to a quotation server of a trading place integrated service system, where the trading place integrated service system includes a quotation server and a plurality of high-frequency trading terminals, the quotation server includes a DPU and a host CPU, the host CPU of the quotation server is deployed with a plurality of quotation cloud service hosts, the host CPU of the quotation server stores different types of quotation snapshots corresponding to the respective quotation cloud service hosts, the quotation snapshots of the respective types include quotation information of different target products, the DPU of the quotation server includes a control chip and a processing chip, the DPU of the quotation server is deployed with vDPU that corresponds to the quotation cloud service hosts in a one-to-one manner, the vDPU includes a control module deployed in the control chip and a processing module deployed in the processing chip, and the method includes:
a target processing module of the processing chip acquires a target market quotation snapshot in a first storage space of a host CPU of the market quotation server and caches the target market quotation snapshot in a second storage space of a DPU of the market quotation server, wherein the target processing module is one of a plurality of processing modules of which a plurality of vDPUs are deployed, the first storage space is a storage position corresponding to a target market quotation cloud service host corresponding to the target market quotation snapshot, and the second storage space is a storage position corresponding to a target vDPU corresponding to the target market quotation cloud service host;
a target processing module of the processing chip processes the target market snapshot to obtain market broadcast messages;
and a target processing module of the processing chip sends the market broadcast message to a target high-frequency transaction terminal by using a switch network, wherein the target high-frequency transaction terminal is a device which joins in a market multicast group of the market server, and the target high-frequency transaction terminal is a device which subscribes to a corresponding target product in the target market snapshot.
In a second aspect, an embodiment of the present application provides a market snapshot distribution method, which is applied to a target high-frequency transaction terminal of an exchange integrated service system, where the exchange integrated service system includes a market server and multiple high-frequency transaction terminals, the target high-frequency transaction terminal is any one of the multiple high-frequency transaction terminals, the target high-frequency transaction terminal is a device joining a market multicast group of the market server, and the target high-frequency transaction terminal includes a DPU and a host CPU, and the method includes:
the DPU of the target high-frequency transaction terminal receives a market information broadcast message from the DPU of the market information server through a multicast tunnel of the market information multicast group;
the DPU of the target high-frequency transaction terminal analyzes the market multicast message to obtain market information of a target product;
the DPU of the target high-frequency transaction terminal sends the market information to a host CPU of the high-frequency transaction terminal;
the DPU of the target high-frequency transaction terminal receives feedback information from a host CPU of the high-frequency transaction terminal, wherein the feedback information is content information obtained by the host CPU of the high-frequency transaction terminal responding to the market information through a preset strategy service module;
and the DPU of the target high-frequency transaction terminal sends the feedback information to the DPU of the market server through the multicast tunnel of the market multicast group.
In a third aspect, an embodiment of the present application provides a quotation snapshot distribution device, which is applied to a quotation server of an exchange integrated service system, where the exchange integrated service system includes the quotation server and multiple high-frequency transaction terminals, the quotation server includes a DPU and a host CPU, the host CPU of the quotation server is deployed with multiple quotation cloud service hosts, the host CPU of the quotation server stores different types of quotation snapshots corresponding to the respective quotation cloud service hosts, each type of the target quotation snapshot includes quotation information of different target products, the DPU of the quotation server includes a control chip and a processing chip, the DPU of the quotation server is deployed with vDPU corresponding to the quotation cloud service hosts in one-to-one correspondence, and the vDPU includes a control module deployed in the control chip and a processing module deployed in the processing chip, and the device includes:
an obtaining module, configured to obtain a target market snapshot in a first storage space of a host CPU of the market server, and cache the target market snapshot in a second storage space of a DPU of the market server, where the target processing module is one of a plurality of processing modules in which a plurality of vdpus are deployed in the processing chip, the first storage space is a storage location corresponding to a target market cloud service host corresponding to the target market snapshot, and the second storage space is a storage location corresponding to a target vDPU corresponding to the target market cloud service host;
the processing module is used for processing the target market snapshot to obtain market broadcast messages;
and the sending module is used for sending the market broadcast message to a target high-frequency trading terminal by utilizing a switch network, wherein the target high-frequency trading terminal is a device which joins in a market multicast group of the market server, and the target high-frequency trading terminal is a device which subscribes a corresponding target product in the target market snapshot.
In a fourth aspect, embodiments of the present application provide a server comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps in the first aspect of embodiments of the present application.
In a fifth aspect, an embodiment of the present application provides a computer storage medium storing a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in the first aspect of the embodiment.
It can be seen that, in the embodiment of the present application, a target processing module of the processing chip may first obtain a target market quotation snapshot in a first storage space of a host CPU of the market quotation server, and cache the target market quotation snapshot in a second storage space of a DPU of the market quotation server; then the target processing module of the processing chip processes the target market snapshot to obtain market broadcast messages; and finally, a target processing module of the processing chip sends the market broadcast message to a target high-frequency transaction terminal by using a switch network. Therefore, the quotation snapshot distribution function executed by the host CPU of the quotation server can be unloaded to the DPU for execution, so that the processing pressure of the host CPU is favorably reduced, and the calculation efficiency of the quotation server is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic architecture diagram of an exchange integrated service system according to an embodiment of the present application;
fig. 2 is a system architecture diagram of a market snapshot distribution method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a market server according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a quotation snapshot distribution method applied to a quotation server according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a market server according to an embodiment of the present disclosure;
fig. 6 is a schematic flowchart of a market snapshot distribution method applied to a high-frequency transaction terminal according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 8 is a block diagram illustrating functional units of a market snapshot distribution apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein may be combined with other embodiments.
The key concepts and terms referred to in this application include, but are not limited to, the following:
a DPU: the DPU (data processing unit) is a dedicated processor that is structured with data as a center, and supports infrastructure layer resource virtualization, storage, security, quality of service management, and other infrastructure layer services using a software defined technology route.
A vDPU: the vDPU is a virtual DPU virtualized by using hardware and software resources of the DPU.
A market server: the market server is a server for processing market data. The market server includes a host CPU (central processing unit) and a DPU. The host CPU of the market server is an independent host or a host cluster, and can periodically receive transaction entrustment data from the matching server cluster and obtain market snapshots of target products according to the transaction entrustment data. The matching server is used for acquiring the purchase price or the sale price given by the buyer and the seller and matching the transaction of the buyer and the seller according to the price given by the buyer and the seller. The transaction order data includes a bid price and a selling price given by the buyer and the seller, and transaction data matched by the matching server. The DPU of the market server can be regarded as an intelligent network card or the DPU of the market server can exist outside the host CPU of the market server in an independent device form. When the DPU of the market server is an intelligent network card, the DPU can be assembled on a host CPU of the market server in a plug-in card mode. The DPU of the market server has standard network card functions and software definition capabilities, so the DPU in the form of an intelligent network card is not limited to a narrow sense of a common intelligent network card (SmartNIC).
The market cloud service host: the market cloud service host is a virtual server borne by a host CPU of the market server.
The high-frequency transaction terminal: the high-frequency transaction terminal is an electronic device such as a mobile phone, a tablet computer, a portable computer (such as a notebook computer and a palm computer), a desktop computer, a wearable device (such as intelligent glasses and an intelligent watch, and a large-screen device).
And (3) market snapshot: the market snapshot is market data which is issued by a trading exchange and takes a code as basic granularity, and is generated according to real-time data of the trading, and each target product corresponds to one market snapshot data. The market information corresponding to the market snapshot may include important financial information such as stocks, futures, funds, precious metals, foreign exchanges, and the like of target products such as soybean, petroleum, iron ore, and the like. Specifically, the market information corresponding to the market snapshot may include information contents such as a selling highest price, a buying lowest price, a total volume, and the like corresponding to the target product.
The embodiments of the present application will be described below with reference to the drawings.
Fig. 1 is a schematic architecture diagram of an exchange integrated service system according to an embodiment of the present application, and the technical solution of the present application may be applied to an exchange integrated service system 10 shown in fig. 1. The exchange integrated service system 10 includes a market server 100 and at least one high frequency trading terminal, and the number of the high frequency trading terminals may be one, two or more, and the number of the high frequency trading terminals is not limited herein. As shown in FIG. 1, the plurality of high frequency transaction terminals may include, in particular, high frequency transaction terminal 200a, high frequency transaction terminal 200b, \ 8230, high frequency transaction terminal 200n; the high- frequency transaction terminals 200a, 200b, 8230, 200n can be respectively connected with the market conditions server 100 through a network, so that each high-frequency transaction terminal can perform data interaction with the market conditions server 100 through the network connection.
Fig. 2 is a system architecture diagram of a market snapshot distribution method according to an embodiment of the present application. The system of the market snap distribution method can comprise a market server 100 and at least one high-frequency trading terminal. As shown in fig. 2, the at least one high frequency transaction terminal includes a high frequency transaction terminal 200a, a high frequency transaction terminal 200b, a high frequency transaction terminal 200c, and a high frequency transaction terminal 200d. The market server 100 includes a host CPU and a DPU. A host CPU of the quotation server is provided with a plurality of quotation cloud service hosts, and a DPU of the quotation server is provided with vDPUs corresponding to the quotation cloud service hosts one by one. Specifically, as shown in fig. 2, a host CPU of the market conditions server is deployed with a market conditions cloud service host 1, a market conditions cloud service host 2, and a market conditions cloud service host 3. The DPU of the market situation server is provided with a vDPU1 corresponding to the market situation cloud service host 1, a vDPU2 corresponding to the market situation cloud service host 2 and a vDPU3 corresponding to the market situation cloud service host 3.
A host CPU of the quotation server can store different types of quotation snapshots corresponding to the quotation cloud service hosts, and the quotation snapshots of different types comprise the quotation information of different target products. The DPU of the market server can obtain market snapshot stored by the CPU of the host of the market server through the vDPU corresponding to each market cloud service host. For example, the DPU of the market conditions server may obtain market conditions snapshots, which are stored by the host CPU of the market conditions server and correspond to the market conditions cloud service host 1, through the vDPU 1.
With further reference to fig. 2, high frequency transaction terminal 200a includes DPU1 and CPU1, high frequency transaction terminal 200b includes DPU2 and CPU2, high frequency transaction terminal 200c includes DPU3 and CPU3, and high frequency transaction terminal 200d includes DPU4 and CPU4. The high-frequency transaction terminal 200a is a device joining a market information multicast group corresponding to the market information cloud service host 1 and a market information multicast group corresponding to the market information cloud service host 2, the high-frequency transaction terminal 200b is a device joining a market information multicast group corresponding to the market information cloud service host 2, and the high-frequency transaction terminal 200c and the high-frequency transaction terminal 200d are both devices joining a market information multicast group corresponding to the market information cloud service host 3. It can be understood that the devices joining the market multicast group of the market server 100 may perform data interaction with the market server 100 through a switch network (LanSWitch, abbreviated as LSW). As shown in fig. 2, the high-frequency transaction terminal 200a may perform information interaction with the market server 100 through the LSW1 and the LSW2 to obtain market snapshots stored by the host CPU and corresponding to the market cloud service host 1 and market snapshots stored by the host CPU and corresponding to the market cloud service host 2. The high-frequency transaction terminal 200b may perform information interaction with the market conditions server 100 through the LSW2 to obtain market conditions snapshots stored by the host CPU and corresponding to the market conditions cloud service host 2. The high-frequency transaction terminal 200c may perform information interaction with the market conditions server 100 through the LSW3 to obtain market conditions snapshots stored by the host CPU and corresponding to the market conditions cloud service host 3. The high-frequency transaction terminal 200d may perform information interaction with the market server 100 through the LSW3 to obtain market snapshots stored by the host CPU and corresponding to the market cloud service host 3.
Fig. 3 is a schematic structural diagram of a market server according to an embodiment of the present application. As shown in fig. 3, the market server 100 includes a host CPU and a DPU, and a market cloud service host 1, a market cloud service host 2, and a market cloud service host 3 are disposed on the host CPU of the market server. The DPU of the market server comprises a control chip and a processing chip, wherein the control chip can realize the management function of a processing module deployed on the processing chip, and the processing chip can realize the transmission processing function of market snapshot. The processing chip may include, but is not limited to, a Field Programmable Gate Array (FPGA) or an Application Specific Integrated Circuit (ASIC), and the control chip may include, but is not limited to, an embedded processor (ECPU) and the like.
The DPUs of the market situation server are provided with vDPUs corresponding to the market situation cloud service hosts, and each vDPU comprises a control module correspondingly arranged on a control chip and a processing module arranged on a processing chip. The control module is a virtual machine running in the control chip, the processing module is a virtual machine running in the processing chip, the virtual machines can be realized by a lightweight virtualization technology, such as Kata, docker, multi, and the like, and the lightweight virtual machines correspond to the market cloud service hosts one to one. As shown in fig. 3, the DPU of the market conditions server includes a control module 1 and a processing module 1 corresponding to the market conditions cloud service host 1, a control module 2 and a processing module 2 corresponding to the market conditions cloud service host 2, and a control module 3 and a processing module 3 corresponding to the market conditions cloud service host 3.
Referring to fig. 4, fig. 4 is a schematic flowchart of a quotation snapshot distributing method applied to a quotation server according to an embodiment of the present application. The method is applied to a market server of a comprehensive service system of a trading exchange, the comprehensive service system of the trading exchange comprises the market server and at least one high-frequency trading terminal, the market server comprises a host CPU and DPUs, the host CPU of the market server is provided with a plurality of market cloud service hosts, the host CPU of the market server corresponds to each market cloud service host and stores different types of market snapshots, each type of market snapshot comprises market information of different target products, and the DPUs of the market server are provided with vDPUs corresponding to the market cloud service hosts one to one. The vDPU can correspondingly allocate exclusive data processing resources for the market cloud service host, so that market snapshot distribution tasks originally completed by a host CPU of the market server are borne by the DPU, the computing power of the CPU is released to realize tasks of an application layer, and the computing efficiency of the market server is improved.
The market snapshot distribution method shown in fig. 4 can be applied to the market server in the exchange integrated service system described in any one of fig. 1 to 3. As shown in fig. 4, the market snapshot distribution method includes:
step S110, the target processing module of the processing chip obtains a target market snapshot in a first storage space of a host CPU of the market server, and caches the target market snapshot in a second storage space of a DPU of the market server.
The target processing module is one of a plurality of processing modules of which a plurality of vDPUs are deployed on a processing chip. For example, referring to fig. 3, the target processing module may be the processing module 1, and the target market quotation snapshot obtained by the processing module 1 is a market quotation snapshot stored by a host CPU of the market quotation server and corresponding to the market quotation cloud service host 1.
Wherein one market snapshot comprises market information of one target product. A host CPU of the market information server is provided with a first storage space corresponding to each market information cloud service host. Specifically, one market cloud service host may correspond to a market snapshot of one target product, or may also correspond to market snapshots of multiple target products, which may be specifically set according to needs, and is not limited herein. When a market cloud service host correspondingly generates market snapshots of a plurality of target products, the target market snapshot acquired by the target processing module of the processing chip may be a market snapshot of one of the target products. For convenience of description, the following description will be given by taking an example in which a market cloud service host correspondingly generates a market snapshot.
The first storage space is a storage position which is provided by a host CPU of the market server and corresponds to each market cloud service host, and the second storage space is a storage position which is provided by a host DPU of the market server and corresponds to market snapshots which are obtained by all vDPUs. The host CPU of the quotation server can divide the memory space of the quotation cloud service host into a plurality of first memory spaces corresponding to the quotation cloud service hosts, and all the quotation snapshots correspondingly generated by one quotation cloud service host are stored in the first memory space corresponding to the quotation cloud service host. The DPU of the market conditions server may also divide the memory space of each vDPU into a plurality of second memory spaces corresponding to the DPUs, and a market conditions snapshot obtained by one vDPU from the market conditions cloud service host corresponding to the DPU is stored in one second memory space corresponding to the DPU. Namely, one first storage space, one second storage space and one market cloud service host are configured in a one-to-one correspondence manner.
In specific implementation, a first storage space corresponding to one market cloud service host may store a market snapshot of a target product. At this time, the high-frequency transaction terminal and the market cloud service host can adopt a one-to-many form. That is, if the high-frequency trading terminal subscribes to at least two target products, the market snapshot sent by the vDPU corresponding to all the target products subscribed to the high-frequency trading terminal can be received. For example, referring to fig. 2, the market cloud service host 1 may generate a market snapshot 1, the market cloud service host 2 may generate a market snapshot 2, and the market cloud service host 3 may generate a market snapshot 3. The high-frequency trading terminal 200a subscribes to the target products corresponding to the market snapshot 1 and the market snapshot 2, so that the high-frequency trading terminal 200a can receive the market snapshot 1 and the market snapshot 2 from the vDPU1 and the vDPU2, respectively. In this example, the host CPU and the DPU of the market conditions server may implement data isolation in the process of performing data interaction between each market conditions cloud service host and the corresponding vDPU, and ensure the accuracy of data processing by the host CPU and the DPU of the market conditions server, thereby ensuring the accuracy of market conditions information transmitted to the high-frequency transaction terminal.
In specific implementation, the quotation snapshot can be generated by the processing of a host CPU of the quotation server, and the distribution work of the quotation snapshot is completed through a DPU of the quotation server. Or, the quotation snapshot can unload the updating calculation function when the quotation snapshot is generated to the DPU, and the DPU completes the calculation work of the transaction amount, the total transaction amount and other information of the transaction delegation, so that the processing pressure of the CPU of the host computer is further reduced, and the efficiency of the quotation server for generating the quotation snapshot is improved. In a specific implementation, when the update calculation function when generating the market snapshot is completed by the DPU of the market server, the DPU of the market server may send a calculation result of market snapshot update data to the host CPU of the market server, and the host CPU integrates the market snapshot update data with the historical market snapshot, so as to generate an updated market snapshot and store the updated market snapshot in the corresponding first storage space. The target market quotation snapshot acquired by the target processing module of the processing chip is an updated market quotation snapshot.
Specifically, in the process that the quotation snapshot unloads the updating calculation function when the quotation snapshot is generated to the DPU, the quotation cloud service host and the vDPU also perform data processing by adopting a one-to-one correspondence relationship so as to realize data isolation.
And step S120, a target processing module of the processing chip processes the target market quotation snapshot to obtain a market quotation broadcast message.
The processed market broadcast message meets the data form requirement of the market server to distribute to the high-frequency transaction terminal.
Step S130, the target processing module of the processing chip sends the market information broadcast message to a target high-frequency transaction terminal by using a switch network.
The target high-frequency trading terminal is a device which is added into a market situation multicast group of the market situation server, and the target high-frequency trading terminal is a device which subscribes a target product corresponding to the target market situation snapshot.
The target high-frequency transaction terminal can be at least one high-frequency transaction terminal which is in communication connection with the market server in the exchange integrated service system.
In specific implementation, the target high-frequency trading terminal can receive the target market snapshot issued by the market server, so that a user can know market information of a target product in real time through the target high-frequency trading terminal and can offer a purchase price or a sell price to buy or sell the target product according to the received market information, and trading requirements of the user are met.
It can be seen that, in this embodiment, a target processing module of the processing chip may first obtain a target market snapshot in a first storage space of a host CPU of the market server, and cache the target market snapshot in a second storage space of a DPU of the market server; then the target processing module of the processing chip processes the target market quotation snapshot to obtain market quotation broadcast messages; and finally, a target processing module of the processing chip sends the market broadcast message to a target high-frequency transaction terminal by using a switch network. Therefore, the quotation snapshot distribution function executed by the host CPU of the quotation server can be unloaded to the DPU for execution, so that the processing pressure of the host CPU is favorably reduced, and the calculation efficiency of the quotation server is improved.
In one possible example, a target processing module of the processing chip obtains a target market snapshot in a first storage space of a host CPU of the market server and caches the target market snapshot in a second storage space of a DPU of the market server, including: a target processing module of the processing chip receives descriptor information from a host CPU of the market server, wherein the descriptor information comprises message length information and memory address information of the target market snapshot; the target processing module of the processing chip transparently transmits the descriptor information to the control chip; and under the condition that a target processing module of the processing chip receives a Direct Memory Access (DMA) request sent by a target control module of the control chip according to the descriptor information, copying the line target market snapshot from a first storage space of a host Central Processing Unit (CPU) of the market server to a second storage space of a Data Processing Unit (DPU) of the market server by using a DMA technology, wherein the Direct Memory Access (DMA) request is used for requesting to acquire the target market snapshot corresponding to the descriptor information in the first storage space by using the DMA technology.
The descriptor information comprises information such as message length and memory address corresponding to the target market condition snapshot, and is used for indicating the storage position, data size and the like of the target market condition snapshot.
In a specific implementation, the host CPU of the market server can run a host CPU driver stack of the market server, and the host CPU driver stack of the market server provides a file system and a TCP/IP protocol stack. Before a host CPU of the market server informs a DPU of the market server to acquire a target market snapshot by using a DMA technology, the host CPU of the market snapshot can run a TCP/IP protocol stack and call a TCPSocket (socket) interface, so that a virtual-network driver (network card drive) is called through the TCP/IP protocol stack to write descriptor information of the market snapshot through a PCIe (peripheral component interconnect express) interface. The PCIe interface is a communication interface of a host CPU of the market server and a DPU of the market server. After the host CPU of the market server writes the descriptor information, the processing chip of the DPU of the market server transmits the descriptor information to the control chip. And the control chip calls the processing chip again according to the read content of the descriptor information, so that the processing chip executes the DMA operation through a PCIe interface connected between the DPU of the market server and the host CPU of the market server, and the market snapshot in the first storage space of the host CPU is copied to the second storage space of the DPU.
In a specific implementation, the host CPU of the market server may write the descriptor of the market snapshot periodically, for example, the host CPU of the market server may write the descriptor every 0.3 second or 0.5 second, so that the DPU of the market server can periodically obtain all market snapshots and distribute the market snapshots to the corresponding high-frequency trading terminals according to the subscription condition of the high-frequency trading terminals. Or the host CPU of the market server can write the descriptor after updating the market snapshot every time, so that the DPU of the market server can distribute market information to the high-frequency transaction terminal in time, a user can know market information of a target product in time, and user experience is improved.
In a specific implementation, the host CPU of the market server may further send a notification to the processing chip after writing the descriptor information, where the notification is used to indicate that the information written by the host CPU of the market server through the PCIe interface is the descriptor information of the market snapshot. When the processing chip receives the notice, the descriptor information is directly transmitted to the control chip.
Further, the control chip may send the DMA request to the processing chip by writing a register, where the register is a register shared by all control modules in the control chip. The register may be configured to store DMA request command information, where the DMA request command information may include a start address required for DMA, a destination address of the DMA, a DMA direction, and a length occupied by contents copied by the DMA. The starting address of the DMA is memory address information of a target market snapshot obtained by analyzing the descriptor information by the control chip, the destination address of the DMA is a second storage space position corresponding to the target market snapshot, the DMA direction of a direct memory access DMA request sent by the register is to copy the target market snapshot from the first storage space to the corresponding second storage space, and the length occupied by the copied content of the DMA is the message length information of the target market snapshot obtained by analyzing the descriptor information by the control chip. After the control chip writes the relevant content of the direct memory access DMA request in the register, the control chip determines to send the direct memory access DMA request to the processing chip, so that the processing chip can utilize the DMA engine to carry out DMA. According to the application, the market conditions snapshot of a target product is correspondingly stored in the first storage space, so that which market conditions cloud service host in the current host CPU is driving to use the DPU can be determined according to the memory address information of the target market conditions snapshot in the descriptor information, and the acquisition and distribution of the target market conditions snapshot can be realized.
In this embodiment, the DPU of the market server directly obtains the target market snapshot from the first storage space of the CPU of the market server by using the DMA technology through the processing chip, which can reduce the participation of the host CPU of the market server in the process of obtaining the target market snapshot by the DPU of the market server, so that the host CPU of the market server can perform other work in the process of obtaining the market snapshot by the DPU of the market server, thereby improving the work efficiency of the market server.
In one possible example, referring to fig. 3 and 5, the processing chip includes a snapshot transmission module and a message processing module, and the snapshot transmission module includes a transmission processing module, a message caching module, and a message editing module; the target processing module of the processing chip processes the target market snapshot to obtain market broadcast messages, and the process comprises the following steps: a target processing module of the processing chip acquires the target market snapshot from a second storage space of a DPU of the market server through the transmission processing module, and judges whether the target market snapshot needs to be subjected to accelerated processing of a transmission layer or not according to the type of the target market snapshot through the transmission processing module; if so, the target processing module of the processing chip executes accelerated transmission processing operation corresponding to the type of the target market snapshot on the target market snapshot through the transmission processing module; if not, the target processing module of the processing chip executes general transmission processing operation corresponding to the type of the target market snapshot on the target market snapshot through the transmission processing module; a target processing module of the processing chip acquires the transmitted and processed target market snapshot through the message caching module and caches the transmitted and processed target market snapshot; the target processing module of the processing chip acquires the target market quotation snapshot after the transmission processing, which is cached by the message caching module, through the message processing module, and analyzes the target market quotation snapshot after the transmission processing through the message processing module to obtain the execution action information of the target market quotation after the transmission processing; and the target processing module of the processing chip encapsulates the transmitted and processed target quotation according to the execution action information through a message editing module to obtain a quotation broadcast message.
In specific implementation, the transmission processing module is configured to perform transport layer protocol processing to determine whether the transmitted target market snapshot needs to be accelerated. Specifically, the target processing module of the target processing chip may first obtain the target market snapshot to be transmitted from the corresponding second storage space through the transmission processing module, and then determine whether the target market snapshot needs to be accelerated by the transmission layer according to the type of the target market snapshot. The market quotation cloud service host and the types of the target market quotation snapshots correspond to each other one by one, so that the types of the target market quotation snapshots can be obtained according to the positions of the first storage spaces for obtaining the target market quotation snapshots.
In specific implementation, the process that a target processing module of a processing chip judges whether the target market snapshot needs to be subjected to transport layer accelerated processing or not according to the type of the target market snapshot through the transmission processing module is as follows: the target processing module of the processing chip judges whether the quotation snapshot is in a RoCE (remote direct memory access based on converged Ethernet) format or not through the transmission processing module, if so, the RDMA processing flow is directly executed on the target quotation snapshot through an RDMA (remote direct memory access) technology, so that the target high-frequency transaction terminal directly obtains the target quotation snapshot to achieve an acceleration effect. For example, the quotation snapshot generated by the quotation cloud service host 1 may be preset in a RoCE format, so when the target quotation snapshot received by the transmission processing module is from the quotation cloud service host 1, it is directly determined that the target quotation snapshot needs to be processed in an accelerated manner by an RDMA technology. And if the target processing module of the processing chip judges that the target quotation snapshot acquired by the quotation snapshot is not in the RoCE format through the transmission processing module, transmitting the target quotation snapshot according to a general processing flow. Illustratively, if the target market snapshot received by the transmission processing module is not in the RoCE format, the transmission processing module may perform IP/TCP/UDP packet acceleration processing on the market snapshot. For example, processing operations such as IP/TCP/UDPCheckSum (checksum) calculation, TCP/UDP packet slicing, etc. may be performed on the packet of the target market snapshot.
In a specific implementation, the target market snapshot stored in the second storage space is obtained from the first storage space through the PCIe interface broadband, and is inconsistent with the ethernet broadband used for distribution. In practical application, when a plurality of target market snapshot from a plurality of market cloud service hosts are synchronously distributed, distribution processing needs to be performed according to priority, so that a message caching module needs to be used for caching in the transmission process of the market snapshot to ensure that each market snapshot can be sequentially processed and transmitted.
In specific implementation, the message editing module may execute an editing processing operation according to the message processed by the message processing module, for example, a message header modification operation may be performed after the message processing module processes the message, where the message header modification operation includes adding a corresponding virtual switch name to a message header, performing tunnel encapsulation, and the like. In this manner, the transmission of the target market snapshot may be guided.
In specific implementation, the snapshot transmission module further comprises a message scheduling module and a message distribution module, wherein the message distribution module is used for being connected with an external network through an ethernet network so as to distribute the processed market broadcast message to the corresponding high-frequency transaction terminal. The message scheduling module mainly performs queue QoS (quality of service) processing, for example, the message scheduling module may set a priority for each market snapshot according to a preset rule, and perform traffic limitation according to the priority, thereby avoiding problems such as network congestion. The preset rule may be set according to a source of the target market snapshot, for example, referring to fig. 2 or fig. 3, a priority of the target market from the market cloud service host 1 is higher than that of the target market snapshot from the market cloud service host 2, and a priority of the target market snapshot from the market cloud service host 2 is higher than that of the target market snapshot from the market cloud service host 3.
As can be seen, in this example, by processing the target market snapshot by the snapshot transmission module and the message processing module, the problem that the interface broadband of the target market snapshot acquired by the second storage module from the first storage module is inconsistent with the ethernet interface broadband used for transmission can be solved. And whether the target market snapshot needs to be transmitted and processed in an accelerated manner or not can be judged in the process, so that the distribution speed of the market snapshot meeting the requirement is increased, and the user experience is improved. In this example, the snapshot transmission module and the message processing module process the target market snapshot to be transmitted, so that the transmission reliability can be improved.
In a possible example, before the target processing module of the processing chip obtains the target market snapshot after the transmission processing through the message processing module, and analyzes the target market snapshot after the transmission processing through the message processing module, and obtains the execution action information of the target market after the transmission processing, the method further includes: and the target processing module of the processing chip extracts the message header of the target market snapshot after transmission processing through the message cache module and sends the message header into the message processing module for processing.
The message header includes key information of the message of the target market snapshot, for example, information of an initial address, a target address, a source port, a destination port, and the like of the target market snapshot.
In specific implementation, the message caching module extracts a message header of the target market snapshot and sends the message header to the message processing module for processing, so that an editing action suitable for the target market snapshot is obtained. In the specific implementation, the message caching module sends the message header of the quotation snapshot to the message processing module for processing, caches the target quotation snapshot, and sends the target quotation snapshot to the message editing module after the message processing module completes the processing of the message header, so that the message editing module edits and processes the target quotation snapshot. The editing processing operation of the message editing module on the target market snapshot may be to modify a message header of the target market snapshot, for example, add a virtual switch name to the message header of the target market snapshot, perform tunnel encapsulation, and the like.
As can be seen, in this example, the message caching module extracts the message header of the target market snapshot after the transmission processing, and sends the message header to the message processing module for processing, so that the transmission efficiency of the message in the processing process can be improved while the transmission of the information is ensured.
In one possible example, referring to fig. 5, the message processing module includes a message parsing module, an access control module, a flow table matching module, and an execution action module; the target processing module of the processing chip obtains the target market snapshot after the transmission processing cached by the message caching module through the message processing module, and analyzes the target market snapshot after the transmission processing through the message processing module to obtain the execution action information of the target market after the transmission processing, and the method comprises the following steps: a target processing module of the processing chip receives the message header through the message analysis module and obtains a key field of the target market snapshot through analysis according to the type of the target market snapshot; a target processing module of the processing chip acquires the key field through the access control module and performs access control on the target market snapshot according to the key field by using a preset rule; the target processing module of the processing chip acquires the key field through the flow table matching module and matches a flow table entry corresponding to the key field; and the target processing module of the processing chip acquires the flow table entry obtained by matching through the action execution module and determines action execution information according to the flow table entry.
In specific implementation, the message analysis module extracts key fields of the target market quotation snapshot according to the type and the like of the target market quotation snapshot. The key fields of the target market snapshot comprise a starting address, a target address, a source port, a destination port, a transmission protocol and the like distributed by the target market snapshot. The type of the target market quotation snapshot is determined by the market quotation cloud service host which obtains the target market quotation snapshot, and the market quotation snapshot generated by each market quotation cloud service host can be distributed to the high-frequency transaction terminals which subscribe the market quotation cloud service host correspondingly. The distributed initial address is the address of the market server, the distributed destination address is the address of the high-frequency transaction terminal for receiving the target market snapshot, the source port is the port used by the market server for sending the target market snapshot, and the destination port is the port used by the target high-frequency transaction terminal for receiving the target market snapshot.
In specific implementation, the access control module may perform access control on the transmitted target market snapshot according to a predefined rule, where the predefined rule may be set according to a type of the target market snapshot, and may be specifically formulated according to a requirement, which is not limited herein. The operations of access control include, but are not limited to, performing operations of discarding, releasing, limiting bandwidth, accounting, etc. on the target market snapshot. Illustratively, the speed limit can be performed for the transmission of the target market snapshot from the market cloud service host 2.
In specific implementation, the flow table matching module may search in the flow table according to the key field of the target market snapshot extracted by the message parsing module, so as to match the processing flow table adapted to the target market snapshot. Each processing flow table comprises flow table entries generated by the control module corresponding to each situation cloud service host, and the flow table entries define processing rules of the processing chip for transmitting the target situation snapshot. And once the flow table matching module matches the processing flow table corresponding to the target market snapshot, the processing chip processes the received target market message according to the processing rule, so that the processed target market snapshot meets the distribution requirement.
Further, if the flow table matching module finds the flow table corresponding to the target market snapshot, the flow table matching module may notify the action execution module to obtain an action corresponding to the execution according to a field in the flow table corresponding to the action execution module, for example, the action executed by the action execution module includes: forwarding a destination port, determining an editing field of the target market snapshot, editing actions of the target market snapshot and the like, counting messages and the like. In specific implementation, the message editing module may further process the target market quotation snapshot according to the execution action information, such as the editing field of the target market quotation snapshot, the editing action of the target market quotation snapshot, and the like, determined by the execution action module. Illustratively, the execute action module may add a VxLAN outer tunnel encapsulation for the target market snapshot. For example, a VxLAN tunnel outer MAC and an outer IP may be added for the target market snapshot.
Therefore, in this example, different transmission processing operations can be performed on the target market snapshots from different market cloud service hosts, so that it can be ensured that the transmission of the different target market snapshots can meet the subscription requirements of different high-frequency transaction terminals.
In a possible example, the exchange integrated service system is further configured with a plurality of virtual switches, the virtual switches correspond to the market cloud service hosts one to one and are configured as market multicast groups one to one, and each market multicast group includes at least one high-frequency transaction terminal.
In a specific implementation, the exchange integrated service system may further include a switch device, and the plurality of virtual switches are disposed on the switch device. Still alternatively, multiple virtual switches may be deployed within the market server.
In this embodiment, a market conditions snapshot generated by a market conditions cloud service host is correspondingly deployed with a virtual switch, the virtual switch can be correspondingly deployed with a market conditions multicast group, and the high-frequency transaction terminal can join the corresponding market conditions multicast group according to a subscription condition. One market condition multicast group can be provided with a plurality of high-frequency transaction terminals, and one high-frequency transaction terminal can join a plurality of market condition multicast groups. Illustratively, referring to fig. 2, the high-frequency transaction terminal 200a is a device that joins a market conditions multicast group corresponding to the market conditions cloud service host 1 and a market conditions multicast group corresponding to the market conditions cloud service host 2. The device joining the market conditions multicast group corresponding to the market conditions cloud service host 2 includes a high frequency transaction terminal 200a and a high frequency transaction terminal 200b.
Therefore, in this embodiment, the data isolation in the sending process can be realized by sending the market snapshot of different products to the high-frequency transaction terminal in the market multicast group through different virtual switches, so as to ensure the accuracy of data transmission. The high-frequency transaction terminal can respectively join the market conditions multicast group of the virtual switch corresponding to each market condition cloud service host according to the subscription condition, so that market conditions snapshots of all subscribed target products are received, and user requirements are guaranteed.
Referring to fig. 6, fig. 6 is a schematic flow chart of a market snapshot distribution method applied to a high-frequency trading terminal according to an embodiment of the present application, where the method is applied to a target high-frequency trading terminal of a complex service system of a trading house, the complex service system of the trading house includes a market server and a plurality of high-frequency trading terminals, the target high-frequency trading terminal is any one of the plurality of high-frequency trading terminals, the target high-frequency trading terminal is a device joining a market multicast group of the market server, and the target high-frequency trading terminal includes a DPU and a host CPU. Illustratively, the method may be applied to any high frequency trading terminal in the exchange integrated services system 10 as shown in fig. 1 and 2.
As shown in fig. 6, the method for distributing the market snapshot includes:
and step S210, the DPU of the target high-frequency transaction terminal receives the market broadcast message from the DPU of the market server through the multicast tunnel of the market multicast group.
One market situation multicast group corresponds to a market situation snapshot of a target product generated by one market situation cloud service host. The quotation broadcast message is data including quotation information of a target product, which is obtained by a DPU of a quotation server after processing operations such as accelerated processing, transmission broadband limitation, encapsulation and the like are executed according to a quotation snapshot acquired from a CPU of a host.
In specific implementation, the high-frequency transaction terminal can apply for joining the market multicast group of the corresponding virtual switch according to the condition of subscribing the target product. For example, referring to fig. 2, the high-frequency transaction terminal 200a subscribes to a target product 1 and a target product 2, where the market cloud service host 1 may generate a market snapshot of the target product 1, and the market cloud service host 2 may generate a market snapshot of the target product 2, so that the high-frequency transaction terminal 200a may apply for joining a market multicast group of the LSW1 corresponding to the market cloud service host 1 and a market multicast group of the LSW2 corresponding to the market cloud service host 2.
Step S220, the DPU of the target high-frequency transaction terminal analyzes the market multicast message to obtain market information of the target product.
It can be understood that the DPU of the target high-frequency transaction terminal completes reception and analysis of the market multicast message, so that the processing pressure of the CPU of the target high-frequency transaction terminal can be reduced, and the working efficiency of the target high-frequency transaction terminal can be improved.
And step S230, the DPU of the target high-frequency transaction terminal sends the market information to a host CPU of the high-frequency transaction terminal.
In step S240, the DPU of the target high-frequency transaction terminal receives feedback information from the host CPU of the high-frequency transaction terminal.
And the feedback information is content information obtained by a host CPU of the high-frequency transaction terminal responding to the market information through a preset strategy service module. The strategy service module can provide transaction business functions such as buying or selling and the like for the user.
And step S250, the DPU of the target high-frequency transaction terminal sends the feedback information to the DPU of the market situation server through the multicast tunnel of the market situation multicast group.
In a specific implementation, the DPU of the target high-frequency transaction terminal may send the feedback information to the matching server, so that the matching server completes transaction matching, and then the matching server sends information such as matching results to the market server.
Therefore, in the embodiment of the application, the quotation broadcast message sent by the DPU of the quotation server can be received and analyzed by the DPU of the target high-frequency transaction terminal to obtain the quotation information of the target quotation snapshot, and then the quotation information is sent to the CPU of the target high-frequency transaction terminal by the DPU of the target high-frequency transaction terminal, so that a user can respond to the quotation information by a preset policy service module of a host CPU of the high-frequency transaction terminal to obtain feedback information, and the DPU of the target high-frequency transaction terminal can receive the feedback information and send the feedback information to the quotation server. Therefore, the work of receiving and analyzing the market broadcast message and the work of sending the feedback information corresponding to the market broadcast message by the target high-frequency transaction terminal are unloaded to the DPU for execution, so that the processing pressure of the CPU of the target high-frequency transaction terminal is favorably reduced, and the CPU of the target high-frequency transaction terminal can provide more calculation power to an application layer.
The present application may perform the division of the functional units for the server according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 8 is a block diagram illustrating functional units of a market snapshot distribution apparatus according to an embodiment of the present disclosure. The market snapshot distribution apparatus 400 can be applied to the market server 100 in the exchange integrated service system 10 shown in fig. 1. The integrated service system of the exchange comprises the quotation server and a plurality of high-frequency trading terminals, the quotation server comprises a DPU and a host CPU, the host CPU of the quotation server is provided with a plurality of quotation cloud service hosts, the host CPU of the quotation server is corresponding to each quotation cloud service host and stores different types of quotation snapshots, each type of target quotation snapshot comprises quotation information of different target products, the DPU of the quotation server comprises a control chip and a processing chip, the DPU of the quotation server is provided with a vDPU which is in one-to-one correspondence with the quotation cloud service hosts, the vDPU comprises a control module arranged on the control chip and a processing module arranged on the processing chip, and the integrated service system of the exchange comprises:
an obtaining module 410, configured to obtain a target market snapshot in a first storage space of a host CPU of the market server, and cache the target market snapshot in a second storage space of a DPU of the market server, where the target processing module is one of a plurality of processing modules in which a plurality of vdpus are deployed in the processing chip, the first storage space is a storage location corresponding to a target market cloud service host corresponding to the target market snapshot, and the second storage space is a storage location corresponding to a target vDPU corresponding to the target market cloud service host;
the processing module 420 is configured to process the target market snapshot to obtain a market broadcast message;
a sending module 430, configured to send the market broadcast packet to a target high-frequency trading terminal by using a switch network, where the target high-frequency trading terminal is a device that joins the market multicast group of the market server, and the target high-frequency trading terminal is a device that subscribes to a corresponding target product in the target market snapshot.
In one possible example, in terms that a target processing module of the processing chip obtains a target market snapshot in a first storage space of a host CPU of the market server and caches the target market snapshot in a second storage space of a DPU of the market server, the obtaining module is further configured to: a target processing module of the processing chip receives descriptor information from a host CPU of the market server, wherein the descriptor information comprises message length information and memory address information of the target market snapshot;
the target processing module of the processing chip transparently transmits the descriptor information to the control chip;
and under the condition that a target processing module of the processing chip receives a Direct Memory Access (DMA) request sent by a target control module of the control chip according to the descriptor information, copying the line target market snapshot from a first storage space of a host Central Processing Unit (CPU) of the market server to a second storage space of a Data Processing Unit (DPU) of the market server by using a DMA technology, wherein the DMA request is used for requesting to acquire the target market snapshot corresponding to the descriptor information in the first storage space by using the DMA technology.
In one possible example, the processing chip comprises a snapshot transmission module and a message processing module, wherein the snapshot transmission module comprises a transmission processing module, a message caching module and a message editing module; in the aspect that the target processing module of the processing chip processes the target market snapshot to obtain a market broadcast message, the processing module is further configured to: a target processing module of the processing chip acquires the target market snapshot from a second storage space of a DPU of the market server through the transmission processing module, and judges whether the target market snapshot needs to be subjected to transport layer acceleration processing or not according to the type of the target market snapshot through the transmission processing module;
if so, the target processing module of the processing chip executes accelerated transmission processing operation corresponding to the type of the target market snapshot on the target market snapshot through the transmission processing module;
if not, the target processing module of the processing chip executes general transmission processing operation corresponding to the type of the target market quotation snapshot on the target market quotation snapshot through the transmission processing module;
a target processing module of the processing chip acquires the transmitted and processed target market quotation snapshot through the message caching module and caches the transmitted and processed target market quotation snapshot;
the target processing module of the processing chip acquires the transmitted and processed target market quotation snapshot cached by the message caching module through the message processing module, and analyzes the transmitted and processed target market quotation snapshot through the message processing module to obtain the execution action information of the transmitted and processed target market quotation;
and the target processing module of the processing chip encapsulates the transmitted target market through the message editing module according to the execution action information to obtain a market broadcast message.
In a possible example, the processing module is configured to, before the target processing module of the processing chip obtains the target market quotation snapshot after the transmission processing through the message processing module and analyzes the target market quotation snapshot after the transmission processing through the message processing module to obtain the execution action information of the target market quotation after the transmission processing, further: and the target processing module of the processing chip extracts the message header of the target market snapshot after transmission processing through the message cache module and sends the message header into the message processing module for processing.
In one possible example, the message processing module includes a message parsing module, an access control module, a flow table matching module, and an execution action module; in the aspect that the target processing module of the processing chip obtains the transmission processed target market snapshot cached by the message caching module through the message processing module, and analyzes the transmission processed target market snapshot through the message processing module to obtain the execution action information of the transmission processed target market, the processing module is further configured to: a target processing module of the processing chip receives the message header through the message analysis module and obtains a key field of the target market snapshot through analysis according to the type of the target market snapshot;
a target processing module of the processing chip acquires the key field through the access control module and performs access control on the target market snapshot according to the key field by using a preset rule;
the target processing module of the processing chip acquires the key field through the flow table matching module and matches a flow table entry corresponding to the key field;
and the target processing module of the processing chip acquires the flow table entry obtained by matching through the action execution module and determines action execution information according to the flow table entry.
In a possible example, the exchange integrated service system is further configured with a plurality of virtual switches, the virtual switches correspond to the market cloud service hosts one to one and are configured as market multicast groups one to one, and each market multicast group includes at least one high-frequency transaction terminal.
All relevant contents of each scene related to the method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again. The market quotation snapshot distributing device 400 can perform the steps performed by the market quotation server in the market quotation snapshot distributing method shown in fig. 4.
The embodiment of the application also provides a quotation distribution device which can be applied to a high-frequency trading terminal in a trading exchange comprehensive service system. The integrated service system of the exchange comprises a market server and a plurality of high-frequency transaction terminals, wherein the target high-frequency transaction terminal is equipment added into a market multicast group of the market server, the target high-frequency transaction terminal comprises a DPU and a host CPU, and the market distribution device comprises:
a receiving unit, configured to receive, by the DPU of the high-frequency transaction terminal, a market information broadcast packet from the DPU of the market information server through the multicast tunnel of the market information multicast group; the DPU is also used for receiving feedback information from a host CPU of the high-frequency transaction terminal, wherein the feedback information is content information obtained by the host CPU of the high-frequency transaction terminal responding to the market information through a preset strategy service module;
the analysis unit is used for analyzing the market multicast message by the DPU of the high-frequency transaction terminal to obtain market information of a target product;
the second sending unit is used for sending the market information to a host CPU of the high-frequency transaction terminal by the DPU of the high-frequency transaction terminal; and the DPU of the high-frequency transaction terminal is also used for sending the feedback information to the DPU of the market situation server through the multicast tunnel of the market situation multicast group.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device may correspond to the market server. As shown in fig. 7, the electronic device 300 of the present application may include a processor 310, a memory 320, a communication interface 330, and one or more programs 321, wherein the one or more programs 321 are stored in the memory 320 and configured to be executed by the processor 310, and the one or more programs 321 include instructions for performing any of the steps of the above method embodiments.
The processor 310 is a module for performing arithmetic operations and logical operations, and may be, for example, a Central Processing Unit (CPU), a general-purpose processor, a Digital Signal Processor (DSP), an Application-specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, units, and circuits described in connection with the disclosure of the embodiments of the application. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others.
The memory 320 is used to provide a storage space, and the storage space may store data such as an operating system and a computer program. The memory 320 may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example, but not limitation, many forms of Random Access Memory (RAM) are available, such as Static RAM (SRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic Random Access Memory (SDRAM), SDRAM (SDRAM), ddr (double data rate) SDRAM, edraws (DDRSDRAM), enhanced SDRAM (enhanced SDRAM, ESDRAM), SDRAM (synchronous DRAM), SDRAM (SLDRAM), and rdram (DRRAM).
The communication interface 330 is used to support communication between the electronic device 300 and other devices.
In a specific implementation, the processor 310 is configured to perform any one of the steps performed by the market server in the method embodiments described below, and when performing data transmission such as sending, the communication interface 330 is optionally invoked to complete the corresponding operation.
It should be noted that the structural schematic diagram of the electronic device 300 is only an example, and the specifically included devices may be more or less, and are not limited herein.
Embodiments of the present application further provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enables a computer to execute part or all of the steps of any one of the methods as described in the above method embodiments, and the computer includes a server.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps of the methods of the above embodiments may be implemented by a program, which is stored in a computer-readable memory, the memory including: flash memory disks, read-only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing embodiments have been described in detail, and specific examples are used herein to explain the principles and implementations of the present application, where the above description of the embodiments is only intended to help understand the method and its core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (5)
1. A market snapshot distribution method is characterized in that the market snapshot distribution method is applied to a market server of a trading exchange integrated service system, the trading exchange integrated service system comprises the market server and a plurality of high-frequency trading terminals, the market server comprises DPUs and host CPUs, the host CPUs of the market servers are provided with a plurality of market cloud service hosts, the host CPUs of the market servers are corresponding to the market cloud service hosts and store different types of market snapshots, the market snapshots of the types comprise market information of different target products, the DPUs of the market servers comprise control chips and processing chips, the DPUs of the market servers are provided with vDPUs in one-to-one correspondence with the market cloud service hosts, each vDPU comprises a control module and a processing module, the control modules are arranged on the control chips, the processing modules are arranged on the processing chips, the processing chips comprise snapshot transmission modules and message processing modules, and the snapshot transmission modules comprise transmission processing modules, message caching modules and message editing modules; the message processing module comprises a message analysis module, an access control module, a flow table matching module and an action execution module; the comprehensive service system of the exchange is also provided with a plurality of virtual switches, the virtual switches are in one-to-one correspondence with the market situation cloud service hosts and are arranged into market situation multicast groups in one-to-one correspondence, one market situation multicast group comprises at least one high-frequency transaction terminal, and one high-frequency transaction terminal is added into at least one market situation multicast group; the method comprises the following steps:
a target processing module of the processing chip receives descriptor information from a host CPU of the market server, wherein the descriptor information comprises message length information and memory address information of a target market snapshot; wherein the target processing module is one of a plurality of processing modules of which a plurality of the vDPUs are deployed on the processing chip;
the target processing module of the processing chip transparently transmits the descriptor information to the control chip;
under the condition that a target processing module of the processing chip receives a Direct Memory Access (DMA) request sent by a target control module of the control chip according to the descriptor information, copying the target market snapshot from a first storage space of a host Central Processing Unit (CPU) of the market server to a second storage space of a Data Processing Unit (DPU) of the market server by utilizing a DMA technology, wherein the DMA request is used for requesting to obtain the target market snapshot corresponding to the descriptor information in the first storage space by utilizing the DMA technology, the first storage space is a storage position corresponding to a target market cloud service host corresponding to the target market snapshot, and the second storage space is a storage position corresponding to a target vDPU corresponding to the target market cloud service host;
a target processing module of the processing chip acquires the target market snapshot from a second storage space of a DPU of the market server through the transmission processing module, and judges whether the target market snapshot needs to be subjected to accelerated processing of a transmission layer or not according to the type of the target market snapshot through the transmission processing module;
if so, the target processing module of the processing chip executes accelerated transmission processing operation corresponding to the type of the target market snapshot on the target market snapshot through the transmission processing module;
if not, the target processing module of the processing chip executes general transmission processing operation corresponding to the type of the target market quotation snapshot on the target market quotation snapshot through the transmission processing module;
a target processing module of the processing chip acquires the transmitted and processed target market snapshot through the message caching module and caches the transmitted and processed target market snapshot;
a target processing module of the processing chip extracts a message header of the transmitted and processed target market snapshot through the message caching module and sends the message header into the message processing module for processing;
a target processing module of the processing chip receives the message header through the message analysis module and analyzes the message header according to the type of the target market snapshot to obtain a key field of the target market snapshot;
a target processing module of the processing chip acquires the key field through the access control module and performs access control on the target market snapshot according to the key field by using a preset rule;
the target processing module of the processing chip acquires the key field through the flow table matching module and matches a flow table entry corresponding to the key field;
the target processing module of the processing chip acquires the matched flow table entry through the execution action module and determines execution action information according to the flow table entry;
the target processing module of the processing chip encapsulates the transmitted and processed target quotation according to the execution action information through the message editing module to obtain a quotation broadcast message;
and a target processing module of the processing chip sends the market broadcast message to a target high-frequency transaction terminal by using a switch network, wherein the target high-frequency transaction terminal is a device which joins in a market multicast group of the market server, and the target high-frequency transaction terminal is a device which subscribes a target product corresponding to the target market snapshot.
2. A market snapshot distribution method is characterized in that the market snapshot distribution method is applied to a target high-frequency transaction terminal of a comprehensive service system of a trading exchange, the comprehensive service system of the trading exchange comprises a market server and a plurality of high-frequency transaction terminals, the market server comprises a DPU and a host CPU, the host CPU of the market server is provided with a plurality of market cloud service hosts, the host CPU of the market server is corresponding to each market cloud service host and stores different types of market snapshots, each type of the market snapshot comprises market information of different target products, the DPU of the market server comprises a control chip and a processing chip, the DPU of the market server is provided with a vDPU which is in one-to-one correspondence with the market cloud service hosts, the vDPU comprises a control module and a processing module, the control module is arranged on the control chip, the processing module is arranged on the processing chip, the processing chip comprises a snapshot transmission module and a message processing module, the snapshot transmission module comprises a transmission processing module, a message parsing module and a message editing module, the message parsing module comprises a message access control module, an action matching module, a flow table module and an execution module; the exchange comprehensive service system also comprises a plurality of virtual switches, the virtual switches are in one-to-one correspondence with the market quotation cloud service hosts and are deployed into a market quotation multicast group in one-to-one correspondence, each market quotation multicast group comprises at least one high-frequency transaction terminal, and one high-frequency transaction terminal is added into at least one market quotation multicast group; the target high-frequency transaction terminal is any one of a plurality of high-frequency transaction terminals, the target high-frequency transaction terminal is equipment which is added into a market situation multicast group of the market situation server, the target high-frequency transaction terminal comprises a DPU and a host CPU, and the method comprises the following steps:
the DPU of the target high-frequency transaction terminal receives a target market broadcast message from the DPU of the market server through a multicast tunnel of a target market multicast group, wherein the target market multicast group is one of the at least one market multicast group added by the target high-frequency transaction terminal;
the DPU of the target high-frequency transaction terminal analyzes the target market broadcasting message to obtain market information of a target product;
the DPU of the target high-frequency transaction terminal sends the market information to a host CPU of the target high-frequency transaction terminal;
the DPU of the target high-frequency transaction terminal receives feedback information from a host CPU of the target high-frequency transaction terminal, wherein the feedback information is content information obtained by the host CPU of the target high-frequency transaction terminal responding to the market information through a preset strategy service module;
the DPU of the target high-frequency transaction terminal sends the feedback information to the DPU of the market situation server through the multicast tunnel of the target market situation multicast group;
the target market broadcast message is data obtained by the market server executing distribution processing operation aiming at the target market snapshot, and the distribution processing operation includes:
a target processing module of the processing chip receives descriptor information from a host CPU of the market server, wherein the descriptor information comprises message length information and memory address information of a target market snapshot; wherein the target processing module is one of a plurality of processing modules of which a plurality of the vDPUs are deployed on the processing chip;
the target processing module of the processing chip transparently transmits the descriptor information to the control chip;
under the condition that a target processing module of the processing chip receives a Direct Memory Access (DMA) request sent by a target control module of the control chip according to the descriptor information, the target processing module of the processing chip copies the target market snapshot from a first storage space of a host Central Processing Unit (CPU) of the market server to a second storage space of a Data Processing Unit (DPU) of the market server by using a DMA technology, wherein the DMA request is used for requesting to obtain the target market snapshot corresponding to the descriptor information in the first storage space by using the DMA technology, the first storage space is a storage position corresponding to a target market cloud service host corresponding to the target market snapshot, and the second storage space is a storage position corresponding to a target vDPU corresponding to the target market cloud service host;
a target processing module of the processing chip acquires the target market snapshot from a second storage space of a DPU of the market server through the transmission processing module, and judges whether the target market snapshot needs to be subjected to accelerated processing of a transmission layer or not according to the type of the target market snapshot through the transmission processing module;
if so, the target processing module of the processing chip executes accelerated transmission processing operation corresponding to the type of the target market snapshot on the target market snapshot through the transmission processing module;
if not, the target processing module of the processing chip executes general transmission processing operation corresponding to the type of the target market snapshot on the target market snapshot through the transmission processing module;
a target processing module of the processing chip acquires the transmitted and processed target market snapshot through the message caching module and caches the transmitted and processed target market snapshot;
a target processing module of the processing chip extracts a message header of the transmitted and processed target market snapshot through the message caching module and sends the message header into the message processing module for processing;
a target processing module of the processing chip receives the message header through the message analysis module and analyzes the message header according to the type of the target market snapshot to obtain a key field of the target market snapshot;
a target processing module of the processing chip acquires the key field through the access control module and performs access control on the target market snapshot according to the key field by using a preset rule;
the target processing module of the processing chip acquires the key field through the flow table matching module and matches a flow table entry corresponding to the key field;
a target processing module of the processing chip acquires a flow table entry obtained by matching through the action execution module, and determines action execution information according to the flow table entry;
and the target processing module of the processing chip encapsulates the transmitted and processed target market through the message editing module according to the execution action information to obtain the target market broadcast message.
3. A quotation snapshot distribution device is characterized in that the quotation server is applied to a quotation server of a trading desk comprehensive service system, the trading desk comprehensive service system comprises the quotation server and a plurality of high-frequency trading terminals, the quotation server comprises a DPU and a host CPU, the host CPU of the quotation server is provided with a plurality of quotation cloud service hosts, the host CPU of the quotation server is corresponding to each quotation cloud service host and stores different types of quotation snapshots, each type of the quotation snapshot comprises quotation information of different target products, the DPU of the quotation server comprises a control chip and a processing chip, the DPU of the quotation server is provided with a vDPU in one-to-one correspondence with the quotation cloud service hosts, the vDPU comprises a control module arranged on the control chip and a processing module arranged on the processing chip, the processing chip comprises a snapshot transmission module and a message processing module, the snapshot transmission module comprises a transmission processing module, a message caching module and a message editing module, and the message processing module comprises a message module, an access control module, a flow table matching module and an execution action module; the comprehensive service system of the exchange is also provided with a plurality of virtual switches, the virtual switches are in one-to-one correspondence with the market situation cloud service hosts and are arranged into market situation multicast groups in one-to-one correspondence, one market situation multicast group comprises at least one high-frequency transaction terminal, and one high-frequency transaction terminal is added into at least one market situation multicast group; the device comprises:
the acquisition module is used for calling a target processing module of the processing chip to receive descriptor information from a host CPU of the market server, wherein the descriptor information comprises message length information and memory address information of a target market snapshot; wherein the target processing module is one of a plurality of processing modules of which a plurality of the vDPUs are deployed on the processing chip;
the acquisition module is also used for calling a target processing module of the processing chip to transparently transmit the descriptor information to the control chip;
the obtaining module is further configured to, when a target processing module of the processing chip receives a direct memory access DMA request sent by the target control module of the control chip according to the descriptor information, invoke the target processing module of the processing chip to copy the target market snapshot from a first storage space of a host CPU of the market server to a second storage space of a DPU of the market server by using a DMA technique, where the direct memory access DMA request is used to request that the target market snapshot corresponding to the descriptor information in the first storage space is obtained by using a DMA technique, the first storage space is a storage location corresponding to a target market cloud service host corresponding to the target market snapshot, and the second storage space is a storage location corresponding to a target vDPU corresponding to the target market cloud service host;
the processing module is used for calling a target processing module of the processing chip to acquire the target market quotation snapshot from a second storage space of a DPU (distributed processing unit) of the market quotation server through the transmission processing module and judging whether the target market quotation snapshot needs to be subjected to transport layer acceleration processing or not according to the type of the target market quotation snapshot through the transmission processing module;
if so, calling a target processing module of the processing chip to execute accelerated transmission processing operation corresponding to the type of the target market quotation snapshot on the target market quotation snapshot through the transmission processing module;
if not, calling a target processing module of the processing chip to execute a general transmission processing operation corresponding to the type of the target market snapshot on the target market snapshot through the transmission processing module;
the processing module is also used for calling a target processing module of the processing chip to acquire the transmitted and processed target market snapshot through the message caching module and caching the transmitted and processed target market snapshot;
the processing module is also used for calling a target processing module of the processing chip to extract the message header of the transmitted and processed target market quotation snapshot through the message caching module and sending the message header into the message processing module for processing;
the processing module is also used for calling a target processing module of the processing chip to receive the message header through the message analysis module and analyzing the message header according to the type of the target market snapshot to obtain a key field of the target market snapshot;
the processing module is also used for calling a target processing module of the processing chip to acquire the key field through the access control module and carrying out access control on the target market snapshot by using a preset rule according to the key field;
the processing module is also used for calling a target processing module of the processing chip to acquire the key field through the flow table matching module and match a flow table entry corresponding to the key field;
the processing module is also used for calling a target processing module of the processing chip to acquire a flow table entry obtained by matching through the action execution module and determining action execution information according to the flow table entry;
the processing module is also used for calling a target processing module of the processing chip to package the transmitted target market through the message editing module according to the execution action information to obtain a market broadcast message;
and the sending module is used for sending the market broadcast message to a target high-frequency trading terminal by utilizing a switch network, wherein the target high-frequency trading terminal is a device which is added into a market multicast group of the market server, and the target high-frequency trading terminal is a device which subscribes a corresponding target product in the target market snapshot.
4. An electronic device comprising a processor, memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps in the method of any of claims 1 or 2.
5. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the steps in the method according to any of claims 1 or 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211043999.9A CN115114222B (en) | 2022-08-30 | 2022-08-30 | Market information snapshot distribution method and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211043999.9A CN115114222B (en) | 2022-08-30 | 2022-08-30 | Market information snapshot distribution method and related device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115114222A CN115114222A (en) | 2022-09-27 |
CN115114222B true CN115114222B (en) | 2022-12-27 |
Family
ID=83335563
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211043999.9A Active CN115114222B (en) | 2022-08-30 | 2022-08-30 | Market information snapshot distribution method and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115114222B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116301663B (en) * | 2023-05-12 | 2024-06-21 | 新华三技术有限公司 | Data storage method, device and host |
CN117788152A (en) * | 2023-11-23 | 2024-03-29 | 中科驭数(北京)科技有限公司 | Financial market data processing method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110059074A (en) * | 2019-03-18 | 2019-07-26 | 华迪计算机集团有限公司 | A kind of data processing method and system for memory database |
CN112003814A (en) * | 2019-05-27 | 2020-11-27 | 招商证券股份有限公司 | Market data processing method and device, terminal equipment and storage medium |
CN113193974A (en) * | 2021-07-02 | 2021-07-30 | 深圳华云信息系统有限公司 | Multicast-based market information pushing method, system, equipment and medium |
CN114422367A (en) * | 2022-03-28 | 2022-04-29 | 阿里云计算有限公司 | Message processing method and device |
CN217008203U (en) * | 2021-12-07 | 2022-07-19 | 中科长城海洋信息系统有限公司长沙分公司 | Underwater acoustic signal processing system based on DPU |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113065958A (en) * | 2021-02-20 | 2021-07-02 | 上海金融期货信息技术有限公司 | Theme market situation business data streaming system |
-
2022
- 2022-08-30 CN CN202211043999.9A patent/CN115114222B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110059074A (en) * | 2019-03-18 | 2019-07-26 | 华迪计算机集团有限公司 | A kind of data processing method and system for memory database |
CN112003814A (en) * | 2019-05-27 | 2020-11-27 | 招商证券股份有限公司 | Market data processing method and device, terminal equipment and storage medium |
CN113193974A (en) * | 2021-07-02 | 2021-07-30 | 深圳华云信息系统有限公司 | Multicast-based market information pushing method, system, equipment and medium |
CN217008203U (en) * | 2021-12-07 | 2022-07-19 | 中科长城海洋信息系统有限公司长沙分公司 | Underwater acoustic signal processing system based on DPU |
CN114422367A (en) * | 2022-03-28 | 2022-04-29 | 阿里云计算有限公司 | Message processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN115114222A (en) | 2022-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115114222B (en) | Market information snapshot distribution method and related device | |
US10469632B2 (en) | Reducing network latency | |
US8676876B2 (en) | Synchronizing an active feed adapter and a backup feed adapter in a high speed, low latency data communications environment | |
US8122144B2 (en) | Reliable messaging using redundant message streams in a high speed, low latency data communications environment | |
US8695015B2 (en) | Application message conversion using a feed adapter | |
US20070300235A1 (en) | Reliable messaging using a message stream in a high speed, low latency data communications environment | |
CN112799825A (en) | Task processing method and network equipment | |
US20080104266A1 (en) | Reliable messaging using message streams in a high speed, low latency data communications environment | |
US20080141276A1 (en) | Referencing Message Elements In An Application Message In A Messaging Environment | |
US20080141273A1 (en) | Accessing Application Message Data In A Messaging Environment | |
CN110278161B (en) | Message distribution method, device and system based on user mode protocol stack | |
CN112152940B (en) | Message processing method, device and system | |
CN115334586B (en) | Data forwarding method and device, computer equipment and storage medium | |
CN112398845B (en) | Data transmission method, data transmission device, data transmission system and electronic equipment | |
CN115168280B (en) | Market quotation snapshot processing method and related device | |
CN117453582A (en) | Data transmission method, device and storage medium | |
CN115580667B (en) | Data transmission method, device, equipment and storage medium | |
WO2024093958A1 (en) | Access method and apparatus for storage pool | |
CN118606079B (en) | Socket interface-based communication method and system | |
CN115099978B (en) | Data processing method and device | |
CN115150203B (en) | Data processing method and device, computer equipment and storage medium | |
WO2024212057A1 (en) | Sensing measurement method, electronic device, and storage medium | |
CN118820149A (en) | Data processing method and electronic equipment | |
CN115617450A (en) | Ivshmem-based communication method, system, device and storage medium | |
CN118193229A (en) | Data sharing method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |