CN114422621B - Communication connection method, station control layer device and storage medium - Google Patents

Communication connection method, station control layer device and storage medium Download PDF

Info

Publication number
CN114422621B
CN114422621B CN202111574040.3A CN202111574040A CN114422621B CN 114422621 B CN114422621 B CN 114422621B CN 202111574040 A CN202111574040 A CN 202111574040A CN 114422621 B CN114422621 B CN 114422621B
Authority
CN
China
Prior art keywords
communication
internet protocol
communication device
protocol address
protocol type
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
CN202111574040.3A
Other languages
Chinese (zh)
Other versions
CN114422621A (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.)
NR Electric Co Ltd
NR Engineering Co Ltd
Original Assignee
NR Electric Co Ltd
NR Engineering 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 NR Electric Co Ltd, NR Engineering Co Ltd filed Critical NR Electric Co Ltd
Priority to CN202111574040.3A priority Critical patent/CN114422621B/en
Publication of CN114422621A publication Critical patent/CN114422621A/en
Application granted granted Critical
Publication of CN114422621B publication Critical patent/CN114422621B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • 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/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]

Landscapes

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

Abstract

The application discloses a communication connection method, a station control layer device and a storage medium, wherein the method comprises the following steps: under the condition that a communication device to be accessed, which is in the same network with a station control layer device, is searched, a service port monitored by the communication device is obtained; determining a communication protocol type corresponding to the communication device based on the service port; acquiring an internet protocol address of a communication device, and calling model information corresponding to a communication protocol type in the communication device through a service port by utilizing the internet protocol address; establishing a communication model by using the model information, the Internet protocol address, the communication protocol type and the service port; a communication connection is established with the communication device using the communication model. Through the technical scheme, the accuracy and the efficiency of communication connection are improved.

Description

Communication connection method, station control layer device and storage medium
Technical Field
The present application relates to the field of automated communications technologies, and in particular, to a communication connection method, a station control layer device, and a storage medium.
Background
In various engineering sites such as a transformer substation, a power plant, a new energy source and the like, in order to access secondary communication devices such as protection, measurement and control, auxiliary equipment and the like to station control layer equipment or systems such as a security substation, a telecontrol, a monitoring background and the like, parameter configuration and model configuration are needed to be carried out on the communication devices to be accessed in the station control layer equipment or systems in advance, and communication between the station control layer equipment or systems and the communication devices to be accessed can be completed, however, the configuration process is often needed to be completed manually, and the accuracy and the efficiency are low.
Disclosure of Invention
In order to solve the technical problems, the embodiment of the application is expected to provide a communication connection method, a station control layer device and a storage medium, wherein the station control layer device automatically acquires model information corresponding to a communication device to realize communication connection with the communication device, so that the accuracy and efficiency of communication connection are improved.
The technical scheme of the application is realized as follows:
the application provides a communication connection method, which comprises the following steps:
acquiring a service port monitored by a communication device under the condition that the communication device to be accessed, which is in the same network with the station control layer device, is searched;
determining a communication protocol type corresponding to the communication device based on the service port;
acquiring an internet protocol address of the communication device, and calling model information corresponding to the communication protocol type in the communication device through the service port by utilizing the internet protocol address;
establishing a communication model by using the model information, the internet protocol address, the communication protocol type and the service port;
and establishing a communication connection with the communication device by using the communication model.
In the above method, before the service port monitored by the communication device is acquired in the case that the communication device to be accessed, which is in the same network with the station control layer device, is searched, the method further includes:
determining an Internet protocol address network segment by utilizing the Internet protocol address of the station control layer device;
searching for the communication device based on the internet protocol address network segment.
In the above method, the searching the communication device based on the internet protocol address network segment includes:
searching an electronic device to be accessed by an internet protocol address in the internet protocol address network segment by broadcasting a detection message carrying the internet protocol address network segment;
determining the searched electronic device as the communication device;
or, performing analysis on the network message flow by capturing packets of the network message to obtain at least one internet protocol address included in the network message flow;
and acquiring the electronic device corresponding to the internet protocol address in the internet protocol address network segment in the at least one internet protocol address, and determining the electronic device as the communication device.
In the above method, the determining, based on the service port, a communication protocol type corresponding to the communication device includes:
acquiring a message sent by the communication device;
determining a first protocol type by using the service port;
determining an application layer protocol format of the message, and determining a second protocol type according to the application layer protocol format;
determining the first protocol type as the communication protocol type in the case that the first protocol type is matched with the second protocol type;
and determining the second protocol type as the communication protocol type in the case that the first protocol type is not matched with the second protocol type.
In the above method, after calling the model information corresponding to the communication protocol type in the communication device through the service port by using the internet protocol address, the method further includes:
under the condition that the communication protocol type is IEC61850 communication protocol and the model information comprises protection logic equipment, determining the communication device as a protection device;
and determining the communication device to be a protection device under the condition that the communication protocol type is IEC103 communication protocol and the model information comprises an action element group.
The application provides a station control layer device, which comprises:
the searching module is used for acquiring a service port monitored by the communication device under the condition that the communication device to be accessed, which is in the same network with the station control layer device, is searched; determining a communication protocol type corresponding to the communication device based on the service port;
the calling module is used for acquiring an internet protocol address of the communication device and calling model information corresponding to the communication protocol type in the communication device through the service port by utilizing the internet protocol address;
the modeling module is used for establishing a communication model by using the model information, the Internet protocol address, the communication protocol type and the service port; and establishing a communication connection with the communication device by using the communication model.
In the above device, the searching module is specifically configured to determine an internet protocol address network segment by using an internet protocol address of the station control layer device; searching for the communication device based on the internet protocol address network segment.
In the above device, the searching module is specifically configured to search for an electronic device to be accessed by an internet protocol address in the internet protocol address network segment by broadcasting a probe packet carrying the internet protocol address network segment; determining the searched electronic device as the communication device;
or, performing analysis on the network message flow by capturing packets of the network message to obtain at least one internet protocol address included in the network message flow; and acquiring the electronic device corresponding to the internet protocol address in the internet protocol address network segment in the at least one internet protocol address, and determining the electronic device as the communication device.
In the above device, the searching module is specifically configured to obtain a message sent by the communication device; determining a first protocol type by using the service port; determining an application layer protocol format of the message, and determining a second protocol type according to the application layer protocol format; determining the first protocol type as the communication protocol type in the case that the first protocol type is matched with the second protocol type; and determining the second protocol type as the communication protocol type in the case that the first protocol type is not matched with the second protocol type.
In the device, the device also comprises a judging module,
the judging module is used for determining that the communication device is a protection device when the communication protocol type is IEC61850 communication protocol and the model information comprises protection logic equipment; and determining the communication device to be a protection device under the condition that the communication protocol type is IEC103 communication protocol and the model information comprises an action element group.
The application provides a station control layer device, which comprises: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute the communication connection program stored in the memory, so as to implement the communication connection method.
The present application provides a computer-readable storage medium storing one or more programs executable by one or more processors to implement the above-described communication connection method.
The application provides a communication connection method, a device and a storage medium, wherein the method comprises the following steps: under the condition that a communication device to be accessed, which is in the same network with a station control layer device, is searched, a service port monitored by the communication device is obtained; determining a communication protocol type corresponding to the communication device based on the service port; acquiring an internet protocol address of a communication device, and calling model information corresponding to a communication protocol type in the communication device through a service port by utilizing the internet protocol address; establishing a communication model by using the model information, the Internet protocol address, the communication protocol type and the service port; a communication connection is established with the communication device using the communication model. According to the technical scheme provided by the application, the station control layer device automatically acquires the model information corresponding to the communication device, so that the communication connection with the communication device is realized, and the accuracy and the efficiency of the communication connection are improved.
Drawings
Fig. 1 is a schematic flow chart of a communication connection method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a station control layer device according to an embodiment of the present application;
fig. 3 is a schematic flow chart of communication connection between an exemplary station-controlled layer device and a communication device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a layer control device according to an embodiment of the present application.
Detailed Description
The technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It is to be understood that the specific embodiments described herein are merely illustrative of the application and not limiting of the application. It should be noted that, for convenience of description, only a portion related to the related application is shown in the drawings.
The application provides a communication connection method which is applied to a station control layer device, and fig. 1 is a flow diagram of the communication connection method provided by the embodiment of the application. As shown in fig. 1, the method mainly comprises the following steps:
s101, acquiring a service port monitored by a communication device under the condition that the communication device to be accessed, which is in the same network with the station control layer device, is searched.
In the embodiment of the application, the station control layer device acquires the service port monitored by the communication device under the condition that the communication device to be accessed which is in the same network with the station control layer device is searched.
In the embodiment of the present application, the station control layer device may be any one of a security substation, a remote station, or a monitoring background, or may be a monitoring device or a system of other plant stations, and the specific station control layer device may be set according to actual requirements and application scenarios.
In the embodiment of the present application, the communication device may be a device having a network communication function, such as a protection device, a measurement and control device, an auxiliary device, and a secondary device, and the specific communication device may be set according to actual requirements and application situations, which is not limited to the present application.
It should be noted that, in the embodiment of the present application, the condition that the communication device accesses the station-controlled layer device is that the communication device and the station-controlled layer device are in the same network, and the communication device cannot access the station-controlled layer device for the case that the communication device and the station-controlled layer device are not in the same network, so as to implement communication.
It should be noted that, in the embodiment of the present application, the station-controlled layer device may directly search for a communication device to be accessed, which is in the same network as the station-controlled layer device, and acquire a service port monitored by the communication device when the communication device is searched.
Specifically, in the embodiment of the present application, before the station-controlled layer device searches for the to-be-accessed communication device in the same network as the station-controlled layer device and acquires the service port monitored by the communication device, the station-controlled layer device may further execute the following steps: determining an Internet protocol address network segment by utilizing the Internet protocol address of the station control layer device; the communication device is searched based on the internet protocol address network segment.
It should be noted that, in the embodiment of the present application, the station-controlled layer device searches for an accessible communication device by using an ip address network segment corresponding to its own ip address.
Specifically, in an embodiment of the present application, the station-controlled layer device searches for a communication device based on an internet protocol address network segment, including: searching an electronic device to be accessed by an internet protocol address in an internet protocol address network segment by broadcasting a detection message carrying the internet protocol address network segment; determining the searched electronic device as a communication device; or, the network message flow analysis is carried out by grabbing the network message, so as to obtain at least one internet protocol address included in the network message flow; and acquiring the electronic device corresponding to the Internet protocol address in the Internet protocol address network segment in at least one Internet protocol address, and determining the electronic device as a communication device.
It should be noted that, in the embodiment of the present application, the station-controlled layer device may search for the electronic device to be accessed by broadcasting a probe packet carrying an internet protocol address network segment, where the probe packet may be an address resolution protocol (Address Resolution Protocol, ARP) packet or an internet control message protocol (Internet Control Message Protocol, ICMP) packet, and the specific probe packet may be set according to an actual requirement and an application scenario, which is not limited by the present application.
It should be noted that, in the embodiment of the present application, after the station-control layer device broadcasts the probe packet carrying the network segment of the internet protocol address, the communication device may receive the probe packet having the same internet protocol address, if the communication device receives the probe packet having the same internet protocol address, the communication device may send a receiving response to the station-control layer device, and after the station-control layer device receives the receiving response, it indicates that the station-control layer device searches for the electronic device to be accessed, and at this time, the searched electronic device is determined as the communication device.
It should be noted that, in the embodiment of the present application, the station layer device may also grasp a packet through a network packet, perform analysis on the network packet flow to obtain an internet protocol address in the network packet flow, then screen out an internet protocol address in the same internet protocol address network segment as the station layer device from the obtained internet protocol address, and determine an electronic device corresponding to the selected internet protocol address as the communication device.
It should be noted that, in the embodiment of the present application, the station-controlled layer device searches the communication device based on the internet protocol address network segment, and actually obtains the electronic device with the same internet protocol address network segment as the station-controlled layer device through different modes, however, the station-controlled layer device may also search the communication device through other modes, and a specific searching mode may be set according to the actual situation and the application scenario, which is not limited to the present application.
S102, determining the communication protocol type corresponding to the communication device based on the service port.
In the embodiment of the application, the station control layer device determines the communication protocol type corresponding to the communication device based on the service port.
It should be noted that, in the embodiment of the present application, the station control layer device may determine the type of the communication protocol corresponding to the communication device according to the service port monitored by the communication device.
It should be noted that, in an embodiment of the present application, the communication protocol type may be an IEC61850 communication protocol, or an IEC103 communication protocol.
Specifically, in an embodiment of the present application, the station control layer device determines, based on the service port, a communication protocol type corresponding to the communication device, including: acquiring a message sent by a communication device; determining a first protocol type by using a service port; determining an application layer protocol format of the message, and determining a second protocol type according to the application layer protocol format; determining the first protocol type as a communication protocol type in case the first protocol type matches the second protocol type; in the event that the first protocol type does not match the second protocol type, the second protocol type is determined to be a communication protocol type.
It should be noted that, in the embodiment of the present application, the station control layer device may directly acquire the message sent by the communication device, and a specific packet acquisition mode may be acquired through an interaction or network packet capturing mode, and the specific acquisition mode is not limited in the present application.
It should be noted that, in the embodiment of the present application, the station control layer device determines the first protocol type by using the service port, for example, in the case where the service port monitored by the communication device is 102 ports, since the 102 ports are service end monitoring ports defined in the IEC61850 standard specification, it may be determined that the communication device adopts the IEC61850 communication protocol, or 2404 and 6001 ports are ports commonly used in the IEC103 network protocol, and it may be determined that the communication device adopts the IEC103 communication protocol.
It should be noted that, in the embodiment of the present application, since the service port monitored by the communication device may be forged, or the service port monitored by the communication device may be used incorrectly, the service port monitored by the communication device acquired by the station-controlled layer device may be wrong, so as to avoid inaccuracy of the first protocol type determined by the service port, the station-controlled layer device further determines the second protocol type in combination with acquiring the message sent by the communication device.
It should be noted that, in the embodiment of the present application, when the first protocol type and the second protocol type are matched, it is indicated that the protocol type determined by the station layer device by using the service port and the message is consistent at this time, and the first protocol type is directly determined as the communication protocol type; under the condition that the first protocol type is not matched with the second protocol type, the fact that the protocol type determined by the station control layer device through the service port and the message is inconsistent is indicated, and the second protocol type can be directly determined as the communication protocol type in consideration of the fact that the protocol type determined by the message is more accurate.
S103, acquiring an Internet protocol address of the communication device, and calling model information corresponding to the communication protocol type in the communication device through a service port by utilizing the Internet protocol address.
In the embodiment of the application, the station control layer device acquires the internet protocol address of the communication device, and calls the model information corresponding to the communication protocol type in the communication device through the service port by utilizing the internet protocol address.
It should be noted that, in the embodiment of the present application, the station control layer device may directly acquire the internet protocol address of the communication device, and then call the model information corresponding to the communication type in the communication device through the server by using the internet protocol address.
It should be noted that, in the embodiment of the present application, in the case that the communication protocol type of the communication device is IEC61850 communication protocol, the station layer device may call the model information of the communication device according to any one of the following two schemes: in the first scheme, the station control layer device can use IEC61850 online calling service to call the online model information of an IEC61850 communication protocol; in a second approach, the station-controlled layer device may call an IED instance configuration file (configured IED description, CID) offline model file of the communication device using IEC61850 file service.
It should be noted that, in the embodiment of the present application, in the case where the communication protocol type of the communication device is IEC103 communication protocol, the station control layer device may use IEC103 generic classification service read operation to read group header, description, accuracy, measurement range, dimension, and the like to obtain the model information.
It should be noted that, in the embodiment of the present application, the model information called by the station control layer device may be described by using a CID file of IEC61850 or an IEC103 point table file, where the CID file of IEC61850 is a standard format file; the IEC103 point table file format may be extensible markup language (XML), TXT text file, CSV comma separated value file, etc., and the file may carry model information. Of course, other non-file modes may be used to store and transfer the model information, such as messaging, writing into memory, writing into database, etc., and the file type carrying the model information may be set according to the actual situation and the application scenario, which is not limited by the present application.
Specifically, in the embodiment of the present application, after the station control layer device calls the model information corresponding to the communication protocol type in the communication device through the service port by using the internet protocol address, the following steps may be further executed: under the condition that the communication protocol type is IEC61850 communication protocol and the model information comprises protection logic equipment, determining the communication device as a protection device; and when the communication protocol type is IEC103 communication protocol and the model information comprises the action element group, determining that the communication device is a protection device.
It should be noted that, in the embodiment of the present application, the station layer device may further determine the device type of the communication device by using the acquired model information.
It should be noted that, in the embodiment of the present application, in the case where the communication protocol type is IEC61850 communication protocol, the station control layer device determines whether the communication device is a protection device by determining whether the protection logic device is included in the model information, if the protection logic device is not included in the model information, the communication device is not a protection device, and if the protection logic device is included in the model information, the communication device is a protection device.
It should be noted that, in the embodiment of the present application, in the case where the communication protocol type is IEC103 communication protocol, the station control layer device determines whether the communication device is a protection device by determining whether the model information includes an action element group, if the model information does not include an action element group, the communication device is not a protection device, and if the model information includes an action element group, the communication device is a protection device.
S104, establishing a communication model by using the model information, the Internet protocol address, the communication protocol type and the service port.
In an embodiment of the present application, the station-controlled layer apparatus establishes a communication model using model information, an internet protocol address, a communication protocol type, and a service port.
It should be noted that, in the embodiment of the present application, the station control layer device performs model modeling of the communication device according to the obtained model information, where the created model information includes, but is not limited to, device description, device instance name, logic equipment, logic node, measurement point attribute, remote signaling, telemetry, remote pulse, remote control, action element, fixed value, platen, precision, mass production, dimension, and other information; meanwhile, setting parameters of an internet protocol address, a communication protocol type and a service port in a communication model.
S105, establishing communication connection with the communication device by using the communication model.
In an embodiment of the present application, the station-controlled layer device establishes a communication connection with the communication device using the communication model.
It should be noted that, in the embodiment of the present application, after the communication model is established, the station-control layer device may complete access of the communication device by using the communication model, so as to implement communication between the station-control layer device and the communication device.
The application provides a communication connection method, which comprises the following steps: under the condition that a communication device to be accessed, which is in the same network with a station control layer device, is searched, a service port monitored by the communication device is obtained; determining a communication protocol type corresponding to the communication device based on the service port; acquiring an internet protocol address of a communication device, and calling model information corresponding to a communication protocol type in the communication device through a service port by utilizing the internet protocol address; establishing a communication model by using the model information, the Internet protocol address, the communication protocol type and the service port; a communication connection is established with the communication device using the communication model. According to the communication connection method provided by the application, the station control layer device automatically acquires the model information corresponding to the communication device, so that the communication connection with the communication device is realized, and the accuracy and the efficiency of the communication connection are improved.
The application provides a station control layer device, and fig. 2 is a schematic structural diagram of the station control layer device according to an embodiment of the application. As shown in fig. 2, includes:
a search module 201, configured to obtain a service port monitored by a communication device to be accessed in the same network as the station control layer device when the communication device is searched; determining a communication protocol type corresponding to the communication device based on the service port;
a calling module 202, configured to obtain an internet protocol address of the communication device, and call, through the service port, model information corresponding to the communication protocol type in the communication device by using the internet protocol address;
a modeling module 203, configured to build a communication model by using the model information, the internet protocol address, the communication protocol type, and the service port; and establishing a communication connection with the communication device by using the communication model.
Optionally, the searching module 201 is specifically configured to determine an internet protocol address network segment by using an internet protocol address of the station control layer device; searching for the communication device based on the internet protocol address network segment.
Optionally, the searching module 201 is specifically configured to search, by broadcasting a probe packet carrying the internet protocol address network segment, for an electronic device to be accessed by an internet protocol address in the internet protocol address network segment; determining the searched electronic device as the communication device; or, performing analysis on the network message flow by capturing packets of the network message to obtain at least one internet protocol address included in the network message flow; and acquiring the electronic device corresponding to the internet protocol address in the internet protocol address network segment in the at least one internet protocol address, and determining the electronic device as the communication device.
Optionally, the searching module 201 is specifically configured to obtain a message sent by the communication device; determining a first protocol type by using the service port; determining an application layer protocol format of the message, and determining a second protocol type according to the application layer protocol format; determining the first protocol type as the communication protocol type in the case that the first protocol type is matched with the second protocol type; and determining the second protocol type as the communication protocol type in the case that the first protocol type is not matched with the second protocol type.
Optionally, the station-controlled layer device further includes a judging module (not shown in the figure), where the judging module is configured to determine that the communication device is a protection device when the communication protocol type is IEC61850 communication protocol and the model information includes protection logic equipment; and determining the communication device to be a protection device under the condition that the communication protocol type is IEC103 communication protocol and the model information comprises an action element group.
Fig. 3 is a schematic flow chart of communication connection between an exemplary station-controlled layer device and a communication device according to an embodiment of the present application. As shown in fig. 3, the station-controlled layer device and the N communication devices are in the same network, and the station-controlled layer device may include: the specific communication connection method comprises the steps of 1, a station control layer device finding a communication device in a network by using the search module; 2. the station control layer device utilizes the search module to identify the communication protocol type of the communication device; 3. the station control layer device sends the found result, namely the internet protocol address of the communication device, the monitored service port and the communication protocol type to the calling module by utilizing the searching module; 4. the station control layer device uses a calling module to call the model information corresponding to the communication protocol type corresponding to the communication device through the network protocol; 5. the station control layer device sends the summoned model information to the modeling module by using the summoned module; 6. the station control layer device utilizes a modeling module to complete communication model establishment and parameter setting of the communication device according to model information; 7. and the station control layer device completes the access of the communication device by using the modeling module and enters a normal communication interaction process.
The application provides a station control layer device, and fig. 4 is a schematic structural diagram of the station control layer device according to the embodiment of the application. As shown in fig. 4, the apparatus includes: a processor 401, a memory 402, and a communication bus 403;
the communication bus 403 is configured to implement a communication connection between the processor 401 and the memory 402;
the processor 401 is configured to execute the communication connection program stored in the memory 402, so as to implement the above communication connection method.
The application provides a station control layer device, which acquires a service port monitored by a communication device under the condition that the communication device to be accessed, which is in the same network with the station control layer device, is searched; determining a communication protocol type corresponding to the communication device based on the service port; acquiring an internet protocol address of a communication device, and calling model information corresponding to a communication protocol type in the communication device through a service port by utilizing the internet protocol address; establishing a communication model by using the model information, the Internet protocol address, the communication protocol type and the service port; a communication connection is established with the communication device using the communication model. According to the station control layer device provided by the application, the communication connection with the communication device is realized by automatically acquiring the model information corresponding to the communication device, so that the accuracy and the efficiency of the communication connection are improved.
The present application provides a computer-readable storage medium storing one or more programs executable by one or more processors to implement the above-described communication connection method. The computer readable storage medium may be a volatile Memory (RAM), such as Random-Access Memory (RAM); or a nonvolatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (HDD) or a Solid State Drive (SSD); but may be a respective device, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc., comprising one or any combination of the above memories.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, 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 specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the technical scope of the present application should be included in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method of communication connection, applied to a station-controlled layer device, the method comprising:
acquiring a service port monitored by a communication device under the condition that the communication device to be accessed, which is in the same network with the station control layer device, is searched;
determining a communication protocol type corresponding to the communication device based on the service port;
acquiring an internet protocol address of the communication device, and calling model information corresponding to the communication protocol type in the communication device through the service port by utilizing the internet protocol address;
establishing a communication model by using the model information, the internet protocol address, the communication protocol type and the service port;
and establishing a communication connection with the communication device by using the communication model.
2. The method according to claim 1, wherein, in case of searching for a communication device to be accessed in the same network as the station-controlled layer device, before acquiring a service port monitored by the communication device, the method further comprises:
determining an Internet protocol address network segment by utilizing the Internet protocol address of the station control layer device;
searching for the communication device based on the internet protocol address network segment.
3. The method of claim 2, wherein searching for the communication device based on the internet protocol address segment comprises:
searching an electronic device to be accessed by an internet protocol address in the internet protocol address network segment by broadcasting a detection message carrying the internet protocol address network segment;
determining the searched electronic device as the communication device;
or, performing analysis on the network message flow by capturing packets of the network message to obtain at least one internet protocol address included in the network message flow;
and acquiring the electronic device corresponding to the internet protocol address in the internet protocol address network segment in the at least one internet protocol address, and determining the electronic device as the communication device.
4. The method of claim 1, wherein the determining, based on the service port, a communication protocol type corresponding to the communication device comprises:
acquiring a message sent by the communication device;
determining a first protocol type by using the service port;
determining an application layer protocol format of the message, and determining a second protocol type according to the application layer protocol format;
determining the first protocol type as the communication protocol type in the case that the first protocol type is matched with the second protocol type;
and determining the second protocol type as the communication protocol type in the case that the first protocol type is not matched with the second protocol type.
5. The method of claim 1, wherein after calling the model information corresponding to the communication protocol type in the communication device through the service port using the internet protocol address, the method further comprises:
under the condition that the communication protocol type is IEC61850 communication protocol and the model information comprises protection logic equipment, determining the communication device as a protection device;
and determining the communication device to be a protection device under the condition that the communication protocol type is IEC103 communication protocol and the model information comprises an action element group.
6. A station control layer apparatus, comprising:
the searching module is used for acquiring a service port monitored by the communication device under the condition that the communication device to be accessed, which is in the same network with the station control layer device, is searched; determining a communication protocol type corresponding to the communication device based on the service port;
the calling module is used for acquiring an internet protocol address of the communication device and calling model information corresponding to the communication protocol type in the communication device through the service port by utilizing the internet protocol address;
the modeling module is used for establishing a communication model by using the model information, the Internet protocol address, the communication protocol type and the service port; and establishing a communication connection with the communication device by using the communication model.
7. The apparatus of claim 6, wherein the device comprises a plurality of sensors,
the searching module is specifically configured to determine an internet protocol address network segment by using an internet protocol address of the station control layer device; searching for the communication device based on the internet protocol address network segment.
8. The apparatus of claim 7, wherein the device comprises a plurality of sensors,
the searching module is specifically configured to search an electronic device to be accessed by an internet protocol address in the internet protocol address network segment by broadcasting a probe packet carrying the internet protocol address network segment; determining the searched electronic device as the communication device;
or, performing analysis on the network message flow by capturing packets of the network message to obtain at least one internet protocol address included in the network message flow; and acquiring the electronic device corresponding to the internet protocol address in the internet protocol address network segment in the at least one internet protocol address, and determining the electronic device as the communication device.
9. A station control layer apparatus, comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute a communication connection program stored in the memory to implement the communication connection method of any one of claims 1 to 5.
10. A computer-readable storage medium storing one or more programs executable by one or more processors to implement the communication connection method of any of claims 1-5.
CN202111574040.3A 2021-12-21 2021-12-21 Communication connection method, station control layer device and storage medium Active CN114422621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111574040.3A CN114422621B (en) 2021-12-21 2021-12-21 Communication connection method, station control layer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111574040.3A CN114422621B (en) 2021-12-21 2021-12-21 Communication connection method, station control layer device and storage medium

Publications (2)

Publication Number Publication Date
CN114422621A CN114422621A (en) 2022-04-29
CN114422621B true CN114422621B (en) 2023-10-17

Family

ID=81268152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111574040.3A Active CN114422621B (en) 2021-12-21 2021-12-21 Communication connection method, station control layer device and storage medium

Country Status (1)

Country Link
CN (1) CN114422621B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654488A (en) * 2020-05-27 2020-09-11 中国电力科学研究院有限公司 Three-station-in-one transformer substation and sensing terminal information access method
CN111885002A (en) * 2020-06-28 2020-11-03 中国南方电网有限责任公司 Monitoring networking method for process layer switch of transformer substation
CN112822276A (en) * 2021-01-09 2021-05-18 中国电力科学研究院有限公司 Substation control layer communication method and system for transformer substation, electronic equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1976218A1 (en) * 2007-03-30 2008-10-01 ABB Technology AG Method of configuring an intelligent electronic device
US11005822B2 (en) * 2019-05-03 2021-05-11 Cisco Technology, Inc. Securing substation communications using security groups based on substation configurations

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654488A (en) * 2020-05-27 2020-09-11 中国电力科学研究院有限公司 Three-station-in-one transformer substation and sensing terminal information access method
CN111885002A (en) * 2020-06-28 2020-11-03 中国南方电网有限责任公司 Monitoring networking method for process layer switch of transformer substation
CN112822276A (en) * 2021-01-09 2021-05-18 中国电力科学研究院有限公司 Substation control layer communication method and system for transformer substation, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于IEC 61850的智能变电站远动信息接入方法及其改进;邱建斌等;《电工电气》(第02期);全文 *

Also Published As

Publication number Publication date
CN114422621A (en) 2022-04-29

Similar Documents

Publication Publication Date Title
CN112422544A (en) Machine room equipment information monitoring system based on MQTT communication protocol
CN103178998B (en) A kind of measuring and control data transmission method and device
CN103605020B (en) The treatment process of a kind of power quality data and device
CN109768623A (en) Monitoring method, device, computer equipment and the storage medium of electric system
CN111767315B (en) Black product identification method and device, electronic equipment and storage medium
CN112580730B (en) Terminal type identification method and device
CN110769073B (en) Electric energy meter zone attribution identification method and device, computer equipment and storage medium
CN113973111B (en) Data forwarding method, device, gateway equipment and computer readable storage medium
CN114422621B (en) Communication connection method, station control layer device and storage medium
CN112234714B (en) Automatic chopping and recovering method and system for intelligent substation communication system
CN113703836A (en) SCPI instruction management method for spacecraft power system evaluation
CN111654425B (en) Fault recording information acquisition method based on Modbus protocol and related equipment
CN109039427B (en) Ship monitoring management device
CN111931012A (en) Data model self-adaption method and device based on fault management subsystem
CN111464395B (en) Method and device for creating blockchain and readable storage medium
CN115208058A (en) Plug and play method and system for distributed power distribution terminal
CN103974416A (en) Method, device and system for acquiring position information of mobile terminal
CN103414595A (en) Power scheduling data network link monitoring system topological graph generation method
CN104516883A (en) Webpage sharing method, device and system
CN102364511B (en) Constant value correcting method and device of failure information main station, and power system device
CN111640998B (en) Battery cell information collection method and device, computer equipment and storage medium
CN113224851B (en) Power distribution terminal state determination method and device, electronic equipment and storage medium
CN115243248B (en) Method and device for identifying traffic sharing type of terminal and electronic equipment
WO2017101806A1 (en) Method and apparatus for acquiring network operation-and-maintenance (o&m) data
CN111010690B (en) Internet of things MME network element signaling tracking method and device

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