CN114860446A - Communication method, device and medium for market data - Google Patents

Communication method, device and medium for market data Download PDF

Info

Publication number
CN114860446A
CN114860446A CN202210502760.7A CN202210502760A CN114860446A CN 114860446 A CN114860446 A CN 114860446A CN 202210502760 A CN202210502760 A CN 202210502760A CN 114860446 A CN114860446 A CN 114860446A
Authority
CN
China
Prior art keywords
market data
data
cache
cache space
space
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.)
Pending
Application number
CN202210502760.7A
Other languages
Chinese (zh)
Inventor
刘生
楼耕乐
刘付航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shengli Anyuan Technology Hangzhou Co ltd
Original Assignee
Shengli Anyuan Technology Hangzhou Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shengli Anyuan Technology Hangzhou Co ltd filed Critical Shengli Anyuan Technology Hangzhou Co ltd
Priority to CN202210502760.7A priority Critical patent/CN114860446A/en
Publication of CN114860446A publication Critical patent/CN114860446A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources

Abstract

The utility model relates to the technical field of communication, a communication method of market data is disclosed, for among the prior art, continuous buffer memory space is not enough and can't apply for sufficient buffer memory space and deposit data, adopt this technical scheme, can reserve the buffer memory address after the memory initialization, after the market data that receives hardware equipment and send, according to the buffer memory address of reserving and the transmission density application buffer memory space of market data, because the buffer memory address is the address of reserving well and continuing in advance, this space can not shared by other data, can release the buffer memory space of applying for after no longer receiving data, still can apply for buffer memory space from the buffer memory address of reserving in follow-up use, so the probability of the continuous space that can apply for is just bigger, thereby can deposit more market data. In addition, the communication device and the medium of the market data correspond to the communication method of the market data, and the effect is the same.

Description

Communication method, device and medium for market data
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, and a medium for communicating market data.
Background
Financial transaction systems such as stock trading systems have the characteristics of relatively centralized trading time and intensive trading instructions and data, and have high requirements on the processing speed of trading systems. In the prior art, the technical characteristics of high throughput, low time delay and the like of an FPGA technology are utilized, and a special hardware structure of the FPGA is adopted to realize parallel acceleration of large-scale data intensive calculation. And after receiving the large-scale data, the FPGA transmits the large-scale data to the server through the driver for processing.
When the FPGA transmits data to the server through the drive, the FPGA needs to apply for a cache space on a drive layer to store the data. It is understood that the requested buffer space should be contiguous in order to ensure data integrity and continuity. However, in the prior art, due to the use of the user and other situations, the continuous cache space in the continuous memory is insufficient, the user can only apply for the space of 4MB, and when a large amount of data is transmitted, the server does not timely fetch the data from the cache space, which easily causes data loss.
Therefore, it is an urgent need to solve the problem of how to apply for a large amount of continuous space to store more market data when applying for a cache space.
Disclosure of Invention
The application aims to provide a communication method, a communication device and a communication medium of market data, which are used for applying for a large amount of continuous space when applying for a cache space so as to store more market data.
In order to solve the above technical problem, the present application provides a communication method for market data, including:
acquiring market data sent by hardware equipment;
applying for a cache space according to a pre-reserved cache address and the sending density of the market data;
storing the market data into the cache space so as to be taken out by a server conveniently;
and releasing the cache space if the market data sent by the hardware equipment is not acquired within the preset time.
Preferably, the cache address is a low address.
Preferably, after the step of applying for the cache space according to the pre-reserved cache address and the sending density of the market data, the method further includes:
configuring the size and the number of protocol nodes in the cache space according to the sending density of the market data;
correspondingly, the storing the market data into the cache space is as follows: and storing the market data into the protocol node of the cache space.
Preferably, the method further comprises the following steps: and judging whether the market data are completely written into the current protocol node, if so, marking the market data in the current protocol node by the actual length of the market data, and if not, marking the market data in the current protocol node by a characteristic value.
Preferably, after the step of judging whether the market data is written into the current protocol node, the method further includes: and comparing whether the number of the protocol nodes occupied by the quotation data acquired from the hardware equipment and the quotation data taken out by the server is consistent or not, and if not, discarding the quotation data.
Preferably, whether the number of the protocol nodes occupied by the market data acquired from the hardware device and the market data taken out by the server is consistent or not further includes:
and judging whether the protocol node is a continuous node or not, and if not, discarding the market data.
Preferably, the method further comprises the following steps:
and sending a transmission notice to the hardware equipment under the condition that the server takes data at a preset protocol node.
In order to solve the above technical problem, the present application further provides a communication device for market data, including:
the acquisition module is used for acquiring market data sent by the hardware equipment;
the application module is used for applying for a cache space according to a pre-reserved cache address and the sending density of the market data;
the storage module is used for storing the market data into the cache space so as to be taken out by the server conveniently;
and the releasing module is used for releasing the cache space if the market data sent by the hardware equipment is not acquired within the preset time.
In order to solve the above technical problem, the present application further provides another communication device for market data, including a memory for storing a computer program;
the processor is used for implementing the steps of the communication method of the market data when the computer program is executed.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the communication method for market data are implemented as described above.
Compared with the prior art, the communication method of the market data, compared with the prior art, the continuous cache space is insufficient, and the sufficient cache space can not be applied for storing the data, the technical scheme is adopted, the cache address can be reserved after the memory is initialized, after the market data sent by the hardware equipment is received, the cache space can be applied according to the reserved cache address and the sending density of the market data, the cache address is an address which is reserved in advance and is continuous, the space can not be occupied by other data, the applied cache space can be released after the data is not received any more, the cache space can still be applied from the reserved cache address in the follow-up use, the probability of the continuous space which can be applied is larger, and therefore more market data can be stored.
In addition, the communication device and the medium of the market data correspond to the communication method of the market data, and the effect is the same.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a method for communicating market data according to an embodiment of the present disclosure;
fig. 2 is a structural diagram of a communication device for market data according to an embodiment of the present disclosure;
fig. 3 is a structural diagram of another communication device for market data according to an embodiment of the present disclosure.
Detailed Description
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 the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a communication method, a device and a medium of market data, which are used for applying a large amount of continuous space when applying a cache space so as to store more market data.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for communicating market data according to an embodiment of the present disclosure, and as shown in fig. 1, the method includes:
s10: acquiring market data sent by hardware equipment.
The hardware device in this embodiment refers to a Field Programmable Gate Array (FPGA), which is a product of further development based on Programmable devices such as PAL and GAL. The circuit is used as a semi-custom circuit in the field of application-specific integrated circuits, not only overcomes the defects of the custom circuit, but also overcomes the defect that the number of gate circuits of the original programmable device is limited. The system receives market data uploaded by each region through protocol docking and sends the market data to the driver through protocol docking. The market data of the present application includes, in addition to specific financial data, related transmission instructions, information, and the like.
S11: and applying for a cache space according to the pre-reserved cache address and the sending density of the market data.
It can be understood that, in order to ensure the integrity of the market data and the rapidity of reading, the cache space in the present application is a continuous space, and the cache space is applied when market data communication is required. In the prior art, when a driver applies for a cache space to store market data, a Direct Memory Access (DMA) technology is usually used to apply for the space, and DMA is a hardware mechanism that allows a peripheral device and a main Memory to directly transmit I/O data without involvement of a system processor. However, in the specific implementation of the method, due to the use of the user, there are not enough continuous addresses in the memory, and the user cannot apply for enough cache space, usually only 4MB of space at most. In this embodiment, a cache address is reserved in advance, and an intelligent continuous Memory allocation technique (CMA) is used, so that the cache address is not used for executing other commands in the Memory using process, and is only used as a cache space when market data transmission is required, and the size of the applicable cache space is determined by the size of the reserved cache address, so that the continuous cache space is more easily applied. It can be understood that the size of the cache address reserved in advance may be set according to the size of the market data volume of each region and the actual hardware facilities, for example, the market data volume handed in is large, the density is high, and the hardware memory is large, so there may be more cache addresses reserved. The cache space in this embodiment is applied according to the cache address, and the size of the cache space applied each time can be dynamically adjusted according to the sending density of the market data. For example, if a certain transaction is frequent and market data is more and dense, the cache space of the application is larger. It will be appreciated that the requested cache space should be smaller than the reserved cache addresses due to some auxiliary data or address failure issues. In addition, the management of the memory is managed in a paging mode, and in the prior art, the default page table of the operating system is 4KB, and a maximum large page of 2MB is supported. In step S11, the size of the cache space is related to the reserved cache address, the larger the cache address is, the more the cache space is, the larger the page table supported by the operating system is, and after the page table becomes larger, the more information that can be stored in each page is, so as to reduce the number of page tables, reduce the required address Translation, reduce the cache invalidation times of the Translation Lookaside Buffer (TLB), improve the access performance of the memory, and reduce the pressure of the CPU.
S12: and storing the market data into a cache space so as to be taken out by the server conveniently.
S13: and if the market data sent by the hardware equipment is not acquired within the preset time, releasing the cache space.
In step S13, when the cache space is no longer used, the cache space needs to be released for use again. In this embodiment, determining when the cache space is no longer used is performed by determining whether to obtain the market data sent by the hardware device again within a preset time. In other embodiments, the buffer space may also be released through operations such as closing an operation interface and the like by active operations of the user.
Compared with the prior art, the communication method of the market data, compared with the prior art, the continuous cache space is insufficient, and the sufficient cache space cannot be applied for storing the data, by adopting the technical scheme, the cache address can be reserved after the memory is initialized, after the market data sent by the hardware equipment is received, the cache space can be applied according to the reserved cache address and the sending density of the market data, because the cache address is a well-reserved and continuous address, the space can not be occupied by other data, the applied cache space can be released after the data is not received any more, the cache space can still be applied from the reserved cache address in the subsequent use, so that the probability of the continuous space which can be applied is higher, and more market data can be stored.
The cache address in this embodiment is reserved in advance, and a large number of experiments show that the lower the address of the memory is, the faster the data transmission efficiency is.
Therefore, on the basis of the above embodiment, in the present embodiment, the cache address is a low address.
In this embodiment, the reserved cache address is selected as a low address in the memory, and the transmission efficiency of the market data can be improved compared with that of a high address.
In a specific implementation, the market data is stored in the cache space, which is usually the protocol nodes stored in the cache space, and when one protocol node is filled with the market data, the server can take the data from the protocol node. It can be understood that, after the size of the cache space is fixed, the smaller the size of each protocol node is, the larger the number of protocol nodes is, the easier each protocol node is to be filled, and the server can more quickly fetch data from the protocol node filled with market data.
Therefore, on the basis of the above embodiment, in this embodiment, after the step of applying for the buffer space according to the buffer address reserved in advance and the sending density of the market data, the method further includes:
configuring the size and the number of protocol nodes in a cache space according to the sending density of the market data;
correspondingly, the storage of the market data into the cache space is as follows: and storing the market data into the protocol node of the cache space.
It is understood that after applying for the cache space, the protocol node may be configured. The configuration of the protocol nodes in this embodiment is also related to the sending density of the market data, and when the sending density of the market data is high, the data transmission pressure is high, so that the size of the protocol nodes is reduced, the protocol nodes are filled as soon as possible, the data can be taken by the server in time for subsequent transmission of other market data, and data loss is avoided.
In the above embodiment, it is described that the market data may exist in the protocol nodes, in a specific implementation, the hardware device receives market data from each region, and one market data may exist in the same protocol node or be divided into a plurality of protocol nodes.
Therefore, on the basis of the above embodiment, in this embodiment, the method further includes:
and judging whether the market data are completely written into the current protocol node, if so, marking the market data in the current protocol node by the actual length of the market data, and if not, marking the market data in the current protocol node by the characteristic value.
In a specific implementation, the length of the data is counted, in this embodiment, 0 is used as a characteristic value, when the market data fills up the current protocol node and partial data still exists in the next protocol node, 0 is used to mark the market data in the current protocol node to represent that the data is incomplete, and the length of the market data is used to mark the next protocol node to represent that the data is complete.
In this embodiment, by marking the market data in the protocol node, it is identified whether the market data taken from the current protocol node is all data.
In the embodiment, whether the market data in one protocol node is complete is identified through the characteristic value, and in specific implementation, after the protocol node marked with the actual length of the market data is received, whether all protocol nodes occupied by the market data are received needs to be judged.
On the basis of the foregoing embodiment, in this embodiment, after the step of determining whether the market data is written in all the current protocol nodes, the method further includes: and comparing whether the number of the protocol nodes occupied by the quotation data acquired from the hardware equipment and the quotation data extracted from the server is consistent or not, and if not, discarding the quotation data.
In this embodiment, the number of the protocol nodes occupied by the market data is counted, and the protocol nodes occupied by the same market data can be marked through the labels. And the cache of the market data in the protocol node is considered to be cached in a cache ring mode, namely, after the market data fills the cache ring, the covering cache is carried out from the beginning. When a market data is huge, a buffer ring may not be enough to transmit the whole market data, and the characteristic value and the actual length at this time cannot represent the integrity of the data, so the number of the buffer rings occupied by the market data needs to be counted during the statistics. And comparing whether the number of the protocol nodes occupied by the market data acquired from the hardware equipment and the market data taken out from the server is consistent or not by combining the number and the mark of the occupied cache rings so as to verify whether the market data is complete or not.
According to the communication method of the market data, the number of the protocol nodes occupied by the market data acquired by the hardware equipment and the market data taken out by the server is compared, and whether the data is complete or lost in the transmission process is judged.
In the foregoing embodiment, it is determined whether the market data is complete by counting the number, and in this embodiment, whether the market data acquired from the hardware device and the number of the protocol nodes occupied by the market data extracted by the server are consistent further includes:
and judging whether the protocol node is a continuous node or not, and if not, discarding the market data.
In this embodiment, after the number of the protocol nodes is consistent, it is further determined whether the protocol nodes are consecutive nodes, so as to avoid loss of market data due to simultaneous errors of the hardware device and the server, and further ensure integrity of the data.
In particular implementations, after a protocol node is fetched by a server, the protocol node may continue for subsequent use and the market data may be re-imported by the hardware device.
In this embodiment, the method further includes:
and sending a transmission notice to the hardware equipment under the condition that the server takes the data at the preset protocol node.
According to the communication method of the market data provided by the embodiment, after the server takes the market data, the server sends a transmission notice to the hardware device so as to reuse the protocol node to transmit the data.
In the above embodiments, the communication method of the market data is described in detail, and the present application also provides embodiments corresponding to the communication device of the market data. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one from the perspective of the function module and the other from the perspective of the hardware.
Fig. 2 is a structural diagram of a communication device for market data according to an embodiment of the present application, and as shown in fig. 2, the device includes:
the acquiring module 10 is used for acquiring market data sent by hardware equipment;
the application module 11 is configured to apply for a cache space according to a pre-reserved cache address and a sending density of market data;
the storage module 12 is used for storing the market data into the cache space so as to be taken out by the server conveniently;
and the releasing module 13 is configured to release the cache space if the market data sent by the hardware device is no longer acquired within the preset time.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
The communication device of market data that this application embodiment provided, for among the prior art, continuous buffer memory space is not enough and can't apply for sufficient buffer memory space and deposit data, adopt this technical scheme, can reserve the buffer memory address after the memory initialization, after the market data that receives hardware equipment and send, apply for buffer memory space according to the buffer memory address of reserving and the transmission density of market data, because the buffer memory address is the well and continuous address of reserving in advance, this space can not shared by other data, can release the buffer memory space of applying for after no longer receiving data, still can apply for buffer memory space from the buffer memory address of reserving in the follow-up use, so the probability of the continuous space that can apply for is just bigger, thereby can deposit more market data.
Fig. 3 is a structural diagram of another market data communication device according to an embodiment of the present disclosure, and as shown in fig. 3, the device includes: a memory 20 for storing a computer program;
the processor 21 is configured to implement the steps of the communication method for implementing the routine data as described above when executing the computer program.
The communication device for market data provided by the embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, or a desktop computer.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The Processor 21 may be implemented in hardware using at least one of a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), and a Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a Graphics Processing Unit (GPU) which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 21 may further include an Artificial Intelligence (AI) processor for processing computational operations related to machine learning.
The memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing the following computer program 201, wherein after being loaded and executed by the processor 21, the computer program can implement the relevant steps of the communication method of market data disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among others, Windows, Unix, Linux, and the like. Data 203 may include, but is not limited to, market data, and the like.
In some embodiments, the device for communicating market data may further include a display 22, an input/output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
Those skilled in the art will appreciate that the configuration shown in fig. 3 is not intended to be limiting as to the communication means for market data and may include more or fewer components than those shown.
The communication device for market data provided by the embodiment of the application comprises a memory and a processor, wherein when the processor executes a program stored in the memory, the following method can be realized: acquiring market data sent by hardware equipment; applying for a cache space according to a pre-reserved cache address and the sending density of market data; storing the market data into a cache space so as to be taken out by a server conveniently; and if the market data sent by the hardware equipment is not acquired within the preset time, releasing the cache space.
The communication device of market data that this application embodiment provided, for among the prior art, continuous buffer memory space is not enough and can't apply for sufficient buffer memory space and deposit data, adopt this technical scheme, can reserve the buffer memory address after the memory initialization, after the market data that receives hardware equipment and send, apply for buffer memory space according to the buffer memory address of reserving and the transmission density of market data, because the buffer memory address is the well and continuous address of reserving in advance, this space can not shared by other data, can release the buffer memory space of applying for after no longer receiving data, still can apply for buffer memory space from the buffer memory address of reserving in the follow-up use, so the probability of the continuous space that can apply for is just bigger, thereby can deposit more market data.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The communication method, device and medium for market data provided by the present application are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A communication method of market data is characterized by comprising the following steps:
acquiring market data sent by hardware equipment;
applying for a cache space according to a pre-reserved cache address and the sending density of the market data;
storing the market data into the cache space so as to be taken out by a server conveniently;
and if the market data sent by the hardware equipment is not acquired within the preset time, releasing the cache space.
2. The communication method of market data according to claim 1, wherein the cache address is a low address.
3. The communication method of market data according to claim 1, further comprising, after the step of applying for a buffer space according to the pre-reserved buffer address and the transmission density of the market data:
configuring the size and the number of protocol nodes in the cache space according to the sending density of the market data;
correspondingly, the storing the market data into the cache space is as follows: and storing the market data into the protocol node of the cache space.
4. The method of communicating market data according to claim 3, further comprising: and judging whether the market data are completely written into the current protocol node, if so, marking the market data in the current protocol node by the actual length of the market data, and if not, marking the market data in the current protocol node by a characteristic value.
5. The communication method of market data according to claim 4, wherein after the step of determining whether the market data is written into the current protocol node, the method further comprises:
and comparing whether the number of the protocol nodes occupied by the quotation data acquired from the hardware equipment and the quotation data taken out by the server is consistent or not, and if not, discarding the quotation data.
6. The communication method of market data according to claim 5, wherein whether the number of the protocol nodes occupied by the market data acquired from the hardware device and the market data retrieved by the server is the same or not further comprises:
and judging whether the protocol node is a continuous node or not, and if not, discarding the market data.
7. The method of communicating market data according to claim 3, further comprising:
and sending a transmission notice to the hardware equipment under the condition that the server takes data at a preset protocol node.
8. A device for communicating market data, comprising:
the acquisition module is used for acquiring market data sent by the hardware equipment;
the application module is used for applying for a cache space according to a pre-reserved cache address and the sending density of the market data;
the storage module is used for storing the market data into the cache space so as to be taken out by the server conveniently;
and the releasing module is used for releasing the cache space if the market data sent by the hardware equipment is not acquired within the preset time.
9. A communication device for market data, comprising a memory for storing a computer program;
processor for implementing the steps of the method for communication of market data according to any one of claims 1 to 7 when executing said computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method for communicating market data according to any one of claims 1 to 7.
CN202210502760.7A 2022-05-10 2022-05-10 Communication method, device and medium for market data Pending CN114860446A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210502760.7A CN114860446A (en) 2022-05-10 2022-05-10 Communication method, device and medium for market data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210502760.7A CN114860446A (en) 2022-05-10 2022-05-10 Communication method, device and medium for market data

Publications (1)

Publication Number Publication Date
CN114860446A true CN114860446A (en) 2022-08-05

Family

ID=82636565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210502760.7A Pending CN114860446A (en) 2022-05-10 2022-05-10 Communication method, device and medium for market data

Country Status (1)

Country Link
CN (1) CN114860446A (en)

Similar Documents

Publication Publication Date Title
US11307769B2 (en) Data storage method, apparatus and storage medium
CN103221995B (en) Stream translation in display tube
CN109582223B (en) Memory data migration method and device
CN110389905B (en) Resource release method, resource allocation method, device and computer program product
CN111625546B (en) Data writing method, device, equipment and medium
CN111813713B (en) Data acceleration operation processing method and device and computer readable storage medium
WO2023134128A1 (en) Video compression processing method, device, and medium
EP2919120A1 (en) Memory monitoring method and related device
CN103514140B (en) For realizing the reconfigurable controller of configuration information multi-emitting in reconfigurable system
CN111124282A (en) Storage method, storage device and storage equipment in object storage system
WO2024027140A1 (en) Data processing method and apparatus, and device, system and readable storage medium
CN114860446A (en) Communication method, device and medium for market data
CN114610243A (en) Thin volume conversion method, system, storage medium and equipment
CN109992198B (en) Data transmission method of neural network and related product
CN111090633A (en) Small file aggregation method, device and equipment of distributed file system
CN109189339B (en) Automatic configuration cache acceleration method under storage system
CN111176571A (en) Method, device, equipment and medium for managing local object
CN111142795A (en) Control method, control device and control equipment for write operation of distributed storage system
CN111625192B (en) Metadata object access method, device, equipment and medium
CN116467235B (en) DMA-based data processing method and device, electronic equipment and medium
CN112003860B (en) Memory management method, system and medium suitable for remote direct memory access
CN113986134B (en) Method for storing data, method and device for reading data
CN115525219A (en) Object data storage method, device and medium
CN115629713A (en) Data synchronization method, device, equipment and medium
US10747672B2 (en) Managing a datalog space of a data cache

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