CN114020674A - Cascading device and communication method of telecontrol terminal - Google Patents

Cascading device and communication method of telecontrol terminal Download PDF

Info

Publication number
CN114020674A
CN114020674A CN202111256717.9A CN202111256717A CN114020674A CN 114020674 A CN114020674 A CN 114020674A CN 202111256717 A CN202111256717 A CN 202111256717A CN 114020674 A CN114020674 A CN 114020674A
Authority
CN
China
Prior art keywords
point table
address
host
information body
slave
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.)
Pending
Application number
CN202111256717.9A
Other languages
Chinese (zh)
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.)
Chengdu Southwest Jiaotong University Xuji Electric Co ltd
Original Assignee
Chengdu Southwest Jiaotong University Xuji Electric 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 Chengdu Southwest Jiaotong University Xuji Electric Co ltd filed Critical Chengdu Southwest Jiaotong University Xuji Electric Co ltd
Priority to CN202111256717.9A priority Critical patent/CN114020674A/en
Publication of CN114020674A publication Critical patent/CN114020674A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Abstract

The invention discloses a cascade device and a communication method of a telecontrol terminal, which comprises a host device and a slave device which are connected through a serial port, wherein the host device receives a control instruction sent by a scheduling terminal through a network port during downlink transmission; judging whether the control instruction needs to be forwarded to a slave device for execution or not through a prestored point table; during uplink transmission, the host device receives uplink information collected by the slave device and converts the uplink information into uplink information which can be identified by the scheduling terminal according to the conversion point table, the host device sends the uplink information to the scheduling terminal after conversion is completed, each device only has one CPU chip, and the host and the slave devices are in independent communication, namely each device is provided with a communication plug-in unit and respectively has different device addresses, communication between the host and the slave devices can be completed through the prestored point table and the conversion point table, communication between the scheduling terminal and the telecontrol terminal can also be completed, the use of the CPU chips is reduced, and device cost is saved.

Description

Cascading device and communication method of telecontrol terminal
Technical Field
The invention relates to the field of telemechanical terminal communication, in particular to a cascading device and a communication method of a telemechanical terminal.
Background
An intelligent Remote Terminal (RTU) of an electrified railway is mainly applied to a railway box-type substation, is terminal equipment for collecting and transmitting real-time operation parameters of a power plant or the substation by an electric power system arranged at a station end, receiving and executing control and adjustment commands of a dispatching center, and can realize the functions of collecting and monitoring remote signaling, remote measuring and remote control data of a 10kv primary through line, a 10kv comprehensive through line and a plurality of low-voltage loops. An intelligent Remote Terminal (RTU) of an electrified railway is divided into a host machine and a slave machine according to the configuration design of collecting and controlling two sections of buses and a plurality of low-voltage loops, the host machine and the slave machine are cascaded through a configuration bus to realize the communication between the RTU and a dispatching center, however, the existing RTU is communicated between the host machine and the slave machine through a 485 serial port, a question-and-answer modbus protocol is too simple to meet the transmission of data such as recording files, fault reports and the like, a 104 protocol is mainly used for TCP communication, a 101 protocol cannot meet the requirement of a railway user on fixed value uploading, and as device cascading, the existing RTU is mainly cascaded through a CAN bus, each plug-in unit of the device is provided with the CAN bus, and the plug-in unit of each device is provided with a small CPU chip for data operation, generally, box transformer substation telecontrol terminals used on railways have at least 8 plug-ins, which means that each box transformer substation telecontrol terminal has at least 8 chips, so that the cost of the device is not increased, the 8 chips can cause the waste of the device space, and on the other hand, the information interaction process is more complicated, so that a simple and efficient device cascading method is needed.
Disclosure of Invention
The invention aims to solve the technical problem of how to reduce the cost of the cascade communication of the telecontrol terminal device, and aims to provide a cascade device of the telecontrol terminal and a communication method thereof.
The invention is realized by the following technical scheme:
a communication method of a telecontrol terminal comprises a host device and a slave device which are connected by a serial port,
during downlink transmission, the host device receives a control instruction sent by the scheduling terminal through the network port; judging whether the control instruction needs to be forwarded to a slave device for execution or not through a prestored point table;
and during uplink transmission, the host device receives the uplink information collected by the slave device, converts the uplink information into uplink information which can be identified by the scheduling terminal according to the conversion point table, and sends the uplink information to the scheduling terminal after the conversion is finished.
Because the host device and the slave device in the prior telecontrol terminal are cascaded together through the CAN bus, the CAN bus CAN be directly connected with the communication plug-in of the host, the dispatching command enters through the network port of the communication plug-in and then enters the CAN bus, each CPU chip obtains the data belonging to the CPU chip according to the information on the CAN bus, and similarly, each CPU chip processes the data of the plug-in and then sends the data to the CAN bus, but for the host device and the slave device, each device comprises a plurality of CPU chips, the device cost is high, and the plurality of CPU chips occupy the space, therefore, the invention leads the host device and the slave device to be cascaded together through the serial port, so that each device only comprises one CPU chip, each device has different device addresses respectively, but because the slave device CAN not directly communicate with the dispatching terminal, for the dispatching terminal, only one device is communicated with the dispatching terminal, and the host machine and the slave machine are the same device, so that a communication interaction rule is set in data interaction between the slave machine and the host machine, and data of the slave machine can be converted into data which can be processed by the slave machine through the pre-stored point table and the conversion point table.
Further, the pre-storage point table comprises device addresses, data types, local information body addresses and corresponding scheduling end information body addresses which are associated and corresponding to each other, the control instruction comprises a remote control instruction and a remote regulation instruction, and the data types comprise remote control, remote regulation, remote measurement and remote signaling; the device addresses are unified to be the device addresses of the host machine, the local information body addresses of the pre-storage point table comprise the local information body addresses of the host machine device and the slave machine device, and the corresponding scheduling end information body addresses of the pre-storage point table comprise the corresponding scheduling end information body addresses of the host machine device and the slave machine device.
Further, the local body addresses in the pre-stored point table are arranged in sequence, and the local body address of the master device is arranged before the local body address of the slave device.
Furthermore, the uplink information comprises telemetering data and remote signaling data, a comparison point table is prestored in the slave device, the comparison point table comprises device addresses, data types, local information body addresses and corresponding host information body addresses which are associated with one another, the device addresses of the comparison point table are unified into the device addresses of the slave device, and the data types of the prestored point table and the comparison point table correspond to the types of the control instruction and the uplink information, including remote control, remote regulation, remote measurement and remote signaling; the local message body address of the comparison point table corresponds to the local message body address of the slave device, and the corresponding host message body address of the comparison point table corresponds to the local message body address of the slave device in the prestored point table.
Furthermore, a conversion point table is stored in the host device, and the conversion point table comprises a slave device address, a data type, a corresponding host address, a slave information body address and a corresponding host information body address which are associated and corresponding to each other; the slave device address corresponds to the device address in the comparison point table, the data type corresponds to the data type of the prestored point table and the comparison point table, the corresponding host address corresponds to the device address of the prestored point table, the slave information body address corresponds to the local information body address of the comparison point table, and the corresponding host information body address corresponds to the local information body address of the prestored point table and the corresponding host information body address of the comparison point table.
Furthermore, the pre-stored point table is provided with one or a plurality of pre-stored point tables corresponding to each data type, and the comparison point table is provided with one or a plurality of comparison point tables corresponding to each data type.
In a specific embodiment, when a pre-stored point table is included, the host device searches all corresponding scheduling end information body addresses corresponding to the data type in the pre-stored point table through the data type carried in the control instruction, and determines the corresponding scheduling end information body addresses through the scheduling end information body addresses carried in the control instruction to obtain the local information body addresses and the corresponding scheduling end information body addresses of the corresponding pre-stored point table;
judging the obtained local information body address;
if the corresponding local information body address in the pre-stored point table belongs to the local information body address of the host, the host device executes the control command;
and if the corresponding local information body address in the pre-stored point table belongs to the slave device, the master device transmits the control command to the slave device by using the conversion point table, and the slave device executes the control command.
In an alternative embodiment, when a plurality of pre-stored point tables are included, the host device searches the plurality of pre-stored point tables according to the data type carried in the control instruction, and determines the pre-stored point table corresponding to the data type;
determining a corresponding scheduling end information body address in a corresponding pre-stored point table according to a scheduling end information body address carried in the control instruction to obtain a local information body address and a corresponding scheduling end information body address of the corresponding pre-stored point table;
if the corresponding local information body address in the pre-stored point table belongs to the local information body address of the host, the host device executes the control command;
and if the corresponding local information body address in the pre-stored point table belongs to the slave device, the master device transmits the control command to the slave device by using the conversion point table, and the slave device executes the control command.
Furthermore, during uplink transmission, the slave device numbers the acquired uplink information in sequence, so that each piece of uplink information corresponds to each piece of data in the comparison point table;
the host device receives the uplink information and converts the address of the slave device corresponding to the uplink information into a corresponding host address and the local information body address of the slave device into a corresponding host information body address according to the conversion point table; and storing the converted corresponding host address, corresponding host information body address, corresponding scheduling end information body address and data type into a data point table to be sent and sending the data point table to a scheduling terminal.
The invention provides a cascade device of a telecontrol terminal, which applies the communication method and comprises a host device and a slave device which are connected through a serial port, wherein the host device communicates with a dispatching terminal through a network port, the host device comprises at least one CPU chip, the slave device comprises at least one CPU chip, and the CPU chip of the host device communicates with the CPU chip of the slave device through the serial port.
When the master device and the slave device are cascaded together through the CAN bus, because each device has a communication plug-in unit, thus, for the master device and the slave device, each device has a plurality of CPU chips, the device cost is high, the plurality of CPU chips occupy space, therefore, the invention cascades the host device and the slave device together through the serial port, each device only comprises a CPU chip, the dispatching terminal is communicated with the host device through the network port, the host device is communicated with the slave device through the serial port, therefore, only two CPU chips are needed to complete the communication between the telecontrol terminal and the dispatching terminal, thereby not only reducing the use of the CPU chips and saving the cost, and the reduced CPU chip provides more hardware space for each device, which may allow miniaturization of the device or deployment of more hardware resources on the same device size.
Compared with the prior art, the invention has the following advantages and beneficial effects:
according to the invention, the host device and the slave device of the telecontrol terminal are cascaded through the serial port, the communication between the host and the slave is realized through the pre-stored point table, the communication between the slave device and the scheduling terminal is realized through the conversion point table, the complicated CAN bus cascade is replaced, the host and the slave device are cascaded through the serial port only, and each device is provided with only one CPU chip, so that the use of the CPU chips is reduced, the cost is saved, the device space is saved, and the communication process is simple and easy to realize.
Drawings
In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and that for those skilled in the art, other related drawings can be obtained from these drawings without inventive effort. In the drawings:
FIG. 1 is a schematic diagram illustrating the connection of a master and a slave in cascade connection via a CAN bus in the prior art;
FIG. 2 is a schematic diagram illustrating the connection between a master and a slave in a serial cascade according to an embodiment of the present invention;
fig. 3 is a schematic view of a communication process of the telecontrol terminal and the scheduling terminal of the present invention;
fig. 4 is a communication process between a master and a slave during downlink transmission according to an embodiment of the present invention;
fig. 5 is a communication process between the master and the slave during downlink transmission according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to examples and accompanying drawings, and the exemplary embodiments and descriptions thereof are only used for explaining the present invention and are not meant to limit the present invention.
As shown in fig. 1, in the existing method, the slave device has no communication plug-in, so the host device and the slave device are integrated, so that for the dispatching end, when issuing the remote control command of dispatching control, the host and the slave are actually one device, the CAN bus CAN be directly connected with the communication plug-in of the host, the dispatching command enters through the network port of the communication plug-in and then enters the CAN bus, each CPU chip obtains its own data according to the information on the CAN bus, similarly, each CPU chip processes the data of its own plug-in and then sends the data to the CAN bus, and then sends the data to the dispatching together, at this time, each plug-in the host and the slave has the CAN bus, which means that each plug-in of each device has a small CPU chip for data operation, and the box change telecontrol terminal used on the railway generally has at least 8 plug-ins, this means that each box-to-box remote terminal has at least 8 chips, which does not increase the cost of the device, and 8 chips also cause the waste of the space of the device.
Example 1
Therefore, in order to reduce the use of the CPU chip in this embodiment, a cascade device of the remote terminal is provided, as shown in fig. 2, including a host device and a slave device connected by a serial port, where the host device communicates with the scheduling terminal through the network port, the host device includes at least one CPU chip, the slave device includes at least one CPU chip, and the CPU chip of the host device communicates with the CPU chip of the slave device through the serial port.
Each device only comprises one CPU chip, the dispatching terminal is communicated with the host device through the network port, and the host device is communicated with the slave device through the serial port, so that the communication between the remote terminal and the dispatching terminal can be completed only by two CPU chips, the use of the CPU chips is reduced, the cost is saved, the reduced CPU chips provide more hardware space for each device, and the device can be miniaturized or more hardware resources can be deployed on the same size of the device.
Example 2
When the slave device and the master device are independent from each other, each device has a communication plug-in, and has different device addresses, but at this time, the slave device cannot directly communicate with the scheduling terminal, and needs to be forwarded by the slave device and the master device and then transmitted to the scheduling terminal, and the master device and the slave device can be connected through a serial port or a network port when communicating, but because the network port uses a TCP protocol, only 2 network ports are provided on a general CPU chip, and the network ports generally need to be used for the scheduling terminal to communicate, so the network ports are generally not used for cascading, in this embodiment, the master device and the slave device are cascaded through a serial port, as shown in fig. 3, a communication method of a remote terminal is provided, and it needs to be explained that the following uplink transmission process is: the channel for transmitting information from the remote terminal to the scheduling terminal is called an uplink transmission channel, and the downlink transmission process is as follows: a channel through which the scheduling terminal telemechanical terminal transmits various commands is called a downlink transmission channel, and then:
during downlink transmission, the host device receives a control instruction sent by the scheduling terminal through the network port; judging whether the control instruction needs to be forwarded to a slave device for execution or not through a prestored point table;
specifically, the pre-stored point table includes a device address, a data type, a local information body address and a corresponding scheduling end information body address, where each signal point corresponds to one of the devices, the data type includes a remote control instruction and a remote control instruction, the data type includes remote control, remote measurement and remote signaling, that is, the signal points include a remote control point, a remote measurement point and a remote signaling point; the device addresses are unified to be the device addresses of the host machine, the local information body addresses of the pre-storage point table comprise the local information body addresses of the host machine device and the slave machine device, and the corresponding scheduling end information body addresses of the pre-storage point table comprise the corresponding scheduling end information body addresses of the host machine device and the slave machine device. Generally, the local message addresses in the pre-stored point table can be arranged in sequence, and the local message address of the master device is arranged in front of the local message address of the slave device, so that the data searching is more convenient, and the data browsing is more visual and clear.
A comparison point table is prestored in the slave device, the comparison point table comprises a device address, a data type, a local information body address and a corresponding host information body address, which are associated and corresponding to each signal point, the device addresses of the comparison point table are unified into the device address of the slave device, and the data types of the prestored point table and the comparison point table correspond to the types of the control instruction and the uplink information, including remote control, remote regulation, remote measurement and remote signaling; the local message body address of the comparison point table corresponds to the local message body address of the slave device, and the corresponding host message body address of the comparison point table corresponds to the local message body address of the slave device in the prestored point table.
A conversion point table is stored in the host device, and the conversion point table comprises a slave device address, a data type, a corresponding host address, a slave information body address and a corresponding host information body address, which are associated and corresponding to each signal point; the slave device address corresponds to the device address in the comparison point table, the data type corresponds to the data type of the prestored point table and the comparison point table, the corresponding host address corresponds to the device address of the prestored point table, the slave information body address corresponds to the local information body address of the comparison point table, and the corresponding host information body address corresponds to the local information body address of the prestored point table and the corresponding host information body address of the comparison point table.
In the specific implementation process, the pre-stored point table is provided with one or a plurality of pre-stored point tables corresponding to each data type, and the comparison point table is provided with one or a plurality of comparison point tables corresponding to each data type.
In a specific embodiment, as shown in fig. 4, when the host device only includes one pre-stored point table, all the points of the four types are stored in one pre-stored point table, and at this time, the host device searches in the pre-stored point table through the data type corresponding to the signal point in the control instruction, finds out all the corresponding scheduling end information body addresses corresponding to the data type, and determines the corresponding scheduling end information body addresses through the scheduling end information body addresses carried in the control instruction, so as to obtain the local information body addresses and the corresponding scheduling end information body addresses of the corresponding pre-stored point table;
judging the obtained local information body address; determining by which device the control instruction should be executed
If the corresponding local information body address in the pre-stored point table belongs to the local information body address of the host, the host device executes the control command;
and if the corresponding local information body address in the pre-stored point table belongs to the slave device, the master device transmits the control command to the slave device by using the conversion point table, and the slave device executes the control command.
Specifically, the process of using the conversion point table is that when the corresponding local information body address in the pre-storage point table belongs to the slave device, because the local information body address in the pre-storage point table corresponds to the corresponding master information body address of the conversion point table, the master device searches the corresponding local information body address in the conversion point table according to the local information body address of the pre-storage point table, namely searches the local information body address where the signal point of the slave device is located, converts the data into the data which is in one-to-one correspondence with the comparison point table according to the search result (the local information body address in the comparison table corresponds to the corresponding master information body address), the slave device determines the point which needs to be controlled according to the obtained local information body address, and executes corresponding operation on the point according to the control instruction.
In an alternative embodiment, as shown in fig. 5, a pre-stored point table is respectively established in the host device for each data type, at this time, the host device contains four pre-stored point tables with data types respectively being remote control, remote regulation, remote measurement and remote signaling, when the host device contains a plurality of pre-stored point tables, the host device searches the pre-stored point tables through the data type carried in the control instruction, and determines the pre-stored point table corresponding to the data type; because each type of data point is more, a plurality of pre-stored point tables are more convenient to search, and the searching speed is higher;
determining a corresponding scheduling end information body address in a corresponding pre-stored point table according to a scheduling end information body address carried in the control instruction to obtain a local information body address and a corresponding scheduling end information body address of the corresponding pre-stored point table;
if the corresponding local information body address in the pre-stored point table belongs to the local information body address of the host, the host device executes the control command;
and if the corresponding local information body address in the pre-stored point table belongs to the slave device, the master device transmits the control command to the slave device by using the conversion point table, and the slave device executes the control command.
Procedure using conversion point table: when the corresponding local information body address in the pre-storage point table belongs to the slave device, because the local information body address in the pre-storage point table corresponds to the corresponding master information body address of the conversion point table, the master device searches the corresponding local information body address in the conversion point table according to the local information body address of the pre-storage point table, namely searches the local information body address of the slave device, converts the data into the data which is in one-to-one correspondence with the comparison point table according to the search result (the local information body address in the comparison table corresponds to the corresponding master information body address), the slave device determines the point which needs to be controlled according to the obtained local information body address, and executes corresponding operation on the point according to the control instruction.
And during uplink transmission, the uplink information comprises telemetering data and remote signaling data, the host device receives the uplink information collected by the slave device, converts the uplink information into uplink information which can be identified by the scheduling terminal according to the conversion point table, and sends the uplink information to the scheduling terminal after the conversion is finished.
Specifically, during uplink transmission, the slave device acquires information of each signal point to obtain uplink information, and numbers the acquired uplink information in sequence, so that each piece of uplink information (each signal point) corresponds to each piece of data in the comparison point table; that is, each piece of uplink information corresponds to the device address-data type-local informosome address and the corresponding host informosome address of the comparison point table;
the host device receives the uplink information and converts the address of the slave device corresponding to the uplink information into a corresponding host address and the local information body address of the slave device into a corresponding host information body address according to the conversion point table; and storing the converted corresponding host address, corresponding host information body address, corresponding scheduling end information body address and data type into a data point table to be sent and sending the data point table to a scheduling terminal.
The invention is characterized in that the determination and the corresponding relation of each point table are realized when the host machine and the slave machine are communicated, the pre-stored point table, the conversion point table and the comparison point table all represent the corresponding relation table of the data of the host machine and the slave machine, wherein, the pre-stored point table and the comparison point table are stored in the host machine device, the comparison point table is stored in the slave machine device, for example, for a remote signaling signal point with the address of 2 and the address of 0001 of a local information body stored in the comparison point table as the slave machine, after the remote signaling signal point is transmitted to the host machine and converted by the conversion point table, the information of the point is changed into the signal point with the address of 1 and the address of 0100, and the signal point is stored in the data point table to be transmitted and is transmitted to the dispatching terminal; similarly, when the scheduling terminal needs to operate a certain device address of 1 and an information body address of 0100 point, the scheduling terminal only communicates with the master, so after the master receives the information, the master first judges whether the point is the own or the slave, if the point is the slave, the point needs to be converted into the device address of 2 according to the conversion point table, the point with the information body address of 0001 is transmitted to the slave, and after the slave receives the command, the slave operates according to the corresponding control command. For example, when the device address of the slave device is 2, the message body address sequence corresponding to the telemetering data is from 1 to 100, and the message body address sequence corresponding to the remote signaling data is also from 1 to 100, but after the data is sent to the master, the device address of the slave device is changed into 1 according to the conversion point table, the local message body address sequence of the telemetering data is converted into 101 and 200, and the local message body address of the remote signaling data is also converted into 101 and 200, because 1 to 100 are the sequences of the telemetering and remote signaling message body addresses of the master.
To better explain the implementation process of the present invention, because the device size and capacity of the remote terminal are fixed, assuming that both the master and the slave are fully configured, then one device contains 600 telemetric signals, 600 remote control signals, and the two devices are numbered respectively, the device address of the device can be set by the user, for example, the device address of the master can be set to 1, the format of the pre-stored point table established by taking the type of the telemetric data as an example is shown in table 1, the pre-stored point table is the point table used when communicating with the scheduling terminal, wherein, because the telemetric data only has 600, the data numbered under the local information body address of 0601 and 1200 is the data of the slave device, if the slave is not needed, the following configuration can not be performed, the local information body address in table 1 is set by the user according to the field requirement, and the corresponding scheduling side body address is assigned to the host device by the scheduling terminal.
Table 1 table of prestored points
Figure RE-GDA0003409346220000081
Similarly, the slave device is provided with a comparison point table, and also taking the data type of the remote measurement as an example, as shown in table 2, the local body address in the comparison point table can be set by user, and the corresponding host body address is set as long as the local body address is not repeated with the host, generally, for convenience of viewing, the local body address and the host body address are arranged in sequence in order
TABLE 2 comparison points Table
Figure RE-GDA0003409346220000082
In order to realize the mutual association between the comparison point table and the pre-stored point table, a conversion point table is also needed to be established, as shown in table 3, the comparison point table and the pre-stored point table are associated, when the slave machine and the host machine are in communication, when the slave machine sends first telemetering information to the host machine, after the host machine receives the first telemetering information, according to the information of the conversion point table, the data of the telemetering point with the slave machine address of 2 and the slave machine information body address of 0001 in the telemetering information is placed into the telemetering point of the data point table to be sent with the corresponding host machine address of 1 and the corresponding host machine information body address of 0601, and then the data point table to be sent is sent to the scheduling terminal, and vice versa.
TABLE 3 transformation points Table
Figure RE-GDA0003409346220000083
As will be appreciated by one skilled in the art, 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 an entirely hardware embodiment, an entirely 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, disk storage, CD-ROM, 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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.
It will be understood by those skilled in the art that all or part of the steps of the above facts and methods can be implemented by hardware related to instructions of a program, and the related program or the program can be stored in a computer readable storage medium, and when executed, the program includes the following steps: corresponding method steps are introduced here, and the storage medium may be a ROM/RAM, a magnetic disk, an optical disk, etc.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A communication method of a remote terminal is characterized by comprising a host device and a slave device which are connected through a serial port,
during downlink transmission, the host device receives a control instruction sent by the scheduling terminal through the network port; judging whether the control instruction needs to be forwarded to a slave device for execution or not through a prestored point table;
and during uplink transmission, the host device receives the uplink information collected by the slave device, converts the uplink information into uplink information which can be identified by the scheduling terminal according to the conversion point table, and sends the uplink information to the scheduling terminal after the conversion is finished.
2. The communication method of the remote terminal according to claim 1, wherein the pre-stored point table includes a device address, a data type, a local information body address and a corresponding scheduling end information body address which are associated with each other and corresponding to each other, the control instruction includes a remote control instruction and a remote adjustment instruction, and the data type includes remote control, remote adjustment, remote measurement and remote signaling; the device addresses are unified to be the device addresses of the host machine, the local information body addresses of the pre-storage point table comprise the local information body addresses of the host machine device and the slave machine device, and the corresponding scheduling end information body addresses of the pre-storage point table comprise the corresponding scheduling end information body addresses of the host machine device and the slave machine device.
3. The communication method of a telemechanical terminal as claimed in claim 2, wherein the local body addresses in the pre-stored point table are arranged in sequence, and the local body address of the master device is arranged before the local body address of the slave device.
4. The communication method of the telemechanical terminal according to claim 2, wherein the uplink information includes telemetry data and remote signaling data, a comparison point table is prestored in the slave device, the comparison point table includes device addresses, data types, local information body addresses and corresponding host information body addresses which are associated with each other, the device addresses of the comparison point table are unified as the device addresses of the slave device, and the data types of the prestored point table and the comparison point table correspond to the types of the control command and the uplink information, including remote control, remote regulation, remote measurement and remote signaling; the local message body address of the comparison point table corresponds to the local message body address of the slave device, and the corresponding host message body address of the comparison point table corresponds to the local message body address of the slave device in the prestored point table.
5. The communication method of a remote terminal according to claim 4, wherein the host device stores a conversion point table, the conversion point table includes a slave device address, a data type, a corresponding host address, a slave infoentity address and a corresponding host infoentity address, which are associated with each other; the slave device address corresponds to the device address in the comparison point table, the data type corresponds to the data type of the prestored point table and the comparison point table, the corresponding host address corresponds to the device address of the prestored point table, the slave information body address corresponds to the local information body address of the comparison point table, and the corresponding host information body address corresponds to the local information body address of the prestored point table and the corresponding host information body address of the comparison point table.
6. The communication method of a remote terminal according to claim 4, wherein the pre-stored point table has one or more pre-stored point tables corresponding to each data type, and the comparison point table has one or more comparison point tables corresponding to each data type.
7. The communication method of the remote terminal according to claim 5, wherein when a pre-stored point table is included, the host device searches all corresponding scheduling end information body addresses corresponding to the data type in the pre-stored point table according to the data type carried in the control command, and determines the corresponding scheduling end information body addresses according to the scheduling end information body addresses carried in the control command, so as to obtain the local information body addresses and the corresponding scheduling end information body addresses of the corresponding pre-stored point table;
judging the obtained local information body address;
if the corresponding local information body address in the pre-stored point table belongs to the local information body address of the host, the host device executes the control command;
and if the corresponding local information body address in the pre-stored point table belongs to the slave device, the master device transmits the control command to the slave device by using the conversion point table, and the slave device executes the control command.
8. The communication method of the remote terminal according to claim 5, wherein when the communication method includes a plurality of pre-stored point tables, the host device searches the plurality of pre-stored point tables according to the data type carried in the control command to determine the pre-stored point table corresponding to the data type;
determining a corresponding scheduling end information body address in a corresponding pre-stored point table according to a scheduling end information body address carried in the control instruction to obtain a local information body address and a corresponding scheduling end information body address of the corresponding pre-stored point table;
if the corresponding local information body address in the pre-stored point table belongs to the local information body address of the host, the host device executes the control command;
and if the corresponding local information body address in the pre-stored point table belongs to the slave device, the master device transmits the control command to the slave device by using the conversion point table, and the slave device executes the control command.
9. The communication method of the remote terminal according to claim 5, wherein during uplink transmission, the slave device numbers the acquired uplink information in sequence, so that each piece of uplink information corresponds to each piece of data in the comparison point table;
the host device receives the uplink information and converts the address of the slave device corresponding to the uplink information into a corresponding host address and the local information body address of the slave device into a corresponding host information body address according to the conversion point table; and storing the converted corresponding host address, corresponding host information body address, corresponding scheduling end information body address and data type into a data point table to be sent and sending the data point table to a scheduling terminal.
10. A cascade device of a remote terminal, characterized in that, the communication method according to any one of claims 1 to 9 is applied, comprising a master device and a slave device connected by a serial port, the master device communicates with a dispatch terminal through a network port, the master device comprises at least one CPU chip, the slave device comprises at least one CPU chip, and the CPU chip of the master device communicates with the CPU chip of the slave device through the serial port.
CN202111256717.9A 2021-10-27 2021-10-27 Cascading device and communication method of telecontrol terminal Pending CN114020674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111256717.9A CN114020674A (en) 2021-10-27 2021-10-27 Cascading device and communication method of telecontrol terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111256717.9A CN114020674A (en) 2021-10-27 2021-10-27 Cascading device and communication method of telecontrol terminal

Publications (1)

Publication Number Publication Date
CN114020674A true CN114020674A (en) 2022-02-08

Family

ID=80058066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111256717.9A Pending CN114020674A (en) 2021-10-27 2021-10-27 Cascading device and communication method of telecontrol terminal

Country Status (1)

Country Link
CN (1) CN114020674A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090193165A1 (en) * 2008-01-30 2009-07-30 Hon Hai Precision Industry Co., Ltd. Communication circuit of serial peripheral interface devices
CN103368965A (en) * 2013-07-18 2013-10-23 北京随方信息技术有限公司 Working method for mapping network safety norms to attribution requirements corresponding to network
CN105576831A (en) * 2015-12-30 2016-05-11 北京四方继保自动化股份有限公司 Automatic verification method for security control of master station and sub station
CN105676757A (en) * 2015-12-22 2016-06-15 北京大唐兴业国际控制技术有限公司 BAC monitoring system
CN109768619A (en) * 2018-11-20 2019-05-17 重庆甘润科技有限公司 Monitoring information automatic debugging system and adjustment method
CN110971666A (en) * 2019-11-01 2020-04-07 湖南深拓智能设备股份有限公司 Internet of things management system and communication method thereof
CN111478891A (en) * 2019-12-24 2020-07-31 上海可鲁系统软件有限公司 Industrial network isolation method and device with different security levels
CN111614492A (en) * 2020-05-07 2020-09-01 上海拓智电气有限公司 Method for multi-site communication system and multi-site communication system
CN111949456A (en) * 2020-07-14 2020-11-17 许继集团有限公司 Serial port protocol automatic test system and method based on configuration updating

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090193165A1 (en) * 2008-01-30 2009-07-30 Hon Hai Precision Industry Co., Ltd. Communication circuit of serial peripheral interface devices
CN103368965A (en) * 2013-07-18 2013-10-23 北京随方信息技术有限公司 Working method for mapping network safety norms to attribution requirements corresponding to network
CN105676757A (en) * 2015-12-22 2016-06-15 北京大唐兴业国际控制技术有限公司 BAC monitoring system
CN105576831A (en) * 2015-12-30 2016-05-11 北京四方继保自动化股份有限公司 Automatic verification method for security control of master station and sub station
CN109768619A (en) * 2018-11-20 2019-05-17 重庆甘润科技有限公司 Monitoring information automatic debugging system and adjustment method
CN110971666A (en) * 2019-11-01 2020-04-07 湖南深拓智能设备股份有限公司 Internet of things management system and communication method thereof
CN111478891A (en) * 2019-12-24 2020-07-31 上海可鲁系统软件有限公司 Industrial network isolation method and device with different security levels
CN111614492A (en) * 2020-05-07 2020-09-01 上海拓智电气有限公司 Method for multi-site communication system and multi-site communication system
CN111949456A (en) * 2020-07-14 2020-11-17 许继集团有限公司 Serial port protocol automatic test system and method based on configuration updating

Similar Documents

Publication Publication Date Title
CN207380545U (en) A kind of intelligent domestic gateway and intelligent home control system
CN105281433A (en) Distribution terminal communication system
CN109274688B (en) Design and implementation method of transformer substation protocol conversion function
CN206236264U (en) A kind of medium-voltage carrier system
CN110825013A (en) Intelligent remote monitoring, early warning and control terminal
CN103391230A (en) Communication interface conversion device, system and method
CN114020674A (en) Cascading device and communication method of telecontrol terminal
CN107800465A (en) A kind of electric line carrier communication transmission method
CN112559080A (en) TBOX equipment adaptation method based on CAN bus
US7027452B2 (en) Hub which converts SCADA protocols to the BLUJAY™ protocol
CN105955902A (en) Serial-to-wireless communicator
CN204517854U (en) A kind of fieldbus node circuit based on Modbus agreement
CN102081383B (en) Device and method for secure network protocol for field control
CN211018828U (en) Multifunctional wireless repeater
CN209731582U (en) A kind of multi-protocol communication network access system
CN202798773U (en) Communication interface switching device and system
CN102571787B (en) IEC (international electrotechnical commission) 61850-based protocol conversion method and device
CN102722975A (en) Method and system for reading data of electricity meter based on PROFIBUS
CN104023026A (en) Protocol converter for transformation substation automatic system
CN111385169A (en) Master-slave question-answer polling communication method and system
CN106200431B (en) A kind of master-slave mode device dynamic logic processing method
CN106452495B (en) A kind of wireless device and RF front-end module control method
CN109382831A (en) A kind of Intelligent Mobile Robot monitoring system and its data remote method
CN204362100U (en) A kind of electric power protocol conversion device based on industrial computer
CN206977422U (en) A kind of wireless communication system based on Si4432

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220208