CN114416331A - Data transmission method and device between microservices, computer equipment and storage medium - Google Patents

Data transmission method and device between microservices, computer equipment and storage medium Download PDF

Info

Publication number
CN114416331A
CN114416331A CN202111455009.8A CN202111455009A CN114416331A CN 114416331 A CN114416331 A CN 114416331A CN 202111455009 A CN202111455009 A CN 202111455009A CN 114416331 A CN114416331 A CN 114416331A
Authority
CN
China
Prior art keywords
data
transmission
target
format
transmitted
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
CN202111455009.8A
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.)
Beijing Lewo Wuxian Technology Co ltd
Original Assignee
Beijing Lewo Wuxian Technology 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 Beijing Lewo Wuxian Technology Co ltd filed Critical Beijing Lewo Wuxian Technology Co ltd
Priority to CN202111455009.8A priority Critical patent/CN114416331A/en
Publication of CN114416331A publication Critical patent/CN114416331A/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/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Abstract

The present disclosure provides a method, an apparatus, a computer device and a storage medium for data transmission between micro-services, the method comprising: receiving a data transmission request; acquiring data to be transmitted according to the data transmission request; processing data to be transmitted according to a preset data transmission format to obtain target transmission data; and sending the target transmission data to a data receiver, wherein the data sender and the data receiver correspond to different micro services respectively. According to the method and the device, the data to be transmitted can be processed and sent according to the preset data transmission format, the processed target transmission data can occupy less storage resources, light-weight data transmission is achieved, transmission bandwidth is saved, occupation of data transmission between micro services to memory resources is reduced, memory space is saved, and data transmission efficiency between the micro services is effectively improved.

Description

Data transmission method and device between microservices, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of computer application technologies, and in particular, to a method and an apparatus for data transmission between microservices, a computer device, and a storage medium.
Background
In the technical field of computer application, a data transmission Protocol between micro services is generally implemented based on a hypertext Transfer Protocol (HTTP), and by sending a data transmission request, processing data to be transmitted by using a fixed data exchange format, and receiving and storing a data return result.
In this way, the data to be transmitted is processed by using a fixed data exchange format, and the returned result of the data is received and stored, which usually occupies more software and hardware storage resources and affects the data transmission efficiency.
Disclosure of Invention
The present disclosure is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, an object of the present disclosure is to provide a method, an apparatus, a computer device, a storage medium, and a computer program product for data transmission between micro services, which can process and send data to be transmitted according to a preset data transmission format, so that the processed target transmission data occupies less storage resources, thereby achieving lightweight data transmission, saving transmission bandwidth, reducing the occupation of data transmission between micro services on the storage resources, saving memory space, and effectively improving the data transmission efficiency between micro services.
The method for transmitting data between micro-services provided by the embodiment of the first aspect of the disclosure is applied to a data sender, and includes: receiving a data transmission request; acquiring data to be transmitted according to the data transmission request; processing the data to be transmitted according to a preset data transmission format to obtain target transmission data; and sending the target transmission data to a data receiving party, wherein the data sending party and the data receiving party respectively correspond to different micro services.
According to the data transmission method between the micro-services provided by the embodiment of the first aspect of the disclosure, by receiving a data transmission request, obtaining data to be transmitted according to the data transmission request, processing the data to be transmitted according to a preset data transmission format to obtain target transmission data, and sending the target transmission data to a data receiver, wherein the data sender and the data receiver respectively correspond to different micro-services, and can process and send the data to be transmitted according to the preset data transmission format, so that the processed target transmission data can occupy less storage resources, lightweight data transmission is realized, transmission bandwidth is saved, occupation of memory resources by data transmission between the micro-services is reduced, memory space is saved, and data transmission efficiency between the micro-services is effectively improved.
The data transmission method between the micro-services provided by the embodiment of the second aspect of the disclosure is applied to a data receiving party, and includes: receiving target transmission data sent by a data sender, wherein the target transmission data is obtained by processing data to be transmitted by the data sender according to a preset data transmission format; and processing the target transmission data according to a target data processing method corresponding to the preset data transmission format to obtain the data to be transmitted, wherein the data sender and the data receiver respectively correspond to different micro services.
The data transmission method between the micro-services according to the embodiment of the second aspect of the present disclosure includes, by receiving target transmission data sent by a data sender, wherein, the target transmission data is obtained by processing the data to be transmitted by the data sender according to the preset data transmission format, processing the target transmission data according to a target data processing method corresponding to a preset data transmission format to obtain data to be transmitted, wherein, the data sender and the data receiver correspond to different micro-services respectively, because the received data to be transmitted is processed by adopting the target data processing method corresponding to the preset data transmission format, therefore, the method can support receiving of data to be transmitted in various data formats, guarantee accuracy of data transmission to be transmitted, improve flexibility of data transmission to be transmitted, reduce occupation of stored data in a data transmission process and improve data transmission efficiency.
The data transmission device between micro-services provided by the embodiment of the third aspect of the disclosure is applied to a data receiving party, and includes: the first receiving module is used for receiving a data transmission request; the first acquisition module is used for acquiring data to be transmitted according to the data transmission request; the first processing module is used for processing the data to be transmitted according to a preset data transmission format so as to obtain target transmission data; and the sending module is used for sending the target transmission data to a data receiving party, wherein the data sending party and the data receiving party respectively correspond to different micro services.
According to the data transmission device between the micro services provided by the embodiment of the third aspect of the disclosure, by receiving a data transmission request, obtaining data to be transmitted according to the data transmission request, processing the data to be transmitted according to a preset data transmission format to obtain target transmission data, and sending the target transmission data to a data receiver, wherein the data sender and the data receiver respectively correspond to different micro services, and can process and send the data to be transmitted according to the preset data transmission format, so that the processed target transmission data occupies less storage resources, lightweight data transmission is realized, transmission bandwidth is saved, occupation of memory resources by data transmission between the micro services is reduced, memory space is saved, and data transmission efficiency between the micro services is effectively improved.
The data transmission device between micro services provided by the embodiment of the fourth aspect of the present disclosure is applied to a data receiving party, and includes: the second receiving module is used for receiving target transmission data sent by a data sending party, wherein the target transmission data is obtained by processing data to be transmitted by the data sending party according to a preset data transmission format; and the second processing module is used for processing the target transmission data according to a target data processing method corresponding to the preset data transmission format so as to obtain the data to be transmitted, wherein the data sender and the data receiver respectively correspond to different micro services.
The data transmission device between micro-services according to the fourth aspect of the present disclosure, by receiving the target transmission data sent by the data sender, wherein, the target transmission data is obtained by processing the data to be transmitted by the data sender according to the preset data transmission format, processing the target transmission data according to a target data processing method corresponding to a preset data transmission format to obtain data to be transmitted, wherein, the data sender and the data receiver correspond to different micro-services respectively, because the received data to be transmitted is processed by adopting the target data processing method corresponding to the preset data transmission format, therefore, the method can support receiving of data to be transmitted in various data formats, guarantee accuracy of data transmission to be transmitted, improve flexibility of data transmission to be transmitted, reduce occupation of stored data in a data transmission process and improve data transmission efficiency.
A fifth aspect of the present disclosure provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the program to implement a data transmission method between micro services as set forth in the first aspect of the present disclosure, or to implement a data transmission method between micro services as set forth in the second aspect of the present disclosure.
A sixth aspect of the present disclosure provides a non-transitory computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements a method for data transmission between micro-services as set forth in the first aspect of the present disclosure, or implements a method for data transmission between micro-services as set forth in the second aspect of the present disclosure.
A seventh aspect of the present disclosure proposes a computer program product, which when being executed by an instruction processor, executes a method for data transmission between microservices as set forth in the first aspect of the present disclosure, or implements a method for data transmission between microservices as set forth in the second aspect of the present disclosure.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the disclosure.
Drawings
The foregoing and/or additional aspects and advantages of the present disclosure will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart illustrating a data transmission method between microservices according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a data transmission method between microservices according to another embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a data transmission method between microservices according to another embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a data transmission method between microservices according to another embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a data transmission apparatus between microservices according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a data transmission device between microservices according to another embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a data transmission device between microservices according to another embodiment of the present disclosure;
FIG. 8 illustrates a block diagram of an exemplary computer device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
Reference will now be made in detail to the embodiments of the present disclosure, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of illustrating the present disclosure and should not be construed as limiting the same. On the contrary, the embodiments of the disclosure include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
Fig. 1 is a flowchart illustrating a data transmission method between microservices according to an embodiment of the present disclosure.
It should be noted that the main execution body of the data transmission method between micro services in this embodiment is a data transmission device between micro services, the device may be implemented by software and/or hardware, the device may be configured in a computer device, and the computer device may include, but is not limited to, a terminal, a server, and the like.
The present embodiment may be applied to a data sender, where the data sender may be a micro server, the micro server has a stack (the stack includes a database and a data model), the micro servers may communicate with each other through a combination of a data interface, an event stream, and a message broker, and the micro server for transmitting data to be transmitted may be referred to as a data sender, and when the data sender transmits and forwards data to be transmitted, the data sender may specifically forward the data to be transmitted to a data receiver as a transmission target, which is not limited herein.
As shown in fig. 1, the method for transmitting data between microservices includes:
s101: a data transmission request is received.
The data transmission request is used for requesting to forward data to be transmitted, and the data to be transmitted can be obtained by analyzing the data transmission request.
In the embodiment of the disclosure, when receiving a data transmission request, a data transmission interface may be configured on a data transmission device between micro services configured by a data sender, the data transmission request is received via the data transmission interface, and then data to be transmitted may be obtained by parsing the data transmission request, the data sender transmits the data to be transmitted to a data receiver as a transmission target, and then the data sender may dynamically monitor whether the data transmission request is received, and if so, may directly obtain the data to be transmitted by parsing the data transmission request, and trigger a subsequent data transmission processing logic.
Or, the data sender may receive a data transmission request forwarded by another electronic device, and parse the data transmission request to obtain data to be transmitted, and trigger a subsequent data transmission processing logic, which is not limited herein.
S102: and acquiring the data to be transmitted according to the data transmission request.
The data to be transmitted refers to data to be transmitted and forwarded, and the data to be transmitted may be service data or data in any other possible scenario, which is not limited to this.
In the embodiment of the present disclosure, when data to be transmitted is obtained according to a data transmission request, the data transmission request may be analyzed to obtain a Uniform Resource Locator (URL) and a parameter obtained by analyzing in the data transmission request, the data to be transmitted is obtained by using the URL, and the parameter may be used to identify a data receiving party serving as a transmission target.
In other embodiments, the data transmission request may be analyzed to obtain a request header and a request body of the data transmission request, an address of a data receiver as a transmission target is obtained by analyzing the request header, data is read from the request body, and the read data is processed, for example, data format conversion may be performed on the read data, and the processed data is used as data to be transmitted, which is not limited thereto.
S103: and processing the data to be transmitted according to a preset data transmission format to obtain target transmission data.
The preset data transmission format is a data forwarding format which is defined in advance for data to be transmitted and can be used for data transmission between the microservices, the preset data transmission format is used for processing the data to be transmitted to obtain target transmission data, and the preset processing transmission format may be, for example, a binary format, or the preset data transmission format may also be a json javascript object notification (json javascript object notification) data format, an Extensible markup Language data format, or the like (XML), which is not limited herein.
In the embodiment of the disclosure, when the data to be transmitted is processed according to the preset data transmission format to obtain the target transmission data, a mode file can be generated according to the defined preset data transmission format, processing the data format of the data to be transmitted into a data transmission format under the constraint of the mode file according to the mode file, taking the processed data to be transmitted as target transmission data, or after processing the data to be transmitted according to the preset data transmission format, converting the data to be transmitted into the data of the preset data transmission format, the data to be transmitted after the compression processing and the data decompression method are jointly used as target transmission data, or processing the data to be transmitted according to the preset data transmission format by adopting any other possible mode to obtain the target transmission data.
In other embodiments, the data naming structure of the data item in the data to be transmitted may be modified according to the preset data transmission structure, the arrangement position of the data item in the data to be transmitted is agreed in advance, the data naming of the data item in the data to be transmitted is deleted, and the processed data to be transmitted is used as the target transmission data, or a corresponding third-party toolkit may be selected according to the preset data transmission structure to package the data to be transmitted, so that the packaged data to be transmitted is obtained and used as the target transmission data.
In the embodiment of the disclosure, after receiving a data transmission request, obtaining data to be transmitted according to the data transmission request, and processing the data to be transmitted according to a preset data transmission format to obtain target transmission data, the target transmission data may be triggered to be transmitted from a data transmitter to a data receiver.
S104: and sending the target transmission data to a data receiver, wherein the data sender and the data receiver correspond to different micro services respectively.
The embodiment of the present disclosure may send the target transmission data to the data receiver after the data to be transmitted is processed according to the preset data transmission format to obtain the target transmission data.
In the embodiment of the disclosure, a data sender and a data receiver correspond to different micro services respectively, when target transmission data is sent to the data receiver, the data sender responds to a data transmission request, the target transmission data is transmitted to the data receiver through an application program process interface of the micro service, and after the micro service corresponding to the data receiver receives the target transmission data through the corresponding application program process interface, the target transmission data can be correspondingly processed to obtain data to be transmitted sent by the data sender.
In other embodiments, when sending the target transmission data to the data receiver, the micro service corresponding to the data sender may write the target transmission data into the message queue, the data receiver responds to the data transmission request and reads the target transmission data in the message queue, and after receiving the target transmission data, the data receiver may perform corresponding processing on the target transmission data to obtain the data to be transmitted sent by the data sender, where the data sender and the data receiver correspond to different micro services, respectively, or may send the target transmission data from the micro service corresponding to the data sender to the micro service corresponding to the data receiver in any other possible manner, which is not limited herein.
In this embodiment, a data transmission request is received, data to be transmitted is obtained according to the data transmission request, the data to be transmitted is processed according to a preset data transmission format to obtain target transmission data, and the target transmission data is sent to a data receiving party, wherein a data sending party and the data receiving party correspond to different micro services respectively, the data to be transmitted can be processed and sent according to the preset data transmission format, so that the processed target transmission data occupies less storage resources, lightweight data transmission is achieved, transmission bandwidth is saved, occupation of data transmission between the micro services to memory resources is reduced, memory space is saved, and data transmission efficiency between the micro services is effectively improved.
Fig. 2 is a flowchart illustrating a data transmission method between microservices according to another embodiment of the disclosure.
The execution main body of this embodiment is a data sending party, and for example, the description of the data sending party may specifically refer to the above, which is not described herein again.
As shown in fig. 2, the method for transmitting data between microservices includes:
s201: a data transmission request is received.
S202: and acquiring the data to be transmitted according to the data transmission request.
For the description of S201-S202, reference may be made to the above embodiments, which are not described herein again.
S203: and acquiring a preset mode file corresponding to the data sender, wherein data transmission protocols between different micro services respectively corresponding to the data sender and the data receiver are defined in the preset mode file.
The preset mode file can be a data format constraint which is preset for data to be transmitted, data transmission protocols between different micro services corresponding to a data sender and a data receiver can be defined through the preset mode file, and the data format of the data to be transmitted is converted into the data format of a corresponding preset mode according to the preset mode file.
The data transmission protocol is used for defining communication rules between different micro services corresponding to a data sender and a data receiver respectively, and can be used for defining an interaction mode required to be adopted when different micro services communicate, a calling mode between the micro services and the like.
In the embodiment of the disclosure, when the preset mode file corresponding to the data sender is obtained, the preset mode file corresponding to the data sender may be generated by using the mode file generator, or the preset mode file corresponding to the data sender may be reversely generated according to the data structure of the data to be transmitted.
In the embodiment of the disclosure, when a data transmission protocol between different micro services respectively corresponding to a data sender and a data receiver is defined in a preset mode file, a corresponding structural body may be written in the preset mode file by using a computer programming language to define the data transmission protocol between the different micro services respectively corresponding to the data sender and the data receiver.
For example, the structure data may be written in a preset mode file by using a computer programming language, and the structure may include an identity number, an equipment type, a data source, a data expiration time, and the like of the microservices during data transmission between the microservices, which is not limited thereto.
S204: and analyzing the data transmission protocol to obtain a preset data transmission format.
After the data transmission protocols between the different micro services respectively corresponding to the data sender and the data receiver are defined in the preset mode file, the data transmission protocols can be analyzed to obtain a preset data transmission format.
In the embodiment of the present disclosure, when the data transmission protocol is analyzed, the code automatic generation tool may be used to analyze corresponding structure data written in the computer programming language in the preset mode file to obtain a data transmission format corresponding to the target transmission data, and the data transmission format obtained through analysis is used as the preset data transmission format.
S205: a computer programming language type for implementing the microservice is determined.
The micro-services corresponding to the data sender and the data receiver are implemented by using a computer programming language, and the micro-services implemented by different computer programming language types can adopt the same or different data processing methods when processing data to be transmitted, and are used for implementing the micro-service computer programming language type, such as a golong programming language, a c language or any other types of computer programming languages, without limitation.
In the embodiment of the present disclosure, when determining the computer programming language type for implementing the micro service, the computer programming language type for implementing the micro service may be determined according to an architecture mode of the micro service, or the computer programming language type used when writing the data transmission protocol between the micro services in the preset mode file may be directly determined, and then, according to the corresponding computer programming language type, a target data processing method corresponding to the preset data transmission format may be generated, and a data transmission logic between subsequent micro services is triggered, which may specifically show the subsequent embodiments.
S206: and generating a target data processing method corresponding to a preset data transmission format according to the type of the computer programming language.
The target data processing method is used for processing the data to be transmitted before data transmission, the processed data to be transmitted can be used as target transmission data, the target data processing method can include a specific implementation method for analyzing a data transmission protocol to obtain a preset data transmission format, a data compression method and a data decompression method for the preset data transmission format, or can also include a data filtering and standardized processing method for the data to be transmitted, and the like, and the target data processing method is not limited.
After the computer programming language type for realizing the micro service is determined, a target data processing method corresponding to a preset data transmission format can be generated according to the computer programming language type.
When the target data processing method corresponding to the preset data transmission format is generated according to the computer programming language type, a code automatic generation tool can be used for generating a tool package for the programming language corresponding to the computer programming language type, and the tool package can include a specific implementation method for analyzing a data transmission protocol to obtain the preset data transmission format, and a data compression method and a data decompression method for the preset data transmission format.
For example, a specific implementation method for analyzing a data transmission protocol to obtain a preset data transmission format may be defined and generated in a tool kit, and a compression function and a decompression function corresponding to the preset data transmission format may be used as a target data processing method, a Marshal function may be defined as a compression function corresponding to the preset data transmission format, an umarshal function may be defined as a decompression function corresponding to the preset data transmission format, and a method for obtaining a total length of a structure corresponding to the data transmission format may be defined.
S207: and processing the data to be transmitted according to the target data processing method to obtain target transmission data.
After the target data processing method corresponding to the preset data transmission format is generated according to the computer programming language type, the data to be transmitted can be processed according to the target data processing method to obtain the target transmission data.
In the embodiment of the disclosure, when the data to be transmitted is processed according to the target data processing method, the data to be transmitted may be subjected to data transmission format conversion processing according to a preset transmission format, and the processed data to be transmitted may be subjected to data compression processing, and the compressed data to be transmitted may be used as the target transmission data.
Optionally, in some embodiments, the data to be transmitted corresponds to an initial format, and the target data processing method includes: according to the compression method of the target format, the storage resources occupied by the target format are smaller than the storage resources occupied by the initial format, when the data to be transmitted is processed according to the target data processing method to obtain the target transmission data, the data to be transmitted in the initial format can be compressed into the target transmission data in the target format according to the compression method, the data to be transmitted is compressed to a large extent, the occupation of the data to be transmitted on the storage resources can be reduced to a large extent, the excessive occupation of the data on transmission bandwidth resources is saved, and therefore the data transmission efficiency among micro services is effectively improved in an auxiliary mode.
The initial format refers to an original data format of data to be transmitted before compression processing is performed on the data to be transmitted, the original data format may be a data format of original service data, the target format refers to a data format of data to be transmitted which is converted into target transmission data after compression processing is performed on the data to be transmitted, the target format may be a binary format or the like, and storage resources occupied by the target transmission data in the target format are smaller than storage resources occupied by the data to be transmitted in the initial format.
In the embodiment of the disclosure, when the data to be transmitted is processed according to the target data processing method to obtain the target transmission data, the target data processing method may compress the data to be transmitted in the initial format according to the compression method in the target format, convert the data to be transmitted in the initial format into the target transmission data in the target format, and then trigger transmission of the target transmission data in the target format.
For example, after a target format compression method corresponding to a preset data transmission format is generated according to a computer programming language type, the target format compression method may be invoked to compress the data to be transmitted in the initial format, the data to be transmitted in the initial format is converted into target transmission data in the target format, the target transmission data in the target format may be data in a binary format, and the processed target transmission data in the target format is sent to a data receiving party.
S208: and sending the target transmission data to a data receiver, wherein the data sender and the data receiver correspond to different micro services respectively.
For the description of S208, reference may be made to the above embodiments, which are not described herein again.
Optionally, in some embodiments, the target data processing method further includes: when the target transmission data are sent to a data receiver, the target transmission data and a decompression method of a target format can be jointly sent to the data receiver by adopting the target transmission protocol, wherein the target format can be a binary format, so that after the data receiver receives the target transmission data, the data receiver can be triggered to decompress the target transmission data according to the decompression method of the target format to restore the target transmission data to obtain the data to be transmitted.
The target data processing method further comprises the following steps: the target transmission protocol defines a communication rule for sending target transmission data and a decompression method of a target format from a data sending party to a data receiving party.
In the embodiment of the disclosure, when the target transmission data is sent to the data receiving side, the target transmission data and the decompression method of the target format may be jointly sent to the data receiving side by using the target transmission protocol, and after the data receiving side receives the target transmission data and the decompression method of the target format, the target transmission data of the target format may be decompressed according to the decompression method of the target format, so as to obtain the data to be transmitted sent by the data sending side.
In the embodiment, the data transmission request is received, the data to be transmitted is obtained according to the data transmission request, the data to be transmitted is processed according to the preset data transmission format to obtain the target transmission data, and the target transmission data is sent to the data receiver, wherein the data sender and the data receiver respectively correspond to different micro-services and can process and send the data to be transmitted according to the preset data transmission format, so that the processed target transmission data occupies less storage resources, the lightweight data transmission is realized, the transmission bandwidth is saved, the occupation of memory resources by the data transmission among the micro-services is reduced, the memory space is saved, the data transmission efficiency among the micro-services is effectively improved, the data to be transmitted in the initial format is compressed into the target transmission data in the target format according to the compression method, and the data to be transmitted is compressed to a greater degree, the method can greatly reduce the occupation of the data to be transmitted on the storage resources, save the excessive occupation of the data on the transmission bandwidth resources, effectively assist in improving the data transmission efficiency among the micro services, support a data receiver to decompress the target transmission data according to the decompression method of the target format to obtain the data to be transmitted, save the bandwidth and the storage resources in the transmission process, and improve the flexibility of the data transmission among the micro services and widen the application universality of the data transmission among the micro services because the target data processing method can be adaptively generated according to the computer programming language for realizing the micro services.
Fig. 3 is a flowchart illustrating a method for data transmission between microservices according to another embodiment of the disclosure.
The execution main body of this embodiment may be a data receiver, the data receiver is a micro server that is a transmission target when the data sender sends data to be transmitted, and for a data transmission method between the data receiver and the data sender, reference may be made to the description in the above embodiments.
As shown in fig. 3, the method for transmitting data between microservices includes:
s301: and receiving target transmission data sent by a data sender, wherein the target transmission data is obtained by processing data to be transmitted by the data sender according to a preset data transmission format.
When the data sender sends the data to be transmitted, the data to be transmitted is processed according to a preset data transmission format to obtain target transmission data, then the data sender responds to a data transmission request, the target transmission data is transmitted to the data receiver through an application program process interface of the micro service to send the target transmission data to the data receiver, and then the data receiver can receive the target transmission data sent by the data sender through the corresponding application program process interface.
In the embodiment of the present disclosure, the data receiving party may receive the target transmission data through the application program interface of the corresponding micro service, and the data receiving party may dynamically monitor whether the target transmission data is received, and if the target transmission data is received, may trigger the subsequent data transmission processing logic.
In other embodiments, when the data sender sends the data to be transmitted, the data to be transmitted is processed according to a preset data transmission format to obtain target transmission data, then the target transmission data is written into the message queue by the data sender, the data receiver responds to the data transmission request and reads the target transmission data in the message queue to receive the target transmission data sent by the data sender, and the data receiver can dynamically monitor whether the target transmission data is received or not, and if so, the subsequent data transmission processing logic can be triggered.
S302: and processing the target transmission data according to a target data processing method corresponding to a preset data transmission format to obtain the data to be transmitted, wherein the data sender and the data receiver respectively correspond to different micro services.
In the embodiment of the disclosure, after the data receiving party receives the target transmission data sent by the data sending party through the corresponding application program process interface, the data format conversion processing may be performed on the target transmission data according to a target data processing method corresponding to a preset data transmission format to obtain the data to be transmitted sent by the data sending party.
In other embodiments, the data receiving side may read the target transmission data and the target data processing method corresponding to the preset data transmission format from the message queue, perform data decoding processing on the target transmission data in the message queue according to the target data processing method corresponding to the preset data transmission format, and perform corresponding data format conversion according to the preset data transmission format to obtain the to-be-transmitted data sent by the data sending side.
In this embodiment, target transmission data sent by a data sending party is received, where the target transmission data is obtained by processing data to be transmitted by the data sending party according to a preset data transmission format, and the target transmission data is processed according to a target data processing method corresponding to the preset data transmission format to obtain data to be transmitted, where the data sending party and the data receiving party correspond to different micro services respectively.
Fig. 4 is a flowchart illustrating a data transmission method between microservices according to another embodiment of the disclosure.
The execution main body of this embodiment is a data receiving party, and for example, the description of the data receiving party may specifically refer to the above, which is not described herein again.
As shown in fig. 4, the method for transmitting data between microservices includes:
s401: and receiving target transmission data sent by a data sender, wherein the target transmission data is obtained by processing data to be transmitted by the data sender according to a preset data transmission format.
For the description of S401, reference may be made to the foregoing embodiments, which are not described herein again.
S402: the decompression method of the target format is generated by the data sending party according to a preset data transmission format, the data to be transmitted corresponds to the initial format, and the storage resources occupied by the target format are smaller than the storage resources occupied by the initial format.
In the embodiment of the disclosure, when data transmission is performed by a data sending party, compression processing is performed on data to be transmitted in an initial format according to a compression method in a target format, the data to be transmitted in the initial format is converted into target transmission data in the target format, and a target transmission protocol is adopted to send the target transmission data and a decompression method in the target format to a data receiving party together.
In the embodiment of the disclosure, when the decompression method of the target format sent by the data sending party is received, the decompression method of the target format can be obtained according to the target transmission protocol between the micro-services corresponding to the data sending party and the data receiving party, and then the decompression processing can be performed on the received target transmission data according to the decompression method of the target format to obtain the data to be transmitted in the initial format, wherein the storage resource occupied by the target transmission data in the target format is smaller than the storage resource occupied by the data to be transmitted in the initial format.
S403: and decompressing the target transmission data according to the decompression method of the target format to obtain the data to be transmitted.
After the target transmission data and the decompression method corresponding to the target format are received, the target transmission data can be decompressed according to the decompression method of the target format, so that the data to be transmitted in the initial format can be obtained.
For example, after the data receiving side receives the target transmission data and the decompression method in the target format, the decompression method in the target format may be called to decompress the target transmission data, for example, the target transmission data in the target format being a binary format may be decompressed into the data to be transmitted in the initial format, and the predefined decompression function umarshal may be called to decompress the target transmission data, so as to obtain the data to be transmitted in the initial format.
Optionally, in some embodiments, the target format is a binary format, so that data transmission of compressed data in the binary format can be implemented between the micro services corresponding to the data sender and the data receiver, thereby reducing storage resource occupation during data transmission, saving transmission bandwidth, and effectively improving data transmission efficiency between the micro services.
In the embodiment, target transmission data sent by a data sending party is received, wherein the target transmission data is obtained by processing data to be transmitted by the data sending party according to a preset data transmission format, and the target transmission data is processed according to a target data processing method corresponding to the preset data transmission format to obtain the data to be transmitted, wherein the data sending party and the data receiving party respectively correspond to different micro services, and the received data to be transmitted is processed by adopting a target data processing method corresponding to the preset data transmission format, so that the data to be transmitted in various data formats can be received, the transmission accuracy of the data to be transmitted is ensured, the transmission flexibility of the data to be transmitted is improved, the occupation of stored data on resources in the data transmission process is reduced, the data transmission efficiency is improved, and the target format is a binary format, therefore, data transmission of compressed data in a binary format can be realized between the micro services respectively corresponding to the data sender and the data receiver, so that the transmission bandwidth can be saved, the data transmission efficiency between the micro services is effectively improved, and after the data receiver receives target transmission data in the binary format, the target transmission data can be decompressed by using a decompression method in the binary format to obtain the data to be transmitted, so that the transmission accuracy of the data to be transmitted is ensured, and the data transmission efficiency is improved.
Fig. 5 is a schematic structural diagram of a data transmission apparatus between microservices according to an embodiment of the present disclosure.
The embodiment is applied to a data sender, and the data sender is used for sending data to be transmitted.
As shown in fig. 5, the data transmission apparatus 50 between microservices includes:
a first receiving module 501, configured to receive a data transmission request;
a first obtaining module 502, configured to obtain data to be transmitted according to a data transmission request;
the first processing module 503 is configured to process data to be transmitted according to a preset data transmission format to obtain target transmission data;
a sending module 504, configured to send the target transmission data to a data receiving side, where the data sending side and the data receiving side correspond to different micro services respectively.
In some embodiments of the present disclosure, as shown in fig. 6, fig. 6 is a schematic structural diagram of a data transmission device between microservices according to another embodiment of the present disclosure, and further includes:
a second obtaining module 505, configured to obtain a preset mode file corresponding to a data sender before processing data to be transmitted according to a preset data transmission format to obtain target transmission data, where data transmission protocols between different micro services respectively corresponding to the data sender and the data receiver are defined in the preset mode file;
the parsing module 506 is configured to parse the data transmission protocol to obtain a preset data transmission format.
In some embodiments of the present disclosure, the first processing module 503 includes:
a determining sub-module 5031 for determining a computer programming language type for implementing the microservice;
a generating submodule 5032 for generating a target data processing method corresponding to the preset data transmission format according to the computer programming language type;
the processing sub-module 5033 is configured to process the data to be transmitted according to the target data processing method to obtain target transmission data.
In some embodiments of the present disclosure, the data to be transmitted corresponds to an initial format, and the target data processing method includes: the compression method of the target format, the storage resource occupied by the target format is smaller than that occupied by the initial format.
In some embodiments of the disclosure, the processing sub-module 5033 is specifically configured to:
and compressing the data to be transmitted in the initial format into target transmission data in a target format according to a compression method.
In some embodiments of the present disclosure, the target data processing method further comprises: the target transport protocol and the decompression method of the target format, wherein the sending module 504 is specifically configured to:
and sending the target transmission data and the decompression method of the target format to a data receiver together by adopting a target transmission protocol.
In some embodiments of the present disclosure, the target format is a binary format.
Corresponding to the data transmission method between the micro services provided in the embodiments of fig. 1 to 2, the present disclosure also provides a data transmission device between the micro services, and since the data transmission device between the micro services provided in the embodiments of the present disclosure corresponds to the data transmission method between the micro services provided in the embodiments of fig. 1 to 2, the implementation of the data transmission method between the micro services is also applicable to the data transmission device between the micro services provided in the embodiments of the present disclosure, and will not be described in detail in the embodiments of the present disclosure.
In this embodiment, a data transmission request is received, data to be transmitted is obtained according to the data transmission request, the data to be transmitted is processed according to a preset data transmission format to obtain target transmission data, and the target transmission data is sent to a data receiving party, wherein a data sending party and the data receiving party correspond to different micro services respectively, the data to be transmitted can be processed and sent according to the preset data transmission format, so that the processed target transmission data occupies less storage resources, lightweight data transmission is achieved, transmission bandwidth is saved, occupation of data transmission between the micro services to memory resources is reduced, memory space is saved, and data transmission efficiency between the micro services is effectively improved.
Fig. 7 is a schematic structural diagram of a data transmission apparatus between microservices according to an embodiment of the present disclosure.
The embodiment is applied to a data receiver, and the data receiver is a micro-service terminal which is used as a transmission target when a data sender forwards data to be transmitted.
As shown in fig. 7, the data transmission device 70 between microservices includes:
a second receiving module 701, configured to receive target transmission data sent by a data sender, where the target transmission data is obtained by processing data to be transmitted by the data sender according to a preset data transmission format;
a second processing module 702, configured to process the target transmission data according to a target data processing method corresponding to a preset data transmission format to obtain data to be transmitted, where a data sender and a data receiver correspond to different micro services respectively.
In some embodiments of the present disclosure, the second processing module 702 is specifically configured to:
the decompression method of the target format is generated by the data sender according to a preset data transmission format, the data to be transmitted corresponds to the initial format, and the storage resources occupied by the target format are smaller than the storage resources occupied by the initial format;
and decompressing the target transmission data according to the decompression method of the target format to obtain the data to be transmitted.
In some embodiments of the present disclosure, the target format is a binary format.
Corresponding to the data transmission method between the micro services provided in the embodiments of fig. 3 to 4, the present disclosure also provides a data transmission device between the micro services, and since the data transmission device between the micro services provided in the embodiments of the present disclosure corresponds to the data transmission method between the micro services provided in the embodiments of fig. 3 to 4, the implementation of the data transmission method between the micro services is also applicable to the data transmission device between the micro services provided in the embodiments of the present disclosure, and will not be described in detail in the embodiments of the present disclosure.
In this embodiment, target transmission data sent by a data sending party is received, where the target transmission data is obtained by processing data to be transmitted by the data sending party according to a preset data transmission format, and the target transmission data is processed according to a target data processing method corresponding to the preset data transmission format to obtain data to be transmitted, where the data sending party and the data receiving party respectively correspond to different micro services.
In order to implement the foregoing embodiments, the present disclosure also provides a computer device, including: the data transmission method between the microservices is provided by the embodiment of the disclosure when the processor executes the program.
In order to implement the above embodiments, the present disclosure also proposes a non-transitory computer-readable storage medium on which a computer program is stored, which when executed by a processor implements a data transmission method between microservices as proposed by the aforementioned embodiments of the present disclosure.
In order to implement the foregoing embodiments, the present disclosure further provides a computer program product, which when executed by an instruction processor in the computer program product, performs the data transmission method between microservices as set forth in the foregoing embodiments of the present disclosure.
FIG. 8 illustrates a block diagram of an exemplary computer device suitable for use in implementing embodiments of the present disclosure. The computer device 12 shown in fig. 8 is only one example and should not bring any limitations to the functionality or scope of use of the embodiments of the present disclosure.
As shown in FIG. 8, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. These architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, to name a few.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 28 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 30 and/or cache Memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 8, and commonly referred to as a "hard drive").
Although not shown in FIG. 8, a disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk Read Only Memory (CD-ROM), a Digital versatile disk Read Only Memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the disclosure.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally perform the functions and/or methodologies of the embodiments described in this disclosure.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Moreover, computer device 12 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the Internet) via Network adapter 20. As shown, the network adapter 20 communicates with the other modules of the computer device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, implementing the data transfer method between the microservices mentioned in the foregoing embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
It should be noted that, in the description of the present disclosure, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present disclosure, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present disclosure includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present disclosure.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present disclosure have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure, and that changes, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present disclosure.

Claims (10)

1. A method for data transmission between micro-services is applied to a data sender, and the method comprises the following steps:
receiving a data transmission request;
acquiring data to be transmitted according to the data transmission request;
processing the data to be transmitted according to a preset data transmission format to obtain target transmission data;
and sending the target transmission data to a data receiving party, wherein the data sending party and the data receiving party respectively correspond to different micro services.
2. The method of claim 1, wherein before the processing the data to be transmitted according to a preset data transmission format to obtain target transmission data, the method further comprises:
acquiring a preset mode file corresponding to the data sender, wherein data transmission protocols between different micro services respectively corresponding to the data sender and the data receiver are defined in the preset mode file;
and analyzing the data transmission protocol to obtain the preset data transmission format.
3. The method of claim 1, wherein the processing the data to be transmitted according to a preset data transmission format to obtain target transmission data comprises:
determining a computer programming language type for implementing the microservice;
generating a target data processing method corresponding to the preset data transmission format according to the computer programming language type;
and processing the data to be transmitted according to the target data processing method to obtain target transmission data.
4. The method of claim 3, wherein the data to be transmitted corresponds to an initial format, and the target data processing method comprises: a compression method for a target format, the target format occupying less storage resources than the initial format.
5. The method of claim 4, wherein the target data processing method further comprises: the target transmission protocol and the decompression method of the target format, wherein the sending of the target transmission data to a data receiver, comprise:
and sending the target transmission data and the decompression method of the target format to the data receiver together by adopting the target transmission protocol.
6. A method for data transmission between micro-services is applied to a data receiver, and the method comprises the following steps:
receiving target transmission data sent by a data sender, wherein the target transmission data is obtained by processing data to be transmitted by the data sender according to a preset data transmission format;
and processing the target transmission data according to a target data processing method corresponding to the preset data transmission format to obtain the data to be transmitted, wherein the data sender and the data receiver respectively correspond to different micro services.
7. An apparatus for transmitting data between micro-services, the apparatus being applied to a data transmitting side, the apparatus comprising:
the first receiving module is used for receiving a data transmission request;
the first acquisition module is used for acquiring data to be transmitted according to the data transmission request;
the first processing module is used for processing the data to be transmitted according to a preset data transmission format so as to obtain target transmission data;
and the sending module is used for sending the target transmission data to a data receiving party, wherein the data sending party and the data receiving party respectively correspond to different micro services.
8. An apparatus for data transmission between microservices, the apparatus being applied to a data receiver, the apparatus comprising:
the second receiving module is used for receiving target transmission data sent by a data sending party, wherein the target transmission data is obtained by processing data to be transmitted by the data sending party according to a preset data transmission format;
and the second processing module is used for processing the target transmission data according to a target data processing method corresponding to the preset data transmission format so as to obtain the data to be transmitted, wherein the data sender and the data receiver respectively correspond to different micro services.
9. A computer device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5 or to perform the method of claim 6.
10. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1-5 or to perform the method of claim 6.
CN202111455009.8A 2021-12-01 2021-12-01 Data transmission method and device between microservices, computer equipment and storage medium Pending CN114416331A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111455009.8A CN114416331A (en) 2021-12-01 2021-12-01 Data transmission method and device between microservices, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111455009.8A CN114416331A (en) 2021-12-01 2021-12-01 Data transmission method and device between microservices, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114416331A true CN114416331A (en) 2022-04-29

Family

ID=81264917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111455009.8A Pending CN114416331A (en) 2021-12-01 2021-12-01 Data transmission method and device between microservices, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114416331A (en)

Similar Documents

Publication Publication Date Title
CN108289060B (en) Data processing method and device based on RPC service
US8375094B2 (en) Creating a message readable by a plurality of heterogeneous recipients
EP3013015A1 (en) Packet compression method and apparatus
CN112532673B (en) Message sending method and device, computer readable storage medium and electronic equipment
US10218661B2 (en) Dynamic granular messaging persistence
CN111694797A (en) File uploading and analyzing method, device, server and medium
CN109257337B (en) Internet of things equipment protocol conversion method and lamp pole operation platform based on same
CN109067860B (en) Mobile terminal message processing method and related device
CN110888862A (en) Data storage method, data query method, data storage device, data query device, server and storage medium
CN112311720B (en) Data transmission method and device
CN114741261A (en) Distributed link tracking method, device, equipment and storage medium
CN110889880A (en) Map processing method, device, equipment and storage medium
CN114416331A (en) Data transmission method and device between microservices, computer equipment and storage medium
CN112689020A (en) Message transmission method, message middleware, electronic equipment and storage medium
CN111930385A (en) Data acquisition method, device, equipment and storage medium
WO2005081494A1 (en) Method and arrangement for state memory management
CN116303173A (en) Method, device and system for reducing RDMA engine on-chip cache and chip
CN114153698B (en) Display monitoring method, device, electronic equipment and readable storage medium
CN108289165B (en) Method and device for realizing camera control based on mobile phone and terminal equipment
CN112769741B (en) Message communication method and electronic equipment
CN115994156A (en) Method and system for real-time analysis of data streams
CN109995589B (en) Log collection method and system
US8112666B2 (en) Message producer with message type validation
CN112039801B (en) Method, system and proxy server for setting IP information
CN111080728A (en) Map processing 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