CN116527656A - Transparent forwarding method and system for data - Google Patents

Transparent forwarding method and system for data Download PDF

Info

Publication number
CN116527656A
CN116527656A CN202310470085.9A CN202310470085A CN116527656A CN 116527656 A CN116527656 A CN 116527656A CN 202310470085 A CN202310470085 A CN 202310470085A CN 116527656 A CN116527656 A CN 116527656A
Authority
CN
China
Prior art keywords
message
transparent forwarding
data
tool
mqtt
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
CN202310470085.9A
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.)
Jiayuan Technology Co Ltd
Original Assignee
Jiayuan 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 Jiayuan Technology Co Ltd filed Critical Jiayuan Technology Co Ltd
Priority to CN202310470085.9A priority Critical patent/CN116527656A/en
Publication of CN116527656A publication Critical patent/CN116527656A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The scheme relates to a transparent forwarding method and a system for data. The method comprises the following steps: the upper computer sends an MQTT message to the alternating current sampling plate, and the transparent forwarding tool acquires analysis data after monitoring analysis to acquire a target message of the alternating current sampling plate to be sent; the transparent forwarding tool puts the target message into a channel buffer, periodically checks whether the channel buffer has a message to be sent, and if so, sends the message to an alternating current sampling plate; and verifying the message by the alternating current sampling plate, searching the return data corresponding to the upper computer, transmitting the return data to the transparent forwarding tool, and uploading the return data to the upper computer by the transparent forwarding tool. The transparent forwarding tool completes the whole set of message transmission flow, so that the original relatively independent communication sampling plate has maintainability; the workload of manually reading the data of the bottom plate is reduced, the misoperation rate of personnel during data calibration is reduced, and the working efficiency is improved.

Description

Transparent forwarding method and system for data
Technical Field
The present invention relates to the field of power communication technologies, and in particular, to a transparent forwarding method and system for data.
Background
Along with the construction and development of the power grid, the application scene of the novel fusion terminal of the transformer area begins to be wide, but the application of the main board and the base plate program have larger differences in function, the application of the main board is also limited to collecting the basic data of the base plate, most of functions of the base plate are still in the stage to be excavated, and the data interaction between the main board and the base plate is complex. And to the setting, upgrading of the novel integration terminal of district, at present adopt the mode of gadget more, although improved the management current situation of bottom plate to a certain extent, face the problem that gadget is numerous and be difficult to manage, debugging personnel need have ripe operational capability to Linux command line, know the procedure function of whole frame, often have a step to carry out the mistake then need reentry instruction, mainly rely on the operation mode of manual experience still to have great personnel extravagant and maloperation possibility.
Therefore, the conventional novel fusion terminal for the transformer area has the problem of inconvenient interaction when data interaction is performed.
Disclosure of Invention
Based on the above, in order to solve the above technical problems, a transparent forwarding method and system for data are provided, so that data interaction between an upper computer and a bottom plate is facilitated.
A transparent forwarding method of data, the method comprising:
the upper computer sends an MQTT message to the communication sampling plate, and the transparent forwarding tool monitors the MQTT message;
the transparent forwarding tool analyzes the MQTT message to obtain analysis data and obtains a target message of an traffic sampling plate to be sent;
the transparent forwarding tool puts the target message into a channel buffer according to the analysis data;
the transparent forwarding tool periodically checks whether a message to be sent exists in the channel buffer, and if so, the transparent forwarding tool sends the message to an alternating current sampling plate;
and the communication sampling plate verifies the message, searches the returned data corresponding to the upper computer according to the verification result, sends the returned data to the transparent forwarding tool, and uploads the returned data to the upper computer through the transparent forwarding tool.
In one embodiment, before the transparent forwarding tool listens for the MQTT message, the method further comprises:
the transparent forwarding tool establishes connection with an MQTT reader in the novel fusion terminal;
the novel fusion terminal is internally provided with the alternating current sampling plate.
In one embodiment, after the transparent forwarding tool listens for the MQTT message, the method further comprises:
the transparent forwarding tool sorts the monitored MQTT messages according to token numbers, and places the MQTT messages in a storage stack according to the first-in first-out principle.
In one embodiment, the transparent forwarding tool parses the MQTT message to obtain parsed data, including:
the transparent forwarding tool takes out the MQTT message from the storage stack according to the first-in first-out principle;
the transparent forwarding tool parses the body information in the MQTT message using a JSON function, and takes the body information as parsing data.
In one embodiment, the transparent forwarding tool obtains a target message of an traffic sampling plate to be sent, including:
and the transparent forwarding tool extracts a base64 decoding in the analysis data, and obtains a target message of a protocol of the traffic sampling plate to be transmitted according to the base64 decoding.
In one embodiment, the transparent forwarding tool puts the target packet into a channel buffer according to the parsing data, including:
the transparent forwarding tool extracts an index field in the MQTT message according to the analysis data, and adds the target message into a sending channel buffer according to the index field;
the transparent forwarding tool reads data from the channel buffer, encrypts the read data through base64 and JSON group code, and buffers the messages Wen Yaru in the corresponding channel in the stack.
In one embodiment, the sending the backhaul data by the ac sampling plate to the transparent forwarding tool includes:
the communication sampling plate enters different classes according to the object attribute in the message, and searches the returned data;
the communication sampling plate sends 698 message composed of the returned data to the transparent transmitting tool.
A transparent forwarding system for data, the system comprising: the system comprises an upper computer, a transparent forwarding tool and an alternating current sampling plate; wherein:
the upper computer is used for sending an MQTT message to the communication sampling plate, and the transparent forwarding tool monitors the MQTT message;
the transparent forwarding tool is used for analyzing the MQTT message to obtain analysis data and acquiring a target message of an traffic sampling plate to be sent;
the transparent forwarding tool is further configured to put the target packet into a channel buffer according to the parsing data;
the transparent forwarding tool is further configured to periodically check whether a message to be sent exists in the channel buffer, and if so, send the message to an traffic sampling plate;
and the communication sampling plate is used for verifying the message, searching the returned data corresponding to the upper computer according to the verification result, sending the returned data to the transparent forwarding tool, and uploading the returned data to the upper computer by the transparent forwarding tool.
According to the transparent forwarding method and system for the data, the upper computer sends the MQTT message to the communication sampling plate, and the transparent forwarding tool monitors the MQTT message; the transparent forwarding tool analyzes the MQTT message to obtain analysis data and obtains a target message of an traffic sampling plate to be sent; the transparent forwarding tool puts the target message into a channel buffer according to the analysis data; the transparent forwarding tool periodically checks whether a message to be sent exists in the channel buffer, and if so, the transparent forwarding tool sends the message to an alternating current sampling plate; and the communication sampling plate verifies the message, searches the returned data corresponding to the upper computer according to the verification result, sends the returned data to the transparent forwarding tool, and uploads the returned data to the upper computer through the transparent forwarding tool. After receiving the related message, the transparent forwarding tool decodes and forwards the message to the communication sampling plate, and finally, the message code returned by the communication sampling plate is sent to the upper computer to complete the whole set of message transmission flow, so that the original relatively independent communication sampling plate has maintainability; on one hand, the workload of manually reading the data of the bottom plate is reduced, the misoperation rate of personnel during data calibration is reduced, and the working efficiency is improved; on the other hand, when the bottom plate has problems, an effective data reading method can be provided for operation and maintenance personnel, and the problems can be processed and solved more efficiently.
Drawings
FIG. 1 is an application environment diagram of a transparent forwarding method for data in one embodiment;
FIG. 2 is a flow diagram of a transparent forwarding method for data in one embodiment;
FIG. 3 is a block diagram of a transparent forwarding system for data in one embodiment;
fig. 4 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The transparent forwarding method of the data provided by the embodiment of the application can be applied to an application environment shown in fig. 1. As shown in fig. 1, the application environment includes a host computer 110, a transparent forwarding tool 120, and an ac sampling board 130; the transparent forwarding tool 120 and the ac sampling board 130 may be disposed in the novel fusion terminal 200, and the host computer 110 may be in connection communication with the novel fusion terminal 200. The upper computer 110 sends an MQTT message to the communication sampling plate 130, and the transparent forwarding tool 120 monitors the MQTT message; the transparent forwarding tool 120 analyzes the MQTT message to obtain analysis data and obtains a target message of the traffic sampling plate 130 to be sent; the transparent forwarding tool 120 puts the target message into the channel buffer according to the parsing data; the transparent forwarding tool 120 periodically checks whether a message to be sent exists in the channel buffer, and if so, sends the message to the traffic sampling plate 130; the communication sampling board 130 verifies the message, searches the returned data corresponding to the upper computer 110 according to the verification result, and sends the returned data to the transparent forwarding tool 120, and the transparent forwarding tool 120 uploads the returned data to the upper computer 110.
In one embodiment, as shown in fig. 2, there is provided a transparent forwarding method of data, including the steps of:
and 202, the upper computer sends an MQTT message to the alternating sampling plate, and the transparent forwarding tool monitors the MQTT message.
The transparent forwarding tool can interact information with software in the upper computer through the MQTT browser. The transparent forwarding tool can establish connection with the MQTT brooker in the novel fusion terminal, the IP address of the transparent forwarding tool can be 172.17.0.1, the port number of the transparent forwarding tool is 1883, and MQTT messages sent to the MQTT brooker by the upper computer software are monitored.
And 204, the transparent forwarding tool analyzes the MQTT message to obtain analysis data and obtains a target message of the traffic sampling plate to be sent.
After the transparent forwarding tool monitors the MQTT information, the received MQTT information can be pushed into a stack, and when the MQTT information needs to be analyzed, the message analysis module can take the MQTT information out of the stack and analyze the MQTT information to obtain analysis data.
The transparent forwarding tool can acquire a target message of a DLT698.45 protocol to be sent to the novel fusion terminal communication sampling plate according to the decoded information after the data is analyzed.
In step 206, the transparent forwarding tool puts the target message into the channel buffer according to the parsing data.
The transparent forwarding tool may add the target message to the send channel buffer according to the fields in the MQTT message, and then buffer the message Wen Yaru in the channel in the stack.
In step 208, the transparent forwarding tool periodically checks whether there is a message to be sent in the channel buffer, and if so, sends the message to the traffic sampling plate.
The transparent forwarding tool can periodically check whether a message to be sent exists in the channel buffer, and if so, the message is sent to an alternating current sampling plate of the novel fusion terminal through the SPI or the virtual USB channel.
Step 210, the communication sampling board verifies the message, searches the returned data corresponding to the upper computer according to the verification result, sends the returned data to the transparent forwarding tool, and uploads the returned data to the upper computer through the transparent forwarding tool.
After the alternating current sampling plate receives 698 message, firstly checking the correctness of the message, then entering different classes according to the object attribute in the message, retrieving the data required by the upper computer and forming 698 message, and transmitting the 698 message back to the transparent forwarding tool. The transparent forwarding tool may place the received message into the receive buffer channel for use by the parsing module.
In the embodiment, the upper computer sends an MQTT message to the alternating sampling plate, and the transparent forwarding tool monitors the MQTT message; the transparent forwarding tool analyzes the MQTT message to obtain analysis data and obtains a target message of an traffic sampling plate to be sent; the transparent forwarding tool puts the target message into a channel buffer according to the analysis data; the transparent forwarding tool periodically checks whether a message to be sent exists in the channel buffer, and if so, the message is sent to an traffic sampling plate; and verifying the message by the alternating current sampling plate, searching the returned data corresponding to the upper computer according to the verification result, transmitting the returned data to the transparent forwarding tool, and uploading the returned data to the upper computer by the transparent forwarding tool. After receiving the related message, the transparent forwarding tool decodes and forwards the message to the communication sampling plate, and finally, the message code returned by the communication sampling plate is sent to the upper computer to complete the whole set of message transmission flow, so that the original relatively independent communication sampling plate has maintainability; on one hand, the workload of manually reading the data of the bottom plate is reduced, the misoperation rate of personnel during data calibration is reduced, and the working efficiency is improved; on the other hand, when the bottom plate has problems, an effective data reading method can be provided for operation and maintenance personnel, and the problems can be processed and solved more efficiently.
In one embodiment, the provided transparent forwarding method of data may further include a process of establishing connection between the transparent forwarding tool and the communication sampling plate, and the specific process includes: the transparent forwarding tool establishes connection with an MQTT reader in the novel fusion terminal; an alternating current sampling plate is arranged in the novel fusion terminal.
The transparent forwarding tool can interact with the upper computer software through the MQTT reader, and can interact with the communication sampling plate through the physical serial port, so that the transparent forwarding of the novel fusion terminal is realized, and the data reading and the maintenance are more convenient and efficient. In this embodiment, the transparent forwarding tool may establish a connection with the MQTT reader in the novel converged terminal, where the IP address is 172.17.0.1 and the port number is 1883, and monitor the MQTT message sent by the host software to the MQTT reader.
The novel integrated terminal is internally provided with an alternating current acquisition board, and the novel integrated terminal alternating current acquisition board is composed of five paths of USB virtual drives and one path of SPI drives.
In one embodiment, the provided transparent forwarding method of data may further include a process of stacking messages, and the specific process includes: the transparent forwarding tool sorts the monitored MQTT messages according to the token number, and places the MQTT messages in a storage stack according to the first-in first-out principle.
The MQTT message is put into the storage stack according to the first-in first-out principle, so that the subsequent message analysis module can be taken out from the storage stack.
In one embodiment, the provided transparent forwarding method of data may further include a process of parsing the MQTT message, and the specific process includes: the transparent forwarding tool takes out the MQTT message from the storage stack according to the first-in first-out principle; the transparent forwarding tool parses the body information in the MQTT message using the JSON function and takes the body information as parsed data.
In one embodiment, the provided transparent forwarding method of data may further include a process of generating a message, and the specific process includes: and the transparent forwarding tool extracts the base64 decoding in the analysis data, and obtains a target message of the protocol of the traffic sampling plate to be transmitted according to the base64 decoding.
The transparent forwarding tool can decode according to the base64 to obtain a message of DLT698.45 protocol to be sent to the novel fusion terminal communication sampling plate as a target message.
In one embodiment, the provided transparent forwarding method of data may further include a process of pushing the message into a stack, and the specific process includes: the transparent forwarding tool extracts an index field in the MQTT message according to the analysis data, and adds the target message into a sending channel buffer according to the index field; the transparent forwarding tool reads data from the channel buffer and encrypts the read data through base64 and JSON group code, and buffers the messages Wen Yaru in the corresponding channel in the stack.
The transparent forwarding tool may add the message to the corresponding sending channel buffer according to the index field in the MQTT message, and mainly includes an SPI channel and a virtual USB channel. Meanwhile, the transparent forwarding tool needs to read data from the buffer of the reading channel, then the base64 encryption and the JSON group code are adopted to push the message in the corresponding channel into the stack B, after a plurality of times of circulation, all data information needing to be acquired is acquired, and then the information to be queried is ordered according to the token of the data, so that the data information has certain readability.
In one embodiment, the provided transparent forwarding method of data may further include a process of sending back data, and the specific process includes: the alternating current sampling board enters different classes according to the object attribute in the message, and searches the returned data; the ac sampling board sends 698 the returned data to the transparent forwarding tool.
The transparent forwarding tool can periodically check whether a message to be sent exists in the buffer of the sending channel, if so, the message is sent to an alternating current sampling plate of the novel fusion terminal through the SPI or the virtual USB channel, after the alternating current sampling plate receives 698 messages, the correctness of the message is checked firstly, and then the data required by the upper computer are retrieved and formed 698 messages are transmitted back to the transparent forwarding tool according to the object attribute in the message, namely the OAD, entering different classes. Finally, the transparent forwarding tool puts the received message into a receiving buffer channel for the message analysis module to use.
In one embodiment, the transparent forwarding tool may periodically check whether there are MQTT messages to be sent in the cache stack, and if so, forward the MQTT messages to the host computer.
In one embodiment, the provided transparent forwarding method of data is mainly applied to a novel fusion terminal, and an upper computer is connected with a base plate, namely an exchange sampling plate program through TCP, so that messages can be interacted. Specifically, the transparent forwarding tool establishes connection with the MQTT barker in the novel fusion terminal and waits for the upper computer to send the JSON message; and after receiving the related message, decoding and forwarding the message to the bottom plate, and finally, sending the message code returned by the bottom plate to the upper computer to complete the whole set of message transmission flow, so that the original relatively independent bottom plate has maintainability. On one hand, the workload of manually reading the data of the bottom plate is reduced, the misoperation rate of personnel during data calibration is reduced, and the working efficiency is improved; on the other hand, when the base plate of the novel fusion terminal of the platform area has problems, an effective data reading method can be provided for operation and maintenance personnel, and the problems can be processed and solved more efficiently. In addition, the invention can enable the processing and analysis of the base plate data of the novel fusion terminal of the platform to have higher operability, and simultaneously improves the value of the novel fusion terminal of the platform in an electric power system.
When the transparent data forwarding method is applied to the novel fusion terminal, the transparent data forwarding method mainly comprises an upper computer sending module, a transparent forwarding tool and an alternating current acquisition board. The upper computer sending module is responsible for forming corresponding messages according to the requirements of users and sending the messages to the transparent forwarding tool; the transparent forwarding tool decodes the received message, checks a sending channel and finally forwards the message to the alternating current acquisition board; the exchange acquisition board analyzes the message forwarded by the upper computer and sends the data back from the original channel according to the object attribute.
The transparent data forwarding method is not limited to the novel fusion terminal, and is also suitable for other power distribution products, and the transmission channels and the interaction protocols can be replaced according to actual use requirements. The transparent forwarding method is mainly characterized in that a reliable and convenient transmission channel is established between an upper computer and an alternating current sampling plate of a novel fusion terminal, the transmission channel is firstly connected with the upper computer through a TCP, then the transmitted MQTT message is monitored, the MQTT message is converted into a message format which can be analyzed by a bottom plate, then the corresponding channel is selected to interact with the bottom plate, data required by the upper computer is obtained, and finally the data are forwarded to the upper computer. The user only needs to send the message with the corresponding function according to the instruction, and the transparent forwarding tool can display the returned result in front of the user, so that the effect of quick and visual is achieved.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described above may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, and the order of execution of the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with at least a part of the sub-steps or stages of other steps or other steps.
In one embodiment, as shown in fig. 3, there is provided a transparent forwarding system for data, comprising: a host computer 110, a transparent forwarding tool 120, and an ac sampling board 130; wherein:
the upper computer 110 is configured to send an MQTT message to the ac sampling board 130, and the transparent forwarding tool 120 monitors the MQTT message;
the transparent forwarding tool 120 is configured to parse the MQTT message to obtain parsed data, and obtain a target message of the traffic sampling board 130 to be sent;
transparent forwarding tool 120 is further configured to put the target message into a channel buffer according to the parsing data;
the transparent forwarding tool 120 is further configured to periodically check whether a message to be sent exists in the channel buffer, and if so, send the message to the traffic sampling plate 130;
the ac sampling board 130 is used for verifying the message, searching the returned data corresponding to the upper computer 110 according to the verification result, and transmitting the returned data to the transparent forwarding tool 120, and uploading the returned data to the upper computer 110 by the transparent forwarding tool 120.
In one embodiment, the transparent forwarding tool 120 is further configured to establish a connection with the MQTT reader within the novel converged terminal; an alternating current sampling plate 130 is arranged in the novel fusion terminal.
In one embodiment, the transparent forwarding tool 120 is further configured to sort the monitored MQTT messages by token number and place the MQTT messages in the memory stack on a first-in first-out basis.
In one embodiment, transparent forwarding tool 120 is further configured to fetch MQTT messages from the storage stack on a first-in first-out basis; the body information in the MQTT message is parsed using the JSON function, and the body information is taken as parsed data.
In one embodiment, the transparent forwarding tool 120 is further configured to extract a base64 decoding in the parsed data, and obtain a target message of the protocol of the traffic sampling board 130 to be sent according to the base64 decoding.
In one embodiment, the transparent forwarding tool 120 is further configured to extract an index field in the MQTT message according to the parsing data, and add the target message to the transmit channel buffer according to the index field; data is read from the channel buffer, and the read data is encrypted by base64 and JSON group codes, and the messages Wen Yaru in the corresponding channels are cached in the stack.
In one embodiment, the ac sampling board 130 is further used to enter different classes according to the object attribute in the message, and find the returned data; the returned data is sent to transparent forwarding tool 120 as a 698 message.
In one embodiment, a novel fusion terminal is provided, the internal structure of which may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the structures shown in FIG. 4 are block diagrams only and do not constitute a limitation of the computer device on which the present aspects apply, and that a particular computer device may include more or less components than those shown, or may combine some of the components, or have a different arrangement of components.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (10)

1. A transparent forwarding method for data, the method comprising:
the upper computer sends an MQTT message to the communication sampling plate, and the transparent forwarding tool monitors the MQTT message;
the transparent forwarding tool analyzes the MQTT message to obtain analysis data and obtains a target message of an traffic sampling plate to be sent;
the transparent forwarding tool puts the target message into a channel buffer according to the analysis data;
the transparent forwarding tool periodically checks whether a message to be sent exists in the channel buffer, and if so, the transparent forwarding tool sends the message to an alternating current sampling plate;
and the communication sampling plate verifies the message, searches the returned data corresponding to the upper computer according to the verification result, sends the returned data to the transparent forwarding tool, and uploads the returned data to the upper computer through the transparent forwarding tool.
2. The transparent forwarding method of data according to claim 1, wherein before the transparent forwarding tool listens for the MQTT message, the method further comprises:
the transparent forwarding tool establishes connection with an MQTT reader in the novel fusion terminal;
the novel fusion terminal is internally provided with the alternating current sampling plate.
3. The transparent forwarding method of data according to claim 1, wherein after the transparent forwarding tool listens for the MQTT message, the method further comprises:
the transparent forwarding tool sorts the monitored MQTT messages according to token numbers, and places the MQTT messages in a storage stack according to the first-in first-out principle.
4. A method for transparently forwarding data according to claim 3 and wherein said transparently forwarding tool parses said MQTT message to obtain parsed data, comprising:
the transparent forwarding tool takes out the MQTT message from the storage stack according to the first-in first-out principle;
the transparent forwarding tool parses the body information in the MQTT message using a JSON function, and takes the body information as parsing data.
5. The transparent forwarding method of data according to claim 1, wherein the transparent forwarding tool obtains a target message of an traffic sampling plate to be sent, and the method comprises:
and the transparent forwarding tool extracts a base64 decoding in the analysis data, and obtains a target message of a protocol of the traffic sampling plate to be transmitted according to the base64 decoding.
6. The method for transparently forwarding data according to claim 5, wherein the transparent forwarding tool puts the target message into a channel buffer according to the parsed data, comprising:
the transparent forwarding tool extracts an index field in the MQTT message according to the analysis data, and adds the target message into a sending channel buffer according to the index field;
the transparent forwarding tool reads data from the channel buffer, encrypts the read data through base64 and JSON group code, and buffers the messages Wen Yaru in the corresponding channel in the stack.
7. The transparent forwarding method of data according to claim 1, wherein the ac sampling board sends the backhaul data to the transparent forwarding tool, comprising:
the communication sampling plate enters different classes according to the object attribute in the message, and searches the returned data;
the communication sampling plate sends 698 message composed of the returned data to the transparent transmitting tool.
8. A transparent forwarding system for data, the system comprising: the system comprises an upper computer, a transparent forwarding tool and an alternating current sampling plate; wherein:
the upper computer is used for sending an MQTT message to the communication sampling plate, and the transparent forwarding tool monitors the MQTT message;
the transparent forwarding tool is used for analyzing the MQTT message to obtain analysis data and acquiring a target message of an traffic sampling plate to be sent;
the transparent forwarding tool is further configured to put the target packet into a channel buffer according to the parsing data;
the transparent forwarding tool is further configured to periodically check whether a message to be sent exists in the channel buffer, and if so, send the message to an traffic sampling plate;
and the communication sampling plate is used for verifying the message, searching the returned data corresponding to the upper computer according to the verification result, sending the returned data to the transparent forwarding tool, and uploading the returned data to the upper computer by the transparent forwarding tool.
9. The transparent forwarding system of data according to claim 8 wherein the transparent forwarding tool is further configured to establish a connection with an MQTT reader within a novel converged terminal; the novel fusion terminal is internally provided with the alternating current sampling plate.
10. The transparent forwarding system of data according to claim 8 wherein the transparent forwarding tool is further configured to order the MQTT messages heard according to token number and place the MQTT messages in a memory stack according to a first-in first-out principle.
CN202310470085.9A 2023-04-27 2023-04-27 Transparent forwarding method and system for data Pending CN116527656A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310470085.9A CN116527656A (en) 2023-04-27 2023-04-27 Transparent forwarding method and system for data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310470085.9A CN116527656A (en) 2023-04-27 2023-04-27 Transparent forwarding method and system for data

Publications (1)

Publication Number Publication Date
CN116527656A true CN116527656A (en) 2023-08-01

Family

ID=87402472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310470085.9A Pending CN116527656A (en) 2023-04-27 2023-04-27 Transparent forwarding method and system for data

Country Status (1)

Country Link
CN (1) CN116527656A (en)

Similar Documents

Publication Publication Date Title
CN102946616B (en) Internet of things middleware performance testing system and testing method
KR100554115B1 (en) Computer and device driver having interface driver program for computer and recording medium therefor
CN111294235B (en) Data processing method, device, gateway and readable storage medium
CN102438173A (en) Method and system for remotely controlling set top box (STB)
CN112685248A (en) Intelligent network card monitoring log obtaining method and device, electronic equipment and storage medium
CN108040045B (en) Access flow file generation method and device, server and storage medium
CN106657393A (en) Device remote interaction system and method based on Websocket
CN112235296B (en) Medical image data acquisition method and system, electronic equipment and storage medium
CN111817865A (en) Method for monitoring network management equipment and monitoring system
Ottolini et al. Interoperability and scalability trade-offs in open iot platforms
CN116527656A (en) Transparent forwarding method and system for data
CN110213310B (en) Method, device and storage medium for acquiring path of network service
CN114158074B (en) 5G network element address determination method and device, electronic equipment and storage medium
CN104615271A (en) Processing method for KVM (Kernel-based Virtual Machine) and processing device for KVM
CN114513553A (en) Data processing method and device, electronic equipment and storage medium
CN115250467A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN114615325A (en) Message pushing method and device, computer equipment and storage medium
CN110430098B (en) Data processing system
CN110830329A (en) Method, apparatus, electronic device and medium for data detection
KR20110070767A (en) Remote forensics system based on network
CN101969601B (en) Wireless network built-in POI self-service GPS real-time position reporting method and device
CN110430083A (en) A kind of location processing method and server of agency's forwarding request
KR20080026917A (en) The system and method for jointing the webpage
KR101081379B1 (en) System for analyzing protocol
CN113507499B (en) Smart campus dormitory-checking system based on big data

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