CN112835655A - Transparent data transmission method, system, transmission terminal and storage medium - Google Patents

Transparent data transmission method, system, transmission terminal and storage medium Download PDF

Info

Publication number
CN112835655A
CN112835655A CN202110216112.0A CN202110216112A CN112835655A CN 112835655 A CN112835655 A CN 112835655A CN 202110216112 A CN202110216112 A CN 202110216112A CN 112835655 A CN112835655 A CN 112835655A
Authority
CN
China
Prior art keywords
node
transparent transmission
target
interface
processed
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
CN202110216112.0A
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.)
Etekcity Corp
Original Assignee
Etekcity Corp
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 Etekcity Corp filed Critical Etekcity Corp
Priority to CN202110216112.0A priority Critical patent/CN112835655A/en
Publication of CN112835655A publication Critical patent/CN112835655A/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/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • G06F9/449Object-oriented method invocation or resolution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse

Abstract

The invention discloses a transparent data transmission method, which comprises the following steps: receiving a first request sent by a sending node or an upper transparent transmission node through a first preset transparent transmission interface, wherein the first request comprises a first identifier of the first preset transparent transmission interface, information to be processed and a target parameter of a target processing interface for indicating to process the information to be processed; determining a next node according to a preset transparent transmission path; sending a second request to a next node through a first preset transparent transmission interface, wherein the second request comprises a second identifier of a second preset transparent transmission interface of a second transparent transmission node, information to be processed and a target parameter when the next node is the second transparent transmission node; when the next node is a receiving node, the second request comprises the target transparent transmission interface identifier of the receiving node, the information to be processed and the target parameter. The invention can effectively reduce the workload required by data transmission and improve the transmission efficiency. The invention also provides a transparent data transmission system, a transmission terminal and a storage medium.

Description

Transparent data transmission method, system, transmission terminal and storage medium
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to a transparent data transmission method, system, transmission terminal, and storage medium.
Background
For the receiving and sending of the request, corresponding interfaces need to be developed in each service module of the server to implement, if the hierarchy is more, or the path is more complicated, each time a transceiving interface is added, the corresponding interface needs to be developed in the corresponding module on the path, but if the service module does not actually perform any processing on the data, but only forwards the data, the development of a large number of interfaces will bring unnecessary work, and waste of resources is caused.
Disclosure of Invention
In view of the above, it is necessary to provide a transparent data transmission method, system, transmission terminal, and storage medium.
A transparent data transmission method, comprising: a first transparent transmission node receives a first request sent by a sending node or an upper transparent transmission node through a first preset transparent transmission interface, wherein the first request comprises a first identifier of the first preset transparent transmission interface, information to be processed and a target parameter of a target processing interface for indicating processing of the information to be processed; the first transparent transmission node determines a next node according to a preset transparent transmission path; the first transparent transmission node sends a second request to the next node through the first preset transparent transmission interface, wherein when the next node is a second transparent transmission node, the second request comprises a second identifier of the second preset transparent transmission interface of the second transparent transmission node, the information to be processed and the target parameter; and when the next node is a receiving node, the second request comprises a target transparent transmission interface identifier of the receiving node, the information to be processed and the target parameter, so that the receiving node calls the target processing interface to process the information to be processed according to the target parameter.
A transmission terminal comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform: receiving a first request sent by a sending node or an upper transparent transmission node through a first preset transparent transmission interface, wherein the first request comprises a first identifier of the first preset transparent transmission interface, information to be processed and a target parameter of a target processing interface for indicating to process the information to be processed; determining a next node according to a preset transparent transmission path; sending a second request to the next node through the first preset transparent transmission interface, wherein when the next node is a second transparent transmission node, the second request comprises a second identifier of a second preset transparent transmission interface of the second transparent transmission node, the information to be processed and the target parameter; and when the next node is a receiving node, the second request comprises a target transparent transmission interface identifier of the receiving node, the information to be processed and the target parameter, so that the receiving node calls the target processing interface to process the information to be processed according to the target parameter.
A transparent data transmission method, comprising: a receiving node receives a second first request sent by a first transparent transmission node or a second transparent transmission node through a target transparent transmission interface, wherein the second request comprises a target transparent transmission interface identifier, information to be processed and a target parameter; and the receiving node calls a target processing interface to process the information to be processed according to the target parameter.
A receiving terminal comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform: receiving a second first request sent by a first transparent transmission node or a second transparent transmission node through a target transparent transmission interface, wherein the second request comprises a target transparent transmission interface identifier, information to be processed and a target parameter; and calling a target processing interface according to the target parameter to process the information to be processed.
A storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of the method as described above.
The embodiment of the invention has the following beneficial effects:
the first transparent transmission node receives a first request through a first preset transparent transmission interface, determines a next node according to a preset transparent transmission path, and sends a second request to the next node, wherein the second request comprises a target transparent transmission interface identifier of the receiving node, information to be processed and a target parameter, so that the receiving node calls the target processing interface to process the information to be processed according to the target parameter, the first transparent transmission node can transmit various types of first requests through the first preset transparent transmission interface without developing different interfaces aiming at different types, the first transparent transmission node only forwards the first request, the workload required by data transmission can be effectively reduced, and the transmission efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
fig. 1 is a schematic flow chart of a transparent data transmission method according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of a cloud server according to a first embodiment of the present invention;
fig. 3 is a schematic structural diagram of a cloud server according to a second embodiment of the present invention
Fig. 4 is a schematic flow chart of a transparent data transmission method according to a second embodiment of the present invention;
fig. 5 is a schematic flow chart of a third embodiment of a transparent data transmission method provided by the present invention;
fig. 6 is a schematic structural diagram of a first embodiment of a transparent data transmission system provided by the present invention;
fig. 7 is a schematic structural diagram of a second embodiment of the transparent data transmission system provided in the present invention;
fig. 8 is a schematic structural diagram of an embodiment of a transmission terminal provided in the present invention;
fig. 9 is a schematic structural diagram of an embodiment of a receiving terminal provided in the present invention;
fig. 10 is a schematic structural diagram of an embodiment of a storage medium provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of a transparent data transmission method according to a first embodiment of the present invention. The transparent data transmission method provided by the invention comprises the following steps.
S101: the first transparent transmission node receives a first request sent by the sending node or the previous transparent transmission node through a first preset transparent transmission interface.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a cloud server according to a first embodiment of the present invention. The cloud server 10 includes a sending node 11, a first transparent transmission node 12, and a receiving node 13. The sending node 11 is configured to send a first request, where the first request is to be sent to and received by the receiving node 13, and in many scenarios, the sending node 11 and the receiving node 13 are not directly connected, so that the first request sent by the sending node 11 needs to be sent to the receiving node 13 through transmission of the first transparent transmission node 12, and since the first transparent transmission node 12 is only used to forward the first request, and does not need to process the first request, the first preset transparent transmission interface 121 is arranged on the first transparent transmission node 12. The first transparent transmission node 12 regards all the data received from the first preset transparent transmission interface 121 as the first request, does not process the first request at all, and only executes the forwarding operation.
In this implementation scenario, the first request includes a first identifier of a first preset transparent transmission interface, so that the first request sent by the sending node 11 may be successfully sent to the first preset transparent transmission interface. The first request further includes information to be processed, which includes data that needs to be sent to the receiving node 13 and processed by the receiving node 13. The first request further includes a target parameter for indicating a target processing interface for processing the information to be processed, so that the receiving node 13 receives the first request, obtains the target processing interface according to the target parameter in the first request, and calls the target processing interface to perform data processing on the data to be processed in the first request.
In other implementation scenarios, the first request further includes an IP address of the first pass-through node and/or an IP address of the target receiving node.
In a specific implementation scenario, the receiving node 13 is provided with a target transparent transmission interface 131, and the receiving node 13 uses all data received from the target transparent transmission interface 131 as transparent transmission requests, and processes the data received by the target transparent transmission interface 131 according to a preset processing flow.
In other implementation scenarios, the first predetermined transparent transmission interface 121 is determined by negotiation between the sending node 11 and the first transparent transmission node 12 in advance, or one of the sending node 11 and the first transparent transmission node 12 decides first and then notifies the other. It may also be user-specified in advance, and notify the sending node 11 and the first pass-through node 12 at the same time.
In other implementation scenarios, the first transparent transmission node receives, through the first preset transparent transmission interface, the first request sent by the previous transparent transmission node. Likewise, the first pass-through node is only used for forwarding the first request, and the first request does not need to be processed.
S102: and the first transparent transmission node determines a next node according to the preset transparent transmission path and sends a second request to the next node through the first preset transparent transmission interface.
In a specific implementation scenario, the predetermined transmission path is pre-defined before transparent data transmission. The method comprises the steps of obtaining the connection relation among all nodes of a cloud server in advance, obtaining receiving nodes of the data transparent transmission, and generating a preset transparent transmission path according to the connection relation between the receiving nodes of the sending nodes and all the nodes.
The first transparent transmission node determines a next node according to a preset transparent transmission path and sends a second request to the next node through a first preset transparent transmission interface, wherein when the next node is a second transparent transmission node, the second request comprises a second identifier of the second preset transparent transmission interface of the second transparent transmission node, information to be processed and a target parameter; when the next node is a receiving node, the second request comprises the target transparent transmission interface identifier of the receiving node, the information to be processed and the target parameter, so that the receiving node calls the target processing interface to process the information to be processed according to the target parameter.
When the next node is a receiving node, please refer to fig. 2 in combination, the first transparent transmission node 12 sends a second request to the receiving node 13 according to the preset transparent transmission path. The first transparent transmission node 12 sends the second request to the target transparent transmission interface 131 of the receiving node 13 through the first preset transparent transmission node 121. In this implementation scenario, the second request includes the target transparent transmission interface identifier of the receiving node 13, so that the second request may be sent to the target transparent transmission interface 131 of the receiving node 13, and the second request further includes the information to be processed and the target parameter. So that the receiving node 13 can call the target processing interface to process the information to be processed according to the target parameter.
In an implementation scenario, the sending node 11 and the receiving node 13 store parameter and processing interface mapping tables, and the sending node 11 queries the parameter and processing interface mapping table to obtain a target parameter according to a target processing interface to be called by information to be processed. The target parameter is added to the first request. The first transparent transmission node 12 generates a second request according to the first request, and sends the second request to the receiving node 13. When receiving node 13 receives the second request including the target parameter, it obtains the target parameter, finds the processing interface matching with the target parameter, and calls the processing interface to perform data processing.
In other implementations, the target parameter is determined by negotiation between the sending node 11 and the receiving node 13 prior to data transmission. Specifically, a parameter and processing interface mapping table may be preset, in which each target parameter has a unique corresponding processing interface, and the sending node 11 finds the target parameter corresponding to the processing interface to be called from the parameter and processing interface mapping table according to the processing interface to be called of the transparent transmission request, and adds the target parameter to the transparent transmission request. The receiving node 13 stores the parameter and processing interface mapping table, and after receiving the transparent transmission request, obtains the target parameter in the transparent transmission request, finds the processing interface corresponding to the target parameter from the parameter and processing interface mapping table, that is, the processing interface to be called, and calls the processing interface to complete data processing. Therefore, the receiving node 13 can accurately acquire the processing interface to be called, and errors are avoided.
Referring to fig. 3 in conjunction with fig. 3, when the next node is a second transparent transmission node, fig. 3 is a schematic structural diagram of a cloud server according to a second embodiment of the present invention. The cloud server 20 includes a sending node 21, a first transparent transmission node 22, a second transparent transmission node 23, and a receiving node 24. The first transparent transmission node 22 is provided with a first preset transparent transmission interface 221, and the second transparent transmission node is provided with a second preset transparent transmission interface 231.
Specifically, the first transparent transmission node 22 receives the first request sent by the sending node 21, which is basically the same as the part of the first transparent transmission node 12 in the previous embodiment of the present application that receives the first request sent by the sending node 11, and details are not described here, and the first transparent transmission node 22 performs only forwarding without performing any processing on the load content of the request, that is, the information to be processed, to generate the second request. The first transparent transmission node 22 sends the second request to the second preset transparent transmission interface 231 of the second transparent transmission node 23 through the first preset transparent transmission interface 221. The second request includes a second identifier of a second preset transparent transmission interface 231 of the second transparent transmission node 23, so that the second request can be sent to the second transparent transmission interface 231 of the second transparent transmission node 23. The second request further includes information to be processed and a target parameter, so that the receiving node 24 can receive the information to be processed and the target parameter, and thus invoke a target processing interface to process the information to be processed according to the target parameter.
Further, the second transparent transmission node 23 generates a third request, and the second transparent transmission node 23 sends the third request to the target transparent transmission interface 241 of the receiving node 24 through the second preset transparent transmission node 231. In this implementation scenario, the third request includes the target transparent transmission interface identifier of the receiving node 241, so that the third request may be sent to the target transparent transmission interface 241 of the receiving node 24, and the third request further includes the information to be processed and the target parameter. So that the receiving node 24 can call the target processing interface to process the information to be processed according to the target parameter.
In a specific implementation scenario, the sending node 21 sends a transparent transmission request, i.e. a first request, of the JSON request body structure, where the first request includes the mapping parameter. For example:
Figure BDA0002953850800000071
wherein, the mapping parameter method corresponds to a target processing interface of the receiving node to be called. The content parameter data is information to be processed in the first request, namely content which needs to be subjected to data processing, and the parameter content is set according to actual requirements.
The second request generated by the first transparent transmission node 21 includes a mapping parameter method and a content parameter data, the second transparent transmission node 23 stores a mapping parameter-processing interface mapping table, each mapping parameter in the interface mapping table uniquely corresponds to a processing interface name of the receiving node 24, as shown in table 1:
mapping parameter method Target transparent transmission interface name
setSwtich setSwtich
setAlarm setAlarm
TABLE 1
The second transparent transmission node 23 obtains the receiving node 24 according to the mapping parameter method in the received second request. For example, if the mapping parameter is setAlarm, the second transparent transmission node 23 sends the third request to the target transparent transmission interface 241 of the receiving node 24 of setAlarm.
In other implementation scenarios, the target transparent transmission interface name may also be used as a mapping parameter, and the target transparent transmission interface 241 of the receiving node 24 is determined according to the mapping parameter without setting an interface mapping table.
In other implementation scenarios, if the processing interface receiving node 24 corresponding to the data processing method required by the transparent transmission request is not set, the corresponding processing interface may be newly added in the receiving node 24 according to the second request, and no modification is required to the first transparent transmission node 22 and the second transparent transmission node 23, so that the workload of data transmission may be effectively reduced, and clear responsibility division may be performed.
As can be seen from the above description, in this embodiment, the first transparent transmission node determines a next node according to the preset transparent transmission path through the first request received by the first preset transparent transmission interface, and sends a second request to the next node, where the second request includes a second identifier of a second preset transparent transmission interface of the second transparent transmission node, information to be processed, and a target parameter when the next node is the second transparent transmission node; when the next node is a receiving node, the second request comprises the target transparent transmission interface identifier of the receiving node, the information to be processed and the target parameter, so that the receiving node calls the target processing interface to process the information to be processed according to the target parameter, and thus, the first transparent transmission node can transmit various types of first requests through the first preset transparent transmission interface without developing different interfaces aiming at different types, and the first transparent transmission node only forwards the first requests, so that the workload required by data transmission can be effectively reduced, and the transmission efficiency is improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a transparent data transmission method according to a second embodiment of the present invention. The transparent data transmission method provided by the invention comprises the following steps.
S201: the first transparent transmission node receives a first request sent by the sending node or the previous transparent transmission node through a first preset transparent transmission interface.
S202: and the first transparent transmission node determines a next node according to the preset transparent transmission path and sends a second request to the next node through the first preset transparent transmission interface.
In a specific implementation scenario, steps S201 to S202 are substantially the same as steps S101 to S102 of the first embodiment of the transparent data transmission method provided by the present invention, and are not described herein again.
S203: and the first transparent transmission node receives the data processing response sent by the receiving node through a first preset transparent transmission interface and sends the data processing response to the sending node according to the reverse path of the preset transparent transmission path.
Please continue with fig. 2. After the receiving node 13 sends the data processing response to the sending node 11 through the transparent transmission node 12 according to the transparent transmission request, so that the sending node 11 can obtain the data processing response in time. The transparent transmission node 12 does not process any data processing response, and only completes the forwarding task, thereby effectively improving the transmission efficiency and reducing the transmission workload.
In a specific implementation scenario, please continue to refer to fig. 2, when the receiving node 13 sends the data processing response to the sending node 11, the receiving node 13 becomes a new sending node, the sending node 11 serves as a new receiving node, and the first transparent transmission node 12 receives the data processing response through the first preset transparent transmission interface 121, similar to when the first request is sent, and does not process the data processing response, and sends the data processing response to the sending node 11 according to a reverse path of the preset transmission path.
As can be seen from the above description, in this embodiment, the transparent transmission node receives, through the first preset transparent transmission interface, the data processing response sent by the receiving node, and sends the data processing response to the sending node according to the reverse path of the preset transmission path, and the data processing response is not processed, but only completes the forwarding task, so that the transmission efficiency can be effectively improved, and the transmission workload is reduced.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating a transparent data transmission method according to a third embodiment of the present invention. The transparent data transmission method provided by the invention comprises the following steps.
S301: and the receiving node receives a second request sent by the first transparent transmission node or the second transparent transmission node through the target transparent transmission interface.
In a specific implementation scenario, please refer to fig. 2 in combination, the receiving node 13 is provided with a target transparent transmission interface 131, and the receiving node 13 uses all data received from the target transparent transmission interface 131 as transparent transmission requests and processes the received data according to a preset processing flow. The second request includes the target transparent transmission interface identifier of the receiving node 13, so that the second request can be sent to the target transparent transmission interface 131 of the receiving node 13, and the second request further includes the information to be processed and the target parameter. So that the receiving node 13 can call the target processing interface to process the information to be processed according to the target parameter.
S302: and the receiving node calls a target processing interface to process the information to be processed according to the target parameter.
In a specific implementation scenario, the sending node 11 and the receiving node 13 store parameter and processing interface mapping tables, and the sending node 11 queries the parameter and processing interface mapping table to obtain a target parameter according to a target processing interface to be called by information to be processed. The target parameter is added to the first request. The first transparent transmission node 12 generates a second request according to the first request, and sends the paper receiving node 13. When receiving node 13 receives the second request including the target parameter, it obtains the target parameter, finds the processing interface matching with the target parameter, and calls the processing interface to perform data processing.
The target parameter is a negotiation determination for the sending node 11 and the receiving node 13 before data transmission. Specifically, a parameter and processing interface mapping table may be preset, in which each target parameter has a unique corresponding processing interface, and the sending node 11 finds the target parameter corresponding to the processing interface to be called from the parameter and processing interface mapping table according to the processing interface to be called of the transparent transmission request, and adds the target parameter to the transparent transmission request. The receiving node 13 stores the parameter and processing interface mapping table, and after receiving the transparent transmission request, obtains the target parameter in the transparent transmission request, finds out the processing interface corresponding to the target parameter from the parameter and processing interface mapping table, that is, the processing interface to be called, and sends the processing interface to be called from the target transparent transmission interface 131 to the target processing interface to process the information to be processed. Therefore, the receiving node 13 can accurately acquire the processing interface to be called, and errors are avoided.
As can be seen from the above description, in this embodiment, the parameter and processing interface mapping table is determined by negotiation in advance between the sending node and the receiving node, and is stored in the sending node and the receiving node, and the receiving node calls the target processing interface to process the information to be processed according to the target parameter, so that the accuracy of determining the target processing interface can be improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a transparent data transmission system according to a first embodiment of the present invention. The transparent data transmission system 30 includes a receiving module 31 and a transmitting module 32. The receiving module 31 is configured to receive, through a first preset transparent transmission interface, a first request sent by a sending node or an immediately previous transparent transmission node, where the first request includes first identification to-be-processed information of the first preset transparent transmission interface and a target parameter of a target processing interface for indicating to-be-processed information. The sending module 32 is configured to determine a next node according to a preset transparent transmission path; and sending a second request to the next node through the first preset transparent transmission interface. When the next node is a second transparent transmission node, the second request comprises second identification to-be-processed information and target parameters of a second preset transparent transmission interface of the second transparent transmission node; when the next node is a receiving node, the second request comprises the information to be processed and the target parameter of the target transparent transmission interface identifier of the receiving node, so that the receiving node calls the target processing interface to process the information to be processed according to the target parameter.
The receiving module 31 is further configured to receive a data processing response sent by the receiving node through a first preset transparent transmission interface, and the sending module 32 is further configured to send the data processing response to the sending node according to a reverse path of a preset transparent transmission path.
The first preset transparent transmission interface is negotiated with the first transparent transmission node by the sending node or the last transparent transmission node; the second preset transparent transmission interface is negotiated by the first transparent transmission node and the second transparent transmission node.
As can be seen from the above description, in this embodiment, the transparent data transmission system determines a next node according to a preset transparent transmission path through a first request received by a first preset transparent transmission interface, and sends a second request to the next node, where the second request includes a second identifier of a second preset transparent transmission interface of the second transparent transmission node, information to be processed, and a target parameter when the next node is the second transparent transmission node; when the next node is a receiving node, the second request comprises the target transparent transmission interface identifier of the receiving node, the information to be processed and the target parameter, so that the receiving node calls the target processing interface to process the information to be processed according to the target parameter, and thus, various types of first requests can be transmitted through the first preset transparent transmission interface, different interfaces do not need to be developed for different types, the first request is only forwarded, the workload required by data transmission can be effectively reduced, and the transmission efficiency is improved.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a transparent data transmission system according to a second embodiment of the present invention. The transparent data transmission system 40 includes a receiving module 41 and a processing module 42. The receiving module 41 is configured to receive, through the target transparent transmission interface, a second request sent by the first transparent transmission node or the second transparent transmission node, where the second request includes information to be processed and a target parameter identified by the target transparent transmission interface. The processing module 42 is configured to invoke a target processing interface according to the target parameter to process the information to be processed.
The processing module 42 is further configured to query a target processing interface corresponding to the target parameter in the mapping table of the target transparent transmission interface and the processing interface; and sending the second request from the target transparent transmission interface to the target processing interface, and processing the information to be processed.
The parameter and processing interface mapping table is determined by the sending node and the receiving node through negotiation in advance and is stored in the sending node and the receiving node.
As can be seen from the above description, in this embodiment, the parameter and processing interface mapping table is determined by negotiation in advance between the sending node and the receiving node, and is stored in the sending node and the receiving node, and the target processing interface is called according to the target parameter to process the information to be processed, so that the accuracy of determining the target processing interface can be improved, the first transparent transmission node and/or the second transparent transmission node are not required to operate, and transmission resources are saved.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a transmission terminal according to an embodiment of the present invention. The transmission terminal 50 includes a processor 51 and a memory 52. The processor 51 is coupled to a memory 52. The memory 52 has stored therein a computer program which is executed by the processor 51 when in operation to implement the method as shown in fig. 1 and 4. The detailed methods can be referred to above and are not described herein.
As can be seen from the above description, in this embodiment, the transparent data transmission system determines a next node according to a preset transparent transmission path through a first request received by a first preset transparent transmission interface, and sends a second request to the next node, where the second request includes a second identifier of a second preset transparent transmission interface of the second transparent transmission node, information to be processed, and a target parameter when the next node is the second transparent transmission node; when the next node is a receiving node, the second request comprises the target transparent transmission interface identifier of the receiving node, the information to be processed and the target parameter, so that the receiving node calls the target processing interface to process the information to be processed according to the target parameter, and thus, various types of first requests can be transmitted through the first preset transparent transmission interface, different interfaces do not need to be developed for different types, the first request is only forwarded, the workload required by data transmission can be effectively reduced, and the transmission efficiency is improved.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a receiving terminal according to an embodiment of the present invention. Receiving terminal 60 includes a processor 61 and a memory 62. The processor 61 is coupled to the memory 62. The memory 62 has stored therein a computer program which is executed by the processor 61 when it is operated to carry out the method as shown in fig. 5. The detailed methods can be referred to above and are not described herein.
As can be seen from the above description, in this embodiment, the parameter and processing interface mapping table is determined by negotiation in advance between the sending node and the receiving node, and is stored in the sending node and the receiving node, and the target processing interface is called according to the target parameter to process the information to be processed, so that the accuracy of determining the target processing interface can be improved, the first transparent transmission node and/or the second transparent transmission node are not required to operate, and transmission resources are saved.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a storage medium according to an embodiment of the present invention. The storage medium 70 stores at least one computer program 71, and the computer program 71 is used for being executed by the processor to implement the methods shown in fig. 1, fig. 4, and fig. 5, and the detailed methods can be referred to above and are not described herein again. In one embodiment, the storage medium 70 may be a hard disk of a storage chip in the terminal, or other readable and writable storage means such as a removable hard disk or a flash disk, or may be a server or the like.
As can be seen from the above description, the computer program in the storage medium in this embodiment may be used to determine a next node according to a preset transparent transmission path in the first request received by the transparent data transmission system through the first preset transparent transmission interface in this embodiment, and send a second request to the next node, where the second request includes a second identifier of the second preset transparent transmission interface of the second transparent transmission node, information to be processed, and a target parameter when the next node is the second transparent transmission node; when the next node is a receiving node, the second request comprises the target transparent transmission interface identifier of the receiving node, the information to be processed and the target parameter, so that the receiving node calls the target processing interface to process the information to be processed according to the target parameter, and thus, various types of first requests can be transmitted through the first preset transparent transmission interface, different interfaces do not need to be developed for different types, the first request is only forwarded, the workload required by data transmission can be effectively reduced, and the transmission efficiency is improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to a memory storage database or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory may include read-only memory (ROM) Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for transparent data transmission, comprising:
a first transparent transmission node receives a first request sent by a sending node or an upper transparent transmission node through a first preset transparent transmission interface, wherein the first request comprises a first identifier of the first preset transparent transmission interface, information to be processed and a target parameter of a target processing interface for indicating processing of the information to be processed;
the first transparent transmission node determines a next node according to a preset transparent transmission path;
the first transparent transmission node sends a second request to the next node through the first preset transparent transmission interface, wherein,
when the next node is a second transparent transmission node, the second request comprises a second identifier of a second preset transparent transmission interface of the second transparent transmission node, the information to be processed and the target parameter;
and when the next node is a receiving node, the second request comprises a target transparent transmission interface identifier of the receiving node, the information to be processed and the target parameter, so that the receiving node calls the target processing interface to process the information to be processed according to the target parameter.
2. The transparent data transmission method according to claim 1, further comprising:
and the first transparent transmission node receives a data processing response sent by the receiving node through the first preset transparent transmission interface, and sends the data processing response to the sending node according to the reverse path of the preset transparent transmission path.
3. The transparent data transmission method according to claim 1, wherein the first predetermined transparent transmission interface is negotiated with the first transparent transmission node by the sending node or the last transparent transmission node; and the second preset transparent transmission interface is negotiated by the first transparent transmission node and the second transparent transmission node.
4. A transmission terminal comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform:
receiving a first request sent by a sending node or an upper transparent transmission node through a first preset transparent transmission interface, wherein the first request comprises a first identifier of the first preset transparent transmission interface, information to be processed and a target parameter of a target processing interface for indicating to process the information to be processed;
determining a next node according to a preset transparent transmission path;
sending a second request to the next node through the first preset transparent transmission interface, wherein,
when the next node is a second transparent transmission node, the second request comprises a second identifier of a second preset transparent transmission interface of the second transparent transmission node, the information to be processed and the target parameter;
and when the next node is a receiving node, the second request comprises a target transparent transmission interface identifier of the receiving node, the information to be processed and the target parameter, so that the receiving node calls the target processing interface to process the information to be processed according to the target parameter.
5. A method for transparent data transmission, comprising:
the receiving node receives a second request sent by the first transparent transmission node or the second transparent transmission node through a target transparent transmission interface, wherein the second request comprises a target transparent transmission interface identifier, information to be processed and a target parameter;
and the receiving node calls a target processing interface to process the information to be processed according to the target parameter.
6. The method for transparent data transmission according to claim 5, wherein the receiving node calls the target processing interface to process the information to be processed according to the target parameter, and the method includes:
in the target transparent transmission interface, inquiring a parameter and a processing interface mapping table, wherein the target processing interface corresponding to the target parameter;
and sending the second request from the target transparent transmission interface to the target processing interface to process the information to be processed.
7. The method of claim 6, wherein the parameter and processing interface mapping table is determined by negotiation between the sending node and the receiving node in advance and stored in the sending node and the receiving node.
8. A receiving terminal comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform:
receiving a second request sent by a first transparent transmission node or a second transparent transmission node through a target transparent transmission interface, wherein the second request comprises a target transparent transmission interface identifier, information to be processed and a target parameter;
and calling a target processing interface according to the target parameter to process the information to be processed.
9. The receiving terminal of claim 8, wherein the processor is further configured to perform: in the target transparent transmission interface, inquiring a parameter and a processing interface mapping table, wherein the target processing interface corresponding to the target parameter;
and sending the second request from the target transparent transmission interface to the target processing interface to process the information to be processed.
10. A storage medium, characterized in that a computer program is stored which, when being executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1-3 or claims 5-7.
CN202110216112.0A 2021-02-26 2021-02-26 Transparent data transmission method, system, transmission terminal and storage medium Pending CN112835655A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110216112.0A CN112835655A (en) 2021-02-26 2021-02-26 Transparent data transmission method, system, transmission terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110216112.0A CN112835655A (en) 2021-02-26 2021-02-26 Transparent data transmission method, system, transmission terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112835655A true CN112835655A (en) 2021-05-25

Family

ID=75933737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110216112.0A Pending CN112835655A (en) 2021-02-26 2021-02-26 Transparent data transmission method, system, transmission terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112835655A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1083761A2 (en) * 1999-09-09 2001-03-14 Siemens Aktiengesellschaft Method for modifying the service data
CA2404910A1 (en) * 2000-03-30 2001-10-11 British Telecommunications Public Limited Company Data networks
CN103582009A (en) * 2012-07-19 2014-02-12 华为技术有限公司 Data transmission method, host base station and data network system
CN109144735A (en) * 2018-09-29 2019-01-04 百度在线网络技术(北京)有限公司 Method and apparatus for handling data
CN109213955A (en) * 2018-09-14 2019-01-15 腾讯科技(深圳)有限公司 Data processing method and relevant device
CN110233798A (en) * 2018-03-05 2019-09-13 华为技术有限公司 Data processing method, apparatus and system
WO2019179379A1 (en) * 2018-03-23 2019-09-26 阿里巴巴集团控股有限公司 User rights information processing method, device and system
CN110351342A (en) * 2019-06-20 2019-10-18 平安科技(深圳)有限公司 Service order processing method, device, computer equipment and storage medium
CN111405039A (en) * 2020-03-16 2020-07-10 深圳市网心科技有限公司 Data transparent transmission method, device and system, client and server
CN111600797A (en) * 2019-02-21 2020-08-28 华为技术有限公司 Data transmission method, node and system
CN112148508A (en) * 2020-09-30 2020-12-29 深圳市晨北科技有限公司 Information processing method and related device
CN112272144A (en) * 2020-10-28 2021-01-26 北京华夏创新科技有限公司 Message forwarding method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1083761A2 (en) * 1999-09-09 2001-03-14 Siemens Aktiengesellschaft Method for modifying the service data
CA2404910A1 (en) * 2000-03-30 2001-10-11 British Telecommunications Public Limited Company Data networks
CN103582009A (en) * 2012-07-19 2014-02-12 华为技术有限公司 Data transmission method, host base station and data network system
CN110233798A (en) * 2018-03-05 2019-09-13 华为技术有限公司 Data processing method, apparatus and system
WO2019179379A1 (en) * 2018-03-23 2019-09-26 阿里巴巴集团控股有限公司 User rights information processing method, device and system
CN109213955A (en) * 2018-09-14 2019-01-15 腾讯科技(深圳)有限公司 Data processing method and relevant device
CN109144735A (en) * 2018-09-29 2019-01-04 百度在线网络技术(北京)有限公司 Method and apparatus for handling data
CN111600797A (en) * 2019-02-21 2020-08-28 华为技术有限公司 Data transmission method, node and system
CN110351342A (en) * 2019-06-20 2019-10-18 平安科技(深圳)有限公司 Service order processing method, device, computer equipment and storage medium
CN111405039A (en) * 2020-03-16 2020-07-10 深圳市网心科技有限公司 Data transparent transmission method, device and system, client and server
CN112148508A (en) * 2020-09-30 2020-12-29 深圳市晨北科技有限公司 Information processing method and related device
CN112272144A (en) * 2020-10-28 2021-01-26 北京华夏创新科技有限公司 Message forwarding method and device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
CHUN-HAN LIN: "Space Connection:A new 3D Tele-immersion Platform for Web-Based Gesture-Collaborative Games and Services", 2015 IEEE/ACM 4TH INTERNATIONAL WORKSHOP ON GAMES AND SOFTWARE ENGINEERING, pages 22 - 28 *
GENIUS: "APP与设备之间的数据透传解析", Retrieved from the Internet <URL:https://club.gizwits.com/portal.php?mod=view&aid=44&page=1> *
PUSR: "WHAT IS THE TRANSPARENT TRANSMISSION?", Retrieved from the Internet <URL:https://www.pusr.com/news/what-is-the-trasparent-transmission.html> *
吴敏: "基于SOCKET通信机制的远程透明传输平台", 《中国优秀硕士学位论文全文数据库 信息科技辑》, no. 2004, pages 139 - 421 *

Similar Documents

Publication Publication Date Title
CN109064345B (en) Message processing method, system and computer readable storage medium
CN110351283B (en) Data transmission method, device, equipment and storage medium
EP3780438B1 (en) Data transmission method and related device
CN111800459A (en) Asynchronous processing method, device and system for download task and storage medium
CN111343237A (en) Server cluster communication method, communication device and computer storage medium
CN110460967B (en) Short message platform test method and device, computer equipment and storage medium
CN112612595A (en) Method and device for establishing micro-service calling relationship, computer equipment and storage medium
CN111064786B (en) Account identifier management method and device
US11108883B2 (en) Systems and methods for remote network topology discovery
CN108389124B (en) Data processing method, data processing device, computer equipment and storage medium
CN114285852A (en) Service calling method and device based on multi-stage service platform
CN112835655A (en) Transparent data transmission method, system, transmission terminal and storage medium
CN109587013B (en) APP network compatibility testing method and device, computer equipment and storage medium
CN111741143A (en) Method and device for on-line distribution of Modbus addresses of electrical measuring instrument
CN109324914B (en) Service calling method, service calling device and central server
CN115174472B (en) Message forwarding processing method and related device
CN110661895A (en) Network address mapping method and network address mapping equipment of server
CN112989147A (en) Data information pushing method and device, computer equipment and storage medium
CN114610762A (en) Three-level response method, system, equipment and storage medium for data request
CN111866197B (en) Domain name resolution method and system
CN112911617A (en) Data transmission method and device, computer equipment and storage medium
CN110955647A (en) Database assistance method, database assistance device, computer equipment and storage medium
CN111147548A (en) Service data processing method and device, computer equipment and storage medium
CN113473396A (en) Short message matching method and device, computer equipment and storage medium
CN110928598B (en) System configuration method, device, computer 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