CN114095523B - Communication data processing method, device and system in comprehensive scheduling system - Google Patents

Communication data processing method, device and system in comprehensive scheduling system Download PDF

Info

Publication number
CN114095523B
CN114095523B CN202010754020.3A CN202010754020A CN114095523B CN 114095523 B CN114095523 B CN 114095523B CN 202010754020 A CN202010754020 A CN 202010754020A CN 114095523 B CN114095523 B CN 114095523B
Authority
CN
China
Prior art keywords
communication data
sub
data
communication
professional
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
CN202010754020.3A
Other languages
Chinese (zh)
Other versions
CN114095523A (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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN202010754020.3A priority Critical patent/CN114095523B/en
Publication of CN114095523A publication Critical patent/CN114095523A/en
Application granted granted Critical
Publication of CN114095523B publication Critical patent/CN114095523B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol

Abstract

The application discloses a communication data processing method in an integrated scheduling system, which comprises the following steps: a communication data processing server acquires communication data, wherein a communication protocol corresponding to a sub-professional system is integrated in the communication data processing server, and the communication data comprises sub-professional identification information corresponding to the sub-professional system; according to the data type of the communication data, determining a target object corresponding to the communication data and a processing item aiming at the target object; acquiring communication address information of the target object according to the sub-professional identification information; and executing the processing item on the target object according to the communication address information and the communication data. The method can reduce the load pressure of the comprehensive dispatching server and improve the load balance of the comprehensive dispatching server.

Description

Communication data processing method, device and system in comprehensive scheduling system
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method, a device, and a system for processing communication data in an integrated scheduling system.
Background
With the continuous development of computer technology, in the field of rail transit, the device state of each sub-professional system can be uniformly monitored and corresponding control commands such as remote control and remote measurement can be issued to each sub-professional system through a comprehensive scheduling system.
Please refer to fig. 1, which is a schematic structural diagram of a conventional integrated scheduling system. As shown in fig. 1, in the conventional integrated scheduling system, threads corresponding to each sub-professional system are generally set in an integrated scheduling server, wherein each thread is internally provided with a communication protocol corresponding to the sub-professional system; when the integrated scheduling system needs to communicate with each sub-professional system, the corresponding threads perform processing such as receiving, unpacking, packing, and sending of data packets of communication data.
However, with the increasing of the sub-professional systems in the integrated scheduling system and the increasing of the number of devices in each sub-professional system, the number of communication data to be processed in the system also increases rapidly, which may further cause the problems that the load pressure of the system is increased and the devices of each sub-professional system cannot be monitored and scheduled in real time.
Disclosure of Invention
An object of the embodiments of the present disclosure is to provide a new technical solution for processing communication data of an integrated scheduling system.
According to a first aspect of the present disclosure, there is provided a communication data processing method in an integrated scheduling system, the method including:
a communication data processing server acquires communication data, wherein a communication protocol corresponding to a sub-professional system is integrated in the communication data processing server, and the communication data comprises sub-professional identification information corresponding to the sub-professional system;
according to the data type of the communication data, determining a target object corresponding to the communication data and a processing item aiming at the target object;
acquiring communication address information of the target object according to the sub-professional identification information;
and executing the processing item on the target object according to the communication address information and the communication data.
According to a second aspect of the present disclosure, there is also provided a communication data processing server including:
the communication data processing server is used for integrating a communication protocol corresponding to a sub-professional system, and the communication data comprises sub-professional identification information corresponding to the sub-professional system;
the object determining module is used for determining a target object corresponding to the communication data and processing items aiming at the target object according to the data type of the communication data;
the communication address information acquisition module is used for acquiring the communication address information of the target object according to the sub-professional identification information;
and the execution module is used for executing the processing items on the target object according to the communication address information and the communication data.
According to a third aspect of the present disclosure, there is also provided an integrated scheduling system, including: the system comprises a comprehensive scheduling server, a communication data processing server and a plurality of sub-professional systems;
the comprehensive scheduling server is used for processing the data updating message sent by the communication data processing server; filling a command point value into a command tag of the command message set according to the received scheduling instruction;
the communication data processing server is used for generating communication data according to the initial communication data sent by the sub-professional system, or generating communication data according to the command tag filled with the command point value; performing the method according to any one of the first aspect of the present disclosure;
the sub-professional system is used for sending initial communication data to the communication data processing server, wherein the initial communication data comprise equipment data acquired by the sub-professional system; and receiving a command issuing data packet sent by the communication data processing server.
The method has the advantages that different from the existing method that the integrated scheduling system sets threads corresponding to the sub-professional systems in the integrated scheduling server to process communication data, the method sets the communication data processing server integrating the communication protocols corresponding to the sub-professional systems in the integrated scheduling system, obtains the communication data in a centralized manner by the server, determines a target object corresponding to the communication data and a processing item aiming at the target object according to the data type of the communication data, obtains the communication address information of the target object according to the sub-professional identification information in the communication data, and further executes the corresponding processing item on the target object according to the communication address information and the communication data. According to the method, the communication data processing is extracted from the real-time server of the comprehensive scheduling system, namely the comprehensive scheduling server, so that the load pressure of the comprehensive scheduling server can be reduced, the load balance of the comprehensive scheduling server is improved, and the comprehensive scheduling system can rapidly and efficiently monitor and schedule the equipment in each sub-professional system.
Other features of the present disclosure and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic structural diagram of a conventional integrated scheduling system.
Fig. 2 is a schematic structural diagram of an integrated scheduling system that may be used to implement a communication data processing method according to an embodiment of the present disclosure.
Fig. 3 is a schematic block diagram of a hardware configuration of an integrated scheduling system that can be used to implement a communication data processing method according to an embodiment of the present disclosure.
Fig. 4 is a flowchart illustrating a communication data processing method in an integrated scheduling system according to an embodiment of the present disclosure.
Fig. 5 is a detailed flow chart of communication data processing provided by the embodiment of the disclosure.
Fig. 6 is a schematic block diagram of a communication data processing server according to an embodiment of the present disclosure.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary 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, further discussion thereof is not required in subsequent figures.
To solve the problem that the integrated scheduling system in the prior art may have a large load pressure and thus cannot monitor and schedule the devices in each sub-professional system in real time, an embodiment of the present disclosure provides a method for processing communication data in the integrated scheduling system, please refer to fig. 2, which is a schematic structural diagram of an integrated scheduling system that can be used to implement the method for processing communication data provided by the embodiment of the present disclosure. As shown in fig. 2, in the embodiment of the present disclosure, by providing a communication data processing server, extracting communication data processing from an integrated scheduling server of the integrated scheduling system, using the communication data processing server as a Front-End Processor (FEP) in the integrated scheduling system, when the embodiment is implemented, communication data is centrally obtained by the communication data processing server, and according to a data type of the communication data, a target object corresponding to the communication data and processing items for the target object are determined, and according to sub-specialty identification information in the communication data, communication address information of the target object is obtained, and further according to the communication address information and the communication data, corresponding processing items are quickly and efficiently executed on the target object.
< hardware configuration >
Fig. 3 is a schematic block diagram of a hardware configuration of an integrated scheduling system that can be used to implement a communication data processing method according to an embodiment of the present disclosure.
As shown in fig. 3, the integrated scheduling system 1000 includes a server 1100a, a server 1100b, a server 1100c, a terminal device 1200, and a network 1300, where the server 1100c may be a server corresponding to any one of the sub-professional systems of the integrated scheduling system.
The server 1100a, the server 1100b, and the server 1100c may be, for example, a blade server, a rack server, or the like, and the server 1100a, the server 1100b, and the server 1100c may also be a server cluster deployed in a cloud, which is not limited herein.
For convenience of explanation, the server 1100a is taken as an example to explain the hardware configuration of the server in the integrated scheduling system.
As shown in FIG. 3, server 1100a may include a processor 1110, a memory 1120, an interface device 1130, a communication device 1140, a display device 1150, and an input device 1160. The processor 1110 may be, for example, a central processing unit CPU or the like. The memory 1120 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1130 includes, for example, a USB interface, a serial interface, and the like. The communication device 1140 is capable of wired or wireless communication, for example. The display device 1150 is, for example, a liquid crystal display panel. Input devices 1160 may include, for example, a touch screen, a keyboard, and the like.
In this embodiment, the server 1100a may be configured to generate communication data according to initial communication data sent by the sub-professional system, or generate communication data according to a command tag filled with a command point value; and participate in implementing a communication data processing method according to any embodiment of the present disclosure.
Server 1100b may be used to process data update messages sent by server 1100 a; and filling a command point value into a command tag of the command message set according to the received scheduling instruction.
The server 1100c may be configured to send initial communication data to the server 1100a, where the initial communication data includes terminal device data collected by the sub-professional system; and, receiving the command issuance packet sent by the server 1100 a.
As applied to any embodiment of the present disclosure, the memory 1120 of the server 1100a is configured to store instructions for controlling the processor 1110 to operate so as to support implementation of a method according to any embodiment of the present invention. The skilled person can design the instructions according to the disclosed solution. How the instructions control the operation of the processor is well known in the art and will not be described in detail herein.
Those skilled in the art will appreciate that although a number of devices are shown for the server 1100a in FIG. 3, the server 1100a of embodiments of the present disclosure may refer to only some of the devices therein, e.g., only the processor 1110 and the memory 1120.
As shown in fig. 3, the terminal apparatus 1200 may include a processor 1210, a memory 1220, an interface device 1230, a communication device 1240, a display device 1250, an input device 1260, an audio output device 1270, an audio input device 1280, and the like. The processor 1210 may be a central processing unit CPU, a microprocessor MCU, or the like. The memory 1220 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1230 includes, for example, a USB interface, a headphone interface, or the like. The communication device 1240 can perform wired or wireless communication, for example. The display device 1250 is, for example, a liquid crystal display, a touch panel, or the like. The input device 1260 may include, for example, a touch screen, a keyboard, and the like. The terminal apparatus 1200 may output the audio information through the audio output device 1270, the audio output device 1270 including a speaker, for example. The terminal apparatus 1200 may pick up voice information input by the user through the audio pickup device 1280, and the audio pickup device 1280 includes, for example, a microphone.
The terminal device 1200 may be a device corresponding to the sub-professional server 1100c, for example, a self-service ticket vending and checking device, a power data collecting device, an alarm device, and the like, which is not limited herein.
It should be understood by those skilled in the art that although a plurality of means of the terminal device 1200 are shown in fig. 3, the terminal device 1200 of the embodiment of the present disclosure may refer to only some of the means therein, for example, only the processor 1210, the memory 1220 and the like.
The communication network 1300 may be a wireless network, a wired network, a local area network, or a wide area network. The terminal apparatus 1200 can communicate with the corresponding sub-professional server 1100c through the communication network 1300, the sub-professional server 1100c can communicate with the communication data processing server 1100a through the communication network 1300, and the communication data processing server 1100a can communicate with the integrated scheduling server 1100b through the communication network 1300.
It should be noted that the integrated scheduling system 1000 shown in fig. 3 is merely illustrative and is in no way intended to limit the present disclosure, its application, or uses. For example, although fig. 3 shows only one server 1100a, one server 1100b, one server 1100c, and one terminal device 1200, it is not meant to limit the respective numbers, and multiple servers 1100a, 1100b, 1100c, and/or multiple terminal devices 1200 may be included in the integrated scheduling system 1000.
< method example >
Fig. 4 is a flowchart illustrating a communication data processing method in an integrated scheduling system according to an embodiment of the present disclosure, which may be implemented by a communication data processing server in the integrated scheduling system, for example, the server 1100a in fig. 3. In addition, in the present embodiment, when the communication data processing server communicates with the sub-professional system in the integrated scheduling system, the communication data processing server specifically communicates based on a User Datagram Protocol (UDP).
According to FIG. 4, the method of the present embodiment may include the following steps S4100-S4400, which will be described in detail below.
Step S4100, a communication data processing server acquires communication data, wherein a communication protocol corresponding to a sub-professional system is integrated in the communication data processing server, and the communication data comprises sub-professional identification information corresponding to the sub-professional system.
As shown in fig. 2, in the embodiment of the present disclosure, by setting the communication data processing server, the communication data processing is extracted from the integrated scheduling server of the integrated scheduling system, and the communication data processing server is used as a front-end processor in the integrated scheduling system; and the communication data processing server can communicate with each sub-professional system in the comprehensive scheduling system based on the UDP by arranging a UDP driver library in the communication data processing server and integrating a communication protocol corresponding to the sub-professional system, namely a data protocol, in the communication data processing server.
In this embodiment, the sub-professional System in the integrated dispatching System may be any sub-System in the track traffic management, for example, the sub-systems may be Passenger Information Systems (PIS), automatic Fare Collection systems (AFC), environment And equipment monitoring systems (BAS), power monitoring systems (PSCADA, power Supervisory Control And Data Acquisition), and Fire Automatic Alarm systems (FAS), which are not limited herein.
In practice, after acquiring a device point value of a device, for example, state data and attribute data of the device, such as a power-on/off state, a continuous operation time, and whether the device is operating normally, the sub-professional system generally needs to package the data according to a built-in communication protocol and transmit the acquired device point value data to the integrated scheduling server in the form of a data packet through a UDP protocol, and after receiving the data packet sent by the sub-professional system, the integrated scheduling server needs to parse the data packet according to a communication protocol corresponding to the sub-professional system according to a sub-professional identifier of the sub-professional system to obtain device point value data acquired by the sub-professional system from the data packet, and update a device point value of a corresponding device stored in the database according to the device point value data, where the device point value is a value corresponding to an operating state of the device. Corresponding to this situation, the communication data in the integrated scheduling system may be classified into a data update type, that is, communication data generated according to the device data collected by the subsystem and used for updating the device point value of the corresponding device in the database.
In addition, in the operation process of the comprehensive scheduling system, a data packet issued by a command can be sent to the sub-professional system according to a received scheduling instruction, wherein the scheduling instruction can be an instruction issued by a user for closing certain equipment in certain subsystem equipment; or, the query is an instruction issued by the user to query real-time device data of a certain device in a certain subsystem device. Corresponding to this situation, the communication data in the integrated scheduling system may also be classified into a command issuing type, that is, communication data generated according to the received scheduling instruction and used for issuing a command to the sub-professional system to control the device thereof, for example, telemetry or remote control.
As can be seen from the above description, the communication data in the integrated scheduling system provided in this embodiment includes a data update type and a command issue type, and the following describes the communication data processing method provided in this embodiment with reference to these two types.
Please refer to fig. 5, which is a detailed flowchart of the communication data processing provided in the embodiment of the present disclosure. As shown in fig. 5, in the case that the communication data is of a data update type, the acquiring the communication data includes: step S5101, receiving initial communication data sent by a sub-professional system, wherein the initial communication data comprises equipment data collected by the sub-professional system, and the equipment is equipment in the sub-professional system; acquiring sub-professional identification information of the sub-professional system; and generating the communication data according to the sub-professional identification information and the initial communication data.
As shown in fig. 5, in specific implementation, after acquiring device status data, the sub-professional system packages the device status data according to a built-in communication protocol thereof to generate an initial UDP data packet, that is, initial communication data; then, the sub-professional system may send the initial communication data to the communication data processing server of the integrated scheduling system provided in this embodiment, and after receiving the initial communication data, the communication data processing server repackages the initial communication data according to the sub-professional identification information of the sub-professional system, so as to obtain a data packet containing the sub-professional identification information of the sub-professional system, that is, the communication data described in this embodiment.
For this type of communication data, in order to improve processing efficiency, after initial communication data sent by the sub-professional system is obtained and communication data is generated, the communication data is first put into a communication data message queue, and when the communication data processing server is idle, step S5102 is executed to obtain communication data to be processed from the communication data message queue and process the communication data in order.
How the communication data processing server acquires the communication data is described in detail above with respect to the communication data of the data update type. Hereinafter, how to acquire the communication data of the command issuing type will be described.
As shown in fig. 5, in a specific implementation, in a case that the communication data is of a command issuing type, the acquiring the communication data includes: step S5108, inquiring in a command message set according to a preset time interval, wherein the command message set comprises at least one command message, and the command message comprises a command label and a command point value corresponding to the command label; and under the condition that a command point value in any command message of the command message set is not empty, generating the communication data according to the command message and the command value.
As shown in fig. 2, the command message set may be a set of command tags and command point values stored in a database corresponding to the control instructions received by the integrated scheduling server.
For example, for a power off tag, the command tag may be "PowerOff"; of course, the command tag may also contain sub-specialty identification information for the sub-specialty corresponding to each sub-specialty system, for example, the command tag may be "PIS _ PowerOff" for a shutdown tag in the passenger information system.
In particular, in order to conveniently locate the communication address of the sub-professional system corresponding to the command tag according to the command tag, in this embodiment, a command tag configuration file may be set according to the configuration characteristics of the device, and a corresponding relationship between the command tag and the communication address of the corresponding sub-professional system is defined in the file, for example, for a shutdown tag in the passenger information system, the command tag may be configured in a form of (command tag, sub-professional communication address), that is, (PIS _ PowerOff,192.168.0.1 \\ u 601), where "192.168.0.1" is the server address of the passenger information system, and "601" may be the communication port.
In practice, when the command message set is a data table in the database, the data record in which the command point value is not empty in the data table may be queried according to a preset time interval, and according to the command tag and the command point value in the data record, the sub-professional identification information in the command tag is acquired, and the command point value is packaged to generate the communication data to be processed.
After step S4100, step S4200 is executed to determine a target object corresponding to the communication data and a processing item for the target object, based on the data type of the communication data.
In correspondence with the data type of the communication data, in this embodiment, when the communication data is of a data update type, the determining, according to the data type of the communication data, the target object corresponding to the communication data and the processing item for the target object includes: determining the target object as a data field of storage equipment data in a database under the condition that the communication data is of a data updating type, wherein the equipment is equipment in a sub-professional system corresponding to the sub-professional identification information; and determining the processing item as data update processing to the target object.
That is, in the case where the communication data is of a data update type, that is, a data packet generated to update the device point value of the device stored in the database according to the device data collected by the sub-professional system, it may be determined that the target object is a data field in the database that stores the device data, where the data field is used to store the device point value; and determining that the processing item to be executed is to execute data update processing on the target object, that is, to update data in a data field of the storage device data in the database.
And when the communication data is of a command issuing type, the determining, according to the data type of the communication data, a target object corresponding to the communication data and a processing item for the target object includes: determining that the target object corresponding to the communication data is a sub-professional system corresponding to the sub-professional identification information; and determining that the processing item is a control command issued to the sub-professional system.
And step S4300, acquiring the communication address information of the target object according to the sub-professional identification information.
After the target object and the processing items for the target object are determined through step S4200, the communication address information of the target object may be acquired from the sub-specialty identification information in the communication data.
In the following, how to obtain the communication address information of the target object is described in detail in the case that the communication data is of the data acquisition type and the command issuing type.
In specific implementation, when the communication data is of a data update type, corresponding to step S5101, the communication data may be analyzed by executing step S5103 to obtain sub-professional identification information in the communication data to be processed.
After the sub-specialty identification in the communication data is obtained, the communication address information of the target object can be obtained according to the sub-specialty identification information.
In a specific implementation, the obtaining, according to the sub-professional identification information, communication address information of the target object includes: step S5104, obtaining an equipment information set according to the sub-professional identification information, wherein the equipment information set comprises at least one piece of equipment information, and the equipment information comprises identification information of equipment and address information of the equipment; and step S5105, obtaining the communication address information of the target object according to the equipment information set.
Wherein, obtaining an equipment information set according to the sub-professional identification information comprises: inquiring in preset equipment label data according to the sub-professional identification information to obtain a target equipment label set, wherein the target equipment label set comprises at least one equipment label, and the equipment label comprises equipment information of corresponding equipment; and obtaining the equipment information set by analyzing the equipment labels in the target equipment label set.
Specifically, in this embodiment, aiming at the problem that the conventional integrated scheduling system directly writes the devices of the sub-professional system and the communication address information of the devices into the system code, so that the configurability of the system is poor, in this embodiment, according to the configuration characteristics of the devices, the devices in the system are grouped into device tags in the form of the sub-professional identification information, the device identification information, and the device communication address to which the devices belong, and the device tags are stored in the tag configuration file shown in fig. 5, and in the system operation process, the device tag data is read from the tag configuration file to form the device tag pool shown in fig. 5.
That is, the device tag in this embodiment may be "sub-specialty identification information: device identification information: the device address "may be in the form of" register number-start bit net-end bit ", specifically, the device address is a resolution address of device data in communication data, and may be in the form of" register number-start bit net-end bit ", for example, the device address of a device at a station partition failure point in the automatic fire alarm system 1 may be (FAS: ZONE1GZ1: 1-01), and the station hall failure point in the automatic fire alarm system 1 may be (FAS: ZONE1GZ2: 1-02-04), and the like.
In specific implementation, when an equipment information set is required to be obtained according to the sub-specialty identification information, an equipment tag matched with the sub-specialty identification information may be searched in preset equipment tag data, for example, an equipment tag pool as shown in fig. 5, according to the sub-specialty identification information, so as to obtain a target equipment tag set, and then, the communication address information of the target object may be obtained by analyzing the equipment tag set.
In addition, in order to further increase configurability of the integrated scheduling system, in this embodiment, corresponding to the setting of the device tag, the configuration characteristics of the device may also be utilized, and the command tag is formed by the control command for different sub-professional systems according to the sub-professional identification information and the sub-professional system communication address, and is stored in the tag configuration file shown in fig. 5, during the system operation process, the command tag data is read from the tag configuration file to form the command tag pool shown in fig. 5, and the definition manner of the command tag may refer to the relevant description in step S4100, which is not described herein again.
As can be seen from the above description, in this embodiment, according to the configuration characteristics of the device, the device tag configuration file and the command tag configuration file corresponding to the sub-professional system and the device are configured in the form of the configuration file, so that the flexibility of system configuration is increased, and in the process of system operation, the device information and the information of the command tag can be flexibly added, deleted, and modified.
Correspondingly, when the communication processing data is of a command issuing type, it can be determined that the target object corresponding to the communication data is a sub-professional system corresponding to the sub-professional identification information; and determining that the processing item is a control command issued to the sub-professional system.
And the step of acquiring the communication address information of the target object according to the sub-professional identification information comprises the following steps: and analyzing the command tag in the communication data according to the sub-professional identification information to obtain the communication address information.
That is, matching may be performed in the command tag pool shown in fig. 5 according to the sub-specialty identification information in the communication data to obtain the communication address information of the sub-specialty system, which is not described herein again.
After step S4300, step S4400 is executed to execute the processing item on the target object according to the communication address information and the communication data.
In correspondence with the data type of the communication data, how to execute the processing items on the target object based on the communication address information and the communication data will be described in detail below, in the case where the communication data is a data acquisition type and a command issuing type.
When the communication data is of a data update type, the executing the processing item on the target object according to the communication address information and the communication data includes: step S5106, according to the communication address information, the communication data are analyzed, and a point value set to be updated corresponding to the target object is obtained, wherein the point value set to be updated comprises at least one point value to be updated, and the point value to be updated corresponds to the target object; step S5107, according to the point value set to be updated, performs data update processing on the target object.
That is, according to the communication address information with the target object acquired in step S4300, the communication data is parsed to obtain a point value to be updated in the device of the sub-professional system, that is, device data acquired by the sub-professional system, and according to the point value to be updated, data update processing is performed on the target object, that is, data in a data field used for storing the device data in the database is updated.
In this embodiment, since the communication data processing module is extracted from the integrated scheduling server of the integrated scheduling system, in specific implementation, a data update message may be sent to the integrated scheduling server in a message form through an interface between the communication data processing server and the integrated scheduling server, so that the integrated scheduling server may update the device data in the database according to the received data update message.
Namely, the executing data updating process on the target object according to the point value set to be updated includes: generating a data updating message according to the point value set to be updated and the target object; and sending the data updating message to a comprehensive scheduling server, wherein the comprehensive scheduling server is a server in the comprehensive scheduling system and is used for updating the target object according to the data updating message.
In the above, it is described in detail how to execute the corresponding processing items on the target object corresponding to the type of communication data, for the case where the data type of the communication data is the data update type, and it is described below how to execute the corresponding processing items on the target object, for the case where the communication data is the command issue type.
As shown in fig. 5, in this embodiment, when the communication data is of a command issuance type, the executing the processing item on the target object based on the communication address information and the communication data includes: step S5109, a command issuing data packet is generated according to the command point value in the communication data and the communication address information; and step S5110, sending the command issuing data packet to the sub-professional system.
It should be noted that, after sending the command issuing data packet to the sub-professional system, to avoid repeated processing, the method further includes: and clearing the command point value corresponding to the command tag in the command message set.
As can be seen from steps S4100 to S4400, unlike the method in which the conventional integrated scheduling system sets threads corresponding to the respective sub-professional systems in the integrated scheduling server to process communication data, the method sets a communication data processing server integrating the communication protocols corresponding to the sub-professional systems in the integrated scheduling system, obtains communication data from the server in a centralized manner, determines a target object corresponding to the communication data and processing items for the target object according to the data type of the communication data, obtains communication address information of the target object according to the sub-professional identification information in the communication data, and executes corresponding processing items for the target object according to the communication address information and the communication data. According to the method, the communication data processing is extracted from the real-time server of the comprehensive scheduling system, namely the comprehensive scheduling server, so that the load pressure of the comprehensive scheduling server can be reduced, the load balance of the comprehensive scheduling server is improved, and the comprehensive scheduling system can rapidly and efficiently monitor and schedule the equipment in each sub-professional system.
< apparatus embodiment >
Corresponding to the foregoing method embodiment, in this embodiment, a communication data processing server is further provided, and as shown in fig. 6, the server 6000 may include a communication data obtaining module 6100, an object determining module 6200, a communication address information obtaining module 6300, and an executing module 6400.
The communication data acquisition module 6100 is configured to acquire communication data, where the communication data processing server integrates a communication protocol corresponding to a sub-professional system, and the communication data includes sub-professional identification information corresponding to the sub-professional system.
In an embodiment, in the case that the communication data is of a data update type, the communication data obtaining module 6100, when obtaining the communication data, may be configured to: receiving initial communication data sent by a sub-professional system, wherein the initial communication data comprises equipment data acquired by the sub-professional system, and the equipment is equipment in the sub-professional system; acquiring sub-professional identification information of the sub-professional system; and generating the communication data according to the sub-professional identification information and the initial communication data.
In an embodiment, in a case that the communication data is of a command issuing type, the communication data acquisition module 6100 may be configured to, when acquiring the communication data: inquiring in a command message set according to a preset time interval; and under the condition that any command tag in the command message set has a command value, generating the communication data according to the command tag and the command value.
The object determining module 6200 is configured to determine, according to the data type of the communication data, a target object corresponding to the communication data and a processing item for the target object.
In one embodiment, the object determination module 6200, when determining a target object corresponding to the communication data and a processing item for the target object according to the data type of the communication data, may be configured to: determining the target object as a data field of storage equipment data in a database under the condition that the communication data is of a data updating type, wherein the equipment is equipment in a sub-professional system corresponding to the sub-professional identification information; and determining the processing item as data updating processing on the target object.
In one embodiment, the object determination module 6200, when determining a target object corresponding to the communication data and a processing item for the target object according to the data type of the communication data, may be configured to: determining that the target object corresponding to the communication data is a sub-professional system corresponding to the sub-professional identification information; and determining that the processing item is a control command issued to the sub-professional system.
The communication address information obtaining module 6300 is configured to obtain the communication address information of the target object according to the sub-specialty identification information.
In an embodiment, when the communication address information obtaining module 6300 obtains the communication address information of the target object according to the sub-specialty identification information, it may be configured to: acquiring an equipment information set according to the sub-professional identification information, wherein the equipment information set comprises at least one piece of equipment information, and the equipment information comprises identification information of equipment and address information of the equipment; and acquiring the communication address information of the target object according to the equipment information set.
In this embodiment, when obtaining the device information set according to the sub-specialty identification information, the communication address information obtaining module 6300 may be configured to: inquiring in preset equipment label data according to the sub-professional identification information to obtain a target equipment label set, wherein the target equipment label set comprises at least one equipment label, and the equipment label comprises equipment information of corresponding equipment; and obtaining the equipment information set by analyzing the equipment labels in the target equipment label set.
In one embodiment, when the communication address information acquiring module 6300 acquires the communication address information of the target object according to the sub-specialty identification information, it may be configured to: and analyzing the command tag in the communication data according to the sub-professional identification information to obtain the communication address information.
The execution module 6400 is configured to execute the processing item on the target object according to the communication address information and the communication data.
In an embodiment, when performing data update processing on the target object according to the set of point values to be updated, the executing module 6400 may be configured to: generating a data updating message according to the point value set to be updated and the target object; and sending the data updating message to a comprehensive scheduling server, wherein the comprehensive scheduling server is a server in the comprehensive scheduling system and is used for updating the target object according to the data updating message.
In an embodiment, when performing data update processing on the target object according to the set of point values to be updated, the executing module 6400 may be configured to: generating a command issuing data packet according to the command point value in the communication data and the communication address information; and sending the command issuing data packet to the sub-professional system.
In this embodiment, after sending the command issuing data packet to the sub-professional system, the communication data processing server further includes a command point value clearing module for clearing the command point values in the command tags in the command message set.
< System embodiment >
In this embodiment, there is also provided an integrated scheduling system, including: the system comprises a comprehensive scheduling server, a communication data processing server and a plurality of sub-professional systems;
the comprehensive scheduling server is used for processing the data updating message sent by the communication data processing server; filling a command point value into a command tag of the command message set according to the received scheduling instruction;
the communication data processing server is used for generating communication data according to the initial communication data sent by the sub-professional system or generating communication data according to the command tags filled with the command point values; performing a method according to any one of the above aspects of the disclosure;
the sub-professional system is used for sending initial communication data to the communication data processing server, wherein the initial communication data comprise equipment data acquired by the sub-professional system; and receiving a command issuing data packet sent by the communication data processing server.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer-readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as a punch card or an in-groove protruding structure with instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
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 disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). 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. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present disclosure is defined by the appended claims.

Claims (16)

1. A communication data processing method in an integrated dispatching system is characterized in that the method is applied to the field of rail transit and comprises the following steps:
a communication data processing server acquires communication data, wherein a communication protocol corresponding to a sub-professional system is integrated in the communication data processing server, and the communication data comprises sub-professional identification information corresponding to the sub-professional system;
according to the data type of the communication data, determining a target object corresponding to the communication data and a processing item aiming at the target object;
acquiring communication address information of the target object according to the sub-professional identification information;
executing the processing item on the target object based on the communication address information and the communication data,
the comprehensive scheduling system uniformly monitors the equipment state of the sub-professional system and issues corresponding control commands to the sub-professional system, and the communication data comprises a data updating type and a command issuing type.
2. The method according to claim 1, wherein in the case that the communication data is of a data update type, the obtaining communication data comprises:
receiving initial communication data sent by a sub-professional system, wherein the initial communication data comprise equipment data acquired by the sub-professional system, and the equipment is equipment in the sub-professional system;
acquiring sub-professional identification information of the sub-professional system;
and generating the communication data according to the sub-professional identification information and the initial communication data.
3. The method according to claim 2, wherein the determining, according to the data type of the communication data, a target object corresponding to the communication data and a processing item for the target object includes:
determining the target object as a data field of storage equipment data in a database under the condition that the communication data is of a data updating type, wherein the equipment is equipment in a sub-professional system corresponding to the sub-professional identification information; and
and determining the processing item as data updating processing of the target object.
4. The method according to claim 3, wherein the obtaining of the communication address information of the target object according to the sub-specialty identification information comprises:
acquiring an equipment information set according to the sub-professional identification information, wherein the equipment information set comprises at least one piece of equipment information, and the equipment information comprises identification information of equipment and address information of the equipment;
and acquiring the communication address information of the target object according to the equipment information set.
5. The method of claim 4, wherein obtaining a set of device information based on the sub-specialty identification information comprises:
inquiring in preset equipment label data according to the sub-professional identification information to obtain a target equipment label set, wherein the target equipment label set comprises at least one equipment label, and the equipment label comprises equipment information of corresponding equipment;
and obtaining the equipment information set by analyzing the equipment labels in the target equipment label set.
6. The method of claim 4, wherein said performing the transaction on the target object based on the communication address information and the communication data comprises:
analyzing the communication data according to the communication address information to obtain a point value set to be updated corresponding to the target object, wherein the point value set to be updated comprises at least one point value to be updated, and the point value to be updated corresponds to the target object;
and performing data updating processing on the target object according to the point value set to be updated.
7. The method according to claim 6, wherein said performing a data update process on the target object according to the set of point values to be updated comprises:
generating a data updating message according to the point value set to be updated and the target object;
and sending the data updating message to an integrated scheduling server, wherein the integrated scheduling server is a server in the integrated scheduling system and is used for executing data updating processing on a target object according to the received data updating message.
8. The method according to claim 1, wherein in the case that the communication processing data is of a command issuing type, the obtaining communication data includes:
inquiring in a command message set according to a preset time interval, wherein the command message set comprises at least one command message, and the command message comprises a command tag and a command point value corresponding to the command tag;
and under the condition that the command point value in any command message of the command message set is not empty, generating the communication data according to the command tag in the command message and the command point value.
9. The method according to claim 8, wherein the determining, according to the data type of the communication data, a target object corresponding to the communication data and a processing item for the target object comprises:
under the condition that the communication processing data is of a command issuing type, determining that a target object corresponding to the communication data is a sub-professional system corresponding to the sub-professional identification information; and
and determining the processing item as a control command issued to the sub-professional system.
10. The method according to claim 9, wherein the obtaining communication address information of the target object according to the sub-specialty identification information comprises:
and analyzing the command tag in the communication data according to the sub-professional identification information to obtain the communication address information.
11. The method of claim 9, wherein said performing said transaction on said target object based on said communication address information and said communication data comprises:
generating a command issuing data packet according to the command point value in the communication data and the communication address information;
and sending the command issuing data packet to the sub-professional system.
12. The method of claim 11, wherein after sending the command-issuing data packet to the sub-specialty system, the method further comprises:
clearing the command point value corresponding to the command message in the command message set.
13. The method of claim 1, wherein the communication data processing server communicates with a sub-specialty system in the integrated scheduling system based on UDP protocol.
14. The method of claim 1, wherein the communication data processing server is a front-end processor in the integrated scheduling system.
15. A communication data processing server is applied to the field of rail transit and comprises the following components:
the communication data processing server is used for integrating a communication protocol corresponding to a sub-professional system, and the communication data comprises sub-professional identification information corresponding to the sub-professional system;
the object determining module is used for determining a target object corresponding to the communication data and processing items aiming at the target object according to the data type of the communication data;
the communication address information acquisition module is used for acquiring the communication address information of the target object according to the sub-professional identification information;
an execution module for executing the processing item to the target object according to the communication address information and the communication data,
the comprehensive scheduling system uniformly monitors the equipment state of the sub-professional system and issues corresponding control commands to the sub-professional system, and the communication data comprise a data updating type and a command issuing type.
16. An integrated scheduling system, comprising: the system comprises a comprehensive scheduling server, a communication data processing server and a plurality of sub-professional systems;
the comprehensive scheduling server is used for processing the data updating message sent by the communication data processing server; filling a command point value into a command tag of the command message set according to the received scheduling instruction;
the communication data processing server is used for generating communication data according to the initial communication data sent by the sub-professional system, or generating communication data according to the command tags filled with the command point values in the command message set; performing the method of any one of claims 1-14;
the sub-professional system is used for sending initial communication data to the communication data processing server, wherein the initial communication data comprise equipment data acquired by the sub-professional system; and receiving a command issuing data packet sent by the communication data processing server.
CN202010754020.3A 2020-07-30 2020-07-30 Communication data processing method, device and system in comprehensive scheduling system Active CN114095523B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010754020.3A CN114095523B (en) 2020-07-30 2020-07-30 Communication data processing method, device and system in comprehensive scheduling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010754020.3A CN114095523B (en) 2020-07-30 2020-07-30 Communication data processing method, device and system in comprehensive scheduling system

Publications (2)

Publication Number Publication Date
CN114095523A CN114095523A (en) 2022-02-25
CN114095523B true CN114095523B (en) 2023-03-14

Family

ID=80295050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010754020.3A Active CN114095523B (en) 2020-07-30 2020-07-30 Communication data processing method, device and system in comprehensive scheduling system

Country Status (1)

Country Link
CN (1) CN114095523B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114826938B (en) * 2022-04-20 2022-11-11 国家工业信息安全发展研究中心 Method for realizing communication protocol simulation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108791364A (en) * 2018-04-10 2018-11-13 北京全路通信信号研究设计院集团有限公司 A kind of dispatching concentration control system, method and its application server
CN111131074A (en) * 2018-10-31 2020-05-08 中移(杭州)信息技术有限公司 Data processing method, device, system, server and readable storage medium
CN111427706A (en) * 2020-03-20 2020-07-17 中国联合网络通信集团有限公司 Data processing method, multi-server system, database, electronic device, and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7536278B2 (en) * 2004-05-27 2009-05-19 International Electronic Machines Corporation Inspection method, system, and program product
CN103561049A (en) * 2013-09-05 2014-02-05 乐视网信息技术(北京)股份有限公司 Method for processing terminal scheduling request, system thereof and device thereof
WO2015096745A1 (en) * 2013-12-24 2015-07-02 乐视网信息技术(北京)股份有限公司 Data processing method and device in content delivery network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108791364A (en) * 2018-04-10 2018-11-13 北京全路通信信号研究设计院集团有限公司 A kind of dispatching concentration control system, method and its application server
CN111131074A (en) * 2018-10-31 2020-05-08 中移(杭州)信息技术有限公司 Data processing method, device, system, server and readable storage medium
CN111427706A (en) * 2020-03-20 2020-07-17 中国联合网络通信集团有限公司 Data processing method, multi-server system, database, electronic device, and storage medium

Also Published As

Publication number Publication date
CN114095523A (en) 2022-02-25

Similar Documents

Publication Publication Date Title
CN109660397B (en) System, method and device for collecting logs
CN113987074A (en) Distributed service full-link monitoring method and device, electronic equipment and storage medium
US8463737B2 (en) Realtime unification management information data conversion and monitoring apparatus and method for thereof
US10055436B2 (en) Alert management
EP2933726B1 (en) Apparatus, system and method for application log data processing
CN102112940A (en) Method and apparatus for monitoring performance of power delivery control system
CN111913884A (en) Distributed test method, device, equipment, system and readable storage medium
CN103748553A (en) Display of operating status information of client in remote desktop session
CN112291114A (en) Data source monitoring method and system, electronic equipment and storage medium
CN112306802A (en) Data acquisition method, device, medium and electronic equipment of system
CN113778790A (en) Method and system for monitoring state of computing system based on Zabbix
CN114095523B (en) Communication data processing method, device and system in comprehensive scheduling system
CN112269706A (en) Interface parameter checking method and device, electronic equipment and computer readable medium
US20140068048A1 (en) Managing remote devices
CN114157679A (en) Cloud-native-based distributed application monitoring method, device, equipment and medium
CN111277626A (en) Server upgrading method and device, electronic equipment and medium
CN114428706B (en) Interface monitoring method and device, storage medium and electronic equipment
CN114546780A (en) Data monitoring method, device, equipment, system and storage medium
CN114329164A (en) Method, apparatus, device, medium and product for processing data
CN113778658A (en) Task allocation method and device, electronic equipment and storage medium
CN107689924B (en) Method and system for sending monitoring data
CN112115134A (en) Data storage method and device, electronic equipment and storage medium
CN110765610A (en) PDM (product data management) integration method and device, computer equipment and storage medium
CN111176948A (en) Method and system for monitoring personalized service index
CN113762871B (en) Production data control method, device, equipment and storage medium

Legal Events

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