CN115567443B - Service data transmission method and device, gateway equipment and storage medium - Google Patents

Service data transmission method and device, gateway equipment and storage medium Download PDF

Info

Publication number
CN115567443B
CN115567443B CN202211164406.4A CN202211164406A CN115567443B CN 115567443 B CN115567443 B CN 115567443B CN 202211164406 A CN202211164406 A CN 202211164406A CN 115567443 B CN115567443 B CN 115567443B
Authority
CN
China
Prior art keywords
service data
address
image
equipment
carrying
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.)
Active
Application number
CN202211164406.4A
Other languages
Chinese (zh)
Other versions
CN115567443A (en
Inventor
冯毅
刘思聪
林晓伯
邱佳慧
蔡超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202211164406.4A priority Critical patent/CN115567443B/en
Publication of CN115567443A publication Critical patent/CN115567443A/en
Application granted granted Critical
Publication of CN115567443B publication Critical patent/CN115567443B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a service data transmission method, a device, gateway equipment and a storage medium. The method comprises the following steps: acquiring original business data uploaded by at least one data acquisition device; if the original service data does not carry the address tag, adding the address tag to the original service data to obtain the service data carrying the address tag, wherein the address tag comprises the address of the gateway equipment at the target output side; and sending the service data carrying the address tag to the CPE equipment according to the address of the gateway equipment at the target output side, and when the CPE equipment is successfully identified, sending the service data carrying the address tag to the gateway equipment at the target output side through the base station according to the address of the gateway equipment at the target output side, and sending the original service data obtained by analyzing the service data carrying the address tag to the equipment at the target application side through the gateway equipment at the target output side. The method of the application can enable the application side equipment to obtain accurate service conditions of the industrial field.

Description

Service data transmission method and device, gateway equipment and storage medium
Technical Field
The present application relates to industrial field technologies, and in particular, to a method and apparatus for transmitting service data, a gateway device, and a storage medium.
Background
With the development of industrial field technologies, in order to be able to monitor the working conditions or business conditions of an industrial field, transmission methods of business data have emerged.
At present, in an industrial internet scene, a terminal side generally collects high-definition images of a service site through a high-definition camera, and then extracts the high-definition images through a 5G network to obtain service data of the service site and transmits the service data to a cloud. In the transmission process, the high-definition camera is transmitted to the base station through a Customer Premise Equipment(s) device, and then transmitted to the application side device of the cloud end through MEC (Mobile Edge Computing) by the base station.
However, in some specific industrial internet scenarios, for example, in an industrial internet scenario including a multi-service convergence scenario including an industrial control service, service data of a terminal side is pure two-layer data, and CPE equipment cannot directly transmit the pure two-layer data, so that the terminal side equipment cannot smoothly transmit the service data to application side equipment of a cloud end, which causes that the application side equipment cannot accurately obtain a service condition of an industrial field.
Disclosure of Invention
The application provides a transmission method, a device, gateway equipment and a storage medium of service data, which are used for solving the technical problem that in the prior art, application side equipment can not obtain accurate service conditions of an industrial field.
In a first aspect, the present application provides a method for transmitting service data, including:
acquiring original business data uploaded by at least one data acquisition device;
If the original service data does not carry an address tag, adding the address tag to the original service data to obtain service data carrying the address tag, wherein the address tag comprises an address of a target output side gateway device;
And sending the service data carrying the address tag to the CPE equipment according to the address of the target output side gateway equipment, and when the CPE equipment is successfully identified, sending the service data carrying the address tag to the target output side gateway equipment through a base station according to the address of the target output side gateway equipment, and sending the original service data obtained by analyzing the service data carrying the address tag to target application side equipment through the target output side gateway equipment.
In a second aspect, the present application provides a transmission device for service data, including:
The service data acquisition module is used for acquiring the original service data uploaded by at least one data acquisition device;
the tag data acquisition module is used for adding an address tag to the original service data if the original service data does not carry the address tag, so as to acquire service data carrying the address tag, wherein the address tag comprises an address of a target output side gateway device;
And the service data sending module is used for sending the service data carrying the address tag to the CPE equipment according to the address of the target output side gateway equipment, when the CPE equipment is successfully identified, the CPE equipment sends the service data carrying the address tag to the target output side gateway equipment through a base station according to the address of the target output side gateway equipment, and sends the original service data obtained by analyzing the service data carrying the address tag to the target application side equipment through the target output side gateway equipment.
In a third aspect, the present application provides a target input side gateway device, including: a processor, and a memory communicatively coupled to the processor;
The memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method as described in the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions for performing the method according to the first aspect when executed by a processor.
According to the transmission method, the device, the gateway equipment and the storage medium of the service data, the original service data uploaded by at least one data acquisition equipment is obtained; if the original service data does not carry an address tag, adding the address tag to the original service data to obtain service data carrying the address tag, wherein the address tag comprises an address of a target output side gateway device; and sending the service data carrying the address tag to the CPE equipment according to the address of the target output side gateway equipment, and when the CPE equipment is successfully identified, sending the service data carrying the address tag to the target output side gateway equipment through a base station according to the address of the target output side gateway equipment, and sending the original service data obtained by analyzing the service data carrying the address tag to target application side equipment through the target output side gateway equipment. The original service data uploaded by the data acquisition equipment is added with the address label when the original service data does not carry the address label, so that the service data carrying the address label is obtained, and the service data carrying the address label is not pure two-layer data but three-layer data which can be routed because the service data carrying the address label carries the address of the target output side gateway equipment, so that the service data carrying the address label can be identified by the CPE equipment, and the service data carrying the address label is transmitted to the target application side equipment through the base station and the target output side gateway equipment, so that the application side equipment can accurately obtain the service condition of an industrial field.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is an application scenario diagram of a transmission method of service data according to an embodiment of the present application;
fig. 2 is a flow chart of a method for implementing transmission of service data according to an embodiment of the present application;
Fig. 3 is a flow chart illustrating a method for implementing transmission of service data according to another embodiment of the present application;
Fig. 4 is a schematic structural diagram of a method for implementing transmission of service data according to the present application;
Fig. 5 is a schematic structural diagram of a target input side gateway device in a transmission method for implementing service data.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
For a clear understanding of the technical solutions of the present application, the prior art solutions will be described in detail first.
In the traditional mode, in the industrial internet scene at present, a terminal side generally collects high-definition images of a service site through a high-definition camera, and then extracts the high-definition images through a 5G network to obtain service data of the service site and transmits the service data to a cloud. In the transmission process, the high-definition camera is transmitted to the base station through a Customer Premise Equipment(s) device, and then transmitted to the application side device of the cloud end through MEC (Mobile Edge Computing) by the base station. However, in some specific industrial internet scenarios, for example, in an industrial internet scenario including a multi-service convergence scenario including an industrial control service, service data of a terminal side (i.e., a data acquisition device) is pure two-layer data, and CPE devices cannot directly transmit the pure two-layer data, so that the terminal side device cannot smoothly transmit the service data to an application side device of a cloud end, which results in that the application side device cannot accurately obtain a service condition of an industrial field.
Therefore, when the technical problems in the prior art are faced, the inventor finds out after creative research that in order to enable the application side device to accurately obtain the service condition of the industrial field, when the original service data uploaded by the data acquisition device does not carry an address tag, the address tag is added to the original service data to obtain the service data carrying the address tag, and the service data carrying the address tag is not pure two-layer data but routable three-layer data any more due to the fact that the service data carrying the address of the target output side gateway device is carried. The service data carrying the address tag can be identified by the CPE equipment because the service data carrying the address tag carries the address of the target output side gateway equipment, and can be transmitted to the target application side equipment through the base station and the target output side gateway equipment by the CPE equipment because the service data carrying the address tag can be identified by the CPE equipment, so that the application side equipment can accurately obtain the service condition of the industrial field.
As shown in fig. 1, an application scenario of a service data transmission method provided by the embodiment of the present application includes a terminal side device, a target input side gateway device, a CPE device, a MEC device (Multi-ACCESS EDGE Computing device), a target output side gateway device, and an application side device located in a cloud. The terminal side equipment can upload real-time original service data to the target input side gateway equipment, if the target input side gateway equipment determines that the original service data does not carry an address tag, the address tag is added to the original service data, so that the original service data obtains the address of the target output side gateway equipment, and the service data carrying the address tag is obtained. The target input side gateway equipment sends the service data carrying the address tag to the CPE equipment, the CPE equipment can successfully identify the service data carrying the address tag, the service data carrying the address tag is transmitted to the target output side gateway equipment through the base station according to the address of the target output side gateway equipment in the address tag, and the target output side gateway equipment can analyze the service data carrying the address tag to obtain the original service data and send the original service data to the target application side equipment so that the target application side equipment can obtain the original service data.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a schematic diagram of a transmission method of service data according to an embodiment of the present application, and as shown in fig. 2, an execution body of the transmission method of service data according to the embodiment is a target input side gateway device. The transmission method of service data provided in this embodiment includes the following steps:
Step 101, obtaining original service data uploaded by at least one data acquisition device.
The raw business data is data related to business conditions of an industrial site, and can comprise images of the industrial site, wherein the images of the industrial site can comprise images of various mechanical equipment on a pipeline at various angles, and the mechanical equipment can be a mechanical arm and the like. The image of the industrial site may also be an image of the various sides of the product on the pipeline, etc. Since the raw service data is data related to the service condition of the industrial field, the acquisition of the raw service data is a basis for subsequent operation and control of the industrial field and time, for example, the raw service data can be used for detecting defective products or predicting mechanical equipment possibly having faults so as to timely operate and control the mechanical equipment.
The data acquisition device is a terminal device for acquiring original service data, and if the original service data is an image, the data acquisition device may be an image acquisition device, and the image acquisition device may be a high-definition camera, an infrared camera, or the like, for example.
The method for acquiring the original service data uploaded by the data acquisition device may be that the data acquisition device acquires the original service data of the industrial site in real time and sends the original service data to the target input side gateway device, and the target input side gateway device acquires the original service data uploaded by the data acquisition device. If the data acquisition equipment comprises a plurality of types, the plurality of types of data acquisition equipment send the original business data to the target input side gateway equipment in real time so that the target input side gateway equipment acquires various types of original business data.
And 102, if the original service data does not carry the address tag, adding the address tag to the original service data to obtain the service data carrying the address tag.
The address tag may be a GRE tag, and includes an address of the target output side gateway device, where the target input side gateway device sends the original service data with the address tag to the CPE device, so that the CPE device can identify the original service data. If the original service data does not carry the address tag, the target input side gateway device may add the address tag to the original service data, so that the original service data which does not carry the address tag has the address tag, and thus may be identified and transmitted by the CPE device.
In this embodiment, a TCP/IP transmission protocol, that is, a transmission control/network protocol, may also be referred to as a network communication protocol, may be used in the data transmission process, where the TCP/IP transmission protocol generally includes an application layer, a transmission layer, a network layer, and a data link layer. The main protocols of the application layer include Telnet, FTP, SMTP, which are used for receiving data from the transmission layer or transmitting the data to the transmission layer according to different application requirements and modes; the main protocols of the transmission layer include UDP and TCP, and can realize data transmission and data sharing; the main protocol of the network layer is ICMP, IP, IGMP, which is mainly responsible for the transmission of data packets in the network. The main protocols of the data link layer are ARP, RARP, which can be used to provide link management error detection.
The system also has an application layer, a transmission layer, a network layer and a data link layer, which can be called as three-layer data, wherein the three-layer data can be routed and can be identified and transmitted by CPE equipment due to the network layer. The pure two-layer data refers to data which only has an application layer, a transmission layer and a data link layer and does not have a network layer, the pure two-layer data cannot be routed, and CPE equipment cannot identify and transmit the pure two-layer data.
Further, when the original service data does not carry the address tag, it can be understood that the original service data that does not carry the address tag is pure two-layer data without a network layer, so the CPE device cannot recognize the original service data. The traffic data carrying the address tag is three-layer data with a network layer and can therefore be identified by the CPE device.
Step 103, according to the address of the gateway device at the target output side, sending the service data carrying the address tag to the CPE device, when the CPE device successfully identifies, sending the service data carrying the address tag to the gateway device at the target output side through a base station according to the address of the gateway device at the target output side, and sending the original service data obtained by analyzing the service data carrying the address tag to the device at the target application side through the gateway device at the target output side.
When the CPE equipment receives the service data carrying the address tag sent by the target input side gateway equipment, the address tag carrying the service data carrying the address tag can be read first, the identification can be successful after the reading is finished, the CPE equipment can send the service data carrying the address tag to the target output side gateway equipment through the base station according to the address of the target output side gateway equipment in the address tag, and the original service data obtained by analyzing the service data carrying the address tag is sent to the target application side equipment through the target output side gateway equipment, so that the target application side equipment obtains the original service data.
In the application, the original business data uploaded by at least one data acquisition device is obtained; if the original service data does not carry the address tag, adding the address tag to the original service data to obtain the service data carrying the address tag, wherein the address tag comprises the address of the gateway equipment at the target output side; and sending the service data carrying the address tag to the CPE equipment according to the address of the gateway equipment at the target output side, and when the CPE equipment is successfully identified, sending the service data carrying the address tag to the gateway equipment at the target output side through the base station according to the address of the gateway equipment at the target output side, and sending the original service data obtained by analyzing the service data carrying the address tag to the equipment at the target application side through the gateway equipment at the target output side. The original service data uploaded by the data acquisition equipment is added with the address label when the original service data does not carry the address label, so that the service data carrying the address label is obtained, and the service data carrying the address label is not pure two-layer data but three-layer data which can be routed because the service data carrying the address label carries the address of the target output side gateway equipment, so that the service data carrying the address label can be identified by the CPE equipment, and the service data carrying the address label is transmitted to the target application side equipment through the base station and the target output side gateway equipment, so that the application side equipment can accurately obtain the service condition of an industrial field.
As an alternative embodiment, as shown in fig. 3, if the number of types of the data collection devices exceeds one, in this embodiment, following step 102, the following steps are further included:
step 201, determining ports corresponding to the acquisition of various original service data, where the ports are ports of transmission data of the target input side gateway device.
The port refers to a port for transmitting data by the gateway equipment at the input side of the target. The data acquisition equipment can be in communication connection with the target input side gateway in a wired or wireless mode, the target input side gateway equipment is provided with a plurality of data transmission ports, and heterogeneous original service data can be subjected to network isolation, so that confusion of various original service data in the transmission process is avoided, namely, the condition that the original service data of the data acquisition equipment A are transmitted to application side equipment corresponding to the data acquisition equipment B is avoided, and the accuracy of the original service data in the transmission process can be improved.
Different kinds of raw traffic data may be transmitted from different ports of the target input side gateway device into the target input side gateway device. Taking various data acquisition devices as an example, the data acquisition devices are connected with the target input side gateway device in a wired mode, and each original service data has a fixed corresponding input port.
Step 202, adding port labels corresponding to the ports to the original service data respectively to obtain corresponding service data carrying the port labels.
When the target input side gateway device performs network isolation on the original service data, the target input side gateway device may add a port tag corresponding to a port to the original service data according to which port each kind of original service data is transmitted and input.
Based on this, in step 102, an address tag is added to the original service data, so as to obtain service data carrying the address tag, which specifically includes: and adding address labels to the various service data carrying the port labels to obtain the service data carrying the address labels.
In this embodiment, determining a port corresponding to when various original service data are acquired, where the port is a port of the target input side gateway device for transmitting data; and respectively adding port labels corresponding to the ports for the various original service data to obtain corresponding service data carrying the port labels. When the data acquisition equipment has a plurality of types, the port labels of the corresponding ports are added for various original service data, so that the network isolation of the various original service data is realized, and the accuracy of data transmission can be improved.
As an optional implementation manner, in this embodiment, when the at least one data acquisition device includes an image acquirer and the original service data includes an image, step 101 specifically includes: and acquiring the image of the industrial site uploaded by the image acquisition device.
The image acquisition device is an image acquisition device arranged on an industrial site and can be used for acquiring images of the industrial site. If the data acquisition device only includes an image collector, the corresponding original service data only includes an image of an industrial field, and the corresponding application-side device may be a video processor. The target input side gateway equipment acquires the image of the industrial field and transmits the image to the target output side gateway equipment through the CPE equipment, the base station, the MEC equipment and the like, so that the video processor acquires the image of the industrial field, and the service condition of the industrial field can be monitored in real time.
Based on this, in step 102, an address tag is added to the original service data, so as to obtain service data carrying the address tag, which specifically includes: and adding an address label to the image of the industrial site to obtain an image carrying the address label.
In this embodiment, the image of the industrial site uploaded by the image collector may be used to monitor the service condition of the industrial site, so as to facilitate timely tracking and finding of abnormal conditions of the industrial site.
As an optional implementation manner, in this embodiment, the at least one data acquisition device includes a PLC control device and an image collector, and the original service data corresponds to control information and an image; step 101 specifically includes: and acquiring control information which is uploaded by the PLC control equipment and used for controlling the operation of industrial equipment of the industrial site, and acquiring an image of the industrial site uploaded by the image acquisition device, wherein the industrial equipment comprises the image acquisition device.
The PLC control equipment is terminal equipment for controlling the operation of industrial equipment in an industrial site to complete production tasks. The control information is information that the PLC control device uses to control the operation of the industrial device. The PLC control equipment can correspondingly control the industrial equipment through the control information, so that the industrial equipment operates according to the control information, and products are processed and produced. Industrial equipment in an industrial site refers to all mechanical equipment, electrical equipment related to a business production situation (business situation), and may also include an image collector mainly used for monitoring the site. After the PLC server receives the control information, whether the industrial site has abnormal operation conditions or not can be determined according to various preset thresholds and output, so that operation and maintenance personnel can conveniently determine whether the industrial equipment is abnormal in operation or make a pre-judgment, and timely operate and maintain.
The application side device corresponding to the PLC control device may be a PLC server, and the application side device corresponding to the image collector may be a video processor. After the control information (including the control information for each industrial device) is obtained by the PLC server, if the operation and maintenance personnel determines that the shooting range of the image collector has a blind area after the video processor obtains the image of the industrial site, the control instruction can be manually input from the PLC server based on the control information, the control instruction carries the identification of the image collector and the control information for controlling the image collector to rotate, and the PLC control device is instructed to control the image collector to rotate based on the control instruction, so that the shooting range of the image collector does not have the blind area any more. In addition to automatically adjusting the image collector or other industrial equipment, the operation and maintenance personnel can also manually operate and maintain the industrial site in an off-line mode according to the condition of the industrial site displayed by the video processor or when the PLC server outputs the industrial equipment with abnormal operation.
Based on this, in step 102, an address tag is added to the original service data, so as to obtain service data carrying the address tag, which specifically includes: adding an address label to the control information to obtain control information carrying the address label, and adding the address label to the image of the industrial site to obtain the image carrying the address label.
In this embodiment, control information for controlling operation of industrial equipment on an industrial site, which is uploaded by the PLC control device, is obtained, and an image of the industrial site, which is uploaded by the image collector, is obtained, where the industrial equipment includes the image collector. By acquiring the control information and the images of the industrial site, the image collector or other industrial equipment can be correspondingly adjusted so that the industrial site can normally carry out production tasks or construction tasks.
As an optional implementation manner, in this embodiment, before adding an address tag to the image of the industrial site to obtain an image carrying the address tag, the method further includes: and compressing the image of the industrial site to obtain a compressed image.
The compression processing can be to remove a plurality of frames of images of the industrial sites with high similarity aiming at the images of the continuous multi-frame industrial sites so as to screen and obtain one or a few frames of images of the industrial sites, thereby reducing the data redundancy and improving the processing speed of the gateway equipment at the target input side.
The image of each frame of the industrial site may contain a plurality of colors, some of which are not noticeable to the naked human eye, and may be subjected to a compression process, i.e., the colors which are not noticeable to the naked human eye in the image of each frame of the industrial site are removed. Similarly, the data redundancy is reduced, and the processing speed of the gateway equipment at the target input side is improved.
Based on the above, the adding an address tag to the image of the industrial field to obtain an image carrying the address tag specifically includes: and adding an address label to the compressed image to obtain an image carrying the address label.
In this embodiment, the image of the industrial site is compressed, and a compressed image is obtained. By compressing the image of the industrial site, the data redundancy can be reduced and the processing speed of the gateway device on the input side of the target can be increased.
As an optional implementation manner, in this embodiment, after performing compression processing on the image of the industrial site to obtain a compressed image, the method further includes: and carrying out image filtering processing on the compressed image to obtain a filtered image.
After the image of the industrial site is compressed, the obtained compressed image may lose data details, so that a blocking effect is formed. The image filtering process can reduce the blocking effect generated after the compression process, and filter the pixels at the block boundary to realize the smooth change of the pixel value, thereby reducing the noise of the image of the industrial field as much as possible. The filtering process may be a nonlinear filter, a median filter, a bilateral filter, or the like, and is not particularly limited.
Based on this, the adding an address tag to the compressed image to obtain an image carrying the address tag specifically includes: and adding an address label to the filtered image to obtain an image carrying the address label.
In this embodiment, the compressed image is subjected to image filtering processing to obtain a filtered image, so that a blocking effect caused by image compression processing can be further eliminated, and noise of an image of an industrial site is reduced.
In one embodiment, after performing image filtering processing on the compressed image to obtain a filtered image, the method further includes: and acquiring statistical characteristics of a plurality of pixel points of the filtered image, and setting corresponding offset values for the pixel points according to the statistical characteristics to obtain the compensated image.
The corresponding offset value is set for each pixel according to the statistical feature, which can be understood that when the value of the pixel is lower than the value of the statistical feature, the offset value is a positive value. When the value of the pixel point is higher than the value of the statistical feature, the offset value is a negative value. The purpose of setting the corresponding offset value for each pixel point according to the statistical characteristics is to make the values of each pixel point as consistent as possible. The value of the pixel point includes a luminance value.
As an alternative implementation manner, in this embodiment, step 102 includes the following steps:
Step 301, obtaining an optimal routing node path between the target input side gateway device and the target output side gateway device.
Wherein there may be multiple input side gateway devices and multiple output side gateway devices, before step 101, a routing connection is established between each input side gateway device and each output side gateway device by broadcasting or unicasting, and an optimal routing node path is determined between each group of input side gateway devices and each output side gateway device. The best routing node path is typically one that traverses the least number of device hops during transmission. After the determination, the information is stored in the group of the input side gateway device and the output side gateway device and the router passing between the two.
The optimal routing node path between the target input side gateway device and the target output side gateway device is a routing path with the minimum number of device hops passing between the target input side gateway device and the target output side gateway device in the data transmission process.
And step 302, determining the address of the target output side gateway equipment according to the optimal routing node path.
Wherein each router passing through from the target input side gateway device to the target output side gateway device is recorded in the optimal routing node path, and the address of the target output side gateway device can be determined. The router is a router between the base station and the output side gateway device. Each router stores an optimal route node path, when receiving data transmitted by a previous router, the router can determine the address of a next router corresponding to the optimal route node path according to the optimal route node path, and send the data to the next router.
And 303, adding the address of the target output side gateway device as the address label of the original service data to obtain the service data carrying the address label.
After determining the address of the target output side gateway device, the address of the target output side gateway device is used as an address tag of the original service data, and the service data carrying the address tag can be obtained.
In this embodiment, an optimal routing node path between the target input side gateway device and the target output side gateway device is obtained; determining the address of the gateway equipment at the target output side according to the optimal routing node path; and adding the address of the target output side gateway equipment as the address label of the original service data to obtain the service data carrying the address label. The address of the target output side gateway equipment is determined according to the optimal route node path between the target input side gateway equipment and the target output side gateway equipment and is determined to be the address label of the original service data, so that the accuracy of the address label of the original service data is facilitated to be obtained.
Fig. 4 is a schematic structural diagram of a transmission device for service data according to an embodiment of the present application, as shown in fig. 4, where the transmission device 40 for service data according to the embodiment is located in a target input side gateway device, the transmission device 40 for service data according to the embodiment includes: a service data acquisition module 41, a tag data acquisition module 42 and a service data transmission module 43. Wherein:
A service data obtaining module 41, configured to obtain original service data uploaded by at least one data acquisition device;
A tag data obtaining module 42, configured to add an address tag to the original service data if the original service data does not carry an address tag, to obtain service data carrying the address tag, where the address tag includes an address of a gateway device on a target output side;
And the service data sending module 43 is configured to send the service data carrying the address tag to a CPE device according to the address of the target output side gateway device, and when the CPE device successfully identifies, the CPE device sends the service data carrying the address tag to the target output side gateway device through a base station according to the address of the target output side gateway device, and sends the original service data obtained by analyzing the service data carrying the address tag to a target application side device through the target output side gateway device.
Optionally, the transmission device 40 of service data further includes a network isolation module, configured to: if the number of the types of the data acquisition equipment exceeds one type, determining ports corresponding to the various types of the original service data after the original service data uploaded by at least one type of the data acquisition equipment are acquired, wherein the ports are ports for transmitting data of the target input side gateway equipment; and respectively adding port labels corresponding to the ports for the various original service data to obtain corresponding service data carrying the port labels. Correspondingly, the tag data obtaining module 42 is specifically configured to: and adding address labels to the various service data carrying the port labels to obtain the service data carrying the address labels.
Optionally, the at least one data acquisition device comprises an image acquirer, and the original business data comprises an image; the service data acquisition module 41 is specifically configured to: and acquiring the image of the industrial site uploaded by the image acquisition device. Correspondingly, the tag data obtaining module 42 is specifically configured to: and adding an address label to the image of the industrial site to obtain an image carrying the address label.
Optionally, the at least one data acquisition device comprises a PLC control device and an image collector, and the original service data corresponds to control information and an image; the service data acquisition module 41 is specifically configured to: and acquiring control information which is uploaded by the PLC control equipment and used for controlling the operation of industrial equipment of the industrial site, and acquiring an image of the industrial site uploaded by the image acquisition device, wherein the industrial equipment comprises the image acquisition device. Correspondingly, the tag data obtaining module 42 is specifically configured to: adding an address label to the control information to obtain control information carrying the address label, and adding the address label to the image of the industrial site to obtain the image carrying the address label.
Optionally, the transmission device 40 of service data further includes an image compression module, configured to: before adding an address tag to the image of the industrial site to obtain an image carrying the address tag, compressing the image of the industrial site to obtain a compressed image. Correspondingly, the tag data obtaining module 42 is specifically configured to: and adding an address label to the compressed image to obtain an image carrying the address label.
Optionally, the transmission device 40 of service data further includes an image filtering module, configured to: and after the compression processing is carried out on the image of the industrial site to obtain a compressed image, carrying out image filtering processing on the compressed image to obtain a filtered image. Correspondingly, the tag data obtaining module 42 is specifically configured to: and adding an address label to the filtered image to obtain an image carrying the address label.
Optionally, the tag data obtaining module 42 is specifically configured to: acquiring an optimal routing node path between the target input side gateway equipment and the target output side gateway equipment; determining the address of the gateway equipment at the target output side according to the optimal routing node path; and adding the address of the target output side gateway equipment as the address label of the original service data to obtain the service data carrying the address label.
Fig. 5 is a block diagram of a target input side gateway device, which may be as shown in fig. 5, according to an exemplary embodiment, including: a memory 51, a processor 52; memory 51 is a memory for storing processor-executable instructions; the processor 52 is configured to execute a computer program or instructions to implement the method for transmitting service data provided in any of the embodiments above.
The memory 51 is used for storing programs. In particular, the program may include program code including computer-operating instructions. The memory 51 may comprise a high-speed RAM memory or may further comprise a non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor 52 may be a central processing unit (Central Processing Unit, abbreviated as CPU), or an Application SPECIFIC INTEGRATED Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present disclosure.
Alternatively, in a specific implementation, if the memory 51 and the processor 52 are implemented independently, the memory 51 and the processor 52 may be connected to each other and communicate with each other through the bus 53. The bus 53 may be an industry standard architecture (Industry Standard Architecture, abbreviated ISA) bus 53, an external device interconnect (PERIPHERAL COMPONENT, abbreviated PCI) bus 53, or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated EISA) bus 53, among others. The bus 53 may be classified into an address bus 53, a data bus 53, a control bus 53, and the like. For ease of illustration, only one thick line is shown in fig. 5, but not only one bus 53 or one type of bus 53.
Alternatively, in a specific implementation, if the memory 51 and the processor 52 are integrated on a chip, the memory 51 and the processor 52 may perform the same communication through an internal interface.
A non-transitory computer readable storage medium, which when executed by a processor of a target input side gateway device, causes the target input side gateway device to perform the above-described method of transmitting traffic data of the target input side gateway device.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A method for transmitting service data, applied to a target input side gateway device, the method comprising:
acquiring original business data uploaded by at least one data acquisition device;
If the original service data does not carry an address tag, adding the address tag to the original service data to obtain service data carrying the address tag, wherein the address tag comprises an address of a target output side gateway device;
determining ports corresponding to the acquisition of various original service data, wherein the ports are ports of transmission data of target input side gateway equipment;
Respectively adding port labels corresponding to ports for various original service data to obtain corresponding service data carrying the port labels;
And sending the service data carrying the address tag to the CPE equipment according to the address of the target output side gateway equipment, and when the CPE equipment is successfully identified, sending the service data carrying the address tag to the target output side gateway equipment through a base station according to the address of the target output side gateway equipment, and sending the original service data obtained by analyzing the service data carrying the address tag to target application side equipment through the target output side gateway equipment.
2. The method according to claim 1, wherein adding an address tag to the original service data to obtain service data carrying the address tag comprises:
And adding address labels to the various service data carrying the port labels to obtain the service data carrying the address labels.
3. The method of claim 1, wherein the at least one data acquisition device comprises an image acquisition device and the raw business data comprises an image; the obtaining the original service data uploaded by the at least one data acquisition device includes:
acquiring an image of the industrial site uploaded by the image acquisition device;
the adding the address tag for the original service data to obtain the service data carrying the address tag comprises the following steps:
And adding an address label to the image of the industrial site to obtain an image carrying the address label.
4. The method of claim 2, wherein the at least one data acquisition device comprises a PLC control device and an image collector, the raw business data corresponding to control information and an image; the obtaining the original service data uploaded by the at least one data acquisition device includes:
Acquiring control information which is uploaded by the PLC control equipment and used for controlling the operation of industrial equipment of an industrial site, and acquiring an image of the industrial site uploaded by the image acquisition device, wherein the industrial equipment comprises the image acquisition device;
the adding the address tag for the original service data to obtain the service data carrying the address tag comprises the following steps:
Adding an address label to the control information to obtain control information carrying the address label, and adding the address label to the image of the industrial site to obtain the image carrying the address label.
5. The method according to any one of claims 3 or 4, wherein said adding an address tag to an image of said industrial site, prior to obtaining an image carrying an address tag, further comprises:
Compressing the image of the industrial site to obtain a compressed image;
adding an address tag to the image of the industrial site to obtain an image carrying the address tag, wherein the adding comprises the following steps:
and adding an address label to the compressed image to obtain an image carrying the address label.
6. The method of claim 5, wherein the compressing the image of the industrial site, after obtaining the compressed image, further comprises:
performing image filtering processing on the compressed image to obtain a filtered image;
Adding an address tag to the compressed image to obtain an image carrying the address tag, wherein the adding comprises the following steps:
and adding an address label to the filtered image to obtain an image carrying the address label.
7. The method according to claim 1, wherein adding an address tag to the original service data to obtain service data carrying the address tag comprises:
acquiring an optimal routing node path between the target input side gateway equipment and the target output side gateway equipment;
determining the address of the gateway equipment at the target output side according to the optimal routing node path;
And adding the address of the target output side gateway equipment as the address label of the original service data to obtain the service data carrying the address label.
8. A transmission apparatus for service data, the apparatus comprising:
The service data acquisition module is used for acquiring the original service data uploaded by at least one data acquisition device;
The tag data acquisition module is used for adding an address tag to the original service data if the original service data does not carry the address tag, so as to acquire service data carrying the address tag, wherein the address tag comprises an address of a target output side gateway device; determining ports corresponding to the acquisition of various original service data, wherein the ports are ports of transmission data of target input side gateway equipment; respectively adding port labels corresponding to ports for various original service data to obtain corresponding service data carrying the port labels;
And the service data sending module is used for sending the service data carrying the address tag to the CPE equipment according to the address of the target output side gateway equipment, when the CPE equipment is successfully identified, the CPE equipment sends the service data carrying the address tag to the target output side gateway equipment through a base station according to the address of the target output side gateway equipment, and sends the original service data obtained by analyzing the service data carrying the address tag to the target application side equipment through the target output side gateway equipment.
9. A target input side gateway device comprising: a processor, and a memory communicatively coupled to the processor;
The memory stores computer-executable instructions;
The processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1-7.
10. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1-7.
CN202211164406.4A 2022-09-23 2022-09-23 Service data transmission method and device, gateway equipment and storage medium Active CN115567443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211164406.4A CN115567443B (en) 2022-09-23 2022-09-23 Service data transmission method and device, gateway equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211164406.4A CN115567443B (en) 2022-09-23 2022-09-23 Service data transmission method and device, gateway equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115567443A CN115567443A (en) 2023-01-03
CN115567443B true CN115567443B (en) 2024-06-04

Family

ID=84740665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211164406.4A Active CN115567443B (en) 2022-09-23 2022-09-23 Service data transmission method and device, gateway equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115567443B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116319665B (en) * 2023-03-03 2024-07-05 上海繁易信息科技股份有限公司 Communication method, device, equipment and medium based on dynamic positioning PLC label address

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7068654B1 (en) * 2001-04-18 2006-06-27 3Com Corporation System and method for providing masquerading using a multiprotocol label switching
KR20130093232A (en) * 2012-02-14 2013-08-22 에스케이플래닛 주식회사 System and method for providing advertisement service
US9100206B1 (en) * 2012-03-30 2015-08-04 Juniper Networks, Inc. Seamless architecture for cable access networks
WO2016062025A1 (en) * 2014-10-20 2016-04-28 中兴通讯股份有限公司 Method and device for selecting policy and charging rules function
WO2016062026A1 (en) * 2014-10-20 2016-04-28 中兴通讯股份有限公司 Method and device for selecting policy and charging rules function
CN108199945A (en) * 2017-12-23 2018-06-22 华为技术有限公司 Message transmitting method, provider edge equipment and system
CN109039919A (en) * 2018-10-11 2018-12-18 平安科技(深圳)有限公司 Forward-path determines method, apparatus, system, computer equipment and storage medium
CN111459835A (en) * 2020-04-15 2020-07-28 望海康信(北京)科技股份公司 Service debugging method and device, electronic equipment and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102005028008A1 (en) * 2005-06-16 2006-12-28 Deutsche Telekom Ag Method and independent communication subnetwork for determining label-switched routes in such a communication subnetwork
US10958570B2 (en) * 2019-04-04 2021-03-23 Cisco Technology, Inc. Interoperability between symmetric and asymmetric EVPN IRB modes
CN112422307B (en) * 2019-08-22 2022-06-14 华为技术有限公司 Method, equipment and system for EVPN and VPLS coexistence dual-activity

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7068654B1 (en) * 2001-04-18 2006-06-27 3Com Corporation System and method for providing masquerading using a multiprotocol label switching
KR20130093232A (en) * 2012-02-14 2013-08-22 에스케이플래닛 주식회사 System and method for providing advertisement service
US9100206B1 (en) * 2012-03-30 2015-08-04 Juniper Networks, Inc. Seamless architecture for cable access networks
WO2016062025A1 (en) * 2014-10-20 2016-04-28 中兴通讯股份有限公司 Method and device for selecting policy and charging rules function
WO2016062026A1 (en) * 2014-10-20 2016-04-28 中兴通讯股份有限公司 Method and device for selecting policy and charging rules function
CN108199945A (en) * 2017-12-23 2018-06-22 华为技术有限公司 Message transmitting method, provider edge equipment and system
CN109039919A (en) * 2018-10-11 2018-12-18 平安科技(深圳)有限公司 Forward-path determines method, apparatus, system, computer equipment and storage medium
CN111459835A (en) * 2020-04-15 2020-07-28 望海康信(北京)科技股份公司 Service debugging method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN115567443A (en) 2023-01-03

Similar Documents

Publication Publication Date Title
CN115567443B (en) Service data transmission method and device, gateway equipment and storage medium
US20070014232A1 (en) Apparatus and method for detecting network failure
CN109167762B (en) IEC104 message checking method and device
US20230156324A1 (en) Multi-Channel Image and Video Stream Synchronization and Distributed Processing Method and System Based on 5G Environment
CN105991795B (en) ARP entry update method and device
EP2840785A1 (en) Terahertz wireless communications-based peer-monitoring method and system thereof
CN112565178B (en) Unmanned aerial vehicle electrical equipment inspection system based on streaming media technology
CN111988170B (en) Terminal fault positioning method and device
CN113497832A (en) Remote maintenance system, method and server
CN111629205A (en) System and method applied to industrial camera simulation test
CN115936672A (en) Smart power grid online safety operation and maintenance management method and system
CN112995515B (en) Data processing method and device, storage medium and electronic device
US20220006960A1 (en) Camera analyzing images on basis of artificial intelligence, and operating method therefor
CN103458431B (en) The playback system of multipoint acquisition and cross-layer
CN116032694A (en) Real-time block data reading method based on industrial Internet of things gateway
CN102256103B (en) Application server and method for realizing camera control
CN111866586B (en) Underground video data processing method and device, electronic equipment and storage medium
US20050028215A1 (en) Network camera supporting multiple IP addresses
CN116996749B (en) Remote target object tracking system and method under multiple monitoring pictures
CN115297030B (en) Method and system for monitoring end-to-end network delay
KR102659734B1 (en) Information Code Pattern Recognition Apparatus
US11678068B2 (en) Glare removal using dual cameras
CN117675622B (en) Visual display system of thing networking equipment flow
US20240236808A1 (en) Management apparatus, management system, and management method
CN110855930B (en) Intelligent identification method and system for network equipment

Legal Events

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