Method for interfacing with system in power communication network
Technical Field
The invention relates to the technical field of mobile communication network transmission networks, in particular to a method for interfacing with a system in an electric power communication network.
Background
At present, the communication field of the power grid enterprise lacks an interaction scheme with other cross-intranet systems for data interaction related to communication network operation management and control, so that the problems of slow data response, untimely processing of communication operation management and control flow, incapability of timely delivering message data and the like are caused, the working efficiency of the power communication network is reduced, the working quality of the power communication network is reduced, the power communication network is complicated to work, the usability of a data interaction tool in power communication is reduced, the interaction of the power communication network is extremely unstable, and the accuracy is poor; in view of these drawbacks, it is necessary to devise a method of interfacing with a system in an electrical power communication network.
Disclosure of Invention
The present invention is directed to a method for interfacing with a system in an electrical power communication network, so as to solve the above-mentioned problems in the prior art.
In order to solve the technical problems, the invention provides the following technical scheme: a method for interfacing with a system in an electrical power communication network includes the steps of first, command transmission; step two, a service interface; step three, coordination control; step four, pulling a measuring tool; step five, returning an instruction; step six, detecting the state; step seven, information processing; step eight, signaling analysis;
wherein in the first step, the command sending includes the following steps:
1) Manually sending a control command to a foreground through an electric power communication network, and automatically storing the control command;
2) The foreground program encapsulates a control command txt file through a control signaling interface module according to a custom command format, and forms the txt file into a control command;
in the second step, the service interface includes the following steps:
1) The control command txt file is sent to the IDC area reverse isolation equipment specific directory through the internal and external network isolation equipment;
2) The data request service of the foreground sends instructions to the IDC area specific server through the internal and external network isolation equipment;
wherein in the third step, the coordination control includes the following steps:
1) The IDC area control service interface monitors the condition of a specific directory file and discovers the existing new file txt file, and the control service interface sends a command txt file to the interface service coordination controller;
2) After the IDC area system protocol service interface monitors the request, the protocol service interface sends an instruction to the system interface service coordination controller;
in the fourth step, the dial testing tool includes the following steps:
1) The interface service coordination controller analyzes the matched network ID according to the control command information, and requests the network dial testing tool to dial test according to the IP and the port corresponding to the network ID;
2) The system interface service coordination controller analyzes the matched data request by utilizing a custom protocol analysis tool according to the request instruction information, and returns a corresponding request result;
in the fifth step, the instruction return includes the following steps:
1) After the dial testing tool performs dial testing operation, a dial testing instruction is returned to the interface service coordination controller;
2) The system interface service coordination controller detects the integrity of the return instruction and sends the detection data to the user;
in the sixth step, the state detection includes the following steps:
1) According to the dial testing instruction return state, the interface service coordination controller detects the dial testing instruction, and if the dial testing instruction state is a default gateway data packet, no operation is performed any more;
2) If the dial testing instruction state is the non-default gateway data, the interface service coordination controller sends a control command to the system interface service;
wherein in the seventh step, the information processing includes the steps of:
1) The interface service coordination controller receives the state information sent back by the system interface service, detects the state information, and further sends a return state to the foreground through the internal and external network isolation equipment after the state information is successful;
2) Detecting state information, and after failure, sending failure information to a user computer to upload data again;
in the eighth step, the signaling parsing path returns the task coordination signaling to the IDC area through the control signaling interface, or sends the control state tracking signaling to the foreground, or sends the operation log record to the data warehouse interface for log storage.
According to the above technical solution, the command format in the step 1) is shown as follows: source network address, destination network address, operation time, operation type.
According to the above technical solution, in the fourth step 1), the configuration file to be tested is extracted according to the network ID, and the IP address and the port to be detected are extracted from the configuration file.
According to the above technical solution, the dial testing instruction in the fifth step 1) includes two types of default gateway data packets T and non-default gateway data packets F.
According to the above technical scheme, the interface service coordination controller in the step six 1) automatically receives and processes the default gateway data packet, and further sends the default gateway data packet to the foreground through the internal and external network isolation device.
According to the technical scheme, in the step seven 1), the interaction data and the interaction log are simultaneously sent to the foreground through the intranet and extranet isolation equipment.
Compared with the prior art, the invention has the following beneficial effects: the method for interfacing with the system in the power communication network is simple to operate, low in cost and fast in data response, solves the problems that communication operation management and control flow is not timely processed, message data cannot be timely sent and the like, improves the working efficiency of the power communication network, improves the working quality of the power communication network, enables the working process of the power communication network to be simply and conveniently completed, improves the usability of a data interaction tool in power communication, and improves the stability and accuracy of the interaction work of the power communication network.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
fig. 1 is a flow chart of the method of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, the present invention provides a technical solution: a method for interfacing with a system in an electrical power communication network includes the steps of first, command transmission; step two, a service interface; step three, coordination control; step four, pulling a measuring tool; step five, returning an instruction; step six, detecting the state; step seven, information processing; step eight, signaling analysis;
wherein in the first step, the command sending includes the following steps:
1) The manual work sends the control command to the foreground through the power communication network, and the control command is stored by itself, and the command format is shown as but not limited to: source network address, target network address, operation time, operation type;
2) The foreground program encapsulates a control command txt file through a control signaling interface module according to a custom command format, and forms the txt file into a control command;
in the second step, the service interface includes the following steps:
1) The control command txt file is sent to the IDC area reverse isolation equipment specific directory through the internal and external network isolation equipment;
2) The data request service of the foreground sends instructions to the IDC area specific server through the internal and external network isolation equipment;
wherein in the third step, the coordination control includes the following steps:
1) The IDC area control service interface monitors the condition of a specific directory file and discovers the existing new file txt file, and the control service interface sends a command txt file to the interface service coordination controller;
2) After the IDC area system protocol service interface monitors the request, the protocol service interface sends an instruction to the system interface service coordination controller;
in the fourth step, the dial testing tool includes the following steps:
1) The interface service coordination controller analyzes the matched network ID according to the control command information, extracts a configuration file to be tested according to the network ID, extracts an IP address and a port to be detected from the configuration file, and requests the network dial-up testing tool to dial-up test according to the IP and the port corresponding to the network ID;
2) The system interface service coordination controller analyzes the matched data request by utilizing a custom protocol analysis tool according to the request instruction information, and returns a corresponding request result;
in the fifth step, the instruction return includes the following steps:
1) After the dial testing tool performs dial testing operation, a dial testing instruction is returned to the interface service coordination controller, wherein the dial testing instruction comprises a default gateway data packet T and a non-default gateway data packet F;
2) The system interface service coordination controller detects the integrity of the return instruction and sends the detection data to the user;
in the sixth step, the state detection includes the following steps:
1) According to the return state of the dial testing instruction, the interface service coordination controller detects the dial testing instruction, if the dial testing instruction state is a default gateway data packet, no operation is performed any more, the interface service coordination controller automatically receives the default gateway data packet for processing, and further sends the default gateway data packet to the foreground through the internal and external network isolation equipment;
2) If the dial testing instruction state is the non-default gateway data, the interface service coordination controller sends a control command to the system interface service;
wherein in the seventh step, the information processing includes the steps of:
1) The interface service coordination controller receives state information sent back by the system interface service, detects the state information, and further sends a return state to the foreground through the internal and external network isolation equipment after the state information is successful, and simultaneously sends interaction data and interaction logs to the foreground through the internal and external network isolation equipment;
2) Detecting state information, and after failure, sending failure information to a user computer to upload data again;
in the eighth step, the signaling parsing path returns the task coordination signaling to the IDC area through the control signaling interface, or sends the control state tracking signaling to the foreground, or sends the operation log record to the data warehouse interface for log storage.
Based on the above, the method for interfacing with a system in an electric power communication network has the advantages of simple operation, low cost and quick data response, avoids the problems that the communication operation control flow is not timely processed, message data cannot be timely sent and the like, improves the working efficiency of the electric power communication network, improves the working quality of the electric power communication network, ensures that the working process of the electric power communication network is simply and conveniently finished, improves the usability of a data interaction tool in the electric power communication, and also improves the stability and accuracy of the interaction work of the electric power communication network.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Finally, it should be noted that: the foregoing description is only a preferred embodiment of the present invention, and the present invention is not limited thereto, but it is to be understood that modifications and equivalents of some of the technical features described in the foregoing embodiments may be made by those skilled in the art, although the present invention has been described in detail with reference to the foregoing embodiments. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.