CN107689924B - Method and system for sending monitoring data - Google Patents

Method and system for sending monitoring data Download PDF

Info

Publication number
CN107689924B
CN107689924B CN201710761001.1A CN201710761001A CN107689924B CN 107689924 B CN107689924 B CN 107689924B CN 201710761001 A CN201710761001 A CN 201710761001A CN 107689924 B CN107689924 B CN 107689924B
Authority
CN
China
Prior art keywords
communication
character string
data
driving system
label
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
CN201710761001.1A
Other languages
Chinese (zh)
Other versions
CN107689924A (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.)
Beijing Geshi Jinghua Information Technology Co ltd
Original Assignee
Beijing Geshi Jinghua Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Geshi Jinghua Information Technology Co ltd filed Critical Beijing Geshi Jinghua Information Technology Co ltd
Priority to CN201710761001.1A priority Critical patent/CN107689924B/en
Publication of CN107689924A publication Critical patent/CN107689924A/en
Application granted granted Critical
Publication of CN107689924B publication Critical patent/CN107689924B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/126Character encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/41Flow control; Congestion control by acting on aggregated flows or links

Abstract

The invention provides a method and a system for sending monitoring data, which relate to the technical field of communication monitoring, wherein the method for sending the monitoring data is used for sending batch control commands, and comprises the following steps: loading a character string label configuration by a communication driving system; the data acquisition system receives a batch control command, combines the batch control command to generate character string label data according to the character string label configuration, and sends the character string label data to a communication driving system; the communication driving system sends the character string label data to the execution equipment, and the technical problems that batch commands in the prior art are more time-consuming to send to the equipment one by one, so that the time for the system to complete the whole control flow is prolonged, the performance requirement of the system for rapidness cannot be met, overtime is easily caused, the equipment cannot be executed, and the like are solved.

Description

Method and system for sending monitoring data
Technical Field
The present invention relates to the field of communication monitoring technologies, and in particular, to a method and a system for sending monitoring data.
Background
With the development of computer technology, communication technology and monitoring technology, computer networking system integration technology is increasingly applied to industrial monitoring systems. In the rail transit industry, in order to improve the level of operation driving management, an Integrated Supervisory Control System (ISCS for short) is widely applied and popularized.
ISCS is a highly integrated comprehensive Automatic monitoring System, which is implemented by integrating And interconnecting Power substation Automation System (Power Supervisory Control And Data Acquisition, PSCADA for short), environment And equipment monitoring System (BAS for short), Fire Automatic Alarm System (FAS for short), Temperature Sensing optical fiber detection System (DTS for short), screen door (PSD for short), Flood gate (Flood gate for short), Automatic ticket selling System (Automatic Fare Collection System for short), Access Control System (Access Control System, ACS for short), Closed Circuit Television monitoring System (Closed Circuit Television communication, CCTV for short), wireless communication System (Radio FG for short), Passenger Information display System (Information System for short), And Passenger Information centralized communication System (Information System, Passenger Information display System for short), TEL/ALARM for short), and the like. In the communication process with the systems, the communication front-end processor software runs on an interface server, a serial port line or a network is used as a physical link, and an industrial communication protocol is used as a means to realize data transmission. The scheme for realizing communication by integrating a comprehensive monitoring system and a broadcasting system (PA for short) is to develop a broadcast driver communication driver under a driver development kit according to the communication protocol requirements of the broadcasting system hardware equipment to realize that an operator monitors the equipment on a human-computer interface.
At present, when the number of remote control points for issuing commands is small, the system operates normally, but when the number of remote control points in batches is too large, the system cannot operate normally. For example, when the system runs, an operator sends a batch control command to the PA over 200 monitoring points, the batch command needs to be issued to the device one by one, and the time consumed by the operator from sending the batch control command to the time when the device receives the control command data is too long, which results in that the time for the system to complete the whole control process is prolonged, the rapid performance requirement of the system cannot be met, and the conditions of timeout, device failure, etc. are easily caused.
Disclosure of Invention
In view of this, an object of the present invention is to provide a method and a system for sending monitoring data, so as to solve the technical problems that in the prior art, batch commands are issued to devices one by one, which takes much time, and therefore, the time for the system to complete the whole control flow is prolonged, the requirement for fast performance of the system cannot be met, and conditions such as timeout, device failure, and the like are easily caused.
In a first aspect, an embodiment of the present invention provides a method for sending monitoring data, where the method is used to send a batch control command, and the method includes:
loading a character string label configuration by a communication driving system;
the data acquisition system receives a batch control command, combines the batch control command to generate character string label data according to the character string label configuration, and sends the character string label data to a communication driving system;
and the communication driving system sends the character string label data to an execution device.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the character string tag data includes:
the batch control start address, the number of tags, and a plurality of tag values.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where before the loading of the configuration of the character string tag by the communication driver system, the method further includes:
starting a data acquisition system, and loading tag attribute configuration data;
and the data acquisition system reads the configuration data and establishes a tag value storage area.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the loading of the string tag configuration by the communication driver system specifically includes:
initializing a communication driving system;
the communication driving system defines a label of a character string type;
the communication drive system registers with the data acquisition system.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where before the data acquisition system receives the batch control command, the data acquisition system further includes:
the Human Machine Interface (HMI) combines a plurality of control commands into a batch control command and sends the batch control command to the data acquisition system.
With reference to the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where the sending, by the communication driver system, the character string tag data to an execution device specifically includes:
the communication driving system receives the character string label data;
the communication driving system makes up the character string label data into a communication message according to a communication protocol of the communication driving system and the execution equipment and sends the communication message to the execution equipment;
and the communication driving system analyzes the value of the character string label data and records the batch control starting address, the label quantity and a plurality of label values in the analysis result.
With reference to the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where after the sending, by the communication driver system, the character string tag data to an execution device, the method further includes:
the communication driving system receives and analyzes information returned by the execution equipment to obtain a control execution result;
when the control execution result shows that the failure times are smaller than a preset value, the communication driving system sends the character string label data to the execution equipment;
and the communication driving system carries out communication record and stops communication when the control execution result shows that the failure times are larger than a preset value or the control execution result shows that the failure times are successful.
In a second aspect, an embodiment of the present invention further provides a system for sending monitoring data, including: the system comprises a communication driving system, a data acquisition system and an execution device;
the communication driving system loads a character string label configuration;
the data acquisition system receives a batch control command, combines the batch control command to generate character string label data according to the character string label configuration, and sends the character string label data to the communication driving system;
and the communication driving system sends the character string label data to the execution equipment.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the character string tag data includes:
the batch control start address, the number of tags, and a plurality of tag values.
With reference to the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the communication driving system includes: a receiving unit, a transmitting unit and a recording unit;
the receiving unit is used for receiving the character string label data sent by the data acquisition system;
the sending unit is used for forming a communication message by the character string label data according to a communication protocol of a communication driving system and the execution equipment and sending the communication message to the execution equipment;
the recording unit is used for analyzing the value of the character string label data and recording the batch control starting address, the label quantity and a plurality of label values in the analysis result.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: the sending method of the monitoring data provided by the embodiment of the invention is used for sending the batch control command, and comprises the following steps: firstly, a communication driving system loads a character string label configuration, then a data acquisition system receives a batch control command, combines the batch control command to generate character string label data according to the character string label configuration, then sends the character string label data to the communication driving system, finally, the communication driving system sends the character string label data to an execution device, combines the received batch control command to generate the character string label data through the data acquisition system, then only the character string label data which integrates all the batch control commands is required to be transmitted, the batch commands are not required to be transmitted one by one, only one character string is transmitted, the transmission quantity can be greatly reduced, a great amount of time is saved, and the problem that more time is consumed when the batch commands in the prior art are issued to the device one by one is solved, the time for the system to complete the whole control flow is prolonged, the requirement on the quick performance of the system cannot be met, and the technical problems of overtime, incapability of executing equipment and the like are easily caused.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart illustrating a method for sending monitoring data according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a structure of string tag data according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for sending monitoring data according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram illustrating a monitoring data transmission system according to a third embodiment of the present invention.
Icon: 1-a transmission system of monitoring data; 11-a communication drive system; 12-a data acquisition system; 13-executing the device.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Based on the above, the sending method and system for monitoring data provided by the embodiment of the invention can solve the technical problems that in the prior art, batch commands are more time-consuming to be sent to equipment one by one, so that the time for the system to complete the whole control flow is prolonged, the equipment cannot execute and the like is easily caused.
For facilitating understanding of the present embodiment, first, a method and a system for sending monitoring data disclosed in the present embodiment are described in detail.
The first embodiment is as follows:
the sending method of monitoring data provided by the embodiment of the invention is used for sending batch control commands, and can be an implementation method of a technology for rapidly issuing batch remote control data based on an industrial monitoring system and a comprehensive monitoring system, as shown in fig. 1, the sending method of monitoring data comprises the following steps:
s11: the communication driver system loads a string tag configuration.
As a preferred implementation of this embodiment, the communication driver system may be a driver responsible for integrated monitoring of communication with the PA. Thus, the communication driven system may also be in the form of a broadcast drive.
S12: the data acquisition system receives the batch control commands, combines the batch control commands to generate character string label data according to the character string label configuration, and sends the character string label data to the communication driving system.
In the step, the batch control commands are combined into a regular character string in the data acquisition management system, and the command in the character string form is distributed to the communication drive system to be executed. The data acquisition system can be a data acquisition system of the comprehensive monitoring system, and the communication driving system can be a driving module in the data acquisition system and responsible for communicating with the PA. The data acquisition system may also be in the form of a front-end processor (FEP) for integrated monitoring.
As shown in fig. 2, the character string tag data includes: the batch control start address, the number of tags, and a plurality of tag values. The rules for a string may be: the starting address of a data point occupies two bytes, the number occupies two bytes, and the value of each point occupies two bytes. The first two bytes represent the start address followed by the number of tag point values, the value of each tag point, respectively. For example: 0003000A 0001000100010001000100010001000100010001, the first two bytes 0003 indicating a start address of 3, 000A indicating 10 point values, 0001000100010001000100010001000100010001 indicating 1 for the first to tenth point values.
The character string structure in the embodiment of the present invention may also have other various expression forms, for example: 3: 10: 1: 1: 1: 1: 1: 1: 1: 1: 1: 1, wherein ": "other delimiters may be substituted.
For the prior art, the embodiment of the invention defines a remote control point with a regular character string type data value in a communication driving system. According to the method, a character string point is formed in the data acquisition management system and is sent to the execution equipment by the communication driving system, so that the delay time for sending a plurality of data points one by one is reduced, the whole batch remote control process is completed instantly, the usability of software is ensured, and the accuracy and reliability of the system are improved.
The method provided by the embodiment of the invention is not only suitable for the comprehensive monitoring system in the rail transit industry, but also suitable for all industrial monitoring systems in other industries for realizing equipment data acquisition and transmission through communication protocols.
Example two:
the sending method of monitoring data provided by the embodiment of the invention is used for sending batch control commands, and can be an implementation method of a technology for rapidly issuing batch remote control data based on an industrial monitoring system and a comprehensive monitoring system, as shown in fig. 3, the sending method of monitoring data comprises the following steps:
s21: and starting a data acquisition system and loading the label attribute configuration data.
When the system is started, the data acquisition system loads configuration data. The data acquisition system is a data acquisition system of the integrated monitoring system, and the data acquisition system may be in the form of a front-end processor (FEP for short) of integrated monitoring.
S22: and the data acquisition system reads the configuration data and establishes a tag value storage area.
In this step, the data acquisition system reads all the tag attribute configuration information configured by the system, creates a tag value storage area, and can expand the data value into a tag data storage data area of a character string type in the data acquisition system.
S23: and initializing the communication driving system.
As another implementation manner of this embodiment, the communication driving system is a driving module in the data acquisition system, which is responsible for communicating with the PA. Specifically, the communication driver may be a driver responsible for integrated monitoring of communications with the PA, and thus, the communication driver may also be in a broadcast-driven form.
S24: the communication driven system defines a string type tag.
In the step of loading the character string label configuration information, a label with a data type of a regular character string type is created in the communication driving system. The string tag data may include: the batch control start address, the number of tags, and a plurality of tag values. The structure and rules of the character string can have various expression forms, such as: the start address of a data point occupies two bytes, the number occupies two bytes, the value of each point occupies two bytes, the first two bytes represent the start address, and then the number of tag point values, the value of each tag point, respectively.
S25: the communication drive system registers with the data acquisition system.
The data acquisition system can also be in an FEP form, and the function of the acquisition system is realized. The FEP may be a generic factory, which may include any variety of which the communication driven system is only one. If the communication driver system needs to work, the communication driver system has to register with the FEP class factory, and the communication driver system can continue the process to perform specific communication on subsequent equipment. The communication driver system can be responsible for specific communication, and if the communication driver system needs to operate normally, data must be put in the whole FEP class factory model system, so that the FEP class factory must be registered first.
S26: the HMI combines a plurality of control commands into a batch control command and sends the batch control command to the data acquisition system.
For the prior art, when the system runs and an operator sends a batch control command to the PA for more than 200 points, the operation on a human-computer interface is complicated, and the working efficiency is influenced.
By the method for sending the monitoring data, batch remote control data can be quickly sent, operation steps of operators are reduced, and accordingly working efficiency is improved.
S27: the data acquisition system receives the batch control commands, combines the batch control commands to generate character string label data according to the character string label configuration, and sends the character string label data to the communication driving system.
It should be noted that, after all the applications of the data acquisition management system are initialized, when the HMI batch remote control command is transmitted, the data acquisition system receives the batch control command from the HMI and performs determination according to the attribute of the command. The HMI and the data acquisition management system can transmit commands through an interface.
Preferably, in the data acquisition management system, the batch control commands are combined into the regular character string, and the commands in the form of the character string are distributed to the communication drive system to be executed.
S28: the communication driving system receives character string label data;
as a preferred embodiment of this embodiment, the communication driver system receives the batch control command in the form of the character string.
S29: and the communication driving system makes the character string label data into a communication message according to the communication protocol of the communication driving system and the execution equipment.
Specifically, when the communication driving system receives a control command to be processed, the tag is taken out from the data area, the tag value is analyzed, and the tag is assembled to generate a communication message according to a communication protocol with the execution device.
S30: and the communication driving system sends the communication message to the execution equipment.
S31: the communication driving system analyzes the value of the character string label data and records the batch control starting address, the label quantity and a plurality of label values in the analysis result.
Preferably, the communication driver system parses a string type value of the remote control command, and stores the parsed batch control start address, the number of tags, and the plurality of tag values in the memory.
S32: and the communication driving system receives and analyzes the information returned by the execution equipment to obtain a control execution result.
And after receiving the response message replied by the execution equipment, the communication driving system analyzes the remote control execution result in the reply message to obtain the remote control execution result.
S33: the communication driving system judges whether the control execution result is successful or failed.
In this embodiment, the communication drive system determines whether the control execution result is successful or failed according to the remote control execution result.
S331: and if the control execution result is successful, the communication driving system carries out communication recording.
In actual practice, if the execution is successful, the communication log is recorded. After recording the communication log: if there is a batch command to be executed next time, go to step S28, i.e. restart the process from step S28; if there is no batch command to execute next time, the communication is stopped, i.e., the flow is ended.
S332: and if the control execution result is failure, judging whether the failure times are greater than a preset value.
On one hand, if the control execution result shows that the failure times are larger than the preset value, the communication driving system carries out communication recording. After recording the communication log: if there is a batch command to be executed next time, go to step S28, i.e. restart the process from step S28; if there is no batch command to execute next time, the communication is stopped, i.e., the flow is ended.
On the other hand, if the control execution result is that the number of times of failure is less than or equal to the preset value, the step S30 is performed: and the communication driving system sends the communication message to the execution equipment. That is, if the execution fails, the communication driving system resends the communication message to the execution device, and then continues the process.
Therefore, when the data acquisition system receives the batch commands, the batch commands are combined into a character string form, the data acquisition system issues and transmits the character string to the communication driving system, and the communication driving system issues the character string to the execution equipment in batch. Meanwhile, the communication driving system can also unpack the character string, record each data value in the character string and transmit the data value to the corresponding execution equipment, and then log.
In the existing technical scheme, batch monitoring data is issued to equipment by using a traditional technical method, wherein a batch control start mark is manually issued on a human-computer interface, and monitoring point data values need to be issued one by one. And storing the point values in a broadcast driver communication driver until the driver receives the last monitoring point value and the batch control end mark, and transmitting the data to the equipment. And after receiving the information of successful monitoring data receiving fed back by the equipment, the communication driving program resets the batch control mark, otherwise, the communication driving program resends the monitoring data to the equipment. If the retransmission times are large, the device can easily feed back the information of data receiving failure, the communication driver can stop sending, record the communication log and set the batch control flag as failure. Therefore, for the current comprehensive monitoring system, the system runs all normally when the number of issued batch remote control points is small, but when the number of batch remote control points is too large, the PA interface has many defects.
In the embodiment, the batch command is issued to the execution device in the form of a character string, and all data points needing to be controlled can be issued at one time from the human-computer interface, so that the process from the start of sending the batch control command by an operator to the end of receiving the control command data by the device can be completed instantly. Because the industrial monitoring system in the prior art issues batch equipment commands one by one, the time delay is needed, and the simultaneous receiving of execution equipment cannot be achieved. In this embodiment, a character string is used to send commands down, all the commands are combined into a character string, and the commands are issued, so that the execution device can receive the commands at the same time, and can combine, analyze, split and transmit the data values of the character string.
In addition, in the human-computer interface, the multiple remote control points can be combined into one remote control point to be issued, namely, the multiple remote control points are combined into one remote control point to be issued on the HMI human-computer interface of the monitoring system, so that the working efficiency of workers is improved. According to the embodiment, the HMI sending commands are improved from the prior art one by one to the batch sending is improved to be issued by the operator in batch at one time, so that the operation of the operator is facilitated, and the operation time of personnel is saved.
Example three:
the sending system of monitoring data provided in the embodiment of the present invention can be applied to the methods provided in the first and second embodiments, as shown in fig. 4, the sending system 1 of monitoring data includes: a communication drive system 11, a data acquisition system 12 and an execution device 13.
Further, the communication driver system 11 is used to load a string tag configuration. The data acquisition system 12 is configured to receive the batch control commands, combine the batch control commands to generate a string tag data according to the configuration of the string tag, and send the string tag data to the communication driving system 11. The communication drive system 11 is also configured to transmit the string tag data to the execution device 13.
As another implementation manner of this embodiment, the character string tag data includes: the batch control start address, the number of tags, and a plurality of tag values.
In this embodiment, the communication drive system 11 includes: a receiving unit, a transmitting unit and a recording unit. The receiving unit is used for receiving the character string label data sent by the data acquisition system 12. The sending unit is configured to compose the character string tag data into a communication packet according to a communication protocol between the communication driving system 11 and the execution device 13, and send the communication packet to the execution device 13. The recording unit is used for analyzing the value of the character string label data and recording the batch control starting address, the label quantity and a plurality of label values in the analysis result.
The sending system of the monitoring data provided by the embodiment of the invention has the same technical characteristics as the sending method of the monitoring data provided by the embodiment, so the same technical problems can be solved, and the same technical effects can be achieved.
Unless specifically stated otherwise, the relative steps, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In all examples shown and described herein, any particular value should be construed as merely exemplary, and not as a limitation, and thus other examples of example embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The method and the computer program product for sending monitoring data according to the embodiments of the present invention include a computer-readable storage medium storing a nonvolatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (5)

1. A method for sending monitoring data, which is used for sending batch control commands, the method comprising:
loading a character string label configuration by a communication driving system;
the data acquisition system receives a batch control command, combines the batch control command to generate character string label data according to the character string label configuration, and sends the character string label data to a communication driving system;
the communication driving system sends the character string label data to an execution device;
the character string tag data includes:
a batch control start address, a number of tags, and a plurality of tag values;
the communication driving system sends the character string tag data to an execution device, and specifically includes:
the communication driving system receives the character string label data;
the communication driving system makes up the character string label data into a communication message according to a communication protocol of the communication driving system and the execution equipment and sends the communication message to the execution equipment;
the communication driving system analyzes the value of the character string label data and records the batch control starting address, the label quantity and a plurality of label values in the analysis result;
after the communication driving system sends the character string tag data to the execution device, the method further includes:
the communication driving system receives and analyzes information returned by the execution equipment to obtain a control execution result;
when the control execution result shows that the failure times are smaller than a preset value, the communication driving system sends the character string label data to the execution equipment;
and the communication driving system carries out communication record and stops communication when the control execution result shows that the failure times are larger than a preset value or the control execution result shows that the failure times are successful.
2. The method for sending monitoring data according to claim 1, wherein before the communication driver system loads a string tag configuration, the method further comprises:
starting a data acquisition system, and loading tag attribute configuration data;
and the data acquisition system reads the configuration data and establishes a tag value storage area.
3. The method for sending monitoring data according to claim 1, wherein the communication driver system loads a string tag configuration, specifically comprising:
initializing a communication driving system;
the communication driving system defines a label of a character string type;
the communication drive system registers with the data acquisition system.
4. The method for sending monitoring data according to claim 1, wherein before the data acquisition system receives the batch control command, the method further comprises:
the HMI combines a plurality of control commands into a batch control command and sends the batch control command to the data acquisition system.
5. A system for transmitting monitoring data, comprising: the system comprises a communication driving system, a data acquisition system and an execution device;
the communication driving system loads a character string label configuration;
the data acquisition system receives a batch control command, combines the batch control command to generate character string label data according to the character string label configuration, and sends the character string label data to the communication driving system;
the communication driving system sends the character string label data to the execution equipment;
the character string tag data includes:
a batch control start address, a number of tags, and a plurality of tag values;
the communication drive system includes: a receiving unit, a transmitting unit and a recording unit;
the receiving unit is used for receiving the character string label data sent by the data acquisition system;
the sending unit is used for forming a communication message by the character string label data according to a communication protocol of a communication driving system and the execution equipment and sending the communication message to the execution equipment;
the recording unit is used for analyzing the value of the character string label data and recording the batch control starting address, the label quantity and the label values in the analysis result.
CN201710761001.1A 2017-08-29 2017-08-29 Method and system for sending monitoring data Active CN107689924B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710761001.1A CN107689924B (en) 2017-08-29 2017-08-29 Method and system for sending monitoring data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710761001.1A CN107689924B (en) 2017-08-29 2017-08-29 Method and system for sending monitoring data

Publications (2)

Publication Number Publication Date
CN107689924A CN107689924A (en) 2018-02-13
CN107689924B true CN107689924B (en) 2021-08-24

Family

ID=61155689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710761001.1A Active CN107689924B (en) 2017-08-29 2017-08-29 Method and system for sending monitoring data

Country Status (1)

Country Link
CN (1) CN107689924B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586182B (en) * 2020-05-11 2023-06-06 北京和利时系统集成有限公司 Data transmission method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101059695A (en) * 2006-03-02 2007-10-24 洛克威尔自动控制技术股份有限公司 Programmatic access to controller construct and variable names
CN102195754A (en) * 2011-05-18 2011-09-21 中兴通讯股份有限公司 Method and device for conversion between attention (AT) command and service message
US9355091B2 (en) * 2013-03-13 2016-05-31 Crimson Hexagon, Inc. Systems and methods for language classification
CN106681968A (en) * 2016-12-21 2017-05-17 桂林力港网络科技股份有限公司 Transmitting method for batch numeric data, receiving terminal and sending terminal
CN107070911A (en) * 2017-04-07 2017-08-18 青岛海信网络科技股份有限公司 The method and traffic comprehensive monitoring system of a kind of information transfer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103227779B (en) * 2013-03-27 2016-04-27 安科智慧城市技术(中国)有限公司 A kind of communication control method of building equipment, system and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101059695A (en) * 2006-03-02 2007-10-24 洛克威尔自动控制技术股份有限公司 Programmatic access to controller construct and variable names
CN102195754A (en) * 2011-05-18 2011-09-21 中兴通讯股份有限公司 Method and device for conversion between attention (AT) command and service message
US9355091B2 (en) * 2013-03-13 2016-05-31 Crimson Hexagon, Inc. Systems and methods for language classification
CN106681968A (en) * 2016-12-21 2017-05-17 桂林力港网络科技股份有限公司 Transmitting method for batch numeric data, receiving terminal and sending terminal
CN107070911A (en) * 2017-04-07 2017-08-18 青岛海信网络科技股份有限公司 The method and traffic comprehensive monitoring system of a kind of information transfer

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"地铁车站综合监控系统的设计与开发";曹成;《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》;20160215;全文 *

Also Published As

Publication number Publication date
CN107689924A (en) 2018-02-13

Similar Documents

Publication Publication Date Title
US11681697B2 (en) Method and device for interface operation and maintenance
CN103313216B (en) Message prompt method, system and device for communication account
CN106844645B (en) Power communication equipment information inquiry system
CN105205003A (en) Automated testing method and device based on clustering system
CN105005471A (en) Method, device, server and system for modifying configuration parameters of BIOS
CN104978529A (en) Exception handling method, exception handling system and exception handling server for webpage front end
CN113422720A (en) Anomaly detection method based on edge computing gateway
CN103748553A (en) Display of operating status information of client in remote desktop session
CN105262792A (en) Vehicle abnormality processing method and vehicle-mounted terminal
CN104202334A (en) Network connection establishing method and device
CN105471914A (en) Information push method and device based on terminal abnormal states
CN110932918A (en) Log data acquisition method and device and storage medium
US20170280410A1 (en) Method, device and system for implementing information self-registration, and computer storage medium
CN107689924B (en) Method and system for sending monitoring data
US9781010B2 (en) Managing remote devices
EP2882216A1 (en) Device and method for controlling and supervising and alarming power supply of base station
CN110244982B (en) Data recovery method and device
CN114095523B (en) Communication data processing method, device and system in comprehensive scheduling system
CN114244686A (en) Communication fault detection method, device and system
CN104767589A (en) Message sending method and device
CN110619504B (en) Service change processing method, device and system and electronic equipment
CN110443910B (en) Method, system, device and storage medium for monitoring state of unmanned device
CN112783796A (en) Single-node testing method and device, computer equipment and readable storage medium
CN111176948A (en) Method and system for monitoring personalized service index
US10303584B2 (en) Method for message-processing

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