CN112667359A - Data transparent transmission method, electronic equipment and storage medium - Google Patents

Data transparent transmission method, electronic equipment and storage medium Download PDF

Info

Publication number
CN112667359A
CN112667359A CN202011630375.8A CN202011630375A CN112667359A CN 112667359 A CN112667359 A CN 112667359A CN 202011630375 A CN202011630375 A CN 202011630375A CN 112667359 A CN112667359 A CN 112667359A
Authority
CN
China
Prior art keywords
data
server
request data
processing
client
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.)
Granted
Application number
CN202011630375.8A
Other languages
Chinese (zh)
Other versions
CN112667359B (en
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.)
Shenzhen Consys Technology Co ltd
Original Assignee
Shenzhen Consys 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 Shenzhen Consys Technology Co ltd filed Critical Shenzhen Consys Technology Co ltd
Priority to CN202011630375.8A priority Critical patent/CN112667359B/en
Publication of CN112667359A publication Critical patent/CN112667359A/en
Application granted granted Critical
Publication of CN112667359B publication Critical patent/CN112667359B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The application discloses a data transparent transmission method, electronic equipment and a storage medium, and relates to the technical field of communication.

Description

Data transparent transmission method, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data transparent transmission method, an electronic device, and a storage medium.
Background
Transparent data transmission, which is transparent transmission, refers to a data transmission mode unrelated to the media, modem mode, transmission mode and transmission protocol of a transmission network, and is only responsible for transmitting the transmitted content from a source address to a destination address without changing the content of the service data regardless of the content of the transmitted service in the communication.
With the wide application of cloud computing technology, deploying software applications of users in a virtualization manner is a very mature software architecture mode at present. In the virtualization mode, a virtual computer carrier replaces a physical computer carrier, and a plurality of independent virtual computer running environments can be virtualized in a real physical computer through a virtualization technology, and such virtual computer running environments are generally called virtual machines.
And the problem of data packet sticking occurs in a data transparent transmission mode in a virtualization environment, communication connection and threads need to be frequently established, time consumption is long, and data transmission efficiency is affected.
Disclosure of Invention
The present application is directed to solving at least one of the problems in the prior art. Therefore, the data transparent transmission method can avoid the problem of data packet sticking and improve the transmission efficiency of data transparent transmission.
The application also provides another method for transmitting data.
The application also provides the electronic equipment with the data transparent transmission method.
The application also provides a computer readable storage medium with the data transparent transmission method.
According to the data transparent transmission method of the embodiment of the first aspect of the application, request data sent by an application program through calling a program interface of a virtual machine is obtained; establishing communication connection with a server through a preset communication protocol; and sending the request data to the server so that the server calls a server interface to perform data processing on the request data.
The data transparent transmission method provided by the embodiment of the application has at least the following beneficial effects: the request data sent by the application program through the program interface of the calling virtual machine is acquired, and after the communication connection is established with the server through the preset communication protocol, the request data is sent to the server, so that the server calls the server interface to perform data processing on the request data, the problem of data package sticking can be avoided, and the transmission efficiency of data transparent transmission is improved.
According to some embodiments of the application, the sending the request data to the server comprises: and judging whether the communication protocol adopted by the request data is consistent with the preset communication protocol, and if so, sending the request data to the server through the communication connection established with the server.
According to some embodiments of the application, further comprising: and if the communication connection established with the server through the preset communication protocol fails, returning a first error identifier to the application program, and performing error checking by the application program according to the first error identifier. According to some embodiments of the application, further comprising:
processing data returned by the server is obtained through the communication connection established with the server, and the processing data is generated after the server performs data processing on the request data;
analyzing the processed data to generate analyzed data;
and returning the analysis data to the application program so that the application program performs data analysis on the analysis data.
According to the data transparent transmission method of the embodiment of the second aspect of the application, the method comprises the following steps:
establishing communication connection with a client through a preset communication protocol;
acquiring request data sent by the client, wherein the request data is sent by calling a program interface of the virtual machine by the client through an application program;
and calling a server interface according to the request data to perform data processing on the request data.
The data transparent transmission method provided by the embodiment of the application has at least the following beneficial effects: after communication connection is established with a client through a preset communication protocol, request data sent by the client is obtained, the request data is sent by the client through calling a program interface of a virtual machine through an application program, and a server interface is called according to the request data to perform data processing on the request data, so that the problem of data packet sticking can be avoided, and the transmission efficiency of data transparent transmission is improved.
According to some embodiments of the present application, invoking a server interface to perform data processing on the request data according to the request data includes: performing data analysis on the request data to obtain an analysis result; calling a server interface according to the analysis result; acquiring a corresponding interface function according to the called server interface; and processing the request data according to the interface function.
According to some embodiments of the application, further comprising:
if the calling of the server interface according to the request data fails, generating a second error identification;
and sending the error identifier to the client so that the client analyzes the error identifier and returns the error identifier to the application program.
According to some embodiments of the present application, after processing the request data according to the interface function, the method further includes:
generating processing data according to the processing result of the request data and the preset communication protocol;
and sending the processing data to the client through the communication connection so that the client returns the processing data to the application program.
An electronic device according to an embodiment of a third aspect of the present application includes: at least one processor, and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions for execution by the at least one processor to cause the at least one processor to carry out the method of the first and second aspects when executing the instructions.
According to the electronic equipment of this application, have at least following beneficial effect: by executing the data transparent transmission method in the first and second embodiments, the problem of data packet sticking can be avoided, and the transmission efficiency of data transparent transmission can be improved.
A computer-readable storage medium according to an embodiment of the fourth aspect of the present application, the computer-readable storage medium storing computer-executable instructions for causing a computer to perform the data pass-through method according to the first and second aspects.
The computer-readable storage medium according to the present application has at least the following advantageous effects: by executing the data transparent transmission method in the first and second embodiments, the problem of data packet sticking can be avoided, and the transmission efficiency of data transparent transmission can be improved.
Additional aspects and advantages of the present application 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 present application.
Drawings
Fig. 1 is a system architecture diagram of a data transparent transmission method in an embodiment of the present application;
fig. 2 is a schematic first flow chart of a data transparent transmission method in an embodiment of the present application;
fig. 3 is a flowchart illustrating a specific process of step S150 of the data transparent transmission method in the embodiment of the present application;
fig. 4 is a second flow chart of the data transparent transmission method in the embodiment of the present application;
fig. 5 is a schematic flowchart illustrating a specific process of step S170 of the data transparent transmission method in the embodiment of the present application;
fig. 6 is a schematic diagram of a third flow of a data transparent transmission method in an embodiment of the present application;
fig. 7 is a flowchart illustrating a specific process of step S250 of the data transparent transmission method in the embodiment of the present application;
fig. 8 is a fourth flowchart illustrating a data transparent transmission method in an embodiment of the present application.
Reference numerals:
a client 100; a server 200.
Detailed Description
Reference will now be made in detail to embodiments of the present application, 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 function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
It should be noted that the logical order is shown in the flowcharts, but in some cases, the steps shown or described may be performed in an order different from the flowcharts. If the term "a number" is used, it is intended to mean more than one, if the term "a number" is used, it is intended to mean more than two, and if the term "less than one" is used, it is intended to include the number. The use of any and all examples, or exemplary language ("e.g.," such as "etc.), provided herein is intended merely to better illuminate embodiments of the application and does not pose a limitation on the scope of the application unless otherwise claimed. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
It is noted that, as used in the examples, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Furthermore, unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the term "and/or" includes any combination of one or more of the associated listed items.
Transparent data transmission, which is transparent transmission, refers to a data transmission mode unrelated to the media, modem mode, transmission mode and transmission protocol of a transmission network, and is only responsible for transmitting the transmitted content from a source address to a destination address without changing the content of the service data regardless of the content of the transmitted service in the communication.
With the wide application of cloud computing technology, deploying software applications of users in a virtualization manner is a very mature software architecture mode at present. In the virtualization mode, a virtual computer carrier replaces a physical computer carrier, and a plurality of independent virtual computer running environments can be virtualized in a real physical computer through a virtualization technology, and such virtual computer running environments are generally called virtual machines.
And the problem of data packet sticking occurs in a data transparent transmission mode in a virtualization environment, communication connection and threads need to be frequently established, time consumption is long, and data transmission efficiency is affected.
Based on this, the embodiment of the application provides a data transparent transmission method, an electronic device and a storage medium, which can avoid the problem of data package sticking and improve the transmission efficiency of data transparent transmission.
It should be noted that, in the embodiment of the present Application, as shown in fig. 1, a system architecture of a virtual machine for performing data transparent transmission is, in a virtualized environment, performing data transparent transmission with a transparent transmission server 200 through a virtualized network connection pool in a client 100, where a thread pool is provided in the transparent transmission server 200, and includes a plurality of processing threads, and a service device in each processing thread is connected with the transparent transmission server 200 through an Application Programming Interface (API) Interface to acquire transparent transmission data sent by the client 100.
According to the method and the system, through a virtualized transparent transmission technology, different virtualization platforms cross-platform call of a certain resource is realized, multiple nodes are supported to access the same resource, and resource call between a hardware platform and an operating system is realized.
In a first aspect, an embodiment of the present application provides a data transparent transmission method.
In some embodiments, referring to fig. 2, a flow diagram of a data transparent transmission method in an embodiment of the present application is shown. The method specifically comprises the following steps:
s110, acquiring request data sent by an application program through calling a program interface of a virtual machine;
s130, establishing communication connection with a server through a preset communication protocol;
s150, the request data is sent to the server, so that the server calls a server interface to perform data processing on the request data.
In step S110, in the embodiment of the present application, the application program requesting the existence of the client 100 calls the program interface of the virtual machine, and sends the request data through the program interface. The application program can load an interface function of the program interface by calling the program interface of the virtual machine, and the interface function is used for transmitting request data. The program interface refers to an API interface of the virtual machine, and the client 100 simulates an original program interface in a manner of simulating virtualization, so that the application program can call the simulated program interface to transfer the request data. In this embodiment, after the application program of the client 100 calls the program interface of the virtual machine, the application program can interface with the virtualized network connection pool through the program interface, and transmit the request data to the request data through the virtualized network connection pool.
In step S130, the client 100 establishes a communication connection with the server 200 through a preset communication Protocol, where the preset communication Protocol is a TCP/IP Protocol (Transmission Control Protocol/Internet Protocol ), and a Transmission channel between the client 100 and the server 200 is established through a specific communication Protocol, that is, a virtualized network connection pool as in fig. 1, so as to avoid a problem of data packet sticking in the case of high-concurrency data transparent Transmission. And by establishing the virtual network connection pool, the problems of high resource overhead and long transmission time caused by frequent establishment of communication connection when the subsequent client 100 and the server 200 perform data transparent transmission are avoided, and the resource consumption and the transmission efficiency are effectively reduced.
In some embodiments, if the client 100 fails to establish the communication connection with the server 200 through the preset communication protocol, the result of the establishment failure is generated into a first error identifier and returned to the application program, and after receiving the first error identifier, the application program performs error checking according to the first error identifier to obtain the reason of the failure in establishing the communication connection. The first error identification is identification data returned after the communication connection is failed to be established, and the application program can check the reason of the failure to be established according to the data structure of the identification data.
In step S150, the client 100 sends the request data to the server 200 through the established communication connection, and the server 200 calls the server interface to perform data processing on the request data through the server interface after receiving the request data.
In some embodiments, as shown in fig. 3, step S150 further includes the steps of:
s151, judging whether a communication protocol adopted by the request data is consistent with a preset communication protocol;
s152, if the request data are consistent with the request data, the request data are sent to the server through communication connection established with the server;
and S153, if the data are not consistent, returning the processing result to the client.
In step S151, when the client 100 receives the request data through the program interface and transmits the request data to the server 200, and when the communication connection with the server 200 is established and the request data is transmitted through the transmission channel of the communication connection, it is necessary to determine whether the communication protocol used by the request data matches the communication protocol of the transmission channel. The request data is guaranteed to belong to legal data by ensuring the consistency of the communication protocol of the request data and the communication protocol of the transmission channel.
In step S152, if the communication protocol used by the request data is consistent with the preset communication protocol, the client 100 sends the request data to the server 200 through the communication connection established with the server 200, enters the actual service phase of the server 200, and the server 200 performs the subsequent processing. Specifically, the client 100 selects a data channel of a specific device to be transmitted, and sends the request data to the server 200 through the data channel.
In step S153, if the communication protocol used by the requested data is not consistent with the preset communication protocol, a failed processing result is returned to the client 100, the client 100 analyzes the processing result, and analyzes the data structure of the processing result to obtain a specific error cause.
In the embodiment of the application, the data inspection is performed on the request data through the preset communication protocol, so that the problem that the network data is stuck to the package under the conditions of high load and high concurrency of the virtual machine is avoided, and the transmission efficiency of the data is improved.
In some embodiments, after the client 100 transmits the request data to the server 200 through the established communication connection, as shown in fig. 4, the data transparent transmission method in the embodiment of the present application specifically further includes:
step S160, determining whether the requested data is completely transmitted.
In step S160, it is determined whether the transmission of the request data is completed, and if the transmission is completed, the actual service stage of the server 200 is entered, that is, after the server 200 receives the request data, the server interface is called according to the request data to obtain a specified interface function, the request data is processed through the interface function, and finally the request data is transmitted to the service device with the same communication protocol for reception.
In some embodiments, after the server 200 calls the server interface to process the request data, as shown in fig. 5, the data transparent transmission method in the embodiment of the present application specifically includes the steps of:
s171, processing data returned by the server is obtained through the communication connection established with the server, and the processing data is generated after the server performs data processing on the request data;
s172, analyzing the processed data to generate analyzed data;
s173 returns the analysis data to the application program so that the application program performs data analysis on the analysis data.
In step S171, the client 100 acquires the processing data returned by the server 200, where the processing data is obtained by the server 200 calling a server interface and a corresponding interface function, processing the request data, packaging the processed data according to a protocol format of a transmission channel of the communication connection to generate processing data, and transmitting the processing data to the client 100 through a TCP/IP protocol. On the other hand, the processing data may be the request data which cannot be processed when the server 200 fails to call the server interface, so that the data identifying the failure result is packed according to the failure result and the protocol format of the transmission channel of the communication connection to generate the processing data, and the processing data is transmitted to the client 100 through the TCP/IP protocol.
In step S172, the client 100 parses the processed data, and parses the processed data through the standard function interface format, thereby generating parsed data.
In step S173, the client 100 returns the analysis data generated by the analysis to the application, and after the application acquires the analysis data, the analysis data is analyzed to obtain a processing result, and it is determined whether the server 200 has received the request data launched by the application.
The Transmission channel mentioned in the application embodiment is a Transmission channel with long link of a pipelined TCP/IP (Transmission Control Protocol/Internet Protocol), which can reduce the overhead of network Transmission to the maximum, realize pipelined processing and isolation of different interfaces, and ensure high availability and high reliability. The TCP/IP ensures the reliable and orderly transmission, and simultaneously, the long link is used to reduce the handshake overhead during network link as much as possible and use the network processing capacity as much as possible. The small data transparent transmission service is optimized, the small data based transparent transmission service has short message length and high real-time requirement, so that the interaction rate is improved by using long links and compressing the message interaction times, and the real-time performance of the small data is improved.
In the embodiment of the application, the request data sent by the application program through calling the program interface of the virtual machine is acquired, and after the communication connection is established with the server 200 through the preset communication protocol, the request data is sent to the server 200, so that the server 200 calls the server interface to perform data processing on the request data, the problem of data packet sticking can be avoided, and the transmission efficiency of data transparent transmission is improved.
In a second aspect, an embodiment of the present application further provides a data transparent transmission method.
In some embodiments, referring to fig. 6, a flow diagram of a data transparent transmission method in an embodiment of the present application is shown. The method specifically comprises the following steps:
s210, establishing communication connection with a client through a preset communication protocol;
s230, acquiring request data sent by the client, wherein the request data is sent by the client calling a program interface of the virtual machine through an application program;
and S250, calling a server interface according to the request data to perform data processing on the request data.
In step S210, the server 200 establishes a communication connection with the client 100 through a preset communication protocol, where the preset communication protocol is a TCP/IP protocol, and a transmission channel between the client 100 and the server 200 is established through a specific communication protocol, that is, a virtualized network connection pool as in fig. 1, so as to avoid the problem of data packet sticking in the case of high-concurrency data transparent transmission, and by establishing the virtualized network connection pool and using a multi-threaded thread pool at the server 200, the problems of high resource overhead and long transmission time caused by frequent new establishment of communication connections and threads can be solved, thereby effectively reducing resource consumption and transmission efficiency.
In step S230, the server 200 obtains request data sent by the client 100, where the request data is sent by the client 100 by using a program to call a program interface of a virtual machine, and specifically, the client 100 simulates an original program interface by simulating virtualization, so that an application program can call the simulated program interface to transfer the request data, and after the application program of the client 100 calls the program interface of the virtual machine, the application program can interface with a virtualized network connection pool through the program interface to transfer the request data into the request data through the virtualized network connection pool.
In step S250, the server 200 calls a server interface according to the request data, specifically, the server 200 parses the request data according to the data structure of the request data, and determines that the request data satisfies the call format of the interface function, so as to call the corresponding server interface, that is, select a designated interface function, and process the request data through the designated interface function.
In some embodiments, as shown in fig. 7, in step S250, the method specifically includes the steps of:
s251, performing data analysis on the request data to obtain an analysis result;
s252, calling a server interface according to the analysis result;
s253, acquiring a corresponding interface function according to the called server interface;
and S254, processing the request data according to the interface function.
In step S251, the server 200 parses the request data according to its data structure, and determines that the request data satisfies the calling format of the interface function, where the parsing result is the calling format of the interface function corresponding to the request data.
In step S252, the server 200 calls a corresponding server interface according to the data structure of the request data obtained by the analysis.
In step S253, an interface function of the server interface can be acquired according to the called server interface.
In step S254, the requested data is processed by the acquired interface function, so that the data transparent transmission with the client 100 is completed.
In some embodiments, the data transparent transmission method in the embodiments of the present application further includes: if the calling of the server interface according to the request data fails, generating a second error identification; the error flag is sent to the client 100, so that the client 100 can parse the error flag and return the error flag to the application program.
In a possible implementation example, when the server 200 fails to call a designated server interface, that is, an interface function, data identifying a failure result is packaged according to a protocol format of a transmission channel of a communication connection, a second error identifier is generated, the second error identifier is transmitted to the client 100 through the transmission channel of the communication connection, the client 100 analyzes the second error identifier, and an analysis result is returned to the application program for analysis, so as to obtain an error reason for data transparent transmission.
In some embodiments, after step S250, that is, after the server interface is called according to the request data to perform data processing on the request data, as shown in fig. 8, the method further includes the steps of:
and S260, generating processing data according to the processing result of the request data and a preset communication protocol, and sending the processing data to the client through communication connection so that the client returns the processing data to the application program.
In step S260, the server 200 calls a server interface and a corresponding interface function to process the request data, and then packages the processed data according to the protocol format of the transmission channel of the communication connection to generate processed data, which is transmitted to the client 100 through the TCP/IP protocol. The client 100 analyzes the processing data, analyzes the processing data through a standard function interface format to generate analysis data, the client 100 returns the analysis data generated by analysis to the application program, and the application program analyzes the analysis data to obtain a processing result after acquiring the analysis data, so as to determine whether the server 200 receives request data initiated by the application program.
In the embodiment of the application, after the communication connection with the client 100 is established through the preset communication protocol, the request data sent by the client 100 is acquired, the request data is sent by the client 100 through the application program calling the program interface of the virtual machine, and the server interface is called according to the request data to perform data processing on the request data, so that the problem of data packet sticking can be avoided, and the transmission efficiency of data transparent transmission is improved.
In a third aspect, an embodiment of the present application further provides an electronic device, including: at least one processor, and a memory communicatively coupled to the at least one processor;
the processor is configured to execute the data transparent transmission method in the first aspect embodiment or the second aspect embodiment by calling a computer program stored in the memory.
The memory, which is a non-transitory computer readable storage medium, may be used to store a non-transitory software program and a non-transitory computer executable program, such as the data transmission method in the first aspect embodiment or the second aspect embodiment of the present application. The processor implements the data pass-through method in the first or second aspect embodiment by executing the non-transitory software program and the instructions stored in the memory.
The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the data storage area may store data to perform the data transparent transmission method in the first aspect embodiment or the second aspect embodiment. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The non-transitory software programs and instructions required to implement the data pass-through method in the first aspect embodiment or the second aspect embodiment described above are stored in a memory, and when executed by one or more processors, perform the data pass-through method in the first aspect embodiment or the second aspect embodiment described above.
In a fourth aspect, embodiments of the present application further provide a computer-readable storage medium storing computer-executable instructions for: performing the data pass-through method of the first aspect embodiment or the second aspect embodiment;
in some embodiments, the computer-readable storage medium stores computer-executable instructions, which are executed by one or more control processors, for example, by one of the processors in the electronic device of the embodiment of the third aspect, and may cause the one or more processors to perform the data transparent transmission method of the embodiment of the first aspect or the embodiment of the second aspect.
The above described embodiments of the device are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
In the description herein, references to the description of the terms "some embodiments," "examples," "specific examples," or "some examples," etc., mean that a particular feature or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example.

Claims (10)

1. The data transparent transmission method is characterized by comprising the following steps:
acquiring request data sent by an application program through calling a program interface of a virtual machine;
establishing communication connection with a server through a preset communication protocol;
and sending the request data to the server so that the server calls a server interface to perform data processing on the request data.
2. The data pass-through method of claim 1, wherein the sending the request data to the server comprises:
and judging whether the communication protocol adopted by the request data is consistent with the preset communication protocol, and if so, sending the request data to the server through the communication connection established with the server.
3. The data pass-through method of claim 2, further comprising:
and if the communication connection established with the server through the preset communication protocol fails, returning a first error identifier to the application program, and performing error checking by the application program according to the first error identifier.
4. The data pass-through method of any of claims 1 to 3, further comprising:
processing data returned by the server is obtained through the communication connection established with the server, and the processing data is generated after the server performs data processing on the request data;
analyzing the processed data to generate analyzed data;
and returning the analysis data to the application program so that the application program performs data analysis on the analysis data.
5. The data transparent transmission method is characterized by comprising the following steps:
establishing communication connection with a client through a preset communication protocol;
acquiring request data sent by the client, wherein the request data is sent by the client calling a program interface of a virtual machine through an application program;
and calling a server interface according to the request data to perform data processing on the request data.
6. The data transparent transmission method according to claim 5, wherein invoking a server interface according to the request data to perform data processing on the request data comprises:
performing data analysis on the request data to obtain an analysis result;
calling a server interface according to the analysis result;
acquiring a corresponding interface function according to the called server interface;
and processing the request data according to the interface function.
7. The data pass-through method of claim 6, further comprising:
if the calling of the server interface according to the request data fails, generating a second error identification;
and sending the error identifier to the client so that the client analyzes the error identifier and returns the error identifier to the application program.
8. The data pass-through method of claim 7, further comprising, after processing the requested data according to the interface function:
generating processing data according to the processing result of the request data and the preset communication protocol;
and sending the processing data to the client through the communication connection so that the client returns the processing data to the application program.
9. An electronic 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 for execution by the at least one processor to cause the at least one processor, when executing the instructions, to implement the data pass-through method of any of claims 1 to 8.
10. A computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform the method of data passthrough according to any one of claims 1 to 8.
CN202011630375.8A 2020-12-30 2020-12-30 Data transparent transmission method, electronic equipment and storage medium Active CN112667359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011630375.8A CN112667359B (en) 2020-12-30 2020-12-30 Data transparent transmission method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011630375.8A CN112667359B (en) 2020-12-30 2020-12-30 Data transparent transmission method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112667359A true CN112667359A (en) 2021-04-16
CN112667359B CN112667359B (en) 2024-01-30

Family

ID=75412910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011630375.8A Active CN112667359B (en) 2020-12-30 2020-12-30 Data transparent transmission method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112667359B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500674A (en) * 2022-03-22 2022-05-13 康键信息技术(深圳)有限公司 Distributed system data transparent transmission method, device, storage medium and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559075A (en) * 2013-10-30 2014-02-05 华为技术有限公司 Data transmission method, device and system and internal storage device
CN105847142A (en) * 2016-03-22 2016-08-10 华为技术有限公司 Message transmission method and device
CN106713320A (en) * 2016-12-23 2017-05-24 腾讯科技(深圳)有限公司 Terminal data transmission method and device
CN107046495A (en) * 2016-02-06 2017-08-15 阿里巴巴集团控股有限公司 Methods, devices and systems for building VPN
CN109922053A (en) * 2019-02-22 2019-06-21 北京三快在线科技有限公司 Data transmission method, device, electronic equipment and readable storage medium storing program for executing
CN110971498A (en) * 2018-09-30 2020-04-07 北京京东尚科信息技术有限公司 Communication method, communication device, electronic apparatus, and storage medium
CN111338747A (en) * 2020-02-06 2020-06-26 视联动力信息技术股份有限公司 Data communication method, device, terminal equipment and storage medium
CN112118594A (en) * 2020-08-07 2020-12-22 深圳市圣麾科技有限公司 Data uploading method, data downloading method, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559075A (en) * 2013-10-30 2014-02-05 华为技术有限公司 Data transmission method, device and system and internal storage device
CN107046495A (en) * 2016-02-06 2017-08-15 阿里巴巴集团控股有限公司 Methods, devices and systems for building VPN
CN105847142A (en) * 2016-03-22 2016-08-10 华为技术有限公司 Message transmission method and device
CN106713320A (en) * 2016-12-23 2017-05-24 腾讯科技(深圳)有限公司 Terminal data transmission method and device
CN110971498A (en) * 2018-09-30 2020-04-07 北京京东尚科信息技术有限公司 Communication method, communication device, electronic apparatus, and storage medium
CN109922053A (en) * 2019-02-22 2019-06-21 北京三快在线科技有限公司 Data transmission method, device, electronic equipment and readable storage medium storing program for executing
CN111338747A (en) * 2020-02-06 2020-06-26 视联动力信息技术股份有限公司 Data communication method, device, terminal equipment and storage medium
CN112118594A (en) * 2020-08-07 2020-12-22 深圳市圣麾科技有限公司 Data uploading method, data downloading method, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500674A (en) * 2022-03-22 2022-05-13 康键信息技术(深圳)有限公司 Distributed system data transparent transmission method, device, storage medium and system

Also Published As

Publication number Publication date
CN112667359B (en) 2024-01-30

Similar Documents

Publication Publication Date Title
CN110351156B (en) Test method and device
CN110324405B (en) Message sending method, device, system and computer readable storage medium
US20130227587A1 (en) Method and apparatus for cross-process communication, and computer storage medium
CN108021357B (en) Optimization method and device for program call
US11954530B2 (en) Method and system of processing data based on QUIC protocol stack, device and storage medium
CN111885004B (en) Application layer message transmission method and communication interface platform
CN113285931A (en) Streaming media transmission method, streaming media server and streaming media system
CN114661492B (en) Process communication method, system, terminal device and medium
CN112667359B (en) Data transparent transmission method, electronic equipment and storage medium
CN112929210B (en) Method and system for gateway routing application plug-in built on WebFlux framework and application of gateway routing application plug-in
CN110750365A (en) Remote procedure calling method, system, terminal and storage medium
CN112118594A (en) Data uploading method, data downloading method, electronic equipment and storage medium
CN114500510B (en) Request information response method, apparatus, communication device and storage medium
CN113489775B (en) Seven-layer load balancing server and load balancing method based on VPP
CN113746851B (en) Proxy system and method supporting real-time analysis of GRPC request
CN113612643B (en) Network configuration method, device and equipment of cloud mobile phone and storage medium
CN111769910B (en) Data transmission method and device
CN113098868B (en) Container-based network security processing method and device
CN112422457B (en) Message processing method and device and computer storage medium
CN114338461A (en) Network connection monitoring method and related equipment
CN114024822A (en) Block chain-based Internet of things equipment management method, equipment, server and medium
US9385935B2 (en) Transparent message modification for diagnostics or testing
CN110177026B (en) Network port terminal detection method, storage medium and server
CN112596893B (en) Monitoring method and system for multi-node edge computing device
CN109831395B (en) System and method for transmitting bottom layer network data between embedded equipment and host

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant